{"version":3,"sources":["webpack:///app.js","webpack:///webpack/bootstrap ce299b1faa43aee32492","webpack:///./app/main.ts","webpack:///./~/core-js/es6/index.js","webpack:///./~/core-js/modules/es6.symbol.js","webpack:///./~/core-js/modules/_global.js","webpack:///./~/core-js/modules/_has.js","webpack:///./~/core-js/modules/_descriptors.js","webpack:///./~/core-js/modules/_fails.js","webpack:///./~/core-js/modules/_export.js","webpack:///./~/core-js/modules/_core.js","webpack:///./~/core-js/modules/_hide.js","webpack:///./~/core-js/modules/_object-dp.js","webpack:///./~/core-js/modules/_an-object.js","webpack:///./~/core-js/modules/_is-object.js","webpack:///./~/core-js/modules/_ie8-dom-define.js","webpack:///./~/core-js/modules/_dom-create.js","webpack:///./~/core-js/modules/_to-primitive.js","webpack:///./~/core-js/modules/_property-desc.js","webpack:///./~/core-js/modules/_redefine.js","webpack:///./~/core-js/modules/_uid.js","webpack:///./~/core-js/modules/_ctx.js","webpack:///./~/core-js/modules/_a-function.js","webpack:///./~/core-js/modules/_meta.js","webpack:///./~/core-js/modules/_shared.js","webpack:///./~/core-js/modules/_set-to-string-tag.js","webpack:///./~/core-js/modules/_wks.js","webpack:///./~/core-js/modules/_wks-ext.js","webpack:///./~/core-js/modules/_wks-define.js","webpack:///./~/core-js/modules/_library.js","webpack:///./~/core-js/modules/_keyof.js","webpack:///./~/core-js/modules/_object-keys.js","webpack:///./~/core-js/modules/_object-keys-internal.js","webpack:///./~/core-js/modules/_to-iobject.js","webpack:///./~/core-js/modules/_iobject.js","webpack:///./~/core-js/modules/_cof.js","webpack:///./~/core-js/modules/_defined.js","webpack:///./~/core-js/modules/_array-includes.js","webpack:///./~/core-js/modules/_to-length.js","webpack:///./~/core-js/modules/_to-integer.js","webpack:///./~/core-js/modules/_to-index.js","webpack:///./~/core-js/modules/_shared-key.js","webpack:///./~/core-js/modules/_enum-bug-keys.js","webpack:///./~/core-js/modules/_enum-keys.js","webpack:///./~/core-js/modules/_object-gops.js","webpack:///./~/core-js/modules/_object-pie.js","webpack:///./~/core-js/modules/_is-array.js","webpack:///./~/core-js/modules/_object-create.js","webpack:///./~/core-js/modules/_object-dps.js","webpack:///./~/core-js/modules/_html.js","webpack:///./~/core-js/modules/_object-gopn-ext.js","webpack:///./~/core-js/modules/_object-gopn.js","webpack:///./~/core-js/modules/_object-gopd.js","webpack:///./~/core-js/modules/es6.object.create.js","webpack:///./~/core-js/modules/es6.object.define-property.js","webpack:///./~/core-js/modules/es6.object.define-properties.js","webpack:///./~/core-js/modules/es6.object.get-own-property-descriptor.js","webpack:///./~/core-js/modules/_object-sap.js","webpack:///./~/core-js/modules/es6.object.get-prototype-of.js","webpack:///./~/core-js/modules/_to-object.js","webpack:///./~/core-js/modules/_object-gpo.js","webpack:///./~/core-js/modules/es6.object.keys.js","webpack:///./~/core-js/modules/es6.object.get-own-property-names.js","webpack:///./~/core-js/modules/es6.object.freeze.js","webpack:///./~/core-js/modules/es6.object.seal.js","webpack:///./~/core-js/modules/es6.object.prevent-extensions.js","webpack:///./~/core-js/modules/es6.object.is-frozen.js","webpack:///./~/core-js/modules/es6.object.is-sealed.js","webpack:///./~/core-js/modules/es6.object.is-extensible.js","webpack:///./~/core-js/modules/es6.object.assign.js","webpack:///./~/core-js/modules/_object-assign.js","webpack:///./~/core-js/modules/es6.object.is.js","webpack:///./~/core-js/modules/_same-value.js","webpack:///./~/core-js/modules/es6.object.set-prototype-of.js","webpack:///./~/core-js/modules/_set-proto.js","webpack:///./~/core-js/modules/es6.object.to-string.js","webpack:///./~/core-js/modules/_classof.js","webpack:///./~/core-js/modules/es6.function.bind.js","webpack:///./~/core-js/modules/_bind.js","webpack:///./~/core-js/modules/_invoke.js","webpack:///./~/core-js/modules/es6.function.name.js","webpack:///./~/core-js/modules/es6.function.has-instance.js","webpack:///./~/core-js/modules/es6.parse-int.js","webpack:///./~/core-js/modules/_parse-int.js","webpack:///./~/core-js/modules/_string-trim.js","webpack:///./~/core-js/modules/_string-ws.js","webpack:///./~/core-js/modules/es6.parse-float.js","webpack:///./~/core-js/modules/_parse-float.js","webpack:///./~/core-js/modules/es6.number.constructor.js","webpack:///./~/core-js/modules/_inherit-if-required.js","webpack:///./~/core-js/modules/es6.number.to-fixed.js","webpack:///./~/core-js/modules/_a-number-value.js","webpack:///./~/core-js/modules/_string-repeat.js","webpack:///./~/core-js/modules/es6.number.to-precision.js","webpack:///./~/core-js/modules/es6.number.epsilon.js","webpack:///./~/core-js/modules/es6.number.is-finite.js","webpack:///./~/core-js/modules/es6.number.is-integer.js","webpack:///./~/core-js/modules/_is-integer.js","webpack:///./~/core-js/modules/es6.number.is-nan.js","webpack:///./~/core-js/modules/es6.number.is-safe-integer.js","webpack:///./~/core-js/modules/es6.number.max-safe-integer.js","webpack:///./~/core-js/modules/es6.number.min-safe-integer.js","webpack:///./~/core-js/modules/es6.number.parse-float.js","webpack:///./~/core-js/modules/es6.number.parse-int.js","webpack:///./~/core-js/modules/es6.math.acosh.js","webpack:///./~/core-js/modules/_math-log1p.js","webpack:///./~/core-js/modules/es6.math.asinh.js","webpack:///./~/core-js/modules/es6.math.atanh.js","webpack:///./~/core-js/modules/es6.math.cbrt.js","webpack:///./~/core-js/modules/_math-sign.js","webpack:///./~/core-js/modules/es6.math.clz32.js","webpack:///./~/core-js/modules/es6.math.cosh.js","webpack:///./~/core-js/modules/es6.math.expm1.js","webpack:///./~/core-js/modules/_math-expm1.js","webpack:///./~/core-js/modules/es6.math.fround.js","webpack:///./~/core-js/modules/es6.math.hypot.js","webpack:///./~/core-js/modules/es6.math.imul.js","webpack:///./~/core-js/modules/es6.math.log10.js","webpack:///./~/core-js/modules/es6.math.log1p.js","webpack:///./~/core-js/modules/es6.math.log2.js","webpack:///./~/core-js/modules/es6.math.sign.js","webpack:///./~/core-js/modules/es6.math.sinh.js","webpack:///./~/core-js/modules/es6.math.tanh.js","webpack:///./~/core-js/modules/es6.math.trunc.js","webpack:///./~/core-js/modules/es6.string.from-code-point.js","webpack:///./~/core-js/modules/es6.string.raw.js","webpack:///./~/core-js/modules/es6.string.trim.js","webpack:///./~/core-js/modules/es6.string.iterator.js","webpack:///./~/core-js/modules/_string-at.js","webpack:///./~/core-js/modules/_iter-define.js","webpack:///./~/core-js/modules/_iterators.js","webpack:///./~/core-js/modules/_iter-create.js","webpack:///./~/core-js/modules/es6.string.code-point-at.js","webpack:///./~/core-js/modules/es6.string.ends-with.js","webpack:///./~/core-js/modules/_string-context.js","webpack:///./~/core-js/modules/_is-regexp.js","webpack:///./~/core-js/modules/_fails-is-regexp.js","webpack:///./~/core-js/modules/es6.string.includes.js","webpack:///./~/core-js/modules/es6.string.repeat.js","webpack:///./~/core-js/modules/es6.string.starts-with.js","webpack:///./~/core-js/modules/es6.string.anchor.js","webpack:///./~/core-js/modules/_string-html.js","webpack:///./~/core-js/modules/es6.string.big.js","webpack:///./~/core-js/modules/es6.string.blink.js","webpack:///./~/core-js/modules/es6.string.bold.js","webpack:///./~/core-js/modules/es6.string.fixed.js","webpack:///./~/core-js/modules/es6.string.fontcolor.js","webpack:///./~/core-js/modules/es6.string.fontsize.js","webpack:///./~/core-js/modules/es6.string.italics.js","webpack:///./~/core-js/modules/es6.string.link.js","webpack:///./~/core-js/modules/es6.string.small.js","webpack:///./~/core-js/modules/es6.string.strike.js","webpack:///./~/core-js/modules/es6.string.sub.js","webpack:///./~/core-js/modules/es6.string.sup.js","webpack:///./~/core-js/modules/es6.date.now.js","webpack:///./~/core-js/modules/es6.date.to-json.js","webpack:///./~/core-js/modules/es6.date.to-iso-string.js","webpack:///./~/core-js/modules/es6.date.to-string.js","webpack:///./~/core-js/modules/es6.date.to-primitive.js","webpack:///./~/core-js/modules/_date-to-primitive.js","webpack:///./~/core-js/modules/es6.array.is-array.js","webpack:///./~/core-js/modules/es6.array.from.js","webpack:///./~/core-js/modules/_iter-call.js","webpack:///./~/core-js/modules/_is-array-iter.js","webpack:///./~/core-js/modules/_create-property.js","webpack:///./~/core-js/modules/core.get-iterator-method.js","webpack:///./~/core-js/modules/_iter-detect.js","webpack:///./~/core-js/modules/es6.array.of.js","webpack:///./~/core-js/modules/es6.array.join.js","webpack:///./~/core-js/modules/_strict-method.js","webpack:///./~/core-js/modules/es6.array.slice.js","webpack:///./~/core-js/modules/es6.array.sort.js","webpack:///./~/core-js/modules/es6.array.for-each.js","webpack:///./~/core-js/modules/_array-methods.js","webpack:///./~/core-js/modules/_array-species-create.js","webpack:///./~/core-js/modules/_array-species-constructor.js","webpack:///./~/core-js/modules/es6.array.map.js","webpack:///./~/core-js/modules/es6.array.filter.js","webpack:///./~/core-js/modules/es6.array.some.js","webpack:///./~/core-js/modules/es6.array.every.js","webpack:///./~/core-js/modules/es6.array.reduce.js","webpack:///./~/core-js/modules/_array-reduce.js","webpack:///./~/core-js/modules/es6.array.reduce-right.js","webpack:///./~/core-js/modules/es6.array.index-of.js","webpack:///./~/core-js/modules/es6.array.last-index-of.js","webpack:///./~/core-js/modules/es6.array.copy-within.js","webpack:///./~/core-js/modules/_array-copy-within.js","webpack:///./~/core-js/modules/_add-to-unscopables.js","webpack:///./~/core-js/modules/es6.array.fill.js","webpack:///./~/core-js/modules/_array-fill.js","webpack:///./~/core-js/modules/es6.array.find.js","webpack:///./~/core-js/modules/es6.array.find-index.js","webpack:///./~/core-js/modules/es6.array.species.js","webpack:///./~/core-js/modules/_set-species.js","webpack:///./~/core-js/modules/es6.array.iterator.js","webpack:///./~/core-js/modules/_iter-step.js","webpack:///./~/core-js/modules/es6.regexp.constructor.js","webpack:///./~/core-js/modules/_flags.js","webpack:///./~/core-js/modules/es6.regexp.to-string.js","webpack:///./~/core-js/modules/es6.regexp.flags.js","webpack:///./~/core-js/modules/es6.regexp.match.js","webpack:///./~/core-js/modules/_fix-re-wks.js","webpack:///./~/core-js/modules/es6.regexp.replace.js","webpack:///./~/core-js/modules/es6.regexp.search.js","webpack:///./~/core-js/modules/es6.regexp.split.js","webpack:///./~/core-js/modules/es6.promise.js","webpack:///./~/core-js/modules/_an-instance.js","webpack:///./~/core-js/modules/_for-of.js","webpack:///./~/core-js/modules/_species-constructor.js","webpack:///./~/core-js/modules/_task.js","webpack:///./~/core-js/modules/_microtask.js","webpack:///./~/core-js/modules/_redefine-all.js","webpack:///./~/core-js/modules/es6.map.js","webpack:///./~/core-js/modules/_collection-strong.js","webpack:///./~/core-js/modules/_collection.js","webpack:///./~/core-js/modules/es6.set.js","webpack:///./~/core-js/modules/es6.weak-map.js","webpack:///./~/core-js/modules/_collection-weak.js","webpack:///./~/core-js/modules/es6.weak-set.js","webpack:///./~/core-js/modules/es6.typed.array-buffer.js","webpack:///./~/core-js/modules/_typed.js","webpack:///./~/core-js/modules/_typed-buffer.js","webpack:///./~/core-js/modules/es6.typed.data-view.js","webpack:///./~/core-js/modules/es6.typed.int8-array.js","webpack:///./~/core-js/modules/_typed-array.js","webpack:///./~/core-js/modules/es6.typed.uint8-array.js","webpack:///./~/core-js/modules/es6.typed.uint8-clamped-array.js","webpack:///./~/core-js/modules/es6.typed.int16-array.js","webpack:///./~/core-js/modules/es6.typed.uint16-array.js","webpack:///./~/core-js/modules/es6.typed.int32-array.js","webpack:///./~/core-js/modules/es6.typed.uint32-array.js","webpack:///./~/core-js/modules/es6.typed.float32-array.js","webpack:///./~/core-js/modules/es6.typed.float64-array.js","webpack:///./~/core-js/modules/es6.reflect.apply.js","webpack:///./~/core-js/modules/es6.reflect.construct.js","webpack:///./~/core-js/modules/es6.reflect.define-property.js","webpack:///./~/core-js/modules/es6.reflect.delete-property.js","webpack:///./~/core-js/modules/es6.reflect.enumerate.js","webpack:///./~/core-js/modules/es6.reflect.get.js","webpack:///./~/core-js/modules/es6.reflect.get-own-property-descriptor.js","webpack:///./~/core-js/modules/es6.reflect.get-prototype-of.js","webpack:///./~/core-js/modules/es6.reflect.has.js","webpack:///./~/core-js/modules/es6.reflect.is-extensible.js","webpack:///./~/core-js/modules/es6.reflect.own-keys.js","webpack:///./~/core-js/modules/_own-keys.js","webpack:///./~/core-js/modules/es6.reflect.prevent-extensions.js","webpack:///./~/core-js/modules/es6.reflect.set.js","webpack:///./~/core-js/modules/es6.reflect.set-prototype-of.js","webpack:///./~/core-js/es7/reflect.js","webpack:///./~/core-js/modules/es7.reflect.define-metadata.js","webpack:///./~/core-js/modules/_metadata.js","webpack:///./~/core-js/modules/es7.reflect.delete-metadata.js","webpack:///./~/core-js/modules/es7.reflect.get-metadata.js","webpack:///./~/core-js/modules/es7.reflect.get-metadata-keys.js","webpack:///./~/core-js/modules/_array-from-iterable.js","webpack:///./~/core-js/modules/es7.reflect.get-own-metadata.js","webpack:///./~/core-js/modules/es7.reflect.get-own-metadata-keys.js","webpack:///./~/core-js/modules/es7.reflect.has-metadata.js","webpack:///./~/core-js/modules/es7.reflect.has-own-metadata.js","webpack:///./~/core-js/modules/es7.reflect.metadata.js","webpack:///./~/zone.js/dist/zone.js","webpack:///./~/process/browser.js","webpack:///./~/hammerjs/hammer.js","webpack:///./~/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js","webpack:///./~/@angular/compiler/bundles/compiler.umd.js","webpack:///./~/@angular/core/bundles/core.umd.js","webpack:///./~/rxjs/Subject.js","webpack:///./~/rxjs/Observable.js","webpack:///./~/rxjs/util/root.js","webpack:///./~/rxjs/util/toSubscriber.js","webpack:///./~/rxjs/Subscriber.js","webpack:///./~/rxjs/util/isFunction.js","webpack:///./~/rxjs/Subscription.js","webpack:///./~/rxjs/util/isArray.js","webpack:///./~/rxjs/util/isObject.js","webpack:///./~/rxjs/util/tryCatch.js","webpack:///./~/rxjs/util/errorObject.js","webpack:///./~/rxjs/util/UnsubscriptionError.js","webpack:///./~/rxjs/Observer.js","webpack:///./~/rxjs/symbol/rxSubscriber.js","webpack:///./~/rxjs/symbol/observable.js","webpack:///./~/rxjs/util/ObjectUnsubscribedError.js","webpack:///./~/rxjs/SubjectSubscription.js","webpack:///./~/@angular/platform-browser/bundles/platform-browser.umd.js","webpack:///./~/@angular/common/bundles/common.umd.js","webpack:///./~/@angular/forms/bundles/forms.umd.js","webpack:///./~/rxjs/operator/toPromise.js","webpack:///./~/rxjs/observable/fromPromise.js","webpack:///./~/rxjs/observable/PromiseObservable.js","webpack:///./~/@angular/material/bundles/material.umd.js","webpack:///./~/rxjs/add/observable/fromEvent.js","webpack:///./~/rxjs/observable/fromEvent.js","webpack:///./~/rxjs/observable/FromEventObservable.js","webpack:///./~/rxjs/add/operator/auditTime.js","webpack:///./~/rxjs/operator/auditTime.js","webpack:///./~/rxjs/scheduler/async.js","webpack:///./~/rxjs/scheduler/AsyncAction.js","webpack:///./~/rxjs/scheduler/Action.js","webpack:///./~/rxjs/scheduler/AsyncScheduler.js","webpack:///./~/rxjs/Scheduler.js","webpack:///./~/rxjs/add/operator/startWith.js","webpack:///./~/rxjs/operator/startWith.js","webpack:///./~/rxjs/observable/ArrayObservable.js","webpack:///./~/rxjs/observable/ScalarObservable.js","webpack:///./~/rxjs/observable/EmptyObservable.js","webpack:///./~/rxjs/util/isScheduler.js","webpack:///./~/rxjs/operator/concat.js","webpack:///./~/rxjs/operator/mergeAll.js","webpack:///./~/rxjs/OuterSubscriber.js","webpack:///./~/rxjs/util/subscribeToResult.js","webpack:///./~/rxjs/util/isPromise.js","webpack:///./~/rxjs/symbol/iterator.js","webpack:///./~/rxjs/InnerSubscriber.js","webpack:///./~/rxjs/add/operator/first.js","webpack:///./~/rxjs/operator/first.js","webpack:///./~/rxjs/util/EmptyError.js","webpack:///./~/@angular/http/bundles/http.umd.js","webpack:///./~/rxjs/add/observable/forkJoin.js","webpack:///./~/rxjs/observable/forkJoin.js","webpack:///./~/rxjs/observable/ForkJoinObservable.js","webpack:///./~/rxjs/add/observable/of.js","webpack:///./~/rxjs/observable/of.js","webpack:///./~/rxjs/add/operator/map.js","webpack:///./~/rxjs/operator/map.js","webpack:///./~/rxjs/add/operator/filter.js","webpack:///./~/rxjs/operator/filter.js","webpack:///./~/rxjs/add/operator/do.js","webpack:///./~/rxjs/operator/do.js","webpack:///./~/rxjs/add/operator/share.js","webpack:///./~/rxjs/operator/share.js","webpack:///./~/rxjs/operator/multicast.js","webpack:///./~/rxjs/observable/MulticastObservable.js","webpack:///./~/rxjs/observable/ConnectableObservable.js","webpack:///./~/rxjs/add/operator/finally.js","webpack:///./~/rxjs/operator/finally.js","webpack:///./~/rxjs/add/operator/catch.js","webpack:///./~/rxjs/operator/catch.js","webpack:///./~/rxjs/add/observable/merge.js","webpack:///./~/rxjs/observable/merge.js","webpack:///./~/rxjs/operator/merge.js","webpack:///./~/rxjs/add/operator/switchMap.js","webpack:///./~/rxjs/operator/switchMap.js","webpack:///./app/app.component.ts","webpack:///./src/index.ts","webpack:///./src/datetime.ts","webpack:///./src/datetime-picker.component.ts","webpack:///./src/datetime-picker.directive.ts","webpack:///./src/datetime-picker.module.ts","webpack:///./~/@ngui/utils/dist/utils.umd.js","webpack:///./app/app.route.ts","webpack:///./~/@angular/router/bundles/router.umd.js","webpack:///./~/rxjs/BehaviorSubject.js","webpack:///./~/rxjs/observable/from.js","webpack:///./~/rxjs/observable/FromObservable.js","webpack:///./~/rxjs/observable/IteratorObservable.js","webpack:///./~/rxjs/observable/ArrayLikeObservable.js","webpack:///./~/rxjs/operator/observeOn.js","webpack:///./~/rxjs/Notification.js","webpack:///./~/rxjs/operator/concatMap.js","webpack:///./~/rxjs/operator/mergeMap.js","webpack:///./~/rxjs/operator/every.js","webpack:///./~/rxjs/operator/reduce.js","webpack:///./~/rxjs/operator/concatAll.js","webpack:///./~/rxjs/operator/last.js","webpack:///./app/directive-test.component.ts","webpack:///./app/component-test.component.ts"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","id","loaded","call","m","c","p","__decorate","this","decorators","target","key","desc","d","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__metadata","k","v","metadata","platform_browser_dynamic_1","core_1","platform_browser_1","forms_1","common_1","material_1","app_component_1","datetime_picker_1","utils_1","app_route_1","AppModule","NgModule","imports","BrowserModule","APP_ROUTER_PROVIDERS","FormsModule","ReactiveFormsModule","NguiUtilsModule","NguiDatetimePickerModule","MaterialModule","declarations","AppComponent","APP_ROUTER_COMPONENTS","providers","provide","LocationStrategy","useClass","HashLocationStrategy","bootstrap","platformBrowserDynamic","bootstrapModule","global","has","DESCRIPTORS","$export","redefine","META","KEY","$fails","shared","setToStringTag","uid","wks","wksExt","wksDefine","keyOf","enumKeys","isArray","anObject","toIObject","toPrimitive","createDesc","_create","gOPNExt","$GOPD","$DP","$keys","gOPD","f","dP","gOPN","$Symbol","Symbol","$JSON","JSON","_stringify","stringify","PROTOTYPE","HIDDEN","TO_PRIMITIVE","isEnum","propertyIsEnumerable","SymbolRegistry","AllSymbols","OPSymbols","ObjectProto","USE_NATIVE","QObject","setter","findChild","setSymbolDesc","get","value","a","it","D","protoDesc","wrap","tag","sym","_k","isSymbol","iterator","$defineProperty","enumerable","$defineProperties","P","keys","l","$create","undefined","$propertyIsEnumerable","E","$getOwnPropertyDescriptor","$getOwnPropertyNames","names","result","push","$getOwnPropertySymbols","IS_OP","TypeError","$set","configurable","set","name","G","W","F","symbols","split","store","S","for","keyFor","useSetter","useSimple","create","defineProperties","getOwnPropertyNames","getOwnPropertySymbols","replacer","$replacer","args","apply","valueOf","Math","window","self","Function","__g","hasOwnProperty","exec","e","core","hide","ctx","type","source","own","out","exp","IS_FORCED","IS_GLOBAL","IS_STATIC","IS_PROTO","IS_BIND","B","expProto","U","R","version","__e","object","IE8_DOM_DEFINE","O","Attributes","isObject","document","is","createElement","fn","val","toString","bitmap","writable","SRC","TO_STRING","$toString","TPL","inspectSource","safe","isFunction","join","String","prototype","px","random","concat","aFunction","that","b","setDesc","isExtensible","FREEZE","preventExtensions","setMeta","w","fastKey","getWeak","onFreeze","meta","NEED","SHARED","def","TAG","stat","USE_SYMBOL","$exports","LIBRARY","charAt","getKeys","el","index","enumBugKeys","arrayIndexOf","IE_PROTO","IObject","defined","cof","slice","toLength","toIndex","IS_INCLUDES","$this","fromIndex","toInteger","min","ceil","floor","isNaN","max","gOPS","pIE","getSymbols","Array","arg","dPs","Empty","createDict","iframeDocument","iframe","lt","gt","style","display","appendChild","src","contentWindow","open","write","close","Properties","documentElement","windowNames","getWindowNames","hiddenKeys","fails","toObject","$getPrototypeOf","getPrototypeOf","constructor","$freeze","$seal","$preventExtensions","$isFrozen","$isSealed","$isExtensible","assign","$assign","A","K","forEach","T","aLen","j","x","y","setPrototypeOf","check","proto","test","buggy","__proto__","classof","ARG","tryGet","callee","bind","invoke","arraySlice","factories","construct","len","n","partArgs","bound","un","FProto","nameRE","NAME","match","HAS_INSTANCE","FunctionProto","$parseInt","parseInt","$trim","trim","ws","hex","str","radix","string","spaces","space","non","ltrim","RegExp","rtrim","exporter","ALIAS","FORCE","TYPE","replace","$parseFloat","parseFloat","Infinity","inheritIfRequired","NUMBER","$Number","Base","BROKEN_COF","TRIM","toNumber","argument","third","maxCode","first","charCodeAt","NaN","code","digits","C","aNumberValue","repeat","$toFixed","toFixed","data","ERROR","ZERO","multiply","c2","divide","numToString","s","t","pow","acc","log","x2","fractionDigits","z","RangeError","msg","count","res","$toPrecision","toPrecision","precision","EPSILON","_isFinite","isFinite","isInteger","number","abs","isSafeInteger","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","Number","log1p","sqrt","$acosh","acosh","MAX_VALUE","LN2","asinh","$asinh","$atanh","atanh","sign","cbrt","clz32","LOG2E","cosh","$expm1","expm1","EPSILON32","MAX32","MIN32","roundTiesToEven","fround","$abs","$sign","hypot","value1","value2","div","sum","larg","$imul","imul","UINT16","xn","yn","xl","yl","log10","LN10","log2","sinh","tanh","trunc","fromCharCode","$fromCodePoint","fromCodePoint","raw","callSite","tpl","$at","iterated","_t","_i","point","done","pos","Iterators","$iterCreate","ITERATOR","BUGGY","FF_ITERATOR","KEYS","VALUES","returnThis","Constructor","next","DEFAULT","IS_SET","FORCED","methods","IteratorPrototype","getMethod","kind","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","entries","values","descriptor","codePointAt","context","ENDS_WITH","$endsWith","endsWith","searchString","endPosition","end","search","isRegExp","MATCH","re","INCLUDES","includes","indexOf","STARTS_WITH","$startsWith","startsWith","createHTML","quot","attribute","p1","toLowerCase","color","size","url","now","Date","getTime","toJSON","toISOString","pv","lz","num","getUTCFullYear","getUTCMilliseconds","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","DateProto","INVALID_DATE","hint","isArrayIter","createProperty","getIterFn","iter","from","arrayLike","step","mapfn","mapping","iterFn","ret","ArrayProto","getIteratorMethod","SAFE_CLOSING","riter","skipClosing","arr","of","arrayJoin","separator","method","html","begin","klass","start","upTo","cloned","$sort","sort","comparefn","$forEach","STRICT","callbackfn","asc","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","speciesConstructor","original","SPECIES","$map","map","$filter","filter","$some","some","$every","every","$reduce","reduce","memo","isRight","reduceRight","$indexOf","NEGATIVE_ZERO","searchElement","lastIndexOf","copyWithin","to","inc","UNSCOPABLES","fill","endPos","$find","forced","find","findIndex","addToUnscopables","Arguments","$flags","$RegExp","re1","re2","CORRECT_NEW","tiRE","piRE","fiU","proxy","ignoreCase","multiline","unicode","sticky","define","flags","$match","regexp","SYMBOL","fns","strfn","rxfn","REPLACE","$replace","searchValue","replaceValue","SEARCH","$search","SPLIT","$split","_split","$push","$SPLIT","LENGTH","LAST_INDEX","NPCG","limit","separator2","lastIndex","lastLength","output","lastLastIndex","splitLimit","separatorCopy","Internal","GenericPromiseCapability","Wrapper","anInstance","forOf","task","microtask","PROMISE","process","$Promise","isNode","empty","promise","resolve","FakePromise","PromiseRejectionEvent","then","sameConstructor","isThenable","newPromiseCapability","PromiseCapability","reject","$$resolve","$$reject","perform","error","notify","isReject","_n","chain","_c","_v","ok","_s","run","reaction","handler","fail","domain","_h","onHandleUnhandled","enter","exit","onUnhandled","abrupt","console","isUnhandled","emit","onunhandledrejection","reason","_a","onrejectionhandled","$reject","_d","_w","$resolve","wrapper","executor","err","onFulfilled","onRejected","catch","Promise","capability","all","iterable","remaining","$index","alreadyCalled","race","forbiddenField","BREAK","RETURN","defer","channel","port","cel","setTask","setImmediate","clearTask","clearImmediate","MessageChannel","counter","queue","ONREADYSTATECHANGE","listener","event","nextTick","port2","port1","onmessage","postMessage","addEventListener","importScripts","removeChild","setTimeout","clear","macrotask","Observer","MutationObserver","WebKitMutationObserver","head","last","flush","parent","toggle","node","createTextNode","observe","characterData","strong","entry","getEntry","redefineAll","$iterDefine","setSpecies","SIZE","_f","getConstructor","ADDER","_l","delete","prev","setStrong","$iterDetect","common","IS_WEAK","fixMethod","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","BUGGY_ZERO","$instance","add","InternalMap","each","weak","uncaughtFrozenStore","ufstore","tmp","$WeakMap","freeze","createArrayMethod","$has","arrayFind","arrayFindIndex","UncaughtFrozenStore","findUncaughtFrozen","splice","$typed","buffer","ArrayBuffer","$ArrayBuffer","$DataView","DataView","$isView","ABV","isView","$slice","VIEW","ARRAY_BUFFER","CONSTR","byteLength","final","viewS","viewT","setUint8","getUint8","Typed","TYPED","TypedArrayConstructors","arrayFill","DATA_VIEW","WRONG_LENGTH","WRONG_INDEX","BaseBuffer","BUFFER","BYTE_LENGTH","BYTE_OFFSET","$BUFFER","$LENGTH","$OFFSET","packIEEE754","mLen","nBytes","eLen","eMax","eBias","rt","unpackIEEE754","nBits","unpackI32","bytes","packI8","packI16","packI32","packF64","packF32","addGetter","internal","view","isLittleEndian","numIndex","intIndex","_b","pack","reverse","conversion","validateArrayBufferArguments","numberLength","ArrayBufferProto","$setInt8","setInt8","getInt8","byteOffset","bufferLength","offset","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","init","$buffer","propertyDesc","same","createArrayIncludes","ArrayIterators","arrayCopyWithin","Uint8Array","SHARED_BUFFER","BYTES_PER_ELEMENT","arrayForEach","arrayFilter","arraySome","arrayEvery","arrayIncludes","arrayValues","arrayKeys","arrayEntries","arrayLastIndexOf","arrayReduce","arrayReduceRight","arraySort","arrayToString","arrayToLocaleString","toLocaleString","TYPED_CONSTRUCTOR","DEF_CONSTRUCTOR","ALL_CONSTRUCTORS","TYPED_ARRAY","allocate","LITTLE_ENDIAN","Uint16Array","FORCED_SET","strictToLength","SAME","toOffset","BYTES","validate","speciesFromList","list","fromList","$from","$of","TO_LOCALE_BUG","$toLocaleString","predicate","middle","subarray","$begin","$iterators","isTAIndex","$getDesc","$setDesc","$TypedArrayPrototype$","CLAMPED","ISNT_UINT8","GETTER","SETTER","TypedArray","TAC","TypedArrayPrototype","getter","o","round","addElement","$offset","$length","$len","$nativeIterator","CORRECT_ITER_NAME","$iterator","rApply","fApply","thisArgument","argumentsList","L","rConstruct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","propertyKey","attributes","deleteProperty","Enumerate","enumerate","receiver","getProto","ownKeys","V","existingDescriptor","ownDesc","setProto","toMetaKey","ordinaryDefineOwnMetadata","defineMetadata","metadataKey","metadataValue","targetKey","Map","getOrCreateMetadataMap","targetMetadata","keyMetadata","ordinaryHasOwnMetadata","MetadataKey","metadataMap","ordinaryGetOwnMetadata","MetadataValue","ordinaryOwnMetadataKeys","_","deleteMetadata","ordinaryGetMetadata","hasOwn","getMetadata","Set","ordinaryMetadataKeys","oKeys","pKeys","getMetadataKeys","getOwnMetadata","getOwnMetadataKeys","ordinaryHasMetadata","hasMetadata","hasOwnMetadata","factory","bindArguments","Zone","current","patchPrototype","fnNames","_loop_1","name_1","delegate","patchProperty","obj","prop","eventName","substr","_prop","removeEventListener","wrapFn","preventDefault","patchOnProperties","properties","onProperties","findExistingRegisteredTask","capture","remove","eventTasks","EVENT_TASKS","eventTask","useCapturing","attachRegisteredEvent","makeZoneAwareAddListener","addFnName","removeFnName","useCapturingParam","allowDuplicates","scheduleEventListener","addFnSymbol","cancelEventListener","removeFnSymbol","zoneSymbol","defaultUseCapturing","_global$1","handleEvent","validZoneHandler","zone","scheduleEventTask","makeZoneAwareRemoveListener","fnName","symbol","cancelTask","patchEventTargetMethods","patchMethod","ADD_EVENT_LISTENER","zoneAwareAddEventListener","REMOVE_EVENT_LISTENER","zoneAwareRemoveEventListener","patchClass","className","OriginalClass","originalInstanceKey","Error","createNamedFn","patchFn","delegateName","patchTimer","setName","cancelName","nameSuffix","scheduleTask","tasksByHandleId","handleId","setNative","clearNative","options","isPeriodic","delay","scheduleMacroTask","handle","ref","unref","cancelFn","runCount","propertyPatch","isUnconfigurable","originalConfigurableFlag","rewriteDescriptor","_tryDefineProperty","props","isFrozen","_getOwnPropertyDescriptor","_redefineProperty","unconfigurablesKey","_defineProperty","descJson","eventTargetPatch","_global","apis","isWtf","WTF_ISSUE_555","NO_EVENT_TARGET","EVENT_TARGET","WS","WebSocket","EventTarget","proxySocket","socket","onmessageDesc","propName","propertyDescriptorPatch","supportsWebSocket","canPatchViaPropertyDescriptor","isBrowser","HTMLElement","eventNames","XMLHttpRequest","IDBIndex","IDBRequest","IDBOpenDBRequest","IDBDatabase","IDBTransaction","IDBCursor","patchViaCapturingAllTheEvents","Element","req","onreadystatechange","property","onproperty","elt","unboundKey","parentElement","registerElementPatch","_registerElement","registerElement","callbacks","opts","callback","patchXHR","findPendingTask","pendingTask","XHR_TASK","readyState","DONE","aborted","storedTask","sendNative","placeholderCallback","abortNative","openNative","XHR_SYNC","__symbol__","scheduleQueueDrain","_numberOfNestedTaskFrames","_microTaskQueue","symbolPromise","symbolThen","drainMicroTaskQueue","symbolSetTimeout","scheduleMicroTask","consoleError","rejection","message","stack","_isDrainingMicrotaskQueue","runTask","_uncaughtPromiseErrors","uncaughtPromiseError","shift","runGuarded","forwardResolution","forwardRejection","ZoneAwarePromise","makeResolver","state","resolvePromise","symbolState","UNRESOLVED","clearRejectedNoCatch","symbolValue","scheduleResolveOrReject","REJECTED","REJECTED_NO_CATCH","error_1","currentTask","chainPromise","patchThen","NativePromise","NativePromiseProtototype","NativePromiseThen","onResolve","onReject","nativePromise","zoneSpec","_properties","_parent","_name","_zoneDelegate","ZoneDelegate","assertZonePatched","_currentZone","_currentTask","getZoneWith","fork","_callback","intercept","applyThis","applyArgs","oldZone","handleError","previousTask","invokeTask","customSchedule","ZoneTask","customCancel","parentDelegate","_taskCounts","microTask","macroTask","_parentDelegate","_forkZS","onFork","_forkDlgt","_interceptZS","onIntercept","_interceptDlgt","_invokeZS","onInvoke","_invokeDlgt","_handleErrorZS","onHandleError","_handleErrorDlgt","_scheduleTaskZS","onScheduleTask","_scheduleTaskDlgt","_invokeTaskZS","onInvokeTask","_invokeTaskDlgt","_cancelTaskZS","onCancelTask","_cancelTaskDlgt","_hasTaskZS","onHasTask","_hasTaskDlgt","targetZone","scheduleFn","_updateTaskCount","hasTask","isEmpty","counts","change","RESOLVED","rej","values_1","resolvedValues","values_2","fetchPromise","isWebWorker","WorkerGlobalScope","blockingMethods","geolocation","defaultSetTimout","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","clearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","timeout","Item","array","noop","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","binding","cwd","chdir","dir","umask","__WEBPACK_AMD_DEFINE_RESULT__","exportName","setTimeoutContext","bindFn","invokeArrayArg","deprecate","deprecationMessage","warn","inherit","child","base","childP","baseP","_super","boolOrFn","TYPE_FUNCTION","ifUndefined","val1","val2","addEventListeners","types","splitStr","removeEventListeners","hasParent","parentNode","inStr","inArray","findByKey","toArray","uniqueArray","results","prefixed","prefix","camelProp","toUpperCase","VENDOR_PREFIXES","uniqueId","_uniqueId","getWindowForElement","element","doc","ownerDocument","defaultView","parentWindow","Input","manager","inputTarget","domHandler","ev","enable","createInputInstance","Type","inputClass","SUPPORT_POINTER_EVENTS","PointerEventInput","SUPPORT_ONLY_TOUCH","TouchInput","SUPPORT_TOUCH","TouchMouseInput","MouseInput","inputHandler","eventType","input","pointersLen","pointers","changedPointersLen","changedPointers","isFirst","INPUT_START","isFinal","INPUT_END","INPUT_CANCEL","session","computeInputData","recognize","prevInput","pointersLength","firstInput","simpleCloneInputData","firstMultiple","offsetCenter","center","getCenter","timeStamp","deltaTime","angle","getAngle","distance","getDistance","computeDeltaXY","offsetDirection","getDirection","deltaX","deltaY","overallVelocity","getVelocity","overallVelocityX","overallVelocityY","scale","getScale","rotation","getRotation","maxPointers","computeIntervalInputData","srcEvent","offsetDelta","prevDelta","velocity","velocityX","velocityY","direction","lastInterval","COMPUTE_INTERVAL","clientX","clientY","DIRECTION_NONE","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DIRECTION_DOWN","p2","PROPS_XY","atan2","PI","PROPS_CLIENT_XY","evEl","MOUSE_ELEMENT_EVENTS","evWin","MOUSE_WINDOW_EVENTS","pressed","POINTER_ELEMENT_EVENTS","POINTER_WINDOW_EVENTS","pointerEvents","SingleTouchInput","evTarget","SINGLE_TOUCH_TARGET_EVENTS","SINGLE_TOUCH_WINDOW_EVENTS","started","normalizeSingleTouches","touches","changed","changedTouches","TOUCH_TARGET_EVENTS","targetIds","getTouches","allTouches","INPUT_MOVE","identifier","targetTouches","changedTargetTouches","touch","mouse","primaryTouch","lastTouches","recordTouches","eventData","setLastTouch","lastTouch","lts","removeLastTouch","DEDUP_TIMEOUT","isSyntheticEvent","dx","dy","DEDUP_DISTANCE","TouchAction","cleanTouchActions","actions","TOUCH_ACTION_NONE","hasPanX","TOUCH_ACTION_PAN_X","hasPanY","TOUCH_ACTION_PAN_Y","TOUCH_ACTION_MANIPULATION","TOUCH_ACTION_AUTO","getTouchActionProps","NATIVE_TOUCH_ACTION","touchMap","cssSupports","CSS","supports","Recognizer","defaults","STATE_POSSIBLE","simultaneous","requireFail","stateStr","STATE_CANCELLED","STATE_ENDED","STATE_CHANGED","STATE_BEGAN","directionStr","getRecognizerByNameIfManager","otherRecognizer","recognizer","AttrRecognizer","PanRecognizer","pX","pY","PinchRecognizer","PressRecognizer","_timer","_input","RotateRecognizer","SwipeRecognizer","TapRecognizer","pTime","pCenter","Hammer","recognizers","preset","Manager","handlers","oldCssProps","touchAction","toggleCssProps","item","recognizeWith","requireFailure","cssProps","triggerDomEvent","gestureEvent","createEvent","initEvent","gesture","dispatchEvent","TEST_ELEMENT","nextKey","extend","dest","merge","MOBILE_REGEX","navigator","userAgent","INPUT_TYPE_TOUCH","INPUT_TYPE_PEN","INPUT_TYPE_MOUSE","INPUT_TYPE_KINECT","DIRECTION_HORIZONTAL","DIRECTION_VERTICAL","DIRECTION_ALL","destroy","MOUSE_INPUT_MAP","mousedown","mousemove","mouseup","button","which","pointerType","POINTER_INPUT_MAP","pointerdown","pointermove","pointerup","pointercancel","pointerout","IE10_POINTER_TYPE_ENUM","2","3","4","5","MSPointerEvent","PointerEvent","removePointer","eventTypeNormalized","isTouch","storeIndex","pointerId","SINGLE_TOUCH_INPUT_MAP","touchstart","touchmove","touchend","touchcancel","TOUCH_INPUT_MAP","inputEvent","inputData","isMouse","sourceCapabilities","firesTouchEvents","PREFIXED_TOUCH_ACTION","TOUCH_ACTION_COMPUTE","TOUCH_ACTION_MAP","compute","update","getTouchAction","preventDefaults","prevented","hasNone","isTapPointer","isTapMovement","isTapTouchTime","preventSrc","STATE_RECOGNIZED","STATE_FAILED","dropRecognizeWith","dropRequireFailure","hasRequireFailures","canRecognizeWith","additionalEvent","tryEmit","canEmit","inputDataClone","reset","attrTest","optionPointers","isRecognized","isValid","threshold","directionTest","hasMoved","inOut","time","validPointers","validMovement","validTime","taps","interval","posThreshold","validTouchTime","failTimeout","validInterval","validMultiTap","tapCount","VERSION","domEvents","userSelect","touchSelect","touchCallout","contentZooming","userDrag","tapHighlightColor","STOP","FORCED_STOP","stop","force","stopped","curRecognizer","existing","events","Tap","Pan","Swipe","Pinch","Rotate","Press","freeGlobal","_angular_compiler","_angular_core","_angular_platformBrowser","globalScope","INTERNAL_BROWSER_PLATFORM_PROVIDERS","__platform_browser_private__","__extends","__","ResourceLoaderImpl","xhr","responseType","onload","response","responseText","status","onerror","send","Injectable","ctorParameters","ResourceLoader","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","COMPILER_OPTIONS","useValue","multi","assert","condition","__extends$1","CachedResourceLoader","_cache","$templateCache","__platform_browser_dynamic_private__","RESOURCE_CACHE_PROVIDER","createPlatformFactory","platformCoreDynamic","templateVisitAll","visitor","asts","visit","ast","astResult","isWhitespace","$TAB","$SPACE","$NBSP","isDigit","$0","$9","isAsciiLetter","$a","$z","$A","$Z","isAsciiHexDigit","$f","$F","isPresent","isBlank","isStrictStringMap","STRING_MAP_PROTO","token","overriddenName","newLineIndex","substring","isJsObject","isPrimitive","escapeRegExp","assertArrayOfStrings","isDevMode","assertInterpolationSymbols","start_1","end_1","INTERPOLATION_BLACKLIST_REGEXPS","newCharacterToken","Token","TokenType","Character","newIdentifierToken","text","Identifier","newKeywordToken","Keyword","newOperatorToken","Operator","newStringToken","newNumberToken","newErrorToken","isIdentifierStart","$_","$$","isIdentifier","scanner","_Scanner","peek","advance","$EOF","isIdentifierPart","isExponentStart","$e","$E","isExponentSign","$MINUS","$PLUS","isQuote","$SQ","$DQ","$BT","unescape","$n","$LF","$FF","$r","$CR","$t","$v","$VTAB","_createInterpolateRegExp","config","pattern","visitAll","nodes","splitNsName","elementName","colonIndex","getNsPrefix","fullName","mergeNsAndName","localName","tokenize","getTagDefinition","tokenizeExpansionForms","interpolationConfig","DEFAULT_INTERPOLATION_CONFIG","_Tokenizer","ParseSourceFile","_unexpectedCharacterErrorMsg","charCode","char","_unknownEntityErrorMsg","entitySrc","isNotWhitespace","isNameEnd","$GT","$SLASH","$EQ","isPrefixEnd","isDigitEntityEnd","$SEMICOLON","isNamedEntityEnd","isExpansionFormStart","isInterpolationStart","$LBRACE","isExpansionCaseStart","compareCharCodeCaseInsensitive","code1","code2","toUpperCaseCharCode","mergeTextTokens","srcTokens","lastDstToken","dstTokens","TokenType$1","TEXT","parts","sourceSpan","lastOnStack","digestMessage","sha1","serializeNodes","meaning","serializerVisitor","utf8","utf8Encode","words32","stringToWords32","h0","h1","h2","h3","h4","rol32","fk","temp","add32","_e","words32ToString","b_1","encoded","codePoint","decodeSurrogatePairs","low","high","getHtmlTagDefinition","tagName","TAG_DEFINITIONS","_DEFAULT_TAG_DEFINITION","createI18nMessageFactory","_I18nVisitor","_expParser","description","toI18nMessage","_extractPlaceholderName","_CUSTOM_PH_EXP","extractMessages","implicitTags","implicitAttrs","_Visitor","extract","mergeTranslations","translations","_isOpeningComment","Comment","_isClosingComment","_getI18nAttr","attrs","attr","_I18N_ATTR","_splitMeaningAndDesc","i18n","pipeIndex","getXmlTagDefinition","_TAG_DEFINITION","extractPlaceholders","messageBundle","messageMap","getMessageMap","placeholders","msgId","extractPlaceholderToIds","placeholderToIds","placeholderToMsgIds","serialize","_visitor","_escapeXml","_ESCAPED_CHARS","getCtypeForTag","isStaticSymbol","dashCaseToCamelCase","DASH_CASE_REGEXP","splitAtColon","defaultValues","_splitAt","splitAtPeriod","character","characterIndex","sanitizeIdentifier","visitValue","visitArray","visitStringMap","visitPrimitive","visitOther","unimplemented","createHostComponentMeta","compMeta","template","CssSelector","parse","selector","getMatchingElementTemplate","CompileDirectiveMetadata","CompileTypeMetadata","reference","moduleUrl","isHost","CompileTemplateMetadata","encapsulation","ViewEncapsulation","None","templateUrl","styles","styleUrls","ngContentSelectors","animations","changeDetection","ChangeDetectionStrategy","Default","inputs","outputs","host","isComponent","viewProviders","queries","viewQueries","removeIdentifierDuplicates","items","_normalizeArray","assetUrl","pkg","path","resolveIdentifier","reflector","runtime","filePath","CompileIdentifierMetadata","identifierToken","CompileTokenMetadata","resolveIdentifierToken","resolveEnumIdentifier","enumType","resolvedEnum","resolveEnum","expandNodes","expander","_Expander","ExpansionResult","isExpanded","errors","_expandPluralForm","children","cases","PLURAL_CASES","ExpansionError","valueSourceSpan","expansionResult","expression","Attribute$1","switchAttr","switchValue","switchValueSourceSpan","_expandDefaultForm","_transformProvider","provider","useExisting","deps","CompileProviderMetadata","useFactory","_transformProviderAst","eager","ProviderAst","multiProvider","providerType","lifecycleHooks","_normalizeProviders","targetErrors","targetProviders","normalizeProvider","ProviderError","_resolveProvidersFromDirectives","directives","providersByToken","directive","dirProvider","_resolveProviders","ProviderAstType","Component","Directive","directivesWithComponentFirst","PublicService","PrivateService","targetProvidersByToken","resolvedProvider","_getViewQueries","component","query","_addQueryToTokenMap","_getContentQueries","contentQueries","selectors","isStyleUrlResolvable","schemeMatch","_urlWithSchemaRe","extractStyleUrls","resolver","baseUrl","cssText","foundUrls","modifiedCssText","_cssImportRe","StyleWithImports","_isAnimationLabel","calcPossibleSecurityContexts","registry","isAttribute","ctxs","elementNames","allKnownElementNames","notElementNames","notSelectors","isElementSelector","possibleElementNames","securityContext","SecurityContext","NONE","preparseElement","selectAttr","hrefAttr","relAttr","nonBindable","projectAs","lcAttrName","NG_CONTENT_SELECT_ATTR","LINK_STYLE_HREF_ATTR","LINK_STYLE_REL_ATTR","NG_NON_BINDABLE_ATTR","NG_PROJECT_AS","normalizeNgContentSelect","nodeName","PreparsedElementType","OTHER","NG_CONTENT_ELEMENT","NG_CONTENT","STYLE_ELEMENT","STYLE","SCRIPT_ELEMENT","SCRIPT","LINK_ELEMENT","LINK_STYLE_REL_VALUE","STYLESHEET","PreparsedElement","splitClasses","classAttrValue","createElementCssSelector","matchableAttrs","cssSelector","elNameNoNs","setElement","attrName","attrNameNoNs","attrValue","addAttribute","CLASS_ATTR","classes","addClassName","_isEmptyTextNode","Text","removeSummaryDuplicates","unimplemented$1","_parseAnimationDeclarationStates","stateMetadata","schema","normalizedStyles","_normalizeStyleMetadata","defStyles","AnimationStylesAst","states","stateNameExpr","AnimationStateDeclarationAst","_parseAnimationStateTransition","transitionStateMetadata","stateStyles","StylesCollection","transitionExprs","transitionStates","stateChangeExpr","expr","_parseAnimationTransitionExpr","_normalizeAnimationEntry","steps","animation","_normalizeStyleSteps","animationAst","_parseTransitionAnimation","_fillAnimationAstStartingKeyframes","stepsAst","AnimationWithStepsAst","AnimationSequenceAst","AnimationStateTransitionAst","_parseAnimationAlias","alias","AnimationParseError","eventStr","expressions","fromState","toState","AnimationStateTransitionExpression","isFullAnyStateExpr","ANY_STATE","CompileAnimationSequenceMetadata","permitStateReferences","styleEntry","_resolveStylesFromState","stylesObj_1","normalizedStylesObj_1","normalizedProp","normalizeAnimationStyleProperty","normalizedOutput","normalizeAnimationStyleValue","normalizationError","_normalizeStyleStepEntry","CompileAnimationGroupMetadata","_mergeAnimationStyles","stylesList","newItem","lastItem","StringMapWrapper","CompileAnimationWithStepsMetadata","combinedStyles","newSteps","CompileAnimationStyleMetadata","CompileAnimationAnimateMetadata","animateStyleValue","CompileAnimationKeyframesSequenceMetadata","innerSteps","stateName","normalizedStateName","stylesEntry","_parseAnimationKeyframes","keyframeSequence","currentTime","collectedStyles","totalEntries","totalOffsets","margin","rawKeyframes","doSortKeyframes","lastOffset","styleMetadata","keyframeStyles","_TERMINAL_KEYFRAME","firstKeyframe","_INITIAL_KEYFRAME","firstKeyframeStyles","lastKeyframe","lastKeyframeStyles","FILL_STYLE_FLAG","AnimationKeyframeAst","playTime","startingTime","previousStyles_1","maxDuration_1","steps_1","isGroup_1","insertAtTime","innerAst","startingStyles","AnimationStepAst","innerStep","astDuration","AnimationGroupAst","timings","_parseTimeExpression","keyframes","styleData","styleAst","keyframe","duration","easing","startTime","endKeyframe","startKeyframe","_createStartKeyframeFromEndKeyframe","regex","matches","_AnimationTimings","durationMatch","durationUnit","_ONE_SECOND","delayMatch","delayUnit","delayVal","easingVal","endTime","resultEntry","nextEntry","resultIndex","indexOfAtOrBeforeTime","getByIndex","createUrlResolverWithoutPackagePrefix","UrlResolver","createOfflineCompileUrlResolver","getUrlScheme","_ComponentIndex","Scheme","_buildFromEncodedParts","opt_scheme","opt_userInfo","opt_domain","opt_port","opt_path","opt_queryData","opt_fragment","uri","_splitRe","_removeDotSegments","leadingSlash","trailingSlash","segments","up","segment","pop","unshift","_joinAndCanonicalizePath","Path","UserInfo","Domain","Port","QueryData","Fragment","_resolveUrl","encodeURI","baseParts","isDirectiveMetadata","replaceVarInExpression","varName","newValue","transformer","_ReplaceVariableTransformer","visitExpression","findReadVarNames","stmts","finder","_VariableFinder","visitAllStatements","varNames","variable","ReadVarExpr","importExpr","typeParams","ExternalExpr","importType","typeModifiers","ExternalType","literalArr","LiteralArrayExpr","literalMap","LiteralMapExpr","not","NotExpr","params","body","FunctionExpr","literal","LiteralExpr","createCheckBindingField","builder","bindingId","fields","fieldExpr","createBindFieldExpr","ClassField","StmtModifier","Private","ctorStmts","THIS_EXPR","Identifiers","UNINITIALIZED","toStmt","CheckBindingField","createCheckBindingStmt","evalResult","throwOnChangeVar","checkBinding","callFn","currValExpr","forceUpdate","or","IfStmt","createDiTokenExpression","identifierIsInstance","instantiate","TypeModifier","Const","createInlineArray","EMPTY_INLINE_ARRAY","identifierSpec","inlineArrays","InlineArrayDynamic","createPureProxy","argCount","pureProxyProp","pureProxyId","pureProxies","createEnumExpression","enumValue","enumName","convertPropertyBinding","nameResolver","implicitReceiver","createCurrValueExpr","DefaultNameResolver","_AstToIrVisitor","VAL_UNWRAPPER_VAR","outputExpr","_Mode","Expression","temporaryCount","temporaryDeclaration","needsValueUnwrapper","initValueUnwrapperStmt","callMethod","toDeclStmt","Final","ConvertPropertyBindingResult","convertActionBinding","action","actionStmts","flattenStatements","Statement","prependTemporaryDecls","preventDefaultVar","lastStatement","returnExpr","convertStmtIntoExpression","createPreventDefaultVar","cast","DYNAMIC_TYPE","notIdentical","ConvertActionBindingResult","createSharedBindingVariablesIfNeeded","unwrapperStmts","readVars","ValueUnwrapper","temporaryName","temporaryNumber","DeclareVarStmt","NULL_EXPR","statements","ensureStatementMode","mode","ensureExpressionMode","convertToStatementIfNeeded","createCachedLiteralArray","EMPTY_ARRAY","proxyExpr","proxyParams","proxyReturnEntries","paramName","FnParam","ReturnStatement","ArrayType","createCachedLiteralMap","EMPTY_MAP","MapType","stmt","ExpressionStatement","writeToRenderer","boundProp","renderElement","renderValue","logBindingUpdate","securityContextExpression","updateStmts","renderer","sanitizedValue","PropertyBindingType","Property","setBindingDebugInfo","Attribute","conditional","Class","Style","strValue","unit","plus","Animation","needsRuntimeSecurityContext","triggerAnimation","componentView","eventListener","lastRenderValue","detachStmts","animationName","animationFnExpr","emptyStateValue","EMPTY_STATE","unitializedValue","animationTransitionVar","equals","registerStmts","BuiltinMethod","Bind","BoundEventAst","calcFullName","createClassStmt","parentArgs","superCtorStmts","SUPER_EXPR","concatClassBuilderParts","builders","ctor","ClassMethod","ctorParams","ClassStmt","getters","modifiers","addNgDoCheckMethod","changedVar","CHANGED_FIELD_NAME","lifecycleStmts","genChanges","onChangesStmts","ngOnChanges","CONTEXT_FIELD_NAME","CHANGES_FIELD_NAME","compilerConfig","setBindingDebugInfoForChanges","VIEW_VAR","RENDER_EL_VAR","RESET_CHANGES_STMT","ngOnInit","identical","ngDoCheck","THROW_ON_CHANGE_VAR","AppView","BOOL_TYPE","addCheckInputMethod","field","onChangeStatements","CURR_VALUE_VAR","SimpleChange","methodBody","FORCE_UPDATE_VAR","addCheckHostMethod","hostProps","methodParams","COMPONENT_VIEW_VAR","hostProp","hostPropIdx","securityContextExpr","checkBindingStmts","isAnimation","EVENT_HANDLER_FIELD_NAME","addHandleEventMethod","hostListeners","resultVar","hostListener","eventIdx","trueStmts","and","EVENT_NAME_VAR","STRING_TYPE","EventHandlerVars","addSubscribeMethod","dirMeta","emitterPropName","emitterIdx","subscriptionFieldName","SubscribeObservable","destroyStmts","parseHostBindings","exprParser","schemaRegistry","parser","BindingParser","sourceFileName","sourceFile","ParseSourceSpan","ParseLocation","parsedHostProps","createDirectiveHostPropertyAsts","toSummary","parsedHostListeners","createDirectiveHostEventAsts","ParseResult","reportParseErrors","parseErrors","warnings","level","ParseErrorLevel","WARNING","FATAL","_console","hasLifecycleHook","hook","getHookName","LifecycleHooks","OnInit","OnDestroy","DoCheck","OnChanges","AfterContentInit","AfterContentChecked","AfterViewInit","AfterViewChecked","_isNgModuleMetadata","_isPipeMetadata","Pipe","getTransitiveExportedModules","targetModules","visitedModules","ngModule","exportedModules","getTransitiveImportedModules","nestedModules","importedModules","flattenArray","tree","resolveForwardRef","dedupeArray","flattenAndDedupeArray","isValidType","staticTypeModuleUrl","componentModuleUrl","cmpMetadata","scheme","MODULE_SUFFIX","importUri","convertToCompileValue","targetIdentifiers","_CompileValueConverter","convertValueToOutputAst","_ValueOutputAstTransformer","escapeIdentifier","escapeDollar","alwaysQuote","_SINGLE_QUOTE_ESCAPE_STRING_RE","requiresQuotes","_LEGAL_IDENTIFIER_RE","_createIndent","debugOutputAstAsTypeScript","converter","_TsEmitterVisitor","_debugModuleUrl","EmitterVisitorContext","createRoot","visitStatement","Type$1","visitType","toSource","registerContext","specs","specs_1","spec","SECURITY_SCHEMA","_isPixelDimensionStyle","stripComments","_commentRe","extractSourceMappingUrl","matcher","_sourceMappingUrlRe","processRules","ruleCallback","inputWithEscapedBlocks","escapeBlocks","nextBlockIndex","escapedString","_ruleRe","content","suffix","contentPrefix","BLOCK_PLACEHOLDER","blocks","rule","CssRule","inputParts","_curlyRe","resultParts","escapedBlocks","bracketCount","currentBlockParts","partIndex","part","CLOSE_CURLY","OPEN_CURLY","StringWithEscapedBlocks","getStylesVarName","getPropertyInView","callingView","definedView","viewProp","currView","declarationElement","_ReplaceViewTransformer","injectFromViewParentInjector","optional","viewExpr","viewType","ViewType","HOST","getViewClassName","embeddedTemplateIndex","getHandleEventMethodName","elementIndex","createQueryValues","viewValues","ListWrapper","flatten","ViewQueryValues","mapNestedViews","viewContainer","adjustedExpressions","classType","createQueryList","directiveInstance","propertyName","compileView","QueryList","createMethod","addStmt","addQueryToTokenMap","createInjectInternalCondition","nodeIndex","childNodeCount","providerExpr","indexCondition","lowerEquals","InjectMethodVars$1","requestNodeIndex","createProviderProperty","providerValueExpressions","isMulti","isEager","compileElement","resolvedProviderValueExpr","internalField","CompileMethod","resetDebugInfo","sourceAst","ClassGetter","finish","_findPipeMeta","pipeMeta","pipeMetas","localPipeMeta","getViewType","EMBEDDED","COMPONENT","bindOutputs","boundEvents","bindToRenderer","usedEvents","collectEvents","subscribeToRenderEvents","subscribeToDirectiveEvents","generateHandleEventMethod","dirAst","hostEvents","eventAndTargetExprs","phase","disposableVar","disposables","subscribeToRenderElement","renderNode","handleEventExpr","FUNCTION_TYPE","usedEventNames","dirWrapper","directiveWrapperInstance","addStmts","DirectiveWrapperExpressions","subscribe","hostProperties","hasComponentHostListener","markPathToRootStart","compViewExpr","handleEventStmts","eventNameVar","dirIdx","renderEvent","renderEventIdx","componentContext","handleEventMethodName","bindDirectiveAfterContentLifecycleCallbacks","directiveMeta","afterContentLifecycleCallbacksMethod","STATE_IS_NEVER_CHECKED","bindDirectiveAfterViewLifecycleCallbacks","afterViewLifecycleCallbacksMethod","bindDirectiveWrapperLifecycleCallbacks","directiveWrapperIntance","destroyMethod","ngOnDestroy","detachMethod","ngOnDetach","bindInjectableDestroyLifecycleCallbacks","providerInstance","onDestroyMethod","bindPipeDestroyLifecycleCallbacks","pipeInstance","bindRenderText","boundText","compileNode","valueField","detectChangesRenderPropertiesMethod","DetectChangesVars","throwOnChange","bindRenderInputs","boundProps","hasEvents","bindingField","compileMethod","genConfig","animationBindingsMethod","bindDirectiveHostProps","directiveAst","runtimeSecurityCtxExprs","checkHost","bindDirectiveInputs","dirIndex","detectChangesInInputsMethod","inputIdx","directiveName","isOnPushComp","isDefaultChangeDetectionStrategy","directiveDetectChangesExpr","directiveDetectChangesStmt","bindView","parsedTemplate","ViewBinderVisitor","pipes","pipe","buildView","targetDependencies","builderVisitor","ViewBuilderVisitor","parentEl","isNull","lastRenderNode","getOrCreateLastRenderNode","nestedViewCount","finishView","targetStatements","afterNodes","createViewTopLevelStmts","CompileElement","hasEmbeddedView","embeddedView","_getOuterContainerOrSelf","_isNgContainer","_getOuterContainerParentOrSelf","NG_CONTAINER_TAG","_mergeHtmlAndDirectiveAttrs","declaredHtmlAttrs","mapResult","hostAttributes","prevValue","mergeAttributeValue","arrResult","_readHtmlAttrs","htmlAttrs","attrValue1","attrValue2","CLASS_ATTR$1","STYLE_ATTR","nodeDebugInfosVar","genDebugInfo","viewIndex","createStaticNodeDebugInfo","StaticNodeDebugInfo","renderCompTypeVar","templateUrlInfo","createRenderComponentType","ViewEncapsulationEnum","fromValue","fnExp","RenderComponentType","viewClass","createViewClass","providerTokens","componentToken","varTokenEntries","getProviderTokens","referenceTokens","viewConstructorArgs","ViewConstructorVars","viewUtils","ViewUtils","parentView","parentIndex","NUMBER_TYPE","superConstructorArgs","ViewTypeEnum","ChangeDetectorStatusEnum","getChangeDetectionMode","ViewContainer","viewMethods","rootSelectorVar","generateCreateMethod","ComponentRef","notFoundResult","addReturnValuefNotEmpty","injectorGetMethod","generateDetectChangesMethod","dirtyParentQueriesMethod","generateDestroyMethod","generateVisitRootNodesMethod","generateVisitProjectableNodesMethod","generateCreateEmbeddedViewsMethod","superClass","DebugAppView","getContextType","viewContainers","viewChildren","viewChild","parentRenderNodeExpr","parentRenderNodeStmts","ViewProperties","parentRenderNodeVar","renderTypes","resultExpr","hostEl","ComponentRef_","getComponent","allNodesExpr","updateContentQueriesMethod","updateViewQueriesMethod","afterContentStmts","afterViewStmts","varStmts","changes","ChangeDetectorStatus","CheckAlways","CheckOnce","cbVar","ctxVar","generateVisitNodesStmts","rootNodes","nodeIndexVar","ngContentIndexVar","contentNodesByNgContentIndex","projectedNodes","ngContentIndex","cb","CompileViewRootNodeType","Node","NgContent","isRootElement","classExpr","_compareToAnimationStateExpr","animationState","emptyStateLiteral","_isEndStateAnimateStep","styles1","_getStylesArray","styles2","_resolveViewStatements","compileResult","dependencies","dep","ViewClassDependency","vfd","placeholder","_ngfactoryModuleUrl","comp","ComponentFactoryDependency$1","cfd","_componentFactoryName","DirectiveWrapperDependency","dwd","_resolveStyleStatements","fileSuffix","valuePlaceholder","_stylesModuleUrl","isShimmed","dirUrl","urlWithSuffix","_splitTypescriptSuffix","stylesheetUrl","shim","_assertComponent","lastDot","analyzeNgModules","programStaticSymbols","metadataResolver","_createNgModules","ngModules","symbolsMissingModule","_analyzeNgModules","analyzeAndValidateNgModules","messages","loadNgModuleDirectives","transitiveModule","directiveLoaders","loader","ngModuleMetas","moduleMetasByRef","ngModuleByPipeOrDirective","ngModulesByFile","ngDirectivesByFile","filePaths","ngModuleMeta","srcFileUrl","declaredDirectives","dirIdentifier","fileUrl","declaredPipes","pipeIdentifier","files","srcUrl","extractProgramSymbols","staticReflector","staticSymbols","fileName","_filterFileByPatterns","moduleMetadata","getModuleMetadata","__symbolic","getStaticSymbol","programPipesAndDirectives","ngModulePipesAndDirective","addNgModule","staticSymbol","getUnloadedNgModuleMetadata","modMeta","isDirective","isPipe","includeFilePattern","excludeFilePattern","isStaticType","expandedMessage","typeName","produceErrorMessage","mapStringMap","transform","shouldIgnore","isPrimitive$1","sameSymbol","positionalError","line","column","createAotCompiler","compilerHost","urlResolver","StaticReflector","StaticAndDynamicReflectionCapabilities","install","htmlParser","I18NHtmlParser","HtmlParser","i18nFormat","CompilerConfig","debug","defaultEncapsulation","Emulated","useJit","normalizer","DirectiveNormalizer","loadResource","expressionParser","Parser","Lexer","elementSchemaRegistry","DomElementSchemaRegistry","Console","tmplParser","TemplateParser","CompileMetadataResolver","NgModuleResolver","DirectiveResolver","PipeResolver","compiler","AotCompiler","StyleCompiler","ViewCompiler","DirectiveWrapperCompiler","NgModuleCompiler","TypeScriptEmitter","locale","AnimationParser","interpretStatements","stmtsWithReturn","_ExecutionContext","StatementInterpreter","_executeFunctionStatements","varValues","childCtx","createChildWihtLocalVars","vars","createDynamicClass","_classStmt","_ctx","propertyDescriptors","instanceCtx","paramNames","param","ctorParamNames","constructorMethod","_this","_declareFn","evalExpression","sourceUrl","fnBody","fnArgNames","fnArgValues","argName","jitStatements","JitEmitterVisitor","getArgs","assertComponent","_initReflector","reflectionCapabilities","ReflectionCapabilities","_mergeOptions","optionsArr","useDebug","_lastDefined","_mergeArrays","TextAst","visitText","BoundTextAst","visitBoundText","AttrAst","visitAttr","BoundElementPropertyAst","visitElementProperty","visitEvent","ReferenceAst","visitReference","VariableAst","visitVariable","ElementAst","references","hasViewContainer","endSourceSpan","visitElement","EmbeddedTemplateAst","variables","visitEmbeddedTemplate","BoundDirectivePropertyAst","templateName","visitDirectiveProperty","DirectiveAst","visitDirective","NgContentAst","visitNgContent","$BANG","$HASH","$PERCENT","$AMPERSAND","$LPAREN","$RPAREN","$STAR","$COMMA","$PERIOD","$COLON","$LT","$QUESTION","$X","$LBRACKET","$BACKSLASH","$RBRACKET","$CARET","$u","$x","$BAR","$RBRACE","NumberWrapper","parseIntAutoRadix","isNumeric","InterpolationConfig","fromArray","markers","ParserError","errLocation","ctxLocation","ParseSpan","AST","span","Quote","uninterpretedExpression","location","visitQuote","EmptyExpr","ImplicitReceiver","visitImplicitReceiver","Chain","visitChain","Conditional","trueExp","falseExp","visitConditional","PropertyRead","visitPropertyRead","PropertyWrite","visitPropertyWrite","SafePropertyRead","visitSafePropertyRead","KeyedRead","visitKeyedRead","KeyedWrite","visitKeyedWrite","BindingPipe","visitPipe","LiteralPrimitive","visitLiteralPrimitive","LiteralArray","visitLiteralArray","LiteralMap","visitLiteralMap","Interpolation","strings","visitInterpolation","Binary","operation","left","right","visitBinary","PrefixNot","visitPrefixNot","MethodCall","visitMethodCall","SafeMethodCall","visitSafeMethodCall","FunctionCall","visitFunctionCall","ASTWithSource","TemplateBinding","keyIsVar","RecursiveAstVisitor","KEYWORDS","tokens","scanToken","numValue","isCharacter","isNumber","isString","isOperator","operater","isKeyword","isKeywordLet","isKeywordNull","isKeywordUndefined","isKeywordTrue","isKeywordFalse","isKeywordThis","isError","EOF","scanIdentifier","scanNumber","scanCharacter","scanString","scanOperator","scanComplexOperator","one","twoCode","two","threeCode","three","simple","quote","unescapedCode","position","SplitInterpolation","offsets","TemplateBindingParseResult","templateBindings","_lexer","parseAction","_checkNoInterpolation","sourceToLex","_stripComments","_ParseAST","parseChain","parseBinding","_parseBindingAst","parseSimpleBinding","SimpleExpressionChecker","_reportError","_parseQuote","prefixSeparatorIndex","parseTemplateBindings","prefixToken","prefixTokens","parseInterpolation","splitInterpolation","expressionText","_findInterpolationErrorColumn","wrapLiteralPrimitive","_commentStart","outerQuote","nextChar","partInErrIdx","inputLength","rparensExpected","rbracketsExpected","rbracesExpected","inputIndex","optionalCharacter","peekKeywordLet","expectCharacter","optionalOperator","op","expectOperator","operator","expectIdentifierOrKeyword","expectIdentifierOrKeywordOrString","exprs","parsePipe","parseExpression","parseConditional","parseLogicalOr","yes","no","parseLogicalAnd","parseEquality","parseRelational","parseAdditive","parseMultiplicative","parsePrefix","parseCallChain","parsePrimary","parseAccessMemberOrMethodCall","parseCallArguments","elements","parseExpressionList","parseLiteralMap","literalValue","terminator","isSafe","positionals","expectTemplateBindingKey","operatorFound","bindings","name_2","locationText","skip","file","col","details","TagContentType","ParseError","ctxStart","contextStr","ctxEnd","ctxLen","ctxLines","Expansion","visitExpansion","ExpansionCase","expSourceSpan","visitExpansionCase","valueSpan","visitAttribute","startSourceSpan","visitComment","NAMED_ENTITIES","Aacute","aacute","Acirc","acirc","acute","AElig","aelig","Agrave","agrave","alefsym","Alpha","alpha","amp","ang","apos","Aring","aring","asymp","Atilde","atilde","Auml","auml","bdquo","Beta","beta","brvbar","bull","cap","Ccedil","ccedil","cedil","cent","Chi","chi","circ","clubs","cong","copy","crarr","cup","curren","dagger","Dagger","darr","dArr","deg","Delta","delta","diams","Eacute","eacute","Ecirc","ecirc","Egrave","egrave","emsp","ensp","Epsilon","epsilon","equiv","Eta","eta","ETH","eth","Euml","euml","euro","exist","fnof","forall","frac12","frac14","frac34","frasl","Gamma","gamma","ge","harr","hArr","hearts","hellip","Iacute","iacute","Icirc","icirc","iexcl","Igrave","igrave","image","infin","int","Iota","iota","iquest","isin","Iuml","iuml","Kappa","kappa","Lambda","lambda","lang","laquo","larr","lArr","lceil","ldquo","le","lfloor","lowast","loz","lrm","lsaquo","lsquo","macr","mdash","micro","middot","minus","Mu","mu","nabla","nbsp","ndash","ne","ni","notin","nsub","Ntilde","ntilde","Nu","nu","Oacute","oacute","Ocirc","ocirc","OElig","oelig","Ograve","ograve","oline","Omega","omega","Omicron","omicron","oplus","ordf","ordm","Oslash","oslash","Otilde","otilde","otimes","Ouml","ouml","para","permil","perp","Phi","phi","Pi","pi","piv","plusmn","pound","prime","Prime","prod","Psi","psi","radic","rang","raquo","rarr","rArr","rceil","rdquo","real","reg","rfloor","Rho","rho","rlm","rsaquo","rsquo","sbquo","Scaron","scaron","sdot","sect","shy","Sigma","sigma","sigmaf","sim","spades","sub","sube","sup","sup1","sup2","sup3","supe","szlig","Tau","tau","there4","Theta","theta","thetasym","thinsp","THORN","thorn","tilde","times","trade","Uacute","uacute","uarr","uArr","Ucirc","ucirc","Ugrave","ugrave","uml","upsih","Upsilon","upsilon","Uuml","uuml","weierp","Xi","xi","Yacute","yacute","yen","yuml","Yuml","Zeta","zeta","zwj","zwnj","__extends$3","_VisitorMode","Token$1","TokenError","errorMsg","tokenType","TokenizeResult","_CR_OR_CRLF_REGEXP","_ControlFlowError","_file","_getTagDefinition","_tokenizeIcu","_interpolationConfig","_peek","_nextPeek","_index","_line","_column","_expansionCaseStack","_inInterpolation","_length","_advance","_processCarriageReturns","_getLocation","_attemptCharCode","_consumeCdata","_consumeComment","_consumeDocType","_consumeTagClose","_consumeTagOpen","_tokenizeExpansionForm","_consumeText","_beginToken","_endToken","_consumeExpansionFormStart","_isInExpansionForm","_consumeExpansionCaseStart","_isInExpansionCase","_consumeExpansionCaseEnd","_consumeExpansionFormEnd","_getSpan","_currentTokenStart","_currentTokenType","_createError","_attemptCharCodeCaseInsensitive","_requireCharCode","_attemptStr","chars","initialPosition","_savePosition","_restorePosition","_attemptStrCaseInsensitive","_requireStr","_attemptCharCodeUntilFn","_requireCharCodeUntilFn","_attemptUntilChar","_readChar","decodeEntities","_decodeEntity","startPosition","isHex","numberStart","strNum","entity","_consumeRawText","firstCharOfEnd","attemptEndRest","tagCloseStart","textStart","ESCAPABLE_RAW_TEXT","RAW_TEXT","COMMENT_START","textToken","COMMENT_END","CDATA_START","CDATA_END","DOC_TYPE","_consumePrefixAndName","nameOrPrefixStart","nameStart","lowercaseTagName","savedPos","_consumeTagOpenStart","_consumeAttributeName","_consumeAttributeValue","_consumeTagOpenEnd","contentTokenType","contentType","_consumeRawTextWithTagClose","TAG_CLOSE","TAG_OPEN_START","ATTR_NAME","prefixAndName","ATTR_VALUE","quoteChar","valueStart","TAG_OPEN_END_VOID","TAG_OPEN_END","EXPANSION_FORM_START","_readUntil","EXPANSION_CASE_VALUE","EXPANSION_CASE_EXP_START","EXPANSION_CASE_EXP_END","EXPANSION_FORM_END","_isTextEnd","nbTokens","__extends$2","TreeError","ParseTreeResult","Parser$1","parseExpansionForms","tokensAndErrors","treeAndErrors","_TreeBuilder","build","_rootNodes","_errors","_elementStack","_consumeStartTag","_consumeEndTag","_closeVoidElement","_consumeExpansion","_advanceIf","startToken","_addToParent","expCase","_parseExpansionCase","_collectExpansionExpTokens","parsedExp","expansionFormStack","parent_1","_getParentElement","ignoreFirstLf","isVoid","startTagToken","_consumeAttr","_getElementFullName","selfClosing","tagDef","canSelfClose","_pushElement","_popElement","isClosedByChild","_getParentElementSkippingContainers","container","requireExtraParent","newParent","parentToAdd","_insertBeforeContainer","endTagToken","stackIndex","closedByParent","valueToken","implicitNamespacePrefix","_SerializerVisitor","visitContainer","visitIcu","icu","strCases","visitTagPlaceholder","ph","startName","closeName","visitPlaceholder","visitIcuPlaceholder","Message","Text$1","Container","Icu","TagPlaceholder","Placeholder","IcuPlaceholder","HtmlTagDefinition","closedByChildren","requiredParents","PARSABLE_DATA","currentParent","lcParent","area","embed","link","img","hr","br","track","wbr","thead","tbody","tfoot","tr","td","th","svg","math","li","dt","dd","rb","rtc","rp","optgroup","option","pre","listing","script","textarea","TAG_TO_PLACEHOLDER_NAMES","BR","EM","H1","H2","H3","H4","H5","H6","HR","I","LI","LINK","OL","Q","SMALL","SUB","SUP","TBODY","TD","TFOOT","TH","THEAD","TR","TT","UL","PlaceholderRegistry","_placeHolderNameCounts","_signatureToName","getStartTagPlaceholderName","signature","_hashTag","upperTag","baseName","_generateUniqueName","getCloseTagPlaceholderName","_hashClosingTag","getPlaceholderName","upperName","uniqueName","strAttrs","_expressionParser","_isIcu","_icuDepth","_placeholderRegistry","_placeholderToContent","_placeholderToIds","i18nodes","startPhName","closePhName","_visitTextWithInterpolation","comment","i18nIcuCases","i18nIcu","caze","phName","icuCase","sDelimiter","eDelimiter","lastStringIdx","__extends$4","I18nError","_I18N_ATTR_PREFIX","_I18N_COMMENT_PREFIX_REGEXP","ExtractionResult","BoundPropertyType","_implicitTags","_implicitAttrs","_init","Extract","_inI18nBlock","_messages","Merge","_translations","translatedNode","_mode","_mayBeAddBlockChildren","wasInIcu","_inIcu","_isInTranslatableSection","_addMessage","isOpening","isClosing","_inI18nNode","_depth","_blockStartDepth","_closeTranslatableSection","_blockChildren","_blockMeaningAndDesc","_translateMessage","_openTranslatableSection","childNodes","wasInI18nNode","wasInImplicitNode","_inImplicitNode","i18nAttr","isImplicit","isTopLevelImplicit","visited","isTranslatable","_visitAttributesOf","translatedAttrs","_translateAttributes","_msgCountAtSectionStart","_createI18nMessage","explicitAttrNameToValue","implicitAttrNames","meaningAndDesc","i18nAttributeMeanings","translatedAttributes","directChildren","startIndex","significantChildren","MessageBundle","_htmlParser","_messageMap","updateFromTemplate","htmlParserResult","i18nParserResult","serializer","XmlTagDefinition","__extends$5","XmlParser","__extends$6","_Visitor$1","visitTag","_serializeAttributes","strChildren","visitDeclaration","decl","visitDoctype","doctype","rootTag","dtd","Declaration","unescapedAttrs","Doctype","Tag","Text$2","unescapedValue","CR","_VERSION","_XMLNS","_SOURCE_LANG","_PLACEHOLDER_TAG","_SOURCE_TAG","_TARGET_TAG","_UNIT_TAG","Xliff","_WriteVisitor","transUnits","transUnit","datatype","priority","source-language","xliff","xmlns","encoding","load","_LoadVisitor","_isInIcu","ctype","startTagPh","closeTagPh","_messageNodes","_translatedMessages","_msgId","_target","_placeholders","_addError","idAttr","expansion","expansionCase","_MESSAGES_TAG","_MESSAGE_TAG","_PLACEHOLDER_TAG$1","_EXEMPLE_TAG","_DOCTYPE","Xmb","_Visitor$2","rootNode","startEx","closeEx","_TRANSLATIONS_TAG","_TRANSLATION_TAG","_PLACEHOLDER_TAG$2","Xtb","_Visitor$3","_bundleDepth","_translationDepth","nameAttr","TranslationBundle","_translationsFormat","parseResult","_createSerializer","translationBundle","format","StaticSymbol","members","m1","m2","k1","k2","removeAll","flat","flatItem","_SELECTOR_REGEXP","classNames","_addResult","cssSel","inNot","hasElementSelector","classAttr","notSelector","SelectorMatcher","_elementMap","_elementPartialMap","_classMap","_classPartialMap","_attrValueMap","_attrValuePartialMap","_listContexts","createNotMatcher","notMatcher","addSelectables","cssSelectors","callbackCtxt","listContext","SelectorListContext","_addSelectable","selectable","SelectorContext","isTerminal","_addTerminal","_addPartial","terminalMap","terminalValuesMap","partialMap","partialValuesMap","terminalList","matchedCallback","alreadyMatched","_matchTerminal","_matchPartial","name_3","selectables","starSelectables","finalize","nestedSelector","cbContext","ValueTransformer","SyncAsyncResult","syncResult","asyncResult","__extends$7","HOST_REG_EXP","CompileMetadataWithIdentifier","CompileAnimationEntryMetadata","definitions","CompileAnimationStateMetadata","CompileAnimationStateDeclarationMetadata","CompileAnimationStateTransitionMetadata","CompileAnimationMetadata","CompileDiDependencyMetadata","isSelf","isSkipSelf","isOptional","isValue","CompileFactoryMetadata","diDeps","CompileQueryMetadata","descendants","read","CompileStylesheetMetadata","externalStylesheets","interpolation","isSummary","anim","exportAs","entryComponents","inputsMap","bindConfig","outputsMap","CompilePipeMetadata","pure","CompileNgModuleMetadata","exportedDirectives","exportedPipes","bootstrapComponents","schemas","toInjectorSummary","toDirectiveSummary","TransitiveCompileNgModuleMetadata","directivesSet","pipesSet","ProviderMeta","__core_private__","LIFECYCLE_HOOKS_VALUES","ReflectorReader","CodegenComponentFactoryResolver","NgModuleInjector","registerModuleFactory","view_utils","DebugContext","devModeEqual","TemplateRef_","Reflector","NoOpAnimationPlayer","AnimationSequencePlayer","AnimationGroupPlayer","AnimationKeyframe","AnimationStyles","DEFAULT_STATE","prepareFinalAnimationStyles","balanceAnimationKeyframes","clearStyles","collectAndResolveStyles","renderStyles","ComponentStillLoadingError","AnimationTransition","APP_VIEW_MODULE_URL","VIEW_UTILS_MODULE_URL","CD_MODULE_URL","ANIMATION_STYLE_UTIL_ASSET_URL","ANALYZE_FOR_ENTRY_COMPONENTS","ElementRef","ViewContainerRef","ChangeDetectorRef","TemplateRef","ComponentFactoryResolver","ComponentFactory","NgModuleFactory","RegisterModuleFactoryFn","Injector","Renderer","inlineInterpolate","interpolate","castByValue","createRenderElement","selectOrCreateRenderHostElement","pureProxy1","pureProxy2","pureProxy3","pureProxy4","pureProxy5","pureProxy6","pureProxy7","pureProxy8","pureProxy9","pureProxy10","LOCALE_ID","TRANSLATIONS_FORMAT","InlineArray","InlineArray2","InlineArray4","InlineArray8","InlineArray16","__extends$8","__extends$9","expanded","__extends$10","ProviderViewContext","ProviderElementContext","viewContext","_isViewRoot","_directiveAsts","refs","_sourceSpan","_transformedProviders","_seenProviders","_hasViewContainer","_attrs","attrAst","directivesMeta","_allProviders","_contentQueries","queriedTokens","_addQueryReadsTo","refAst","_getOrCreateLocalProvider","afterElement","sortedProviderTypes","transformProviders","sortedDirectives","dir1","dir2","queryReadTokens","_getQueriesFor","queryReadToken","currentEl","requestingProviderType","Builtin","transformedProviderAst","transformedProviders","transformedDeps","transformedUseValue","transformedUseExisting","existingDiDep","_getDependency","_getLocalDependency","currElement","currEager","prevElement","NgModuleProviderAnalyzer","extraProviders","ngModuleTypes","moduleMeta","ngModuleType","ngModuleProvider","errorString","requestorSourceSpan","foundLocal","ElementSchemaRegistry","__extends$11","PROPERTY_PARTS_SEPARATOR","ATTRIBUTE_PREFIX","CLASS_PREFIX","STYLE_PREFIX","ANIMATE_PROP_PREFIX","BoundProperty","LITERAL_ATTR","ANIMATION","_exprParser","_schemaRegistry","_targetErrors","pipesByName","boundProps_1","parsePropertyBinding","createElementPropertyAst","targetEventAsts_1","parseEvent","sourceInfo","_reportExpressionParserErrors","_checkPipes","parseInlineTemplateBinding","targetMatchableAttrs","targetProps","targetVars","_parseTemplateBindings","_parsePropertyAst","parseLiteralAttr","bindingsResult","warning","_parseAnimation","isAnimationProp","_parseBinding","parsePropertyInterpolation","isHostBinding","elementSelector","bindingType","boundPropertyName","securityContexts","partValue","getMappedPropName","_validatePropertyOrAttributeName","nsSeparatorIdx","ns","targetEvents","_parseAnimationEvent","_parseEvent","_parseAction","errors_1","collector","PipeCollector","pipeName","isAttr","report","validateAttribute","validateProperty","BIND_NAME_REGEXP","KW_BIND_IDX","KW_LET_IDX","KW_REF_IDX","KW_ON_IDX","KW_BINDON_IDX","KW_AT_IDX","IDENT_KW_IDX","IDENT_BANANA_BOX_IDX","IDENT_PROPERTY_IDX","IDENT_EVENT_IDX","TEMPLATE_ELEMENT","TEMPLATE_ATTR","TEMPLATE_ATTR_PREFIX","TEXT_CSS_SELECTOR","TEMPLATE_TRANSFORMS","OpaqueToken","TemplateParseError","TemplateParseResult","templateAst","transforms","tryParse","tryParseHtml","expandHtml","getInterpolationConfig","htmlAstWithErrors","uniqDirectives","uniqPipes","providerViewContext","bindingParser","parseVisitor","TemplateParseVisitor","EMPTY_ELEMENT_CONTEXT","_assertNoReferenceDuplicationOnTemplate","expandedHtmlAst","existingReferences","Optional","Inject","_bindingParser","_schemas","selectorMatcher","directivesIndex","ngContentCount","findNgContentIndex","preparsedElement","elementOrDirectiveProps","elementOrDirectiveRefs","elementVars","templateElementOrDirectiveProps","templateMatchableAttrs","templateElementVars","hasInlineTemplates","lcElName","isTemplateElement","hasBinding","_parseAttr","templateBindingsSource","_normalizeAttributeName","hasTemplateBinding","elementCssSelector","_parseDirectives","directiveMetas","matchElement","directiveAsts","_createDirectiveAsts","elementProps","_createElementPropertyAsts","isViewRoot","providerContext","NON_BINDABLE_VISITOR","ElementContext","parsedElement","projectionSelector","_assertAllEventsPublishedByDirectives","_assertNoComponentsNorElementBindingsOnTemplate","transformedDirectiveAsts","transformedHasViewContainer","_assertElementExists","_assertOnlyOneComponent","ngContentIndex_1","_findComponentDirectives","componentDirectiveAst","_validateElementAnimationInputOutputs","componentTemplate","templateCssSelector","templateDirectiveMetas","templateDirectiveAsts","templateElementProps","templateProviderContext","triggerLookup","animationInputs","found","targetRefs","srcSpan","bindParts","_parseVariable","_parseReference","_parseAssignmentEvent","ElementOrDirectiveRef","elementSourceSpan","targetReferences","matchedReferences","directiveProperties","_checkPropertiesInSchema","_createDirectivePropertyAsts","elOrDirRef","refToken","targetBoundDirectiveProps","boundPropsByName_1","isLiteral","dirProp","elProp","boundElementProps","boundDirectivePropsIndex","_findComponentDirectiveNames","componentTypeNames","elName","hasElement","allDirectiveEvents","hasProperty","NonBindableVisitor","attrNameAndValues","_ngContentIndexMatcher","_wildcardNgContentIndex","wildcardNgContentIndex","ngContentIndices","DefaultRenderTypes","_genDebugInfo","_logBindingUpdate","RenderTypes","renderText","renderComment","__extends$13","AnimationAst","AnimationStateAst","AnimationEntryAst","stateDeclarations","stateTransitions","visitAnimationEntry","visitAnimationStateDeclaration","stateChanges","visitAnimationStateTransition","visitAnimationStep","visitAnimationStyles","visitAnimationKeyframe","visitAnimationGroup","visitAnimationSequence","StylesCollectionEntry","tuple","insertionIndex","__extends$12","AnimationEntryParseResult","_schema","parseComponent","componentName","animationTriggerNames","parseEntry","triggerName","errorMessage_1","transitions","stateDeclarationAsts","stateTransitionAsts","transDef","DEFAULT_PACKAGE_URL_PROVIDER","PACKAGE_ROOT_URL","_packagePrefix","resolvedUrl","resolvedParts","_resourceLoader","_urlResolver","_config","_resourceLoaderCache","clearCache","clearCacheFor","normalizedDirective","stylesheet","_fetch","normalizeTemplate","prenormData","normalizedTemplateAsync","normalizedTemplateSync","normalizeTemplateSync","componentType","normalizeTemplateAsync","normalizedTemplate","normalizeExternalStylesheets","prenomData","normalizeLoadedTemplate","templateAbsUrl","rootNodesAndErrors","templateMetadataStyles","normalizeStylesheet","TemplatePreparseVisitor","templateStyles","templateMeta","_loadMissingExternalStylesheets","loadedStylesheets","styleUrl","loadedStyle","allStyleUrls","allStyles","styleWithImports","ngNonBindableStackCount","textContent_1","_reflector","typeMetadata","annotations","throwIfNotFound","propertyMetadata","propMetadata","_mergeWithPropertyMetadata","dm","directiveType","bindingPropertyName","Output","HostBinding","hostBinding","hostPropertyName","startWith","HostListener","Query","_merge","_extractPublicName","mergedInputs","inputNames_1","inputDef","publicName","mergedOutputs","outputNames_1","outputDef","mergedHost","mergedQueries","__extends$14","BuiltinTypeName","hasModifier","modifier","BinaryOperator","BuiltinType","visitBuiltintType","visitExternalType","visitArrayType","valueType","visitMapType","Dynamic","Bool","Int","NULL_TYPE","Null","BuiltinVar","ReadPropExpr","ReadKeyExpr","InvokeMethodExpr","InvokeFunctionExpr","InstantiateExpr","trueCase","falseCase","ConditionalExpr","rhs","BinaryOperatorExpr","Equals","notEquals","NotEquals","Identical","NotIdentical","Minus","Plus","Divide","Multiply","modulo","Modulo","And","Or","lower","Lower","LowerEquals","bigger","Bigger","biggerEquals","BiggerEquals","TYPED_NULL_EXPR","CastExpr","builtin","visitReadVarExpr","WriteVarExpr","visitWriteVarExpr","WriteKeyExpr","visitWriteKeyExpr","WritePropExpr","visitWritePropExpr","visitInvokeMethodExpr","visitInvokeFunctionExpr","visitInstantiateExpr","visitLiteralExpr","visitExternalExpr","visitConditionalExpr","visitNotExpr","visitCastExpr","visitFunctionExpr","DeclareFunctionStmt","lhs","visitBinaryOperatorExpr","visitReadPropExpr","visitReadKeyExpr","visitLiteralArrayExpr","visitLiteralMapExpr","This","Super","CatchError","CatchStack","visitDeclareVarStmt","visitDeclareFunctionStmt","visitExpressionStmt","visitReturnStmt","AbstractClassPart","visitDeclareClassStmt","visitIfStmt","TryCatchStmt","CommentStmt","visitCommentStmt","bodyStmts","catchStmts","visitTryCatchStmt","ThrowStmt","visitThrowStmt","ExpressionTransformer","visitAllExpressions","RecursiveExpressionVisitor","_varName","_newValue","_builder","_nameResolver","_implicitReceiver","_valueUnwrapper","isAction","_nodeMap","_resultMap","_currentTemporary","callPipe","literalArr$$","literalMap$$","_getLocal","getLocal","leftMostSafe","leftMostSafeNode","convertSafeAccess","varExpr","temporary","guardedExpression","needsTemporary","allocateTemporary","access","releaseTemporary","visitSome","tempNumber","DirectiveWrapperCompileResult","dirWrapperClassVar","dirWrapperClassName","compile","hostParseResult","DirectiveWrapperBuilder","inputFieldName","classStmt","dirLifecycleHooks","dirDepParamNames","depsExpr","runtimeSecurityContexts","renderEl","needsSubscribe","eventFlags","eventUsed","isNgModule","metas","annotation","__extends$15","_ngModuleResolver","_directiveResolver","_pipeResolver","_directiveNormalizer","_directiveCache","_directiveSummaryCache","_pipeCache","_pipeSummaryCache","_ngModuleCache","_ngModuleOfTypes","_anonymousTypes","_anonymousTypeIndex","sanitizeTokenName","getAnimationEntryMetadata","defs","_getAnimationStateMetadata","AnimationStateDeclarationMetadata","_getAnimationStyleMetadata","AnimationStateTransitionMetadata","_getAnimationMetadata","AnimationStyleMetadata","AnimationKeyframesSequenceMetadata","AnimationAnimateMetadata","animateData","AnimationWithStepsMetadata","AnimationGroupMetadata","_loadDirectiveMetadata","isSync","nonNormalizedMetadata","getNonNormalizedDirectiveMetadata","createDirectiveMetadata","templateMetadata","normalizedDirMeta","nonNormalizedTemplateMetadata","changeDetectionStrategy","entryComponentMetadata","_getProvidersMetadata","_getIdentifierMetadata","getDefaultComponentElementName","_getQueriesMetadata","_getTypeMetadata","getDirectiveMetadata","getDirectiveSummary","dirType","dirSummary","getNgModuleMetadata","moduleType","_loadNgModuleSummary","_loadNgModuleMetadata","loadNgModuleMetadata","loading","compileMeta","exportedNonModuleIdentifiers","importedType","importedModuleType","moduleWithProviders","importedModuleSummary","_getTypeDescriptor","exportedType","exportedModuleSummary","_getTransitiveNgModuleMetadata","declaredType","declaredIdentifier","_addTypeToModule","_loadPipeMetadata","exportedId","oldModule","transitiveModules","transitiveExportedModules","_getDependenciesMetadata","_getFactoryMetadata","getPipeMetadata","pipeType","getPipeSummary","pipeSummary","getOrLoadPipeMetadata","pipeAnnotation","typeOrFunc","hasUnknownDeps","parameters","dependenciesMetadata","paramEntry","Host","Self","SkipSelf","attributeName","_getTokenMetadata","depsTokens","compileToken","targetEntryComponents","debugInfo","compileProviders","providerIdx","compileProvider","tokenMeta","_getEntryComponentsFromProvider","getProviderMetadata","providersInfo","soFar","seenProvider","seenProviderIdx","components","collectedIdentifiers","compileDeps","compileTypeMetadata","compileFactoryMetadata","isViewQuery","_getQueryMetadata","_queryVarBindings","q","ComponentFactoryDependency","NgModuleCompileResult","ngModuleFactoryVar","bootstrapComponentFactories","entryComponentFactories","entryComponent","_InjectorBuilder","providerParser","addProvider","injectorClass","ngModuleFactoryStmt","registerFactoryStmt","_ngModuleMeta","_entryComponentFactories","_bootstrapComponentFactories","_tokens","_instances","_createStmts","_destroyStmts","_getProviderValue","_createProviderProperty","getMethodStmts","InjectMethodVars","InjectorProps","componentFactory","injClassName","getterStmts","CATCH_ERROR_VAR$1","CATCH_STACK_VAR$1","_EmittedLine","indent","_exportedVars","_indent","_classes","_lines","exportedVars","isExportedVar","println","lastPart","print","lineIsEmpty","_currentLine","newLine","removeEmptyLastLine","incIndent","decIndent","pushClass","clazz","popClass","lines","AbstractEmitterVisitor","_escapeDollarInStrings","hasElseCase","lineWasEmpty","getBuiltinMethodName","opStr","useNewLine","visitAllObjects","__extends$16","_importGenerator","emitStatements","srcParts","importsWithPrefixes","importedModuleUrl","fileNameToModuleName","_moduleUrl","defaultType","_visitIdentifier","_visitClassField","_visitClassConstructor","_visitClassGetter","_visitClassMethod","_visitParams","typeStr","ConcatArray","HTML","URL","RESOURCE_URL","__extends$17","BOOLEAN","STRING","OBJECT","SCHEMA","_ATTR_TO_PROP","class","formaction","innerHtml","readonly","tabindex","encodedType","strType","strProperties","typeNames","superName","superType","schemaMetas","NO_ERRORS_SCHEMA","CUSTOM_ELEMENTS_SCHEMA","elementProperties","camelCaseProp","userProvidedProp","strVal","valAndSuffixMatch","ShadowCss","strictStyling","shimCssText","hostSelector","sourceMappingUrl","_insertDirectives","_scopeCssText","_insertPolyfillDirectivesInCssText","_insertPolyfillRulesInCssText","_cssContentNextSelectorRe","_cssContentRuleRe","scopeSelector","unscopedRules","_extractUnscopedRulesFromCssText","_insertPolyfillHostInCssText","_convertColonHost","_convertColonHostContext","_convertShadowDOMSelectors","_scopeSelectors","_cssContentUnscopedRuleRe","_convertColonRule","_cssColonHostRe","_colonHostPartReplacer","_cssColonHostContextRe","_colonHostContextPartReplacer","regExp","partReplacer","_polyfillHostNoCombinator","_polyfillHost","_shadowDOMSelectorsRe","_scopeSelector","strict","_shadowDeepSelectors","deepParts","shallowPart","otherParts","applyScope","_selectorNeedsScoping","_applyStrictSelectorScope","_applySelectorScope","_makeScopeMatcher","lre","rre","_selectorReSuffix","_applySimpleSelectorScope","_polyfillHostRe","replaceBy_1","_polyfillHostNoCombinatorRe","hnc","before","colon","after","isRe","_scopeSelectorPart","scopedP","safeContent","SafeSelector","scopedSelector","sep","scopeAfter","scopedPart","restore","_colonHostContextRe","_polyfillHostContext","_colonHostRe","keep","replaceBy","_content","pseudo","_parenSuffix","COMPONENT_VARIABLE","HOST_ATTR","CONTENT_ATTR","StylesCompileDependency","StylesCompileResult","componentStylesheet","CompiledStylesheet","stylesVar","_shadowCss","compileComponent","_compileStyles","stylesheetMeta","compiledStylesheet","isComponentStylesheet","styleExpressions","plainStyle","_shimIfNeeded","_DebugState","NULL_DEBUG_STATE","_view","_newState","_currState","_bodyStatements","_debugEnabled","_updateDebugContextIfNeeded","_updateDebugContext","newState","sourceLocation","resetDebugInfoExpr","__extends$19","_viewExpr","_isThis","CompileQuery","queryList","ownerDirectiveExpression","_values","addValue","currentView","elPath","queryListForDirtyExpr","newViewValues","_isStatic","afterChildren","targetStaticMethod","targetDynamicMethod","valueExpr","__extends$18","CompileNode","_directives","_resolvedProvidersArray","_targetDependencies","instances","_queryCount","_queries","elementRef","_createViewContainer","_createComponentFactoryResolver","createNull","fieldName","parentNodeIndex","statement","createComponentFactoryResolverExpr","setComponentView","setEmbeddedView","createTemplateRefExpr","beforeChildren","_resolvedProviders","isDirectiveWrapper","directiveWrapperIdentifier","this_1","queryMeta","_addQuery","queriesWithReads","queriesForProvider","_QueryWithRead","varValue","locals","varToken","queryWithRead","providerChildNodeCount","addContentNode","nodeExpr","CompilePipe","_purePipeProxyCount","pipeCount","diDep","compView","purePipes","_call","purePipeProxyInstance","pipeInstanceSeenFromPureProxy","CompileViewRootNode","CompileView","templateVariableBindings","literalArrayCount","literalMapCount","directiveInstance_1","queryIndex","_nodeIndex","providerAst","eventTargetAndNames","IMPLICIT_TEMPLATE_VAR","_isRootNode","_addRootNodeAndProject","projectedNode","_getParentRenderNode","Native","_visitText","createRenderNode","parentRenderNode","createRenderNodeExpr","debugContextExpr","nestedComponentIdentifier","varAst","ViewCompileResult","viewClassVar","_genConfig","compiledAnimations","AnimationEntryCompileResult","AnimationCompiler","factoryNamePrefix","parsedAnimations","factoryName","_AnimationBuilder","_ANIMATION_FACTORY_ELEMENT_VAR","_ANIMATION_DEFAULT_STATE_VAR","_ANIMATION_FACTORY_VIEW_VAR","_ANIMATION_FACTORY_VIEW_CONTEXT","_ANIMATION_FACTORY_RENDERER_VAR","_ANIMATION_CURRENT_STATE_VAR","_ANIMATION_NEXT_STATE_VAR","_ANIMATION_PLAYER_VAR","_ANIMATION_TIME_VAR","_ANIMATION_START_STATE_STYLES_VAR","_ANIMATION_END_STATE_STYLES_VAR","_ANIMATION_COLLECTED_STYLES","_PREVIOUS_ANIMATION_PLAYERS","_EMPTY_MAP","_EMPTY_ARRAY","_fnVarName","_statesMapVarName","_statesMapVar","stylesArr","isExpectingFirstStyleStep","endStateAnimateStep","_visitEndStateAnimation","startingStylesExpr","keyframeExpressions","keyframeEntry","_callAnimateMethod","keyframesExpr","previousStylesValue","isExpectingFirstAnimateStep","totalTransitionTime","playerExprs","flatStyles","stateMap","registerState","lastStep","stateChangePreconditions","stateChange","animationPlayerExpr","reducedStateChangesPrecondition","precondition","animationStmt","totalTimeStmt","RENDER_STYLES_FN","transAst","_AnimationBuilderContext","fnStatement","fnVariable","lookupMap","variableValue","styleMap_1","compiledStatesMapStmt","_AnimationBuilderStateMap","_states","existingEntry","SourceModule","_metadataResolver","_templateParser","_styleCompiler","_viewCompiler","_dirWrapperCompiler","_ngModuleCompiler","_outputEmitter","_localeId","_translationFormat","_animationParser","_staticReflector","_options","_animationCompiler","compileAll","rootFiles","programSymbols","sourceModules","_compileSrcFile","outputSourceModules","_compileModule","_compileDirectiveWrapper","stylesCompileResults","compiledStyleSheet","_codgenStyles","_compileComponentFactory","_compileComponent","srcModule","_codegenSourceModule","appCompileResult","dirCompileResult","hostMeta","hostViewFactoryVar","compFactoryVar","directiveIdentifiers","componentStyles","stylesExpr","viewResult","stylesCompileResult","staticDelegate","dynamicDelegate","updateCapabilities","isReflectionEnabled","lcProperty","enumIdentifier","__extends$20","SUPPORTED_SCHEMA_VERSION","ANGULAR_IMPORT_LOCATIONS","coreDecorators","diDecorators","diMetadata","diOpaqueToken","animationMetadata","StaticSymbolCache","cache","declarationFile","memberSuffix","staticSymbolCache","declarationCache","annotationCache","propertyCache","parameterCache","metadataCache","conversionMap","initializeConversionMap","findDeclaration","classMetadata","getTypeMetadata","simplify","ann","propData","parameters_1","ctorData","parameterTypes","parameterDecorators_1","paramType","nestedResult","member","registerDecoratorOrConstructor","registerFunction","opaqueToken","ContentChild","ContentChildren","ViewChild","ViewChildren","trigger","transition","animate","sequence","group","resolveExportedSymbol","symbolName","resolveModule","moduleName","resolvedModulePath","moduleNameToFileName","cacheKey","moduleExport","export","exportSymbol","as","symName","resolvedModule","candidateSymbol","containingFile","simplifyInContext","depth","resolveReference","resolveReferenceValue","declarationValue","isOpaqueToken","simplifyCall","callContext","functionSymbol","targetFunction","classData","statics","calling","value_1","functionScope","BindingScope","result_1","oldScope","scope","result_2","spreadArray","spreadArray_1","spreadItem","value_2","operand","indexTarget","selectTarget","declarationValue_1","member_1","localValue","missing","result_3","moduleMetadatas","getMetadataFor","maxVersion_1","md","PopulatedScope","ReturnValue","debugAst","currCtx","CATCH_ERROR_VAR$2","CATCH_STACK_VAR$2","fnExpr","__extends$22","AbstractJsEmitterVisitor","currentClass","__extends$21","_evalArgNames","_evalArgValues","JitCompiler","_injector","_directiveWrapperCompiler","_compilerConfig","_compiledTemplateCache","_compiledHostTemplateCache","_compiledDirectiveWrapperCache","_compiledNgModuleCache","compileModuleSync","_compileModuleAndComponents","compileModuleAsync","compileModuleAndAllComponentsSync","_compileModuleAndAllComponents","compileModuleAndAllComponentsAsync","loadingPromise","_loadModules","createResult","_compileComponents","componentFactories","ModuleWithComponentFactories","mainModule","loadingPromises","localModuleMeta","ngModuleFactory","moduleMeta_1","Compiler","ModuleBoundCompiler","_assertComponentKnown","proxyComponentFactory","allComponentFactories","moduleByDirective","templates","localModuleSummary","_createCompiledTemplate","_createCompiledHostTemplate","entryComponentType","_compileTemplate","compiledTemplate","compType","CompiledTemplate","_assertDirectiveWrapper","directiveWrapperClass","isCompiled","externalStylesheetsByModuleUrl","_resolveStylesCompileResult","depTemplate","proxyViewClass","ca","compiled","nestedCompileResult","nestedStylesArr","_resolveAndEvalStylesCompileResult","_viewClass","_delegate","_ngModule","injector","Extractor","compMetas","extractor","_NO_RESOURCE_LOADER","COMPILER_PROVIDERS","TRANSLATIONS","JitCompilerFactory","defaultOptions","_defaultOptions","createCompiler","mergedOptions","ReflectiveInjector","resolveAndCreate","platformCore","CompilerFactory","PLATFORM_INITIALIZER","ImportResolver","rxjs_Subject","rxjs_Observable","getTypeNameForDebugging","looseIdentical","getSymbolIterator","_symbolIterator","extractAnnotation","applyParams","fnOrArray","annoLength","paramsAnnotations","ii","paramAnnotations","clsDef","extends","constructorName","_nextClassId","makeDecorator","parentClass","chainFn","DecoratorFactory","objOrType","metaCtor","annotationInstance","chainAnnotation","TypeDecorator","cls","makeMetadataCtor","annotationCls","argVal","makeParamDecorator","ParamDecoratorFactory","ParamDecorator","unusedKey","makePropDecorator","PropDecoratorFactory","decoratorInstance","forwardRef","forwardRefFn","__forward_ref__","findFirstClosedCycle","constructResolvingPath","reversed","tokenStrs","convertTsickleDecoratorIntoMetadata","decoratorInvocations","decoratorInvocation","decoratorType","annotationArgs","resolveReflectiveFactory","factoryFn","resolvedDeps","_dependenciesFor","aliasInstance","ReflectiveDependency","fromKey","ReflectiveKey","constructDependencies","_EMPTY_LIST","ResolvedReflectiveFactory","resolveReflectiveProvider","ResolvedReflectiveProvider_","resolveReflectiveProviders","normalized","resolved","resolvedProviderMap","mergeResolvedReflectiveProviders","normalizedProvidersMap","MixingMultiProvidersWithRegularProvidersError","resolvedFactories","InvalidProviderError","params_1","_extractToken","NoAnnotationError","depProps","_createDependency","lowerBoundVisibility","upperBoundVisibility","paramMetadata","_mapProviders","_proto","numberOfProviders","getProviderAtIndex","isListLikeIterable","areIterablesEqual","comparator","iterator1","iterator2","item1","item2","iterateListLike","isPromise","_appIdRandomProviderFactory","_randomChar","_throwError","getPreviousIndex","addRemoveOffset","moveOffsets","previousIndex","moveOffset","slotCount","nextRenderComponentTypeId","addToArray","valueCount","constAndInterp","_toStringWithNull","c0","a1","c1","a2","a3","c3","a4","c4","a5","c5","a6","c6","a7","c7","a8","c8","a9","c9","oldValue","ExpressionChangedAfterItHasBeenCheckedError","v0","p0","v1","v2","v3","p3","v4","p4","v5","p5","v6","p6","v7","p7","v8","p8","v9","p9","currentValue","camelCaseToDashCase","CAMEL_CASE_REGEXP","setElementAttribute","rootSelectorOrNode","hostElement","selectRootElement","eventNamesAndTargets","createEmptyInlineArray","eventTarget","disposable","listenGlobal","listen","disposeInlineArray","detectWTF","wtf","global$1","trace","createScope","leave","returnValue","leaveScope","startTimeRange","rangeType","beginTimeRange","endTimeRange","range","noopScope","arg0","arg1","setTestabilityGetter","_testabilityGetter","enableProdMode","_runModeLocked","_devMode","createPlatform","_platform","destroyed","PlatformRef","inits","parentPlaformFactory","getPlatform","assertPlatform","requiredToken","platform","destroyPlatform","_callAndReportToErrorHandler","errorHandler","moduleFactories","getModuleFactory","checkNotEmpty","modulePath","queueAnimationGlobally","player","_queuedAnimations","triggerQueuedAnimations","_triggerAnimations","play","asNativeElements","debugEls","nativeElement","_queryElementChildren","DebugElement","_queryNodeChildren","getDebugNode","nativeNode","_nativeNodeToDebugNode","indexDebugNode","removeDebugNodeFromIndex","_iterableDiffersFactory","defaultIterableDiffers","_keyValueDiffersFactory","defaultKeyValueDiffers","timing","EMPTY_STYLE","AnimationSequenceMetadata","entryOffset","animationData","AnimationEntryMetadata","previousStyles","newStyles","nullValue","finalStyles","AUTO_STYLE","finalStateStyles","flatenedFirstKeyframeStyles","flattenStyles","extraFirstKeyframeStyles","hasExtraFirstStyles","keyframeCollectedStyles","finalKeyframe","flatenedFinalKeyframeStyles","extraFinalKeyframeStyles","hasExtraFinalStyles","collection","stylesObj","setElementStyle","_recursePlayers","collectedPlayers","players","_desc","ViewMetadata","BaseError","nativeError","_nativeError","WrappedError","originalError","_THROW_IF_NOT_FOUND","THROW_IF_NOT_FOUND","_NullInjector","notFoundValue","NULL","AbstractProviderError","constructResolvingMessage","injectors","addKey","NoProviderError","CyclicDependencyError","InstantiationError","originalException","originalStack","_genMessage","parameter","OutOfBoundsError","provider1","provider2","_globalKeyRegistry","numberOfKeys","KeyRegistry","_allKeys","newKey","reflect","_reflect","_zipTypesAndAnnotations","paramTypes","tsickleCtorParams","ctorParam","propDecorators","propDecorators_1","propMetadata_1","functionBody","caps","_MAX_CONSTRUCTION_COUNTER","UNDEFINED","ReflectiveProtoInjectorInlineStrategy","protoEI","provider0","provider3","provider4","provider5","provider6","provider7","provider8","provider9","keyId0","keyId1","keyId2","keyId3","keyId4","keyId5","keyId6","keyId7","keyId8","keyId9","createInjectorStrategy","ReflectiveInjectorInlineStrategy","ReflectiveProtoInjectorDynamicStrategy","protoInj","keyIds","ei","ReflectiveInjectorDynamicStrategy","ReflectiveProtoInjector","_strategy","fromResolvedProviders","protoStrategy","obj0","obj1","obj2","obj3","obj4","obj5","obj6","obj7","obj8","obj9","resetConstructionCounter","_constructionCounter","instantiateProvider","_new","getObjByKeyId","keyId","inj","getObjAtIndex","getMaxNumberOfObjects","objs","ResolvedReflectiveProviders","ReflectiveInjector_","resolveAndCreateChild","createChildFromResolved","resolveAndInstantiate","instantiateResolved","_getByKey","getAt","_instantiateProvider","_instantiate","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","d10","d11","d12","d13","d14","d15","d16","d17","d18","d19","_getByReflectiveDependency","displayName","INJECTOR_KEY","_getByKeySelf","_getByKeyDefault","_throwOrNull","inj_","ErrorHandler","rethrowError","_findOriginalError","_findOriginalStack","_findContext","_extractMessage","APP_INITIALIZER","ApplicationInitStatus","appInits","_done","asyncInitPromises","initResult","_donePromise","APP_ID","APP_ID_RANDOM_PROVIDER","APP_BOOTSTRAP_LISTENER","DefaultIterableDifferFactory","cdRef","trackByFn","DefaultIterableDiffer","trackByIdentity","_trackByFn","_collection","_linkedRecords","_unlinkedRecords","_previousItHead","_itHead","_itTail","_additionsHead","_additionsTail","_movesHead","_movesTail","_removalsHead","_removalsTail","_identityChangesHead","_identityChangesTail","forEachItem","record","_next","forEachOperation","nextIt","nextRemove","currentIndex","adjPreviousIndex","_nextRemoved","localMovePreviousIndex","localCurrentIndex","forEachPreviousItem","_nextPrevious","forEachAddedItem","_nextAdded","forEachMovedItem","_nextMoved","forEachRemovedItem","forEachIdentityChange","_nextIdentityChange","diff","onDestroy","_reset","itemTrackBy","mayBeDirty","index_1","trackById","_verifyReinsertion","_addIdentityChange","_mismatch","_truncate","isDirty","nextRecord","previousRecord","_prev","_remove","_moveAfter","_reinsertAfter","_addAfter","CollectionChangeRecord","reinsertRecord","_addToMoves","_addToRemovals","_unlink","prevRecord","_prevRemoved","_insertAfter","_DuplicateMap","put","previous","additions","moves","removals","identityChanges","_prevDup","_nextDup","_DuplicateItemRecordList","_head","_tail","afterIndex","duplicates","recordList","DefaultKeyValueDifferFactory","DefaultKeyValueDiffer","_records","_mapHead","_previousMapHead","_changesHead","_changesTail","forEachChangedItem","_nextChanged","records","oldSeqRecord","lastOldSeqRecord","lastNewSeqRecord","seqChanged","_forEach","newSeqRecord","_maybeAddToChanges","_removeFromSeq","KeyValueChangeRecord","_addToAdditions","_isInRemovals","_removeFromRemovals","previousValue","lastRecord","rec","_addToChanges","IterableDiffers","copied","KeyValueDiffers","kv","WrappedValue","wrapped","hasWrappedValue","unwrap","isFirstChange","keyValDiff","iterableDiff","RenderDebugInfo","RootRenderer","Sanitizer","currValue","ViewWrappedError","ViewDestroyedError","_renderer","sanitizer","_nextCompTypeId","renderComponent","renderComponentType","InlineArray0","_v0","_v1","_v2","_v3","_v4","_v5","_v6","_v7","_v8","_v9","_v10","_v11","_v12","_v13","_v14","_v15","_parentView","_nativeElement","_component","detachAndDestroy","hostView","_componentType","projectableNodes","vu","createHostView","NoComponentFactoryError","_NullComponentFactoryResolver","resolveComponentFactory","_factories","wtfEnabled","wtfCreateScope","wtfLeave","wtfStartTimeRange","wtfEndTimeRange","EventEmitter","isAsync","__isAsync","generatorOrNext","complete","schedulerFn","errorFn","completeFn","Subject","NgZone","enableLongStackTrace","_hasPendingMicrotasks","_hasPendingMacrotasks","_isStable","_nesting","_onUnstable","_onMicrotaskEmpty","_onStable","_onErrorEvents","outer","inner","forkInnerZoneWithAngularBehavior","isInAngularZone","assertInAngularZone","assertNotInAngularZone","runOutsideAngular","checkStable","isAngularZone","onEnter","onLeave","hasTaskState","setHasMicrotask","setHasMacrotask","triggerError","hasMicrotasks","hasMacrotasks","Testability","_ngZone","_pendingCount","_isZoneStable","_didWork","_callbacks","_watchAngularEvents","onUnstable","onStable","_runCallbacksIfReady","increasePendingRequestCount","decreasePendingRequestCount","isStable","hasPendingMacrotasks","whenStable","getPendingRequestCount","findBindings","using","exactMatch","findProviders","TestabilityRegistry","_applications","addToWindow","registerApplication","testability","getTestability","elem","getAllTestabilities","getAllRootElements","findTestabilityInTree","findInAncestors","_NoopGetTestability","bootstrapModuleFactory","moduleFactory","compilerOptions","PlatformRef_","_modules","_destroyListeners","_destroyed","_bootstrapModuleFactoryWithZone","ngZone","ngZoneInjector","moduleRef","exceptionHandler","onError","initStatus","donePromise","_moduleDoBootstrap","_bootstrapModuleWithZone","componentFactoryCallback","compilerFactory","appRef","ApplicationRef","bootstrapFactories","compFactory","ngDoBootstrap","ApplicationRef_","_zone","_exceptionHandler","_componentFactoryResolver","_initStatus","_testabilityRegistry","_testability","_bootstrapListeners","_rootComponents","_rootComponentTypes","_changeDetectorRefs","_runningTick","_enforceNoNewChanges","onMicrotaskEmpty","tick","registerChangeDetector","changeDetector","unregisterChangeDetector","componentOrFactory","compRef","_unloadComponent","_loadComponent","componentRef","changeDetectorRef","listeners","_tickScope","detector","detectChanges","checkNoChanges","NgModuleRef","_injectorClass","_moduleType","parentInjector","_UNDEFINED","createInternal","getInternal","destroyInternal","NgModuleFactoryLoader","_dirty","_results","_emitter","notifyOnChanges","setDirty","_SEPARATOR","FACTORY_CLASS_SUFFIX","SystemJsNgModuleLoaderConfig","DEFAULT_CONFIG","factoryPathPrefix","factoryPathSuffix","SystemJsNgModuleLoader","_compiler","offlineMode","loadFactory","loadAndCompile","System","import","factoryClassSuffix","createEmbeddedView","createEmbeddedViewInternal","ViewContainerRef_","_element","_createComponentInContainerScope","_insertScope","_removeScope","_detachScope","nestedViews","views","templateRef","viewRef","insert","createComponent","contextInjector","viewRef_","attachView","internalView","move","moveView","detachView","detach","ViewRef","EmbeddedViewRef","ViewRef_","_originalMode","cdMode","flatRootNodes","markForCheck","markPathToRootAsCheckOnce","Detached","reattach","EventListener","DebugNode","_debugInfo","addChild","childIndex","insertChildrenAfter","newChildren","siblingIndex","previousChildren","nextChildren","newChild","queryAll","queryAllNodes","triggerEventHandler","eventObj","_CORE_PLATFORM_PROVIDERS","ApplicationModule","_players","_onDoneFns","_onStartFns","_finished","_started","parentPlayer","total","_onFinish","onDone","onStart","hasStarted","pause","restart","setPosition","getPosition","AnimationPlayer","_currentIndex","_onNext","_activePlayer","AnimationStateMetadata","AnimationMetadata","_steps","AnimationTransitionEvent","totalTime","phaseName","_player","_fromState","_toState","_totalTime","_createEvent","DebugDomRootRenderer","componentProto","DebugDomRenderer","selectorOrNode","nativeEl","debugEl","createViewRoot","createTemplateAnchor","createText","projectNodes","debugParent","debugElement_1","attachViewAfter","viewRootNodes","debugNode","debugViewRootNodes_1","destroyView","viewAllNodes","setElementProperty","propertyValue","attributeValue","setElementClass","isAdd","styleName","styleValue","invokeElementMethod","methodName","setText","previousPlayers","refTokens","_tplRow","_tplCol","staticNodeDebugInfos","staticNodeInfo","_staticNodeInfo","allNodes","refs_1","refName","injectorGet","ViewAnimationMap","_map","_allPlayers","playersByAnimation","findAllPlayersByElement","getAllPlayers","AnimationViewContext","onAllActiveAnimationsDone","activeAnimationPlayers","queueAnimation","getAnimationPlayers","removeAllAnimations","currentPlayer","ElementInjector","_scope_check","EMPTY_CONTEXT$1","UNDEFINED$1","declaredViewContainer","numberOfChecks","_directRenderer","directRenderer","_animationContext","Destroyed","hostInjector","_hasExternalHostElement","_hostInjector","_hostProjectableNodes","templateNodeIndex","lastRootNode","dirtyParentQueriesInternal","injectorGetInternal","detachInternal","_renderDetach","projectedViews","visitRootNodesInternal","attachAfter","prevView","_renderAttach","moveAfter","prevNode","nextSibling","insertBefore","visitProjectedNodes","visitProjectableNodesInternal","Checked","Errored","throwDestroyedError","detectChangesInternal","markAsCheckOnce","eventHandler","_currentDebugContext","_resetDebug","_rethrowWithContext","rowNum","colNum","superHandler","detectChangesInNestedViews","destroyNestedViews","visitNestedViewRootNodes","nestedViewClass","nestedView","projectedView","Observable_1","Subscriber_1","Subscription_1","ObjectUnsubscribedError_1","SubjectSubscription_1","rxSubscriber_1","SubjectSubscriber","destination","Subscriber","observers","closed","isStopped","hasError","thrownError","$$rxSubscriber","lift","subject","AnonymousSubject","ObjectUnsubscribedError","unsubscribe","_subscribe","subscriber","Subscription","EMPTY","SubjectSubscription","asObservable","observable","Observable","root_1","toSubscriber_1","observable_1","_isScalar","observerOrNext","sink","toSubscriber","syncErrorThrowable","syncErrorThrown","syncErrorValue","PromiseCtor","root","Rx","subscription","$$observable","objectTypes","boolean","function","nextOrObserver","isFunction_1","Observer_1","destinationOrNext","SafeSubscriber","_error","_complete","_context","__tryOrSetError","__tryOrUnsub","_unsubscribe","isArray_1","isObject_1","tryCatch_1","errorObject_1","UnsubscriptionError_1","hasErrors","_subscriptions","trial","tryCatch","errorObject","UnsubscriptionError","teardown","subscriptions","subscriptionIndex","tryCatcher","tryCatchTarget","getSymbolObservable","subscriberIndex","_angular_common","setValueOnPath","getDOM","_DOM","setRootDomAdapter","adapter","_computeStyle","getComputedStyle","_copyKeyframeStyles","_populateStyles","defaultStyles","filterWebAnimationPlayerFn","WebAnimationsPlayer","getBaseElementHref","baseElement","querySelector","getAttribute","relativePath","urlParsingNode","setAttribute","pathname","parseCookieValue","cookieStr","encodeURIComponent","cookie","eqIndex","cookieName","cookieValue","decodeURIComponent","supportsState","history","pushState","moveNodesAfterSibling","sibling","appendNodes","decoratePreventDefault","allowDefaultBehavior","shimContentAttribute","componentShortId","COMPONENT_REGEX","shimHostAttribute","compId","isNamespaced","splitNamespace","NS_PREFIX_RE","inspectNativeElement","_createConditionalRootRenderer","rootRenderer","extraTokens","_createRootRenderer","setGlobalVar","INSPECT_GLOBAL_NAME","CORE_TOKENS_GLOBAL_NAME","CORE_TOKENS","_ngProbeTokensToMap","sanitizeUrl","SAFE_URL_PATTERN","DATA_URL_PATTERN","sanitizeSrcset","srcset","getInertElement","inertElement","DOM","templateEl","createHtmlDocument","tagSet","tags","sets","sets_1","encodeEntities","SURROGATE_PAIR_REGEXP","hi","NON_ALPHANUMERIC_REGEXP","stripCustomNsAttrs","attributeMap","removeAttribute","childNodesAsList","isElementNode","sanitizeHtml","unsafeHtmlInput","containerEl","unsafeHtml","mXSSAttempts","parsedHtml","setInnerHTML","defaultDoc","documentMode","getInnerHTML","SanitizingHtmlSerializer","safeHtml","sanitizeChildren","getTemplateContent","sanitizedSomething","hasBalancedQuotes","outsideSingle","outsideDouble","sanitizeStyle","urlMatch","URL_RE","SAFE_STYLE_VALUE","initDomAdapter","BrowserDomAdapter","makeCurrent","BrowserGetTestability","_document","_resolveDefaultAnimationDriver","supportsWebAnimation","WebAnimationsDriver","AnimationDriver","NOOP","enableDebugTools","ng","AngularTools","disableDebugTools","profiler","_NoOpAnimationDriver","DomAdapter","resourceLoaderType","_attrToPropMap","_initialized","_duration","_captureStyles","formattedKeyframe","previousStyleProps","startingKeyframe_1","missingStyleProps_1","kf","_triggerWebAnimation","_finalKeyframe","_resetDomPlayerState","cancel","formattedSteps","startingStyleLookup","playerOptions","GenericBrowserDomAdapter","_animationPrefix","_transitionEnd","element_1","getStyle","domPrefixes","transEndEventNames_1","WebkitTransition","MozTransition","OTransition","getDistributedNodes","resolveAndSetHref","href","supportsDOMEvents","supportsNativeShadowDOM","createShadowRoot","getAnimationPrefix","getTransitionEnd","supportsAnimation","DOM_KEY_LOCATION_NUMPAD","_keyMap","\b","\t","","\u001b","Del","Esc","Left","Right","Up","Down","Menu","Scroll","Win","_chromeNumKeyPadMap","H","J","M","N","`","","templateHtml","setProperty","getProperty","logError","logGroup","logGroupEnd","groupEnd","querySelectorAll","evt","onAndCancel","createMouseEvent","isPrevented","defaultPrevented","innerHTML","HTMLTemplateElement","getOuterHTML","outerHTML","nodeValue","firstChild","clearNodes","replaceChild","oldChild","insertAllBefore","insertAfter","getText","textContent","getValue","setValue","getChecked","checked","setChecked","createComment","createTemplate","createElementNS","createScriptTag","createStyleElement","css","getShadowRoot","shadowRoot","getHost","clone","cloneNode","getElementsByClassName","getElementsByTagName","classList","addClass","removeClass","hasClass","contains","setStyle","removeStyle","stylename","hasStyle","elAttrs","attrib","hasAttribute","hasAttributeNS","getAttributeNS","setAttributeNS","removeAttributeNS","templateAwareRoot","implementation","createHTMLDocument","getBoundingClientRect","top","bottom","width","height","getTitle","setTitle","newTitle","elementMatches","msMatchesSelector","webkitMatchesSelector","isTextNode","nodeType","TEXT_NODE","isCommentNode","COMMENT_NODE","ELEMENT_NODE","hasShadowRoot","isShadowRoot","DocumentFragment","importIntoDoc","importNode","adoptNode","getHref","getEventKey","keyIdentifier","getGlobalEventTarget","getHistory","getLocation","getBaseHref","resetBaseElement","getUserAgent","setData","getData","performanceNow","performance","supportsCookies","getCookie","setCookie","BrowserPlatformLocation","_location","_history","getBaseHrefFromDOM","onPopState","onHashChange","newPath","hash","replaceState","forward","back","PlatformLocation","getAngularTestability","getAllAngularTestabilities","getAllAngularRootElements","whenAllStable","testabilities","didWork","decrement","didWork_","Title","DOCUMENT","EVENT_MANAGER_PLUGINS","EventManager","plugins","_eventNameToPlugin","_plugins","plugin","_findPluginFor","addGlobalEventListener","getZone","plugin_1","EventManagerPlugin","SharedStylesHost","_styles","_stylesSet","addStyles","onStylesAdded","getAllStyles","DomSharedStylesHost","_hostNodes","_addStylesToHost","styleEl","addHost","hostNode","removeHost","NAMESPACE_URIS","xlink","xhtml","TEMPLATE_COMMENT_TEXT","TEMPLATE_BINDINGS_EXP","DomRootRenderer","eventManager","sharedStylesHost","animationDriver","appId","registeredComponents","DomRenderer","DomRootRenderer_","_eventManager","DIRECT_DOM_RENDERER","refNode","_rootRenderer","_animationDriver","styleShimId","_contentAttr","_hostAttr","nsAndName","nodesParent","attrNs","attrNameWithoutNs","existingBindings","parsedBindings","NgProbeToken","ELEMENT_PROBE_PROVIDERS","DomEventsPlugin","EVENT_NAMES","pan","panstart","panmove","panend","pancancel","panleft","panright","panup","pandown","pinch","pinchstart","pinchmove","pinchend","pinchcancel","pinchin","pinchout","press","pressup","rotate","rotatestart","rotatemove","rotateend","rotatecancel","swipe","swipeleft","swiperight","swipeup","swipedown","tap","HAMMER_GESTURE_CONFIG","HammerGestureConfig","overrides","buildHammer","mc","HammerGesturesPlugin","isCustomEvent","MODIFIER_KEYS","MODIFIER_KEY_GETTERS","alt","altKey","control","ctrlKey","metaKey","shiftKey","KeyEventsPlugin","parseEventName","parsedEvent","outsideHandler","eventCallback","domEventName","_normalizeKey","fullKey","modifierName","getEventFullKey","modifierGetter","keyName","VOID_ELEMENTS","OPTIONAL_END_TAG_BLOCK_ELEMENTS","OPTIONAL_END_TAG_INLINE_ELEMENTS","OPTIONAL_END_TAG_ELEMENTS","BLOCK_ELEMENTS","INLINE_ELEMENTS","VALID_ELEMENTS","URI_ATTRS","SRCSET_ATTRS","HTML_ATTRS","VALID_ATTRS","buf","startElement","endElement","TRANSFORMATION_FNS","COLOR_FNS","FN_ARGS","DomSanitizer","DomSanitizerImpl","sanitize","SafeHtmlImpl","changingThisBreaksApplicationSecurity","checkNotSafeValue","SafeStyleImpl","SafeScriptImpl","SafeResourceUrlImpl","SafeUrlImpl","expectedType","SafeValueImpl","getTypeName","bypassSecurityTrustHtml","bypassSecurityTrustStyle","bypassSecurityTrustScript","bypassSecurityTrustUrl","bypassSecurityTrustResourceUrl","BROWSER_SANITIZATION_PROVIDERS","platformBrowser","parentModule","CommonModule","win","ChangeDetectionPerfRecord","msPerTick","numTicks","AngularProfiler","timeChangeDetection","profileName","isProfilerAvailable","profile","profileEnd","By","debugElement","isDate","_stripBaseHref","baseHref","_stripIndexHtml","getPluralCategory","ngLocalization","nbCase","getPluralCase","nLike","nDecimal","Plural","One","Other","Zero","Two","Few","Many","digitModifier","date","hourClockExtractor","hourExtractor","intlDateFormat","Intl","DateTimeFormat","timeZoneGetter","timezone","hour","hour12","timeZoneName","hour12Modify","digitCondition","nameCondition","combine","datePartGetterFactory","dateFormatter","PATTERN_ALIASES","DATE_FORMATTER_CACHE","DATE_FORMATS_SPLIT","DATE_FORMATS","partToTime","isBlank$1","formatNumber","currency","currencyAsSymbol","InvalidPipeArgumentError","minInt","minFraction","maxFraction","NumberFormatStyle","Currency","_NUMBER_FORMAT_REGEXP","NumberFormatter","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","APP_BASE_HREF","Location","platformStrategy","_subject","_platformStrategy","browserBaseHref","_baseHref","stripTrailingSlash","includeHash","normalize","isCurrentPathEqualTo","normalizeQueryParams","prepareExternalUrl","go","onNext","onThrow","onReturn","joinWithSlash","slashes","_platformLocation","queryParams","PathLocationStrategy","externalUrl","NgLocalization","NgLocaleLocalization","_locale","plural","NgClass","_iterableDiffers","_keyValueDiffers","_ngEl","_initialClasses","_applyInitialClasses","_applyClasses","_rawClass","_cleanupClasses","_iterableDiffer","_keyValueDiffer","_applyIterableChanges","_applyKeyValueChanges","rawClassVal","_toggleClass","isCleanup","enabled","ngClass","NgForRow","$implicit","even","NgFor","_viewContainer","_template","_differs","_cdr","_differ","ngForTrackBy","ngForOf","_applyChanges","insertTuples","adjustedPreviousIndex","RecordViewTuple","_perViewChange","ilen","ngForTemplate","NgIf","_hasView","ngIf","SwitchView","_viewContainerRef","_templateRef","_created","enforceState","created","NgSwitch","_defaultUsed","_caseCount","_lastCaseCheckIndex","_lastCasesMatched","_ngSwitch","_updateDefaultCases","_addCase","_addDefault","_defaultViews","_matchCase","matched","useDefault","ngSwitch","NgSwitchCase","ngSwitchCase","NgSwitchDefault","NgPlural","_localization","_caseViews","_switchValue","_updateView","addCase","switchView","_clearViews","_activateView","_activeView","ngPlural","NgPluralCase","NgStyle","_ngStyle","_setStyle","nameAndUnit","ngStyle","NgTemplateOutlet","_viewRef","ngOutletContext","ngTemplateOutlet","COMMON_DIRECTIVES","ObservableStrategy","createSubscription","async","updateLatestValue","dispose","PromiseStrategy","_promiseStrategy","_observableStrategy","AsyncPipe","_ref","_latestValue","_latestReturnedValue","_subscription","_obj","_dispose","_selectStrategy","_updateLatestValue","currencyDisplay","NumberFormat","yMMMdjms","yMdjm","yMMMMEEEEd","yMMMMd","yMMMd","yMd","jms","jm","yyyy","yy","MMMM","MMM","MM","LLLL","HH","hh","h","jj","mm","ss","sss","EEEE","EEE","EE","Z","ww","GG","GGG","GGGG","DateFormatter","DatePipe","_ALIASES","medium","short","fullDate","longDate","mediumDate","shortDate","mediumTime","shortTime","_INTERPOLATION_REGEXP","I18nPluralPipe","pluralMap","I18nSelectPipe","JsonPipe","LowerCasePipe","DecimalPipe","Decimal","PercentPipe","Percent","CurrencyPipe","currencyCode","symbolDisplay","SlicePipe","UpperCasePipe","COMMON_PIPES","rxjs_operator_toPromise","rxjs_observable_fromPromise","isEmptyInputValue","_convertToPromise","toPromise","_executeValidators","validators","_executeAsyncValidators","_mergeErrors","arrayOfErrors","normalizeValidator","validator","normalizeAsyncValidator","_buildValueString","_extractId","valueString","_buildValueString$1","_extractId$1","controlPath","setUpControl","valueAccessor","Validators","compose","asyncValidator","composeAsync","writeValue","registerOnChange","viewToModelUpdate","markAsDirty","emitModelToViewChange","registerOnTouched","markAsTouched","emitModelEvent","setDisabledState","registerOnDisabledChange","isDisabled","_rawValidators","registerOnValidatorChange","updateValueAndValidity","_rawAsyncValidators","cleanUpControl","_noControlError","_clearChangeFns","setUpFormContainer","messageEnd","composeValidators","composeAsyncValidators","isPropertyUpdated","viewModel","isBuiltInAccessor","BUILTIN_ACCESSORS","selectValueAccessor","valueAccessors","defaultAccessor","builtinAccessor","customAccessor","DefaultValueAccessor","_find","delimiter","FormGroup","controls","FormArray","at","toObservable","fromPromise","coerceToValidator","coerceToAsyncValidator","_hasInvalidParent","FormGroupName","FormGroupDirective","FormArrayName","AbstractControlDirective","valid","invalid","pending","pristine","dirty","touched","untouched","disabled","statusChanges","valueChanges","errorCode","getError","ControlContainer","NG_VALIDATORS","NG_ASYNC_VALIDATORS","required","minLength","minlength","requiredLength","actualLength","maxLength","maxlength","nullValidator","regexStr","requiredPattern","actualValue","presentValidators","promises","NG_VALUE_ACCESSOR","CHECKBOX_VALUE_ACCESSOR","CheckboxControlValueAccessor","_elementRef","onChange","onTouched","(change)","(blur)","DEFAULT_VALUE_ACCESSOR","normalizedValue","(input)","NUMBER_VALUE_ACCESSOR","NumberValueAccessor","NgControl","RADIO_VALUE_ACCESSOR","RadioControlValueAccessor","RadioControlRegistry","_accessors","accessor","select","_isSameGroup","fireUncheck","controlPair","_control","_registry","_checkName","_state","_fn","formControlName","_throwNameError","RANGE_VALUE_ACCESSOR","RangeValueAccessor","SELECT_VALUE_ACCESSOR","SelectControlValueAccessor","_optionMap","_idCounter","_getOptionId","_getOptionValue","_registerOption","NgSelectOption","_select","_setElementValue","ngValue","SELECT_MULTIPLE_VALUE_ACCESSOR","SelectMultipleControlValueAccessor","ids","opt","_setSelected","selected","selectedOptions","_value","NgSelectMultipleOption","AbstractFormGroupDirective","_checkParentType","formDirective","addFormGroup","removeFormGroup","getFormGroup","_validators","_asyncValidators","AbstractControlStatus","cd","_cd","ngControlStatusHost","[class.ng-untouched]","[class.ng-touched]","[class.ng-pristine]","[class.ng-dirty]","[class.ng-valid]","[class.ng-invalid]","[class.ng-pending]","NgControlStatus","NgControlStatusGroup","VALID","INVALID","PENDING","DISABLED","AbstractControl","_onCollectionChange","_pristine","_touched","_onDisabledChange","_status","_valueChanges","_statusChanges","setValidators","newValidator","setAsyncValidators","clearValidators","clearAsyncValidators","onlySelf","markAsUntouched","_forEachChild","_updateTouched","markAsPristine","_updatePristine","markAsPending","disable","emitEvent","_updateValue","_updateAncestors","changeFn","setParent","_setInitialStatus","_runValidator","_calculateStatus","_runAsyncValidator","_updateTreeValidity","ctrl","_allControlsDisabled","_cancelExistingSubscription","obs","_asyncValidationSubscription","setErrors","_updateControlsErrors","_initObservables","_anyControlsHaveStatus","_anyControls","_anyControlsDirty","_anyControlsTouched","_isBoxedValue","formState","_registerOnCollectionChange","FormControl","_onChange","_applyFormState","emitViewToModelChange","patchValue","_setUpControls","registerControl","addControl","removeControl","setControl","controlName","_checkAllValuesPresent","_throwIfControlMissing","getRawValue","_reduceChildren","_reduceValue","initValue","_registerControl","removeAt","formDirectiveProvider","NgForm","resolvedPromise","asyncValidators","_submitted","ngSubmit","form","_findContainer","getControl","updateModel","onSubmit","$event","onReset","resetForm","(submit)","(reset)","Examples","formGroupName","formArrayName","ngModelGroup","ngModelWithFormGroup","TemplateDrivenErrors","modelParentException","formGroupNameException","missingNameException","modelGroupParentException","modelGroupProvider","NgModelGroup","formControlBinding","NgModel","resolvedPromise$1","_registered","_checkForErrors","_setUpControl","_updateDisabled","model","_isStandalone","_setUpStandalone","standalone","disabledValue","ReactiveErrors","controlParentException","ngModelGroupException","missingFormException","groupParentException","arrayParentException","disabledAttrWarning","formControlBinding$1","FormControlDirective","_isControlChanged","formDirectiveProvider$1","_checkFormPresent","_updateValidators","_updateDomValue","_updateRegistrations","addFormArray","removeFormArray","getFormArray","newCtrl","_oldForm","sync","formGroupNameProvider","formArrayNameProvider","controlNameBinding","FormControlName","_added","REQUIRED_VALIDATOR","RequiredValidator","_required","[attr.required]","MIN_LENGTH_VALIDATOR","MinLengthValidator","_createValidator","_validator","[attr.minlength]","MAX_LENGTH_VALIDATOR","MaxLengthValidator","[attr.maxlength]","PATTERN_VALIDATOR","PatternValidator","[attr.pattern]","FormBuilder","controlsConfig","extra","_reduceControls","_createControl","controlConfig","SHARED_FORM_DIRECTIVES","TEMPLATE_DRIVEN_DIRECTIVES","REACTIVE_DRIVEN_DIRECTIVES","InternalFormsSharedModule","PromiseObservable_1","PromiseObservable","dispatchNext","dispatchError","scheduler","schedule","rxjs_add_observable_fromEvent","rxjs_add_operator_auditTime","_angular_forms","rxjs_add_operator_startWith","rxjs_add_operator_first","_angular_http","rxjs_add_observable_forkJoin","rxjs_add_observable_of","rxjs_add_operator_map","rxjs_add_operator_filter","rxjs_add_operator_do","rxjs_add_operator_share","rxjs_add_operator_finally","rxjs_add_operator_catch","rxjs_add_observable_merge","rxjs_add_operator_switchMap","coerceBooleanProperty","SCROLL_DISPATCHER_PROVIDER_FACTORY","parentDispatcher","ScrollDispatcher","VIEWPORT_RULER_PROVIDER_FACTORY","parentRuler","scrollDispatcher","ViewportRuler","formatCssUnit","OVERLAY_CONTAINER_PROVIDER_FACTORY","parentContainer","OverlayContainer","hasGeometry","offsetWidth","offsetHeight","getClientRects","isNativeFormElement","isHiddenInput","isInputElement","isAnchorWithHref","isAnchorElement","hasValidTabIndex","tabIndex","getTabIndexValue","isPotentiallyTabbableIOS","inputType","isPotentiallyFocusable","getWindow","LIVE_ANNOUNCER_PROVIDER_FACTORY","liveElement","LiveAnnouncer","getSupportedInputTypes","supportedInputTypes","featureTestInput_1","_replaceWith","toReplaceEl","otherEl","isFakeMousedownFromScreenReader","buttons","UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY","UniqueSelectionDispatcher","FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY","FocusOriginMonitor","applyCssTransform","transformValue","webkitTransform","coerceNumberProperty","fallbackValue","clampValue","coerceToString","coerceToNumber","calc","normalizeUnits","cloneSvg","ICON_REGISTRY_PROVIDER_FACTORY","parentRegistry","http","MdIconRegistry","clamp","polarToCartesian","radius","pathRadius","angleInDegrees","angleInRadians","DEGREE_IN_RADIANS","cos","sin","linearEase","startValue","changeInValue","materialEase","timeCubed","timeQuad","timeQuint","getSvgArc","largeArcFlag","startPoint","startAngle","MAX_ANGLE","endAngle","arcSweep","clamp$1","extendObject","sources","sources_1","_applyConfigDefaults","MdSnackBarConfig","_applyConfigDefaults$1","dialogConfig","MdDialogConfig","__decorate$2","__metadata$2","__param","paramIndex","decorator","MATERIAL_COMPATIBILITY_MODE","MAT_ELEMENTS_SELECTOR","MD_ELEMENTS_SELECTOR","MatPrefixRejector","isCompatibilityMode","Boolean","MdPrefixRejector","CompatibilityModule","forRoot","NoConflictStyleCompatibilityMode","__decorate$1","__metadata$1","MdLine","[class.mat-line]","MdLineSetter","_setLineClass","_resetClasses","_setClass","bool","MdLineModule","__decorate$3","__metadata$3","Dir","_dir","dirChange","old","RtlModule","__decorate$4","__metadata$4","ObserveContent","ngAfterContentInit","_observer","mutations","childList","subtree","disconnect","ObserveContentModule","UP_ARROW","DOWN_ARROW","RIGHT_ARROW","LEFT_ARROW","PAGE_UP","PAGE_DOWN","HOME","END","ENTER","SPACE","TAB","ESCAPE","BACKSPACE","DELETE","RIPPLE_SPEED_PX_PER_SECOND","RIPPLE_FADE_OUT_DURATION","distanceToFurthestCorner","rect","distX","distY","RippleRenderer","_ruler","_isMousedown","_activeRipples","_triggerEvents","rippleConfig","rippleDisabled","_containerElement","onMousedown","onMouseup","onMouseLeave","setTriggerElement","fadeInRipple","pageX","pageY","containerRect","centered","scrollPosition","getViewportScrollPosition","speedFactor","offsetX","offsetY","ripple","backgroundColor","transitionDuration","_enforceStyleRecalculation","runTimeoutOutsideZone","fadeOutRipple","opacity","_triggerElement","getPropertyValue","__decorate$8","__metadata$8","DEFAULT_SCROLL_TIME","_scrolled","scrollableReferences","fromEvent","_notify","register","scrollable","scrollSubscription","elementScrolled","deregister","scrolled","auditTimeInMs","auditTime","getScrollContainers","scrollingContainers","scrollableContainsElement","scrollableElement","getElementRef","SCROLL_DISPATCHER_PROVIDER","__decorate$7","__metadata$7","_cacheViewportGeometry","getViewportRect","documentRect","_documentRect","innerHeight","innerWidth","scrollTop","scrollY","scrollLeft","scrollX","VIEWPORT_RULER_PROVIDER","__decorate$6","__metadata$6","MdRipple","ruler","_rippleRenderer","_updateRippleConfig","launch","[class.mat-ripple]","[class.mat-ripple-unbounded]","MdRippleModule","__decorate$5","__metadata$5","_uniqueIdCounter","MdOptionSelectEvent","isUserInput","MdOption","_selected","_active","_disabled","_id","onSelect","_getHostElement","deselect","focus","setActiveStyles","setInactiveStyles","_handleKeydown","keyCode","_selectViaInteraction","_getTabIndex","role","[attr.tabindex]","[class.mat-selected]","[class.mat-active]","[id]","[attr.aria-selected]","[attr.aria-disabled]","[class.mat-option-disabled]","(click)","(keydown)","[class.mat-option]","MdOptionModule","MdError","NullPortalError","PortalAlreadyAttachedError","PortalHostAlreadyDisposedError","UnknownPortalTypeError","NullPortalHostError","NoPortalAttachedError","Portal","attach","hasAttached","_attachedHost","setAttachedHost","ComponentPortal","viewContainerRef","TemplatePortal","BasePortalHost","_isDisposed","_attachedPortal","portal","attachComponentPortal","attachTemplatePortal","_disposeFn","setDisposeFn","__decorate$9","__metadata$9","TemplatePortalDirective","PortalHostDirective","_portal","_replaceAttachedPortal","PortalModule","OverlayState","hasBackdrop","backdropClass","DomPortalHost","_hostDomElement","_appRef","_defaultInjector","_getComponentRootNode","OverlayRef","_portalHost","_pane","_backdropElement","_backdropClick","_attachBackdrop","attachResult","updateSize","updateDirection","updatePosition","_togglePointerEvents","_detachBackdrop","positionStrategy","backdropClick","getState","minWidth","minHeight","enablePointer","requestAnimationFrame","backdropToDetach","finishDetach_1","__decorate$13","__metadata$13","__param$2","ConnectionPositionPair","origin","overlay","originX","originY","overlayX","overlayY","ScrollableViewProperties","ConnectedOverlayPositionChange","connectionPair","scrollableViewProperties","ConnectedPositionStrategy","_connectedTo","_originPos","_overlayPos","_viewportRuler","_offsetX","_offsetY","scrollables","_preferredPositions","_onPositionChange","_origin","withFallbackPosition","originRect","overlayRect","viewportRect","fallbackPoint","originPoint","_getOriginConnectionPoint","overlayPoint","_getOverlayPoint","fitsInViewport","_setElementPosition","_lastConnectedPosition","getScrollableViewProperties","positionChange","visibleArea","recalculateLastPosition","withScrollableContainers","originPos","overlayPos","withDirection","withOffsetX","withOffsetY","_getStartX","_isRtl","_getEndX","originStartX","originEndX","overlayStartX","overlayStartY","leftOverflow","rightOverflow","topOverflow","bottomOverflow","visibleWidth","_subtractOverflows","visibleHeight","originBounds","_getElementBounds","overlayBounds","scrollContainerBounds","isOriginClipped","isElementClipped","isOriginOutsideView","isElementOutsideView","isOverlayClipped","isOverlayOutsideView","elementBounds","containersBounds","containerBounds","outsideAbove","outsideBelow","outsideLeft","outsideRight","clippedAbove","clippedBelow","clippedLeft","clippedRight","boundingClientRect","overflows","currentOverflow","GlobalPositionStrategy","_cssPosition","_topOffset","_bottomOffset","_leftOffset","_rightOffset","_alignItems","_justifyContent","_width","_height","centerHorizontally","centerVertically","_wrapper","parentStyles","marginTop","marginLeft","marginBottom","marginRight","justifyContent","alignItems","__decorate$12","__metadata$12","OverlayPositionBuilder","connectedTo","__decorate$14","__metadata$14","getContainerElement","_createContainer","OVERLAY_CONTAINER_PROVIDER","__decorate$11","__metadata$11","nextUniqueId","defaultState","Overlay","_overlayContainer","_positionBuilder","state$$1","_createOverlayRef","_createPaneElement","pane","_createPortalHost","OVERLAY_PROVIDERS","__decorate$15","__metadata$15","Scrollable","_scroll","__decorate$10","__metadata$10","__param$1","defaultPositionList","OverlayOrigin","ConnectedOverlayDirective","_overlay","_open","_hasBackdrop","_templatePortal","_position","_attachOverlay","_detachOverlay","_overlayRef","_destroyOverlay","_createOverlay","positions","_buildConfig","overlayConfig","_createPositionStrategy","strategy","_handlePositionChanges","_positionSubscription","onPositionChange","_backdropSubscription","OverlayModule","__decorate$19","__metadata$19","hasV8BreakIterator","v8BreakIterator","Platform","EDGE","TRIDENT","BLINK","chrome","WEBKIT","IOS","MSStream","FIREFOX","ANDROID","__decorate$18","__metadata$18","InteractivityChecker","isVisible","visibility","isTabbable","frameElement","frameType","tabIndexValue","isFocusable","__decorate$17","__metadata$17","FocusTrap","_checker","focusFirstTabbableElementWhenReady","focusFirstTabbableElement","focusLastTabbableElementWhenReady","focusLastTabbableElement","rootElement","trappedContent","redirectToElement","_getFirstTabbableElement","focusTargets","_getLastTabbableElement","childCount","tabbableChild","__decorate$20","__metadata$20","__param$3","LIVE_ANNOUNCER_ELEMENT_TOKEN","elementToken","_liveElement","_createLiveElement","announce","politeness","_removeLiveElement","liveEl","LIVE_ANNOUNCER_PROVIDER","__decorate$21","__metadata$21","PlatformModule","__decorate$16","__metadata$16","A11yModule","__decorate$23","__metadata$23","MdPseudoCheckbox","_color","[class.mat-pseudo-checkbox]","[class.mat-pseudo-checkbox-indeterminate]","[class.mat-pseudo-checkbox-checked]","[class.mat-pseudo-checkbox-disabled]","__decorate$22","__metadata$22","MdSelectionModule","__decorate$24","__metadata$24","DomProjectionHost","DomProjection","project","projectedEl","ProjectionModule","__decorate$25","__metadata$25","FullscreenOverlayContainer","_adjustParentForFullscreenChange","_addFullscreenChangeListener","fullscreenElement","getFullscreenElement","fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","__decorate$26","__metadata$26","GestureConfig","_hammer","slide","_createRecognizer","longpress","inheritances","SelectionModel","_isMulti","initiallySelectedValues","_selection","_deselectedToEmit","_selectedToEmit","_markSelected","_emitChangeEvent","_unmarkSelected","_unmarkAll","isSelected","SelectionChange","added","removed","__decorate$27","__metadata$27","_listeners","UNIQUE_SELECTION_DISPATCHER_PROVIDER","__decorate$29","__metadata$29","TOUCH_BUFFER_MS","_windowFocused","_lastTouchTarget","_setOriginForCurrentEventQueue","_touchTimeout","registerElementForFocusClasses","_onFocus","_onBlur","focusVia","_wasCausedByTouch","focusTarget","_lastFocusOrigin","CdkFocusClasses","focusOriginMonitor","FOCUS_ORIGIN_MONITOR_PROVIDER","__decorate$28","__metadata$28","StyleModule","AnimationCurves","STANDARD_CURVE","DECELERATION_CURVE","ACCELERATION_CURVE","SHARP_CURVE","AnimationDurations","COMPLEX","ENTERING","EXITING","MdCoreModule","__decorate$31","__metadata$31","__param$4","MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR","MdButtonToggleGroup","_uniqueIdCounter$1","MdButtonToggleChange","_vertical","_isInitialized","_controlValueAccessorChangeFn","_change","_buttonToggles","ngAfterViewInit","_updateButtonToggleNames","_updateSelectedButtonToggleFromValue","isAlreadySelected","matchingButtonToggle","buttonToggle","MdButtonToggle","[class.mat-button-toggle-group]","[class.mat-button-toggle-vertical]","MdButtonToggleGroupMultiple","toggleGroup","toggleGroupMultiple","buttonToggleDispatcher","_checked","_isSingleSelector","buttonToggleGroup","buttonToggleGroupMultiple","_type","newCheckedState","_toggle","_onInputChange","stopPropagation","_onInputClick","_inputElement","[class.mat-button-toggle]","MdButtonToggleModule","__decorate$32","__metadata$32","MdButtonCssMatStyler","[class.mat-button]","MdRaisedButtonCssMatStyler","[class.mat-raised-button]","MdIconButtonCssMatStyler","[class.mat-icon-button]","MdFabCssMatStyler","[class.mat-fab]","MdMiniFabCssMatStyler","[class.mat-mini-fab]","MdButton","_isKeyboardFocused","_isMouseDown","_disableRipple","_updateColor","_setMousedown","newColor","_setElementColor","_setKeyboardFocus","_removeKeyboardFocus","_isRoundButton","_isRippleDisabled","disableRipple","[disabled]","[class.mat-button-focus]","(mousedown)","(focus)","OnPush","MdAnchor","_haltDisabledEvents","stopImmediatePropagation","[attr.disabled]","MdButtonModule","__decorate$33","__metadata$33","nextId","MD_CHECKBOX_CONTROL_VALUE_ACCESSOR","MdCheckbox","TransitionCheckState","MdCheckboxChange","_changeDetectorRef","ariaLabel","ariaLabelledby","labelPosition","indeterminateChange","_currentAnimationClass","_currentCheckState","Init","_indeterminate","_hasFocus","_transitionCheckState","Unchecked","indeterminate","Indeterminate","oldState","_getAnimationClassForCheckStateTransition","_onInputFocus","_onInputBlur","_onInteractionEvent","animSuffix","[class.mat-checkbox]","[class.mat-checkbox-indeterminate]","[class.mat-checkbox-checked]","[class.mat-checkbox-disabled]","[class.mat-checkbox-label-before]","[class.mat-checkbox-focused]","MdCheckboxModule","__decorate$34","__metadata$34","__param$5","MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR","MdRadioGroup","_uniqueIdCounter$2","MdRadioChange","_radios","_updateRadioButtonNames","_updateSelectedRadioFromValue","_checkSelectedRadioButton","_touch","radio","event_1","MdRadioButton","[class.mat-radio-group]","radioGroup","radioDispatcher","_labelPosition","_isFocused","groupValueChanged","[class.mat-radio-button]","MdRadioModule","ListKeyManager","_items","_tabOut","_wrap","withWrap","setActiveItem","_activeItemIndex","_activeItem","onKeydown","setNextItemActive","setPreviousItemActive","setFirstItemActive","setLastItemActive","_setActiveItemByIndex","_setActiveItemByDelta","updateActiveItemIndex","_setActiveInWrapMode","_setActiveInDefaultMode","fallbackDelta","FocusKeyManager","activeItem","transformPlaceholder","transformPanel","fadeInContent","__decorate$36","__metadata$36","__param$6","SELECT_OPTION_HEIGHT","SELECT_PANEL_MAX_HEIGHT","SELECT_MAX_OPTIONS_DISPLAYED","SELECT_TRIGGER_HEIGHT","SELECT_OPTION_HEIGHT_ADJUSTMENT","SELECT_PANEL_PADDING_X","SELECT_PANEL_PADDING_Y","SELECT_PANEL_VIEWPORT_PADDING","MdSelectChange","MdSelect","_panelOpen","_scrollTop","_placeholderState","_onTouched","_optionIds","_transformOrigin","_panelDoneAnimating","_positions","onOpen","onClose","_placeholder","_triggerWidth","_getWidth","_initKeyManager","_changeSubscription","_resetOptions","_setSelectionByValue","_dropSubscriptions","_tabSubscription","panelOpen","_calculateOverlayPosition","_focusHost","_getTriggerRect","_onPanelDone","_focusCorrectOption","_onFadeInDone","_setScrollTop","scrollContainer","overlayDir","overlayRef","overlayElement","_clearSelection","_updateOptions","_keyManager","tabOut","_listenToOptions","_setOptionIds","_onSelect","_setValueWidth","_selectedValueWidth","_getOptionIndex","panelHeight","scrollContainerHeight","maxScroll","selectedIndex","scrollBuffer","_calculateOverlayScroll","_calculateOverlayOffset","_checkOverlayWithinViewport","optionOffsetFromScrollTop","halfOptionHeight","optimalScrollPosition","optionOffsetFromPanelTop","firstDisplayedIndex","selectedDisplayIndex","triggerRect","topSpaceAvailable","bottomSpaceAvailable","panelHeightTop","totalPanelHeight","panelHeightBottom","_adjustPanelUp","_adjustPanelDown","_getOriginBasedOnOption","distanceBelowViewport","distanceAboveViewport","[attr.aria-label]","[attr.aria-required]","[attr.aria-invalid]","[attr.aria-owns]","[class.mat-select-disabled]","[class.mat-select]","__decorate$35","__metadata$35","MdSelectModule","__decorate$37","__metadata$37","MD_SLIDE_TOGGLE_VALUE_ACCESSOR","MdSlideToggle","MdSlideToggleChange","nextId$1","_slideRenderer","SlideToggleRenderer","_onChangeEvent","isDragging","_onDragStart","startThumbDrag","_onDrag","updateThumbPosition","_onDragEnd","stopThumbDrag","[class.mat-slide-toggle]","[class.mat-checked]","[class.mat-disabled]","[class.mat-slide-toggle-focused]","[class.mat-slide-toggle-label-before]","_thumbEl","_thumbBarEl","_thumbBarWidth","clientWidth","_percentage","_getThumbPercentage","percentage","MdSlideToggleModule","__decorate$38","__metadata$38","__param$7","MIN_AUTO_TICK_SEPARATION","DISABLED_THUMB_GAP","MIN_VALUE_NONACTIVE_THUMB_GAP","MIN_VALUE_ACTIVE_THUMB_GAP","MD_SLIDER_VALUE_ACCESSOR","MdSlider","MdSliderChange","_sliderDimensions","_thumbLabel","_lastChangeValue","_lastInputValue","_isSliding","_isActive","_step","_tickInterval","_tickIntervalPercent","_percent","_min","_max","_invert","SliderRenderer","_roundLabelTo","tickInterval","_clamp","_calculatePercentage","vertical","invert","invertAxis","percent","_isMinValue","thumbLabel","axis","invertMouseCoords","_thumbGap","tickIntervalPercent","tickSize","backgroundSize","side","invertOffset","_onMouseenter","getSliderDimensions","_updateTickIntervalPercent","_onClick","addFocus","_updateValueFromPosition","_emitInputEvent","_emitValueIfChanged","_onSlide","_onSlideStart","_onSlideEnd","_onKeydown","_increment","_onKeyup","numSteps","posComponent","exactValue","_calculateValue","closestValue","_createChangeEvent","event_2","trackSize","pixelsPerStep","stepsPerTick","pixelsPerTick","[class.mat-slider]","(keyup)","(mouseenter)","(slide)","(slideend)","(slidestart)","[attr.aria-valuemax]","[attr.aria-valuemin]","[attr.aria-valuenow]","[class.mat-slider-active]","[class.mat-slider-disabled]","[class.mat-slider-has-ticks]","[class.mat-slider-horizontal]","[class.mat-slider-axis-inverted]","[class.mat-slider-sliding]","[class.mat-slider-thumb-label-showing]","[class.mat-slider-vertical]","[class.mat-slider-min-value]","[class.mat-slider-hide-last-tick]","_sliderElement","wrapperElement","MdSliderModule","__decorate$39","__metadata$39","__param$8","MdDuplicatedSidenavError","align","MdSidenavToggleResult","animationFinished","MdSidenav","_align","_valid","_disableClose","_opened","onOpenStart","onCloseStart","onAlignChanged","_toggleAnimationPromise","_resolveToggleAnimationPromise","_elementFocusedBeforeSidenavWasOpened","activeElement","isFocusTrapDisabled","_focusTrap","opened","isOpen","handleKeydown","disableClose","_onTransitionEnd","transitionEvent","[class.mat-sidenav]","(transitionend)","[attr.align]","[class.mat-sidenav-closed]","[class.mat-sidenav-closing]","[class.mat-sidenav-end]","[class.mat-sidenav-opened]","[class.mat-sidenav-opening]","[class.mat-sidenav-over]","[class.mat-sidenav-push]","[class.mat-sidenav-side]","[class.mat-sidenav-invalid]","MdSidenavContainer","_enableTransitions","_validateDrawers","_start","_end","_sidenavs","sidenav","_watchSidenavToggle","_watchSidenavAlign","_setContainerClass","_setDrawersValid","_left","_right","_onBackdropClicked","_closeModalSidenav","_isShowingBackdrop","_isSidenavOpen","_getSidenavEffectiveWidth","_getMarginLeft","_getMarginRight","_getPositionLeft","_getPositionRight","_getPositionOffset","_getStyles","[class.mat-sidenav-container]","[class.mat-sidenav-transition]","MdSidenavModule","__decorate$40","__metadata$40","MdListDivider","MdList","MdListCssMatStyler","[class.mat-list]","MdNavListCssMatStyler","[class.mat-nav-list]","MdDividerCssMatStyler","[class.mat-divider]","MdListAvatarCssMatStyler","[class.mat-list-avatar]","MdListIconCssMatStyler","[class.mat-list-icon]","MdListSubheaderCssMatStyler","[class.mat-subheader]","MdListItem","avatar","_lineSetter","_handleFocus","_handleBlur","[class.mat-list-item]","MdListModule","__decorate$42","__metadata$42","MdGridTile","_rowspan","_colspan","[class.mat-grid-tile]","MdGridTileText","MdGridAvatarCssMatStyler","[class.mat-grid-avatar]","MdGridTileHeaderCssMatStyler","[class.mat-grid-tile-header]","MdGridTileFooterCssMatStyler","[class.mat-grid-tile-footer]","MdGridListColsError","MdGridTileTooWideError","cols","listLength","MdGridListBadRatioError","TileCoordinator","numColumns","tiles","columnIndex","rowIndex","tracker","tile","_trackTile","lastRowMax","rowCount","gapStartIndex","_findMatchingGap","colspan","_markTilePosition","TilePosition","tileCols","gapEndIndex","_nextRow","_findGapEndIndex","rowspan","row","TileStyler","_rows","gutterSize","_gutterSize","_cols","_direction","getBaseTileSize","sizePercent","gutterFraction","getTilePosition","baseSize","getTileSize","colIndex","percentWidthPerTile","gutterWidthFractionPerTile","setColStyles","setRowStyles","percentWidth","gutterWidth","baseTileWidth","getGutterSpan","getTileSpan","tileHeight","getComputedHeight","FixedTileStyler","fixedRowHeight","RatioTileStyler","_parseRatio","percentHeightPerTile","rowHeightRatio","baseTileHeight","ratioParts","FitTileStyler","gutterHeightPerTile","__decorate$41","__metadata$41","__param$9","MD_FIT_MODE","MdGridList","_gutter","_rowHeight","_setTileStyler","_checkCols","_checkRowHeight","ngAfterContentChecked","_layoutTiles","_tileStyler","_tiles","_setListStyle","style$$1","[class.mat-grid-list]","MdGridListModule","__decorate$43","__metadata$43","MdCardContent","[class.mat-card-content]","MdCardTitle","[class.mat-card-title]","MdCardSubtitle","[class.mat-card-subtitle]","MdCardActions","[class.mat-card-actions]","MdCardFooter","[class.mat-card-footer]","MdCardSmImage","[class.mat-card-sm-image]","MdCardMdImage","[class.mat-card-md-image]","MdCardLgImage","class.mat-card-lg-image","MdCardImage","[class.mat-card-image]","MdCardXlImage","[class.mat-card-xl-image]","MdCardAvatar","[class.mat-card-avatar]","MdCard","[class.mat-card]","MdCardHeader","[class.mat-card-header]","MdCardTitleGroup","[class.mat-card-title-group]","MdCardModule","__decorate$45","__metadata$45","MdChip","onFocus","_addDefaultCSSClass","chip","toggleSelected","_handleClick","[class.mat-chip]","[class.mat-chip-selected]","__decorate$44","__metadata$44","MdChipList","_subscribed","WeakMap","_selectable","chips","_subscribeChips","_keydown","_toggleSelectOnFocusedChip","focusedIndex","activeItemIndex","_isValidIndex","focusedChip","_addChip","chipIndex","[class.mat-chip-list]","MdChipsModule","__decorate$47","__metadata$47","MdIconNameNotFoundError","iconName","MdIconSvgTagNotFoundError","SvgIconConfig","svgElement","iconKey","namespace","_http","_sanitizer","_svgIconConfigs","_iconSetConfigs","_cachedIconsByUrl","_inProgressUrlFetches","_fontCssClassesByAlias","_defaultFontSetClass","addSvgIcon","addSvgIconInNamespace","addSvgIconSet","addSvgIconSetInNamespace","registerFontClassAlias","classNameForFontAlias","setDefaultFontSetClass","getDefaultFontSetClass","getSvgIconFromUrl","safeUrl","_loadSvgIconFromConfig","do","getNamedSvgIcon","_getSvgFromConfig","iconSetConfigs","_getSvgFromIconSetConfigs","throw","namedIcon","_extractIconWithNameFromAnySet","iconSetFetchRequests","iconSetConfig","_loadSvgIconSetFromConfig","caught","forkJoin","ignoredResults","foundIcon","_extractSvgIconFromSet","_fetchUrl","svgText","_createSvgElementForSingleIcon","_svgElementFromString","_setSvgAttributes","iconSet","iconNode","finally","share","Http","__decorate$46","__metadata$46","MdIconInvalidNameError","MdIcon","_mdIconRegistry","hostAriaLabel","_splitIconName","changedInputs","svgIcon","_setSvgElement","_usingFontIcon","_updateFontIconClasses","_updateAriaLabel","ngAfterViewChecked","_getAriaLabel","_previousAriaLabel","label","fontIcon","layoutElement","fontSetClass","fontSet","_previousFontSetClass","_previousFontIconClass","[class.mat-icon]","ICON_REGISTRY_PROVIDER","MdIconModule","HttpModule","__decorate$48","__metadata$48","DURATION_INDETERMINATE","DURATION_DETERMINATE","startIndeterminate","endIndeterminate","MdProgressSpinnerCssMatStyler","[class.mat-progress-spinner]","MdProgressCircleCssMatStyler","[class.mat-progress-circle]","MdProgressSpinner","_lastAnimationId","_interdeterminateInterval","clearInterval","_cleanupIndeterminateAnimation","_animateCircle","_startIndeterminateAnimation","animateFrom","animateTo","ease","_renderArc","animation_1","elapsedTime","rotationStartPoint","animate$$1","interdeterminateInterval","setInterval","_path","MdSpinner","[class.mat-spinner]","MdProgressSpinnerModule","__decorate$49","__metadata$49","MdProgressBar","_bufferValue","_primaryTransform","_bufferTransform","bufferValue","aria-valuemin","aria-valuemax","[class.mat-primary]","[class.mat-accent]","[class.mat-warn]","[class.mat-progress-bar]","MdProgressBarModule","MdInputContainerPlaceholderConflictError","MdInputContainerUnsupportedTypeError","MdInputContainerDuplicatedHintError","MdInputContainerMissingMdInputError","__decorate$51","__metadata$51","__param$10","MD_INPUT_INVALID_TYPES","nextUniqueId$1","MdPlaceholder","MdHint","[class.mat-hint]","[class.mat-right]","[attr.id]","MdInputDirective","_ngControl","focused","_placeholderChange","_neverEmptyInputTypes","_uid","_validateType","_isTextarea","_isNeverEmpty","_isBadInput","_cachedUid","_onInput","validity","badInput","[class.mat-input-element]","[placeholder]","[required]","[attr.aria-describedby]","MdInputContainer","dividerColor","_hintLabel","_hintLabelId","_floatPlaceholder","_processHints","_mdInputChild","_validatePlaceholders","_hintChildren","_shouldForward","_hasPlaceholder","_placeholderChild","_focusInput","_validateHints","_syncAriaDescribedby","startHint_1","endHint_1","hintLabel","startHint","endHint","ariaDescribedby","[class.mat-input-container]","__decorate$52","__metadata$52","MdTextareaAutosize","minRows","maxRows","_cachedLineHeight","_cacheTextareaLineHeight","resizeToFitContent","textareaClone","rows","border","padding","maxHeight","scrollHeight","[style.min-height]","[style.max-height]","__decorate$50","__metadata$50","MdInputModule","announcementMessage","MdSnackBarRef","containerInstance","_afterClosed","_onAction","_instance","onAction","dismiss","_onExit","_finishDismiss","_action","_afterOpened","afterDismissed","afterOpened","_onEnter","MdSnackBarContentAlreadyAttached","__decorate$55","__metadata$55","SHOW_ANIMATION","HIDE_ANIMATION","MdSnackBarContainer","onExit","snackBarConfig","extraClasses","cssClass","onAnimationEnd","_completeExit","[@state]","(@state.done)","__decorate$56","__metadata$56","SimpleSnackBar","snackBarRef","[class.mat-simple-snackbar]","__decorate$54","__metadata$54","__param$11","MdSnackBar","_live","_parentSnackBar","_openedSnackBarRef","_snackBarRefAtThisLevel","openFromComponent","snackBarContainer","_attachSnackBarContainer","_attachSnackbarContent","simpleSnackBarRef","containerPortal","containerRef","contentRef","__decorate$53","__metadata$53","MdSnackBarModule","__decorate$58","__metadata$58","MdTabLabel","__decorate$59","__metadata$59","MdTabLabelWrapper","getOffsetLeft","offsetLeft","getOffsetWidth","[class.mat-tab-disabled]","__decorate$61","__metadata$61","MdInkBar","alignToElement","show","_getLeftPosition","_getElementWidth","[class.mat-ink-bar]","__decorate$60","__metadata$60","MdTabNavBar","updateActiveLink","_activeLinkChanged","_activeLinkElement","_inkBar","[class.mat-tab-nav-bar]","MdTabLink","_mdTabNavBar","[class.mat-tab-link]","MdTabLinkRipple","__decorate$62","__metadata$62","MdTab","textLabel","_contentPortal","__decorate$63","__metadata$63","__param$12","MdTabBody","onCentering","onCentered","_canBeAnimated","_getLayoutDirection","_isCenterPosition","_onTranslateTabStarted","clientHeight","_onTranslateTabComplete","[class.mat-tab-body]","__decorate$64","__metadata$64","__param$13","EXAGGERATED_OVERSCROLL","MdTabHeader","_focusIndex","_scrollDistance","_selectedIndexChanged","_showPaginationControls","_disableScrollAfter","_disableScrollBefore","_selectedIndex","selectFocusedIndex","indexFocused","_tabLabelCount","_labelWrappers","_updatePagination","_scrollToLabel","_checkScrollingControls","_alignInkBarToSelectedTab","_scrollDistanceChanged","_updateTabScrollPosition","_focusNextTab","_focusPreviousTab","focusIndex","_onContentChanges","_checkPaginationEnabled","_setTabFocus","tab","_tabListContainer","scrollWidth","_moveFocus","tabs","translateX","scrollDistance","_tabList","_getMaxScrollDistance","_scrollHeader","scrollDir","viewLength","labelIndex","selectedLabel","labelBeforePos","labelAfterPos","beforeVisiblePos","afterVisiblePos","lengthOfTabList","selectedLabelWrapper","[class.mat-tab-header-pagination-controls-enabled]","[class.mat-tab-header-rtl]","__decorate$57","__metadata$57","nextId$2","MdTabChangeEvent","MdTabGroup","_indexToSelect","_tabBodyWrapperHeight","_dynamicHeight","headerPosition","_onFocusChange","_onSelectChange","_groupId","selectChange","_tabs","_focusChanged","_getTabLabelId","_getTabContentId","_setTabBodyWrapperHeight","tabHeight","_tabBodyWrapper","_removeTabBodyWrapperHeight","[class.mat-tab-group-dynamic-height]","[class.mat-tab-group-inverted-header]","MdTabsModule","__decorate$65","__metadata$65","MdToolbarRow","[class.mat-toolbar-row]","MdToolbar","[class.mat-toolbar]","MdToolbarModule","MdTooltipInvalidPositionError","__decorate$66","__metadata$66","__param$14","TOUCHEND_HIDE_DELAY","SCROLL_THROTTLE_MS","MdTooltip","_scrollDispatcher","showDelay","hideDelay","_tooltipInstance","_disposeTooltip","_message","_setTooltipMessage","_createTooltip","_isTooltipVisible","TooltipComponent","afterHidden","_getOrigin","_getOverlayPosition","isDirectionLtr","isLtr","(longpress)","(touchend)","(mouseleave)","_visibility","_closeOnInteraction","_onHide","_hideTimeoutId","_setTransformOrigin","_showTimeoutId","_afterVisibilityAnimation","_handleBodyInteraction","(body:click)","MdTooltipModule","MdMenuMissingError","MdMenuInvalidPositionX","MdMenuInvalidPositionY","__decorate$69","__metadata$69","MdMenuItem","_checkDisabled","[class.mat-menu-item]","transformMenu","fadeInItems","__decorate$68","__metadata$68","__param$15","MdMenu","posX","posY","_classList","positionX","positionY","overlapTrigger","_setPositionX","_setPositionY","setPositionClasses","_emitCloseEvent","focusFirstItem","__decorate$70","__metadata$70","__param$16","MdMenuTrigger","_menuOpen","_openedByMouse","onMenuOpen","onMenuClose","menu","_checkMenu","closeMenu","destroyMenu","toggleMenu","openMenu","_subscribeToBackdrop","_initMenu","_resetMenu","_cleanUpSubscriptions","_setIsMenuOpen","_getOverlayConfig","_subscribeToPositions","overlayState","_getPosition","fallbackX","fallbackOverlayY","fallbackOriginY","_handleMousedown","aria-haspopup","__decorate$67","__metadata$67","MdMenuModule","MdDialogRef","dialogResult","afterClosed","MD_DIALOG_DATA","DialogInjector","_parentInjector","_dialogRef","_data","__extends$23","MdDialogContentAlreadyAttachedError","__decorate$73","__metadata$73","MdDialogContainer","_elementFocusedBeforeDialogWasOpened","_trapFocus","attachedResult","[class.mat-dialog-container]","[attr.role]","__decorate$72","__metadata$72","__param$17","MdDialog","_parentDialog","_openDialogsAtThisLevel","_afterAllClosedAtThisLevel","_afterOpenAtThisLevel","_boundKeydown","afterOpen","_afterOpen","afterAllClosed","_afterAllClosed","_openDialogs","componentOrTemplateRef","dialogContainer","_attachDialogContainer","dialogRef","_attachDialogContent","_removeOpenDialog","closeAll","_getOverlayState","userInjector","dialogInjector","componentInstance","topDialog","__decorate$74","__metadata$74","MdDialogClose","MdDialogTitle","[class.mat-dialog-title]","MdDialogContent","[class.mat-dialog-content]","MdDialogActions","[class.mat-dialog-actions]","__decorate$71","__metadata$71","MdDialogModule","__decorate$76","__metadata$76","_uniqueAutocompleteIdCounter","MdAutocomplete","showPanel","panel","_setVisibility","_getClassList","mat-autocomplete-panel-below","mat-autocomplete-panel-above","mat-autocomplete-visible","mat-autocomplete-hidden","[class.mat-autocomplete]","__extends$24","ActiveDescendantKeyManager","__decorate$77","__metadata$77","__param$18","AUTOCOMPLETE_OPTION_HEIGHT","AUTOCOMPLETE_PANEL_HEIGHT","MD_AUTOCOMPLETE_VALUE_ACCESSOR","MdAutocompleteTrigger","_inputContainer","_blurStream","autocomplete","_panelPositionSubscription","_destroyPanel","openPanel","_subscribeToClosingActions","closePanel","optionSelections","_setTriggerValue","activeOption","_scrollToOption","_handleInput","newlyFocusedTag","floatPlaceholder","optionOffset","newScrollTop","switchMap","_resetPanel","panelClosingActions","_setValueAndClose","displayWith","_getHostWidth","_positionStrategy","_subscribeToPositionChanges","_resetActiveItem","aria-autocomplete","aria-multiline","[attr.aria-activedescendant]","[attr.aria-expanded]","__decorate$75","__metadata$75","MdAutocompleteModule","__decorate$30","__metadata$30","MATERIAL_MODULES","MaterialRootModule","MdPlatform","MdLiveAnnouncer","MdUniqueSelectionDispatcher","MdProgressCircle","MdProgressCircleModule","fromEvent_1","FromEventObservable_1","FromEventObservable","isNodeStyleEventEmmitter","sourceObj","isJQueryStyleEventEmitter","isNodeList","isHTMLCollection","isEventTarget","setupSubscription","source_1","source_2","source_3","auditTime_1","async_1","AuditTimeOperator","clearThrottle","AuditTimeSubscriber","hasValue","throttled","AsyncAction_1","AsyncScheduler_1","AsyncScheduler","AsyncAction","Action_1","work","recycleAsyncId","requestAsyncId","execute","_execute","errored","errorValue","Action","Scheduler_1","active","scheduled","Scheduler","SchedulerAction","startWith_1","isScheduler_1","isScheduler","concat_1","concatStatic","ScalarObservable_1","ScalarObservable","ArrayObservable_1","ArrayObservable","EmptyObservable_1","EmptyObservable","dispatch","observables","mergeAll_1","MergeAllOperator","mergeAll","concurrent","POSITIVE_INFINITY","OuterSubscriber_1","subscribeToResult_1","observer","MergeAllSubscriber","hasCompleted","subscribeToResult","notifyComplete","innerSub","OuterSubscriber","notifyNext","outerValue","innerValue","outerIndex","innerIndex","notifyError","outerSubscriber","InnerSubscriber_1","InnerSubscriber","isPromise_1","iterator_1","$$iterator","first_1","resultSelector","defaultValue","FirstOperator","EmptyError_1","FirstSubscriber","_tryPredicate","_emit","_tryResultSelector","_emitFinal","EmptyError","normalizeMethodName","RequestMethod","Get","Post","Put","Delete","Options","Head","Patch","getResponseURL","responseURL","getAllResponseHeaders","getResponseHeader","stringToArrayBuffer","strLen","paramParser","rawParams","eqIdx","standardEncoding","_getJsonpConnections","_jsonpConnections","JSONP_HOME","httpRequest","backend","request","createConnection","mergeOptions","defaultOpts","providedOpts","newOptions","RequestOptions","headers","withCredentials","_createDefaultCookieXSRFStrategy","CookieXSRFStrategy","httpFactory","xhrBackend","requestOptions","jsonpFactory","jsonpBackend","Jsonp","BrowserXhr","ReadyState","ResponseType","ContentType","ResponseContentType","Headers","_headers","_normalizedNames","append","fromResponseHeaderString","headersString","getAll","lcName","mayBeSetNormalizedName","serialized","ResponseOptions","statusText","BaseResponseOptions","ConnectionBackend","Connection","XSRFStrategy","isSuccess","QueryEncoder","encodeKey","encodeValue","URLSearchParams","queryEncoder","paramsMap","appendAll","storedParam","setAll","searchParams","replaceAll","paramsList","Body","json","_body","arrayBuffer","blob","Blob","Response","responseOptions","_nextRequestId","BrowserJsonp","nextRequestID","requestCallback","exposeConnection","connection","connections","removeConnection","cleanup","JSONP_ERR_NO_CALLBACK","JSONP_ERR_WRONG_METHOD","JSONPConnection","JSONPConnection_","_dom","baseResponseOptions","responseObserver","Loading","_script","onLoad","Cancelled","Done","responseOptions_1","_responseData","finished","JSONPBackend","JSONPBackend_","_browserJSONP","_baseResponseOptions","XSSI_PREFIX","XHRConnection","browserXHR","_xhr","setDetectedContentType","setRequestHeader","Json","getBody","abort","FORM","BLOB","_cookieName","_headerName","configureRequest","xsrfToken","XHRBackend","_browserXHR","_xsrfStrategy","BaseRequestOptions","Request","detectContentType","FORM_DATA","detectContentTypeFromBody","FormData","Blob$1","ArrayBuffer$1","_backend","responseObservable","post","patch","JsonpModule","forkJoin_1","ForkJoinObservable_1","ForkJoinObservable","ForkJoinSubscriber","completed","haveValues","innerSubscription","_hasValue","of_1","map_1","thisArg","MapOperator","MapSubscriber","filter_1","FilterOperator","FilterSubscriber","do_1","_do","DoOperator","DoSubscriber","safeSubscriber","share_1","shareSubjectFactory","Subject_1","multicast_1","multicast","refCount","subjectOrSubjectFactory","subjectFactory","MulticastObservable_1","MulticastObservable","ConnectableObservable_1","ConnectableObservable","connectable","connect","_refCount","getSubject","_connection","ConnectableSubscriber","RefCountOperator","refCounter","RefCountSubscriber","sharedConnection","finally_1","_finally","FinallyOperator","FinallySubscriber","catch_1","_catch","CatchOperator","CatchSubscriber","merge_1","mergeStatic","switchMap_1","SwitchMapOperator","SwitchMapSubscriber","_innerSub","_tryNotifyNext","NguiDatetime","firstDayOfWeek","datetime_1","datetime_picker_component_1","NguiDatetimePickerComponent","datetime_picker_directive_1","NguiDatetimePickerDirective","datetime_picker_module_1","formatDate","dateOnly","pad0","getFullYear","getMonth","getDate","getHours","getMinutes","moment","parseDate","dateStr","parseFormat","dateFormat","removeTimezone","addDSTOffset","parseFromDefaultFormat","formats","toDate","ISO_8601","getWeekNumber","nDay","getDay","setDate","n1stThursday","setMonth","jan","jul","stdTimezoneOffset","getTimezoneOffset","isDST","getMonthData","year","month","firstDayOfMonth","lastDayOfMonth","lastDayOfPreviousMonth","daysInMonth","daysInLastMonth","dayOfWeek","leadingDays","trailingDays","days","firstDay","firstWeekNumber","numWeeks","weekNumbers","ndx","weekNum","localizedDaysOfWeek","daysOfWeek","monthData","weekends","months","shortName","day","minute","weekdays","weekdaysShort","localeData","nguiDatetime","minuteStep","showWeekNumbers","showTodayShortcut","showAmPm","selected$","closing$","showYearSelector","startYear","endYear","years","selectedDate","_monthData","setHours","setMinutes","setSeconds","setMilliseconds","today","hours","isWeekend","dayNum","weekday","selectYear","toDateOnly","selectCurrentTime","selectDateTime","isDateDisabled","minutes","updateMonthData","dateInTime","disabledDatesInTime","disabledDates","minDate","maxDate","selectToday","convertHours","timeSuffix","closeOnSelect","isDraggable","ngModelChange","valueChanged$","popupClosed$","userModifyingValue","handleKeyDown","inputElValueChanged","setInputElDateValue","ngModel","showDatetimePicker","nguiDatetimePickerEl","clickedDatetimePicker","hideDatetimePicker","drag_start","drag_over","drop","timeOnly","minHour","maxHour","showCloseButton","showCloseLayer","styleDatetimePicker","dateSelected","dataTransfer","normalizeInput","formDir","updateDatepicker","inputEl","elementIn","zIndex","thisElBcr","nguiDatetimePickerElBcr","__WEBPACK_EXTERNAL_MODULE_7__","scroll_to_1","scrollTo","element_visible_1","elementVisible","computed_style_1","computedStyle","outer_width_1","outerWidth","outer_height_1","outerHeight","html_code_pipe_1","HtmlCodePipe","javascript_code_pipe_1","JavascriptCodePipe","utils_module_1","parentSelector","horizontal","targetEl","targetOffsetTop","targetOffsetLeft","parentElStyle","scrollContainerEl","overflow","currentScrollTop","currentScrollLeft","bodyRect","targetRect","offsetTop","scrollProp","loop","innerElement","outerElement","adjustment","innerEl","outerEl","innerRect","bottomAdjustment","outerRect","outerRectBorderTopWidth","outerRectBorderLeftWidth","topVisible","bottomVisible","leftVisible","rightVisible","styleProp","letter","oldLeft","oldRsLeft","tagsIncludeExclude","tagsInclude","tagsExclude","regEx","js_beautify","get_beautify","css_beautify","html_beautify","beautify","js","__WEBPACK_AMD_DEFINE_ARRAY__","js_source_text","in_array","what","sanitizeOperatorPosition","opPosition","OPERATOR_POSITION","before_newline","validPositionValues","Beautifier","create_flags","flags_base","next_indent_level","indentation_level","just_added_newline","line_indent_level","next_flags","last_text","last_word","declaration_statement","declaration_assignment","multiline_frame","inline_frame","if_block","else_block","do_block","do_while","import_block","in_case_statement","in_case","case_body","start_line_index","get_line_number","ternary_depth","handle_token","local_token","newlines","keep_whitespace","keep_array_indentation","is_array","print_newline","max_preserve_newlines","preserve_newlines","current_token","split_linebreaks","acorn","allLineBreaks","idx","allow_wrap_or_preserved_newline","force_linewrap","shouldPreserveOrForce","wanted_newline","operatorLogicApplies","Tokenizer","positionable_operators","shouldPrintOperatorNewline","operator_position","OPERATOR_POSITION_BEFORE_OR_PRESERVE","wrap_line_length","last_type","newline_restricted_tokens","proposed_line_length","current_line","get_character_count","space_before_token","force_newline","preserve_statement_flags","MODE","restore_mode","add_new_line","print_token_line_indentation","whitespace_before","set_indent","print_token","printable_token","add_raw_token","comma_first","previous_line","popped","is_empty","add_token","deindent","set_mode","flag_store","previous_flags","ArrayLiteral","is_expression","ForInitializer","remove_redundant_indentation","start_of_object_property","ObjectLiteral","start_of_statement","BlockStatement","last_last_text","all_lines_start_with","each_line_matches_indent","is_special_word","word","get_token","token_pos","handle_start_expr","next_mode","line_starters","space_in_paren","space_after_anon_function","space_before_conditional","handle_end_expr","space_in_empty_paren","handle_start_block","next_token","second_token","empty_braces","comments_before","empty_anonymous_function","brace_style","check_token","handle_end_block","handle_word","jslint_happy","just_added_blankline","handle_semicolon","handle_string","handle_equals","handle_comma","handle_operator","space_before","space_after","in_ternary","isGeneratorAsterisk","isUnary","isColon","isTernaryColon","isOtherColon","after_newline","preserve_newline","handle_block_comment","preserve","test_output_raw","newline","javadoc","starless","lastIndent","lastIndentLength","handle_comment","handle_dot","break_chained_methods","handle_unknown","handle_eof","indent_string","baseIndentString","TK_START_EXPR","TK_END_EXPR","TK_START_BLOCK","TK_END_BLOCK","TK_WORD","TK_RESERVED","TK_SEMICOLON","TK_STRING","TK_EQUALS","TK_OPERATOR","TK_COMMA","TK_BLOCK_COMMENT","TK_COMMENT","TK_DOT","TK_UNKNOWN","TK_EOF","braces_on_own_line","indent_size","indent_char","eol","unescape_strings","e4x","end_with_newline","indent_with_tabs","lineBreak","preindent_index","get_local_token","sweet_code","tokenizer","get_code","OutputLine","_character_count","_indent_count","_empty","baseIndentLength","indent_length","remove_indent","indent_cache","add_outputline","add_space_before_token","frame","output_length","eat_newlines","input_string","get_directives","directives_block_pattern","directive_pattern","directive_match","tokenize_next","resulting_string","whitespace_on_this_line","n_newlines","whitespace_before_token","last_token","whitespace","digit","testChar","allow_decimal","allow_e","local_digit","digit_bin","digit_oct","digit_hex","peekCharCode","hasNext","isIdentifierChar","reserved_words","comment_match","block_comment_pattern","ignore","directives_end_ignore_pattern","comment_pattern","startXmlRegExp","esc","has_char_escapes","in_char_class","xmlRegExp","xmlStr","isCurlyRoot","isEndTag","isSingletonTag","parse_string","allow_unescaped_newlines","start_sub","current_char","unescape_string","sharp","template_match","template_pattern","in_html_comment","punct","escaped","input_scan","InputScanner","token_values","open_stack","comments","nonASCIIidentifierStartChars","nonASCIIidentifierChars","nonASCIIidentifierStart","nonASCIIidentifier","_input_length","pattern_match","beautifier","source_text","ch","skipWhitespace","prev_pos","eatWhitespace","eatString","endChars","peekString","endChar","whiteRe","eatComment","singleLine","lookBack","foundNestedPseudoClass","openParen","indentLevel","basebaseIndentString","singleIndent","outdent","indentSize","indentCharacter","selectorSeparatorNewline","selector_separator_newline","newline_between_rules","space_around_combinator","space_around_selector_separator","parenLevel","nestedLevel","singleSpace","_lastCharWhitespace","keepWhitespace","preserveSingleSpace","isAfterSpace","insideRule","insidePropertyValue","enteringConditionalGroup","top_ch","last_top_ch","isAfterNewline","header","variableOrRule","NESTED_AT_RULE","CONDITIONAL_GROUP_RULE","sweetCode","@page","@font-face","@keyframes","@media","@supports","@document","style_html","html_source","tokenMatcher","newToken","doesNotMatch","current_mode","parentcount","parent1","tag_type","token_text","token_type","indent_content","indent_inner_html","indent_body_inner_html","indent_head_inner_html","Utils","single_token","extra_liners","is_whitespace","traverse_whitespace","input_char","space_or_wrap","line_char_count","print_indentation","get_content","indent_handlebars","peek3","get_tag","get_contents_to","reg_match","reg_array","end_script","record_tag","indent_level","retrieve_tag","temp_parent","indent_to_tag","tag_start","tag_end","tag_start_char","first_attr","orig_pos","orig_line_char_count","get_unformatted","indentAttrs","wrap_attributes","wrap_attributes_indent_size","indent_character","get_comment","tag_index","tag_offset","tag_complete","tag_check","is_unformatted","unformatted","start_pos","orig_tag","delimiterMatcher","tag_name_type","get_full_indent","next_tag","printer","js_source","print_token_raw","unindent","multi_parser","max_char","tag_name","tag_extracted_from_last_output","foundIfOnCurrentLine","lastCheckedOutput","_beautifier","script_indent_level","indent_scripts","indentation","Child_options","child_options","white","_level","reindent","requireamd","utils_directive_1","NguiUtilsDirective","router_1","directive_test_component_1","component_test_component_1","routes","DirectiveTestComponent","ComponentTestComponent","redirectTo","pathMatch","RouterModule","rxjs_BehaviorSubject","rxjs_observable_from","rxjs_observable_of","rxjs_operator_concatMap","rxjs_operator_every","rxjs_operator_first","rxjs_operator_map","rxjs_operator_mergeMap","rxjs_operator_reduce","rxjs_operator_catch","rxjs_operator_concatAll","rxjs_util_EmptyError","rxjs_operator_mergeAll","rxjs_operator_filter","defaultUrlMatcher","segmentGroup","route","posParams","consumed","isPosParam","hasChildren","shallowEqualArrays","shallowEqual","waitForMap","waitFor","PRIMARY_OUTLET","concatted$","concatAll","last$","andObservables","merged$","wrapIntoObservable","createEmptyUrlTree","UrlTree","UrlSegmentGroup","containsTree","containee","exact","equalQueryParams","equalSegmentGroups","containsQueryParams","containsSegmentGroup","equalPath","numberOfChildren","containsSegmentGroupHelper","containeePaths","equalSegments","mapChildrenIntoArray","childOutlet","serializePaths","serializePath","serializeSegment","primary","children_1","encode","decode","serializeParams","pairs","second","serializeQueryParams","strs","Pair","matchSegments","SEGMENT_RE","matchQueryParams","QUERY_PARAM_RE","matchUrlQueryParamValue","QUERY_PARAM_VALUE_RE","noMatch","NoMatch","absoluteRedirect","newTree","AbsoluteRedirect","namedOutletsRedirect","canLoadFails","NavigationCancelingError","applyRedirects","configLoader","urlSerializer","urlTree","ApplyRedirects","runGuards","canLoad","guard","consumedSegments","lastChild","positionalParamSegments","slicedSegments","containsEmptyPathRedirectsWithNamedOutlets","createChildrenForEmptySegments","mergeTrivialChildren","containsEmptyPathRedirects","addEmptySegmentsToChildrenIfNeeded","routes_1","emptyPathRedirect","getOutlet$1","primarySegmentGroup","routes_2","outlet","validateConfig","validateNode","loadChildren","findNode","expected","cc","findPath","collected","createEmptyState","rootComponent","snapshot","createEmptyStateSnapshot","emptyUrl","BehaviorSubject","UrlSegment","emptyParams","emptyData","emptyQueryParams","fragment","activated","ActivatedRoute","RouterState","TreeNode","ActivatedRouteSnapshot","RouterStateSnapshot","inheritedParamsDataResolve","pathToRoot","pathFromRoot","inhertingStartingFrom","routeConfig","curr","_resolvedData","setRouterStateSnapshot","_routerState","serializeNode","advanceActivatedRoute","_futureSnapshot","equalParamsAndUrlSegments","createRouterState","prevState","createNode","_root","equalRouteSnapshots","createOrReuseChildren","createActivatedRoute","_routeConfig","createUrlTree","commands","normalizedCommands","normalizeCommands","validateCommands","navigateToRoot","startingPosition","findStartingPosition","processChildren","updateSegmentGroupChildren","updateSegmentGroup","isAbsolute","isMatrixParams","outlets","command","segmentPath","oldSegmentGroup","newSegmentGroup","replaceSegment","oldSegment","newSegment","outletName","normalizedChange","NormalizedNavigationCommands","numberOfDoubleDots","r_1","Position","_lastPathIndex","_urlSegment","createPositionApplyingDoubleDots","g","ci","getPath","getOutlets","prefixedWith","slicedCommands","commandIndex","pathIndex","createNewSegmentGroup","outlets_1","currentCommandIndex","currentPathIndex","compare","paths","createNewSegmentChldren","rootComponentType","sortActivatedRouteSnapshots","localeCompare","getChildConfig","_loadedConfig","match$1","NoMatch$1","checkOutletNameUniqueness","routeWithSameOutletName","getSourceSegmentGroup","_sourceSegment","getPathIndexShift","_segmentIndexShift","split$1","containsEmptyPathMatchesWithNamedOutlets","createChildrenForEmptyPaths","containsEmptyPathMatches","addEmptyPathsToChildrenIfNeeded","emptyPathMatch","getOutlet$2","primarySegment","getResolve","defaultErrorHandler","parentLoadedConfig","closestLoadedConfig","nodeChildrenAsMap","getOutlet","outletMap","_outlets","toBool","provideLocationStrategy","platformLocationStrategy","useHash","provideForRootGuard","router","provideRoutes","ROUTES","setupRouter","urlHandlingStrategy","Router","enableTracing","dom_1","rootRoute","routerState","initialRouterNavigation","preloader","bootstrappedComponentRef","resetRootComponentType","componentTypes","setUpPreloading","initialNavigation","setUpLocationChangeListener","provideRouterInitializer","ROUTER_INITIALIZER","RouterPreloader","ROUTER_CONFIGURATION","LoadedRouterConfig","factoryResolver","injectorFactory","RouterConfigLoader","loadModuleFactory","componentFactoryResolver","offlineMode_1","mergeMap","DefaultUrlSerializer","UrlSerializer","UrlParser","parseRootSegment","parseQueryParams","parseFragment","peekStartsWith","parseChildren","parseSegments","parseParens","matrixParams","parseMatrixParams","parseQueryParam","decodeURI","parseParam","valueMatch","allowPrimary","allowRedirects","expanded$","expandSegmentGroup","urlTrees$","rootSegmentGroup","noMatchError","mapped$","rootCandidate","expandChildren","expandSegment","routes$","processedRoutes$","expandSegmentAgainstRoute","concattedProcessedRoutes$","first$","noLeftoversInUrl","matchSegmentAgainstRoute","expandSegmentAgainstRouteUsingRedirect","expandWildCardWithParamsAgainstRouteUsingRedirect","expandRegularSegmentAgainstRouteUsingRedirect","applyRedirectCommands","lineralizeSegments","newSegments","rawSegmentGroup","consumedSegments_1","rawSlicedSegments_1","childConfig$","routerConfig","childInjector","childConfig","cs","shouldLoad","applyRedirectCreatreUrlTree","newRoot","createSegmentGroup","createQueryParams","redirectToParams","actualParams","updatedSegments","createSegments","redirectToSegments","actualSegments","findPosParam","findOrReturn","redirectToUrlSegment","actualSegments_1","Tree","siblings","futureSnapshot","urlSegment","lastPathIndex","_resolve","processSegmentGroup","routeState","inheriteParamsAndData","routeNode","processSegment","config_1","processSegmentAgainstRoute","rawSegment","snapshot_1","rawSlicedSegments","RouterOutletMap","registerOutlet","removeOutlet","UrlHandlingStrategy","DefaultUrlHandlingStrategy","shouldProcessUrl","newUrlPart","wholeUrl","NavigationStart","NavigationEnd","urlAfterRedirects","NavigationCancel","NavigationError","RoutesRecognized","navigations","routerEvents","navigationId","navigated","resetConfig","currentUrlTree","rawUrlTree","currentRouterState","processNavigations","navigateByUrl","replaceUrl","locationSubscription","scheduleNavigation","skipLocationChange","serializeUrl","relativeTo","preserveQueryParams","preserveFragment","extras","navigate","removeEmptyProps","parseUrl","isActive","concatMap","nav","executeScheduledNavigation","rawUrl","prevRawUrl","prevUrl","urlTransition","runNavigate","shouldPreventPushState","shouldReplaceUrl","precreatedState","rejectPromise","urlAndSnapshot$","appliedUrl","redirectsApplied$","preActivation","navigationIsSuccessful","preactivationTraverse$","PreActivation","traverse","preactivationCheckGuards","checkGuards","shouldActivate","preactivationResolveData$","resolveData","routerState$","storedState","storedUrl","ActivateRoutes","activate","resetUrlToCurrentUrlTree","ee","CanActivate","CanDeactivate","future","checks","parentOutletMap","futureRoot","currRoot","traverseChildRoutes","checks$","runningChecks$","runCanActivateChild","runCanActivate","s2","runCanDeactivate","runResolve","futureNode","currNode","futurePath","prevChildren","traverseRoutes","deactiveRouteAndItsChildren","isActivated","canActivate","getToken","canActivateChildGuards","extractCanActivateChild","guards","canActivateChild","canDeactivate","canDeactivate$","resolveNode","resolvedData","futureState","currState","deactivateChildRoutes","activateChildRoutes","deactivateRoutes","activateRoutes","placeComponentIntoOutlet","locationInjector","locationFactoryResolver","childOutletMap","deactivate","RouterLink","locationStrategy","onClick","routerLink","RouterLinkWithHref","updateTargetUrlAndHref","routerLinkOptions","RouterLinkActive","routerLinkActiveOptions","hasActiveLink","links","linksWithHrefs","isLinkActive","routerLinkActive","RouterOutlet","activateEvents","deactivateEvents","_activatedRoute","activatedRoute","PreloadingStrategy","PreloadAllModules","preload","NoPreloading","moduleLoader","preloadingStrategy","processRoutes","preloadConfig","ROUTER_DIRECTIVES","ROUTER_FORROOT_GUARD","ROUTER_PROVIDERS","forChild","__router_private__","FromObservable_1","FromObservable","IteratorObservable_1","ArrayLikeObservable_1","observeOn_1","isArrayLike","ish","IteratorObservable","ArrayLikeObservable","ObserveOnSubscriber","getIterator","StringIterator","ArrayIterator","numberIsFinite","maxSafeInteger","valueAsNumber","observeOn","ObserveOnOperator","Notification_1","notification","scheduleMessage","ObserveOnMessage","Notification","createNext","createError","createComplete","exception","accept","undefinedValueNotification","completeNotification","mergeMap_1","MergeMapOperator","MergeMapSubscriber","_tryNext","_notifyResultSelector","EveryOperator","EverySubscriber","everyValueMatch","accumulator","seed","ReduceOperator","ReduceSubscriber","hasSeed","_tryReduce","LastOperator","LastSubscriber","lastValue","templateStr","fb","date2","date2DisabledDates","date2MinDate","date2MaxDate","date2New","date3","date4TimezoneFormat","date4","mdDate","myForm","onDatetimePickerClosed"],"mappings":"CAAS,SAAUA,GCInB,QAAAC,GAAAC,GAGA,GAAAC,EAAAD,GACA,MAAAC,GAAAD,GAAAE,OAGA,IAAAC,GAAAF,EAAAD,IACAE,WACAE,GAAAJ,EACAK,QAAA,EAUA,OANAP,GAAAE,GAAAM,KAAAH,EAAAD,QAAAC,IAAAD,QAAAH,GAGAI,EAAAE,QAAA,EAGAF,EAAAD,QAvBA,GAAAD,KAqCA,OATAF,GAAAQ,EAAAT,EAGAC,EAAAS,EAAAP,EAGAF,EAAAU,EAAA,UAGAV,EAAA,KDMM,SAASI,EAAQD,EAASH,GAE/B,YACA,IAAIW,GAAcC,MAAQA,KAAKD,YAAe,SAAUE,EAAYC,EAAQC,EAAKC,GAC7E,GAA2HC,GAAvHR,EAAIS,UAAUC,OAAQC,EAAIX,EAAI,EAAIK,EAAkB,OAATE,EAAgBA,EAAOK,OAAOC,yBAAyBR,EAAQC,GAAOC,CACrH,IAAuB,gBAAZO,UAAoD,kBAArBA,SAAQC,SAAyBJ,EAAIG,QAAQC,SAASX,EAAYC,EAAQC,EAAKC,OACpH,KAAK,GAAIS,GAAIZ,EAAWM,OAA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,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,IACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACAA,EAAA,KACA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AA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,KAAA,IACAC,IAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,KAAA,IACAC,IAAA,IACAC,IAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,IAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,IAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACA32F,OAAA,IACA42F,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACA1lF,MAAA,IACA2lF,KAAA,IACAC,KAAA,IACAC,QAAA,IACAC,QAAA,IACAC,MAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,GAAA,IACAp/F,GAAA,IACAq/F,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,IAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,GAAA,IACAC,OAAA,IACAC,OAAA,IACAC,IAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACA1hG,GAAA,IACA2hG,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,MAAA,IACAC,GAAA,IACAC,GAAA,IACAC,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,GAAA,IACAC,GAAA,IACArmC,IAAA,IACAsmC,MAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,GAAA,IACAC,GAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,QAAA,IACAC,QAAA,IACAC,MAAA,IACA5lC,GAAA,IACA6lC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,OAAA,IACAC,KAAA,IACAC,IAAA,IACAC,IAAA,IACAC,GAAA,IACAC,GAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,MAAA,IACAC,KAAA,IACAx2E,KAAA,IACAy2E,IAAA,IACAC,IAAA,IACAp2F,KAAA,IACAq2F,MAAA,IACAC,KAAA,IACAC,MAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,MAAA,IACAC,KAAA,IACAC,IAAA,IACAC,OAAA,IACAC,IAAA,IACAC,IAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,OAAA,IACAC,KAAA,IACAC,KAAA,IACAC,IAAA,IACAC,MAAA,IACAC,MAAA,IACAC,OAAA,IACAC,IAAA,IACAC,OAAA,IACAC,IAAA,IACAC,KAAA,IACAz8F,IAAA,IACA08F,IAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,KAAA,IACAC,MAAA,IACAC,IAAA,IACAC,IAAA,IACAC,OAAA,IACAC,MAAA,IACAC,MAAA,IACAC,SAAA,IACAC,OAAA,IACA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KACA7kJ,KAAA+lJ,gBAAA,SAAA17I,GAAoD,MAAAA,GAAAm0E,UAAAkc,EAAAtwF,IAAqCwhE,EAAAxhE,EAAA,KACzFA,EAAAy6I,MAAA,OAGA3mE,GACGsnE,IAaH1mE,KAQAJ,IAAA34B,EAAA2X,gBAAAupF,MACA,gBACA,cACA,gBAEAvoE,GAAA34B,EAAA2X,gBAAAqB,OAAA,YAEA2f,GAAA34B,EAAA2X,gBAAAwpF,KACA,4DACA,sEACA,uDACA,sEAEAxoE,GAAA34B,EAAA2X,gBAAAypF,cACA,cACA,kBACA,YACA,YACA,YACA,eACA,gBACA,aACA,YACA,YACA,kBACA,cACA;;;;;;;AAUA,GA20DAn2D,IA30DAo2D,GAAApnJ,WAAAomD,WAAA,SAAA/lD,EAAA4M,GAEA,QAAAo5C,KAAqBrmD,KAAAuR,YAAAlR,EADrB,OAAAP,KAAAmN,KAAAlD,eAAAjK,KAAAO,EAAAP,GAAAmN,EAAAnN,GAEAO,GAAAsM,UAAA,OAAAM,EAAAxM,OAAAwI,OAAAgE,IAAAo5C,EAAA15C,UAAAM,EAAAN,UAAA,GAAA05C,KAEAghG,GAAA,UACA3xI,GAAA,SACA4xI,GAAA,SACAC,GAAA,SAuDAC,IACA,4NACA,69BACA,4oCACA,mMACA,ilBACA,uBACA,2CACA,uBACA,wCACA,uBACA,kCACA,yCACA,mLACA,iJACA,eACA,yBACA,iCACA,iQACA,yHACA,sCACA,+BACA,4BACA,0BACA,8BACA,yCACA,6BACA,0BACA,uDACA,wCACA,qCACA,uGACA,iGACA,sOACA,mDACA,sBACA,wCACA,6BACA,2JACA,oJACA,wbACA,mEACA,+BACA,8BACA,6BACA,yHACA,yBACA,4HACA,8BACA,mDACA,2DACA,sCACA,kDACA,uIACA,yCACA,6EACA,wDACA,wBACA,gDACA,yBACA,2BACA,qCACA,mCACA,gGACA,wGACA,wBACA,mDACA,sBACA,2CACA,8BACA,mHACA,+DACA,oHACA,iDACA,wDACA,0BACA,qNACA,2B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AzoD,EAAAs3H,iCACAt3H,EAAAu3H,iCACAv3H,EAAAy3H,iCACAz3H,EAAA03H,4CACA13H,EAAA23H,2CACA33H,EAAA43H,4BACA53H,EAAAilE,6CACAjlE,EAAA8kE,iCACA9kE,EAAA+kE,mCACA/kE,EAAA2kE,qCACA3kE,EAAAyjE,oCACAzjE,EAAAqkE,iCACArkE,EAAA24D,6BACA34D,EAAA63H,+BACA73H,EAAA06D,2BACA16D,EAAAk4H,0BACAl4H,EAAA64D,wBACA74D,EAAA02D,uBACA12D,EAAAo4H,wBACAp4H,EAAAu4H,6BACAv4H,EAAA82D,2BACA92D,EAAAy2D,4BACAz2D,EAAAk2D,2BACAl2D,EAAAi5H,uBACAj5H,EAAAm5H,2BACAn5H,EAAA05H,qCACA15H,EAAAi4D,8BACAj4D,EAAA65H,gBACA75H,EAAA03F,qBACA13F,EAAA84J,gBACA94J,EAAAy5F,eACAz5F,EAAA+zF,oBACA/zF,EAAAs0F,+BACAt0F,EAAAw0F,0BACAx0F,EAAA21F,yBACA31F,EAAAm8J,qBACAn8J,EAAA63F,mBACA73F,EAAA83F,0CACA93F,EAAAk1D,kBACAl1D,EAAA2zH,gBACA3zH,EAAAomK,sBACApmK,EAAAsmK,sBACAtmK,EAAAwoD,uBACAxoD,EAAAmpE,yCACAnpE,EAAAqpE,mCACArpE,EAAA8uI,gCACA9uI,EAAAopE,eACAppE,EAAAspE,gBACAtpE,EAAA0nD,kBACA1nD,EAAAkhI,yBACAlhI,EAAAgmK,aACAhmK,EAAAi4F,kBACAj4F,EAAAuuH,iBACAvuH,EAAA0wH,SACA1wH,EAAAwyH,OACAxyH,EAAAgzH,OACAhzH,EAAA04F,uBACA14F,EAAA84F,SACA94F,EAAAgrD,SACAhrD,EAAAwkG,OACAxkG,EAAAgsD,eACAhsD,EAAA6sD,UACA7sD,EAAAwlG,sBACAxlG,EAAA0lG,8BACA1lG,EAAA64F,UACA74F,EAAAimG,aACAjmG,EAAAo5F,2BACAp5F,EAAAk4F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GACA,QACA,MAAArnL,MAAAsnL,GACA,QACA,MAAAtnL,MAAAunL,GACA,QACA,MAAAvnL,MAAAwnL,GACA,QACA,MAAAxnL,MAAAynL,GACA,QACA,MAAAznL,MAAA0nL,GACA,SACA,SAGA1qD,EAAArwH,UAAAvE,IAAA,SAAAmG,EAAAlI,GACA,OAAAkI,GACA,OACAvO,KAAAmnL,IAAA9gL,CACA,MACA,QACArG,KAAAonL,IAAA/gL,CACA,MACA,QACArG,KAAAqnL,IAAAhhL,CACA,MACA,QACArG,KAAAsnL,IAAAjhL,CACA,MACA,QACArG,KAAAunL,IAAAlhL,CACA,MACA,QACArG,KAAAwnL,IAAAnhL,CACA,MACA,QACArG,KAAAynL,IAAAphL,CACA,MACA,QACArG,KAAA0nL,IAAArhL,IAIA22H,KAEAC,GAAA,WACA,QAAAA,GAAA18H,EAAA4mL,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,GACAloL,KAAAO,SACAP,KAAAmnL,MACAnnL,KAAAonL,MACApnL,KAAAqnL,MACArnL,KAAAsnL,MACAtnL,KAAAunL,MACAvnL,KAAAwnL,MACAxnL,KAAAynL,MACAznL,KAAA0nL,MACA1nL,KAAA2nL,MACA3nL,KAAA4nL,MACA5nL,KAAA6nL,OACA7nL,KAAA8nL,OACA9nL,KAAA+nL,OACA/nL,KAAAgoL,OACAhoL,KAAAioL,OACAjoL,KAAAkoL,OA4FA,MA1FAjrD,GAAAtwH,UAAAvG,IAAA,SAAAmI,GACA,OAAAA,GACA,OACA,MAAAvO,MAAAmnL,GACA,QACA,MAAAnnL,MAAAonL,GACA,QACA,MAAApnL,MAAAqnL,GACA,QACA,MAAArnL,MAAAsnL,GACA,QACA,MAAAtnL,MAAAunL,GACA,QACA,MAAAvnL,MAAAwnL,GACA,QACA,MAAAxnL,MAAAynL,GACA,QACA,MAAAznL,MAAA0nL,GACA,QACA,MAA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A,UACA,UACA,SACA,UACA,SACA,UACA,UACA,UACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,SACA,UACA,SACA,UACA,UACA,SACA,SACA,UACA,SACA,SACA,UACA,SACA,SACA,SACA,UACA,UACA,SACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,SACA,SACA,SACA,SACA,SACA,UACA,SACA,SACA,SACA,SACA,SACA,UACA,UACA,UACA,WAAA19F,EACAwsM,EAAAC,IACAD,EAAAE,KACA,WACA,UACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACA,UACA,UACA,UACA,UACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,UACA,SACA,SACA,SACA,UACA,UACA,UACA,UACA,UACA,UACA,SACA,SACA,SACA,SACA,SACA,MAAA1sM,KAAA9J,KAAA6F,MAAAiE,OAAA,GAAAA,GAAA,EACAwsM,EAAAC,IACAD,EAAAE,KACA,UACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,WAAAr/M,GAAA,IAAA2S,EACAwsM,EAAAC,IACAD,EAAAE,KACA,UACA,WAAA1sM,EACAwsM,EAAAG,KACA,IAAA3sM,EACAwsM,EAAAC,IACA,IAAAzsM,EACAwsM,EAAAI,IACA5sM,EAAA,MAAA9J,KAAA6F,MAAAiE,EAAA,MAAAA,EAAA,QAAAA,EAAA,QACAwsM,EAAAK,IACA7sM,EAAA,MAAA9J,KAAA6F,MAAAiE,EAAA,MAAAA,EAAA,SAAAA,EAAA,QACAwsM,EAAAM,KACAN,EAAAE,KACA,WACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,SACA,WAAAr/M,GAAA,IAAAI,EACA++M,EAAAC,IACAD,EAAAE,KACA,UACA,MAAA1sM,GAAA,QAAAA,EAAA,SACAwsM,EAAAC,IACAzsM,EAAA,KAAA9J,KAAA6F,MAAAiE,EA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,uBACAniP,KAAAmiP,sBAAAljD,cAEAj/L,KAAAiiP,uBACAjiP,KAAAiiP,sBAAAhjD,eAGA0hD,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAG,KACAC,EAAAr0O,UAAA,iBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAA/wO,QACAmxO,EAAAr0O,UAAA,oBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAhoO,SACAooO,EAAAr0O,UAAA,gBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,gBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,gBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,iBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,mBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,oBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAl0O,SACAs0O,EAAAr0O,UAAA,wBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,oBACAg0O,IACA56L,EAAA9S,QACA2tM,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,aACAg0O,IACA56L,EAAAyrF,SACAovG,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,wBACAg0O,IACA56L,EAAAyrF,SACAovG,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,yBACAg0O,IACA56L,EAAAyrF,SACAovG,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,iBACAg0O,IACA56L,EAAAyrF,SACAovG,GAAA,cAAAngP,SACAugP,EAAAr0O,UAAA,iBACAq0O,EAAAL,IACA56L,EAAAuV,WACAxF,SAAA,+CACAqiE,SAAA,wBAEA0oH,GAAA,EAAA96L,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,MAAK,KAAM,GAAI,KAE9D,MAjBAgtS,GAAA3sT,GAACqB,EAAAi6D,WACCvF,SAAU,SACVH,SAAU+3Q,EACVp3Q,cAAel1D,EAAAm1D,kBAAkBC,KACjCE,QAAS,mG7WoxhFF31D,EAAW,yBACZ2rT,K6WjxhFKntT,GAAAmtT,uBAAsBA","file":"app.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/build/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// polyfills, comment the following out for debugging purpose\n\t__webpack_require__(1);\n\t__webpack_require__(246);\n\t__webpack_require__(258);\n\t__webpack_require__(260);\n\t// The browser platform with a compiler\n\tvar platform_browser_dynamic_1 = __webpack_require__(261);\n\tvar core_1 = __webpack_require__(263);\n\tvar platform_browser_1 = __webpack_require__(281);\n\tvar forms_1 = __webpack_require__(283);\n\tvar common_1 = __webpack_require__(282);\n\tvar material_1 = __webpack_require__(287);\n\tvar app_component_1 = __webpack_require__(340);\n\t//noinspection TypeScriptCheckImport\n\tvar datetime_picker_1 = __webpack_require__(341);\n\tvar utils_1 = __webpack_require__(346);\n\tvar app_route_1 = __webpack_require__(347);\n\tvar AppModule = (function () {\n\t function AppModule() {\n\t }\n\t AppModule = __decorate([\n\t core_1.NgModule({\n\t imports: [\n\t platform_browser_1.BrowserModule,\n\t app_route_1.APP_ROUTER_PROVIDERS,\n\t forms_1.FormsModule,\n\t forms_1.ReactiveFormsModule,\n\t utils_1.NguiUtilsModule,\n\t datetime_picker_1.NguiDatetimePickerModule,\n\t material_1.MaterialModule\n\t ],\n\t declarations: [app_component_1.AppComponent, app_route_1.APP_ROUTER_COMPONENTS],\n\t providers: [\n\t { provide: common_1.LocationStrategy, useClass: common_1.HashLocationStrategy },\n\t ],\n\t bootstrap: [app_component_1.AppComponent]\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], AppModule);\n\t return AppModule;\n\t}());\n\texports.AppModule = AppModule;\n\t// Compile and launch the module\n\tplatform_browser_dynamic_1.platformBrowserDynamic().bootstrapModule(AppModule);\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(2);\n\t__webpack_require__(51);\n\t__webpack_require__(52);\n\t__webpack_require__(53);\n\t__webpack_require__(54);\n\t__webpack_require__(56);\n\t__webpack_require__(59);\n\t__webpack_require__(60);\n\t__webpack_require__(61);\n\t__webpack_require__(62);\n\t__webpack_require__(63);\n\t__webpack_require__(64);\n\t__webpack_require__(65);\n\t__webpack_require__(66);\n\t__webpack_require__(67);\n\t__webpack_require__(69);\n\t__webpack_require__(71);\n\t__webpack_require__(73);\n\t__webpack_require__(75);\n\t__webpack_require__(78);\n\t__webpack_require__(79);\n\t__webpack_require__(80);\n\t__webpack_require__(84);\n\t__webpack_require__(86);\n\t__webpack_require__(88);\n\t__webpack_require__(91);\n\t__webpack_require__(92);\n\t__webpack_require__(93);\n\t__webpack_require__(94);\n\t__webpack_require__(96);\n\t__webpack_require__(97);\n\t__webpack_require__(98);\n\t__webpack_require__(99);\n\t__webpack_require__(100);\n\t__webpack_require__(101);\n\t__webpack_require__(102);\n\t__webpack_require__(104);\n\t__webpack_require__(105);\n\t__webpack_require__(106);\n\t__webpack_require__(108);\n\t__webpack_require__(109);\n\t__webpack_require__(110);\n\t__webpack_require__(112);\n\t__webpack_require__(113);\n\t__webpack_require__(114);\n\t__webpack_require__(115);\n\t__webpack_require__(116);\n\t__webpack_require__(117);\n\t__webpack_require__(118);\n\t__webpack_require__(119);\n\t__webpack_require__(120);\n\t__webpack_require__(121);\n\t__webpack_require__(122);\n\t__webpack_require__(123);\n\t__webpack_require__(124);\n\t__webpack_require__(125);\n\t__webpack_require__(130);\n\t__webpack_require__(131);\n\t__webpack_require__(135);\n\t__webpack_require__(136);\n\t__webpack_require__(137);\n\t__webpack_require__(138);\n\t__webpack_require__(140);\n\t__webpack_require__(141);\n\t__webpack_require__(142);\n\t__webpack_require__(143);\n\t__webpack_require__(144);\n\t__webpack_require__(145);\n\t__webpack_require__(146);\n\t__webpack_require__(147);\n\t__webpack_require__(148);\n\t__webpack_require__(149);\n\t__webpack_require__(150);\n\t__webpack_require__(151);\n\t__webpack_require__(152);\n\t__webpack_require__(153);\n\t__webpack_require__(154);\n\t__webpack_require__(155);\n\t__webpack_require__(156);\n\t__webpack_require__(158);\n\t__webpack_require__(159);\n\t__webpack_require__(165);\n\t__webpack_require__(166);\n\t__webpack_require__(168);\n\t__webpack_require__(169);\n\t__webpack_require__(170);\n\t__webpack_require__(174);\n\t__webpack_require__(175);\n\t__webpack_require__(176);\n\t__webpack_require__(177);\n\t__webpack_require__(178);\n\t__webpack_require__(180);\n\t__webpack_require__(181);\n\t__webpack_require__(182);\n\t__webpack_require__(183);\n\t__webpack_require__(186);\n\t__webpack_require__(188);\n\t__webpack_require__(189);\n\t__webpack_require__(190);\n\t__webpack_require__(192);\n\t__webpack_require__(194);\n\t__webpack_require__(196);\n\t__webpack_require__(197);\n\t__webpack_require__(198);\n\t__webpack_require__(200);\n\t__webpack_require__(201);\n\t__webpack_require__(202);\n\t__webpack_require__(203);\n\t__webpack_require__(210);\n\t__webpack_require__(213);\n\t__webpack_require__(214);\n\t__webpack_require__(216);\n\t__webpack_require__(217);\n\t__webpack_require__(220);\n\t__webpack_require__(221);\n\t__webpack_require__(223);\n\t__webpack_require__(224);\n\t__webpack_require__(225);\n\t__webpack_require__(226);\n\t__webpack_require__(227);\n\t__webpack_require__(228);\n\t__webpack_require__(229);\n\t__webpack_require__(230);\n\t__webpack_require__(231);\n\t__webpack_require__(232);\n\t__webpack_require__(233);\n\t__webpack_require__(234);\n\t__webpack_require__(235);\n\t__webpack_require__(236);\n\t__webpack_require__(237);\n\t__webpack_require__(238);\n\t__webpack_require__(239);\n\t__webpack_require__(240);\n\t__webpack_require__(241);\n\t__webpack_require__(243);\n\t__webpack_require__(244);\n\t__webpack_require__(245);\n\tmodule.exports = __webpack_require__(8);\n\n/***/ },\n/* 2 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// ECMAScript 6 symbols shim\n\tvar global = __webpack_require__(3)\n\t , has = __webpack_require__(4)\n\t , DESCRIPTORS = __webpack_require__(5)\n\t , $export = __webpack_require__(7)\n\t , redefine = __webpack_require__(17)\n\t , META = __webpack_require__(21).KEY\n\t , $fails = __webpack_require__(6)\n\t , shared = __webpack_require__(22)\n\t , setToStringTag = __webpack_require__(23)\n\t , uid = __webpack_require__(18)\n\t , wks = __webpack_require__(24)\n\t , wksExt = __webpack_require__(25)\n\t , wksDefine = __webpack_require__(26)\n\t , keyOf = __webpack_require__(28)\n\t , enumKeys = __webpack_require__(41)\n\t , isArray = __webpack_require__(44)\n\t , anObject = __webpack_require__(11)\n\t , toIObject = __webpack_require__(31)\n\t , toPrimitive = __webpack_require__(15)\n\t , createDesc = __webpack_require__(16)\n\t , _create = __webpack_require__(45)\n\t , gOPNExt = __webpack_require__(48)\n\t , $GOPD = __webpack_require__(50)\n\t , $DP = __webpack_require__(10)\n\t , $keys = __webpack_require__(29)\n\t , gOPD = $GOPD.f\n\t , dP = $DP.f\n\t , gOPN = gOPNExt.f\n\t , $Symbol = global.Symbol\n\t , $JSON = global.JSON\n\t , _stringify = $JSON && $JSON.stringify\n\t , PROTOTYPE = 'prototype'\n\t , HIDDEN = wks('_hidden')\n\t , TO_PRIMITIVE = wks('toPrimitive')\n\t , isEnum = {}.propertyIsEnumerable\n\t , SymbolRegistry = shared('symbol-registry')\n\t , AllSymbols = shared('symbols')\n\t , OPSymbols = shared('op-symbols')\n\t , ObjectProto = Object[PROTOTYPE]\n\t , USE_NATIVE = typeof $Symbol == 'function'\n\t , QObject = global.QObject;\n\t// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\n\tvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\t\n\t// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\n\tvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n\t return _create(dP({}, 'a', {\n\t get: function(){ return dP(this, 'a', {value: 7}).a; }\n\t })).a != 7;\n\t}) ? function(it, key, D){\n\t var protoDesc = gOPD(ObjectProto, key);\n\t if(protoDesc)delete ObjectProto[key];\n\t dP(it, key, D);\n\t if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n\t} : dP;\n\t\n\tvar wrap = function(tag){\n\t var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n\t sym._k = tag;\n\t return sym;\n\t};\n\t\n\tvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n\t return typeof it == 'symbol';\n\t} : function(it){\n\t return it instanceof $Symbol;\n\t};\n\t\n\tvar $defineProperty = function defineProperty(it, key, D){\n\t if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n\t anObject(it);\n\t key = toPrimitive(key, true);\n\t anObject(D);\n\t if(has(AllSymbols, key)){\n\t if(!D.enumerable){\n\t if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n\t it[HIDDEN][key] = true;\n\t } else {\n\t if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n\t D = _create(D, {enumerable: createDesc(0, false)});\n\t } return setSymbolDesc(it, key, D);\n\t } return dP(it, key, D);\n\t};\n\tvar $defineProperties = function defineProperties(it, P){\n\t anObject(it);\n\t var keys = enumKeys(P = toIObject(P))\n\t , i = 0\n\t , l = keys.length\n\t , key;\n\t while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n\t return it;\n\t};\n\tvar $create = function create(it, P){\n\t return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n\t};\n\tvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n\t var E = isEnum.call(this, key = toPrimitive(key, true));\n\t if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n\t return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n\t};\n\tvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n\t it = toIObject(it);\n\t key = toPrimitive(key, true);\n\t if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n\t var D = gOPD(it, key);\n\t if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n\t return D;\n\t};\n\tvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n\t var names = gOPN(toIObject(it))\n\t , result = []\n\t , i = 0\n\t , key;\n\t while(names.length > i){\n\t if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n\t } return result;\n\t};\n\tvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n\t var IS_OP = it === ObjectProto\n\t , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n\t , result = []\n\t , i = 0\n\t , key;\n\t while(names.length > i){\n\t if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n\t } return result;\n\t};\n\t\n\t// 19.4.1.1 Symbol([description])\n\tif(!USE_NATIVE){\n\t $Symbol = function Symbol(){\n\t if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n\t var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n\t var $set = function(value){\n\t if(this === ObjectProto)$set.call(OPSymbols, value);\n\t if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n\t setSymbolDesc(this, tag, createDesc(1, value));\n\t };\n\t if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n\t return wrap(tag);\n\t };\n\t redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n\t return this._k;\n\t });\n\t\n\t $GOPD.f = $getOwnPropertyDescriptor;\n\t $DP.f = $defineProperty;\n\t __webpack_require__(49).f = gOPNExt.f = $getOwnPropertyNames;\n\t __webpack_require__(43).f = $propertyIsEnumerable;\n\t __webpack_require__(42).f = $getOwnPropertySymbols;\n\t\n\t if(DESCRIPTORS && !__webpack_require__(27)){\n\t redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n\t }\n\t\n\t wksExt.f = function(name){\n\t return wrap(wks(name));\n\t }\n\t}\n\t\n\t$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\t\n\tfor(var symbols = (\n\t // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n\t 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n\t).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\t\n\tfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\t\n\t$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n\t // 19.4.2.1 Symbol.for(key)\n\t 'for': function(key){\n\t return has(SymbolRegistry, key += '')\n\t ? SymbolRegistry[key]\n\t : SymbolRegistry[key] = $Symbol(key);\n\t },\n\t // 19.4.2.5 Symbol.keyFor(sym)\n\t keyFor: function keyFor(key){\n\t if(isSymbol(key))return keyOf(SymbolRegistry, key);\n\t throw TypeError(key + ' is not a symbol!');\n\t },\n\t useSetter: function(){ setter = true; },\n\t useSimple: function(){ setter = false; }\n\t});\n\t\n\t$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n\t // 19.1.2.2 Object.create(O [, Properties])\n\t create: $create,\n\t // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n\t defineProperty: $defineProperty,\n\t // 19.1.2.3 Object.defineProperties(O, Properties)\n\t defineProperties: $defineProperties,\n\t // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n\t getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n\t // 19.1.2.7 Object.getOwnPropertyNames(O)\n\t getOwnPropertyNames: $getOwnPropertyNames,\n\t // 19.1.2.8 Object.getOwnPropertySymbols(O)\n\t getOwnPropertySymbols: $getOwnPropertySymbols\n\t});\n\t\n\t// 24.3.2 JSON.stringify(value [, replacer [, space]])\n\t$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n\t var S = $Symbol();\n\t // MS Edge converts symbol values to JSON as {}\n\t // WebKit converts symbol values to JSON as null\n\t // V8 throws on boxed symbols\n\t return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n\t})), 'JSON', {\n\t stringify: function stringify(it){\n\t if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n\t var args = [it]\n\t , i = 1\n\t , replacer, $replacer;\n\t while(arguments.length > i)args.push(arguments[i++]);\n\t replacer = args[1];\n\t if(typeof replacer == 'function')$replacer = replacer;\n\t if($replacer || !isArray(replacer))replacer = function(key, value){\n\t if($replacer)value = $replacer.call(this, key, value);\n\t if(!isSymbol(value))return value;\n\t };\n\t args[1] = replacer;\n\t return _stringify.apply($JSON, args);\n\t }\n\t});\n\t\n\t// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n\t$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(9)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n\t// 19.4.3.5 Symbol.prototype[@@toStringTag]\n\tsetToStringTag($Symbol, 'Symbol');\n\t// 20.2.1.9 Math[@@toStringTag]\n\tsetToStringTag(Math, 'Math', true);\n\t// 24.3.3 JSON[@@toStringTag]\n\tsetToStringTag(global.JSON, 'JSON', true);\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n\tvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n\t ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\n\tif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\tvar hasOwnProperty = {}.hasOwnProperty;\n\tmodule.exports = function(it, key){\n\t return hasOwnProperty.call(it, key);\n\t};\n\n/***/ },\n/* 5 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Thank's IE8 for his funny defineProperty\n\tmodule.exports = !__webpack_require__(6)(function(){\n\t return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n\t});\n\n/***/ },\n/* 6 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(exec){\n\t try {\n\t return !!exec();\n\t } catch(e){\n\t return true;\n\t }\n\t};\n\n/***/ },\n/* 7 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , core = __webpack_require__(8)\n\t , hide = __webpack_require__(9)\n\t , redefine = __webpack_require__(17)\n\t , ctx = __webpack_require__(19)\n\t , PROTOTYPE = 'prototype';\n\t\n\tvar $export = function(type, name, source){\n\t var IS_FORCED = type & $export.F\n\t , IS_GLOBAL = type & $export.G\n\t , IS_STATIC = type & $export.S\n\t , IS_PROTO = type & $export.P\n\t , IS_BIND = type & $export.B\n\t , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n\t , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n\t , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n\t , key, own, out, exp;\n\t if(IS_GLOBAL)source = name;\n\t for(key in source){\n\t // contains in native\n\t own = !IS_FORCED && target && target[key] !== undefined;\n\t // export native or passed\n\t out = (own ? target : source)[key];\n\t // bind timers to global for call from export context\n\t exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n\t // extend global\n\t if(target)redefine(target, key, out, type & $export.U);\n\t // export\n\t if(exports[key] != out)hide(exports, key, exp);\n\t if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n\t }\n\t};\n\tglobal.core = core;\n\t// type bitmap\n\t$export.F = 1; // forced\n\t$export.G = 2; // global\n\t$export.S = 4; // static\n\t$export.P = 8; // proto\n\t$export.B = 16; // bind\n\t$export.W = 32; // wrap\n\t$export.U = 64; // safe\n\t$export.R = 128; // real proto method for `library` \n\tmodule.exports = $export;\n\n/***/ },\n/* 8 */\n/***/ function(module, exports) {\n\n\tvar core = module.exports = {version: '2.4.0'};\n\tif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(10)\n\t , createDesc = __webpack_require__(16);\n\tmodule.exports = __webpack_require__(5) ? function(object, key, value){\n\t return dP.f(object, key, createDesc(1, value));\n\t} : function(object, key, value){\n\t object[key] = value;\n\t return object;\n\t};\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar anObject = __webpack_require__(11)\n\t , IE8_DOM_DEFINE = __webpack_require__(13)\n\t , toPrimitive = __webpack_require__(15)\n\t , dP = Object.defineProperty;\n\t\n\texports.f = __webpack_require__(5) ? Object.defineProperty : function defineProperty(O, P, Attributes){\n\t anObject(O);\n\t P = toPrimitive(P, true);\n\t anObject(Attributes);\n\t if(IE8_DOM_DEFINE)try {\n\t return dP(O, P, Attributes);\n\t } catch(e){ /* empty */ }\n\t if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n\t if('value' in Attributes)O[P] = Attributes.value;\n\t return O;\n\t};\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(12);\n\tmodule.exports = function(it){\n\t if(!isObject(it))throw TypeError(it + ' is not an object!');\n\t return it;\n\t};\n\n/***/ },\n/* 12 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it){\n\t return typeof it === 'object' ? it !== null : typeof it === 'function';\n\t};\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = !__webpack_require__(5) && !__webpack_require__(6)(function(){\n\t return Object.defineProperty(__webpack_require__(14)('div'), 'a', {get: function(){ return 7; }}).a != 7;\n\t});\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(12)\n\t , document = __webpack_require__(3).document\n\t // in old IE typeof document.createElement is 'object'\n\t , is = isObject(document) && isObject(document.createElement);\n\tmodule.exports = function(it){\n\t return is ? document.createElement(it) : {};\n\t};\n\n/***/ },\n/* 15 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.1 ToPrimitive(input [, PreferredType])\n\tvar isObject = __webpack_require__(12);\n\t// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n\t// and the second argument - flag - preferred type is a string\n\tmodule.exports = function(it, S){\n\t if(!isObject(it))return it;\n\t var fn, val;\n\t if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n\t if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n\t if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n\t throw TypeError(\"Can't convert object to primitive value\");\n\t};\n\n/***/ },\n/* 16 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(bitmap, value){\n\t return {\n\t enumerable : !(bitmap & 1),\n\t configurable: !(bitmap & 2),\n\t writable : !(bitmap & 4),\n\t value : value\n\t };\n\t};\n\n/***/ },\n/* 17 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , hide = __webpack_require__(9)\n\t , has = __webpack_require__(4)\n\t , SRC = __webpack_require__(18)('src')\n\t , TO_STRING = 'toString'\n\t , $toString = Function[TO_STRING]\n\t , TPL = ('' + $toString).split(TO_STRING);\n\t\n\t__webpack_require__(8).inspectSource = function(it){\n\t return $toString.call(it);\n\t};\n\t\n\t(module.exports = function(O, key, val, safe){\n\t var isFunction = typeof val == 'function';\n\t if(isFunction)has(val, 'name') || hide(val, 'name', key);\n\t if(O[key] === val)return;\n\t if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n\t if(O === global){\n\t O[key] = val;\n\t } else {\n\t if(!safe){\n\t delete O[key];\n\t hide(O, key, val);\n\t } else {\n\t if(O[key])O[key] = val;\n\t else hide(O, key, val);\n\t }\n\t }\n\t// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n\t})(Function.prototype, TO_STRING, function toString(){\n\t return typeof this == 'function' && this[SRC] || $toString.call(this);\n\t});\n\n/***/ },\n/* 18 */\n/***/ function(module, exports) {\n\n\tvar id = 0\n\t , px = Math.random();\n\tmodule.exports = function(key){\n\t return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n\t};\n\n/***/ },\n/* 19 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// optional / simple context binding\n\tvar aFunction = __webpack_require__(20);\n\tmodule.exports = function(fn, that, length){\n\t aFunction(fn);\n\t if(that === undefined)return fn;\n\t switch(length){\n\t case 1: return function(a){\n\t return fn.call(that, a);\n\t };\n\t case 2: return function(a, b){\n\t return fn.call(that, a, b);\n\t };\n\t case 3: return function(a, b, c){\n\t return fn.call(that, a, b, c);\n\t };\n\t }\n\t return function(/* ...args */){\n\t return fn.apply(that, arguments);\n\t };\n\t};\n\n/***/ },\n/* 20 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it){\n\t if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n\t return it;\n\t};\n\n/***/ },\n/* 21 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar META = __webpack_require__(18)('meta')\n\t , isObject = __webpack_require__(12)\n\t , has = __webpack_require__(4)\n\t , setDesc = __webpack_require__(10).f\n\t , id = 0;\n\tvar isExtensible = Object.isExtensible || function(){\n\t return true;\n\t};\n\tvar FREEZE = !__webpack_require__(6)(function(){\n\t return isExtensible(Object.preventExtensions({}));\n\t});\n\tvar setMeta = function(it){\n\t setDesc(it, META, {value: {\n\t i: 'O' + ++id, // object ID\n\t w: {} // weak collections IDs\n\t }});\n\t};\n\tvar fastKey = function(it, create){\n\t // return primitive with prefix\n\t if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n\t if(!has(it, META)){\n\t // can't set metadata to uncaught frozen object\n\t if(!isExtensible(it))return 'F';\n\t // not necessary to add metadata\n\t if(!create)return 'E';\n\t // add missing metadata\n\t setMeta(it);\n\t // return object ID\n\t } return it[META].i;\n\t};\n\tvar getWeak = function(it, create){\n\t if(!has(it, META)){\n\t // can't set metadata to uncaught frozen object\n\t if(!isExtensible(it))return true;\n\t // not necessary to add metadata\n\t if(!create)return false;\n\t // add missing metadata\n\t setMeta(it);\n\t // return hash weak collections IDs\n\t } return it[META].w;\n\t};\n\t// add metadata on freeze-family methods calling\n\tvar onFreeze = function(it){\n\t if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n\t return it;\n\t};\n\tvar meta = module.exports = {\n\t KEY: META,\n\t NEED: false,\n\t fastKey: fastKey,\n\t getWeak: getWeak,\n\t onFreeze: onFreeze\n\t};\n\n/***/ },\n/* 22 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , SHARED = '__core-js_shared__'\n\t , store = global[SHARED] || (global[SHARED] = {});\n\tmodule.exports = function(key){\n\t return store[key] || (store[key] = {});\n\t};\n\n/***/ },\n/* 23 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar def = __webpack_require__(10).f\n\t , has = __webpack_require__(4)\n\t , TAG = __webpack_require__(24)('toStringTag');\n\t\n\tmodule.exports = function(it, tag, stat){\n\t if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n\t};\n\n/***/ },\n/* 24 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar store = __webpack_require__(22)('wks')\n\t , uid = __webpack_require__(18)\n\t , Symbol = __webpack_require__(3).Symbol\n\t , USE_SYMBOL = typeof Symbol == 'function';\n\t\n\tvar $exports = module.exports = function(name){\n\t return store[name] || (store[name] =\n\t USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n\t};\n\t\n\t$exports.store = store;\n\n/***/ },\n/* 25 */\n/***/ function(module, exports, __webpack_require__) {\n\n\texports.f = __webpack_require__(24);\n\n/***/ },\n/* 26 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , core = __webpack_require__(8)\n\t , LIBRARY = __webpack_require__(27)\n\t , wksExt = __webpack_require__(25)\n\t , defineProperty = __webpack_require__(10).f;\n\tmodule.exports = function(name){\n\t var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n\t if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n\t};\n\n/***/ },\n/* 27 */\n/***/ function(module, exports) {\n\n\tmodule.exports = false;\n\n/***/ },\n/* 28 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getKeys = __webpack_require__(29)\n\t , toIObject = __webpack_require__(31);\n\tmodule.exports = function(object, el){\n\t var O = toIObject(object)\n\t , keys = getKeys(O)\n\t , length = keys.length\n\t , index = 0\n\t , key;\n\t while(length > index)if(O[key = keys[index++]] === el)return key;\n\t};\n\n/***/ },\n/* 29 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.14 / 15.2.3.14 Object.keys(O)\n\tvar $keys = __webpack_require__(30)\n\t , enumBugKeys = __webpack_require__(40);\n\t\n\tmodule.exports = Object.keys || function keys(O){\n\t return $keys(O, enumBugKeys);\n\t};\n\n/***/ },\n/* 30 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar has = __webpack_require__(4)\n\t , toIObject = __webpack_require__(31)\n\t , arrayIndexOf = __webpack_require__(35)(false)\n\t , IE_PROTO = __webpack_require__(39)('IE_PROTO');\n\t\n\tmodule.exports = function(object, names){\n\t var O = toIObject(object)\n\t , i = 0\n\t , result = []\n\t , key;\n\t for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n\t // Don't enum bug & hidden keys\n\t while(names.length > i)if(has(O, key = names[i++])){\n\t ~arrayIndexOf(result, key) || result.push(key);\n\t }\n\t return result;\n\t};\n\n/***/ },\n/* 31 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// to indexed object, toObject with fallback for non-array-like ES3 strings\n\tvar IObject = __webpack_require__(32)\n\t , defined = __webpack_require__(34);\n\tmodule.exports = function(it){\n\t return IObject(defined(it));\n\t};\n\n/***/ },\n/* 32 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// fallback for non-array-like ES3 and non-enumerable old V8 strings\n\tvar cof = __webpack_require__(33);\n\tmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n\t return cof(it) == 'String' ? it.split('') : Object(it);\n\t};\n\n/***/ },\n/* 33 */\n/***/ function(module, exports) {\n\n\tvar toString = {}.toString;\n\t\n\tmodule.exports = function(it){\n\t return toString.call(it).slice(8, -1);\n\t};\n\n/***/ },\n/* 34 */\n/***/ function(module, exports) {\n\n\t// 7.2.1 RequireObjectCoercible(argument)\n\tmodule.exports = function(it){\n\t if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n\t return it;\n\t};\n\n/***/ },\n/* 35 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// false -> Array#indexOf\n\t// true -> Array#includes\n\tvar toIObject = __webpack_require__(31)\n\t , toLength = __webpack_require__(36)\n\t , toIndex = __webpack_require__(38);\n\tmodule.exports = function(IS_INCLUDES){\n\t return function($this, el, fromIndex){\n\t var O = toIObject($this)\n\t , length = toLength(O.length)\n\t , index = toIndex(fromIndex, length)\n\t , value;\n\t // Array#includes uses SameValueZero equality algorithm\n\t if(IS_INCLUDES && el != el)while(length > index){\n\t value = O[index++];\n\t if(value != value)return true;\n\t // Array#toIndex ignores holes, Array#includes - not\n\t } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n\t if(O[index] === el)return IS_INCLUDES || index || 0;\n\t } return !IS_INCLUDES && -1;\n\t };\n\t};\n\n/***/ },\n/* 36 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.15 ToLength\n\tvar toInteger = __webpack_require__(37)\n\t , min = Math.min;\n\tmodule.exports = function(it){\n\t return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n\t};\n\n/***/ },\n/* 37 */\n/***/ function(module, exports) {\n\n\t// 7.1.4 ToInteger\n\tvar ceil = Math.ceil\n\t , floor = Math.floor;\n\tmodule.exports = function(it){\n\t return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n\t};\n\n/***/ },\n/* 38 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar toInteger = __webpack_require__(37)\n\t , max = Math.max\n\t , min = Math.min;\n\tmodule.exports = function(index, length){\n\t index = toInteger(index);\n\t return index < 0 ? max(index + length, 0) : min(index, length);\n\t};\n\n/***/ },\n/* 39 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar shared = __webpack_require__(22)('keys')\n\t , uid = __webpack_require__(18);\n\tmodule.exports = function(key){\n\t return shared[key] || (shared[key] = uid(key));\n\t};\n\n/***/ },\n/* 40 */\n/***/ function(module, exports) {\n\n\t// IE 8- don't enum bug keys\n\tmodule.exports = (\n\t 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n\t).split(',');\n\n/***/ },\n/* 41 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// all enumerable object keys, includes symbols\n\tvar getKeys = __webpack_require__(29)\n\t , gOPS = __webpack_require__(42)\n\t , pIE = __webpack_require__(43);\n\tmodule.exports = function(it){\n\t var result = getKeys(it)\n\t , getSymbols = gOPS.f;\n\t if(getSymbols){\n\t var symbols = getSymbols(it)\n\t , isEnum = pIE.f\n\t , i = 0\n\t , key;\n\t while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n\t } return result;\n\t};\n\n/***/ },\n/* 42 */\n/***/ function(module, exports) {\n\n\texports.f = Object.getOwnPropertySymbols;\n\n/***/ },\n/* 43 */\n/***/ function(module, exports) {\n\n\texports.f = {}.propertyIsEnumerable;\n\n/***/ },\n/* 44 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.2.2 IsArray(argument)\n\tvar cof = __webpack_require__(33);\n\tmodule.exports = Array.isArray || function isArray(arg){\n\t return cof(arg) == 'Array';\n\t};\n\n/***/ },\n/* 45 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n\tvar anObject = __webpack_require__(11)\n\t , dPs = __webpack_require__(46)\n\t , enumBugKeys = __webpack_require__(40)\n\t , IE_PROTO = __webpack_require__(39)('IE_PROTO')\n\t , Empty = function(){ /* empty */ }\n\t , PROTOTYPE = 'prototype';\n\t\n\t// Create object with fake `null` prototype: use iframe Object with cleared prototype\n\tvar createDict = function(){\n\t // Thrash, waste and sodomy: IE GC bug\n\t var iframe = __webpack_require__(14)('iframe')\n\t , i = enumBugKeys.length\n\t , lt = '<'\n\t , gt = '>'\n\t , iframeDocument;\n\t iframe.style.display = 'none';\n\t __webpack_require__(47).appendChild(iframe);\n\t iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n\t // createDict = iframe.contentWindow.Object;\n\t // html.removeChild(iframe);\n\t iframeDocument = iframe.contentWindow.document;\n\t iframeDocument.open();\n\t iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n\t iframeDocument.close();\n\t createDict = iframeDocument.F;\n\t while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n\t return createDict();\n\t};\n\t\n\tmodule.exports = Object.create || function create(O, Properties){\n\t var result;\n\t if(O !== null){\n\t Empty[PROTOTYPE] = anObject(O);\n\t result = new Empty;\n\t Empty[PROTOTYPE] = null;\n\t // add \"__proto__\" for Object.getPrototypeOf polyfill\n\t result[IE_PROTO] = O;\n\t } else result = createDict();\n\t return Properties === undefined ? result : dPs(result, Properties);\n\t};\n\n\n/***/ },\n/* 46 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(10)\n\t , anObject = __webpack_require__(11)\n\t , getKeys = __webpack_require__(29);\n\t\n\tmodule.exports = __webpack_require__(5) ? Object.defineProperties : function defineProperties(O, Properties){\n\t anObject(O);\n\t var keys = getKeys(Properties)\n\t , length = keys.length\n\t , i = 0\n\t , P;\n\t while(length > i)dP.f(O, P = keys[i++], Properties[P]);\n\t return O;\n\t};\n\n/***/ },\n/* 47 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(3).document && document.documentElement;\n\n/***/ },\n/* 48 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\n\tvar toIObject = __webpack_require__(31)\n\t , gOPN = __webpack_require__(49).f\n\t , toString = {}.toString;\n\t\n\tvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n\t ? Object.getOwnPropertyNames(window) : [];\n\t\n\tvar getWindowNames = function(it){\n\t try {\n\t return gOPN(it);\n\t } catch(e){\n\t return windowNames.slice();\n\t }\n\t};\n\t\n\tmodule.exports.f = function getOwnPropertyNames(it){\n\t return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n\t};\n\n\n/***/ },\n/* 49 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\n\tvar $keys = __webpack_require__(30)\n\t , hiddenKeys = __webpack_require__(40).concat('length', 'prototype');\n\t\n\texports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){\n\t return $keys(O, hiddenKeys);\n\t};\n\n/***/ },\n/* 50 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar pIE = __webpack_require__(43)\n\t , createDesc = __webpack_require__(16)\n\t , toIObject = __webpack_require__(31)\n\t , toPrimitive = __webpack_require__(15)\n\t , has = __webpack_require__(4)\n\t , IE8_DOM_DEFINE = __webpack_require__(13)\n\t , gOPD = Object.getOwnPropertyDescriptor;\n\t\n\texports.f = __webpack_require__(5) ? gOPD : function getOwnPropertyDescriptor(O, P){\n\t O = toIObject(O);\n\t P = toPrimitive(P, true);\n\t if(IE8_DOM_DEFINE)try {\n\t return gOPD(O, P);\n\t } catch(e){ /* empty */ }\n\t if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n\t};\n\n/***/ },\n/* 51 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n\t$export($export.S, 'Object', {create: __webpack_require__(45)});\n\n/***/ },\n/* 52 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7);\n\t// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n\t$export($export.S + $export.F * !__webpack_require__(5), 'Object', {defineProperty: __webpack_require__(10).f});\n\n/***/ },\n/* 53 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7);\n\t// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n\t$export($export.S + $export.F * !__webpack_require__(5), 'Object', {defineProperties: __webpack_require__(46)});\n\n/***/ },\n/* 54 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n\tvar toIObject = __webpack_require__(31)\n\t , $getOwnPropertyDescriptor = __webpack_require__(50).f;\n\t\n\t__webpack_require__(55)('getOwnPropertyDescriptor', function(){\n\t return function getOwnPropertyDescriptor(it, key){\n\t return $getOwnPropertyDescriptor(toIObject(it), key);\n\t };\n\t});\n\n/***/ },\n/* 55 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// most Object methods by ES6 should accept primitives\n\tvar $export = __webpack_require__(7)\n\t , core = __webpack_require__(8)\n\t , fails = __webpack_require__(6);\n\tmodule.exports = function(KEY, exec){\n\t var fn = (core.Object || {})[KEY] || Object[KEY]\n\t , exp = {};\n\t exp[KEY] = exec(fn);\n\t $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n\t};\n\n/***/ },\n/* 56 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.9 Object.getPrototypeOf(O)\n\tvar toObject = __webpack_require__(57)\n\t , $getPrototypeOf = __webpack_require__(58);\n\t\n\t__webpack_require__(55)('getPrototypeOf', function(){\n\t return function getPrototypeOf(it){\n\t return $getPrototypeOf(toObject(it));\n\t };\n\t});\n\n/***/ },\n/* 57 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.1.13 ToObject(argument)\n\tvar defined = __webpack_require__(34);\n\tmodule.exports = function(it){\n\t return Object(defined(it));\n\t};\n\n/***/ },\n/* 58 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\n\tvar has = __webpack_require__(4)\n\t , toObject = __webpack_require__(57)\n\t , IE_PROTO = __webpack_require__(39)('IE_PROTO')\n\t , ObjectProto = Object.prototype;\n\t\n\tmodule.exports = Object.getPrototypeOf || function(O){\n\t O = toObject(O);\n\t if(has(O, IE_PROTO))return O[IE_PROTO];\n\t if(typeof O.constructor == 'function' && O instanceof O.constructor){\n\t return O.constructor.prototype;\n\t } return O instanceof Object ? ObjectProto : null;\n\t};\n\n/***/ },\n/* 59 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.14 Object.keys(O)\n\tvar toObject = __webpack_require__(57)\n\t , $keys = __webpack_require__(29);\n\t\n\t__webpack_require__(55)('keys', function(){\n\t return function keys(it){\n\t return $keys(toObject(it));\n\t };\n\t});\n\n/***/ },\n/* 60 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.7 Object.getOwnPropertyNames(O)\n\t__webpack_require__(55)('getOwnPropertyNames', function(){\n\t return __webpack_require__(48).f;\n\t});\n\n/***/ },\n/* 61 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.5 Object.freeze(O)\n\tvar isObject = __webpack_require__(12)\n\t , meta = __webpack_require__(21).onFreeze;\n\t\n\t__webpack_require__(55)('freeze', function($freeze){\n\t return function freeze(it){\n\t return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 62 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.17 Object.seal(O)\n\tvar isObject = __webpack_require__(12)\n\t , meta = __webpack_require__(21).onFreeze;\n\t\n\t__webpack_require__(55)('seal', function($seal){\n\t return function seal(it){\n\t return $seal && isObject(it) ? $seal(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 63 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.15 Object.preventExtensions(O)\n\tvar isObject = __webpack_require__(12)\n\t , meta = __webpack_require__(21).onFreeze;\n\t\n\t__webpack_require__(55)('preventExtensions', function($preventExtensions){\n\t return function preventExtensions(it){\n\t return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 64 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.12 Object.isFrozen(O)\n\tvar isObject = __webpack_require__(12);\n\t\n\t__webpack_require__(55)('isFrozen', function($isFrozen){\n\t return function isFrozen(it){\n\t return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n\t };\n\t});\n\n/***/ },\n/* 65 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.13 Object.isSealed(O)\n\tvar isObject = __webpack_require__(12);\n\t\n\t__webpack_require__(55)('isSealed', function($isSealed){\n\t return function isSealed(it){\n\t return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n\t };\n\t});\n\n/***/ },\n/* 66 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.11 Object.isExtensible(O)\n\tvar isObject = __webpack_require__(12);\n\t\n\t__webpack_require__(55)('isExtensible', function($isExtensible){\n\t return function isExtensible(it){\n\t return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n\t };\n\t});\n\n/***/ },\n/* 67 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.1 Object.assign(target, source)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S + $export.F, 'Object', {assign: __webpack_require__(68)});\n\n/***/ },\n/* 68 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 19.1.2.1 Object.assign(target, source, ...)\n\tvar getKeys = __webpack_require__(29)\n\t , gOPS = __webpack_require__(42)\n\t , pIE = __webpack_require__(43)\n\t , toObject = __webpack_require__(57)\n\t , IObject = __webpack_require__(32)\n\t , $assign = Object.assign;\n\t\n\t// should work with symbols and should have deterministic property order (V8 bug)\n\tmodule.exports = !$assign || __webpack_require__(6)(function(){\n\t var A = {}\n\t , B = {}\n\t , S = Symbol()\n\t , K = 'abcdefghijklmnopqrst';\n\t A[S] = 7;\n\t K.split('').forEach(function(k){ B[k] = k; });\n\t return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n\t}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n\t var T = toObject(target)\n\t , aLen = arguments.length\n\t , index = 1\n\t , getSymbols = gOPS.f\n\t , isEnum = pIE.f;\n\t while(aLen > index){\n\t var S = IObject(arguments[index++])\n\t , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n\t , length = keys.length\n\t , j = 0\n\t , key;\n\t while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n\t } return T;\n\t} : $assign;\n\n/***/ },\n/* 69 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.10 Object.is(value1, value2)\n\tvar $export = __webpack_require__(7);\n\t$export($export.S, 'Object', {is: __webpack_require__(70)});\n\n/***/ },\n/* 70 */\n/***/ function(module, exports) {\n\n\t// 7.2.9 SameValue(x, y)\n\tmodule.exports = Object.is || function is(x, y){\n\t return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n\t};\n\n/***/ },\n/* 71 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.19 Object.setPrototypeOf(O, proto)\n\tvar $export = __webpack_require__(7);\n\t$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(72).set});\n\n/***/ },\n/* 72 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// Works with __proto__ only. Old v8 can't work with null proto objects.\n\t/* eslint-disable no-proto */\n\tvar isObject = __webpack_require__(12)\n\t , anObject = __webpack_require__(11);\n\tvar check = function(O, proto){\n\t anObject(O);\n\t if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n\t};\n\tmodule.exports = {\n\t set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n\t function(test, buggy, set){\n\t try {\n\t set = __webpack_require__(19)(Function.call, __webpack_require__(50).f(Object.prototype, '__proto__').set, 2);\n\t set(test, []);\n\t buggy = !(test instanceof Array);\n\t } catch(e){ buggy = true; }\n\t return function setPrototypeOf(O, proto){\n\t check(O, proto);\n\t if(buggy)O.__proto__ = proto;\n\t else set(O, proto);\n\t return O;\n\t };\n\t }({}, false) : undefined),\n\t check: check\n\t};\n\n/***/ },\n/* 73 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 19.1.3.6 Object.prototype.toString()\n\tvar classof = __webpack_require__(74)\n\t , test = {};\n\ttest[__webpack_require__(24)('toStringTag')] = 'z';\n\tif(test + '' != '[object z]'){\n\t __webpack_require__(17)(Object.prototype, 'toString', function toString(){\n\t return '[object ' + classof(this) + ']';\n\t }, true);\n\t}\n\n/***/ },\n/* 74 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// getting tag from 19.1.3.6 Object.prototype.toString()\n\tvar cof = __webpack_require__(33)\n\t , TAG = __webpack_require__(24)('toStringTag')\n\t // ES3 wrong here\n\t , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\t\n\t// fallback for IE11 Script Access Denied error\n\tvar tryGet = function(it, key){\n\t try {\n\t return it[key];\n\t } catch(e){ /* empty */ }\n\t};\n\t\n\tmodule.exports = function(it){\n\t var O, T, B;\n\t return it === undefined ? 'Undefined' : it === null ? 'Null'\n\t // @@toStringTag case\n\t : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n\t // builtinTag case\n\t : ARG ? cof(O)\n\t // ES3 arguments fallback\n\t : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n\t};\n\n/***/ },\n/* 75 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.P, 'Function', {bind: __webpack_require__(76)});\n\n/***/ },\n/* 76 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar aFunction = __webpack_require__(20)\n\t , isObject = __webpack_require__(12)\n\t , invoke = __webpack_require__(77)\n\t , arraySlice = [].slice\n\t , factories = {};\n\t\n\tvar construct = function(F, len, args){\n\t if(!(len in factories)){\n\t for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n\t factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n\t } return factories[len](F, args);\n\t};\n\t\n\tmodule.exports = Function.bind || function bind(that /*, args... */){\n\t var fn = aFunction(this)\n\t , partArgs = arraySlice.call(arguments, 1);\n\t var bound = function(/* args... */){\n\t var args = partArgs.concat(arraySlice.call(arguments));\n\t return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n\t };\n\t if(isObject(fn.prototype))bound.prototype = fn.prototype;\n\t return bound;\n\t};\n\n/***/ },\n/* 77 */\n/***/ function(module, exports) {\n\n\t// fast apply, http://jsperf.lnkit.com/fast-apply/5\n\tmodule.exports = function(fn, args, that){\n\t var un = that === undefined;\n\t switch(args.length){\n\t case 0: return un ? fn()\n\t : fn.call(that);\n\t case 1: return un ? fn(args[0])\n\t : fn.call(that, args[0]);\n\t case 2: return un ? fn(args[0], args[1])\n\t : fn.call(that, args[0], args[1]);\n\t case 3: return un ? fn(args[0], args[1], args[2])\n\t : fn.call(that, args[0], args[1], args[2]);\n\t case 4: return un ? fn(args[0], args[1], args[2], args[3])\n\t : fn.call(that, args[0], args[1], args[2], args[3]);\n\t } return fn.apply(that, args);\n\t};\n\n/***/ },\n/* 78 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(10).f\n\t , createDesc = __webpack_require__(16)\n\t , has = __webpack_require__(4)\n\t , FProto = Function.prototype\n\t , nameRE = /^\\s*function ([^ (]*)/\n\t , NAME = 'name';\n\t\n\tvar isExtensible = Object.isExtensible || function(){\n\t return true;\n\t};\n\t\n\t// 19.2.4.2 name\n\tNAME in FProto || __webpack_require__(5) && dP(FProto, NAME, {\n\t configurable: true,\n\t get: function(){\n\t try {\n\t var that = this\n\t , name = ('' + that).match(nameRE)[1];\n\t has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));\n\t return name;\n\t } catch(e){\n\t return '';\n\t }\n\t }\n\t});\n\n/***/ },\n/* 79 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar isObject = __webpack_require__(12)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , HAS_INSTANCE = __webpack_require__(24)('hasInstance')\n\t , FunctionProto = Function.prototype;\n\t// 19.2.3.6 Function.prototype[@@hasInstance](V)\n\tif(!(HAS_INSTANCE in FunctionProto))__webpack_require__(10).f(FunctionProto, HAS_INSTANCE, {value: function(O){\n\t if(typeof this != 'function' || !isObject(O))return false;\n\t if(!isObject(this.prototype))return O instanceof this;\n\t // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n\t while(O = getPrototypeOf(O))if(this.prototype === O)return true;\n\t return false;\n\t}});\n\n/***/ },\n/* 80 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , $parseInt = __webpack_require__(81);\n\t// 18.2.5 parseInt(string, radix)\n\t$export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});\n\n/***/ },\n/* 81 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $parseInt = __webpack_require__(3).parseInt\n\t , $trim = __webpack_require__(82).trim\n\t , ws = __webpack_require__(83)\n\t , hex = /^[\\-+]?0[xX]/;\n\t\n\tmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){\n\t var string = $trim(String(str), 3);\n\t return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n\t} : $parseInt;\n\n/***/ },\n/* 82 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , defined = __webpack_require__(34)\n\t , fails = __webpack_require__(6)\n\t , spaces = __webpack_require__(83)\n\t , space = '[' + spaces + ']'\n\t , non = '\\u200b\\u0085'\n\t , ltrim = RegExp('^' + space + space + '*')\n\t , rtrim = RegExp(space + space + '*$');\n\t\n\tvar exporter = function(KEY, exec, ALIAS){\n\t var exp = {};\n\t var FORCE = fails(function(){\n\t return !!spaces[KEY]() || non[KEY]() != non;\n\t });\n\t var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n\t if(ALIAS)exp[ALIAS] = fn;\n\t $export($export.P + $export.F * FORCE, 'String', exp);\n\t};\n\t\n\t// 1 -> String#trimLeft\n\t// 2 -> String#trimRight\n\t// 3 -> String#trim\n\tvar trim = exporter.trim = function(string, TYPE){\n\t string = String(defined(string));\n\t if(TYPE & 1)string = string.replace(ltrim, '');\n\t if(TYPE & 2)string = string.replace(rtrim, '');\n\t return string;\n\t};\n\t\n\tmodule.exports = exporter;\n\n/***/ },\n/* 83 */\n/***/ function(module, exports) {\n\n\tmodule.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n\t '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n/***/ },\n/* 84 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , $parseFloat = __webpack_require__(85);\n\t// 18.2.4 parseFloat(string)\n\t$export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});\n\n/***/ },\n/* 85 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $parseFloat = __webpack_require__(3).parseFloat\n\t , $trim = __webpack_require__(82).trim;\n\t\n\tmodule.exports = 1 / $parseFloat(__webpack_require__(83) + '-0') !== -Infinity ? function parseFloat(str){\n\t var string = $trim(String(str), 3)\n\t , result = $parseFloat(string);\n\t return result === 0 && string.charAt(0) == '-' ? -0 : result;\n\t} : $parseFloat;\n\n/***/ },\n/* 86 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(3)\n\t , has = __webpack_require__(4)\n\t , cof = __webpack_require__(33)\n\t , inheritIfRequired = __webpack_require__(87)\n\t , toPrimitive = __webpack_require__(15)\n\t , fails = __webpack_require__(6)\n\t , gOPN = __webpack_require__(49).f\n\t , gOPD = __webpack_require__(50).f\n\t , dP = __webpack_require__(10).f\n\t , $trim = __webpack_require__(82).trim\n\t , NUMBER = 'Number'\n\t , $Number = global[NUMBER]\n\t , Base = $Number\n\t , proto = $Number.prototype\n\t // Opera ~12 has broken Object#toString\n\t , BROKEN_COF = cof(__webpack_require__(45)(proto)) == NUMBER\n\t , TRIM = 'trim' in String.prototype;\n\t\n\t// 7.1.3 ToNumber(argument)\n\tvar toNumber = function(argument){\n\t var it = toPrimitive(argument, false);\n\t if(typeof it == 'string' && it.length > 2){\n\t it = TRIM ? it.trim() : $trim(it, 3);\n\t var first = it.charCodeAt(0)\n\t , third, radix, maxCode;\n\t if(first === 43 || first === 45){\n\t third = it.charCodeAt(2);\n\t if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n\t } else if(first === 48){\n\t switch(it.charCodeAt(1)){\n\t case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n\t case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n\t default : return +it;\n\t }\n\t for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n\t code = digits.charCodeAt(i);\n\t // parseInt parses a string to a first unavailable symbol\n\t // but ToNumber should return NaN if a string contains unavailable symbols\n\t if(code < 48 || code > maxCode)return NaN;\n\t } return parseInt(digits, radix);\n\t }\n\t } return +it;\n\t};\n\t\n\tif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n\t $Number = function Number(value){\n\t var it = arguments.length < 1 ? 0 : value\n\t , that = this;\n\t return that instanceof $Number\n\t // check on 1..constructor(foo) case\n\t && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n\t ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n\t };\n\t for(var keys = __webpack_require__(5) ? gOPN(Base) : (\n\t // ES3:\n\t 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n\t // ES6 (in case, if modules with ES6 Number statics required before):\n\t 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n\t 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n\t ).split(','), j = 0, key; keys.length > j; j++){\n\t if(has(Base, key = keys[j]) && !has($Number, key)){\n\t dP($Number, key, gOPD(Base, key));\n\t }\n\t }\n\t $Number.prototype = proto;\n\t proto.constructor = $Number;\n\t __webpack_require__(17)(global, NUMBER, $Number);\n\t}\n\n/***/ },\n/* 87 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(12)\n\t , setPrototypeOf = __webpack_require__(72).set;\n\tmodule.exports = function(that, target, C){\n\t var P, S = target.constructor;\n\t if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){\n\t setPrototypeOf(that, P);\n\t } return that;\n\t};\n\n/***/ },\n/* 88 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , toInteger = __webpack_require__(37)\n\t , aNumberValue = __webpack_require__(89)\n\t , repeat = __webpack_require__(90)\n\t , $toFixed = 1..toFixed\n\t , floor = Math.floor\n\t , data = [0, 0, 0, 0, 0, 0]\n\t , ERROR = 'Number.toFixed: incorrect invocation!'\n\t , ZERO = '0';\n\t\n\tvar multiply = function(n, c){\n\t var i = -1\n\t , c2 = c;\n\t while(++i < 6){\n\t c2 += n * data[i];\n\t data[i] = c2 % 1e7;\n\t c2 = floor(c2 / 1e7);\n\t }\n\t};\n\tvar divide = function(n){\n\t var i = 6\n\t , c = 0;\n\t while(--i >= 0){\n\t c += data[i];\n\t data[i] = floor(c / n);\n\t c = (c % n) * 1e7;\n\t }\n\t};\n\tvar numToString = function(){\n\t var i = 6\n\t , s = '';\n\t while(--i >= 0){\n\t if(s !== '' || i === 0 || data[i] !== 0){\n\t var t = String(data[i]);\n\t s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n\t }\n\t } return s;\n\t};\n\tvar pow = function(x, n, acc){\n\t return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n\t};\n\tvar log = function(x){\n\t var n = 0\n\t , x2 = x;\n\t while(x2 >= 4096){\n\t n += 12;\n\t x2 /= 4096;\n\t }\n\t while(x2 >= 2){\n\t n += 1;\n\t x2 /= 2;\n\t } return n;\n\t};\n\t\n\t$export($export.P + $export.F * (!!$toFixed && (\n\t 0.00008.toFixed(3) !== '0.000' ||\n\t 0.9.toFixed(0) !== '1' ||\n\t 1.255.toFixed(2) !== '1.25' ||\n\t 1000000000000000128..toFixed(0) !== '1000000000000000128'\n\t) || !__webpack_require__(6)(function(){\n\t // V8 ~ Android 4.3-\n\t $toFixed.call({});\n\t})), 'Number', {\n\t toFixed: function toFixed(fractionDigits){\n\t var x = aNumberValue(this, ERROR)\n\t , f = toInteger(fractionDigits)\n\t , s = ''\n\t , m = ZERO\n\t , e, z, j, k;\n\t if(f < 0 || f > 20)throw RangeError(ERROR);\n\t if(x != x)return 'NaN';\n\t if(x <= -1e21 || x >= 1e21)return String(x);\n\t if(x < 0){\n\t s = '-';\n\t x = -x;\n\t }\n\t if(x > 1e-21){\n\t e = log(x * pow(2, 69, 1)) - 69;\n\t z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n\t z *= 0x10000000000000;\n\t e = 52 - e;\n\t if(e > 0){\n\t multiply(0, z);\n\t j = f;\n\t while(j >= 7){\n\t multiply(1e7, 0);\n\t j -= 7;\n\t }\n\t multiply(pow(10, j, 1), 0);\n\t j = e - 1;\n\t while(j >= 23){\n\t divide(1 << 23);\n\t j -= 23;\n\t }\n\t divide(1 << j);\n\t multiply(1, 1);\n\t divide(2);\n\t m = numToString();\n\t } else {\n\t multiply(0, z);\n\t multiply(1 << -e, 0);\n\t m = numToString() + repeat.call(ZERO, f);\n\t }\n\t }\n\t if(f > 0){\n\t k = m.length;\n\t m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n\t } else {\n\t m = s + m;\n\t } return m;\n\t }\n\t});\n\n/***/ },\n/* 89 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar cof = __webpack_require__(33);\n\tmodule.exports = function(it, msg){\n\t if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);\n\t return +it;\n\t};\n\n/***/ },\n/* 90 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar toInteger = __webpack_require__(37)\n\t , defined = __webpack_require__(34);\n\t\n\tmodule.exports = function repeat(count){\n\t var str = String(defined(this))\n\t , res = ''\n\t , n = toInteger(count);\n\t if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n\t for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n\t return res;\n\t};\n\n/***/ },\n/* 91 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $fails = __webpack_require__(6)\n\t , aNumberValue = __webpack_require__(89)\n\t , $toPrecision = 1..toPrecision;\n\t\n\t$export($export.P + $export.F * ($fails(function(){\n\t // IE7-\n\t return $toPrecision.call(1, undefined) !== '1';\n\t}) || !$fails(function(){\n\t // V8 ~ Android 4.3-\n\t $toPrecision.call({});\n\t})), 'Number', {\n\t toPrecision: function toPrecision(precision){\n\t var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n\t return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); \n\t }\n\t});\n\n/***/ },\n/* 92 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.1 Number.EPSILON\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n\n/***/ },\n/* 93 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.2 Number.isFinite(number)\n\tvar $export = __webpack_require__(7)\n\t , _isFinite = __webpack_require__(3).isFinite;\n\t\n\t$export($export.S, 'Number', {\n\t isFinite: function isFinite(it){\n\t return typeof it == 'number' && _isFinite(it);\n\t }\n\t});\n\n/***/ },\n/* 94 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.3 Number.isInteger(number)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Number', {isInteger: __webpack_require__(95)});\n\n/***/ },\n/* 95 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.3 Number.isInteger(number)\n\tvar isObject = __webpack_require__(12)\n\t , floor = Math.floor;\n\tmodule.exports = function isInteger(it){\n\t return !isObject(it) && isFinite(it) && floor(it) === it;\n\t};\n\n/***/ },\n/* 96 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.4 Number.isNaN(number)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Number', {\n\t isNaN: function isNaN(number){\n\t return number != number;\n\t }\n\t});\n\n/***/ },\n/* 97 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.5 Number.isSafeInteger(number)\n\tvar $export = __webpack_require__(7)\n\t , isInteger = __webpack_require__(95)\n\t , abs = Math.abs;\n\t\n\t$export($export.S, 'Number', {\n\t isSafeInteger: function isSafeInteger(number){\n\t return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n\t }\n\t});\n\n/***/ },\n/* 98 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.6 Number.MAX_SAFE_INTEGER\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n\n/***/ },\n/* 99 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.10 Number.MIN_SAFE_INTEGER\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n\n/***/ },\n/* 100 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , $parseFloat = __webpack_require__(85);\n\t// 20.1.2.12 Number.parseFloat(string)\n\t$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});\n\n/***/ },\n/* 101 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , $parseInt = __webpack_require__(81);\n\t// 20.1.2.13 Number.parseInt(string, radix)\n\t$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});\n\n/***/ },\n/* 102 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.3 Math.acosh(x)\n\tvar $export = __webpack_require__(7)\n\t , log1p = __webpack_require__(103)\n\t , sqrt = Math.sqrt\n\t , $acosh = Math.acosh;\n\t\n\t$export($export.S + $export.F * !($acosh\n\t // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n\t && Math.floor($acosh(Number.MAX_VALUE)) == 710\n\t // Tor Browser bug: Math.acosh(Infinity) -> NaN \n\t && $acosh(Infinity) == Infinity\n\t), 'Math', {\n\t acosh: function acosh(x){\n\t return (x = +x) < 1 ? NaN : x > 94906265.62425156\n\t ? Math.log(x) + Math.LN2\n\t : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n\t }\n\t});\n\n/***/ },\n/* 103 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.20 Math.log1p(x)\n\tmodule.exports = Math.log1p || function log1p(x){\n\t return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n\t};\n\n/***/ },\n/* 104 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.5 Math.asinh(x)\n\tvar $export = __webpack_require__(7)\n\t , $asinh = Math.asinh;\n\t\n\tfunction asinh(x){\n\t return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n\t}\n\t\n\t// Tor Browser bug: Math.asinh(0) -> -0 \n\t$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});\n\n/***/ },\n/* 105 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.7 Math.atanh(x)\n\tvar $export = __webpack_require__(7)\n\t , $atanh = Math.atanh;\n\t\n\t// Tor Browser bug: Math.atanh(-0) -> 0 \n\t$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n\t atanh: function atanh(x){\n\t return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n\t }\n\t});\n\n/***/ },\n/* 106 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.9 Math.cbrt(x)\n\tvar $export = __webpack_require__(7)\n\t , sign = __webpack_require__(107);\n\t\n\t$export($export.S, 'Math', {\n\t cbrt: function cbrt(x){\n\t return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n\t }\n\t});\n\n/***/ },\n/* 107 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.28 Math.sign(x)\n\tmodule.exports = Math.sign || function sign(x){\n\t return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n\t};\n\n/***/ },\n/* 108 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.11 Math.clz32(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {\n\t clz32: function clz32(x){\n\t return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n\t }\n\t});\n\n/***/ },\n/* 109 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.12 Math.cosh(x)\n\tvar $export = __webpack_require__(7)\n\t , exp = Math.exp;\n\t\n\t$export($export.S, 'Math', {\n\t cosh: function cosh(x){\n\t return (exp(x = +x) + exp(-x)) / 2;\n\t }\n\t});\n\n/***/ },\n/* 110 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.14 Math.expm1(x)\n\tvar $export = __webpack_require__(7)\n\t , $expm1 = __webpack_require__(111);\n\t\n\t$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});\n\n/***/ },\n/* 111 */\n/***/ function(module, exports) {\n\n\t// 20.2.2.14 Math.expm1(x)\n\tvar $expm1 = Math.expm1;\n\tmodule.exports = (!$expm1\n\t // Old FF bug\n\t || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n\t // Tor Browser bug\n\t || $expm1(-2e-17) != -2e-17\n\t) ? function expm1(x){\n\t return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n\t} : $expm1;\n\n/***/ },\n/* 112 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.16 Math.fround(x)\n\tvar $export = __webpack_require__(7)\n\t , sign = __webpack_require__(107)\n\t , pow = Math.pow\n\t , EPSILON = pow(2, -52)\n\t , EPSILON32 = pow(2, -23)\n\t , MAX32 = pow(2, 127) * (2 - EPSILON32)\n\t , MIN32 = pow(2, -126);\n\t\n\tvar roundTiesToEven = function(n){\n\t return n + 1 / EPSILON - 1 / EPSILON;\n\t};\n\t\n\t\n\t$export($export.S, 'Math', {\n\t fround: function fround(x){\n\t var $abs = Math.abs(x)\n\t , $sign = sign(x)\n\t , a, result;\n\t if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n\t a = (1 + EPSILON32 / EPSILON) * $abs;\n\t result = a - (a - $abs);\n\t if(result > MAX32 || result != result)return $sign * Infinity;\n\t return $sign * result;\n\t }\n\t});\n\n/***/ },\n/* 113 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\n\tvar $export = __webpack_require__(7)\n\t , abs = Math.abs;\n\t\n\t$export($export.S, 'Math', {\n\t hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n\t var sum = 0\n\t , i = 0\n\t , aLen = arguments.length\n\t , larg = 0\n\t , arg, div;\n\t while(i < aLen){\n\t arg = abs(arguments[i++]);\n\t if(larg < arg){\n\t div = larg / arg;\n\t sum = sum * div * div + 1;\n\t larg = arg;\n\t } else if(arg > 0){\n\t div = arg / larg;\n\t sum += div * div;\n\t } else sum += arg;\n\t }\n\t return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n\t }\n\t});\n\n/***/ },\n/* 114 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.18 Math.imul(x, y)\n\tvar $export = __webpack_require__(7)\n\t , $imul = Math.imul;\n\t\n\t// some WebKit versions fails with big numbers, some has wrong arity\n\t$export($export.S + $export.F * __webpack_require__(6)(function(){\n\t return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n\t}), 'Math', {\n\t imul: function imul(x, y){\n\t var UINT16 = 0xffff\n\t , xn = +x\n\t , yn = +y\n\t , xl = UINT16 & xn\n\t , yl = UINT16 & yn;\n\t return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n\t }\n\t});\n\n/***/ },\n/* 115 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.21 Math.log10(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {\n\t log10: function log10(x){\n\t return Math.log(x) / Math.LN10;\n\t }\n\t});\n\n/***/ },\n/* 116 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.20 Math.log1p(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {log1p: __webpack_require__(103)});\n\n/***/ },\n/* 117 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.22 Math.log2(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {\n\t log2: function log2(x){\n\t return Math.log(x) / Math.LN2;\n\t }\n\t});\n\n/***/ },\n/* 118 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.28 Math.sign(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {sign: __webpack_require__(107)});\n\n/***/ },\n/* 119 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.30 Math.sinh(x)\n\tvar $export = __webpack_require__(7)\n\t , expm1 = __webpack_require__(111)\n\t , exp = Math.exp;\n\t\n\t// V8 near Chromium 38 has a problem with very small numbers\n\t$export($export.S + $export.F * __webpack_require__(6)(function(){\n\t return !Math.sinh(-2e-17) != -2e-17;\n\t}), 'Math', {\n\t sinh: function sinh(x){\n\t return Math.abs(x = +x) < 1\n\t ? (expm1(x) - expm1(-x)) / 2\n\t : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n\t }\n\t});\n\n/***/ },\n/* 120 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.33 Math.tanh(x)\n\tvar $export = __webpack_require__(7)\n\t , expm1 = __webpack_require__(111)\n\t , exp = Math.exp;\n\t\n\t$export($export.S, 'Math', {\n\t tanh: function tanh(x){\n\t var a = expm1(x = +x)\n\t , b = expm1(-x);\n\t return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n\t }\n\t});\n\n/***/ },\n/* 121 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.34 Math.trunc(x)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Math', {\n\t trunc: function trunc(it){\n\t return (it > 0 ? Math.floor : Math.ceil)(it);\n\t }\n\t});\n\n/***/ },\n/* 122 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , toIndex = __webpack_require__(38)\n\t , fromCharCode = String.fromCharCode\n\t , $fromCodePoint = String.fromCodePoint;\n\t\n\t// length should be 1, old FF problem\n\t$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n\t // 21.1.2.2 String.fromCodePoint(...codePoints)\n\t fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n\t var res = []\n\t , aLen = arguments.length\n\t , i = 0\n\t , code;\n\t while(aLen > i){\n\t code = +arguments[i++];\n\t if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n\t res.push(code < 0x10000\n\t ? fromCharCode(code)\n\t : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n\t );\n\t } return res.join('');\n\t }\n\t});\n\n/***/ },\n/* 123 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , toIObject = __webpack_require__(31)\n\t , toLength = __webpack_require__(36);\n\t\n\t$export($export.S, 'String', {\n\t // 21.1.2.4 String.raw(callSite, ...substitutions)\n\t raw: function raw(callSite){\n\t var tpl = toIObject(callSite.raw)\n\t , len = toLength(tpl.length)\n\t , aLen = arguments.length\n\t , res = []\n\t , i = 0;\n\t while(len > i){\n\t res.push(String(tpl[i++]));\n\t if(i < aLen)res.push(String(arguments[i]));\n\t } return res.join('');\n\t }\n\t});\n\n/***/ },\n/* 124 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 21.1.3.25 String.prototype.trim()\n\t__webpack_require__(82)('trim', function($trim){\n\t return function trim(){\n\t return $trim(this, 3);\n\t };\n\t});\n\n/***/ },\n/* 125 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $at = __webpack_require__(126)(true);\n\t\n\t// 21.1.3.27 String.prototype[@@iterator]()\n\t__webpack_require__(127)(String, 'String', function(iterated){\n\t this._t = String(iterated); // target\n\t this._i = 0; // next index\n\t// 21.1.5.2.1 %StringIteratorPrototype%.next()\n\t}, function(){\n\t var O = this._t\n\t , index = this._i\n\t , point;\n\t if(index >= O.length)return {value: undefined, done: true};\n\t point = $at(O, index);\n\t this._i += point.length;\n\t return {value: point, done: false};\n\t});\n\n/***/ },\n/* 126 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar toInteger = __webpack_require__(37)\n\t , defined = __webpack_require__(34);\n\t// true -> String#at\n\t// false -> String#codePointAt\n\tmodule.exports = function(TO_STRING){\n\t return function(that, pos){\n\t var s = String(defined(that))\n\t , i = toInteger(pos)\n\t , l = s.length\n\t , a, b;\n\t if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n\t a = s.charCodeAt(i);\n\t return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n\t ? TO_STRING ? s.charAt(i) : a\n\t : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n\t };\n\t};\n\n/***/ },\n/* 127 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar LIBRARY = __webpack_require__(27)\n\t , $export = __webpack_require__(7)\n\t , redefine = __webpack_require__(17)\n\t , hide = __webpack_require__(9)\n\t , has = __webpack_require__(4)\n\t , Iterators = __webpack_require__(128)\n\t , $iterCreate = __webpack_require__(129)\n\t , setToStringTag = __webpack_require__(23)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , ITERATOR = __webpack_require__(24)('iterator')\n\t , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n\t , FF_ITERATOR = '@@iterator'\n\t , KEYS = 'keys'\n\t , VALUES = 'values';\n\t\n\tvar returnThis = function(){ return this; };\n\t\n\tmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n\t $iterCreate(Constructor, NAME, next);\n\t var getMethod = function(kind){\n\t if(!BUGGY && kind in proto)return proto[kind];\n\t switch(kind){\n\t case KEYS: return function keys(){ return new Constructor(this, kind); };\n\t case VALUES: return function values(){ return new Constructor(this, kind); };\n\t } return function entries(){ return new Constructor(this, kind); };\n\t };\n\t var TAG = NAME + ' Iterator'\n\t , DEF_VALUES = DEFAULT == VALUES\n\t , VALUES_BUG = false\n\t , proto = Base.prototype\n\t , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n\t , $default = $native || getMethod(DEFAULT)\n\t , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n\t , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n\t , methods, key, IteratorPrototype;\n\t // Fix native\n\t if($anyNative){\n\t IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n\t if(IteratorPrototype !== Object.prototype){\n\t // Set @@toStringTag to native iterators\n\t setToStringTag(IteratorPrototype, TAG, true);\n\t // fix for some old engines\n\t if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n\t }\n\t }\n\t // fix Array#{values, @@iterator}.name in V8 / FF\n\t if(DEF_VALUES && $native && $native.name !== VALUES){\n\t VALUES_BUG = true;\n\t $default = function values(){ return $native.call(this); };\n\t }\n\t // Define iterator\n\t if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n\t hide(proto, ITERATOR, $default);\n\t }\n\t // Plug for library\n\t Iterators[NAME] = $default;\n\t Iterators[TAG] = returnThis;\n\t if(DEFAULT){\n\t methods = {\n\t values: DEF_VALUES ? $default : getMethod(VALUES),\n\t keys: IS_SET ? $default : getMethod(KEYS),\n\t entries: $entries\n\t };\n\t if(FORCED)for(key in methods){\n\t if(!(key in proto))redefine(proto, key, methods[key]);\n\t } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n\t }\n\t return methods;\n\t};\n\n/***/ },\n/* 128 */\n/***/ function(module, exports) {\n\n\tmodule.exports = {};\n\n/***/ },\n/* 129 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar create = __webpack_require__(45)\n\t , descriptor = __webpack_require__(16)\n\t , setToStringTag = __webpack_require__(23)\n\t , IteratorPrototype = {};\n\t\n\t// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n\t__webpack_require__(9)(IteratorPrototype, __webpack_require__(24)('iterator'), function(){ return this; });\n\t\n\tmodule.exports = function(Constructor, NAME, next){\n\t Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n\t setToStringTag(Constructor, NAME + ' Iterator');\n\t};\n\n/***/ },\n/* 130 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $at = __webpack_require__(126)(false);\n\t$export($export.P, 'String', {\n\t // 21.1.3.3 String.prototype.codePointAt(pos)\n\t codePointAt: function codePointAt(pos){\n\t return $at(this, pos);\n\t }\n\t});\n\n/***/ },\n/* 131 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , toLength = __webpack_require__(36)\n\t , context = __webpack_require__(132)\n\t , ENDS_WITH = 'endsWith'\n\t , $endsWith = ''[ENDS_WITH];\n\t\n\t$export($export.P + $export.F * __webpack_require__(134)(ENDS_WITH), 'String', {\n\t endsWith: function endsWith(searchString /*, endPosition = @length */){\n\t var that = context(this, searchString, ENDS_WITH)\n\t , endPosition = arguments.length > 1 ? arguments[1] : undefined\n\t , len = toLength(that.length)\n\t , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n\t , search = String(searchString);\n\t return $endsWith\n\t ? $endsWith.call(that, search, end)\n\t : that.slice(end - search.length, end) === search;\n\t }\n\t});\n\n/***/ },\n/* 132 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// helper for String#{startsWith, endsWith, includes}\n\tvar isRegExp = __webpack_require__(133)\n\t , defined = __webpack_require__(34);\n\t\n\tmodule.exports = function(that, searchString, NAME){\n\t if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n\t return String(defined(that));\n\t};\n\n/***/ },\n/* 133 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.2.8 IsRegExp(argument)\n\tvar isObject = __webpack_require__(12)\n\t , cof = __webpack_require__(33)\n\t , MATCH = __webpack_require__(24)('match');\n\tmodule.exports = function(it){\n\t var isRegExp;\n\t return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n\t};\n\n/***/ },\n/* 134 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar MATCH = __webpack_require__(24)('match');\n\tmodule.exports = function(KEY){\n\t var re = /./;\n\t try {\n\t '/./'[KEY](re);\n\t } catch(e){\n\t try {\n\t re[MATCH] = false;\n\t return !'/./'[KEY](re);\n\t } catch(f){ /* empty */ }\n\t } return true;\n\t};\n\n/***/ },\n/* 135 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , context = __webpack_require__(132)\n\t , INCLUDES = 'includes';\n\t\n\t$export($export.P + $export.F * __webpack_require__(134)(INCLUDES), 'String', {\n\t includes: function includes(searchString /*, position = 0 */){\n\t return !!~context(this, searchString, INCLUDES)\n\t .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\n/***/ },\n/* 136 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.P, 'String', {\n\t // 21.1.3.13 String.prototype.repeat(count)\n\t repeat: __webpack_require__(90)\n\t});\n\n/***/ },\n/* 137 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , toLength = __webpack_require__(36)\n\t , context = __webpack_require__(132)\n\t , STARTS_WITH = 'startsWith'\n\t , $startsWith = ''[STARTS_WITH];\n\t\n\t$export($export.P + $export.F * __webpack_require__(134)(STARTS_WITH), 'String', {\n\t startsWith: function startsWith(searchString /*, position = 0 */){\n\t var that = context(this, searchString, STARTS_WITH)\n\t , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))\n\t , search = String(searchString);\n\t return $startsWith\n\t ? $startsWith.call(that, search, index)\n\t : that.slice(index, index + search.length) === search;\n\t }\n\t});\n\n/***/ },\n/* 138 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.2 String.prototype.anchor(name)\n\t__webpack_require__(139)('anchor', function(createHTML){\n\t return function anchor(name){\n\t return createHTML(this, 'a', 'name', name);\n\t }\n\t});\n\n/***/ },\n/* 139 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7)\n\t , fails = __webpack_require__(6)\n\t , defined = __webpack_require__(34)\n\t , quot = /\"/g;\n\t// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\n\tvar createHTML = function(string, tag, attribute, value) {\n\t var S = String(defined(string))\n\t , p1 = '<' + tag;\n\t if(attribute !== '')p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n\t return p1 + '>' + S + '</' + tag + '>';\n\t};\n\tmodule.exports = function(NAME, exec){\n\t var O = {};\n\t O[NAME] = exec(createHTML);\n\t $export($export.P + $export.F * fails(function(){\n\t var test = ''[NAME]('\"');\n\t return test !== test.toLowerCase() || test.split('\"').length > 3;\n\t }), 'String', O);\n\t};\n\n/***/ },\n/* 140 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.3 String.prototype.big()\n\t__webpack_require__(139)('big', function(createHTML){\n\t return function big(){\n\t return createHTML(this, 'big', '', '');\n\t }\n\t});\n\n/***/ },\n/* 141 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.4 String.prototype.blink()\n\t__webpack_require__(139)('blink', function(createHTML){\n\t return function blink(){\n\t return createHTML(this, 'blink', '', '');\n\t }\n\t});\n\n/***/ },\n/* 142 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.5 String.prototype.bold()\n\t__webpack_require__(139)('bold', function(createHTML){\n\t return function bold(){\n\t return createHTML(this, 'b', '', '');\n\t }\n\t});\n\n/***/ },\n/* 143 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.6 String.prototype.fixed()\n\t__webpack_require__(139)('fixed', function(createHTML){\n\t return function fixed(){\n\t return createHTML(this, 'tt', '', '');\n\t }\n\t});\n\n/***/ },\n/* 144 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.7 String.prototype.fontcolor(color)\n\t__webpack_require__(139)('fontcolor', function(createHTML){\n\t return function fontcolor(color){\n\t return createHTML(this, 'font', 'color', color);\n\t }\n\t});\n\n/***/ },\n/* 145 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.8 String.prototype.fontsize(size)\n\t__webpack_require__(139)('fontsize', function(createHTML){\n\t return function fontsize(size){\n\t return createHTML(this, 'font', 'size', size);\n\t }\n\t});\n\n/***/ },\n/* 146 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.9 String.prototype.italics()\n\t__webpack_require__(139)('italics', function(createHTML){\n\t return function italics(){\n\t return createHTML(this, 'i', '', '');\n\t }\n\t});\n\n/***/ },\n/* 147 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.10 String.prototype.link(url)\n\t__webpack_require__(139)('link', function(createHTML){\n\t return function link(url){\n\t return createHTML(this, 'a', 'href', url);\n\t }\n\t});\n\n/***/ },\n/* 148 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.11 String.prototype.small()\n\t__webpack_require__(139)('small', function(createHTML){\n\t return function small(){\n\t return createHTML(this, 'small', '', '');\n\t }\n\t});\n\n/***/ },\n/* 149 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.12 String.prototype.strike()\n\t__webpack_require__(139)('strike', function(createHTML){\n\t return function strike(){\n\t return createHTML(this, 'strike', '', '');\n\t }\n\t});\n\n/***/ },\n/* 150 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.13 String.prototype.sub()\n\t__webpack_require__(139)('sub', function(createHTML){\n\t return function sub(){\n\t return createHTML(this, 'sub', '', '');\n\t }\n\t});\n\n/***/ },\n/* 151 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.14 String.prototype.sup()\n\t__webpack_require__(139)('sup', function(createHTML){\n\t return function sup(){\n\t return createHTML(this, 'sup', '', '');\n\t }\n\t});\n\n/***/ },\n/* 152 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.3.3.1 / 15.9.4.4 Date.now()\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});\n\n/***/ },\n/* 153 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , toObject = __webpack_require__(57)\n\t , toPrimitive = __webpack_require__(15);\n\t\n\t$export($export.P + $export.F * __webpack_require__(6)(function(){\n\t return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;\n\t}), 'Date', {\n\t toJSON: function toJSON(key){\n\t var O = toObject(this)\n\t , pv = toPrimitive(O);\n\t return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n\t }\n\t});\n\n/***/ },\n/* 154 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\n\tvar $export = __webpack_require__(7)\n\t , fails = __webpack_require__(6)\n\t , getTime = Date.prototype.getTime;\n\t\n\tvar lz = function(num){\n\t return num > 9 ? num : '0' + num;\n\t};\n\t\n\t// PhantomJS / old WebKit has a broken implementations\n\t$export($export.P + $export.F * (fails(function(){\n\t return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\n\t}) || !fails(function(){\n\t new Date(NaN).toISOString();\n\t})), 'Date', {\n\t toISOString: function toISOString(){\n\t if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');\n\t var d = this\n\t , y = d.getUTCFullYear()\n\t , m = d.getUTCMilliseconds()\n\t , s = y < 0 ? '-' : y > 9999 ? '+' : '';\n\t return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n\t '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n\t 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n\t ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n\t }\n\t});\n\n/***/ },\n/* 155 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar DateProto = Date.prototype\n\t , INVALID_DATE = 'Invalid Date'\n\t , TO_STRING = 'toString'\n\t , $toString = DateProto[TO_STRING]\n\t , getTime = DateProto.getTime;\n\tif(new Date(NaN) + '' != INVALID_DATE){\n\t __webpack_require__(17)(DateProto, TO_STRING, function toString(){\n\t var value = getTime.call(this);\n\t return value === value ? $toString.call(this) : INVALID_DATE;\n\t });\n\t}\n\n/***/ },\n/* 156 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar TO_PRIMITIVE = __webpack_require__(24)('toPrimitive')\n\t , proto = Date.prototype;\n\t\n\tif(!(TO_PRIMITIVE in proto))__webpack_require__(9)(proto, TO_PRIMITIVE, __webpack_require__(157));\n\n/***/ },\n/* 157 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar anObject = __webpack_require__(11)\n\t , toPrimitive = __webpack_require__(15)\n\t , NUMBER = 'number';\n\t\n\tmodule.exports = function(hint){\n\t if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');\n\t return toPrimitive(anObject(this), hint != NUMBER);\n\t};\n\n/***/ },\n/* 158 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Array', {isArray: __webpack_require__(44)});\n\n/***/ },\n/* 159 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar ctx = __webpack_require__(19)\n\t , $export = __webpack_require__(7)\n\t , toObject = __webpack_require__(57)\n\t , call = __webpack_require__(160)\n\t , isArrayIter = __webpack_require__(161)\n\t , toLength = __webpack_require__(36)\n\t , createProperty = __webpack_require__(162)\n\t , getIterFn = __webpack_require__(163);\n\t\n\t$export($export.S + $export.F * !__webpack_require__(164)(function(iter){ Array.from(iter); }), 'Array', {\n\t // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n\t from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n\t var O = toObject(arrayLike)\n\t , C = typeof this == 'function' ? this : Array\n\t , aLen = arguments.length\n\t , mapfn = aLen > 1 ? arguments[1] : undefined\n\t , mapping = mapfn !== undefined\n\t , index = 0\n\t , iterFn = getIterFn(O)\n\t , length, result, step, iterator;\n\t if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n\t // if object isn't iterable or it's array with default iterator - use simple case\n\t if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n\t for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n\t createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n\t }\n\t } else {\n\t length = toLength(O.length);\n\t for(result = new C(length); length > index; index++){\n\t createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n\t }\n\t }\n\t result.length = index;\n\t return result;\n\t }\n\t});\n\n\n/***/ },\n/* 160 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// call something on iterator step with safe closing on error\n\tvar anObject = __webpack_require__(11);\n\tmodule.exports = function(iterator, fn, value, entries){\n\t try {\n\t return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n\t // 7.4.6 IteratorClose(iterator, completion)\n\t } catch(e){\n\t var ret = iterator['return'];\n\t if(ret !== undefined)anObject(ret.call(iterator));\n\t throw e;\n\t }\n\t};\n\n/***/ },\n/* 161 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// check on default Array iterator\n\tvar Iterators = __webpack_require__(128)\n\t , ITERATOR = __webpack_require__(24)('iterator')\n\t , ArrayProto = Array.prototype;\n\t\n\tmodule.exports = function(it){\n\t return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n\t};\n\n/***/ },\n/* 162 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $defineProperty = __webpack_require__(10)\n\t , createDesc = __webpack_require__(16);\n\t\n\tmodule.exports = function(object, index, value){\n\t if(index in object)$defineProperty.f(object, index, createDesc(0, value));\n\t else object[index] = value;\n\t};\n\n/***/ },\n/* 163 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar classof = __webpack_require__(74)\n\t , ITERATOR = __webpack_require__(24)('iterator')\n\t , Iterators = __webpack_require__(128);\n\tmodule.exports = __webpack_require__(8).getIteratorMethod = function(it){\n\t if(it != undefined)return it[ITERATOR]\n\t || it['@@iterator']\n\t || Iterators[classof(it)];\n\t};\n\n/***/ },\n/* 164 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ITERATOR = __webpack_require__(24)('iterator')\n\t , SAFE_CLOSING = false;\n\t\n\ttry {\n\t var riter = [7][ITERATOR]();\n\t riter['return'] = function(){ SAFE_CLOSING = true; };\n\t Array.from(riter, function(){ throw 2; });\n\t} catch(e){ /* empty */ }\n\t\n\tmodule.exports = function(exec, skipClosing){\n\t if(!skipClosing && !SAFE_CLOSING)return false;\n\t var safe = false;\n\t try {\n\t var arr = [7]\n\t , iter = arr[ITERATOR]();\n\t iter.next = function(){ return {done: safe = true}; };\n\t arr[ITERATOR] = function(){ return iter; };\n\t exec(arr);\n\t } catch(e){ /* empty */ }\n\t return safe;\n\t};\n\n/***/ },\n/* 165 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , createProperty = __webpack_require__(162);\n\t\n\t// WebKit Array.of isn't generic\n\t$export($export.S + $export.F * __webpack_require__(6)(function(){\n\t function F(){}\n\t return !(Array.of.call(F) instanceof F);\n\t}), 'Array', {\n\t // 22.1.2.3 Array.of( ...items)\n\t of: function of(/* ...args */){\n\t var index = 0\n\t , aLen = arguments.length\n\t , result = new (typeof this == 'function' ? this : Array)(aLen);\n\t while(aLen > index)createProperty(result, index, arguments[index++]);\n\t result.length = aLen;\n\t return result;\n\t }\n\t});\n\n/***/ },\n/* 166 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 22.1.3.13 Array.prototype.join(separator)\n\tvar $export = __webpack_require__(7)\n\t , toIObject = __webpack_require__(31)\n\t , arrayJoin = [].join;\n\t\n\t// fallback for not array-like strings\n\t$export($export.P + $export.F * (__webpack_require__(32) != Object || !__webpack_require__(167)(arrayJoin)), 'Array', {\n\t join: function join(separator){\n\t return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n\t }\n\t});\n\n/***/ },\n/* 167 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar fails = __webpack_require__(6);\n\t\n\tmodule.exports = function(method, arg){\n\t return !!method && fails(function(){\n\t arg ? method.call(null, function(){}, 1) : method.call(null);\n\t });\n\t};\n\n/***/ },\n/* 168 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , html = __webpack_require__(47)\n\t , cof = __webpack_require__(33)\n\t , toIndex = __webpack_require__(38)\n\t , toLength = __webpack_require__(36)\n\t , arraySlice = [].slice;\n\t\n\t// fallback for not array-like ES3 strings and DOM objects\n\t$export($export.P + $export.F * __webpack_require__(6)(function(){\n\t if(html)arraySlice.call(html);\n\t}), 'Array', {\n\t slice: function slice(begin, end){\n\t var len = toLength(this.length)\n\t , klass = cof(this);\n\t end = end === undefined ? len : end;\n\t if(klass == 'Array')return arraySlice.call(this, begin, end);\n\t var start = toIndex(begin, len)\n\t , upTo = toIndex(end, len)\n\t , size = toLength(upTo - start)\n\t , cloned = Array(size)\n\t , i = 0;\n\t for(; i < size; i++)cloned[i] = klass == 'String'\n\t ? this.charAt(start + i)\n\t : this[start + i];\n\t return cloned;\n\t }\n\t});\n\n/***/ },\n/* 169 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , aFunction = __webpack_require__(20)\n\t , toObject = __webpack_require__(57)\n\t , fails = __webpack_require__(6)\n\t , $sort = [].sort\n\t , test = [1, 2, 3];\n\t\n\t$export($export.P + $export.F * (fails(function(){\n\t // IE8-\n\t test.sort(undefined);\n\t}) || !fails(function(){\n\t // V8 bug\n\t test.sort(null);\n\t // Old WebKit\n\t}) || !__webpack_require__(167)($sort)), 'Array', {\n\t // 22.1.3.25 Array.prototype.sort(comparefn)\n\t sort: function sort(comparefn){\n\t return comparefn === undefined\n\t ? $sort.call(toObject(this))\n\t : $sort.call(toObject(this), aFunction(comparefn));\n\t }\n\t});\n\n/***/ },\n/* 170 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $forEach = __webpack_require__(171)(0)\n\t , STRICT = __webpack_require__(167)([].forEach, true);\n\t\n\t$export($export.P + $export.F * !STRICT, 'Array', {\n\t // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n\t forEach: function forEach(callbackfn /* , thisArg */){\n\t return $forEach(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 171 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 0 -> Array#forEach\n\t// 1 -> Array#map\n\t// 2 -> Array#filter\n\t// 3 -> Array#some\n\t// 4 -> Array#every\n\t// 5 -> Array#find\n\t// 6 -> Array#findIndex\n\tvar ctx = __webpack_require__(19)\n\t , IObject = __webpack_require__(32)\n\t , toObject = __webpack_require__(57)\n\t , toLength = __webpack_require__(36)\n\t , asc = __webpack_require__(172);\n\tmodule.exports = function(TYPE, $create){\n\t var IS_MAP = TYPE == 1\n\t , IS_FILTER = TYPE == 2\n\t , IS_SOME = TYPE == 3\n\t , IS_EVERY = TYPE == 4\n\t , IS_FIND_INDEX = TYPE == 6\n\t , NO_HOLES = TYPE == 5 || IS_FIND_INDEX\n\t , create = $create || asc;\n\t return function($this, callbackfn, that){\n\t var O = toObject($this)\n\t , self = IObject(O)\n\t , f = ctx(callbackfn, that, 3)\n\t , length = toLength(self.length)\n\t , index = 0\n\t , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined\n\t , val, res;\n\t for(;length > index; index++)if(NO_HOLES || index in self){\n\t val = self[index];\n\t res = f(val, index, O);\n\t if(TYPE){\n\t if(IS_MAP)result[index] = res; // map\n\t else if(res)switch(TYPE){\n\t case 3: return true; // some\n\t case 5: return val; // find\n\t case 6: return index; // findIndex\n\t case 2: result.push(val); // filter\n\t } else if(IS_EVERY)return false; // every\n\t }\n\t }\n\t return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n\t };\n\t};\n\n/***/ },\n/* 172 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\n\tvar speciesConstructor = __webpack_require__(173);\n\t\n\tmodule.exports = function(original, length){\n\t return new (speciesConstructor(original))(length);\n\t};\n\n/***/ },\n/* 173 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(12)\n\t , isArray = __webpack_require__(44)\n\t , SPECIES = __webpack_require__(24)('species');\n\t\n\tmodule.exports = function(original){\n\t var C;\n\t if(isArray(original)){\n\t C = original.constructor;\n\t // cross-realm fallback\n\t if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\n\t if(isObject(C)){\n\t C = C[SPECIES];\n\t if(C === null)C = undefined;\n\t }\n\t } return C === undefined ? Array : C;\n\t};\n\n/***/ },\n/* 174 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $map = __webpack_require__(171)(1);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].map, true), 'Array', {\n\t // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n\t map: function map(callbackfn /* , thisArg */){\n\t return $map(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 175 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $filter = __webpack_require__(171)(2);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].filter, true), 'Array', {\n\t // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n\t filter: function filter(callbackfn /* , thisArg */){\n\t return $filter(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 176 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $some = __webpack_require__(171)(3);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].some, true), 'Array', {\n\t // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n\t some: function some(callbackfn /* , thisArg */){\n\t return $some(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 177 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $every = __webpack_require__(171)(4);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].every, true), 'Array', {\n\t // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n\t every: function every(callbackfn /* , thisArg */){\n\t return $every(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 178 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $reduce = __webpack_require__(179);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].reduce, true), 'Array', {\n\t // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n\t reduce: function reduce(callbackfn /* , initialValue */){\n\t return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n\t }\n\t});\n\n/***/ },\n/* 179 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar aFunction = __webpack_require__(20)\n\t , toObject = __webpack_require__(57)\n\t , IObject = __webpack_require__(32)\n\t , toLength = __webpack_require__(36);\n\t\n\tmodule.exports = function(that, callbackfn, aLen, memo, isRight){\n\t aFunction(callbackfn);\n\t var O = toObject(that)\n\t , self = IObject(O)\n\t , length = toLength(O.length)\n\t , index = isRight ? length - 1 : 0\n\t , i = isRight ? -1 : 1;\n\t if(aLen < 2)for(;;){\n\t if(index in self){\n\t memo = self[index];\n\t index += i;\n\t break;\n\t }\n\t index += i;\n\t if(isRight ? index < 0 : length <= index){\n\t throw TypeError('Reduce of empty array with no initial value');\n\t }\n\t }\n\t for(;isRight ? index >= 0 : length > index; index += i)if(index in self){\n\t memo = callbackfn(memo, self[index], index, O);\n\t }\n\t return memo;\n\t};\n\n/***/ },\n/* 180 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $reduce = __webpack_require__(179);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(167)([].reduceRight, true), 'Array', {\n\t // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n\t reduceRight: function reduceRight(callbackfn /* , initialValue */){\n\t return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n\t }\n\t});\n\n/***/ },\n/* 181 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $indexOf = __webpack_require__(35)(false)\n\t , $native = [].indexOf\n\t , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\t\n\t$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(167)($native)), 'Array', {\n\t // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n\t indexOf: function indexOf(searchElement /*, fromIndex = 0 */){\n\t return NEGATIVE_ZERO\n\t // convert -0 to +0\n\t ? $native.apply(this, arguments) || 0\n\t : $indexOf(this, searchElement, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 182 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , toIObject = __webpack_require__(31)\n\t , toInteger = __webpack_require__(37)\n\t , toLength = __webpack_require__(36)\n\t , $native = [].lastIndexOf\n\t , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\t\n\t$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(167)($native)), 'Array', {\n\t // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n\t lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){\n\t // convert -0 to +0\n\t if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;\n\t var O = toIObject(this)\n\t , length = toLength(O.length)\n\t , index = length - 1;\n\t if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));\n\t if(index < 0)index = length + index;\n\t for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;\n\t return -1;\n\t }\n\t});\n\n/***/ },\n/* 183 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.P, 'Array', {copyWithin: __webpack_require__(184)});\n\t\n\t__webpack_require__(185)('copyWithin');\n\n/***/ },\n/* 184 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n\t'use strict';\n\tvar toObject = __webpack_require__(57)\n\t , toIndex = __webpack_require__(38)\n\t , toLength = __webpack_require__(36);\n\t\n\tmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n\t var O = toObject(this)\n\t , len = toLength(O.length)\n\t , to = toIndex(target, len)\n\t , from = toIndex(start, len)\n\t , end = arguments.length > 2 ? arguments[2] : undefined\n\t , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n\t , inc = 1;\n\t if(from < to && to < from + count){\n\t inc = -1;\n\t from += count - 1;\n\t to += count - 1;\n\t }\n\t while(count-- > 0){\n\t if(from in O)O[to] = O[from];\n\t else delete O[to];\n\t to += inc;\n\t from += inc;\n\t } return O;\n\t};\n\n/***/ },\n/* 185 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.31 Array.prototype[@@unscopables]\n\tvar UNSCOPABLES = __webpack_require__(24)('unscopables')\n\t , ArrayProto = Array.prototype;\n\tif(ArrayProto[UNSCOPABLES] == undefined)__webpack_require__(9)(ArrayProto, UNSCOPABLES, {});\n\tmodule.exports = function(key){\n\t ArrayProto[UNSCOPABLES][key] = true;\n\t};\n\n/***/ },\n/* 186 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.P, 'Array', {fill: __webpack_require__(187)});\n\t\n\t__webpack_require__(185)('fill');\n\n/***/ },\n/* 187 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n\t'use strict';\n\tvar toObject = __webpack_require__(57)\n\t , toIndex = __webpack_require__(38)\n\t , toLength = __webpack_require__(36);\n\tmodule.exports = function fill(value /*, start = 0, end = @length */){\n\t var O = toObject(this)\n\t , length = toLength(O.length)\n\t , aLen = arguments.length\n\t , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)\n\t , end = aLen > 2 ? arguments[2] : undefined\n\t , endPos = end === undefined ? length : toIndex(end, length);\n\t while(endPos > index)O[index++] = value;\n\t return O;\n\t};\n\n/***/ },\n/* 188 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\n\tvar $export = __webpack_require__(7)\n\t , $find = __webpack_require__(171)(5)\n\t , KEY = 'find'\n\t , forced = true;\n\t// Shouldn't skip holes\n\tif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n\t$export($export.P + $export.F * forced, 'Array', {\n\t find: function find(callbackfn/*, that = undefined */){\n\t return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\t__webpack_require__(185)(KEY);\n\n/***/ },\n/* 189 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\n\tvar $export = __webpack_require__(7)\n\t , $find = __webpack_require__(171)(6)\n\t , KEY = 'findIndex'\n\t , forced = true;\n\t// Shouldn't skip holes\n\tif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n\t$export($export.P + $export.F * forced, 'Array', {\n\t findIndex: function findIndex(callbackfn/*, that = undefined */){\n\t return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\t__webpack_require__(185)(KEY);\n\n/***/ },\n/* 190 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(191)('Array');\n\n/***/ },\n/* 191 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(3)\n\t , dP = __webpack_require__(10)\n\t , DESCRIPTORS = __webpack_require__(5)\n\t , SPECIES = __webpack_require__(24)('species');\n\t\n\tmodule.exports = function(KEY){\n\t var C = global[KEY];\n\t if(DESCRIPTORS && C && !C[SPECIES])dP.f(C, SPECIES, {\n\t configurable: true,\n\t get: function(){ return this; }\n\t });\n\t};\n\n/***/ },\n/* 192 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar addToUnscopables = __webpack_require__(185)\n\t , step = __webpack_require__(193)\n\t , Iterators = __webpack_require__(128)\n\t , toIObject = __webpack_require__(31);\n\t\n\t// 22.1.3.4 Array.prototype.entries()\n\t// 22.1.3.13 Array.prototype.keys()\n\t// 22.1.3.29 Array.prototype.values()\n\t// 22.1.3.30 Array.prototype[@@iterator]()\n\tmodule.exports = __webpack_require__(127)(Array, 'Array', function(iterated, kind){\n\t this._t = toIObject(iterated); // target\n\t this._i = 0; // next index\n\t this._k = kind; // kind\n\t// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n\t}, function(){\n\t var O = this._t\n\t , kind = this._k\n\t , index = this._i++;\n\t if(!O || index >= O.length){\n\t this._t = undefined;\n\t return step(1);\n\t }\n\t if(kind == 'keys' )return step(0, index);\n\t if(kind == 'values')return step(0, O[index]);\n\t return step(0, [index, O[index]]);\n\t}, 'values');\n\t\n\t// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\n\tIterators.Arguments = Iterators.Array;\n\t\n\taddToUnscopables('keys');\n\taddToUnscopables('values');\n\taddToUnscopables('entries');\n\n/***/ },\n/* 193 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(done, value){\n\t return {value: value, done: !!done};\n\t};\n\n/***/ },\n/* 194 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , inheritIfRequired = __webpack_require__(87)\n\t , dP = __webpack_require__(10).f\n\t , gOPN = __webpack_require__(49).f\n\t , isRegExp = __webpack_require__(133)\n\t , $flags = __webpack_require__(195)\n\t , $RegExp = global.RegExp\n\t , Base = $RegExp\n\t , proto = $RegExp.prototype\n\t , re1 = /a/g\n\t , re2 = /a/g\n\t // \"new\" creates a new object, old webkit buggy here\n\t , CORRECT_NEW = new $RegExp(re1) !== re1;\n\t\n\tif(__webpack_require__(5) && (!CORRECT_NEW || __webpack_require__(6)(function(){\n\t re2[__webpack_require__(24)('match')] = false;\n\t // RegExp constructor can alter flags and IsRegExp works correct with @@match\n\t return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n\t}))){\n\t $RegExp = function RegExp(p, f){\n\t var tiRE = this instanceof $RegExp\n\t , piRE = isRegExp(p)\n\t , fiU = f === undefined;\n\t return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n\t : inheritIfRequired(CORRECT_NEW\n\t ? new Base(piRE && !fiU ? p.source : p, f)\n\t : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n\t , tiRE ? this : proto, $RegExp);\n\t };\n\t var proxy = function(key){\n\t key in $RegExp || dP($RegExp, key, {\n\t configurable: true,\n\t get: function(){ return Base[key]; },\n\t set: function(it){ Base[key] = it; }\n\t });\n\t };\n\t for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);\n\t proto.constructor = $RegExp;\n\t $RegExp.prototype = proto;\n\t __webpack_require__(17)(global, 'RegExp', $RegExp);\n\t}\n\t\n\t__webpack_require__(191)('RegExp');\n\n/***/ },\n/* 195 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 21.2.5.3 get RegExp.prototype.flags\n\tvar anObject = __webpack_require__(11);\n\tmodule.exports = function(){\n\t var that = anObject(this)\n\t , result = '';\n\t if(that.global) result += 'g';\n\t if(that.ignoreCase) result += 'i';\n\t if(that.multiline) result += 'm';\n\t if(that.unicode) result += 'u';\n\t if(that.sticky) result += 'y';\n\t return result;\n\t};\n\n/***/ },\n/* 196 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t__webpack_require__(197);\n\tvar anObject = __webpack_require__(11)\n\t , $flags = __webpack_require__(195)\n\t , DESCRIPTORS = __webpack_require__(5)\n\t , TO_STRING = 'toString'\n\t , $toString = /./[TO_STRING];\n\t\n\tvar define = function(fn){\n\t __webpack_require__(17)(RegExp.prototype, TO_STRING, fn, true);\n\t};\n\t\n\t// 21.2.5.14 RegExp.prototype.toString()\n\tif(__webpack_require__(6)(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){\n\t define(function toString(){\n\t var R = anObject(this);\n\t return '/'.concat(R.source, '/',\n\t 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n\t });\n\t// FF44- RegExp#toString has a wrong name\n\t} else if($toString.name != TO_STRING){\n\t define(function toString(){\n\t return $toString.call(this);\n\t });\n\t}\n\n/***/ },\n/* 197 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.2.5.3 get RegExp.prototype.flags()\n\tif(__webpack_require__(5) && /./g.flags != 'g')__webpack_require__(10).f(RegExp.prototype, 'flags', {\n\t configurable: true,\n\t get: __webpack_require__(195)\n\t});\n\n/***/ },\n/* 198 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@match logic\n\t__webpack_require__(199)('match', 1, function(defined, MATCH, $match){\n\t // 21.1.3.11 String.prototype.match(regexp)\n\t return [function match(regexp){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = regexp == undefined ? undefined : regexp[MATCH];\n\t return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n\t }, $match];\n\t});\n\n/***/ },\n/* 199 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar hide = __webpack_require__(9)\n\t , redefine = __webpack_require__(17)\n\t , fails = __webpack_require__(6)\n\t , defined = __webpack_require__(34)\n\t , wks = __webpack_require__(24);\n\t\n\tmodule.exports = function(KEY, length, exec){\n\t var SYMBOL = wks(KEY)\n\t , fns = exec(defined, SYMBOL, ''[KEY])\n\t , strfn = fns[0]\n\t , rxfn = fns[1];\n\t if(fails(function(){\n\t var O = {};\n\t O[SYMBOL] = function(){ return 7; };\n\t return ''[KEY](O) != 7;\n\t })){\n\t redefine(String.prototype, KEY, strfn);\n\t hide(RegExp.prototype, SYMBOL, length == 2\n\t // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n\t // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n\t ? function(string, arg){ return rxfn.call(string, this, arg); }\n\t // 21.2.5.6 RegExp.prototype[@@match](string)\n\t // 21.2.5.9 RegExp.prototype[@@search](string)\n\t : function(string){ return rxfn.call(string, this); }\n\t );\n\t }\n\t};\n\n/***/ },\n/* 200 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@replace logic\n\t__webpack_require__(199)('replace', 2, function(defined, REPLACE, $replace){\n\t // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n\t return [function replace(searchValue, replaceValue){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n\t return fn !== undefined\n\t ? fn.call(searchValue, O, replaceValue)\n\t : $replace.call(String(O), searchValue, replaceValue);\n\t }, $replace];\n\t});\n\n/***/ },\n/* 201 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@search logic\n\t__webpack_require__(199)('search', 1, function(defined, SEARCH, $search){\n\t // 21.1.3.15 String.prototype.search(regexp)\n\t return [function search(regexp){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = regexp == undefined ? undefined : regexp[SEARCH];\n\t return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n\t }, $search];\n\t});\n\n/***/ },\n/* 202 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@split logic\n\t__webpack_require__(199)('split', 2, function(defined, SPLIT, $split){\n\t 'use strict';\n\t var isRegExp = __webpack_require__(133)\n\t , _split = $split\n\t , $push = [].push\n\t , $SPLIT = 'split'\n\t , LENGTH = 'length'\n\t , LAST_INDEX = 'lastIndex';\n\t if(\n\t 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n\t 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n\t 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n\t '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n\t '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n\t ''[$SPLIT](/.?/)[LENGTH]\n\t ){\n\t var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n\t // based on es5-shim implementation, need to rework it\n\t $split = function(separator, limit){\n\t var string = String(this);\n\t if(separator === undefined && limit === 0)return [];\n\t // If `separator` is not a regex, use native split\n\t if(!isRegExp(separator))return _split.call(string, separator, limit);\n\t var output = [];\n\t var flags = (separator.ignoreCase ? 'i' : '') +\n\t (separator.multiline ? 'm' : '') +\n\t (separator.unicode ? 'u' : '') +\n\t (separator.sticky ? 'y' : '');\n\t var lastLastIndex = 0;\n\t var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n\t // Make `global` and avoid `lastIndex` issues by working with a copy\n\t var separatorCopy = new RegExp(separator.source, flags + 'g');\n\t var separator2, match, lastIndex, lastLength, i;\n\t // Doesn't need flags gy, but they don't hurt\n\t if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n\t while(match = separatorCopy.exec(string)){\n\t // `separatorCopy.lastIndex` is not reliable cross-browser\n\t lastIndex = match.index + match[0][LENGTH];\n\t if(lastIndex > lastLastIndex){\n\t output.push(string.slice(lastLastIndex, match.index));\n\t // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n\t if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){\n\t for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;\n\t });\n\t if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));\n\t lastLength = match[0][LENGTH];\n\t lastLastIndex = lastIndex;\n\t if(output[LENGTH] >= splitLimit)break;\n\t }\n\t if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n\t }\n\t if(lastLastIndex === string[LENGTH]){\n\t if(lastLength || !separatorCopy.test(''))output.push('');\n\t } else output.push(string.slice(lastLastIndex));\n\t return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n\t };\n\t // Chakra, V8\n\t } else if('0'[$SPLIT](undefined, 0)[LENGTH]){\n\t $split = function(separator, limit){\n\t return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n\t };\n\t }\n\t // 21.1.3.17 String.prototype.split(separator, limit)\n\t return [function split(separator, limit){\n\t var O = defined(this)\n\t , fn = separator == undefined ? undefined : separator[SPLIT];\n\t return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n\t }, $split];\n\t});\n\n/***/ },\n/* 203 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar LIBRARY = __webpack_require__(27)\n\t , global = __webpack_require__(3)\n\t , ctx = __webpack_require__(19)\n\t , classof = __webpack_require__(74)\n\t , $export = __webpack_require__(7)\n\t , isObject = __webpack_require__(12)\n\t , aFunction = __webpack_require__(20)\n\t , anInstance = __webpack_require__(204)\n\t , forOf = __webpack_require__(205)\n\t , speciesConstructor = __webpack_require__(206)\n\t , task = __webpack_require__(207).set\n\t , microtask = __webpack_require__(208)()\n\t , PROMISE = 'Promise'\n\t , TypeError = global.TypeError\n\t , process = global.process\n\t , $Promise = global[PROMISE]\n\t , process = global.process\n\t , isNode = classof(process) == 'process'\n\t , empty = function(){ /* empty */ }\n\t , Internal, GenericPromiseCapability, Wrapper;\n\t\n\tvar USE_NATIVE = !!function(){\n\t try {\n\t // correct subclassing with @@species support\n\t var promise = $Promise.resolve(1)\n\t , FakePromise = (promise.constructor = {})[__webpack_require__(24)('species')] = function(exec){ exec(empty, empty); };\n\t // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n\t return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;\n\t } catch(e){ /* empty */ }\n\t}();\n\t\n\t// helpers\n\tvar sameConstructor = function(a, b){\n\t // with library wrapper special case\n\t return a === b || a === $Promise && b === Wrapper;\n\t};\n\tvar isThenable = function(it){\n\t var then;\n\t return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n\t};\n\tvar newPromiseCapability = function(C){\n\t return sameConstructor($Promise, C)\n\t ? new PromiseCapability(C)\n\t : new GenericPromiseCapability(C);\n\t};\n\tvar PromiseCapability = GenericPromiseCapability = function(C){\n\t var resolve, reject;\n\t this.promise = new C(function($$resolve, $$reject){\n\t if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n\t resolve = $$resolve;\n\t reject = $$reject;\n\t });\n\t this.resolve = aFunction(resolve);\n\t this.reject = aFunction(reject);\n\t};\n\tvar perform = function(exec){\n\t try {\n\t exec();\n\t } catch(e){\n\t return {error: e};\n\t }\n\t};\n\tvar notify = function(promise, isReject){\n\t if(promise._n)return;\n\t promise._n = true;\n\t var chain = promise._c;\n\t microtask(function(){\n\t var value = promise._v\n\t , ok = promise._s == 1\n\t , i = 0;\n\t var run = function(reaction){\n\t var handler = ok ? reaction.ok : reaction.fail\n\t , resolve = reaction.resolve\n\t , reject = reaction.reject\n\t , domain = reaction.domain\n\t , result, then;\n\t try {\n\t if(handler){\n\t if(!ok){\n\t if(promise._h == 2)onHandleUnhandled(promise);\n\t promise._h = 1;\n\t }\n\t if(handler === true)result = value;\n\t else {\n\t if(domain)domain.enter();\n\t result = handler(value);\n\t if(domain)domain.exit();\n\t }\n\t if(result === reaction.promise){\n\t reject(TypeError('Promise-chain cycle'));\n\t } else if(then = isThenable(result)){\n\t then.call(result, resolve, reject);\n\t } else resolve(result);\n\t } else reject(value);\n\t } catch(e){\n\t reject(e);\n\t }\n\t };\n\t while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n\t promise._c = [];\n\t promise._n = false;\n\t if(isReject && !promise._h)onUnhandled(promise);\n\t });\n\t};\n\tvar onUnhandled = function(promise){\n\t task.call(global, function(){\n\t var value = promise._v\n\t , abrupt, handler, console;\n\t if(isUnhandled(promise)){\n\t abrupt = perform(function(){\n\t if(isNode){\n\t process.emit('unhandledRejection', value, promise);\n\t } else if(handler = global.onunhandledrejection){\n\t handler({promise: promise, reason: value});\n\t } else if((console = global.console) && console.error){\n\t console.error('Unhandled promise rejection', value);\n\t }\n\t });\n\t // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n\t promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n\t } promise._a = undefined;\n\t if(abrupt)throw abrupt.error;\n\t });\n\t};\n\tvar isUnhandled = function(promise){\n\t if(promise._h == 1)return false;\n\t var chain = promise._a || promise._c\n\t , i = 0\n\t , reaction;\n\t while(chain.length > i){\n\t reaction = chain[i++];\n\t if(reaction.fail || !isUnhandled(reaction.promise))return false;\n\t } return true;\n\t};\n\tvar onHandleUnhandled = function(promise){\n\t task.call(global, function(){\n\t var handler;\n\t if(isNode){\n\t process.emit('rejectionHandled', promise);\n\t } else if(handler = global.onrejectionhandled){\n\t handler({promise: promise, reason: promise._v});\n\t }\n\t });\n\t};\n\tvar $reject = function(value){\n\t var promise = this;\n\t if(promise._d)return;\n\t promise._d = true;\n\t promise = promise._w || promise; // unwrap\n\t promise._v = value;\n\t promise._s = 2;\n\t if(!promise._a)promise._a = promise._c.slice();\n\t notify(promise, true);\n\t};\n\tvar $resolve = function(value){\n\t var promise = this\n\t , then;\n\t if(promise._d)return;\n\t promise._d = true;\n\t promise = promise._w || promise; // unwrap\n\t try {\n\t if(promise === value)throw TypeError(\"Promise can't be resolved itself\");\n\t if(then = isThenable(value)){\n\t microtask(function(){\n\t var wrapper = {_w: promise, _d: false}; // wrap\n\t try {\n\t then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n\t } catch(e){\n\t $reject.call(wrapper, e);\n\t }\n\t });\n\t } else {\n\t promise._v = value;\n\t promise._s = 1;\n\t notify(promise, false);\n\t }\n\t } catch(e){\n\t $reject.call({_w: promise, _d: false}, e); // wrap\n\t }\n\t};\n\t\n\t// constructor polyfill\n\tif(!USE_NATIVE){\n\t // 25.4.3.1 Promise(executor)\n\t $Promise = function Promise(executor){\n\t anInstance(this, $Promise, PROMISE, '_h');\n\t aFunction(executor);\n\t Internal.call(this);\n\t try {\n\t executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n\t } catch(err){\n\t $reject.call(this, err);\n\t }\n\t };\n\t Internal = function Promise(executor){\n\t this._c = []; // <- awaiting reactions\n\t this._a = undefined; // <- checked in isUnhandled reactions\n\t this._s = 0; // <- state\n\t this._d = false; // <- done\n\t this._v = undefined; // <- value\n\t this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n\t this._n = false; // <- notify\n\t };\n\t Internal.prototype = __webpack_require__(209)($Promise.prototype, {\n\t // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n\t then: function then(onFulfilled, onRejected){\n\t var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n\t reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n\t reaction.fail = typeof onRejected == 'function' && onRejected;\n\t reaction.domain = isNode ? process.domain : undefined;\n\t this._c.push(reaction);\n\t if(this._a)this._a.push(reaction);\n\t if(this._s)notify(this, false);\n\t return reaction.promise;\n\t },\n\t // 25.4.5.1 Promise.prototype.catch(onRejected)\n\t 'catch': function(onRejected){\n\t return this.then(undefined, onRejected);\n\t }\n\t });\n\t PromiseCapability = function(){\n\t var promise = new Internal;\n\t this.promise = promise;\n\t this.resolve = ctx($resolve, promise, 1);\n\t this.reject = ctx($reject, promise, 1);\n\t };\n\t}\n\t\n\t$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});\n\t__webpack_require__(23)($Promise, PROMISE);\n\t__webpack_require__(191)(PROMISE);\n\tWrapper = __webpack_require__(8)[PROMISE];\n\t\n\t// statics\n\t$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n\t // 25.4.4.5 Promise.reject(r)\n\t reject: function reject(r){\n\t var capability = newPromiseCapability(this)\n\t , $$reject = capability.reject;\n\t $$reject(r);\n\t return capability.promise;\n\t }\n\t});\n\t$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n\t // 25.4.4.6 Promise.resolve(x)\n\t resolve: function resolve(x){\n\t // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n\t if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;\n\t var capability = newPromiseCapability(this)\n\t , $$resolve = capability.resolve;\n\t $$resolve(x);\n\t return capability.promise;\n\t }\n\t});\n\t$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(164)(function(iter){\n\t $Promise.all(iter)['catch'](empty);\n\t})), PROMISE, {\n\t // 25.4.4.1 Promise.all(iterable)\n\t all: function all(iterable){\n\t var C = this\n\t , capability = newPromiseCapability(C)\n\t , resolve = capability.resolve\n\t , reject = capability.reject;\n\t var abrupt = perform(function(){\n\t var values = []\n\t , index = 0\n\t , remaining = 1;\n\t forOf(iterable, false, function(promise){\n\t var $index = index++\n\t , alreadyCalled = false;\n\t values.push(undefined);\n\t remaining++;\n\t C.resolve(promise).then(function(value){\n\t if(alreadyCalled)return;\n\t alreadyCalled = true;\n\t values[$index] = value;\n\t --remaining || resolve(values);\n\t }, reject);\n\t });\n\t --remaining || resolve(values);\n\t });\n\t if(abrupt)reject(abrupt.error);\n\t return capability.promise;\n\t },\n\t // 25.4.4.4 Promise.race(iterable)\n\t race: function race(iterable){\n\t var C = this\n\t , capability = newPromiseCapability(C)\n\t , reject = capability.reject;\n\t var abrupt = perform(function(){\n\t forOf(iterable, false, function(promise){\n\t C.resolve(promise).then(capability.resolve, reject);\n\t });\n\t });\n\t if(abrupt)reject(abrupt.error);\n\t return capability.promise;\n\t }\n\t});\n\n/***/ },\n/* 204 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(it, Constructor, name, forbiddenField){\n\t if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){\n\t throw TypeError(name + ': incorrect invocation!');\n\t } return it;\n\t};\n\n/***/ },\n/* 205 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ctx = __webpack_require__(19)\n\t , call = __webpack_require__(160)\n\t , isArrayIter = __webpack_require__(161)\n\t , anObject = __webpack_require__(11)\n\t , toLength = __webpack_require__(36)\n\t , getIterFn = __webpack_require__(163)\n\t , BREAK = {}\n\t , RETURN = {};\n\tvar exports = module.exports = function(iterable, entries, fn, that, ITERATOR){\n\t var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)\n\t , f = ctx(fn, that, entries ? 2 : 1)\n\t , index = 0\n\t , length, step, iterator, result;\n\t if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n\t // fast case for arrays with default iterator\n\t if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n\t result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n\t if(result === BREAK || result === RETURN)return result;\n\t } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n\t result = call(iterator, f, step.value, entries);\n\t if(result === BREAK || result === RETURN)return result;\n\t }\n\t};\n\texports.BREAK = BREAK;\n\texports.RETURN = RETURN;\n\n/***/ },\n/* 206 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 7.3.20 SpeciesConstructor(O, defaultConstructor)\n\tvar anObject = __webpack_require__(11)\n\t , aFunction = __webpack_require__(20)\n\t , SPECIES = __webpack_require__(24)('species');\n\tmodule.exports = function(O, D){\n\t var C = anObject(O).constructor, S;\n\t return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n\t};\n\n/***/ },\n/* 207 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar ctx = __webpack_require__(19)\n\t , invoke = __webpack_require__(77)\n\t , html = __webpack_require__(47)\n\t , cel = __webpack_require__(14)\n\t , global = __webpack_require__(3)\n\t , process = global.process\n\t , setTask = global.setImmediate\n\t , clearTask = global.clearImmediate\n\t , MessageChannel = global.MessageChannel\n\t , counter = 0\n\t , queue = {}\n\t , ONREADYSTATECHANGE = 'onreadystatechange'\n\t , defer, channel, port;\n\tvar run = function(){\n\t var id = +this;\n\t if(queue.hasOwnProperty(id)){\n\t var fn = queue[id];\n\t delete queue[id];\n\t fn();\n\t }\n\t};\n\tvar listener = function(event){\n\t run.call(event.data);\n\t};\n\t// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\n\tif(!setTask || !clearTask){\n\t setTask = function setImmediate(fn){\n\t var args = [], i = 1;\n\t while(arguments.length > i)args.push(arguments[i++]);\n\t queue[++counter] = function(){\n\t invoke(typeof fn == 'function' ? fn : Function(fn), args);\n\t };\n\t defer(counter);\n\t return counter;\n\t };\n\t clearTask = function clearImmediate(id){\n\t delete queue[id];\n\t };\n\t // Node.js 0.8-\n\t if(__webpack_require__(33)(process) == 'process'){\n\t defer = function(id){\n\t process.nextTick(ctx(run, id, 1));\n\t };\n\t // Browsers with MessageChannel, includes WebWorkers\n\t } else if(MessageChannel){\n\t channel = new MessageChannel;\n\t port = channel.port2;\n\t channel.port1.onmessage = listener;\n\t defer = ctx(port.postMessage, port, 1);\n\t // Browsers with postMessage, skip WebWorkers\n\t // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n\t } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n\t defer = function(id){\n\t global.postMessage(id + '', '*');\n\t };\n\t global.addEventListener('message', listener, false);\n\t // IE8-\n\t } else if(ONREADYSTATECHANGE in cel('script')){\n\t defer = function(id){\n\t html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n\t html.removeChild(this);\n\t run.call(id);\n\t };\n\t };\n\t // Rest old browsers\n\t } else {\n\t defer = function(id){\n\t setTimeout(ctx(run, id, 1), 0);\n\t };\n\t }\n\t}\n\tmodule.exports = {\n\t set: setTask,\n\t clear: clearTask\n\t};\n\n/***/ },\n/* 208 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , macrotask = __webpack_require__(207).set\n\t , Observer = global.MutationObserver || global.WebKitMutationObserver\n\t , process = global.process\n\t , Promise = global.Promise\n\t , isNode = __webpack_require__(33)(process) == 'process';\n\t\n\tmodule.exports = function(){\n\t var head, last, notify;\n\t\n\t var flush = function(){\n\t var parent, fn;\n\t if(isNode && (parent = process.domain))parent.exit();\n\t while(head){\n\t fn = head.fn;\n\t head = head.next;\n\t try {\n\t fn();\n\t } catch(e){\n\t if(head)notify();\n\t else last = undefined;\n\t throw e;\n\t }\n\t } last = undefined;\n\t if(parent)parent.enter();\n\t };\n\t\n\t // Node.js\n\t if(isNode){\n\t notify = function(){\n\t process.nextTick(flush);\n\t };\n\t // browsers with MutationObserver\n\t } else if(Observer){\n\t var toggle = true\n\t , node = document.createTextNode('');\n\t new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n\t notify = function(){\n\t node.data = toggle = !toggle;\n\t };\n\t // environments with maybe non-completely correct, but existent Promise\n\t } else if(Promise && Promise.resolve){\n\t var promise = Promise.resolve();\n\t notify = function(){\n\t promise.then(flush);\n\t };\n\t // for other environments - macrotask based on:\n\t // - setImmediate\n\t // - MessageChannel\n\t // - window.postMessag\n\t // - onreadystatechange\n\t // - setTimeout\n\t } else {\n\t notify = function(){\n\t // strange IE + webpack dev server bug - use .call(global)\n\t macrotask.call(global, flush);\n\t };\n\t }\n\t\n\t return function(fn){\n\t var task = {fn: fn, next: undefined};\n\t if(last)last.next = task;\n\t if(!head){\n\t head = task;\n\t notify();\n\t } last = task;\n\t };\n\t};\n\n/***/ },\n/* 209 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar redefine = __webpack_require__(17);\n\tmodule.exports = function(target, src, safe){\n\t for(var key in src)redefine(target, key, src[key], safe);\n\t return target;\n\t};\n\n/***/ },\n/* 210 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar strong = __webpack_require__(211);\n\t\n\t// 23.1 Map Objects\n\tmodule.exports = __webpack_require__(212)('Map', function(get){\n\t return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.1.3.6 Map.prototype.get(key)\n\t get: function get(key){\n\t var entry = strong.getEntry(this, key);\n\t return entry && entry.v;\n\t },\n\t // 23.1.3.9 Map.prototype.set(key, value)\n\t set: function set(key, value){\n\t return strong.def(this, key === 0 ? 0 : key, value);\n\t }\n\t}, strong, true);\n\n/***/ },\n/* 211 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar dP = __webpack_require__(10).f\n\t , create = __webpack_require__(45)\n\t , redefineAll = __webpack_require__(209)\n\t , ctx = __webpack_require__(19)\n\t , anInstance = __webpack_require__(204)\n\t , defined = __webpack_require__(34)\n\t , forOf = __webpack_require__(205)\n\t , $iterDefine = __webpack_require__(127)\n\t , step = __webpack_require__(193)\n\t , setSpecies = __webpack_require__(191)\n\t , DESCRIPTORS = __webpack_require__(5)\n\t , fastKey = __webpack_require__(21).fastKey\n\t , SIZE = DESCRIPTORS ? '_s' : 'size';\n\t\n\tvar getEntry = function(that, key){\n\t // fast case\n\t var index = fastKey(key), entry;\n\t if(index !== 'F')return that._i[index];\n\t // frozen object case\n\t for(entry = that._f; entry; entry = entry.n){\n\t if(entry.k == key)return entry;\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n\t var C = wrapper(function(that, iterable){\n\t anInstance(that, C, NAME, '_i');\n\t that._i = create(null); // index\n\t that._f = undefined; // first entry\n\t that._l = undefined; // last entry\n\t that[SIZE] = 0; // size\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t });\n\t redefineAll(C.prototype, {\n\t // 23.1.3.1 Map.prototype.clear()\n\t // 23.2.3.2 Set.prototype.clear()\n\t clear: function clear(){\n\t for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n\t entry.r = true;\n\t if(entry.p)entry.p = entry.p.n = undefined;\n\t delete data[entry.i];\n\t }\n\t that._f = that._l = undefined;\n\t that[SIZE] = 0;\n\t },\n\t // 23.1.3.3 Map.prototype.delete(key)\n\t // 23.2.3.4 Set.prototype.delete(value)\n\t 'delete': function(key){\n\t var that = this\n\t , entry = getEntry(that, key);\n\t if(entry){\n\t var next = entry.n\n\t , prev = entry.p;\n\t delete that._i[entry.i];\n\t entry.r = true;\n\t if(prev)prev.n = next;\n\t if(next)next.p = prev;\n\t if(that._f == entry)that._f = next;\n\t if(that._l == entry)that._l = prev;\n\t that[SIZE]--;\n\t } return !!entry;\n\t },\n\t // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n\t // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n\t forEach: function forEach(callbackfn /*, that = undefined */){\n\t anInstance(this, C, 'forEach');\n\t var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n\t , entry;\n\t while(entry = entry ? entry.n : this._f){\n\t f(entry.v, entry.k, this);\n\t // revert to the last existing entry\n\t while(entry && entry.r)entry = entry.p;\n\t }\n\t },\n\t // 23.1.3.7 Map.prototype.has(key)\n\t // 23.2.3.7 Set.prototype.has(value)\n\t has: function has(key){\n\t return !!getEntry(this, key);\n\t }\n\t });\n\t if(DESCRIPTORS)dP(C.prototype, 'size', {\n\t get: function(){\n\t return defined(this[SIZE]);\n\t }\n\t });\n\t return C;\n\t },\n\t def: function(that, key, value){\n\t var entry = getEntry(that, key)\n\t , prev, index;\n\t // change existing entry\n\t if(entry){\n\t entry.v = value;\n\t // create new entry\n\t } else {\n\t that._l = entry = {\n\t i: index = fastKey(key, true), // <- index\n\t k: key, // <- key\n\t v: value, // <- value\n\t p: prev = that._l, // <- previous entry\n\t n: undefined, // <- next entry\n\t r: false // <- removed\n\t };\n\t if(!that._f)that._f = entry;\n\t if(prev)prev.n = entry;\n\t that[SIZE]++;\n\t // add to index\n\t if(index !== 'F')that._i[index] = entry;\n\t } return that;\n\t },\n\t getEntry: getEntry,\n\t setStrong: function(C, NAME, IS_MAP){\n\t // add .keys, .values, .entries, [@@iterator]\n\t // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n\t $iterDefine(C, NAME, function(iterated, kind){\n\t this._t = iterated; // target\n\t this._k = kind; // kind\n\t this._l = undefined; // previous\n\t }, function(){\n\t var that = this\n\t , kind = that._k\n\t , entry = that._l;\n\t // revert to the last existing entry\n\t while(entry && entry.r)entry = entry.p;\n\t // get next entry\n\t if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n\t // or finish the iteration\n\t that._t = undefined;\n\t return step(1);\n\t }\n\t // return step by kind\n\t if(kind == 'keys' )return step(0, entry.k);\n\t if(kind == 'values')return step(0, entry.v);\n\t return step(0, [entry.k, entry.v]);\n\t }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\t\n\t // add [@@species], 23.1.2.2, 23.2.2.2\n\t setSpecies(NAME);\n\t }\n\t};\n\n/***/ },\n/* 212 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(3)\n\t , $export = __webpack_require__(7)\n\t , redefine = __webpack_require__(17)\n\t , redefineAll = __webpack_require__(209)\n\t , meta = __webpack_require__(21)\n\t , forOf = __webpack_require__(205)\n\t , anInstance = __webpack_require__(204)\n\t , isObject = __webpack_require__(12)\n\t , fails = __webpack_require__(6)\n\t , $iterDetect = __webpack_require__(164)\n\t , setToStringTag = __webpack_require__(23)\n\t , inheritIfRequired = __webpack_require__(87);\n\t\n\tmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n\t var Base = global[NAME]\n\t , C = Base\n\t , ADDER = IS_MAP ? 'set' : 'add'\n\t , proto = C && C.prototype\n\t , O = {};\n\t var fixMethod = function(KEY){\n\t var fn = proto[KEY];\n\t redefine(proto, KEY,\n\t KEY == 'delete' ? function(a){\n\t return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'has' ? function has(a){\n\t return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'get' ? function get(a){\n\t return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n\t } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n\t : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n\t );\n\t };\n\t if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n\t new C().entries().next();\n\t }))){\n\t // create collection constructor\n\t C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n\t redefineAll(C.prototype, methods);\n\t meta.NEED = true;\n\t } else {\n\t var instance = new C\n\t // early implementations not supports chaining\n\t , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n\t // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n\t , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n\t // most early implementations doesn't supports iterables, most modern - not close it correctly\n\t , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n\t // for early implementations -0 and +0 not the same\n\t , BUGGY_ZERO = !IS_WEAK && fails(function(){\n\t // V8 ~ Chromium 42- fails only with 5+ elements\n\t var $instance = new C()\n\t , index = 5;\n\t while(index--)$instance[ADDER](index, index);\n\t return !$instance.has(-0);\n\t });\n\t if(!ACCEPT_ITERABLES){ \n\t C = wrapper(function(target, iterable){\n\t anInstance(target, C, NAME);\n\t var that = inheritIfRequired(new Base, target, C);\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t return that;\n\t });\n\t C.prototype = proto;\n\t proto.constructor = C;\n\t }\n\t if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n\t fixMethod('delete');\n\t fixMethod('has');\n\t IS_MAP && fixMethod('get');\n\t }\n\t if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n\t // weak collections should not contains .clear method\n\t if(IS_WEAK && proto.clear)delete proto.clear;\n\t }\n\t\n\t setToStringTag(C, NAME);\n\t\n\t O[NAME] = C;\n\t $export($export.G + $export.W + $export.F * (C != Base), O);\n\t\n\t if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\t\n\t return C;\n\t};\n\n/***/ },\n/* 213 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar strong = __webpack_require__(211);\n\t\n\t// 23.2 Set Objects\n\tmodule.exports = __webpack_require__(212)('Set', function(get){\n\t return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.2.3.1 Set.prototype.add(value)\n\t add: function add(value){\n\t return strong.def(this, value = value === 0 ? 0 : value, value);\n\t }\n\t}, strong);\n\n/***/ },\n/* 214 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar each = __webpack_require__(171)(0)\n\t , redefine = __webpack_require__(17)\n\t , meta = __webpack_require__(21)\n\t , assign = __webpack_require__(68)\n\t , weak = __webpack_require__(215)\n\t , isObject = __webpack_require__(12)\n\t , getWeak = meta.getWeak\n\t , isExtensible = Object.isExtensible\n\t , uncaughtFrozenStore = weak.ufstore\n\t , tmp = {}\n\t , InternalMap;\n\t\n\tvar wrapper = function(get){\n\t return function WeakMap(){\n\t return get(this, arguments.length > 0 ? arguments[0] : undefined);\n\t };\n\t};\n\t\n\tvar methods = {\n\t // 23.3.3.3 WeakMap.prototype.get(key)\n\t get: function get(key){\n\t if(isObject(key)){\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this).get(key);\n\t return data ? data[this._i] : undefined;\n\t }\n\t },\n\t // 23.3.3.5 WeakMap.prototype.set(key, value)\n\t set: function set(key, value){\n\t return weak.def(this, key, value);\n\t }\n\t};\n\t\n\t// 23.3 WeakMap Objects\n\tvar $WeakMap = module.exports = __webpack_require__(212)('WeakMap', wrapper, methods, weak, true, true);\n\t\n\t// IE11 WeakMap frozen keys fix\n\tif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n\t InternalMap = weak.getConstructor(wrapper);\n\t assign(InternalMap.prototype, methods);\n\t meta.NEED = true;\n\t each(['delete', 'has', 'get', 'set'], function(key){\n\t var proto = $WeakMap.prototype\n\t , method = proto[key];\n\t redefine(proto, key, function(a, b){\n\t // store frozen objects on internal weakmap shim\n\t if(isObject(a) && !isExtensible(a)){\n\t if(!this._f)this._f = new InternalMap;\n\t var result = this._f[key](a, b);\n\t return key == 'set' ? this : result;\n\t // store all the rest on native weakmap\n\t } return method.call(this, a, b);\n\t });\n\t });\n\t}\n\n/***/ },\n/* 215 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar redefineAll = __webpack_require__(209)\n\t , getWeak = __webpack_require__(21).getWeak\n\t , anObject = __webpack_require__(11)\n\t , isObject = __webpack_require__(12)\n\t , anInstance = __webpack_require__(204)\n\t , forOf = __webpack_require__(205)\n\t , createArrayMethod = __webpack_require__(171)\n\t , $has = __webpack_require__(4)\n\t , arrayFind = createArrayMethod(5)\n\t , arrayFindIndex = createArrayMethod(6)\n\t , id = 0;\n\t\n\t// fallback for uncaught frozen keys\n\tvar uncaughtFrozenStore = function(that){\n\t return that._l || (that._l = new UncaughtFrozenStore);\n\t};\n\tvar UncaughtFrozenStore = function(){\n\t this.a = [];\n\t};\n\tvar findUncaughtFrozen = function(store, key){\n\t return arrayFind(store.a, function(it){\n\t return it[0] === key;\n\t });\n\t};\n\tUncaughtFrozenStore.prototype = {\n\t get: function(key){\n\t var entry = findUncaughtFrozen(this, key);\n\t if(entry)return entry[1];\n\t },\n\t has: function(key){\n\t return !!findUncaughtFrozen(this, key);\n\t },\n\t set: function(key, value){\n\t var entry = findUncaughtFrozen(this, key);\n\t if(entry)entry[1] = value;\n\t else this.a.push([key, value]);\n\t },\n\t 'delete': function(key){\n\t var index = arrayFindIndex(this.a, function(it){\n\t return it[0] === key;\n\t });\n\t if(~index)this.a.splice(index, 1);\n\t return !!~index;\n\t }\n\t};\n\t\n\tmodule.exports = {\n\t getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n\t var C = wrapper(function(that, iterable){\n\t anInstance(that, C, NAME, '_i');\n\t that._i = id++; // collection id\n\t that._l = undefined; // leak store for uncaught frozen objects\n\t if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n\t });\n\t redefineAll(C.prototype, {\n\t // 23.3.3.2 WeakMap.prototype.delete(key)\n\t // 23.4.3.3 WeakSet.prototype.delete(value)\n\t 'delete': function(key){\n\t if(!isObject(key))return false;\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this)['delete'](key);\n\t return data && $has(data, this._i) && delete data[this._i];\n\t },\n\t // 23.3.3.4 WeakMap.prototype.has(key)\n\t // 23.4.3.4 WeakSet.prototype.has(value)\n\t has: function has(key){\n\t if(!isObject(key))return false;\n\t var data = getWeak(key);\n\t if(data === true)return uncaughtFrozenStore(this).has(key);\n\t return data && $has(data, this._i);\n\t }\n\t });\n\t return C;\n\t },\n\t def: function(that, key, value){\n\t var data = getWeak(anObject(key), true);\n\t if(data === true)uncaughtFrozenStore(that).set(key, value);\n\t else data[that._i] = value;\n\t return that;\n\t },\n\t ufstore: uncaughtFrozenStore\n\t};\n\n/***/ },\n/* 216 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar weak = __webpack_require__(215);\n\t\n\t// 23.4 WeakSet Objects\n\t__webpack_require__(212)('WeakSet', function(get){\n\t return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.4.3.1 WeakSet.prototype.add(value)\n\t add: function add(value){\n\t return weak.def(this, value, true);\n\t }\n\t}, weak, false, true);\n\n/***/ },\n/* 217 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(7)\n\t , $typed = __webpack_require__(218)\n\t , buffer = __webpack_require__(219)\n\t , anObject = __webpack_require__(11)\n\t , toIndex = __webpack_require__(38)\n\t , toLength = __webpack_require__(36)\n\t , isObject = __webpack_require__(12)\n\t , ArrayBuffer = __webpack_require__(3).ArrayBuffer\n\t , speciesConstructor = __webpack_require__(206)\n\t , $ArrayBuffer = buffer.ArrayBuffer\n\t , $DataView = buffer.DataView\n\t , $isView = $typed.ABV && ArrayBuffer.isView\n\t , $slice = $ArrayBuffer.prototype.slice\n\t , VIEW = $typed.VIEW\n\t , ARRAY_BUFFER = 'ArrayBuffer';\n\t\n\t$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});\n\t\n\t$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n\t // 24.1.3.1 ArrayBuffer.isView(arg)\n\t isView: function isView(it){\n\t return $isView && $isView(it) || isObject(it) && VIEW in it;\n\t }\n\t});\n\t\n\t$export($export.P + $export.U + $export.F * __webpack_require__(6)(function(){\n\t return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n\t}), ARRAY_BUFFER, {\n\t // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n\t slice: function slice(start, end){\n\t if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix\n\t var len = anObject(this).byteLength\n\t , first = toIndex(start, len)\n\t , final = toIndex(end === undefined ? len : end, len)\n\t , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))\n\t , viewS = new $DataView(this)\n\t , viewT = new $DataView(result)\n\t , index = 0;\n\t while(first < final){\n\t viewT.setUint8(index++, viewS.getUint8(first++));\n\t } return result;\n\t }\n\t});\n\t\n\t__webpack_require__(191)(ARRAY_BUFFER);\n\n/***/ },\n/* 218 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(3)\n\t , hide = __webpack_require__(9)\n\t , uid = __webpack_require__(18)\n\t , TYPED = uid('typed_array')\n\t , VIEW = uid('view')\n\t , ABV = !!(global.ArrayBuffer && global.DataView)\n\t , CONSTR = ABV\n\t , i = 0, l = 9, Typed;\n\t\n\tvar TypedArrayConstructors = (\n\t 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n\t).split(',');\n\t\n\twhile(i < l){\n\t if(Typed = global[TypedArrayConstructors[i++]]){\n\t hide(Typed.prototype, TYPED, true);\n\t hide(Typed.prototype, VIEW, true);\n\t } else CONSTR = false;\n\t}\n\t\n\tmodule.exports = {\n\t ABV: ABV,\n\t CONSTR: CONSTR,\n\t TYPED: TYPED,\n\t VIEW: VIEW\n\t};\n\n/***/ },\n/* 219 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(3)\n\t , DESCRIPTORS = __webpack_require__(5)\n\t , LIBRARY = __webpack_require__(27)\n\t , $typed = __webpack_require__(218)\n\t , hide = __webpack_require__(9)\n\t , redefineAll = __webpack_require__(209)\n\t , fails = __webpack_require__(6)\n\t , anInstance = __webpack_require__(204)\n\t , toInteger = __webpack_require__(37)\n\t , toLength = __webpack_require__(36)\n\t , gOPN = __webpack_require__(49).f\n\t , dP = __webpack_require__(10).f\n\t , arrayFill = __webpack_require__(187)\n\t , setToStringTag = __webpack_require__(23)\n\t , ARRAY_BUFFER = 'ArrayBuffer'\n\t , DATA_VIEW = 'DataView'\n\t , PROTOTYPE = 'prototype'\n\t , WRONG_LENGTH = 'Wrong length!'\n\t , WRONG_INDEX = 'Wrong index!'\n\t , $ArrayBuffer = global[ARRAY_BUFFER]\n\t , $DataView = global[DATA_VIEW]\n\t , Math = global.Math\n\t , RangeError = global.RangeError\n\t , Infinity = global.Infinity\n\t , BaseBuffer = $ArrayBuffer\n\t , abs = Math.abs\n\t , pow = Math.pow\n\t , floor = Math.floor\n\t , log = Math.log\n\t , LN2 = Math.LN2\n\t , BUFFER = 'buffer'\n\t , BYTE_LENGTH = 'byteLength'\n\t , BYTE_OFFSET = 'byteOffset'\n\t , $BUFFER = DESCRIPTORS ? '_b' : BUFFER\n\t , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH\n\t , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\t\n\t// IEEE754 conversions based on https://github.com/feross/ieee754\n\tvar packIEEE754 = function(value, mLen, nBytes){\n\t var buffer = Array(nBytes)\n\t , eLen = nBytes * 8 - mLen - 1\n\t , eMax = (1 << eLen) - 1\n\t , eBias = eMax >> 1\n\t , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0\n\t , i = 0\n\t , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0\n\t , e, m, c;\n\t value = abs(value)\n\t if(value != value || value === Infinity){\n\t m = value != value ? 1 : 0;\n\t e = eMax;\n\t } else {\n\t e = floor(log(value) / LN2);\n\t if(value * (c = pow(2, -e)) < 1){\n\t e--;\n\t c *= 2;\n\t }\n\t if(e + eBias >= 1){\n\t value += rt / c;\n\t } else {\n\t value += rt * pow(2, 1 - eBias);\n\t }\n\t if(value * c >= 2){\n\t e++;\n\t c /= 2;\n\t }\n\t if(e + eBias >= eMax){\n\t m = 0;\n\t e = eMax;\n\t } else if(e + eBias >= 1){\n\t m = (value * c - 1) * pow(2, mLen);\n\t e = e + eBias;\n\t } else {\n\t m = value * pow(2, eBias - 1) * pow(2, mLen);\n\t e = 0;\n\t }\n\t }\n\t for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n\t e = e << mLen | m;\n\t eLen += mLen;\n\t for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n\t buffer[--i] |= s * 128;\n\t return buffer;\n\t};\n\tvar unpackIEEE754 = function(buffer, mLen, nBytes){\n\t var eLen = nBytes * 8 - mLen - 1\n\t , eMax = (1 << eLen) - 1\n\t , eBias = eMax >> 1\n\t , nBits = eLen - 7\n\t , i = nBytes - 1\n\t , s = buffer[i--]\n\t , e = s & 127\n\t , m;\n\t s >>= 7;\n\t for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n\t m = e & (1 << -nBits) - 1;\n\t e >>= -nBits;\n\t nBits += mLen;\n\t for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n\t if(e === 0){\n\t e = 1 - eBias;\n\t } else if(e === eMax){\n\t return m ? NaN : s ? -Infinity : Infinity;\n\t } else {\n\t m = m + pow(2, mLen);\n\t e = e - eBias;\n\t } return (s ? -1 : 1) * m * pow(2, e - mLen);\n\t};\n\t\n\tvar unpackI32 = function(bytes){\n\t return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n\t};\n\tvar packI8 = function(it){\n\t return [it & 0xff];\n\t};\n\tvar packI16 = function(it){\n\t return [it & 0xff, it >> 8 & 0xff];\n\t};\n\tvar packI32 = function(it){\n\t return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n\t};\n\tvar packF64 = function(it){\n\t return packIEEE754(it, 52, 8);\n\t};\n\tvar packF32 = function(it){\n\t return packIEEE754(it, 23, 4);\n\t};\n\t\n\tvar addGetter = function(C, key, internal){\n\t dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});\n\t};\n\t\n\tvar get = function(view, bytes, index, isLittleEndian){\n\t var numIndex = +index\n\t , intIndex = toInteger(numIndex);\n\t if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n\t var store = view[$BUFFER]._b\n\t , start = intIndex + view[$OFFSET]\n\t , pack = store.slice(start, start + bytes);\n\t return isLittleEndian ? pack : pack.reverse();\n\t};\n\tvar set = function(view, bytes, index, conversion, value, isLittleEndian){\n\t var numIndex = +index\n\t , intIndex = toInteger(numIndex);\n\t if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n\t var store = view[$BUFFER]._b\n\t , start = intIndex + view[$OFFSET]\n\t , pack = conversion(+value);\n\t for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n\t};\n\t\n\tvar validateArrayBufferArguments = function(that, length){\n\t anInstance(that, $ArrayBuffer, ARRAY_BUFFER);\n\t var numberLength = +length\n\t , byteLength = toLength(numberLength);\n\t if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);\n\t return byteLength;\n\t};\n\t\n\tif(!$typed.ABV){\n\t $ArrayBuffer = function ArrayBuffer(length){\n\t var byteLength = validateArrayBufferArguments(this, length);\n\t this._b = arrayFill.call(Array(byteLength), 0);\n\t this[$LENGTH] = byteLength;\n\t };\n\t\n\t $DataView = function DataView(buffer, byteOffset, byteLength){\n\t anInstance(this, $DataView, DATA_VIEW);\n\t anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n\t var bufferLength = buffer[$LENGTH]\n\t , offset = toInteger(byteOffset);\n\t if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');\n\t byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n\t if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);\n\t this[$BUFFER] = buffer;\n\t this[$OFFSET] = offset;\n\t this[$LENGTH] = byteLength;\n\t };\n\t\n\t if(DESCRIPTORS){\n\t addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n\t addGetter($DataView, BUFFER, '_b');\n\t addGetter($DataView, BYTE_LENGTH, '_l');\n\t addGetter($DataView, BYTE_OFFSET, '_o');\n\t }\n\t\n\t redefineAll($DataView[PROTOTYPE], {\n\t getInt8: function getInt8(byteOffset){\n\t return get(this, 1, byteOffset)[0] << 24 >> 24;\n\t },\n\t getUint8: function getUint8(byteOffset){\n\t return get(this, 1, byteOffset)[0];\n\t },\n\t getInt16: function getInt16(byteOffset /*, littleEndian */){\n\t var bytes = get(this, 2, byteOffset, arguments[1]);\n\t return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n\t },\n\t getUint16: function getUint16(byteOffset /*, littleEndian */){\n\t var bytes = get(this, 2, byteOffset, arguments[1]);\n\t return bytes[1] << 8 | bytes[0];\n\t },\n\t getInt32: function getInt32(byteOffset /*, littleEndian */){\n\t return unpackI32(get(this, 4, byteOffset, arguments[1]));\n\t },\n\t getUint32: function getUint32(byteOffset /*, littleEndian */){\n\t return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n\t },\n\t getFloat32: function getFloat32(byteOffset /*, littleEndian */){\n\t return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n\t },\n\t getFloat64: function getFloat64(byteOffset /*, littleEndian */){\n\t return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n\t },\n\t setInt8: function setInt8(byteOffset, value){\n\t set(this, 1, byteOffset, packI8, value);\n\t },\n\t setUint8: function setUint8(byteOffset, value){\n\t set(this, 1, byteOffset, packI8, value);\n\t },\n\t setInt16: function setInt16(byteOffset, value /*, littleEndian */){\n\t set(this, 2, byteOffset, packI16, value, arguments[2]);\n\t },\n\t setUint16: function setUint16(byteOffset, value /*, littleEndian */){\n\t set(this, 2, byteOffset, packI16, value, arguments[2]);\n\t },\n\t setInt32: function setInt32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packI32, value, arguments[2]);\n\t },\n\t setUint32: function setUint32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packI32, value, arguments[2]);\n\t },\n\t setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){\n\t set(this, 4, byteOffset, packF32, value, arguments[2]);\n\t },\n\t setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){\n\t set(this, 8, byteOffset, packF64, value, arguments[2]);\n\t }\n\t });\n\t} else {\n\t if(!fails(function(){\n\t new $ArrayBuffer; // eslint-disable-line no-new\n\t }) || !fails(function(){\n\t new $ArrayBuffer(.5); // eslint-disable-line no-new\n\t })){\n\t $ArrayBuffer = function ArrayBuffer(length){\n\t return new BaseBuffer(validateArrayBufferArguments(this, length));\n\t };\n\t var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n\t for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){\n\t if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);\n\t };\n\t if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;\n\t }\n\t // iOS Safari 7.x bug\n\t var view = new $DataView(new $ArrayBuffer(2))\n\t , $setInt8 = $DataView[PROTOTYPE].setInt8;\n\t view.setInt8(0, 2147483648);\n\t view.setInt8(1, 2147483649);\n\t if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {\n\t setInt8: function setInt8(byteOffset, value){\n\t $setInt8.call(this, byteOffset, value << 24 >> 24);\n\t },\n\t setUint8: function setUint8(byteOffset, value){\n\t $setInt8.call(this, byteOffset, value << 24 >> 24);\n\t }\n\t }, true);\n\t}\n\tsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\n\tsetToStringTag($DataView, DATA_VIEW);\n\thide($DataView[PROTOTYPE], $typed.VIEW, true);\n\texports[ARRAY_BUFFER] = $ArrayBuffer;\n\texports[DATA_VIEW] = $DataView;\n\n/***/ },\n/* 220 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(7);\n\t$export($export.G + $export.W + $export.F * !__webpack_require__(218).ABV, {\n\t DataView: __webpack_require__(219).DataView\n\t});\n\n/***/ },\n/* 221 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Int8', 1, function(init){\n\t return function Int8Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 222 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tif(__webpack_require__(5)){\n\t var LIBRARY = __webpack_require__(27)\n\t , global = __webpack_require__(3)\n\t , fails = __webpack_require__(6)\n\t , $export = __webpack_require__(7)\n\t , $typed = __webpack_require__(218)\n\t , $buffer = __webpack_require__(219)\n\t , ctx = __webpack_require__(19)\n\t , anInstance = __webpack_require__(204)\n\t , propertyDesc = __webpack_require__(16)\n\t , hide = __webpack_require__(9)\n\t , redefineAll = __webpack_require__(209)\n\t , toInteger = __webpack_require__(37)\n\t , toLength = __webpack_require__(36)\n\t , toIndex = __webpack_require__(38)\n\t , toPrimitive = __webpack_require__(15)\n\t , has = __webpack_require__(4)\n\t , same = __webpack_require__(70)\n\t , classof = __webpack_require__(74)\n\t , isObject = __webpack_require__(12)\n\t , toObject = __webpack_require__(57)\n\t , isArrayIter = __webpack_require__(161)\n\t , create = __webpack_require__(45)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , gOPN = __webpack_require__(49).f\n\t , getIterFn = __webpack_require__(163)\n\t , uid = __webpack_require__(18)\n\t , wks = __webpack_require__(24)\n\t , createArrayMethod = __webpack_require__(171)\n\t , createArrayIncludes = __webpack_require__(35)\n\t , speciesConstructor = __webpack_require__(206)\n\t , ArrayIterators = __webpack_require__(192)\n\t , Iterators = __webpack_require__(128)\n\t , $iterDetect = __webpack_require__(164)\n\t , setSpecies = __webpack_require__(191)\n\t , arrayFill = __webpack_require__(187)\n\t , arrayCopyWithin = __webpack_require__(184)\n\t , $DP = __webpack_require__(10)\n\t , $GOPD = __webpack_require__(50)\n\t , dP = $DP.f\n\t , gOPD = $GOPD.f\n\t , RangeError = global.RangeError\n\t , TypeError = global.TypeError\n\t , Uint8Array = global.Uint8Array\n\t , ARRAY_BUFFER = 'ArrayBuffer'\n\t , SHARED_BUFFER = 'Shared' + ARRAY_BUFFER\n\t , BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'\n\t , PROTOTYPE = 'prototype'\n\t , ArrayProto = Array[PROTOTYPE]\n\t , $ArrayBuffer = $buffer.ArrayBuffer\n\t , $DataView = $buffer.DataView\n\t , arrayForEach = createArrayMethod(0)\n\t , arrayFilter = createArrayMethod(2)\n\t , arraySome = createArrayMethod(3)\n\t , arrayEvery = createArrayMethod(4)\n\t , arrayFind = createArrayMethod(5)\n\t , arrayFindIndex = createArrayMethod(6)\n\t , arrayIncludes = createArrayIncludes(true)\n\t , arrayIndexOf = createArrayIncludes(false)\n\t , arrayValues = ArrayIterators.values\n\t , arrayKeys = ArrayIterators.keys\n\t , arrayEntries = ArrayIterators.entries\n\t , arrayLastIndexOf = ArrayProto.lastIndexOf\n\t , arrayReduce = ArrayProto.reduce\n\t , arrayReduceRight = ArrayProto.reduceRight\n\t , arrayJoin = ArrayProto.join\n\t , arraySort = ArrayProto.sort\n\t , arraySlice = ArrayProto.slice\n\t , arrayToString = ArrayProto.toString\n\t , arrayToLocaleString = ArrayProto.toLocaleString\n\t , ITERATOR = wks('iterator')\n\t , TAG = wks('toStringTag')\n\t , TYPED_CONSTRUCTOR = uid('typed_constructor')\n\t , DEF_CONSTRUCTOR = uid('def_constructor')\n\t , ALL_CONSTRUCTORS = $typed.CONSTR\n\t , TYPED_ARRAY = $typed.TYPED\n\t , VIEW = $typed.VIEW\n\t , WRONG_LENGTH = 'Wrong length!';\n\t\n\t var $map = createArrayMethod(1, function(O, length){\n\t return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n\t });\n\t\n\t var LITTLE_ENDIAN = fails(function(){\n\t return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n\t });\n\t\n\t var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function(){\n\t new Uint8Array(1).set({});\n\t });\n\t\n\t var strictToLength = function(it, SAME){\n\t if(it === undefined)throw TypeError(WRONG_LENGTH);\n\t var number = +it\n\t , length = toLength(it);\n\t if(SAME && !same(number, length))throw RangeError(WRONG_LENGTH);\n\t return length;\n\t };\n\t\n\t var toOffset = function(it, BYTES){\n\t var offset = toInteger(it);\n\t if(offset < 0 || offset % BYTES)throw RangeError('Wrong offset!');\n\t return offset;\n\t };\n\t\n\t var validate = function(it){\n\t if(isObject(it) && TYPED_ARRAY in it)return it;\n\t throw TypeError(it + ' is not a typed array!');\n\t };\n\t\n\t var allocate = function(C, length){\n\t if(!(isObject(C) && TYPED_CONSTRUCTOR in C)){\n\t throw TypeError('It is not a typed array constructor!');\n\t } return new C(length);\n\t };\n\t\n\t var speciesFromList = function(O, list){\n\t return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n\t };\n\t\n\t var fromList = function(C, list){\n\t var index = 0\n\t , length = list.length\n\t , result = allocate(C, length);\n\t while(length > index)result[index] = list[index++];\n\t return result;\n\t };\n\t\n\t var addGetter = function(it, key, internal){\n\t dP(it, key, {get: function(){ return this._d[internal]; }});\n\t };\n\t\n\t var $from = function from(source /*, mapfn, thisArg */){\n\t var O = toObject(source)\n\t , aLen = arguments.length\n\t , mapfn = aLen > 1 ? arguments[1] : undefined\n\t , mapping = mapfn !== undefined\n\t , iterFn = getIterFn(O)\n\t , i, length, values, result, step, iterator;\n\t if(iterFn != undefined && !isArrayIter(iterFn)){\n\t for(iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++){\n\t values.push(step.value);\n\t } O = values;\n\t }\n\t if(mapping && aLen > 2)mapfn = ctx(mapfn, arguments[2], 2);\n\t for(i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++){\n\t result[i] = mapping ? mapfn(O[i], i) : O[i];\n\t }\n\t return result;\n\t };\n\t\n\t var $of = function of(/*...items*/){\n\t var index = 0\n\t , length = arguments.length\n\t , result = allocate(this, length);\n\t while(length > index)result[index] = arguments[index++];\n\t return result;\n\t };\n\t\n\t // iOS Safari 6.x fails here\n\t var TO_LOCALE_BUG = !!Uint8Array && fails(function(){ arrayToLocaleString.call(new Uint8Array(1)); });\n\t\n\t var $toLocaleString = function toLocaleString(){\n\t return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n\t };\n\t\n\t var proto = {\n\t copyWithin: function copyWithin(target, start /*, end */){\n\t return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n\t },\n\t every: function every(callbackfn /*, thisArg */){\n\t return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t fill: function fill(value /*, start, end */){ // eslint-disable-line no-unused-vars\n\t return arrayFill.apply(validate(this), arguments);\n\t },\n\t filter: function filter(callbackfn /*, thisArg */){\n\t return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n\t arguments.length > 1 ? arguments[1] : undefined));\n\t },\n\t find: function find(predicate /*, thisArg */){\n\t return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t findIndex: function findIndex(predicate /*, thisArg */){\n\t return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t forEach: function forEach(callbackfn /*, thisArg */){\n\t arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t indexOf: function indexOf(searchElement /*, fromIndex */){\n\t return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t includes: function includes(searchElement /*, fromIndex */){\n\t return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t join: function join(separator){ // eslint-disable-line no-unused-vars\n\t return arrayJoin.apply(validate(this), arguments);\n\t },\n\t lastIndexOf: function lastIndexOf(searchElement /*, fromIndex */){ // eslint-disable-line no-unused-vars\n\t return arrayLastIndexOf.apply(validate(this), arguments);\n\t },\n\t map: function map(mapfn /*, thisArg */){\n\t return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t reduce: function reduce(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars\n\t return arrayReduce.apply(validate(this), arguments);\n\t },\n\t reduceRight: function reduceRight(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars\n\t return arrayReduceRight.apply(validate(this), arguments);\n\t },\n\t reverse: function reverse(){\n\t var that = this\n\t , length = validate(that).length\n\t , middle = Math.floor(length / 2)\n\t , index = 0\n\t , value;\n\t while(index < middle){\n\t value = that[index];\n\t that[index++] = that[--length];\n\t that[length] = value;\n\t } return that;\n\t },\n\t some: function some(callbackfn /*, thisArg */){\n\t return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t },\n\t sort: function sort(comparefn){\n\t return arraySort.call(validate(this), comparefn);\n\t },\n\t subarray: function subarray(begin, end){\n\t var O = validate(this)\n\t , length = O.length\n\t , $begin = toIndex(begin, length);\n\t return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n\t O.buffer,\n\t O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n\t toLength((end === undefined ? length : toIndex(end, length)) - $begin)\n\t );\n\t }\n\t };\n\t\n\t var $slice = function slice(start, end){\n\t return speciesFromList(this, arraySlice.call(validate(this), start, end));\n\t };\n\t\n\t var $set = function set(arrayLike /*, offset */){\n\t validate(this);\n\t var offset = toOffset(arguments[1], 1)\n\t , length = this.length\n\t , src = toObject(arrayLike)\n\t , len = toLength(src.length)\n\t , index = 0;\n\t if(len + offset > length)throw RangeError(WRONG_LENGTH);\n\t while(index < len)this[offset + index] = src[index++];\n\t };\n\t\n\t var $iterators = {\n\t entries: function entries(){\n\t return arrayEntries.call(validate(this));\n\t },\n\t keys: function keys(){\n\t return arrayKeys.call(validate(this));\n\t },\n\t values: function values(){\n\t return arrayValues.call(validate(this));\n\t }\n\t };\n\t\n\t var isTAIndex = function(target, key){\n\t return isObject(target)\n\t && target[TYPED_ARRAY]\n\t && typeof key != 'symbol'\n\t && key in target\n\t && String(+key) == String(key);\n\t };\n\t var $getDesc = function getOwnPropertyDescriptor(target, key){\n\t return isTAIndex(target, key = toPrimitive(key, true))\n\t ? propertyDesc(2, target[key])\n\t : gOPD(target, key);\n\t };\n\t var $setDesc = function defineProperty(target, key, desc){\n\t if(isTAIndex(target, key = toPrimitive(key, true))\n\t && isObject(desc)\n\t && has(desc, 'value')\n\t && !has(desc, 'get')\n\t && !has(desc, 'set')\n\t // TODO: add validation descriptor w/o calling accessors\n\t && !desc.configurable\n\t && (!has(desc, 'writable') || desc.writable)\n\t && (!has(desc, 'enumerable') || desc.enumerable)\n\t ){\n\t target[key] = desc.value;\n\t return target;\n\t } else return dP(target, key, desc);\n\t };\n\t\n\t if(!ALL_CONSTRUCTORS){\n\t $GOPD.f = $getDesc;\n\t $DP.f = $setDesc;\n\t }\n\t\n\t $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n\t getOwnPropertyDescriptor: $getDesc,\n\t defineProperty: $setDesc\n\t });\n\t\n\t if(fails(function(){ arrayToString.call({}); })){\n\t arrayToString = arrayToLocaleString = function toString(){\n\t return arrayJoin.call(this);\n\t }\n\t }\n\t\n\t var $TypedArrayPrototype$ = redefineAll({}, proto);\n\t redefineAll($TypedArrayPrototype$, $iterators);\n\t hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n\t redefineAll($TypedArrayPrototype$, {\n\t slice: $slice,\n\t set: $set,\n\t constructor: function(){ /* noop */ },\n\t toString: arrayToString,\n\t toLocaleString: $toLocaleString\n\t });\n\t addGetter($TypedArrayPrototype$, 'buffer', 'b');\n\t addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n\t addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n\t addGetter($TypedArrayPrototype$, 'length', 'e');\n\t dP($TypedArrayPrototype$, TAG, {\n\t get: function(){ return this[TYPED_ARRAY]; }\n\t });\n\t\n\t module.exports = function(KEY, BYTES, wrapper, CLAMPED){\n\t CLAMPED = !!CLAMPED;\n\t var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'\n\t , ISNT_UINT8 = NAME != 'Uint8Array'\n\t , GETTER = 'get' + KEY\n\t , SETTER = 'set' + KEY\n\t , TypedArray = global[NAME]\n\t , Base = TypedArray || {}\n\t , TAC = TypedArray && getPrototypeOf(TypedArray)\n\t , FORCED = !TypedArray || !$typed.ABV\n\t , O = {}\n\t , TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n\t var getter = function(that, index){\n\t var data = that._d;\n\t return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n\t };\n\t var setter = function(that, index, value){\n\t var data = that._d;\n\t if(CLAMPED)value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n\t data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n\t };\n\t var addElement = function(that, index){\n\t dP(that, index, {\n\t get: function(){\n\t return getter(this, index);\n\t },\n\t set: function(value){\n\t return setter(this, index, value);\n\t },\n\t enumerable: true\n\t });\n\t };\n\t if(FORCED){\n\t TypedArray = wrapper(function(that, data, $offset, $length){\n\t anInstance(that, TypedArray, NAME, '_d');\n\t var index = 0\n\t , offset = 0\n\t , buffer, byteLength, length, klass;\n\t if(!isObject(data)){\n\t length = strictToLength(data, true)\n\t byteLength = length * BYTES;\n\t buffer = new $ArrayBuffer(byteLength);\n\t } else if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){\n\t buffer = data;\n\t offset = toOffset($offset, BYTES);\n\t var $len = data.byteLength;\n\t if($length === undefined){\n\t if($len % BYTES)throw RangeError(WRONG_LENGTH);\n\t byteLength = $len - offset;\n\t if(byteLength < 0)throw RangeError(WRONG_LENGTH);\n\t } else {\n\t byteLength = toLength($length) * BYTES;\n\t if(byteLength + offset > $len)throw RangeError(WRONG_LENGTH);\n\t }\n\t length = byteLength / BYTES;\n\t } else if(TYPED_ARRAY in data){\n\t return fromList(TypedArray, data);\n\t } else {\n\t return $from.call(TypedArray, data);\n\t }\n\t hide(that, '_d', {\n\t b: buffer,\n\t o: offset,\n\t l: byteLength,\n\t e: length,\n\t v: new $DataView(buffer)\n\t });\n\t while(index < length)addElement(that, index++);\n\t });\n\t TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n\t hide(TypedArrayPrototype, 'constructor', TypedArray);\n\t } else if(!$iterDetect(function(iter){\n\t // V8 works with iterators, but fails in many other cases\n\t // https://code.google.com/p/v8/issues/detail?id=4552\n\t new TypedArray(null); // eslint-disable-line no-new\n\t new TypedArray(iter); // eslint-disable-line no-new\n\t }, true)){\n\t TypedArray = wrapper(function(that, data, $offset, $length){\n\t anInstance(that, TypedArray, NAME);\n\t var klass;\n\t // `ws` module bug, temporarily remove validation length for Uint8Array\n\t // https://github.com/websockets/ws/pull/645\n\t if(!isObject(data))return new Base(strictToLength(data, ISNT_UINT8));\n\t if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){\n\t return $length !== undefined\n\t ? new Base(data, toOffset($offset, BYTES), $length)\n\t : $offset !== undefined\n\t ? new Base(data, toOffset($offset, BYTES))\n\t : new Base(data);\n\t }\n\t if(TYPED_ARRAY in data)return fromList(TypedArray, data);\n\t return $from.call(TypedArray, data);\n\t });\n\t arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key){\n\t if(!(key in TypedArray))hide(TypedArray, key, Base[key]);\n\t });\n\t TypedArray[PROTOTYPE] = TypedArrayPrototype;\n\t if(!LIBRARY)TypedArrayPrototype.constructor = TypedArray;\n\t }\n\t var $nativeIterator = TypedArrayPrototype[ITERATOR]\n\t , CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined)\n\t , $iterator = $iterators.values;\n\t hide(TypedArray, TYPED_CONSTRUCTOR, true);\n\t hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n\t hide(TypedArrayPrototype, VIEW, true);\n\t hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\t\n\t if(CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)){\n\t dP(TypedArrayPrototype, TAG, {\n\t get: function(){ return NAME; }\n\t });\n\t }\n\t\n\t O[NAME] = TypedArray;\n\t\n\t $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\t\n\t $export($export.S, NAME, {\n\t BYTES_PER_ELEMENT: BYTES,\n\t from: $from,\n\t of: $of\n\t });\n\t\n\t if(!(BYTES_PER_ELEMENT in TypedArrayPrototype))hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\t\n\t $export($export.P, NAME, proto);\n\t\n\t setSpecies(NAME);\n\t\n\t $export($export.P + $export.F * FORCED_SET, NAME, {set: $set});\n\t\n\t $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\t\n\t $export($export.P + $export.F * (TypedArrayPrototype.toString != arrayToString), NAME, {toString: arrayToString});\n\t\n\t $export($export.P + $export.F * fails(function(){\n\t new TypedArray(1).slice();\n\t }), NAME, {slice: $slice});\n\t\n\t $export($export.P + $export.F * (fails(function(){\n\t return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString()\n\t }) || !fails(function(){\n\t TypedArrayPrototype.toLocaleString.call([1, 2]);\n\t })), NAME, {toLocaleString: $toLocaleString});\n\t\n\t Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n\t if(!LIBRARY && !CORRECT_ITER_NAME)hide(TypedArrayPrototype, ITERATOR, $iterator);\n\t };\n\t} else module.exports = function(){ /* empty */ };\n\n/***/ },\n/* 223 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Uint8', 1, function(init){\n\t return function Uint8Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 224 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Uint8', 1, function(init){\n\t return function Uint8ClampedArray(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t}, true);\n\n/***/ },\n/* 225 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Int16', 2, function(init){\n\t return function Int16Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 226 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Uint16', 2, function(init){\n\t return function Uint16Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 227 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Int32', 4, function(init){\n\t return function Int32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 228 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Uint32', 4, function(init){\n\t return function Uint32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 229 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Float32', 4, function(init){\n\t return function Float32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 230 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(222)('Float64', 8, function(init){\n\t return function Float64Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 231 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\n\tvar $export = __webpack_require__(7)\n\t , aFunction = __webpack_require__(20)\n\t , anObject = __webpack_require__(11)\n\t , rApply = (__webpack_require__(3).Reflect || {}).apply\n\t , fApply = Function.apply;\n\t// MS Edge argumentsList argument is optional\n\t$export($export.S + $export.F * !__webpack_require__(6)(function(){\n\t rApply(function(){});\n\t}), 'Reflect', {\n\t apply: function apply(target, thisArgument, argumentsList){\n\t var T = aFunction(target)\n\t , L = anObject(argumentsList);\n\t return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n\t }\n\t});\n\n/***/ },\n/* 232 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\n\tvar $export = __webpack_require__(7)\n\t , create = __webpack_require__(45)\n\t , aFunction = __webpack_require__(20)\n\t , anObject = __webpack_require__(11)\n\t , isObject = __webpack_require__(12)\n\t , fails = __webpack_require__(6)\n\t , bind = __webpack_require__(76)\n\t , rConstruct = (__webpack_require__(3).Reflect || {}).construct;\n\t\n\t// MS Edge supports only 2 arguments and argumentsList argument is optional\n\t// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n\tvar NEW_TARGET_BUG = fails(function(){\n\t function F(){}\n\t return !(rConstruct(function(){}, [], F) instanceof F);\n\t});\n\tvar ARGS_BUG = !fails(function(){\n\t rConstruct(function(){});\n\t});\n\t\n\t$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n\t construct: function construct(Target, args /*, newTarget*/){\n\t aFunction(Target);\n\t anObject(args);\n\t var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n\t if(ARGS_BUG && !NEW_TARGET_BUG)return rConstruct(Target, args, newTarget);\n\t if(Target == newTarget){\n\t // w/o altered newTarget, optimization for 0-4 arguments\n\t switch(args.length){\n\t case 0: return new Target;\n\t case 1: return new Target(args[0]);\n\t case 2: return new Target(args[0], args[1]);\n\t case 3: return new Target(args[0], args[1], args[2]);\n\t case 4: return new Target(args[0], args[1], args[2], args[3]);\n\t }\n\t // w/o altered newTarget, lot of arguments case\n\t var $args = [null];\n\t $args.push.apply($args, args);\n\t return new (bind.apply(Target, $args));\n\t }\n\t // with altered newTarget, not support built-in constructors\n\t var proto = newTarget.prototype\n\t , instance = create(isObject(proto) ? proto : Object.prototype)\n\t , result = Function.apply.call(Target, instance, args);\n\t return isObject(result) ? result : instance;\n\t }\n\t});\n\n/***/ },\n/* 233 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\n\tvar dP = __webpack_require__(10)\n\t , $export = __webpack_require__(7)\n\t , anObject = __webpack_require__(11)\n\t , toPrimitive = __webpack_require__(15);\n\t\n\t// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n\t$export($export.S + $export.F * __webpack_require__(6)(function(){\n\t Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});\n\t}), 'Reflect', {\n\t defineProperty: function defineProperty(target, propertyKey, attributes){\n\t anObject(target);\n\t propertyKey = toPrimitive(propertyKey, true);\n\t anObject(attributes);\n\t try {\n\t dP.f(target, propertyKey, attributes);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 234 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.4 Reflect.deleteProperty(target, propertyKey)\n\tvar $export = __webpack_require__(7)\n\t , gOPD = __webpack_require__(50).f\n\t , anObject = __webpack_require__(11);\n\t\n\t$export($export.S, 'Reflect', {\n\t deleteProperty: function deleteProperty(target, propertyKey){\n\t var desc = gOPD(anObject(target), propertyKey);\n\t return desc && !desc.configurable ? false : delete target[propertyKey];\n\t }\n\t});\n\n/***/ },\n/* 235 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 26.1.5 Reflect.enumerate(target)\n\tvar $export = __webpack_require__(7)\n\t , anObject = __webpack_require__(11);\n\tvar Enumerate = function(iterated){\n\t this._t = anObject(iterated); // target\n\t this._i = 0; // next index\n\t var keys = this._k = [] // keys\n\t , key;\n\t for(key in iterated)keys.push(key);\n\t};\n\t__webpack_require__(129)(Enumerate, 'Object', function(){\n\t var that = this\n\t , keys = that._k\n\t , key;\n\t do {\n\t if(that._i >= keys.length)return {value: undefined, done: true};\n\t } while(!((key = keys[that._i++]) in that._t));\n\t return {value: key, done: false};\n\t});\n\t\n\t$export($export.S, 'Reflect', {\n\t enumerate: function enumerate(target){\n\t return new Enumerate(target);\n\t }\n\t});\n\n/***/ },\n/* 236 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.6 Reflect.get(target, propertyKey [, receiver])\n\tvar gOPD = __webpack_require__(50)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , has = __webpack_require__(4)\n\t , $export = __webpack_require__(7)\n\t , isObject = __webpack_require__(12)\n\t , anObject = __webpack_require__(11);\n\t\n\tfunction get(target, propertyKey/*, receiver*/){\n\t var receiver = arguments.length < 3 ? target : arguments[2]\n\t , desc, proto;\n\t if(anObject(target) === receiver)return target[propertyKey];\n\t if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')\n\t ? desc.value\n\t : desc.get !== undefined\n\t ? desc.get.call(receiver)\n\t : undefined;\n\t if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);\n\t}\n\t\n\t$export($export.S, 'Reflect', {get: get});\n\n/***/ },\n/* 237 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\n\tvar gOPD = __webpack_require__(50)\n\t , $export = __webpack_require__(7)\n\t , anObject = __webpack_require__(11);\n\t\n\t$export($export.S, 'Reflect', {\n\t getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n\t return gOPD.f(anObject(target), propertyKey);\n\t }\n\t});\n\n/***/ },\n/* 238 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.8 Reflect.getPrototypeOf(target)\n\tvar $export = __webpack_require__(7)\n\t , getProto = __webpack_require__(58)\n\t , anObject = __webpack_require__(11);\n\t\n\t$export($export.S, 'Reflect', {\n\t getPrototypeOf: function getPrototypeOf(target){\n\t return getProto(anObject(target));\n\t }\n\t});\n\n/***/ },\n/* 239 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.9 Reflect.has(target, propertyKey)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Reflect', {\n\t has: function has(target, propertyKey){\n\t return propertyKey in target;\n\t }\n\t});\n\n/***/ },\n/* 240 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.10 Reflect.isExtensible(target)\n\tvar $export = __webpack_require__(7)\n\t , anObject = __webpack_require__(11)\n\t , $isExtensible = Object.isExtensible;\n\t\n\t$export($export.S, 'Reflect', {\n\t isExtensible: function isExtensible(target){\n\t anObject(target);\n\t return $isExtensible ? $isExtensible(target) : true;\n\t }\n\t});\n\n/***/ },\n/* 241 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.11 Reflect.ownKeys(target)\n\tvar $export = __webpack_require__(7);\n\t\n\t$export($export.S, 'Reflect', {ownKeys: __webpack_require__(242)});\n\n/***/ },\n/* 242 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// all object keys, includes non-enumerable and symbols\n\tvar gOPN = __webpack_require__(49)\n\t , gOPS = __webpack_require__(42)\n\t , anObject = __webpack_require__(11)\n\t , Reflect = __webpack_require__(3).Reflect;\n\tmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n\t var keys = gOPN.f(anObject(it))\n\t , getSymbols = gOPS.f;\n\t return getSymbols ? keys.concat(getSymbols(it)) : keys;\n\t};\n\n/***/ },\n/* 243 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.12 Reflect.preventExtensions(target)\n\tvar $export = __webpack_require__(7)\n\t , anObject = __webpack_require__(11)\n\t , $preventExtensions = Object.preventExtensions;\n\t\n\t$export($export.S, 'Reflect', {\n\t preventExtensions: function preventExtensions(target){\n\t anObject(target);\n\t try {\n\t if($preventExtensions)$preventExtensions(target);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 244 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\n\tvar dP = __webpack_require__(10)\n\t , gOPD = __webpack_require__(50)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , has = __webpack_require__(4)\n\t , $export = __webpack_require__(7)\n\t , createDesc = __webpack_require__(16)\n\t , anObject = __webpack_require__(11)\n\t , isObject = __webpack_require__(12);\n\t\n\tfunction set(target, propertyKey, V/*, receiver*/){\n\t var receiver = arguments.length < 4 ? target : arguments[3]\n\t , ownDesc = gOPD.f(anObject(target), propertyKey)\n\t , existingDescriptor, proto;\n\t if(!ownDesc){\n\t if(isObject(proto = getPrototypeOf(target))){\n\t return set(proto, propertyKey, V, receiver);\n\t }\n\t ownDesc = createDesc(0);\n\t }\n\t if(has(ownDesc, 'value')){\n\t if(ownDesc.writable === false || !isObject(receiver))return false;\n\t existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n\t existingDescriptor.value = V;\n\t dP.f(receiver, propertyKey, existingDescriptor);\n\t return true;\n\t }\n\t return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n\t}\n\t\n\t$export($export.S, 'Reflect', {set: set});\n\n/***/ },\n/* 245 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.14 Reflect.setPrototypeOf(target, proto)\n\tvar $export = __webpack_require__(7)\n\t , setProto = __webpack_require__(72);\n\t\n\tif(setProto)$export($export.S, 'Reflect', {\n\t setPrototypeOf: function setPrototypeOf(target, proto){\n\t setProto.check(target, proto);\n\t try {\n\t setProto.set(target, proto);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 246 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(247);\n\t__webpack_require__(249);\n\t__webpack_require__(250);\n\t__webpack_require__(251);\n\t__webpack_require__(253);\n\t__webpack_require__(254);\n\t__webpack_require__(255);\n\t__webpack_require__(256);\n\t__webpack_require__(257);\n\tmodule.exports = __webpack_require__(8).Reflect;\n\n\n/***/ },\n/* 247 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , toMetaKey = metadata.key\n\t , ordinaryDefineOwnMetadata = metadata.set;\n\t\n\tmetadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){\n\t ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n\t}});\n\n/***/ },\n/* 248 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Map = __webpack_require__(210)\n\t , $export = __webpack_require__(7)\n\t , shared = __webpack_require__(22)('metadata')\n\t , store = shared.store || (shared.store = new (__webpack_require__(214)));\n\t\n\tvar getOrCreateMetadataMap = function(target, targetKey, create){\n\t var targetMetadata = store.get(target);\n\t if(!targetMetadata){\n\t if(!create)return undefined;\n\t store.set(target, targetMetadata = new Map);\n\t }\n\t var keyMetadata = targetMetadata.get(targetKey);\n\t if(!keyMetadata){\n\t if(!create)return undefined;\n\t targetMetadata.set(targetKey, keyMetadata = new Map);\n\t } return keyMetadata;\n\t};\n\tvar ordinaryHasOwnMetadata = function(MetadataKey, O, P){\n\t var metadataMap = getOrCreateMetadataMap(O, P, false);\n\t return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n\t};\n\tvar ordinaryGetOwnMetadata = function(MetadataKey, O, P){\n\t var metadataMap = getOrCreateMetadataMap(O, P, false);\n\t return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n\t};\n\tvar ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){\n\t getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n\t};\n\tvar ordinaryOwnMetadataKeys = function(target, targetKey){\n\t var metadataMap = getOrCreateMetadataMap(target, targetKey, false)\n\t , keys = [];\n\t if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); });\n\t return keys;\n\t};\n\tvar toMetaKey = function(it){\n\t return it === undefined || typeof it == 'symbol' ? it : String(it);\n\t};\n\tvar exp = function(O){\n\t $export($export.S, 'Reflect', O);\n\t};\n\t\n\tmodule.exports = {\n\t store: store,\n\t map: getOrCreateMetadataMap,\n\t has: ordinaryHasOwnMetadata,\n\t get: ordinaryGetOwnMetadata,\n\t set: ordinaryDefineOwnMetadata,\n\t keys: ordinaryOwnMetadataKeys,\n\t key: toMetaKey,\n\t exp: exp\n\t};\n\n/***/ },\n/* 249 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , toMetaKey = metadata.key\n\t , getOrCreateMetadataMap = metadata.map\n\t , store = metadata.store;\n\t\n\tmetadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){\n\t var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])\n\t , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n\t if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;\n\t if(metadataMap.size)return true;\n\t var targetMetadata = store.get(target);\n\t targetMetadata['delete'](targetKey);\n\t return !!targetMetadata.size || store['delete'](target);\n\t}});\n\n/***/ },\n/* 250 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , ordinaryGetOwnMetadata = metadata.get\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryGetMetadata = function(MetadataKey, O, P){\n\t var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n\t if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);\n\t var parent = getPrototypeOf(O);\n\t return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n\t};\n\t\n\tmetadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 251 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Set = __webpack_require__(213)\n\t , from = __webpack_require__(252)\n\t , metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , ordinaryOwnMetadataKeys = metadata.keys\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryMetadataKeys = function(O, P){\n\t var oKeys = ordinaryOwnMetadataKeys(O, P)\n\t , parent = getPrototypeOf(O);\n\t if(parent === null)return oKeys;\n\t var pKeys = ordinaryMetadataKeys(parent, P);\n\t return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n\t};\n\t\n\tmetadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){\n\t return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n\t}});\n\n/***/ },\n/* 252 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar forOf = __webpack_require__(205);\n\t\n\tmodule.exports = function(iter, ITERATOR){\n\t var result = [];\n\t forOf(iter, false, result.push, result, ITERATOR);\n\t return result;\n\t};\n\n\n/***/ },\n/* 253 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , ordinaryGetOwnMetadata = metadata.get\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n\t , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 254 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , ordinaryOwnMetadataKeys = metadata.keys\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){\n\t return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n\t}});\n\n/***/ },\n/* 255 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , getPrototypeOf = __webpack_require__(58)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryHasMetadata = function(MetadataKey, O, P){\n\t var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n\t if(hasOwn)return true;\n\t var parent = getPrototypeOf(O);\n\t return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n\t};\n\t\n\tmetadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 256 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n\t , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 257 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(248)\n\t , anObject = __webpack_require__(11)\n\t , aFunction = __webpack_require__(20)\n\t , toMetaKey = metadata.key\n\t , ordinaryDefineOwnMetadata = metadata.set;\n\t\n\tmetadata.exp({metadata: function metadata(metadataKey, metadataValue){\n\t return function decorator(target, targetKey){\n\t ordinaryDefineOwnMetadata(\n\t metadataKey, metadataValue,\n\t (targetKey !== undefined ? anObject : aFunction)(target),\n\t toMetaKey(targetKey)\n\t );\n\t };\n\t}});\n\n/***/ },\n/* 258 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global, process) {/**\n\t* @license\n\t* Copyright Google Inc. All Rights Reserved.\n\t*\n\t* Use of this source code is governed by an MIT-style license that can be\n\t* found in the LICENSE file at https://angular.io/license\n\t*/\n\t(function (global, factory) {\n\t true ? factory() :\n\t typeof define === 'function' && define.amd ? define(factory) :\n\t (factory());\n\t}(this, (function () { 'use strict';\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t\n\t\n\tvar Zone$1 = (function (global) {\n\t if (global.Zone) {\n\t throw new Error('Zone already loaded.');\n\t }\n\t var Zone = (function () {\n\t function Zone(parent, zoneSpec) {\n\t this._properties = null;\n\t this._parent = parent;\n\t this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';\n\t this._properties = zoneSpec && zoneSpec.properties || {};\n\t this._zoneDelegate =\n\t new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n\t }\n\t Zone.assertZonePatched = function () {\n\t if (global.Promise !== ZoneAwarePromise) {\n\t throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n\t 'has been overwritten.\\n' +\n\t 'Most likely cause is that a Promise polyfill has been loaded ' +\n\t 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n\t 'If you must load one, do so before loading zone.js.)');\n\t }\n\t };\n\t Object.defineProperty(Zone, \"current\", {\n\t get: function () {\n\t return _currentZone;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone, \"currentTask\", {\n\t get: function () {\n\t return _currentTask;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone.prototype, \"parent\", {\n\t get: function () {\n\t return this._parent;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(Zone.prototype, \"name\", {\n\t get: function () {\n\t return this._name;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Zone.prototype.get = function (key) {\n\t var zone = this.getZoneWith(key);\n\t if (zone)\n\t return zone._properties[key];\n\t };\n\t Zone.prototype.getZoneWith = function (key) {\n\t var current = this;\n\t while (current) {\n\t if (current._properties.hasOwnProperty(key)) {\n\t return current;\n\t }\n\t current = current._parent;\n\t }\n\t return null;\n\t };\n\t Zone.prototype.fork = function (zoneSpec) {\n\t if (!zoneSpec)\n\t throw new Error('ZoneSpec required!');\n\t return this._zoneDelegate.fork(this, zoneSpec);\n\t };\n\t Zone.prototype.wrap = function (callback, source) {\n\t if (typeof callback !== 'function') {\n\t throw new Error('Expecting function got: ' + callback);\n\t }\n\t var _callback = this._zoneDelegate.intercept(this, callback, source);\n\t var zone = this;\n\t return function () {\n\t return zone.runGuarded(_callback, this, arguments, source);\n\t };\n\t };\n\t Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n\t if (applyThis === void 0) { applyThis = null; }\n\t if (applyArgs === void 0) { applyArgs = null; }\n\t if (source === void 0) { source = null; }\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t try {\n\t return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t }\n\t };\n\t Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n\t task.runCount++;\n\t if (task.zone != this)\n\t throw new Error('A task can only be run in the zone which created it! (Creation: ' + task.zone.name +\n\t '; Execution: ' + this.name + ')');\n\t var previousTask = _currentTask;\n\t _currentTask = task;\n\t var oldZone = _currentZone;\n\t _currentZone = this;\n\t try {\n\t if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n\t task.cancelFn = null;\n\t }\n\t try {\n\t return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n\t }\n\t catch (error) {\n\t if (this._zoneDelegate.handleError(this, error)) {\n\t throw error;\n\t }\n\t }\n\t }\n\t finally {\n\t _currentZone = oldZone;\n\t _currentTask = previousTask;\n\t }\n\t };\n\t Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n\t };\n\t Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n\t return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n\t };\n\t Zone.prototype.cancelTask = function (task) {\n\t var value = this._zoneDelegate.cancelTask(this, task);\n\t task.runCount = -1;\n\t task.cancelFn = null;\n\t return value;\n\t };\n\t Zone.__symbol__ = __symbol__;\n\t return Zone;\n\t }());\n\t \n\t var ZoneDelegate = (function () {\n\t function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n\t this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n\t this.zone = zone;\n\t this._parentDelegate = parentDelegate;\n\t this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n\t this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n\t this._interceptZS =\n\t zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n\t this._interceptDlgt =\n\t zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n\t this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n\t this._invokeDlgt =\n\t zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n\t this._handleErrorZS =\n\t zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n\t this._handleErrorDlgt =\n\t zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n\t this._scheduleTaskZS =\n\t zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n\t this._scheduleTaskDlgt =\n\t zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n\t this._invokeTaskZS =\n\t zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n\t this._invokeTaskDlgt =\n\t zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n\t this._cancelTaskZS =\n\t zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n\t this._cancelTaskDlgt =\n\t zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n\t this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n\t this._hasTaskDlgt =\n\t zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n\t }\n\t ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n\t return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n\t new Zone(targetZone, zoneSpec);\n\t };\n\t ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n\t return this._interceptZS ?\n\t this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source) :\n\t callback;\n\t };\n\t ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n\t return this._invokeZS ?\n\t this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source) :\n\t callback.apply(applyThis, applyArgs);\n\t };\n\t ZoneDelegate.prototype.handleError = function (targetZone, error) {\n\t return this._handleErrorZS ?\n\t this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error) :\n\t true;\n\t };\n\t ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n\t try {\n\t if (this._scheduleTaskZS) {\n\t return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (task.scheduleFn) {\n\t task.scheduleFn(task);\n\t }\n\t else if (task.type == 'microTask') {\n\t scheduleMicroTask(task);\n\t }\n\t else {\n\t throw new Error('Task is missing scheduleFn.');\n\t }\n\t return task;\n\t }\n\t finally {\n\t if (targetZone == this.zone) {\n\t this._updateTaskCount(task.type, 1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n\t try {\n\t return this._invokeTaskZS ?\n\t this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs) :\n\t task.callback.apply(applyThis, applyArgs);\n\t }\n\t finally {\n\t if (targetZone == this.zone && (task.type != 'eventTask') &&\n\t !(task.data && task.data.isPeriodic)) {\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t }\n\t };\n\t ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n\t var value;\n\t if (this._cancelTaskZS) {\n\t value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n\t }\n\t else if (!task.cancelFn) {\n\t throw new Error('Task does not support cancellation, or is already canceled.');\n\t }\n\t else {\n\t value = task.cancelFn(task);\n\t }\n\t if (targetZone == this.zone) {\n\t // this should not be in the finally block, because exceptions assume not canceled.\n\t this._updateTaskCount(task.type, -1);\n\t }\n\t return value;\n\t };\n\t ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n\t return this._hasTaskZS &&\n\t this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n\t };\n\t ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n\t var counts = this._taskCounts;\n\t var prev = counts[type];\n\t var next = counts[type] = prev + count;\n\t if (next < 0) {\n\t throw new Error('More tasks executed then were scheduled.');\n\t }\n\t if (prev == 0 || next == 0) {\n\t var isEmpty = {\n\t microTask: counts.microTask > 0,\n\t macroTask: counts.macroTask > 0,\n\t eventTask: counts.eventTask > 0,\n\t change: type\n\t };\n\t try {\n\t this.hasTask(this.zone, isEmpty);\n\t }\n\t finally {\n\t if (this._parentDelegate) {\n\t this._parentDelegate._updateTaskCount(type, count);\n\t }\n\t }\n\t }\n\t };\n\t return ZoneDelegate;\n\t }());\n\t var ZoneTask = (function () {\n\t function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n\t this.runCount = 0;\n\t this.type = type;\n\t this.zone = zone;\n\t this.source = source;\n\t this.data = options;\n\t this.scheduleFn = scheduleFn;\n\t this.cancelFn = cancelFn;\n\t this.callback = callback;\n\t var self = this;\n\t this.invoke = function () {\n\t _numberOfNestedTaskFrames++;\n\t try {\n\t return zone.runTask(self, this, arguments);\n\t }\n\t finally {\n\t if (_numberOfNestedTaskFrames == 1) {\n\t drainMicroTaskQueue();\n\t }\n\t _numberOfNestedTaskFrames--;\n\t }\n\t };\n\t }\n\t ZoneTask.prototype.toString = function () {\n\t if (this.data && typeof this.data.handleId !== 'undefined') {\n\t return this.data.handleId;\n\t }\n\t else {\n\t return Object.prototype.toString.call(this);\n\t }\n\t };\n\t return ZoneTask;\n\t }());\n\t function __symbol__(name) {\n\t return '__zone_symbol__' + name;\n\t }\n\t \n\t var symbolSetTimeout = __symbol__('setTimeout');\n\t var symbolPromise = __symbol__('Promise');\n\t var symbolThen = __symbol__('then');\n\t var _currentZone = new Zone(null, null);\n\t var _currentTask = null;\n\t var _microTaskQueue = [];\n\t var _isDrainingMicrotaskQueue = false;\n\t var _uncaughtPromiseErrors = [];\n\t var _numberOfNestedTaskFrames = 0;\n\t function scheduleQueueDrain() {\n\t // if we are not running in any task, and there has not been anything scheduled\n\t // we must bootstrap the initial task creation by manually scheduling the drain\n\t if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n\t // We are not running in Task, so we need to kickstart the microtask queue.\n\t if (global[symbolPromise]) {\n\t global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n\t }\n\t else {\n\t global[symbolSetTimeout](drainMicroTaskQueue, 0);\n\t }\n\t }\n\t }\n\t function scheduleMicroTask(task) {\n\t scheduleQueueDrain();\n\t _microTaskQueue.push(task);\n\t }\n\t function consoleError(e) {\n\t var rejection = e && e.rejection;\n\t if (rejection) {\n\t console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n\t }\n\t console.error(e);\n\t }\n\t function drainMicroTaskQueue() {\n\t if (!_isDrainingMicrotaskQueue) {\n\t _isDrainingMicrotaskQueue = true;\n\t while (_microTaskQueue.length) {\n\t var queue = _microTaskQueue;\n\t _microTaskQueue = [];\n\t for (var i = 0; i < queue.length; i++) {\n\t var task = queue[i];\n\t try {\n\t task.zone.runTask(task, null, null);\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t }\n\t }\n\t while (_uncaughtPromiseErrors.length) {\n\t var _loop_1 = function() {\n\t var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n\t try {\n\t uncaughtPromiseError.zone.runGuarded(function () {\n\t throw uncaughtPromiseError;\n\t });\n\t }\n\t catch (e) {\n\t consoleError(e);\n\t }\n\t };\n\t while (_uncaughtPromiseErrors.length) {\n\t _loop_1();\n\t }\n\t }\n\t _isDrainingMicrotaskQueue = false;\n\t }\n\t }\n\t function isThenable(value) {\n\t return value && value.then;\n\t }\n\t function forwardResolution(value) {\n\t return value;\n\t }\n\t function forwardRejection(rejection) {\n\t return ZoneAwarePromise.reject(rejection);\n\t }\n\t var symbolState = __symbol__('state');\n\t var symbolValue = __symbol__('value');\n\t var source = 'Promise.then';\n\t var UNRESOLVED = null;\n\t var RESOLVED = true;\n\t var REJECTED = false;\n\t var REJECTED_NO_CATCH = 0;\n\t function makeResolver(promise, state) {\n\t return function (v) {\n\t resolvePromise(promise, state, v);\n\t // Do not return value or you will break the Promise spec.\n\t };\n\t }\n\t function resolvePromise(promise, state, value) {\n\t if (promise[symbolState] === UNRESOLVED) {\n\t if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n\t clearRejectedNoCatch(value);\n\t resolvePromise(promise, value[symbolState], value[symbolValue]);\n\t }\n\t else if (isThenable(value)) {\n\t value.then(makeResolver(promise, state), makeResolver(promise, false));\n\t }\n\t else {\n\t promise[symbolState] = state;\n\t var queue = promise[symbolValue];\n\t promise[symbolValue] = value;\n\t for (var i = 0; i < queue.length;) {\n\t scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n\t }\n\t if (queue.length == 0 && state == REJECTED) {\n\t promise[symbolState] = REJECTED_NO_CATCH;\n\t try {\n\t throw new Error('Uncaught (in promise): ' + value +\n\t (value && value.stack ? '\\n' + value.stack : ''));\n\t }\n\t catch (e) {\n\t var error_1 = e;\n\t error_1.rejection = value;\n\t error_1.promise = promise;\n\t error_1.zone = Zone.current;\n\t error_1.task = Zone.currentTask;\n\t _uncaughtPromiseErrors.push(error_1);\n\t scheduleQueueDrain();\n\t }\n\t }\n\t }\n\t }\n\t // Resolving an already resolved promise is a noop.\n\t return promise;\n\t }\n\t function clearRejectedNoCatch(promise) {\n\t if (promise[symbolState] === REJECTED_NO_CATCH) {\n\t promise[symbolState] = REJECTED;\n\t for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n\t if (promise === _uncaughtPromiseErrors[i].promise) {\n\t _uncaughtPromiseErrors.splice(i, 1);\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n\t clearRejectedNoCatch(promise);\n\t var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n\t zone.scheduleMicroTask(source, function () {\n\t try {\n\t resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n\t }\n\t catch (error) {\n\t resolvePromise(chainPromise, false, error);\n\t }\n\t });\n\t }\n\t var ZoneAwarePromise = (function () {\n\t function ZoneAwarePromise(executor) {\n\t var promise = this;\n\t if (!(promise instanceof ZoneAwarePromise)) {\n\t throw new Error('Must be an instanceof Promise.');\n\t }\n\t promise[symbolState] = UNRESOLVED;\n\t promise[symbolValue] = []; // queue;\n\t try {\n\t executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n\t }\n\t catch (e) {\n\t resolvePromise(promise, false, e);\n\t }\n\t }\n\t ZoneAwarePromise.resolve = function (value) {\n\t return resolvePromise(new this(null), RESOLVED, value);\n\t };\n\t ZoneAwarePromise.reject = function (error) {\n\t return resolvePromise(new this(null), REJECTED, error);\n\t };\n\t ZoneAwarePromise.race = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) {\n\t _a = [res, rej], resolve = _a[0], reject = _a[1];\n\t var _a;\n\t });\n\t function onResolve(value) {\n\t promise && (promise = null || resolve(value));\n\t }\n\t function onReject(error) {\n\t promise && (promise = null || reject(error));\n\t }\n\t for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n\t var value = values_1[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then(onResolve, onReject);\n\t }\n\t return promise;\n\t };\n\t ZoneAwarePromise.all = function (values) {\n\t var resolve;\n\t var reject;\n\t var promise = new this(function (res, rej) {\n\t resolve = res;\n\t reject = rej;\n\t });\n\t var count = 0;\n\t var resolvedValues = [];\n\t for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n\t var value = values_2[_i];\n\t if (!isThenable(value)) {\n\t value = this.resolve(value);\n\t }\n\t value.then((function (index) { return function (value) {\n\t resolvedValues[index] = value;\n\t count--;\n\t if (!count) {\n\t resolve(resolvedValues);\n\t }\n\t }; })(count), reject);\n\t count++;\n\t }\n\t if (!count)\n\t resolve(resolvedValues);\n\t return promise;\n\t };\n\t ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n\t var chainPromise = new this.constructor(null);\n\t var zone = Zone.current;\n\t if (this[symbolState] == UNRESOLVED) {\n\t this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t else {\n\t scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n\t }\n\t return chainPromise;\n\t };\n\t ZoneAwarePromise.prototype.catch = function (onRejected) {\n\t return this.then(null, onRejected);\n\t };\n\t return ZoneAwarePromise;\n\t }());\n\t // Protect against aggressive optimizers dropping seemingly unused properties.\n\t // E.g. Closure Compiler in advanced mode.\n\t ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n\t ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n\t ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n\t ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n\t var NativePromise = global[__symbol__('Promise')] = global.Promise;\n\t global.Promise = ZoneAwarePromise;\n\t function patchThen(NativePromise) {\n\t var NativePromiseProtototype = NativePromise.prototype;\n\t var NativePromiseThen = NativePromiseProtototype[__symbol__('then')] =\n\t NativePromiseProtototype.then;\n\t NativePromiseProtototype.then = function (onResolve, onReject) {\n\t var nativePromise = this;\n\t return new ZoneAwarePromise(function (resolve, reject) {\n\t NativePromiseThen.call(nativePromise, resolve, reject);\n\t })\n\t .then(onResolve, onReject);\n\t };\n\t }\n\t if (NativePromise) {\n\t patchThen(NativePromise);\n\t if (typeof global['fetch'] !== 'undefined') {\n\t var fetchPromise = void 0;\n\t try {\n\t // In MS Edge this throws\n\t fetchPromise = global['fetch']();\n\t }\n\t catch (e) {\n\t // In Chrome this throws instead.\n\t fetchPromise = global['fetch']('about:blank');\n\t }\n\t // ignore output to prevent error;\n\t fetchPromise.then(function () { return null; }, function () { return null; });\n\t if (fetchPromise.constructor != NativePromise &&\n\t fetchPromise.constructor != ZoneAwarePromise) {\n\t patchThen(fetchPromise.constructor);\n\t }\n\t }\n\t }\n\t // This is not part of public API, but it is usefull for tests, so we expose it.\n\t Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n\t return global.Zone = Zone;\n\t})(typeof window === 'object' && window || typeof self === 'object' && self || global);\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar zoneSymbol = Zone['__symbol__'];\n\tvar _global$1 = typeof window === 'object' && window || typeof self === 'object' && self || global;\n\tfunction bindArguments(args, source) {\n\t for (var i = args.length - 1; i >= 0; i--) {\n\t if (typeof args[i] === 'function') {\n\t args[i] = Zone.current.wrap(args[i], source + '_' + i);\n\t }\n\t }\n\t return args;\n\t}\n\t\n\tfunction patchPrototype(prototype, fnNames) {\n\t var source = prototype.constructor['name'];\n\t var _loop_1 = function(i) {\n\t var name_1 = fnNames[i];\n\t var delegate = prototype[name_1];\n\t if (delegate) {\n\t prototype[name_1] = (function (delegate) {\n\t return function () {\n\t return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n\t };\n\t })(delegate);\n\t }\n\t };\n\t for (var i = 0; i < fnNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t}\n\t\n\tvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\n\tvar isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\n\tvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\n\tfunction patchProperty(obj, prop) {\n\t var desc = Object.getOwnPropertyDescriptor(obj, prop) || { enumerable: true, configurable: true };\n\t // A property descriptor cannot have getter/setter and be writable\n\t // deleting the writable and value properties avoids this error:\n\t //\n\t // TypeError: property descriptors must not specify a value or be writable when a\n\t // getter or setter has been specified\n\t delete desc.writable;\n\t delete desc.value;\n\t // substr(2) cuz 'onclick' -> 'click', etc\n\t var eventName = prop.substr(2);\n\t var _prop = '_' + prop;\n\t desc.set = function (fn) {\n\t if (this[_prop]) {\n\t this.removeEventListener(eventName, this[_prop]);\n\t }\n\t if (typeof fn === 'function') {\n\t var wrapFn = function (event) {\n\t var result;\n\t result = fn.apply(this, arguments);\n\t if (result != undefined && !result)\n\t event.preventDefault();\n\t };\n\t this[_prop] = wrapFn;\n\t this.addEventListener(eventName, wrapFn, false);\n\t }\n\t else {\n\t this[_prop] = null;\n\t }\n\t };\n\t // The getter would return undefined for unassigned properties but the default value of an\n\t // unassigned property is null\n\t desc.get = function () {\n\t return this[_prop] || null;\n\t };\n\t Object.defineProperty(obj, prop, desc);\n\t}\n\t\n\tfunction patchOnProperties(obj, properties) {\n\t var onProperties = [];\n\t for (var prop in obj) {\n\t if (prop.substr(0, 2) == 'on') {\n\t onProperties.push(prop);\n\t }\n\t }\n\t for (var j = 0; j < onProperties.length; j++) {\n\t patchProperty(obj, onProperties[j]);\n\t }\n\t if (properties) {\n\t for (var i = 0; i < properties.length; i++) {\n\t patchProperty(obj, 'on' + properties[i]);\n\t }\n\t }\n\t}\n\t\n\tvar EVENT_TASKS = zoneSymbol('eventTasks');\n\t// For EventTarget\n\tvar ADD_EVENT_LISTENER = 'addEventListener';\n\tvar REMOVE_EVENT_LISTENER = 'removeEventListener';\n\tfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (eventTasks) {\n\t for (var i = 0; i < eventTasks.length; i++) {\n\t var eventTask = eventTasks[i];\n\t var data = eventTask.data;\n\t if (data.handler === handler && data.useCapturing === capture && data.eventName === name) {\n\t if (remove) {\n\t eventTasks.splice(i, 1);\n\t }\n\t return eventTask;\n\t }\n\t }\n\t }\n\t return null;\n\t}\n\tfunction attachRegisteredEvent(target, eventTask) {\n\t var eventTasks = target[EVENT_TASKS];\n\t if (!eventTasks) {\n\t eventTasks = target[EVENT_TASKS] = [];\n\t }\n\t eventTasks.push(eventTask);\n\t}\n\tfunction makeZoneAwareAddListener(addFnName, removeFnName, useCapturingParam, allowDuplicates) {\n\t if (useCapturingParam === void 0) { useCapturingParam = true; }\n\t if (allowDuplicates === void 0) { allowDuplicates = false; }\n\t var addFnSymbol = zoneSymbol(addFnName);\n\t var removeFnSymbol = zoneSymbol(removeFnName);\n\t var defaultUseCapturing = useCapturingParam ? false : undefined;\n\t function scheduleEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t attachRegisteredEvent(meta.target, eventTask);\n\t return meta.target[addFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t }\n\t function cancelEventListener(eventTask) {\n\t var meta = eventTask.data;\n\t findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n\t meta.target[removeFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n\t }\n\t return function zoneAwareAddListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || defaultUseCapturing;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global$1;\n\t var delegate = null;\n\t if (typeof handler == 'function') {\n\t delegate = handler;\n\t }\n\t else if (handler && handler.handleEvent) {\n\t delegate = function (event) { return handler.handleEvent(event); };\n\t }\n\t var validZoneHandler = false;\n\t try {\n\t // In cross site contexts (such as WebDriver frameworks like Selenium),\n\t // accessing the handler object here will cause an exception to be thrown which\n\t // will fail tests prematurely.\n\t validZoneHandler = handler && handler.toString() === '[object FunctionWrapper]';\n\t }\n\t catch (e) {\n\t // Returning nothing here is fine, because objects in a cross-site context are unusable\n\t return;\n\t }\n\t // Ignore special listeners of IE11 & Edge dev tools, see\n\t // https://github.com/angular/zone.js/issues/150\n\t if (!delegate || validZoneHandler) {\n\t return target[addFnSymbol](eventName, handler, useCapturing);\n\t }\n\t if (!allowDuplicates) {\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n\t if (eventTask) {\n\t // we already registered, so this will have noop.\n\t return target[addFnSymbol](eventName, eventTask.invoke, useCapturing);\n\t }\n\t }\n\t var zone = Zone.current;\n\t var source = target.constructor['name'] + '.' + addFnName + ':' + eventName;\n\t var data = {\n\t target: target,\n\t eventName: eventName,\n\t name: eventName,\n\t useCapturing: useCapturing,\n\t handler: handler\n\t };\n\t zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n\t };\n\t}\n\tfunction makeZoneAwareRemoveListener(fnName, useCapturingParam) {\n\t if (useCapturingParam === void 0) { useCapturingParam = true; }\n\t var symbol = zoneSymbol(fnName);\n\t var defaultUseCapturing = useCapturingParam ? false : undefined;\n\t return function zoneAwareRemoveListener(self, args) {\n\t var eventName = args[0];\n\t var handler = args[1];\n\t var useCapturing = args[2] || defaultUseCapturing;\n\t // - Inside a Web Worker, `this` is undefined, the context is `global`\n\t // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n\t // see https://github.com/angular/zone.js/issues/190\n\t var target = self || _global$1;\n\t var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n\t if (eventTask) {\n\t eventTask.zone.cancelTask(eventTask);\n\t }\n\t else {\n\t target[symbol](eventName, handler, useCapturing);\n\t }\n\t };\n\t}\n\t\n\tvar zoneAwareAddEventListener = makeZoneAwareAddListener(ADD_EVENT_LISTENER, REMOVE_EVENT_LISTENER);\n\tvar zoneAwareRemoveEventListener = makeZoneAwareRemoveListener(REMOVE_EVENT_LISTENER);\n\tfunction patchEventTargetMethods(obj) {\n\t if (obj && obj.addEventListener) {\n\t patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n\t patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t}\n\tvar originalInstanceKey = zoneSymbol('originalInstance');\n\t// wrap some native API on `window`\n\tfunction patchClass(className) {\n\t var OriginalClass = _global$1[className];\n\t if (!OriginalClass)\n\t return;\n\t _global$1[className] = function () {\n\t var a = bindArguments(arguments, className);\n\t switch (a.length) {\n\t case 0:\n\t this[originalInstanceKey] = new OriginalClass();\n\t break;\n\t case 1:\n\t this[originalInstanceKey] = new OriginalClass(a[0]);\n\t break;\n\t case 2:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n\t break;\n\t case 3:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n\t break;\n\t case 4:\n\t this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n\t break;\n\t default:\n\t throw new Error('Arg list too long.');\n\t }\n\t };\n\t var instance = new OriginalClass(function () { });\n\t var prop;\n\t for (prop in instance) {\n\t // https://bugs.webkit.org/show_bug.cgi?id=44721\n\t if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n\t continue;\n\t (function (prop) {\n\t if (typeof instance[prop] === 'function') {\n\t _global$1[className].prototype[prop] = function () {\n\t return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n\t };\n\t }\n\t else {\n\t Object.defineProperty(_global$1[className].prototype, prop, {\n\t set: function (fn) {\n\t if (typeof fn === 'function') {\n\t this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n\t }\n\t else {\n\t this[originalInstanceKey][prop] = fn;\n\t }\n\t },\n\t get: function () {\n\t return this[originalInstanceKey][prop];\n\t }\n\t });\n\t }\n\t }(prop));\n\t }\n\t for (prop in OriginalClass) {\n\t if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n\t _global$1[className][prop] = OriginalClass[prop];\n\t }\n\t }\n\t}\n\t\n\tfunction createNamedFn(name, delegate) {\n\t try {\n\t return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n\t }\n\t catch (e) {\n\t // if we fail, we must be CSP, just return delegate.\n\t return function () {\n\t return delegate(this, arguments);\n\t };\n\t }\n\t}\n\tfunction patchMethod(target, name, patchFn) {\n\t var proto = target;\n\t while (proto && Object.getOwnPropertyNames(proto).indexOf(name) === -1) {\n\t proto = Object.getPrototypeOf(proto);\n\t }\n\t if (!proto && target[name]) {\n\t // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n\t proto = target;\n\t }\n\t var delegateName = zoneSymbol(name);\n\t var delegate;\n\t if (proto && !(delegate = proto[delegateName])) {\n\t delegate = proto[delegateName] = proto[name];\n\t proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n\t }\n\t return delegate;\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tfunction patchTimer(window, setName, cancelName, nameSuffix) {\n\t var setNative = null;\n\t var clearNative = null;\n\t setName += nameSuffix;\n\t cancelName += nameSuffix;\n\t var tasksByHandleId = {};\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.args[0] = function () {\n\t task.invoke.apply(this, arguments);\n\t delete tasksByHandleId[data.handleId];\n\t };\n\t data.handleId = setNative.apply(window, data.args);\n\t tasksByHandleId[data.handleId] = task;\n\t return task;\n\t }\n\t function clearTask(task) {\n\t delete tasksByHandleId[task.data.handleId];\n\t return clearNative(task.data.handleId);\n\t }\n\t setNative =\n\t patchMethod(window, setName, function (delegate) { return function (self, args) {\n\t if (typeof args[0] === 'function') {\n\t var zone = Zone.current;\n\t var options = {\n\t handleId: null,\n\t isPeriodic: nameSuffix === 'Interval',\n\t delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n\t args: args\n\t };\n\t var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n\t if (!task) {\n\t return task;\n\t }\n\t // Node.js must additionally support the ref and unref functions.\n\t var handle = task.data.handleId;\n\t if (handle.ref && handle.unref) {\n\t task.ref = handle.ref.bind(handle);\n\t task.unref = handle.unref.bind(handle);\n\t }\n\t return task;\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t return delegate.apply(window, args);\n\t }\n\t }; });\n\t clearNative =\n\t patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n\t var task = typeof args[0] === 'number' ? tasksByHandleId[args[0]] : args[0];\n\t if (task && typeof task.type === 'string') {\n\t if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n\t // Do not cancel already canceled functions\n\t task.zone.cancelTask(task);\n\t }\n\t }\n\t else {\n\t // cause an error by calling it directly.\n\t delegate.apply(window, args);\n\t }\n\t }; });\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t/*\n\t * This is necessary for Chrome and Chrome mobile, to enable\n\t * things like redefining `createdCallback` on an element.\n\t */\n\tvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\n\tvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n\t Object.getOwnPropertyDescriptor;\n\tvar _create = Object.create;\n\tvar unconfigurablesKey = zoneSymbol('unconfigurables');\n\tfunction propertyPatch() {\n\t Object.defineProperty = function (obj, prop, desc) {\n\t if (isUnconfigurable(obj, prop)) {\n\t throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n\t }\n\t var originalConfigurableFlag = desc.configurable;\n\t if (prop !== 'prototype') {\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t }\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t };\n\t Object.defineProperties = function (obj, props) {\n\t Object.keys(props).forEach(function (prop) {\n\t Object.defineProperty(obj, prop, props[prop]);\n\t });\n\t return obj;\n\t };\n\t Object.create = function (obj, proto) {\n\t if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n\t Object.keys(proto).forEach(function (prop) {\n\t proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n\t });\n\t }\n\t return _create(obj, proto);\n\t };\n\t Object.getOwnPropertyDescriptor = function (obj, prop) {\n\t var desc = _getOwnPropertyDescriptor(obj, prop);\n\t if (isUnconfigurable(obj, prop)) {\n\t desc.configurable = false;\n\t }\n\t return desc;\n\t };\n\t}\n\t\n\tfunction _redefineProperty(obj, prop, desc) {\n\t var originalConfigurableFlag = desc.configurable;\n\t desc = rewriteDescriptor(obj, prop, desc);\n\t return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n\t}\n\t\n\tfunction isUnconfigurable(obj, prop) {\n\t return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n\t}\n\tfunction rewriteDescriptor(obj, prop, desc) {\n\t desc.configurable = true;\n\t if (!desc.configurable) {\n\t if (!obj[unconfigurablesKey]) {\n\t _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n\t }\n\t obj[unconfigurablesKey][prop] = true;\n\t }\n\t return desc;\n\t}\n\tfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n\t try {\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t catch (e) {\n\t if (desc.configurable) {\n\t // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n\t // retry with the original flag value\n\t if (typeof originalConfigurableFlag == 'undefined') {\n\t delete desc.configurable;\n\t }\n\t else {\n\t desc.configurable = originalConfigurableFlag;\n\t }\n\t try {\n\t return _defineProperty(obj, prop, desc);\n\t }\n\t catch (e) {\n\t var descJson = null;\n\t try {\n\t descJson = JSON.stringify(desc);\n\t }\n\t catch (e) {\n\t descJson = descJson.toString();\n\t }\n\t console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + e);\n\t }\n\t }\n\t else {\n\t throw e;\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\n\tvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'\n\t .split(',');\n\tvar EVENT_TARGET = 'EventTarget';\n\tfunction eventTargetPatch(_global) {\n\t var apis = [];\n\t var isWtf = _global['wtf'];\n\t if (isWtf) {\n\t // Workaround for: https://github.com/google/tracing-framework/issues/555\n\t apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n\t }\n\t else if (_global[EVENT_TARGET]) {\n\t apis.push(EVENT_TARGET);\n\t }\n\t else {\n\t // Note: EventTarget is not available in all browsers,\n\t // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n\t apis = NO_EVENT_TARGET;\n\t }\n\t for (var i = 0; i < apis.length; i++) {\n\t var type = _global[apis[i]];\n\t patchEventTargetMethods(type && type.prototype);\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t// we have to patch the instance since the proto is non-configurable\n\tfunction apply(_global) {\n\t var WS = _global.WebSocket;\n\t // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n\t // On older Chrome, no need since EventTarget was already patched\n\t if (!_global.EventTarget) {\n\t patchEventTargetMethods(WS.prototype);\n\t }\n\t _global.WebSocket = function (a, b) {\n\t var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n\t var proxySocket;\n\t // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n\t var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n\t if (onmessageDesc && onmessageDesc.configurable === false) {\n\t proxySocket = Object.create(socket);\n\t ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n\t proxySocket[propName] = function () {\n\t return socket[propName].apply(socket, arguments);\n\t };\n\t });\n\t }\n\t else {\n\t // we can patch the real socket\n\t proxySocket = socket;\n\t }\n\t patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n\t return proxySocket;\n\t };\n\t for (var prop in WS) {\n\t _global.WebSocket[prop] = WS[prop];\n\t }\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'\n\t .split(' ');\n\tfunction propertyDescriptorPatch(_global) {\n\t if (isNode) {\n\t return;\n\t }\n\t var supportsWebSocket = typeof WebSocket !== 'undefined';\n\t if (canPatchViaPropertyDescriptor()) {\n\t // for browsers that we can patch the descriptor: Chrome & Firefox\n\t if (isBrowser) {\n\t patchOnProperties(HTMLElement.prototype, eventNames);\n\t }\n\t patchOnProperties(XMLHttpRequest.prototype, null);\n\t if (typeof IDBIndex !== 'undefined') {\n\t patchOnProperties(IDBIndex.prototype, null);\n\t patchOnProperties(IDBRequest.prototype, null);\n\t patchOnProperties(IDBOpenDBRequest.prototype, null);\n\t patchOnProperties(IDBDatabase.prototype, null);\n\t patchOnProperties(IDBTransaction.prototype, null);\n\t patchOnProperties(IDBCursor.prototype, null);\n\t }\n\t if (supportsWebSocket) {\n\t patchOnProperties(WebSocket.prototype, null);\n\t }\n\t }\n\t else {\n\t // Safari, Android browsers (Jelly Bean)\n\t patchViaCapturingAllTheEvents();\n\t patchClass('XMLHttpRequest');\n\t if (supportsWebSocket) {\n\t apply(_global);\n\t }\n\t }\n\t}\n\tfunction canPatchViaPropertyDescriptor() {\n\t if (isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n\t typeof Element !== 'undefined') {\n\t // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n\t // IDL interface attributes are not configurable\n\t var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n\t if (desc && !desc.configurable)\n\t return false;\n\t }\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n\t get: function () {\n\t return true;\n\t }\n\t });\n\t var req = new XMLHttpRequest();\n\t var result = !!req.onreadystatechange;\n\t Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n\t return result;\n\t}\n\t\n\tvar unboundKey = zoneSymbol('unbound');\n\t// Whenever any eventListener fires, we check the eventListener target and all parents\n\t// for `onwhatever` properties and replace them with zone-bound functions\n\t// - Chrome (for now)\n\tfunction patchViaCapturingAllTheEvents() {\n\t var _loop_1 = function(i) {\n\t var property = eventNames[i];\n\t var onproperty = 'on' + property;\n\t self.addEventListener(property, function (event) {\n\t var elt = event.target, bound, source;\n\t if (elt) {\n\t source = elt.constructor['name'] + '.' + onproperty;\n\t }\n\t else {\n\t source = 'unknown.' + onproperty;\n\t }\n\t while (elt) {\n\t if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n\t bound = Zone.current.wrap(elt[onproperty], source);\n\t bound[unboundKey] = elt[onproperty];\n\t elt[onproperty] = bound;\n\t }\n\t elt = elt.parentElement;\n\t }\n\t }, true);\n\t };\n\t for (var i = 0; i < eventNames.length; i++) {\n\t _loop_1(i);\n\t }\n\t \n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tfunction registerElementPatch(_global) {\n\t if (!isBrowser || !('registerElement' in _global.document)) {\n\t return;\n\t }\n\t var _registerElement = document.registerElement;\n\t var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n\t document.registerElement = function (name, opts) {\n\t if (opts && opts.prototype) {\n\t callbacks.forEach(function (callback) {\n\t var source = 'Document.registerElement::' + callback;\n\t if (opts.prototype.hasOwnProperty(callback)) {\n\t var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n\t if (descriptor && descriptor.value) {\n\t descriptor.value = Zone.current.wrap(descriptor.value, source);\n\t _redefineProperty(opts.prototype, callback, descriptor);\n\t }\n\t else {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t }\n\t else if (opts.prototype[callback]) {\n\t opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n\t }\n\t });\n\t }\n\t return _registerElement.apply(document, [name, opts]);\n\t };\n\t}\n\t\n\t/**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\tvar set = 'set';\n\tvar clear = 'clear';\n\tvar blockingMethods = ['alert', 'prompt', 'confirm'];\n\tvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\n\tpatchTimer(_global, set, clear, 'Timeout');\n\tpatchTimer(_global, set, clear, 'Interval');\n\tpatchTimer(_global, set, clear, 'Immediate');\n\tpatchTimer(_global, 'request', 'cancel', 'AnimationFrame');\n\tpatchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\n\tpatchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\n\tfor (var i = 0; i < blockingMethods.length; i++) {\n\t var name = blockingMethods[i];\n\t patchMethod(_global, name, function (delegate, symbol, name) {\n\t return function (s, args) {\n\t return Zone.current.run(delegate, _global, args, name);\n\t };\n\t });\n\t}\n\teventTargetPatch(_global);\n\tpropertyDescriptorPatch(_global);\n\tpatchClass('MutationObserver');\n\tpatchClass('WebKitMutationObserver');\n\tpatchClass('FileReader');\n\tpropertyPatch();\n\tregisterElementPatch(_global);\n\t// Treat XMLHTTPRequest as a macrotask.\n\tpatchXHR(_global);\n\tvar XHR_TASK = zoneSymbol('xhrTask');\n\tvar XHR_SYNC = zoneSymbol('xhrSync');\n\tfunction patchXHR(window) {\n\t function findPendingTask(target) {\n\t var pendingTask = target[XHR_TASK];\n\t return pendingTask;\n\t }\n\t function scheduleTask(task) {\n\t var data = task.data;\n\t data.target.addEventListener('readystatechange', function () {\n\t if (data.target.readyState === data.target.DONE) {\n\t if (!data.aborted) {\n\t task.invoke();\n\t }\n\t }\n\t });\n\t var storedTask = data.target[XHR_TASK];\n\t if (!storedTask) {\n\t data.target[XHR_TASK] = task;\n\t }\n\t sendNative.apply(data.target, data.args);\n\t return task;\n\t }\n\t function placeholderCallback() { }\n\t function clearTask(task) {\n\t var data = task.data;\n\t // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n\t // to prevent it from firing. So instead, we store info for the event listener.\n\t data.aborted = true;\n\t return abortNative.apply(data.target, data.args);\n\t }\n\t var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n\t self[XHR_SYNC] = args[2] == false;\n\t return openNative.apply(self, args);\n\t }; });\n\t var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n\t var zone = Zone.current;\n\t if (self[XHR_SYNC]) {\n\t // if the XHR is sync there is no task to schedule, just execute the code.\n\t return sendNative.apply(self, args);\n\t }\n\t else {\n\t var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n\t return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n\t }\n\t }; });\n\t var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n\t var task = findPendingTask(self);\n\t if (task && typeof task.type == 'string') {\n\t // If the XHR has already completed, do nothing.\n\t if (task.cancelFn == null) {\n\t return;\n\t }\n\t task.zone.cancelTask(task);\n\t }\n\t // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task\n\t // to cancel. Do nothing.\n\t }; });\n\t}\n\t/// GEO_LOCATION\n\tif (_global['navigator'] && _global['navigator'].geolocation) {\n\t patchPrototype(_global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n\t}\n\t\n\t})));\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }()), __webpack_require__(259)))\n\n/***/ },\n/* 259 */\n/***/ function(module, exports) {\n\n\t// shim for using process in browser\n\tvar process = module.exports = {};\n\t\n\t// cached from whatever global is present so that test runners that stub it\n\t// don't break things. But we need to wrap it in a try catch in case it is\n\t// wrapped in strict mode code which doesn't define any globals. It's inside a\n\t// function because try/catches deoptimize in certain engines.\n\t\n\tvar cachedSetTimeout;\n\tvar cachedClearTimeout;\n\t\n\tfunction defaultSetTimout() {\n\t throw new Error('setTimeout has not been defined');\n\t}\n\tfunction defaultClearTimeout () {\n\t throw new Error('clearTimeout has not been defined');\n\t}\n\t(function () {\n\t try {\n\t if (typeof setTimeout === 'function') {\n\t cachedSetTimeout = setTimeout;\n\t } else {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t } catch (e) {\n\t cachedSetTimeout = defaultSetTimout;\n\t }\n\t try {\n\t if (typeof clearTimeout === 'function') {\n\t cachedClearTimeout = clearTimeout;\n\t } else {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t } catch (e) {\n\t cachedClearTimeout = defaultClearTimeout;\n\t }\n\t} ())\n\tfunction runTimeout(fun) {\n\t if (cachedSetTimeout === setTimeout) {\n\t //normal enviroments in sane situations\n\t return setTimeout(fun, 0);\n\t }\n\t // if setTimeout wasn't available but was latter defined\n\t if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n\t cachedSetTimeout = setTimeout;\n\t return setTimeout(fun, 0);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedSetTimeout(fun, 0);\n\t } catch(e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedSetTimeout.call(null, fun, 0);\n\t } catch(e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n\t return cachedSetTimeout.call(this, fun, 0);\n\t }\n\t }\n\t\n\t\n\t}\n\tfunction runClearTimeout(marker) {\n\t if (cachedClearTimeout === clearTimeout) {\n\t //normal enviroments in sane situations\n\t return clearTimeout(marker);\n\t }\n\t // if clearTimeout wasn't available but was latter defined\n\t if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n\t cachedClearTimeout = clearTimeout;\n\t return clearTimeout(marker);\n\t }\n\t try {\n\t // when when somebody has screwed with setTimeout but no I.E. maddness\n\t return cachedClearTimeout(marker);\n\t } catch (e){\n\t try {\n\t // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n\t return cachedClearTimeout.call(null, marker);\n\t } catch (e){\n\t // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n\t // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n\t return cachedClearTimeout.call(this, marker);\n\t }\n\t }\n\t\n\t\n\t\n\t}\n\tvar queue = [];\n\tvar draining = false;\n\tvar currentQueue;\n\tvar queueIndex = -1;\n\t\n\tfunction cleanUpNextTick() {\n\t if (!draining || !currentQueue) {\n\t return;\n\t }\n\t draining = false;\n\t if (currentQueue.length) {\n\t queue = currentQueue.concat(queue);\n\t } else {\n\t queueIndex = -1;\n\t }\n\t if (queue.length) {\n\t drainQueue();\n\t }\n\t}\n\t\n\tfunction drainQueue() {\n\t if (draining) {\n\t return;\n\t }\n\t var timeout = runTimeout(cleanUpNextTick);\n\t draining = true;\n\t\n\t var len = queue.length;\n\t while(len) {\n\t currentQueue = queue;\n\t queue = [];\n\t while (++queueIndex < len) {\n\t if (currentQueue) {\n\t currentQueue[queueIndex].run();\n\t }\n\t }\n\t queueIndex = -1;\n\t len = queue.length;\n\t }\n\t currentQueue = null;\n\t draining = false;\n\t runClearTimeout(timeout);\n\t}\n\t\n\tprocess.nextTick = function (fun) {\n\t var args = new Array(arguments.length - 1);\n\t if (arguments.length > 1) {\n\t for (var i = 1; i < arguments.length; i++) {\n\t args[i - 1] = arguments[i];\n\t }\n\t }\n\t queue.push(new Item(fun, args));\n\t if (queue.length === 1 && !draining) {\n\t runTimeout(drainQueue);\n\t }\n\t};\n\t\n\t// v8 likes predictible objects\n\tfunction Item(fun, array) {\n\t this.fun = fun;\n\t this.array = array;\n\t}\n\tItem.prototype.run = function () {\n\t this.fun.apply(null, this.array);\n\t};\n\tprocess.title = 'browser';\n\tprocess.browser = true;\n\tprocess.env = {};\n\tprocess.argv = [];\n\tprocess.version = ''; // empty string to avoid regexp issues\n\tprocess.versions = {};\n\t\n\tfunction noop() {}\n\t\n\tprocess.on = noop;\n\tprocess.addListener = noop;\n\tprocess.once = noop;\n\tprocess.off = noop;\n\tprocess.removeListener = noop;\n\tprocess.removeAllListeners = noop;\n\tprocess.emit = noop;\n\t\n\tprocess.binding = function (name) {\n\t throw new Error('process.binding is not supported');\n\t};\n\t\n\tprocess.cwd = function () { return '/' };\n\tprocess.chdir = function (dir) {\n\t throw new Error('process.chdir is not supported');\n\t};\n\tprocess.umask = function() { return 0; };\n\n\n/***/ },\n/* 260 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_RESULT__;/*! Hammer.JS - v2.0.7 - 2016-04-22\n\t * http://hammerjs.github.io/\n\t *\n\t * Copyright (c) 2016 Jorik Tangelder;\n\t * Licensed under the MIT license */\n\t(function(window, document, exportName, undefined) {\n\t 'use strict';\n\t\n\tvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\n\tvar TEST_ELEMENT = document.createElement('div');\n\t\n\tvar TYPE_FUNCTION = 'function';\n\t\n\tvar round = Math.round;\n\tvar abs = Math.abs;\n\tvar now = Date.now;\n\t\n\t/**\n\t * set a timeout with a given scope\n\t * @param {Function} fn\n\t * @param {Number} timeout\n\t * @param {Object} context\n\t * @returns {number}\n\t */\n\tfunction setTimeoutContext(fn, timeout, context) {\n\t return setTimeout(bindFn(fn, context), timeout);\n\t}\n\t\n\t/**\n\t * if the argument is an array, we want to execute the fn on each entry\n\t * if it aint an array we don't want to do a thing.\n\t * this is used by all the methods that accept a single and array argument.\n\t * @param {*|Array} arg\n\t * @param {String} fn\n\t * @param {Object} [context]\n\t * @returns {Boolean}\n\t */\n\tfunction invokeArrayArg(arg, fn, context) {\n\t if (Array.isArray(arg)) {\n\t each(arg, context[fn], context);\n\t return true;\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * walk objects and arrays\n\t * @param {Object} obj\n\t * @param {Function} iterator\n\t * @param {Object} context\n\t */\n\tfunction each(obj, iterator, context) {\n\t var i;\n\t\n\t if (!obj) {\n\t return;\n\t }\n\t\n\t if (obj.forEach) {\n\t obj.forEach(iterator, context);\n\t } else if (obj.length !== undefined) {\n\t i = 0;\n\t while (i < obj.length) {\n\t iterator.call(context, obj[i], i, obj);\n\t i++;\n\t }\n\t } else {\n\t for (i in obj) {\n\t obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n\t }\n\t }\n\t}\n\t\n\t/**\n\t * wrap a method with a deprecation warning and stack trace\n\t * @param {Function} method\n\t * @param {String} name\n\t * @param {String} message\n\t * @returns {Function} A new function wrapping the supplied method.\n\t */\n\tfunction deprecate(method, name, message) {\n\t var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n\t return function() {\n\t var e = new Error('get-stack-trace');\n\t var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n\t .replace(/^\\s+at\\s+/gm, '')\n\t .replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\t\n\t var log = window.console && (window.console.warn || window.console.log);\n\t if (log) {\n\t log.call(window.console, deprecationMessage, stack);\n\t }\n\t return method.apply(this, arguments);\n\t };\n\t}\n\t\n\t/**\n\t * extend object.\n\t * means that properties in dest will be overwritten by the ones in src.\n\t * @param {Object} target\n\t * @param {...Object} objects_to_assign\n\t * @returns {Object} target\n\t */\n\tvar assign;\n\tif (typeof Object.assign !== 'function') {\n\t assign = function assign(target) {\n\t if (target === undefined || target === null) {\n\t throw new TypeError('Cannot convert undefined or null to object');\n\t }\n\t\n\t var output = Object(target);\n\t for (var index = 1; index < arguments.length; index++) {\n\t var source = arguments[index];\n\t if (source !== undefined && source !== null) {\n\t for (var nextKey in source) {\n\t if (source.hasOwnProperty(nextKey)) {\n\t output[nextKey] = source[nextKey];\n\t }\n\t }\n\t }\n\t }\n\t return output;\n\t };\n\t} else {\n\t assign = Object.assign;\n\t}\n\t\n\t/**\n\t * extend object.\n\t * means that properties in dest will be overwritten by the ones in src.\n\t * @param {Object} dest\n\t * @param {Object} src\n\t * @param {Boolean} [merge=false]\n\t * @returns {Object} dest\n\t */\n\tvar extend = deprecate(function extend(dest, src, merge) {\n\t var keys = Object.keys(src);\n\t var i = 0;\n\t while (i < keys.length) {\n\t if (!merge || (merge && dest[keys[i]] === undefined)) {\n\t dest[keys[i]] = src[keys[i]];\n\t }\n\t i++;\n\t }\n\t return dest;\n\t}, 'extend', 'Use `assign`.');\n\t\n\t/**\n\t * merge the values from src in the dest.\n\t * means that properties that exist in dest will not be overwritten by src\n\t * @param {Object} dest\n\t * @param {Object} src\n\t * @returns {Object} dest\n\t */\n\tvar merge = deprecate(function merge(dest, src) {\n\t return extend(dest, src, true);\n\t}, 'merge', 'Use `assign`.');\n\t\n\t/**\n\t * simple class inheritance\n\t * @param {Function} child\n\t * @param {Function} base\n\t * @param {Object} [properties]\n\t */\n\tfunction inherit(child, base, properties) {\n\t var baseP = base.prototype,\n\t childP;\n\t\n\t childP = child.prototype = Object.create(baseP);\n\t childP.constructor = child;\n\t childP._super = baseP;\n\t\n\t if (properties) {\n\t assign(childP, properties);\n\t }\n\t}\n\t\n\t/**\n\t * simple function bind\n\t * @param {Function} fn\n\t * @param {Object} context\n\t * @returns {Function}\n\t */\n\tfunction bindFn(fn, context) {\n\t return function boundFn() {\n\t return fn.apply(context, arguments);\n\t };\n\t}\n\t\n\t/**\n\t * let a boolean value also be a function that must return a boolean\n\t * this first item in args will be used as the context\n\t * @param {Boolean|Function} val\n\t * @param {Array} [args]\n\t * @returns {Boolean}\n\t */\n\tfunction boolOrFn(val, args) {\n\t if (typeof val == TYPE_FUNCTION) {\n\t return val.apply(args ? args[0] || undefined : undefined, args);\n\t }\n\t return val;\n\t}\n\t\n\t/**\n\t * use the val2 when val1 is undefined\n\t * @param {*} val1\n\t * @param {*} val2\n\t * @returns {*}\n\t */\n\tfunction ifUndefined(val1, val2) {\n\t return (val1 === undefined) ? val2 : val1;\n\t}\n\t\n\t/**\n\t * addEventListener with multiple events at once\n\t * @param {EventTarget} target\n\t * @param {String} types\n\t * @param {Function} handler\n\t */\n\tfunction addEventListeners(target, types, handler) {\n\t each(splitStr(types), function(type) {\n\t target.addEventListener(type, handler, false);\n\t });\n\t}\n\t\n\t/**\n\t * removeEventListener with multiple events at once\n\t * @param {EventTarget} target\n\t * @param {String} types\n\t * @param {Function} handler\n\t */\n\tfunction removeEventListeners(target, types, handler) {\n\t each(splitStr(types), function(type) {\n\t target.removeEventListener(type, handler, false);\n\t });\n\t}\n\t\n\t/**\n\t * find if a node is in the given parent\n\t * @method hasParent\n\t * @param {HTMLElement} node\n\t * @param {HTMLElement} parent\n\t * @return {Boolean} found\n\t */\n\tfunction hasParent(node, parent) {\n\t while (node) {\n\t if (node == parent) {\n\t return true;\n\t }\n\t node = node.parentNode;\n\t }\n\t return false;\n\t}\n\t\n\t/**\n\t * small indexOf wrapper\n\t * @param {String} str\n\t * @param {String} find\n\t * @returns {Boolean} found\n\t */\n\tfunction inStr(str, find) {\n\t return str.indexOf(find) > -1;\n\t}\n\t\n\t/**\n\t * split string on whitespace\n\t * @param {String} str\n\t * @returns {Array} words\n\t */\n\tfunction splitStr(str) {\n\t return str.trim().split(/\\s+/g);\n\t}\n\t\n\t/**\n\t * find if a array contains the object using indexOf or a simple polyFill\n\t * @param {Array} src\n\t * @param {String} find\n\t * @param {String} [findByKey]\n\t * @return {Boolean|Number} false when not found, or the index\n\t */\n\tfunction inArray(src, find, findByKey) {\n\t if (src.indexOf && !findByKey) {\n\t return src.indexOf(find);\n\t } else {\n\t var i = 0;\n\t while (i < src.length) {\n\t if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n\t return i;\n\t }\n\t i++;\n\t }\n\t return -1;\n\t }\n\t}\n\t\n\t/**\n\t * convert array-like objects to real arrays\n\t * @param {Object} obj\n\t * @returns {Array}\n\t */\n\tfunction toArray(obj) {\n\t return Array.prototype.slice.call(obj, 0);\n\t}\n\t\n\t/**\n\t * unique array with objects based on a key (like 'id') or just by the array's value\n\t * @param {Array} src [{id:1},{id:2},{id:1}]\n\t * @param {String} [key]\n\t * @param {Boolean} [sort=False]\n\t * @returns {Array} [{id:1},{id:2}]\n\t */\n\tfunction uniqueArray(src, key, sort) {\n\t var results = [];\n\t var values = [];\n\t var i = 0;\n\t\n\t while (i < src.length) {\n\t var val = key ? src[i][key] : src[i];\n\t if (inArray(values, val) < 0) {\n\t results.push(src[i]);\n\t }\n\t values[i] = val;\n\t i++;\n\t }\n\t\n\t if (sort) {\n\t if (!key) {\n\t results = results.sort();\n\t } else {\n\t results = results.sort(function sortUniqueArray(a, b) {\n\t return a[key] > b[key];\n\t });\n\t }\n\t }\n\t\n\t return results;\n\t}\n\t\n\t/**\n\t * get the prefixed property\n\t * @param {Object} obj\n\t * @param {String} property\n\t * @returns {String|Undefined} prefixed\n\t */\n\tfunction prefixed(obj, property) {\n\t var prefix, prop;\n\t var camelProp = property[0].toUpperCase() + property.slice(1);\n\t\n\t var i = 0;\n\t while (i < VENDOR_PREFIXES.length) {\n\t prefix = VENDOR_PREFIXES[i];\n\t prop = (prefix) ? prefix + camelProp : property;\n\t\n\t if (prop in obj) {\n\t return prop;\n\t }\n\t i++;\n\t }\n\t return undefined;\n\t}\n\t\n\t/**\n\t * get a unique id\n\t * @returns {number} uniqueId\n\t */\n\tvar _uniqueId = 1;\n\tfunction uniqueId() {\n\t return _uniqueId++;\n\t}\n\t\n\t/**\n\t * get the window object of an element\n\t * @param {HTMLElement} element\n\t * @returns {DocumentView|Window}\n\t */\n\tfunction getWindowForElement(element) {\n\t var doc = element.ownerDocument || element;\n\t return (doc.defaultView || doc.parentWindow || window);\n\t}\n\t\n\tvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\t\n\tvar SUPPORT_TOUCH = ('ontouchstart' in window);\n\tvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\n\tvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\t\n\tvar INPUT_TYPE_TOUCH = 'touch';\n\tvar INPUT_TYPE_PEN = 'pen';\n\tvar INPUT_TYPE_MOUSE = 'mouse';\n\tvar INPUT_TYPE_KINECT = 'kinect';\n\t\n\tvar COMPUTE_INTERVAL = 25;\n\t\n\tvar INPUT_START = 1;\n\tvar INPUT_MOVE = 2;\n\tvar INPUT_END = 4;\n\tvar INPUT_CANCEL = 8;\n\t\n\tvar DIRECTION_NONE = 1;\n\tvar DIRECTION_LEFT = 2;\n\tvar DIRECTION_RIGHT = 4;\n\tvar DIRECTION_UP = 8;\n\tvar DIRECTION_DOWN = 16;\n\t\n\tvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\n\tvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\n\tvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\t\n\tvar PROPS_XY = ['x', 'y'];\n\tvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\t\n\t/**\n\t * create new input type manager\n\t * @param {Manager} manager\n\t * @param {Function} callback\n\t * @returns {Input}\n\t * @constructor\n\t */\n\tfunction Input(manager, callback) {\n\t var self = this;\n\t this.manager = manager;\n\t this.callback = callback;\n\t this.element = manager.element;\n\t this.target = manager.options.inputTarget;\n\t\n\t // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n\t // so when disabled the input events are completely bypassed.\n\t this.domHandler = function(ev) {\n\t if (boolOrFn(manager.options.enable, [manager])) {\n\t self.handler(ev);\n\t }\n\t };\n\t\n\t this.init();\n\t\n\t}\n\t\n\tInput.prototype = {\n\t /**\n\t * should handle the inputEvent data and trigger the callback\n\t * @virtual\n\t */\n\t handler: function() { },\n\t\n\t /**\n\t * bind the events\n\t */\n\t init: function() {\n\t this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n\t this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n\t this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n\t },\n\t\n\t /**\n\t * unbind the events\n\t */\n\t destroy: function() {\n\t this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n\t this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n\t this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n\t }\n\t};\n\t\n\t/**\n\t * create new input type manager\n\t * called by the Manager constructor\n\t * @param {Hammer} manager\n\t * @returns {Input}\n\t */\n\tfunction createInputInstance(manager) {\n\t var Type;\n\t var inputClass = manager.options.inputClass;\n\t\n\t if (inputClass) {\n\t Type = inputClass;\n\t } else if (SUPPORT_POINTER_EVENTS) {\n\t Type = PointerEventInput;\n\t } else if (SUPPORT_ONLY_TOUCH) {\n\t Type = TouchInput;\n\t } else if (!SUPPORT_TOUCH) {\n\t Type = MouseInput;\n\t } else {\n\t Type = TouchMouseInput;\n\t }\n\t return new (Type)(manager, inputHandler);\n\t}\n\t\n\t/**\n\t * handle input events\n\t * @param {Manager} manager\n\t * @param {String} eventType\n\t * @param {Object} input\n\t */\n\tfunction inputHandler(manager, eventType, input) {\n\t var pointersLen = input.pointers.length;\n\t var changedPointersLen = input.changedPointers.length;\n\t var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n\t var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\t\n\t input.isFirst = !!isFirst;\n\t input.isFinal = !!isFinal;\n\t\n\t if (isFirst) {\n\t manager.session = {};\n\t }\n\t\n\t // source event is the normalized value of the domEvents\n\t // like 'touchstart, mouseup, pointerdown'\n\t input.eventType = eventType;\n\t\n\t // compute scale, rotation etc\n\t computeInputData(manager, input);\n\t\n\t // emit secret event\n\t manager.emit('hammer.input', input);\n\t\n\t manager.recognize(input);\n\t manager.session.prevInput = input;\n\t}\n\t\n\t/**\n\t * extend the data with some usable properties like scale, rotate, velocity etc\n\t * @param {Object} manager\n\t * @param {Object} input\n\t */\n\tfunction computeInputData(manager, input) {\n\t var session = manager.session;\n\t var pointers = input.pointers;\n\t var pointersLength = pointers.length;\n\t\n\t // store the first input to calculate the distance and direction\n\t if (!session.firstInput) {\n\t session.firstInput = simpleCloneInputData(input);\n\t }\n\t\n\t // to compute scale and rotation we need to store the multiple touches\n\t if (pointersLength > 1 && !session.firstMultiple) {\n\t session.firstMultiple = simpleCloneInputData(input);\n\t } else if (pointersLength === 1) {\n\t session.firstMultiple = false;\n\t }\n\t\n\t var firstInput = session.firstInput;\n\t var firstMultiple = session.firstMultiple;\n\t var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\t\n\t var center = input.center = getCenter(pointers);\n\t input.timeStamp = now();\n\t input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\t\n\t input.angle = getAngle(offsetCenter, center);\n\t input.distance = getDistance(offsetCenter, center);\n\t\n\t computeDeltaXY(session, input);\n\t input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\t\n\t var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n\t input.overallVelocityX = overallVelocity.x;\n\t input.overallVelocityY = overallVelocity.y;\n\t input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\t\n\t input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n\t input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\t\n\t input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n\t session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\t\n\t computeIntervalInputData(session, input);\n\t\n\t // find the correct target\n\t var target = manager.element;\n\t if (hasParent(input.srcEvent.target, target)) {\n\t target = input.srcEvent.target;\n\t }\n\t input.target = target;\n\t}\n\t\n\tfunction computeDeltaXY(session, input) {\n\t var center = input.center;\n\t var offset = session.offsetDelta || {};\n\t var prevDelta = session.prevDelta || {};\n\t var prevInput = session.prevInput || {};\n\t\n\t if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n\t prevDelta = session.prevDelta = {\n\t x: prevInput.deltaX || 0,\n\t y: prevInput.deltaY || 0\n\t };\n\t\n\t offset = session.offsetDelta = {\n\t x: center.x,\n\t y: center.y\n\t };\n\t }\n\t\n\t input.deltaX = prevDelta.x + (center.x - offset.x);\n\t input.deltaY = prevDelta.y + (center.y - offset.y);\n\t}\n\t\n\t/**\n\t * velocity is calculated every x ms\n\t * @param {Object} session\n\t * @param {Object} input\n\t */\n\tfunction computeIntervalInputData(session, input) {\n\t var last = session.lastInterval || input,\n\t deltaTime = input.timeStamp - last.timeStamp,\n\t velocity, velocityX, velocityY, direction;\n\t\n\t if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n\t var deltaX = input.deltaX - last.deltaX;\n\t var deltaY = input.deltaY - last.deltaY;\n\t\n\t var v = getVelocity(deltaTime, deltaX, deltaY);\n\t velocityX = v.x;\n\t velocityY = v.y;\n\t velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n\t direction = getDirection(deltaX, deltaY);\n\t\n\t session.lastInterval = input;\n\t } else {\n\t // use latest velocity info if it doesn't overtake a minimum period\n\t velocity = last.velocity;\n\t velocityX = last.velocityX;\n\t velocityY = last.velocityY;\n\t direction = last.direction;\n\t }\n\t\n\t input.velocity = velocity;\n\t input.velocityX = velocityX;\n\t input.velocityY = velocityY;\n\t input.direction = direction;\n\t}\n\t\n\t/**\n\t * create a simple clone from the input used for storage of firstInput and firstMultiple\n\t * @param {Object} input\n\t * @returns {Object} clonedInputData\n\t */\n\tfunction simpleCloneInputData(input) {\n\t // make a simple copy of the pointers because we will get a reference if we don't\n\t // we only need clientXY for the calculations\n\t var pointers = [];\n\t var i = 0;\n\t while (i < input.pointers.length) {\n\t pointers[i] = {\n\t clientX: round(input.pointers[i].clientX),\n\t clientY: round(input.pointers[i].clientY)\n\t };\n\t i++;\n\t }\n\t\n\t return {\n\t timeStamp: now(),\n\t pointers: pointers,\n\t center: getCenter(pointers),\n\t deltaX: input.deltaX,\n\t deltaY: input.deltaY\n\t };\n\t}\n\t\n\t/**\n\t * get the center of all the pointers\n\t * @param {Array} pointers\n\t * @return {Object} center contains `x` and `y` properties\n\t */\n\tfunction getCenter(pointers) {\n\t var pointersLength = pointers.length;\n\t\n\t // no need to loop when only one touch\n\t if (pointersLength === 1) {\n\t return {\n\t x: round(pointers[0].clientX),\n\t y: round(pointers[0].clientY)\n\t };\n\t }\n\t\n\t var x = 0, y = 0, i = 0;\n\t while (i < pointersLength) {\n\t x += pointers[i].clientX;\n\t y += pointers[i].clientY;\n\t i++;\n\t }\n\t\n\t return {\n\t x: round(x / pointersLength),\n\t y: round(y / pointersLength)\n\t };\n\t}\n\t\n\t/**\n\t * calculate the velocity between two points. unit is in px per ms.\n\t * @param {Number} deltaTime\n\t * @param {Number} x\n\t * @param {Number} y\n\t * @return {Object} velocity `x` and `y`\n\t */\n\tfunction getVelocity(deltaTime, x, y) {\n\t return {\n\t x: x / deltaTime || 0,\n\t y: y / deltaTime || 0\n\t };\n\t}\n\t\n\t/**\n\t * get the direction between two points\n\t * @param {Number} x\n\t * @param {Number} y\n\t * @return {Number} direction\n\t */\n\tfunction getDirection(x, y) {\n\t if (x === y) {\n\t return DIRECTION_NONE;\n\t }\n\t\n\t if (abs(x) >= abs(y)) {\n\t return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n\t }\n\t return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n\t}\n\t\n\t/**\n\t * calculate the absolute distance between two points\n\t * @param {Object} p1 {x, y}\n\t * @param {Object} p2 {x, y}\n\t * @param {Array} [props] containing x and y keys\n\t * @return {Number} distance\n\t */\n\tfunction getDistance(p1, p2, props) {\n\t if (!props) {\n\t props = PROPS_XY;\n\t }\n\t var x = p2[props[0]] - p1[props[0]],\n\t y = p2[props[1]] - p1[props[1]];\n\t\n\t return Math.sqrt((x * x) + (y * y));\n\t}\n\t\n\t/**\n\t * calculate the angle between two coordinates\n\t * @param {Object} p1\n\t * @param {Object} p2\n\t * @param {Array} [props] containing x and y keys\n\t * @return {Number} angle\n\t */\n\tfunction getAngle(p1, p2, props) {\n\t if (!props) {\n\t props = PROPS_XY;\n\t }\n\t var x = p2[props[0]] - p1[props[0]],\n\t y = p2[props[1]] - p1[props[1]];\n\t return Math.atan2(y, x) * 180 / Math.PI;\n\t}\n\t\n\t/**\n\t * calculate the rotation degrees between two pointersets\n\t * @param {Array} start array of pointers\n\t * @param {Array} end array of pointers\n\t * @return {Number} rotation\n\t */\n\tfunction getRotation(start, end) {\n\t return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n\t}\n\t\n\t/**\n\t * calculate the scale factor between two pointersets\n\t * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n\t * @param {Array} start array of pointers\n\t * @param {Array} end array of pointers\n\t * @return {Number} scale\n\t */\n\tfunction getScale(start, end) {\n\t return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n\t}\n\t\n\tvar MOUSE_INPUT_MAP = {\n\t mousedown: INPUT_START,\n\t mousemove: INPUT_MOVE,\n\t mouseup: INPUT_END\n\t};\n\t\n\tvar MOUSE_ELEMENT_EVENTS = 'mousedown';\n\tvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\t\n\t/**\n\t * Mouse events input\n\t * @constructor\n\t * @extends Input\n\t */\n\tfunction MouseInput() {\n\t this.evEl = MOUSE_ELEMENT_EVENTS;\n\t this.evWin = MOUSE_WINDOW_EVENTS;\n\t\n\t this.pressed = false; // mousedown state\n\t\n\t Input.apply(this, arguments);\n\t}\n\t\n\tinherit(MouseInput, Input, {\n\t /**\n\t * handle mouse events\n\t * @param {Object} ev\n\t */\n\t handler: function MEhandler(ev) {\n\t var eventType = MOUSE_INPUT_MAP[ev.type];\n\t\n\t // on start we want to have the left mouse button down\n\t if (eventType & INPUT_START && ev.button === 0) {\n\t this.pressed = true;\n\t }\n\t\n\t if (eventType & INPUT_MOVE && ev.which !== 1) {\n\t eventType = INPUT_END;\n\t }\n\t\n\t // mouse must be down\n\t if (!this.pressed) {\n\t return;\n\t }\n\t\n\t if (eventType & INPUT_END) {\n\t this.pressed = false;\n\t }\n\t\n\t this.callback(this.manager, eventType, {\n\t pointers: [ev],\n\t changedPointers: [ev],\n\t pointerType: INPUT_TYPE_MOUSE,\n\t srcEvent: ev\n\t });\n\t }\n\t});\n\t\n\tvar POINTER_INPUT_MAP = {\n\t pointerdown: INPUT_START,\n\t pointermove: INPUT_MOVE,\n\t pointerup: INPUT_END,\n\t pointercancel: INPUT_CANCEL,\n\t pointerout: INPUT_CANCEL\n\t};\n\t\n\t// in IE10 the pointer types is defined as an enum\n\tvar IE10_POINTER_TYPE_ENUM = {\n\t 2: INPUT_TYPE_TOUCH,\n\t 3: INPUT_TYPE_PEN,\n\t 4: INPUT_TYPE_MOUSE,\n\t 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n\t};\n\t\n\tvar POINTER_ELEMENT_EVENTS = 'pointerdown';\n\tvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\t\n\t// IE10 has prefixed support, and case-sensitive\n\tif (window.MSPointerEvent && !window.PointerEvent) {\n\t POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n\t POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n\t}\n\t\n\t/**\n\t * Pointer events input\n\t * @constructor\n\t * @extends Input\n\t */\n\tfunction PointerEventInput() {\n\t this.evEl = POINTER_ELEMENT_EVENTS;\n\t this.evWin = POINTER_WINDOW_EVENTS;\n\t\n\t Input.apply(this, arguments);\n\t\n\t this.store = (this.manager.session.pointerEvents = []);\n\t}\n\t\n\tinherit(PointerEventInput, Input, {\n\t /**\n\t * handle mouse events\n\t * @param {Object} ev\n\t */\n\t handler: function PEhandler(ev) {\n\t var store = this.store;\n\t var removePointer = false;\n\t\n\t var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n\t var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n\t var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\t\n\t var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\t\n\t // get index of the event in the store\n\t var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\t\n\t // start and mouse must be down\n\t if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n\t if (storeIndex < 0) {\n\t store.push(ev);\n\t storeIndex = store.length - 1;\n\t }\n\t } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n\t removePointer = true;\n\t }\n\t\n\t // it not found, so the pointer hasn't been down (so it's probably a hover)\n\t if (storeIndex < 0) {\n\t return;\n\t }\n\t\n\t // update the event in the store\n\t store[storeIndex] = ev;\n\t\n\t this.callback(this.manager, eventType, {\n\t pointers: store,\n\t changedPointers: [ev],\n\t pointerType: pointerType,\n\t srcEvent: ev\n\t });\n\t\n\t if (removePointer) {\n\t // remove from the store\n\t store.splice(storeIndex, 1);\n\t }\n\t }\n\t});\n\t\n\tvar SINGLE_TOUCH_INPUT_MAP = {\n\t touchstart: INPUT_START,\n\t touchmove: INPUT_MOVE,\n\t touchend: INPUT_END,\n\t touchcancel: INPUT_CANCEL\n\t};\n\t\n\tvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\n\tvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\t\n\t/**\n\t * Touch events input\n\t * @constructor\n\t * @extends Input\n\t */\n\tfunction SingleTouchInput() {\n\t this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n\t this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n\t this.started = false;\n\t\n\t Input.apply(this, arguments);\n\t}\n\t\n\tinherit(SingleTouchInput, Input, {\n\t handler: function TEhandler(ev) {\n\t var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\t\n\t // should we handle the touch events?\n\t if (type === INPUT_START) {\n\t this.started = true;\n\t }\n\t\n\t if (!this.started) {\n\t return;\n\t }\n\t\n\t var touches = normalizeSingleTouches.call(this, ev, type);\n\t\n\t // when done, reset the started state\n\t if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n\t this.started = false;\n\t }\n\t\n\t this.callback(this.manager, type, {\n\t pointers: touches[0],\n\t changedPointers: touches[1],\n\t pointerType: INPUT_TYPE_TOUCH,\n\t srcEvent: ev\n\t });\n\t }\n\t});\n\t\n\t/**\n\t * @this {TouchInput}\n\t * @param {Object} ev\n\t * @param {Number} type flag\n\t * @returns {undefined|Array} [all, changed]\n\t */\n\tfunction normalizeSingleTouches(ev, type) {\n\t var all = toArray(ev.touches);\n\t var changed = toArray(ev.changedTouches);\n\t\n\t if (type & (INPUT_END | INPUT_CANCEL)) {\n\t all = uniqueArray(all.concat(changed), 'identifier', true);\n\t }\n\t\n\t return [all, changed];\n\t}\n\t\n\tvar TOUCH_INPUT_MAP = {\n\t touchstart: INPUT_START,\n\t touchmove: INPUT_MOVE,\n\t touchend: INPUT_END,\n\t touchcancel: INPUT_CANCEL\n\t};\n\t\n\tvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\t\n\t/**\n\t * Multi-user touch events input\n\t * @constructor\n\t * @extends Input\n\t */\n\tfunction TouchInput() {\n\t this.evTarget = TOUCH_TARGET_EVENTS;\n\t this.targetIds = {};\n\t\n\t Input.apply(this, arguments);\n\t}\n\t\n\tinherit(TouchInput, Input, {\n\t handler: function MTEhandler(ev) {\n\t var type = TOUCH_INPUT_MAP[ev.type];\n\t var touches = getTouches.call(this, ev, type);\n\t if (!touches) {\n\t return;\n\t }\n\t\n\t this.callback(this.manager, type, {\n\t pointers: touches[0],\n\t changedPointers: touches[1],\n\t pointerType: INPUT_TYPE_TOUCH,\n\t srcEvent: ev\n\t });\n\t }\n\t});\n\t\n\t/**\n\t * @this {TouchInput}\n\t * @param {Object} ev\n\t * @param {Number} type flag\n\t * @returns {undefined|Array} [all, changed]\n\t */\n\tfunction getTouches(ev, type) {\n\t var allTouches = toArray(ev.touches);\n\t var targetIds = this.targetIds;\n\t\n\t // when there is only one touch, the process can be simplified\n\t if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n\t targetIds[allTouches[0].identifier] = true;\n\t return [allTouches, allTouches];\n\t }\n\t\n\t var i,\n\t targetTouches,\n\t changedTouches = toArray(ev.changedTouches),\n\t changedTargetTouches = [],\n\t target = this.target;\n\t\n\t // get target touches from touches\n\t targetTouches = allTouches.filter(function(touch) {\n\t return hasParent(touch.target, target);\n\t });\n\t\n\t // collect touches\n\t if (type === INPUT_START) {\n\t i = 0;\n\t while (i < targetTouches.length) {\n\t targetIds[targetTouches[i].identifier] = true;\n\t i++;\n\t }\n\t }\n\t\n\t // filter changed touches to only contain touches that exist in the collected target ids\n\t i = 0;\n\t while (i < changedTouches.length) {\n\t if (targetIds[changedTouches[i].identifier]) {\n\t changedTargetTouches.push(changedTouches[i]);\n\t }\n\t\n\t // cleanup removed touches\n\t if (type & (INPUT_END | INPUT_CANCEL)) {\n\t delete targetIds[changedTouches[i].identifier];\n\t }\n\t i++;\n\t }\n\t\n\t if (!changedTargetTouches.length) {\n\t return;\n\t }\n\t\n\t return [\n\t // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n\t uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n\t changedTargetTouches\n\t ];\n\t}\n\t\n\t/**\n\t * Combined touch and mouse input\n\t *\n\t * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n\t * This because touch devices also emit mouse events while doing a touch.\n\t *\n\t * @constructor\n\t * @extends Input\n\t */\n\t\n\tvar DEDUP_TIMEOUT = 2500;\n\tvar DEDUP_DISTANCE = 25;\n\t\n\tfunction TouchMouseInput() {\n\t Input.apply(this, arguments);\n\t\n\t var handler = bindFn(this.handler, this);\n\t this.touch = new TouchInput(this.manager, handler);\n\t this.mouse = new MouseInput(this.manager, handler);\n\t\n\t this.primaryTouch = null;\n\t this.lastTouches = [];\n\t}\n\t\n\tinherit(TouchMouseInput, Input, {\n\t /**\n\t * handle mouse and touch events\n\t * @param {Hammer} manager\n\t * @param {String} inputEvent\n\t * @param {Object} inputData\n\t */\n\t handler: function TMEhandler(manager, inputEvent, inputData) {\n\t var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n\t isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\t\n\t if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n\t return;\n\t }\n\t\n\t // when we're in a touch event, record touches to de-dupe synthetic mouse event\n\t if (isTouch) {\n\t recordTouches.call(this, inputEvent, inputData);\n\t } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n\t return;\n\t }\n\t\n\t this.callback(manager, inputEvent, inputData);\n\t },\n\t\n\t /**\n\t * remove the event listeners\n\t */\n\t destroy: function destroy() {\n\t this.touch.destroy();\n\t this.mouse.destroy();\n\t }\n\t});\n\t\n\tfunction recordTouches(eventType, eventData) {\n\t if (eventType & INPUT_START) {\n\t this.primaryTouch = eventData.changedPointers[0].identifier;\n\t setLastTouch.call(this, eventData);\n\t } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n\t setLastTouch.call(this, eventData);\n\t }\n\t}\n\t\n\tfunction setLastTouch(eventData) {\n\t var touch = eventData.changedPointers[0];\n\t\n\t if (touch.identifier === this.primaryTouch) {\n\t var lastTouch = {x: touch.clientX, y: touch.clientY};\n\t this.lastTouches.push(lastTouch);\n\t var lts = this.lastTouches;\n\t var removeLastTouch = function() {\n\t var i = lts.indexOf(lastTouch);\n\t if (i > -1) {\n\t lts.splice(i, 1);\n\t }\n\t };\n\t setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n\t }\n\t}\n\t\n\tfunction isSyntheticEvent(eventData) {\n\t var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n\t for (var i = 0; i < this.lastTouches.length; i++) {\n\t var t = this.lastTouches[i];\n\t var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n\t if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t}\n\t\n\tvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\n\tvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\t\n\t// magical touchAction value\n\tvar TOUCH_ACTION_COMPUTE = 'compute';\n\tvar TOUCH_ACTION_AUTO = 'auto';\n\tvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\n\tvar TOUCH_ACTION_NONE = 'none';\n\tvar TOUCH_ACTION_PAN_X = 'pan-x';\n\tvar TOUCH_ACTION_PAN_Y = 'pan-y';\n\tvar TOUCH_ACTION_MAP = getTouchActionProps();\n\t\n\t/**\n\t * Touch Action\n\t * sets the touchAction property or uses the js alternative\n\t * @param {Manager} manager\n\t * @param {String} value\n\t * @constructor\n\t */\n\tfunction TouchAction(manager, value) {\n\t this.manager = manager;\n\t this.set(value);\n\t}\n\t\n\tTouchAction.prototype = {\n\t /**\n\t * set the touchAction value on the element or enable the polyfill\n\t * @param {String} value\n\t */\n\t set: function(value) {\n\t // find out the touch-action by the event handlers\n\t if (value == TOUCH_ACTION_COMPUTE) {\n\t value = this.compute();\n\t }\n\t\n\t if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n\t this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n\t }\n\t this.actions = value.toLowerCase().trim();\n\t },\n\t\n\t /**\n\t * just re-set the touchAction value\n\t */\n\t update: function() {\n\t this.set(this.manager.options.touchAction);\n\t },\n\t\n\t /**\n\t * compute the value for the touchAction property based on the recognizer's settings\n\t * @returns {String} value\n\t */\n\t compute: function() {\n\t var actions = [];\n\t each(this.manager.recognizers, function(recognizer) {\n\t if (boolOrFn(recognizer.options.enable, [recognizer])) {\n\t actions = actions.concat(recognizer.getTouchAction());\n\t }\n\t });\n\t return cleanTouchActions(actions.join(' '));\n\t },\n\t\n\t /**\n\t * this method is called on each input cycle and provides the preventing of the browser behavior\n\t * @param {Object} input\n\t */\n\t preventDefaults: function(input) {\n\t var srcEvent = input.srcEvent;\n\t var direction = input.offsetDirection;\n\t\n\t // if the touch action did prevented once this session\n\t if (this.manager.session.prevented) {\n\t srcEvent.preventDefault();\n\t return;\n\t }\n\t\n\t var actions = this.actions;\n\t var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n\t var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n\t var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\t\n\t if (hasNone) {\n\t //do not prevent defaults if this is a tap gesture\n\t\n\t var isTapPointer = input.pointers.length === 1;\n\t var isTapMovement = input.distance < 2;\n\t var isTapTouchTime = input.deltaTime < 250;\n\t\n\t if (isTapPointer && isTapMovement && isTapTouchTime) {\n\t return;\n\t }\n\t }\n\t\n\t if (hasPanX && hasPanY) {\n\t // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n\t return;\n\t }\n\t\n\t if (hasNone ||\n\t (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n\t (hasPanX && direction & DIRECTION_VERTICAL)) {\n\t return this.preventSrc(srcEvent);\n\t }\n\t },\n\t\n\t /**\n\t * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n\t * @param {Object} srcEvent\n\t */\n\t preventSrc: function(srcEvent) {\n\t this.manager.session.prevented = true;\n\t srcEvent.preventDefault();\n\t }\n\t};\n\t\n\t/**\n\t * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n\t * @param {String} actions\n\t * @returns {*}\n\t */\n\tfunction cleanTouchActions(actions) {\n\t // none\n\t if (inStr(actions, TOUCH_ACTION_NONE)) {\n\t return TOUCH_ACTION_NONE;\n\t }\n\t\n\t var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n\t var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\t\n\t // if both pan-x and pan-y are set (different recognizers\n\t // for different directions, e.g. horizontal pan but vertical swipe?)\n\t // we need none (as otherwise with pan-x pan-y combined none of these\n\t // recognizers will work, since the browser would handle all panning\n\t if (hasPanX && hasPanY) {\n\t return TOUCH_ACTION_NONE;\n\t }\n\t\n\t // pan-x OR pan-y\n\t if (hasPanX || hasPanY) {\n\t return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n\t }\n\t\n\t // manipulation\n\t if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n\t return TOUCH_ACTION_MANIPULATION;\n\t }\n\t\n\t return TOUCH_ACTION_AUTO;\n\t}\n\t\n\tfunction getTouchActionProps() {\n\t if (!NATIVE_TOUCH_ACTION) {\n\t return false;\n\t }\n\t var touchMap = {};\n\t var cssSupports = window.CSS && window.CSS.supports;\n\t ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\t\n\t // If css.supports is not supported but there is native touch-action assume it supports\n\t // all values. This is the case for IE 10 and 11.\n\t touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n\t });\n\t return touchMap;\n\t}\n\t\n\t/**\n\t * Recognizer flow explained; *\n\t * All recognizers have the initial state of POSSIBLE when a input session starts.\n\t * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n\t * Example session for mouse-input: mousedown -> mousemove -> mouseup\n\t *\n\t * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n\t * which determines with state it should be.\n\t *\n\t * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n\t * POSSIBLE to give it another change on the next cycle.\n\t *\n\t * Possible\n\t * |\n\t * +-----+---------------+\n\t * | |\n\t * +-----+-----+ |\n\t * | | |\n\t * Failed Cancelled |\n\t * +-------+------+\n\t * | |\n\t * Recognized Began\n\t * |\n\t * Changed\n\t * |\n\t * Ended/Recognized\n\t */\n\tvar STATE_POSSIBLE = 1;\n\tvar STATE_BEGAN = 2;\n\tvar STATE_CHANGED = 4;\n\tvar STATE_ENDED = 8;\n\tvar STATE_RECOGNIZED = STATE_ENDED;\n\tvar STATE_CANCELLED = 16;\n\tvar STATE_FAILED = 32;\n\t\n\t/**\n\t * Recognizer\n\t * Every recognizer needs to extend from this class.\n\t * @constructor\n\t * @param {Object} options\n\t */\n\tfunction Recognizer(options) {\n\t this.options = assign({}, this.defaults, options || {});\n\t\n\t this.id = uniqueId();\n\t\n\t this.manager = null;\n\t\n\t // default is enable true\n\t this.options.enable = ifUndefined(this.options.enable, true);\n\t\n\t this.state = STATE_POSSIBLE;\n\t\n\t this.simultaneous = {};\n\t this.requireFail = [];\n\t}\n\t\n\tRecognizer.prototype = {\n\t /**\n\t * @virtual\n\t * @type {Object}\n\t */\n\t defaults: {},\n\t\n\t /**\n\t * set options\n\t * @param {Object} options\n\t * @return {Recognizer}\n\t */\n\t set: function(options) {\n\t assign(this.options, options);\n\t\n\t // also update the touchAction, in case something changed about the directions/enabled state\n\t this.manager && this.manager.touchAction.update();\n\t return this;\n\t },\n\t\n\t /**\n\t * recognize simultaneous with an other recognizer.\n\t * @param {Recognizer} otherRecognizer\n\t * @returns {Recognizer} this\n\t */\n\t recognizeWith: function(otherRecognizer) {\n\t if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n\t return this;\n\t }\n\t\n\t var simultaneous = this.simultaneous;\n\t otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\t if (!simultaneous[otherRecognizer.id]) {\n\t simultaneous[otherRecognizer.id] = otherRecognizer;\n\t otherRecognizer.recognizeWith(this);\n\t }\n\t return this;\n\t },\n\t\n\t /**\n\t * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n\t * @param {Recognizer} otherRecognizer\n\t * @returns {Recognizer} this\n\t */\n\t dropRecognizeWith: function(otherRecognizer) {\n\t if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n\t return this;\n\t }\n\t\n\t otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\t delete this.simultaneous[otherRecognizer.id];\n\t return this;\n\t },\n\t\n\t /**\n\t * recognizer can only run when an other is failing\n\t * @param {Recognizer} otherRecognizer\n\t * @returns {Recognizer} this\n\t */\n\t requireFailure: function(otherRecognizer) {\n\t if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n\t return this;\n\t }\n\t\n\t var requireFail = this.requireFail;\n\t otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\t if (inArray(requireFail, otherRecognizer) === -1) {\n\t requireFail.push(otherRecognizer);\n\t otherRecognizer.requireFailure(this);\n\t }\n\t return this;\n\t },\n\t\n\t /**\n\t * drop the requireFailure link. it does not remove the link on the other recognizer.\n\t * @param {Recognizer} otherRecognizer\n\t * @returns {Recognizer} this\n\t */\n\t dropRequireFailure: function(otherRecognizer) {\n\t if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n\t return this;\n\t }\n\t\n\t otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n\t var index = inArray(this.requireFail, otherRecognizer);\n\t if (index > -1) {\n\t this.requireFail.splice(index, 1);\n\t }\n\t return this;\n\t },\n\t\n\t /**\n\t * has require failures boolean\n\t * @returns {boolean}\n\t */\n\t hasRequireFailures: function() {\n\t return this.requireFail.length > 0;\n\t },\n\t\n\t /**\n\t * if the recognizer can recognize simultaneous with an other recognizer\n\t * @param {Recognizer} otherRecognizer\n\t * @returns {Boolean}\n\t */\n\t canRecognizeWith: function(otherRecognizer) {\n\t return !!this.simultaneous[otherRecognizer.id];\n\t },\n\t\n\t /**\n\t * You should use `tryEmit` instead of `emit` directly to check\n\t * that all the needed recognizers has failed before emitting.\n\t * @param {Object} input\n\t */\n\t emit: function(input) {\n\t var self = this;\n\t var state = this.state;\n\t\n\t function emit(event) {\n\t self.manager.emit(event, input);\n\t }\n\t\n\t // 'panstart' and 'panmove'\n\t if (state < STATE_ENDED) {\n\t emit(self.options.event + stateStr(state));\n\t }\n\t\n\t emit(self.options.event); // simple 'eventName' events\n\t\n\t if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n\t emit(input.additionalEvent);\n\t }\n\t\n\t // panend and pancancel\n\t if (state >= STATE_ENDED) {\n\t emit(self.options.event + stateStr(state));\n\t }\n\t },\n\t\n\t /**\n\t * Check that all the require failure recognizers has failed,\n\t * if true, it emits a gesture event,\n\t * otherwise, setup the state to FAILED.\n\t * @param {Object} input\n\t */\n\t tryEmit: function(input) {\n\t if (this.canEmit()) {\n\t return this.emit(input);\n\t }\n\t // it's failing anyway\n\t this.state = STATE_FAILED;\n\t },\n\t\n\t /**\n\t * can we emit?\n\t * @returns {boolean}\n\t */\n\t canEmit: function() {\n\t var i = 0;\n\t while (i < this.requireFail.length) {\n\t if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n\t return false;\n\t }\n\t i++;\n\t }\n\t return true;\n\t },\n\t\n\t /**\n\t * update the recognizer\n\t * @param {Object} inputData\n\t */\n\t recognize: function(inputData) {\n\t // make a new copy of the inputData\n\t // so we can change the inputData without messing up the other recognizers\n\t var inputDataClone = assign({}, inputData);\n\t\n\t // is is enabled and allow recognizing?\n\t if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n\t this.reset();\n\t this.state = STATE_FAILED;\n\t return;\n\t }\n\t\n\t // reset when we've reached the end\n\t if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n\t this.state = STATE_POSSIBLE;\n\t }\n\t\n\t this.state = this.process(inputDataClone);\n\t\n\t // the recognizer has recognized a gesture\n\t // so trigger an event\n\t if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n\t this.tryEmit(inputDataClone);\n\t }\n\t },\n\t\n\t /**\n\t * return the state of the recognizer\n\t * the actual recognizing happens in this method\n\t * @virtual\n\t * @param {Object} inputData\n\t * @returns {Const} STATE\n\t */\n\t process: function(inputData) { }, // jshint ignore:line\n\t\n\t /**\n\t * return the preferred touch-action\n\t * @virtual\n\t * @returns {Array}\n\t */\n\t getTouchAction: function() { },\n\t\n\t /**\n\t * called when the gesture isn't allowed to recognize\n\t * like when another is being recognized or it is disabled\n\t * @virtual\n\t */\n\t reset: function() { }\n\t};\n\t\n\t/**\n\t * get a usable string, used as event postfix\n\t * @param {Const} state\n\t * @returns {String} state\n\t */\n\tfunction stateStr(state) {\n\t if (state & STATE_CANCELLED) {\n\t return 'cancel';\n\t } else if (state & STATE_ENDED) {\n\t return 'end';\n\t } else if (state & STATE_CHANGED) {\n\t return 'move';\n\t } else if (state & STATE_BEGAN) {\n\t return 'start';\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * direction cons to string\n\t * @param {Const} direction\n\t * @returns {String}\n\t */\n\tfunction directionStr(direction) {\n\t if (direction == DIRECTION_DOWN) {\n\t return 'down';\n\t } else if (direction == DIRECTION_UP) {\n\t return 'up';\n\t } else if (direction == DIRECTION_LEFT) {\n\t return 'left';\n\t } else if (direction == DIRECTION_RIGHT) {\n\t return 'right';\n\t }\n\t return '';\n\t}\n\t\n\t/**\n\t * get a recognizer by name if it is bound to a manager\n\t * @param {Recognizer|String} otherRecognizer\n\t * @param {Recognizer} recognizer\n\t * @returns {Recognizer}\n\t */\n\tfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n\t var manager = recognizer.manager;\n\t if (manager) {\n\t return manager.get(otherRecognizer);\n\t }\n\t return otherRecognizer;\n\t}\n\t\n\t/**\n\t * This recognizer is just used as a base for the simple attribute recognizers.\n\t * @constructor\n\t * @extends Recognizer\n\t */\n\tfunction AttrRecognizer() {\n\t Recognizer.apply(this, arguments);\n\t}\n\t\n\tinherit(AttrRecognizer, Recognizer, {\n\t /**\n\t * @namespace\n\t * @memberof AttrRecognizer\n\t */\n\t defaults: {\n\t /**\n\t * @type {Number}\n\t * @default 1\n\t */\n\t pointers: 1\n\t },\n\t\n\t /**\n\t * Used to check if it the recognizer receives valid input, like input.distance > 10.\n\t * @memberof AttrRecognizer\n\t * @param {Object} input\n\t * @returns {Boolean} recognized\n\t */\n\t attrTest: function(input) {\n\t var optionPointers = this.options.pointers;\n\t return optionPointers === 0 || input.pointers.length === optionPointers;\n\t },\n\t\n\t /**\n\t * Process the input and return the state for the recognizer\n\t * @memberof AttrRecognizer\n\t * @param {Object} input\n\t * @returns {*} State\n\t */\n\t process: function(input) {\n\t var state = this.state;\n\t var eventType = input.eventType;\n\t\n\t var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n\t var isValid = this.attrTest(input);\n\t\n\t // on cancel input and we've recognized before, return STATE_CANCELLED\n\t if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n\t return state | STATE_CANCELLED;\n\t } else if (isRecognized || isValid) {\n\t if (eventType & INPUT_END) {\n\t return state | STATE_ENDED;\n\t } else if (!(state & STATE_BEGAN)) {\n\t return STATE_BEGAN;\n\t }\n\t return state | STATE_CHANGED;\n\t }\n\t return STATE_FAILED;\n\t }\n\t});\n\t\n\t/**\n\t * Pan\n\t * Recognized when the pointer is down and moved in the allowed direction.\n\t * @constructor\n\t * @extends AttrRecognizer\n\t */\n\tfunction PanRecognizer() {\n\t AttrRecognizer.apply(this, arguments);\n\t\n\t this.pX = null;\n\t this.pY = null;\n\t}\n\t\n\tinherit(PanRecognizer, AttrRecognizer, {\n\t /**\n\t * @namespace\n\t * @memberof PanRecognizer\n\t */\n\t defaults: {\n\t event: 'pan',\n\t threshold: 10,\n\t pointers: 1,\n\t direction: DIRECTION_ALL\n\t },\n\t\n\t getTouchAction: function() {\n\t var direction = this.options.direction;\n\t var actions = [];\n\t if (direction & DIRECTION_HORIZONTAL) {\n\t actions.push(TOUCH_ACTION_PAN_Y);\n\t }\n\t if (direction & DIRECTION_VERTICAL) {\n\t actions.push(TOUCH_ACTION_PAN_X);\n\t }\n\t return actions;\n\t },\n\t\n\t directionTest: function(input) {\n\t var options = this.options;\n\t var hasMoved = true;\n\t var distance = input.distance;\n\t var direction = input.direction;\n\t var x = input.deltaX;\n\t var y = input.deltaY;\n\t\n\t // lock to axis?\n\t if (!(direction & options.direction)) {\n\t if (options.direction & DIRECTION_HORIZONTAL) {\n\t direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n\t hasMoved = x != this.pX;\n\t distance = Math.abs(input.deltaX);\n\t } else {\n\t direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n\t hasMoved = y != this.pY;\n\t distance = Math.abs(input.deltaY);\n\t }\n\t }\n\t input.direction = direction;\n\t return hasMoved && distance > options.threshold && direction & options.direction;\n\t },\n\t\n\t attrTest: function(input) {\n\t return AttrRecognizer.prototype.attrTest.call(this, input) &&\n\t (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n\t },\n\t\n\t emit: function(input) {\n\t\n\t this.pX = input.deltaX;\n\t this.pY = input.deltaY;\n\t\n\t var direction = directionStr(input.direction);\n\t\n\t if (direction) {\n\t input.additionalEvent = this.options.event + direction;\n\t }\n\t this._super.emit.call(this, input);\n\t }\n\t});\n\t\n\t/**\n\t * Pinch\n\t * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n\t * @constructor\n\t * @extends AttrRecognizer\n\t */\n\tfunction PinchRecognizer() {\n\t AttrRecognizer.apply(this, arguments);\n\t}\n\t\n\tinherit(PinchRecognizer, AttrRecognizer, {\n\t /**\n\t * @namespace\n\t * @memberof PinchRecognizer\n\t */\n\t defaults: {\n\t event: 'pinch',\n\t threshold: 0,\n\t pointers: 2\n\t },\n\t\n\t getTouchAction: function() {\n\t return [TOUCH_ACTION_NONE];\n\t },\n\t\n\t attrTest: function(input) {\n\t return this._super.attrTest.call(this, input) &&\n\t (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n\t },\n\t\n\t emit: function(input) {\n\t if (input.scale !== 1) {\n\t var inOut = input.scale < 1 ? 'in' : 'out';\n\t input.additionalEvent = this.options.event + inOut;\n\t }\n\t this._super.emit.call(this, input);\n\t }\n\t});\n\t\n\t/**\n\t * Press\n\t * Recognized when the pointer is down for x ms without any movement.\n\t * @constructor\n\t * @extends Recognizer\n\t */\n\tfunction PressRecognizer() {\n\t Recognizer.apply(this, arguments);\n\t\n\t this._timer = null;\n\t this._input = null;\n\t}\n\t\n\tinherit(PressRecognizer, Recognizer, {\n\t /**\n\t * @namespace\n\t * @memberof PressRecognizer\n\t */\n\t defaults: {\n\t event: 'press',\n\t pointers: 1,\n\t time: 251, // minimal time of the pointer to be pressed\n\t threshold: 9 // a minimal movement is ok, but keep it low\n\t },\n\t\n\t getTouchAction: function() {\n\t return [TOUCH_ACTION_AUTO];\n\t },\n\t\n\t process: function(input) {\n\t var options = this.options;\n\t var validPointers = input.pointers.length === options.pointers;\n\t var validMovement = input.distance < options.threshold;\n\t var validTime = input.deltaTime > options.time;\n\t\n\t this._input = input;\n\t\n\t // we only allow little movement\n\t // and we've reached an end event, so a tap is possible\n\t if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n\t this.reset();\n\t } else if (input.eventType & INPUT_START) {\n\t this.reset();\n\t this._timer = setTimeoutContext(function() {\n\t this.state = STATE_RECOGNIZED;\n\t this.tryEmit();\n\t }, options.time, this);\n\t } else if (input.eventType & INPUT_END) {\n\t return STATE_RECOGNIZED;\n\t }\n\t return STATE_FAILED;\n\t },\n\t\n\t reset: function() {\n\t clearTimeout(this._timer);\n\t },\n\t\n\t emit: function(input) {\n\t if (this.state !== STATE_RECOGNIZED) {\n\t return;\n\t }\n\t\n\t if (input && (input.eventType & INPUT_END)) {\n\t this.manager.emit(this.options.event + 'up', input);\n\t } else {\n\t this._input.timeStamp = now();\n\t this.manager.emit(this.options.event, this._input);\n\t }\n\t }\n\t});\n\t\n\t/**\n\t * Rotate\n\t * Recognized when two or more pointer are moving in a circular motion.\n\t * @constructor\n\t * @extends AttrRecognizer\n\t */\n\tfunction RotateRecognizer() {\n\t AttrRecognizer.apply(this, arguments);\n\t}\n\t\n\tinherit(RotateRecognizer, AttrRecognizer, {\n\t /**\n\t * @namespace\n\t * @memberof RotateRecognizer\n\t */\n\t defaults: {\n\t event: 'rotate',\n\t threshold: 0,\n\t pointers: 2\n\t },\n\t\n\t getTouchAction: function() {\n\t return [TOUCH_ACTION_NONE];\n\t },\n\t\n\t attrTest: function(input) {\n\t return this._super.attrTest.call(this, input) &&\n\t (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n\t }\n\t});\n\t\n\t/**\n\t * Swipe\n\t * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n\t * @constructor\n\t * @extends AttrRecognizer\n\t */\n\tfunction SwipeRecognizer() {\n\t AttrRecognizer.apply(this, arguments);\n\t}\n\t\n\tinherit(SwipeRecognizer, AttrRecognizer, {\n\t /**\n\t * @namespace\n\t * @memberof SwipeRecognizer\n\t */\n\t defaults: {\n\t event: 'swipe',\n\t threshold: 10,\n\t velocity: 0.3,\n\t direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n\t pointers: 1\n\t },\n\t\n\t getTouchAction: function() {\n\t return PanRecognizer.prototype.getTouchAction.call(this);\n\t },\n\t\n\t attrTest: function(input) {\n\t var direction = this.options.direction;\n\t var velocity;\n\t\n\t if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n\t velocity = input.overallVelocity;\n\t } else if (direction & DIRECTION_HORIZONTAL) {\n\t velocity = input.overallVelocityX;\n\t } else if (direction & DIRECTION_VERTICAL) {\n\t velocity = input.overallVelocityY;\n\t }\n\t\n\t return this._super.attrTest.call(this, input) &&\n\t direction & input.offsetDirection &&\n\t input.distance > this.options.threshold &&\n\t input.maxPointers == this.options.pointers &&\n\t abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n\t },\n\t\n\t emit: function(input) {\n\t var direction = directionStr(input.offsetDirection);\n\t if (direction) {\n\t this.manager.emit(this.options.event + direction, input);\n\t }\n\t\n\t this.manager.emit(this.options.event, input);\n\t }\n\t});\n\t\n\t/**\n\t * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n\t * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n\t * a single tap.\n\t *\n\t * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n\t * multi-taps being recognized.\n\t * @constructor\n\t * @extends Recognizer\n\t */\n\tfunction TapRecognizer() {\n\t Recognizer.apply(this, arguments);\n\t\n\t // previous time and center,\n\t // used for tap counting\n\t this.pTime = false;\n\t this.pCenter = false;\n\t\n\t this._timer = null;\n\t this._input = null;\n\t this.count = 0;\n\t}\n\t\n\tinherit(TapRecognizer, Recognizer, {\n\t /**\n\t * @namespace\n\t * @memberof PinchRecognizer\n\t */\n\t defaults: {\n\t event: 'tap',\n\t pointers: 1,\n\t taps: 1,\n\t interval: 300, // max time between the multi-tap taps\n\t time: 250, // max time of the pointer to be down (like finger on the screen)\n\t threshold: 9, // a minimal movement is ok, but keep it low\n\t posThreshold: 10 // a multi-tap can be a bit off the initial position\n\t },\n\t\n\t getTouchAction: function() {\n\t return [TOUCH_ACTION_MANIPULATION];\n\t },\n\t\n\t process: function(input) {\n\t var options = this.options;\n\t\n\t var validPointers = input.pointers.length === options.pointers;\n\t var validMovement = input.distance < options.threshold;\n\t var validTouchTime = input.deltaTime < options.time;\n\t\n\t this.reset();\n\t\n\t if ((input.eventType & INPUT_START) && (this.count === 0)) {\n\t return this.failTimeout();\n\t }\n\t\n\t // we only allow little movement\n\t // and we've reached an end event, so a tap is possible\n\t if (validMovement && validTouchTime && validPointers) {\n\t if (input.eventType != INPUT_END) {\n\t return this.failTimeout();\n\t }\n\t\n\t var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n\t var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\t\n\t this.pTime = input.timeStamp;\n\t this.pCenter = input.center;\n\t\n\t if (!validMultiTap || !validInterval) {\n\t this.count = 1;\n\t } else {\n\t this.count += 1;\n\t }\n\t\n\t this._input = input;\n\t\n\t // if tap count matches we have recognized it,\n\t // else it has began recognizing...\n\t var tapCount = this.count % options.taps;\n\t if (tapCount === 0) {\n\t // no failing requirements, immediately trigger the tap event\n\t // or wait as long as the multitap interval to trigger\n\t if (!this.hasRequireFailures()) {\n\t return STATE_RECOGNIZED;\n\t } else {\n\t this._timer = setTimeoutContext(function() {\n\t this.state = STATE_RECOGNIZED;\n\t this.tryEmit();\n\t }, options.interval, this);\n\t return STATE_BEGAN;\n\t }\n\t }\n\t }\n\t return STATE_FAILED;\n\t },\n\t\n\t failTimeout: function() {\n\t this._timer = setTimeoutContext(function() {\n\t this.state = STATE_FAILED;\n\t }, this.options.interval, this);\n\t return STATE_FAILED;\n\t },\n\t\n\t reset: function() {\n\t clearTimeout(this._timer);\n\t },\n\t\n\t emit: function() {\n\t if (this.state == STATE_RECOGNIZED) {\n\t this._input.tapCount = this.count;\n\t this.manager.emit(this.options.event, this._input);\n\t }\n\t }\n\t});\n\t\n\t/**\n\t * Simple way to create a manager with a default set of recognizers.\n\t * @param {HTMLElement} element\n\t * @param {Object} [options]\n\t * @constructor\n\t */\n\tfunction Hammer(element, options) {\n\t options = options || {};\n\t options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n\t return new Manager(element, options);\n\t}\n\t\n\t/**\n\t * @const {string}\n\t */\n\tHammer.VERSION = '2.0.7';\n\t\n\t/**\n\t * default settings\n\t * @namespace\n\t */\n\tHammer.defaults = {\n\t /**\n\t * set if DOM events are being triggered.\n\t * But this is slower and unused by simple implementations, so disabled by default.\n\t * @type {Boolean}\n\t * @default false\n\t */\n\t domEvents: false,\n\t\n\t /**\n\t * The value for the touchAction property/fallback.\n\t * When set to `compute` it will magically set the correct value based on the added recognizers.\n\t * @type {String}\n\t * @default compute\n\t */\n\t touchAction: TOUCH_ACTION_COMPUTE,\n\t\n\t /**\n\t * @type {Boolean}\n\t * @default true\n\t */\n\t enable: true,\n\t\n\t /**\n\t * EXPERIMENTAL FEATURE -- can be removed/changed\n\t * Change the parent input target element.\n\t * If Null, then it is being set the to main element.\n\t * @type {Null|EventTarget}\n\t * @default null\n\t */\n\t inputTarget: null,\n\t\n\t /**\n\t * force an input class\n\t * @type {Null|Function}\n\t * @default null\n\t */\n\t inputClass: null,\n\t\n\t /**\n\t * Default recognizer setup when calling `Hammer()`\n\t * When creating a new Manager these will be skipped.\n\t * @type {Array}\n\t */\n\t preset: [\n\t // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n\t [RotateRecognizer, {enable: false}],\n\t [PinchRecognizer, {enable: false}, ['rotate']],\n\t [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n\t [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n\t [TapRecognizer],\n\t [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n\t [PressRecognizer]\n\t ],\n\t\n\t /**\n\t * Some CSS properties can be used to improve the working of Hammer.\n\t * Add them to this method and they will be set when creating a new Manager.\n\t * @namespace\n\t */\n\t cssProps: {\n\t /**\n\t * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n\t * @type {String}\n\t * @default 'none'\n\t */\n\t userSelect: 'none',\n\t\n\t /**\n\t * Disable the Windows Phone grippers when pressing an element.\n\t * @type {String}\n\t * @default 'none'\n\t */\n\t touchSelect: 'none',\n\t\n\t /**\n\t * Disables the default callout shown when you touch and hold a touch target.\n\t * On iOS, when you touch and hold a touch target such as a link, Safari displays\n\t * a callout containing information about the link. This property allows you to disable that callout.\n\t * @type {String}\n\t * @default 'none'\n\t */\n\t touchCallout: 'none',\n\t\n\t /**\n\t * Specifies whether zooming is enabled. Used by IE10>\n\t * @type {String}\n\t * @default 'none'\n\t */\n\t contentZooming: 'none',\n\t\n\t /**\n\t * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n\t * @type {String}\n\t * @default 'none'\n\t */\n\t userDrag: 'none',\n\t\n\t /**\n\t * Overrides the highlight color shown when the user taps a link or a JavaScript\n\t * clickable element in iOS. This property obeys the alpha value, if specified.\n\t * @type {String}\n\t * @default 'rgba(0,0,0,0)'\n\t */\n\t tapHighlightColor: 'rgba(0,0,0,0)'\n\t }\n\t};\n\t\n\tvar STOP = 1;\n\tvar FORCED_STOP = 2;\n\t\n\t/**\n\t * Manager\n\t * @param {HTMLElement} element\n\t * @param {Object} [options]\n\t * @constructor\n\t */\n\tfunction Manager(element, options) {\n\t this.options = assign({}, Hammer.defaults, options || {});\n\t\n\t this.options.inputTarget = this.options.inputTarget || element;\n\t\n\t this.handlers = {};\n\t this.session = {};\n\t this.recognizers = [];\n\t this.oldCssProps = {};\n\t\n\t this.element = element;\n\t this.input = createInputInstance(this);\n\t this.touchAction = new TouchAction(this, this.options.touchAction);\n\t\n\t toggleCssProps(this, true);\n\t\n\t each(this.options.recognizers, function(item) {\n\t var recognizer = this.add(new (item[0])(item[1]));\n\t item[2] && recognizer.recognizeWith(item[2]);\n\t item[3] && recognizer.requireFailure(item[3]);\n\t }, this);\n\t}\n\t\n\tManager.prototype = {\n\t /**\n\t * set options\n\t * @param {Object} options\n\t * @returns {Manager}\n\t */\n\t set: function(options) {\n\t assign(this.options, options);\n\t\n\t // Options that need a little more setup\n\t if (options.touchAction) {\n\t this.touchAction.update();\n\t }\n\t if (options.inputTarget) {\n\t // Clean up existing event listeners and reinitialize\n\t this.input.destroy();\n\t this.input.target = options.inputTarget;\n\t this.input.init();\n\t }\n\t return this;\n\t },\n\t\n\t /**\n\t * stop recognizing for this session.\n\t * This session will be discarded, when a new [input]start event is fired.\n\t * When forced, the recognizer cycle is stopped immediately.\n\t * @param {Boolean} [force]\n\t */\n\t stop: function(force) {\n\t this.session.stopped = force ? FORCED_STOP : STOP;\n\t },\n\t\n\t /**\n\t * run the recognizers!\n\t * called by the inputHandler function on every movement of the pointers (touches)\n\t * it walks through all the recognizers and tries to detect the gesture that is being made\n\t * @param {Object} inputData\n\t */\n\t recognize: function(inputData) {\n\t var session = this.session;\n\t if (session.stopped) {\n\t return;\n\t }\n\t\n\t // run the touch-action polyfill\n\t this.touchAction.preventDefaults(inputData);\n\t\n\t var recognizer;\n\t var recognizers = this.recognizers;\n\t\n\t // this holds the recognizer that is being recognized.\n\t // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n\t // if no recognizer is detecting a thing, it is set to `null`\n\t var curRecognizer = session.curRecognizer;\n\t\n\t // reset when the last recognizer is recognized\n\t // or when we're in a new session\n\t if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n\t curRecognizer = session.curRecognizer = null;\n\t }\n\t\n\t var i = 0;\n\t while (i < recognizers.length) {\n\t recognizer = recognizers[i];\n\t\n\t // find out if we are allowed try to recognize the input for this one.\n\t // 1. allow if the session is NOT forced stopped (see the .stop() method)\n\t // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n\t // that is being recognized.\n\t // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n\t // this can be setup with the `recognizeWith()` method on the recognizer.\n\t if (session.stopped !== FORCED_STOP && ( // 1\n\t !curRecognizer || recognizer == curRecognizer || // 2\n\t recognizer.canRecognizeWith(curRecognizer))) { // 3\n\t recognizer.recognize(inputData);\n\t } else {\n\t recognizer.reset();\n\t }\n\t\n\t // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n\t // current active recognizer. but only if we don't already have an active recognizer\n\t if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n\t curRecognizer = session.curRecognizer = recognizer;\n\t }\n\t i++;\n\t }\n\t },\n\t\n\t /**\n\t * get a recognizer by its event name.\n\t * @param {Recognizer|String} recognizer\n\t * @returns {Recognizer|Null}\n\t */\n\t get: function(recognizer) {\n\t if (recognizer instanceof Recognizer) {\n\t return recognizer;\n\t }\n\t\n\t var recognizers = this.recognizers;\n\t for (var i = 0; i < recognizers.length; i++) {\n\t if (recognizers[i].options.event == recognizer) {\n\t return recognizers[i];\n\t }\n\t }\n\t return null;\n\t },\n\t\n\t /**\n\t * add a recognizer to the manager\n\t * existing recognizers with the same event name will be removed\n\t * @param {Recognizer} recognizer\n\t * @returns {Recognizer|Manager}\n\t */\n\t add: function(recognizer) {\n\t if (invokeArrayArg(recognizer, 'add', this)) {\n\t return this;\n\t }\n\t\n\t // remove existing\n\t var existing = this.get(recognizer.options.event);\n\t if (existing) {\n\t this.remove(existing);\n\t }\n\t\n\t this.recognizers.push(recognizer);\n\t recognizer.manager = this;\n\t\n\t this.touchAction.update();\n\t return recognizer;\n\t },\n\t\n\t /**\n\t * remove a recognizer by name or instance\n\t * @param {Recognizer|String} recognizer\n\t * @returns {Manager}\n\t */\n\t remove: function(recognizer) {\n\t if (invokeArrayArg(recognizer, 'remove', this)) {\n\t return this;\n\t }\n\t\n\t recognizer = this.get(recognizer);\n\t\n\t // let's make sure this recognizer exists\n\t if (recognizer) {\n\t var recognizers = this.recognizers;\n\t var index = inArray(recognizers, recognizer);\n\t\n\t if (index !== -1) {\n\t recognizers.splice(index, 1);\n\t this.touchAction.update();\n\t }\n\t }\n\t\n\t return this;\n\t },\n\t\n\t /**\n\t * bind event\n\t * @param {String} events\n\t * @param {Function} handler\n\t * @returns {EventEmitter} this\n\t */\n\t on: function(events, handler) {\n\t if (events === undefined) {\n\t return;\n\t }\n\t if (handler === undefined) {\n\t return;\n\t }\n\t\n\t var handlers = this.handlers;\n\t each(splitStr(events), function(event) {\n\t handlers[event] = handlers[event] || [];\n\t handlers[event].push(handler);\n\t });\n\t return this;\n\t },\n\t\n\t /**\n\t * unbind event, leave emit blank to remove all handlers\n\t * @param {String} events\n\t * @param {Function} [handler]\n\t * @returns {EventEmitter} this\n\t */\n\t off: function(events, handler) {\n\t if (events === undefined) {\n\t return;\n\t }\n\t\n\t var handlers = this.handlers;\n\t each(splitStr(events), function(event) {\n\t if (!handler) {\n\t delete handlers[event];\n\t } else {\n\t handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n\t }\n\t });\n\t return this;\n\t },\n\t\n\t /**\n\t * emit event to the listeners\n\t * @param {String} event\n\t * @param {Object} data\n\t */\n\t emit: function(event, data) {\n\t // we also want to trigger dom events\n\t if (this.options.domEvents) {\n\t triggerDomEvent(event, data);\n\t }\n\t\n\t // no handlers, so skip it all\n\t var handlers = this.handlers[event] && this.handlers[event].slice();\n\t if (!handlers || !handlers.length) {\n\t return;\n\t }\n\t\n\t data.type = event;\n\t data.preventDefault = function() {\n\t data.srcEvent.preventDefault();\n\t };\n\t\n\t var i = 0;\n\t while (i < handlers.length) {\n\t handlers[i](data);\n\t i++;\n\t }\n\t },\n\t\n\t /**\n\t * destroy the manager and unbinds all events\n\t * it doesn't unbind dom events, that is the user own responsibility\n\t */\n\t destroy: function() {\n\t this.element && toggleCssProps(this, false);\n\t\n\t this.handlers = {};\n\t this.session = {};\n\t this.input.destroy();\n\t this.element = null;\n\t }\n\t};\n\t\n\t/**\n\t * add/remove the css properties as defined in manager.options.cssProps\n\t * @param {Manager} manager\n\t * @param {Boolean} add\n\t */\n\tfunction toggleCssProps(manager, add) {\n\t var element = manager.element;\n\t if (!element.style) {\n\t return;\n\t }\n\t var prop;\n\t each(manager.options.cssProps, function(value, name) {\n\t prop = prefixed(element.style, name);\n\t if (add) {\n\t manager.oldCssProps[prop] = element.style[prop];\n\t element.style[prop] = value;\n\t } else {\n\t element.style[prop] = manager.oldCssProps[prop] || '';\n\t }\n\t });\n\t if (!add) {\n\t manager.oldCssProps = {};\n\t }\n\t}\n\t\n\t/**\n\t * trigger dom event\n\t * @param {String} event\n\t * @param {Object} data\n\t */\n\tfunction triggerDomEvent(event, data) {\n\t var gestureEvent = document.createEvent('Event');\n\t gestureEvent.initEvent(event, true, true);\n\t gestureEvent.gesture = data;\n\t data.target.dispatchEvent(gestureEvent);\n\t}\n\t\n\tassign(Hammer, {\n\t INPUT_START: INPUT_START,\n\t INPUT_MOVE: INPUT_MOVE,\n\t INPUT_END: INPUT_END,\n\t INPUT_CANCEL: INPUT_CANCEL,\n\t\n\t STATE_POSSIBLE: STATE_POSSIBLE,\n\t STATE_BEGAN: STATE_BEGAN,\n\t STATE_CHANGED: STATE_CHANGED,\n\t STATE_ENDED: STATE_ENDED,\n\t STATE_RECOGNIZED: STATE_RECOGNIZED,\n\t STATE_CANCELLED: STATE_CANCELLED,\n\t STATE_FAILED: STATE_FAILED,\n\t\n\t DIRECTION_NONE: DIRECTION_NONE,\n\t DIRECTION_LEFT: DIRECTION_LEFT,\n\t DIRECTION_RIGHT: DIRECTION_RIGHT,\n\t DIRECTION_UP: DIRECTION_UP,\n\t DIRECTION_DOWN: DIRECTION_DOWN,\n\t DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n\t DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n\t DIRECTION_ALL: DIRECTION_ALL,\n\t\n\t Manager: Manager,\n\t Input: Input,\n\t TouchAction: TouchAction,\n\t\n\t TouchInput: TouchInput,\n\t MouseInput: MouseInput,\n\t PointerEventInput: PointerEventInput,\n\t TouchMouseInput: TouchMouseInput,\n\t SingleTouchInput: SingleTouchInput,\n\t\n\t Recognizer: Recognizer,\n\t AttrRecognizer: AttrRecognizer,\n\t Tap: TapRecognizer,\n\t Pan: PanRecognizer,\n\t Swipe: SwipeRecognizer,\n\t Pinch: PinchRecognizer,\n\t Rotate: RotateRecognizer,\n\t Press: PressRecognizer,\n\t\n\t on: addEventListeners,\n\t off: removeEventListeners,\n\t each: each,\n\t merge: merge,\n\t extend: extend,\n\t assign: assign,\n\t inherit: inherit,\n\t bindFn: bindFn,\n\t prefixed: prefixed\n\t});\n\t\n\t// this prevents errors when Hammer is loaded in the presence of an AMD\n\t// style loader but by script tag, not by the loader.\n\tvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\n\tfreeGlobal.Hammer = Hammer;\n\t\n\tif (true) {\n\t !(__WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t return Hammer;\n\t }.call(exports, __webpack_require__, exports, module), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else if (typeof module != 'undefined' && module.exports) {\n\t module.exports = Hammer;\n\t} else {\n\t window[exportName] = Hammer;\n\t}\n\t\n\t})(window, document, 'Hammer');\n\n\n/***/ },\n/* 261 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(262), __webpack_require__(263), __webpack_require__(281)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/compiler', '@angular/core', '@angular/platform-browser'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = global.ng.platformBrowserDynamic || {}),global.ng.compiler,global.ng.core,global.ng.platformBrowser));\n\t}(this, function (exports,_angular_compiler,_angular_core,_angular_platformBrowser) { 'use strict';\n\t\n\t var INTERNAL_BROWSER_PLATFORM_PROVIDERS = _angular_platformBrowser.__platform_browser_private__.INTERNAL_BROWSER_PLATFORM_PROVIDERS;\n\t\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var ResourceLoaderImpl = (function (_super) {\n\t __extends(ResourceLoaderImpl, _super);\n\t function ResourceLoaderImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t ResourceLoaderImpl.prototype.get = function (url) {\n\t var resolve;\n\t var reject;\n\t var promise = new Promise(function (res, rej) {\n\t resolve = res;\n\t reject = rej;\n\t });\n\t var xhr = new XMLHttpRequest();\n\t xhr.open('GET', url, true);\n\t xhr.responseType = 'text';\n\t xhr.onload = function () {\n\t // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n\t // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n\t // by IE10)\n\t var response = xhr.response || xhr.responseText;\n\t // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n\t var status = xhr.status === 1223 ? 204 : xhr.status;\n\t // fix status code when it is 0 (0 status is undocumented).\n\t // Occurs when accessing file resources or on Android 4.1 stock browser\n\t // while retrieving files from application cache.\n\t if (status === 0) {\n\t status = response ? 200 : 0;\n\t }\n\t if (200 <= status && status <= 300) {\n\t resolve(response);\n\t }\n\t else {\n\t reject(\"Failed to load \" + url);\n\t }\n\t };\n\t xhr.onerror = function () { reject(\"Failed to load \" + url); };\n\t xhr.send();\n\t return promise;\n\t };\n\t ResourceLoaderImpl.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t ResourceLoaderImpl.ctorParameters = [];\n\t return ResourceLoaderImpl;\n\t }(_angular_compiler.ResourceLoader));\n\t\n\t var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n\t INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n\t {\n\t provide: _angular_core.COMPILER_OPTIONS,\n\t useValue: { providers: [{ provide: _angular_compiler.ResourceLoader, useClass: ResourceLoaderImpl }] },\n\t multi: true\n\t },\n\t ];\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var globalScope;\n\t if (typeof window === 'undefined') {\n\t if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n\t // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n\t globalScope = self;\n\t }\n\t else {\n\t globalScope = global;\n\t }\n\t }\n\t else {\n\t globalScope = window;\n\t }\n\t // Need to declare a new variable for global here since TypeScript\n\t // exports the original value of the symbol.\n\t var _global = globalScope;\n\t // TODO: remove calls to assert in production environment\n\t // Note: Can't just export this and import in in other files\n\t // as `assert` is a reserved keyword in Dart\n\t _global.assert = function assert(condition) {\n\t // TODO: to be fixed properly via #2830, noop for now\n\t };\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n\t * ResourceLoader.\n\t *\n\t * The template cache needs to be built and loaded into window.$templateCache\n\t * via a separate mechanism.\n\t */\n\t var CachedResourceLoader = (function (_super) {\n\t __extends$1(CachedResourceLoader, _super);\n\t function CachedResourceLoader() {\n\t _super.call(this);\n\t this._cache = _global.$templateCache;\n\t if (this._cache == null) {\n\t throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n\t }\n\t }\n\t CachedResourceLoader.prototype.get = function (url) {\n\t if (this._cache.hasOwnProperty(url)) {\n\t return Promise.resolve(this._cache[url]);\n\t }\n\t else {\n\t return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);\n\t }\n\t };\n\t return CachedResourceLoader;\n\t }(_angular_compiler.ResourceLoader));\n\t\n\t var __platform_browser_dynamic_private__ = {\n\t INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,\n\t ResourceLoaderImpl: ResourceLoaderImpl\n\t };\n\t\n\t /**\n\t * @experimental\n\t */\n\t var RESOURCE_CACHE_PROVIDER = [{ provide: _angular_compiler.ResourceLoader, useClass: CachedResourceLoader }];\n\t /**\n\t * @stable\n\t */\n\t var platformBrowserDynamic = _angular_core.createPlatformFactory(_angular_compiler.platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\t\n\t exports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER;\n\t exports.platformBrowserDynamic = platformBrowserDynamic;\n\t exports.__platform_browser_dynamic_private__ = __platform_browser_dynamic_private__;\n\t\n\t}));\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 262 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(263)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}),global.ng.core));\n\t}(this, function (exports,_angular_core) { 'use strict';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * A segment of text within the template.\n\t */\n\t var TextAst = (function () {\n\t function TextAst(value, ngContentIndex, sourceSpan) {\n\t this.value = value;\n\t this.ngContentIndex = ngContentIndex;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n\t return TextAst;\n\t }());\n\t /**\n\t * A bound expression within the text of a template.\n\t */\n\t var BoundTextAst = (function () {\n\t function BoundTextAst(value, ngContentIndex, sourceSpan) {\n\t this.value = value;\n\t this.ngContentIndex = ngContentIndex;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t BoundTextAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitBoundText(this, context);\n\t };\n\t return BoundTextAst;\n\t }());\n\t /**\n\t * A plain attribute on an element.\n\t */\n\t var AttrAst = (function () {\n\t function AttrAst(name, value, sourceSpan) {\n\t this.name = name;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\n\t return AttrAst;\n\t }());\n\t /**\n\t * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n\t * `[@trigger]=\"stateExp\"`)\n\t */\n\t var BoundElementPropertyAst = (function () {\n\t function BoundElementPropertyAst(name, type, securityContext, needsRuntimeSecurityContext, value, unit, sourceSpan) {\n\t this.name = name;\n\t this.type = type;\n\t this.securityContext = securityContext;\n\t this.needsRuntimeSecurityContext = needsRuntimeSecurityContext;\n\t this.value = value;\n\t this.unit = unit;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t BoundElementPropertyAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitElementProperty(this, context);\n\t };\n\t Object.defineProperty(BoundElementPropertyAst.prototype, \"isAnimation\", {\n\t get: function () { return this.type === exports.PropertyBindingType.Animation; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return BoundElementPropertyAst;\n\t }());\n\t /**\n\t * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n\t * `(@trigger.phase)=\"callback($event)\"`).\n\t */\n\t var BoundEventAst = (function () {\n\t function BoundEventAst(name, target, phase, handler, sourceSpan) {\n\t this.name = name;\n\t this.target = target;\n\t this.phase = phase;\n\t this.handler = handler;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t BoundEventAst.calcFullName = function (name, target, phase) {\n\t if (target) {\n\t return target + \":\" + name;\n\t }\n\t else if (phase) {\n\t return \"@\" + name + \".\" + phase;\n\t }\n\t else {\n\t return name;\n\t }\n\t };\n\t BoundEventAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitEvent(this, context);\n\t };\n\t Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\n\t get: function () { return BoundEventAst.calcFullName(this.name, this.target, this.phase); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BoundEventAst.prototype, \"isAnimation\", {\n\t get: function () { return !!this.phase; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return BoundEventAst;\n\t }());\n\t /**\n\t * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n\t */\n\t var ReferenceAst = (function () {\n\t function ReferenceAst(name, value, sourceSpan) {\n\t this.name = name;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t ReferenceAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitReference(this, context);\n\t };\n\t return ReferenceAst;\n\t }());\n\t /**\n\t * A variable declaration on a <template> (e.g. `var-someName=\"someLocalName\"`).\n\t */\n\t var VariableAst = (function () {\n\t function VariableAst(name, value, sourceSpan) {\n\t this.name = name;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t VariableAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitVariable(this, context);\n\t };\n\t return VariableAst;\n\t }());\n\t /**\n\t * An element declaration in a template.\n\t */\n\t var ElementAst = (function () {\n\t function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan, endSourceSpan) {\n\t this.name = name;\n\t this.attrs = attrs;\n\t this.inputs = inputs;\n\t this.outputs = outputs;\n\t this.references = references;\n\t this.directives = directives;\n\t this.providers = providers;\n\t this.hasViewContainer = hasViewContainer;\n\t this.children = children;\n\t this.ngContentIndex = ngContentIndex;\n\t this.sourceSpan = sourceSpan;\n\t this.endSourceSpan = endSourceSpan;\n\t }\n\t ElementAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitElement(this, context);\n\t };\n\t return ElementAst;\n\t }());\n\t /**\n\t * A `<template>` element included in an Angular template.\n\t */\n\t var EmbeddedTemplateAst = (function () {\n\t function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\n\t this.attrs = attrs;\n\t this.outputs = outputs;\n\t this.references = references;\n\t this.variables = variables;\n\t this.directives = directives;\n\t this.providers = providers;\n\t this.hasViewContainer = hasViewContainer;\n\t this.children = children;\n\t this.ngContentIndex = ngContentIndex;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t EmbeddedTemplateAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitEmbeddedTemplate(this, context);\n\t };\n\t return EmbeddedTemplateAst;\n\t }());\n\t /**\n\t * A directive property with a bound value (e.g. `*ngIf=\"condition\").\n\t */\n\t var BoundDirectivePropertyAst = (function () {\n\t function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\n\t this.directiveName = directiveName;\n\t this.templateName = templateName;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t BoundDirectivePropertyAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitDirectiveProperty(this, context);\n\t };\n\t return BoundDirectivePropertyAst;\n\t }());\n\t /**\n\t * A directive declared on an element.\n\t */\n\t var DirectiveAst = (function () {\n\t function DirectiveAst(directive, inputs, hostProperties, hostEvents, sourceSpan) {\n\t this.directive = directive;\n\t this.inputs = inputs;\n\t this.hostProperties = hostProperties;\n\t this.hostEvents = hostEvents;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t DirectiveAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitDirective(this, context);\n\t };\n\t return DirectiveAst;\n\t }());\n\t /**\n\t * A provider declared on an element\n\t */\n\t var ProviderAst = (function () {\n\t function ProviderAst(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan) {\n\t this.token = token;\n\t this.multiProvider = multiProvider;\n\t this.eager = eager;\n\t this.providers = providers;\n\t this.providerType = providerType;\n\t this.lifecycleHooks = lifecycleHooks;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t ProviderAst.prototype.visit = function (visitor, context) {\n\t // No visit method in the visitor for now...\n\t return null;\n\t };\n\t return ProviderAst;\n\t }());\n\t exports.ProviderAstType;\n\t (function (ProviderAstType) {\n\t ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n\t ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n\t ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n\t ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n\t ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n\t })(exports.ProviderAstType || (exports.ProviderAstType = {}));\n\t /**\n\t * Position where content is to be projected (instance of `<ng-content>` in a template).\n\t */\n\t var NgContentAst = (function () {\n\t function NgContentAst(index, ngContentIndex, sourceSpan) {\n\t this.index = index;\n\t this.ngContentIndex = ngContentIndex;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t NgContentAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitNgContent(this, context);\n\t };\n\t return NgContentAst;\n\t }());\n\t /**\n\t * Enumeration of types of property bindings.\n\t */\n\t exports.PropertyBindingType;\n\t (function (PropertyBindingType) {\n\t /**\n\t * A normal binding to a property (e.g. `[property]=\"expression\"`).\n\t */\n\t PropertyBindingType[PropertyBindingType[\"Property\"] = 0] = \"Property\";\n\t /**\n\t * A binding to an element attribute (e.g. `[attr.name]=\"expression\"`).\n\t */\n\t PropertyBindingType[PropertyBindingType[\"Attribute\"] = 1] = \"Attribute\";\n\t /**\n\t * A binding to a CSS class (e.g. `[class.name]=\"condition\"`).\n\t */\n\t PropertyBindingType[PropertyBindingType[\"Class\"] = 2] = \"Class\";\n\t /**\n\t * A binding to a style rule (e.g. `[style.rule]=\"expression\"`).\n\t */\n\t PropertyBindingType[PropertyBindingType[\"Style\"] = 3] = \"Style\";\n\t /**\n\t * A binding to an animation reference (e.g. `[animate.key]=\"expression\"`).\n\t */\n\t PropertyBindingType[PropertyBindingType[\"Animation\"] = 4] = \"Animation\";\n\t })(exports.PropertyBindingType || (exports.PropertyBindingType = {}));\n\t /**\n\t * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\n\t */\n\t function templateVisitAll(visitor, asts, context) {\n\t if (context === void 0) { context = null; }\n\t var result = [];\n\t var visit = visitor.visit ?\n\t function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n\t function (ast) { return ast.visit(visitor, context); };\n\t asts.forEach(function (ast) {\n\t var astResult = visit(ast);\n\t if (astResult) {\n\t result.push(astResult);\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var $EOF = 0;\n\t var $TAB = 9;\n\t var $LF = 10;\n\t var $VTAB = 11;\n\t var $FF = 12;\n\t var $CR = 13;\n\t var $SPACE = 32;\n\t var $BANG = 33;\n\t var $DQ = 34;\n\t var $HASH = 35;\n\t var $$ = 36;\n\t var $PERCENT = 37;\n\t var $AMPERSAND = 38;\n\t var $SQ = 39;\n\t var $LPAREN = 40;\n\t var $RPAREN = 41;\n\t var $STAR = 42;\n\t var $PLUS = 43;\n\t var $COMMA = 44;\n\t var $MINUS = 45;\n\t var $PERIOD = 46;\n\t var $SLASH = 47;\n\t var $COLON = 58;\n\t var $SEMICOLON = 59;\n\t var $LT = 60;\n\t var $EQ = 61;\n\t var $GT = 62;\n\t var $QUESTION = 63;\n\t var $0 = 48;\n\t var $9 = 57;\n\t var $A = 65;\n\t var $E = 69;\n\t var $F = 70;\n\t var $X = 88;\n\t var $Z = 90;\n\t var $LBRACKET = 91;\n\t var $BACKSLASH = 92;\n\t var $RBRACKET = 93;\n\t var $CARET = 94;\n\t var $_ = 95;\n\t var $a = 97;\n\t var $e = 101;\n\t var $f = 102;\n\t var $n = 110;\n\t var $r = 114;\n\t var $t = 116;\n\t var $u = 117;\n\t var $v = 118;\n\t var $x = 120;\n\t var $z = 122;\n\t var $LBRACE = 123;\n\t var $BAR = 124;\n\t var $RBRACE = 125;\n\t var $NBSP = 160;\n\t var $BT = 96;\n\t function isWhitespace(code) {\n\t return (code >= $TAB && code <= $SPACE) || (code == $NBSP);\n\t }\n\t function isDigit(code) {\n\t return $0 <= code && code <= $9;\n\t }\n\t function isAsciiLetter(code) {\n\t return code >= $a && code <= $z || code >= $A && code <= $Z;\n\t }\n\t function isAsciiHexDigit(code) {\n\t return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);\n\t }\n\t\n\t function isPresent(obj) {\n\t return obj != null;\n\t }\n\t function isBlank(obj) {\n\t return obj == null;\n\t }\n\t var STRING_MAP_PROTO = Object.getPrototypeOf({});\n\t function isStrictStringMap(obj) {\n\t return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n\t }\n\t function stringify(token) {\n\t if (typeof token === 'string') {\n\t return token;\n\t }\n\t if (token == null) {\n\t return '' + token;\n\t }\n\t if (token.overriddenName) {\n\t return token.overriddenName;\n\t }\n\t if (token.name) {\n\t return token.name;\n\t }\n\t var res = token.toString();\n\t var newLineIndex = res.indexOf('\\n');\n\t return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n\t }\n\t var NumberWrapper = (function () {\n\t function NumberWrapper() {\n\t }\n\t NumberWrapper.parseIntAutoRadix = function (text) {\n\t var result = parseInt(text);\n\t if (isNaN(result)) {\n\t throw new Error('Invalid integer literal when parsing ' + text);\n\t }\n\t return result;\n\t };\n\t NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n\t return NumberWrapper;\n\t }());\n\t function isJsObject(o) {\n\t return o !== null && (typeof o === 'function' || typeof o === 'object');\n\t }\n\t function isPrimitive(obj) {\n\t return !isJsObject(obj);\n\t }\n\t function escapeRegExp(s) {\n\t return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n\t }\n\t\n\t function assertArrayOfStrings(identifier, value) {\n\t if (!_angular_core.isDevMode() || isBlank(value)) {\n\t return;\n\t }\n\t if (!Array.isArray(value)) {\n\t throw new Error(\"Expected '\" + identifier + \"' to be an array of strings.\");\n\t }\n\t for (var i = 0; i < value.length; i += 1) {\n\t if (typeof value[i] !== 'string') {\n\t throw new Error(\"Expected '\" + identifier + \"' to be an array of strings.\");\n\t }\n\t }\n\t }\n\t var INTERPOLATION_BLACKLIST_REGEXPS = [\n\t /^\\s*$/,\n\t /[<>]/,\n\t /^[{}]$/,\n\t /&(#|[a-z])/i,\n\t /^\\/\\//,\n\t ];\n\t function assertInterpolationSymbols(identifier, value) {\n\t if (isPresent(value) && !(Array.isArray(value) && value.length == 2)) {\n\t throw new Error(\"Expected '\" + identifier + \"' to be an array, [start, end].\");\n\t }\n\t else if (_angular_core.isDevMode() && !isBlank(value)) {\n\t var start_1 = value[0];\n\t var end_1 = value[1];\n\t // black list checking\n\t INTERPOLATION_BLACKLIST_REGEXPS.forEach(function (regexp) {\n\t if (regexp.test(start_1) || regexp.test(end_1)) {\n\t throw new Error(\"['\" + start_1 + \"', '\" + end_1 + \"'] contains unusable interpolation symbol.\");\n\t }\n\t });\n\t }\n\t }\n\t\n\t var InterpolationConfig = (function () {\n\t function InterpolationConfig(start, end) {\n\t this.start = start;\n\t this.end = end;\n\t }\n\t InterpolationConfig.fromArray = function (markers) {\n\t if (!markers) {\n\t return DEFAULT_INTERPOLATION_CONFIG;\n\t }\n\t assertInterpolationSymbols('interpolation', markers);\n\t return new InterpolationConfig(markers[0], markers[1]);\n\t };\n\t ;\n\t return InterpolationConfig;\n\t }());\n\t var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var ParserError = (function () {\n\t function ParserError(message, input, errLocation, ctxLocation) {\n\t this.input = input;\n\t this.errLocation = errLocation;\n\t this.ctxLocation = ctxLocation;\n\t this.message = \"Parser Error: \" + message + \" \" + errLocation + \" [\" + input + \"] in \" + ctxLocation;\n\t }\n\t return ParserError;\n\t }());\n\t var ParseSpan = (function () {\n\t function ParseSpan(start, end) {\n\t this.start = start;\n\t this.end = end;\n\t }\n\t return ParseSpan;\n\t }());\n\t var AST = (function () {\n\t function AST(span) {\n\t this.span = span;\n\t }\n\t AST.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return null;\n\t };\n\t AST.prototype.toString = function () { return 'AST'; };\n\t return AST;\n\t }());\n\t /**\n\t * Represents a quoted expression of the form:\n\t *\n\t * quote = prefix `:` uninterpretedExpression\n\t * prefix = identifier\n\t * uninterpretedExpression = arbitrary string\n\t *\n\t * A quoted expression is meant to be pre-processed by an AST transformer that\n\t * converts it into another AST that no longer contains quoted expressions.\n\t * It is meant to allow third-party developers to extend Angular template\n\t * expression language. The `uninterpretedExpression` part of the quote is\n\t * therefore not interpreted by the Angular's own expression parser.\n\t */\n\t var Quote = (function (_super) {\n\t __extends$1(Quote, _super);\n\t function Quote(span, prefix, uninterpretedExpression, location) {\n\t _super.call(this, span);\n\t this.prefix = prefix;\n\t this.uninterpretedExpression = uninterpretedExpression;\n\t this.location = location;\n\t }\n\t Quote.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitQuote(this, context);\n\t };\n\t Quote.prototype.toString = function () { return 'Quote'; };\n\t return Quote;\n\t }(AST));\n\t var EmptyExpr = (function (_super) {\n\t __extends$1(EmptyExpr, _super);\n\t function EmptyExpr() {\n\t _super.apply(this, arguments);\n\t }\n\t EmptyExpr.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t // do nothing\n\t };\n\t return EmptyExpr;\n\t }(AST));\n\t var ImplicitReceiver = (function (_super) {\n\t __extends$1(ImplicitReceiver, _super);\n\t function ImplicitReceiver() {\n\t _super.apply(this, arguments);\n\t }\n\t ImplicitReceiver.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitImplicitReceiver(this, context);\n\t };\n\t return ImplicitReceiver;\n\t }(AST));\n\t /**\n\t * Multiple expressions separated by a semicolon.\n\t */\n\t var Chain = (function (_super) {\n\t __extends$1(Chain, _super);\n\t function Chain(span, expressions) {\n\t _super.call(this, span);\n\t this.expressions = expressions;\n\t }\n\t Chain.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitChain(this, context);\n\t };\n\t return Chain;\n\t }(AST));\n\t var Conditional = (function (_super) {\n\t __extends$1(Conditional, _super);\n\t function Conditional(span, condition, trueExp, falseExp) {\n\t _super.call(this, span);\n\t this.condition = condition;\n\t this.trueExp = trueExp;\n\t this.falseExp = falseExp;\n\t }\n\t Conditional.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitConditional(this, context);\n\t };\n\t return Conditional;\n\t }(AST));\n\t var PropertyRead = (function (_super) {\n\t __extends$1(PropertyRead, _super);\n\t function PropertyRead(span, receiver, name) {\n\t _super.call(this, span);\n\t this.receiver = receiver;\n\t this.name = name;\n\t }\n\t PropertyRead.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitPropertyRead(this, context);\n\t };\n\t return PropertyRead;\n\t }(AST));\n\t var PropertyWrite = (function (_super) {\n\t __extends$1(PropertyWrite, _super);\n\t function PropertyWrite(span, receiver, name, value) {\n\t _super.call(this, span);\n\t this.receiver = receiver;\n\t this.name = name;\n\t this.value = value;\n\t }\n\t PropertyWrite.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitPropertyWrite(this, context);\n\t };\n\t return PropertyWrite;\n\t }(AST));\n\t var SafePropertyRead = (function (_super) {\n\t __extends$1(SafePropertyRead, _super);\n\t function SafePropertyRead(span, receiver, name) {\n\t _super.call(this, span);\n\t this.receiver = receiver;\n\t this.name = name;\n\t }\n\t SafePropertyRead.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitSafePropertyRead(this, context);\n\t };\n\t return SafePropertyRead;\n\t }(AST));\n\t var KeyedRead = (function (_super) {\n\t __extends$1(KeyedRead, _super);\n\t function KeyedRead(span, obj, key) {\n\t _super.call(this, span);\n\t this.obj = obj;\n\t this.key = key;\n\t }\n\t KeyedRead.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitKeyedRead(this, context);\n\t };\n\t return KeyedRead;\n\t }(AST));\n\t var KeyedWrite = (function (_super) {\n\t __extends$1(KeyedWrite, _super);\n\t function KeyedWrite(span, obj, key, value) {\n\t _super.call(this, span);\n\t this.obj = obj;\n\t this.key = key;\n\t this.value = value;\n\t }\n\t KeyedWrite.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitKeyedWrite(this, context);\n\t };\n\t return KeyedWrite;\n\t }(AST));\n\t var BindingPipe = (function (_super) {\n\t __extends$1(BindingPipe, _super);\n\t function BindingPipe(span, exp, name, args) {\n\t _super.call(this, span);\n\t this.exp = exp;\n\t this.name = name;\n\t this.args = args;\n\t }\n\t BindingPipe.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitPipe(this, context);\n\t };\n\t return BindingPipe;\n\t }(AST));\n\t var LiteralPrimitive = (function (_super) {\n\t __extends$1(LiteralPrimitive, _super);\n\t function LiteralPrimitive(span, value) {\n\t _super.call(this, span);\n\t this.value = value;\n\t }\n\t LiteralPrimitive.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitLiteralPrimitive(this, context);\n\t };\n\t return LiteralPrimitive;\n\t }(AST));\n\t var LiteralArray = (function (_super) {\n\t __extends$1(LiteralArray, _super);\n\t function LiteralArray(span, expressions) {\n\t _super.call(this, span);\n\t this.expressions = expressions;\n\t }\n\t LiteralArray.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitLiteralArray(this, context);\n\t };\n\t return LiteralArray;\n\t }(AST));\n\t var LiteralMap = (function (_super) {\n\t __extends$1(LiteralMap, _super);\n\t function LiteralMap(span, keys, values) {\n\t _super.call(this, span);\n\t this.keys = keys;\n\t this.values = values;\n\t }\n\t LiteralMap.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitLiteralMap(this, context);\n\t };\n\t return LiteralMap;\n\t }(AST));\n\t var Interpolation = (function (_super) {\n\t __extends$1(Interpolation, _super);\n\t function Interpolation(span, strings, expressions) {\n\t _super.call(this, span);\n\t this.strings = strings;\n\t this.expressions = expressions;\n\t }\n\t Interpolation.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitInterpolation(this, context);\n\t };\n\t return Interpolation;\n\t }(AST));\n\t var Binary = (function (_super) {\n\t __extends$1(Binary, _super);\n\t function Binary(span, operation, left, right) {\n\t _super.call(this, span);\n\t this.operation = operation;\n\t this.left = left;\n\t this.right = right;\n\t }\n\t Binary.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitBinary(this, context);\n\t };\n\t return Binary;\n\t }(AST));\n\t var PrefixNot = (function (_super) {\n\t __extends$1(PrefixNot, _super);\n\t function PrefixNot(span, expression) {\n\t _super.call(this, span);\n\t this.expression = expression;\n\t }\n\t PrefixNot.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitPrefixNot(this, context);\n\t };\n\t return PrefixNot;\n\t }(AST));\n\t var MethodCall = (function (_super) {\n\t __extends$1(MethodCall, _super);\n\t function MethodCall(span, receiver, name, args) {\n\t _super.call(this, span);\n\t this.receiver = receiver;\n\t this.name = name;\n\t this.args = args;\n\t }\n\t MethodCall.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitMethodCall(this, context);\n\t };\n\t return MethodCall;\n\t }(AST));\n\t var SafeMethodCall = (function (_super) {\n\t __extends$1(SafeMethodCall, _super);\n\t function SafeMethodCall(span, receiver, name, args) {\n\t _super.call(this, span);\n\t this.receiver = receiver;\n\t this.name = name;\n\t this.args = args;\n\t }\n\t SafeMethodCall.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitSafeMethodCall(this, context);\n\t };\n\t return SafeMethodCall;\n\t }(AST));\n\t var FunctionCall = (function (_super) {\n\t __extends$1(FunctionCall, _super);\n\t function FunctionCall(span, target, args) {\n\t _super.call(this, span);\n\t this.target = target;\n\t this.args = args;\n\t }\n\t FunctionCall.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return visitor.visitFunctionCall(this, context);\n\t };\n\t return FunctionCall;\n\t }(AST));\n\t var ASTWithSource = (function (_super) {\n\t __extends$1(ASTWithSource, _super);\n\t function ASTWithSource(ast, source, location, errors) {\n\t _super.call(this, new ParseSpan(0, isBlank(source) ? 0 : source.length));\n\t this.ast = ast;\n\t this.source = source;\n\t this.location = location;\n\t this.errors = errors;\n\t }\n\t ASTWithSource.prototype.visit = function (visitor, context) {\n\t if (context === void 0) { context = null; }\n\t return this.ast.visit(visitor, context);\n\t };\n\t ASTWithSource.prototype.toString = function () { return this.source + \" in \" + this.location; };\n\t return ASTWithSource;\n\t }(AST));\n\t var TemplateBinding = (function () {\n\t function TemplateBinding(span, key, keyIsVar, name, expression) {\n\t this.span = span;\n\t this.key = key;\n\t this.keyIsVar = keyIsVar;\n\t this.name = name;\n\t this.expression = expression;\n\t }\n\t return TemplateBinding;\n\t }());\n\t var RecursiveAstVisitor = (function () {\n\t function RecursiveAstVisitor() {\n\t }\n\t RecursiveAstVisitor.prototype.visitBinary = function (ast, context) {\n\t ast.left.visit(this);\n\t ast.right.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitChain = function (ast, context) { return this.visitAll(ast.expressions, context); };\n\t RecursiveAstVisitor.prototype.visitConditional = function (ast, context) {\n\t ast.condition.visit(this);\n\t ast.trueExp.visit(this);\n\t ast.falseExp.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitPipe = function (ast, context) {\n\t ast.exp.visit(this);\n\t this.visitAll(ast.args, context);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitFunctionCall = function (ast, context) {\n\t ast.target.visit(this);\n\t this.visitAll(ast.args, context);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitImplicitReceiver = function (ast, context) { return null; };\n\t RecursiveAstVisitor.prototype.visitInterpolation = function (ast, context) {\n\t return this.visitAll(ast.expressions, context);\n\t };\n\t RecursiveAstVisitor.prototype.visitKeyedRead = function (ast, context) {\n\t ast.obj.visit(this);\n\t ast.key.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitKeyedWrite = function (ast, context) {\n\t ast.obj.visit(this);\n\t ast.key.visit(this);\n\t ast.value.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitLiteralArray = function (ast, context) {\n\t return this.visitAll(ast.expressions, context);\n\t };\n\t RecursiveAstVisitor.prototype.visitLiteralMap = function (ast, context) { return this.visitAll(ast.values, context); };\n\t RecursiveAstVisitor.prototype.visitLiteralPrimitive = function (ast, context) { return null; };\n\t RecursiveAstVisitor.prototype.visitMethodCall = function (ast, context) {\n\t ast.receiver.visit(this);\n\t return this.visitAll(ast.args, context);\n\t };\n\t RecursiveAstVisitor.prototype.visitPrefixNot = function (ast, context) {\n\t ast.expression.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitPropertyRead = function (ast, context) {\n\t ast.receiver.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitPropertyWrite = function (ast, context) {\n\t ast.receiver.visit(this);\n\t ast.value.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitSafePropertyRead = function (ast, context) {\n\t ast.receiver.visit(this);\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitSafeMethodCall = function (ast, context) {\n\t ast.receiver.visit(this);\n\t return this.visitAll(ast.args, context);\n\t };\n\t RecursiveAstVisitor.prototype.visitAll = function (asts, context) {\n\t var _this = this;\n\t asts.forEach(function (ast) { return ast.visit(_this, context); });\n\t return null;\n\t };\n\t RecursiveAstVisitor.prototype.visitQuote = function (ast, context) { return null; };\n\t return RecursiveAstVisitor;\n\t }());\n\t\n\t exports.TokenType;\n\t (function (TokenType) {\n\t TokenType[TokenType[\"Character\"] = 0] = \"Character\";\n\t TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\n\t TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\n\t TokenType[TokenType[\"String\"] = 3] = \"String\";\n\t TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\n\t TokenType[TokenType[\"Number\"] = 5] = \"Number\";\n\t TokenType[TokenType[\"Error\"] = 6] = \"Error\";\n\t })(exports.TokenType || (exports.TokenType = {}));\n\t var KEYWORDS = ['var', 'let', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];\n\t var Lexer = (function () {\n\t function Lexer() {\n\t }\n\t Lexer.prototype.tokenize = function (text) {\n\t var scanner = new _Scanner(text);\n\t var tokens = [];\n\t var token = scanner.scanToken();\n\t while (token != null) {\n\t tokens.push(token);\n\t token = scanner.scanToken();\n\t }\n\t return tokens;\n\t };\n\t Lexer.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t Lexer.ctorParameters = [];\n\t return Lexer;\n\t }());\n\t var Token = (function () {\n\t function Token(index, type, numValue, strValue) {\n\t this.index = index;\n\t this.type = type;\n\t this.numValue = numValue;\n\t this.strValue = strValue;\n\t }\n\t Token.prototype.isCharacter = function (code) {\n\t return this.type == exports.TokenType.Character && this.numValue == code;\n\t };\n\t Token.prototype.isNumber = function () { return this.type == exports.TokenType.Number; };\n\t Token.prototype.isString = function () { return this.type == exports.TokenType.String; };\n\t Token.prototype.isOperator = function (operater) {\n\t return this.type == exports.TokenType.Operator && this.strValue == operater;\n\t };\n\t Token.prototype.isIdentifier = function () { return this.type == exports.TokenType.Identifier; };\n\t Token.prototype.isKeyword = function () { return this.type == exports.TokenType.Keyword; };\n\t Token.prototype.isKeywordLet = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'let'; };\n\t Token.prototype.isKeywordNull = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'null'; };\n\t Token.prototype.isKeywordUndefined = function () {\n\t return this.type == exports.TokenType.Keyword && this.strValue == 'undefined';\n\t };\n\t Token.prototype.isKeywordTrue = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'true'; };\n\t Token.prototype.isKeywordFalse = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'false'; };\n\t Token.prototype.isKeywordThis = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'this'; };\n\t Token.prototype.isError = function () { return this.type == exports.TokenType.Error; };\n\t Token.prototype.toNumber = function () { return this.type == exports.TokenType.Number ? this.numValue : -1; };\n\t Token.prototype.toString = function () {\n\t switch (this.type) {\n\t case exports.TokenType.Character:\n\t case exports.TokenType.Identifier:\n\t case exports.TokenType.Keyword:\n\t case exports.TokenType.Operator:\n\t case exports.TokenType.String:\n\t case exports.TokenType.Error:\n\t return this.strValue;\n\t case exports.TokenType.Number:\n\t return this.numValue.toString();\n\t default:\n\t return null;\n\t }\n\t };\n\t return Token;\n\t }());\n\t function newCharacterToken(index, code) {\n\t return new Token(index, exports.TokenType.Character, code, String.fromCharCode(code));\n\t }\n\t function newIdentifierToken(index, text) {\n\t return new Token(index, exports.TokenType.Identifier, 0, text);\n\t }\n\t function newKeywordToken(index, text) {\n\t return new Token(index, exports.TokenType.Keyword, 0, text);\n\t }\n\t function newOperatorToken(index, text) {\n\t return new Token(index, exports.TokenType.Operator, 0, text);\n\t }\n\t function newStringToken(index, text) {\n\t return new Token(index, exports.TokenType.String, 0, text);\n\t }\n\t function newNumberToken(index, n) {\n\t return new Token(index, exports.TokenType.Number, n, '');\n\t }\n\t function newErrorToken(index, message) {\n\t return new Token(index, exports.TokenType.Error, 0, message);\n\t }\n\t var EOF = new Token(-1, exports.TokenType.Character, 0, '');\n\t var _Scanner = (function () {\n\t function _Scanner(input) {\n\t this.input = input;\n\t this.peek = 0;\n\t this.index = -1;\n\t this.length = input.length;\n\t this.advance();\n\t }\n\t _Scanner.prototype.advance = function () {\n\t this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);\n\t };\n\t _Scanner.prototype.scanToken = function () {\n\t var input = this.input, length = this.length;\n\t var peek = this.peek, index = this.index;\n\t // Skip whitespace.\n\t while (peek <= $SPACE) {\n\t if (++index >= length) {\n\t peek = $EOF;\n\t break;\n\t }\n\t else {\n\t peek = input.charCodeAt(index);\n\t }\n\t }\n\t this.peek = peek;\n\t this.index = index;\n\t if (index >= length) {\n\t return null;\n\t }\n\t // Handle identifiers and numbers.\n\t if (isIdentifierStart(peek))\n\t return this.scanIdentifier();\n\t if (isDigit(peek))\n\t return this.scanNumber(index);\n\t var start = index;\n\t switch (peek) {\n\t case $PERIOD:\n\t this.advance();\n\t return isDigit(this.peek) ? this.scanNumber(start) :\n\t newCharacterToken(start, $PERIOD);\n\t case $LPAREN:\n\t case $RPAREN:\n\t case $LBRACE:\n\t case $RBRACE:\n\t case $LBRACKET:\n\t case $RBRACKET:\n\t case $COMMA:\n\t case $COLON:\n\t case $SEMICOLON:\n\t return this.scanCharacter(start, peek);\n\t case $SQ:\n\t case $DQ:\n\t return this.scanString();\n\t case $HASH:\n\t case $PLUS:\n\t case $MINUS:\n\t case $STAR:\n\t case $SLASH:\n\t case $PERCENT:\n\t case $CARET:\n\t return this.scanOperator(start, String.fromCharCode(peek));\n\t case $QUESTION:\n\t return this.scanComplexOperator(start, '?', $PERIOD, '.');\n\t case $LT:\n\t case $GT:\n\t return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');\n\t case $BANG:\n\t case $EQ:\n\t return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');\n\t case $AMPERSAND:\n\t return this.scanComplexOperator(start, '&', $AMPERSAND, '&');\n\t case $BAR:\n\t return this.scanComplexOperator(start, '|', $BAR, '|');\n\t case $NBSP:\n\t while (isWhitespace(this.peek))\n\t this.advance();\n\t return this.scanToken();\n\t }\n\t this.advance();\n\t return this.error(\"Unexpected character [\" + String.fromCharCode(peek) + \"]\", 0);\n\t };\n\t _Scanner.prototype.scanCharacter = function (start, code) {\n\t this.advance();\n\t return newCharacterToken(start, code);\n\t };\n\t _Scanner.prototype.scanOperator = function (start, str) {\n\t this.advance();\n\t return newOperatorToken(start, str);\n\t };\n\t /**\n\t * Tokenize a 2/3 char long operator\n\t *\n\t * @param start start index in the expression\n\t * @param one first symbol (always part of the operator)\n\t * @param twoCode code point for the second symbol\n\t * @param two second symbol (part of the operator when the second code point matches)\n\t * @param threeCode code point for the third symbol\n\t * @param three third symbol (part of the operator when provided and matches source expression)\n\t * @returns {Token}\n\t */\n\t _Scanner.prototype.scanComplexOperator = function (start, one, twoCode, two, threeCode, three) {\n\t this.advance();\n\t var str = one;\n\t if (this.peek == twoCode) {\n\t this.advance();\n\t str += two;\n\t }\n\t if (isPresent(threeCode) && this.peek == threeCode) {\n\t this.advance();\n\t str += three;\n\t }\n\t return newOperatorToken(start, str);\n\t };\n\t _Scanner.prototype.scanIdentifier = function () {\n\t var start = this.index;\n\t this.advance();\n\t while (isIdentifierPart(this.peek))\n\t this.advance();\n\t var str = this.input.substring(start, this.index);\n\t return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, str) :\n\t newIdentifierToken(start, str);\n\t };\n\t _Scanner.prototype.scanNumber = function (start) {\n\t var simple = (this.index === start);\n\t this.advance(); // Skip initial digit.\n\t while (true) {\n\t if (isDigit(this.peek)) {\n\t }\n\t else if (this.peek == $PERIOD) {\n\t simple = false;\n\t }\n\t else if (isExponentStart(this.peek)) {\n\t this.advance();\n\t if (isExponentSign(this.peek))\n\t this.advance();\n\t if (!isDigit(this.peek))\n\t return this.error('Invalid exponent', -1);\n\t simple = false;\n\t }\n\t else {\n\t break;\n\t }\n\t this.advance();\n\t }\n\t var str = this.input.substring(start, this.index);\n\t var value = simple ? NumberWrapper.parseIntAutoRadix(str) : parseFloat(str);\n\t return newNumberToken(start, value);\n\t };\n\t _Scanner.prototype.scanString = function () {\n\t var start = this.index;\n\t var quote = this.peek;\n\t this.advance(); // Skip initial quote.\n\t var buffer = '';\n\t var marker = this.index;\n\t var input = this.input;\n\t while (this.peek != quote) {\n\t if (this.peek == $BACKSLASH) {\n\t buffer += input.substring(marker, this.index);\n\t this.advance();\n\t var unescapedCode = void 0;\n\t if (this.peek == $u) {\n\t // 4 character hex code for unicode character.\n\t var hex = input.substring(this.index + 1, this.index + 5);\n\t if (/^[0-9a-f]+$/i.test(hex)) {\n\t unescapedCode = parseInt(hex, 16);\n\t }\n\t else {\n\t return this.error(\"Invalid unicode escape [\\\\u\" + hex + \"]\", 0);\n\t }\n\t for (var i = 0; i < 5; i++) {\n\t this.advance();\n\t }\n\t }\n\t else {\n\t unescapedCode = unescape(this.peek);\n\t this.advance();\n\t }\n\t buffer += String.fromCharCode(unescapedCode);\n\t marker = this.index;\n\t }\n\t else if (this.peek == $EOF) {\n\t return this.error('Unterminated quote', 0);\n\t }\n\t else {\n\t this.advance();\n\t }\n\t }\n\t var last = input.substring(marker, this.index);\n\t this.advance(); // Skip terminating quote.\n\t return newStringToken(start, buffer + last);\n\t };\n\t _Scanner.prototype.error = function (message, offset) {\n\t var position = this.index + offset;\n\t return newErrorToken(position, \"Lexer Error: \" + message + \" at column \" + position + \" in expression [\" + this.input + \"]\");\n\t };\n\t return _Scanner;\n\t }());\n\t function isIdentifierStart(code) {\n\t return ($a <= code && code <= $z) || ($A <= code && code <= $Z) ||\n\t (code == $_) || (code == $$);\n\t }\n\t function isIdentifier(input) {\n\t if (input.length == 0)\n\t return false;\n\t var scanner = new _Scanner(input);\n\t if (!isIdentifierStart(scanner.peek))\n\t return false;\n\t scanner.advance();\n\t while (scanner.peek !== $EOF) {\n\t if (!isIdentifierPart(scanner.peek))\n\t return false;\n\t scanner.advance();\n\t }\n\t return true;\n\t }\n\t function isIdentifierPart(code) {\n\t return isAsciiLetter(code) || isDigit(code) || (code == $_) ||\n\t (code == $$);\n\t }\n\t function isExponentStart(code) {\n\t return code == $e || code == $E;\n\t }\n\t function isExponentSign(code) {\n\t return code == $MINUS || code == $PLUS;\n\t }\n\t function isQuote(code) {\n\t return code === $SQ || code === $DQ || code === $BT;\n\t }\n\t function unescape(code) {\n\t switch (code) {\n\t case $n:\n\t return $LF;\n\t case $f:\n\t return $FF;\n\t case $r:\n\t return $CR;\n\t case $t:\n\t return $TAB;\n\t case $v:\n\t return $VTAB;\n\t default:\n\t return code;\n\t }\n\t }\n\t\n\t var SplitInterpolation = (function () {\n\t function SplitInterpolation(strings, expressions, offsets) {\n\t this.strings = strings;\n\t this.expressions = expressions;\n\t this.offsets = offsets;\n\t }\n\t return SplitInterpolation;\n\t }());\n\t var TemplateBindingParseResult = (function () {\n\t function TemplateBindingParseResult(templateBindings, warnings, errors) {\n\t this.templateBindings = templateBindings;\n\t this.warnings = warnings;\n\t this.errors = errors;\n\t }\n\t return TemplateBindingParseResult;\n\t }());\n\t function _createInterpolateRegExp(config) {\n\t var pattern = escapeRegExp(config.start) + '([\\\\s\\\\S]*?)' + escapeRegExp(config.end);\n\t return new RegExp(pattern, 'g');\n\t }\n\t var Parser = (function () {\n\t function Parser(_lexer) {\n\t this._lexer = _lexer;\n\t this.errors = [];\n\t }\n\t Parser.prototype.parseAction = function (input, location, interpolationConfig) {\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t this._checkNoInterpolation(input, location, interpolationConfig);\n\t var sourceToLex = this._stripComments(input);\n\t var tokens = this._lexer.tokenize(this._stripComments(input));\n\t var ast = new _ParseAST(input, location, tokens, sourceToLex.length, true, this.errors, input.length - sourceToLex.length)\n\t .parseChain();\n\t return new ASTWithSource(ast, input, location, this.errors);\n\t };\n\t Parser.prototype.parseBinding = function (input, location, interpolationConfig) {\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var ast = this._parseBindingAst(input, location, interpolationConfig);\n\t return new ASTWithSource(ast, input, location, this.errors);\n\t };\n\t Parser.prototype.parseSimpleBinding = function (input, location, interpolationConfig) {\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var ast = this._parseBindingAst(input, location, interpolationConfig);\n\t var errors = SimpleExpressionChecker.check(ast);\n\t if (errors.length > 0) {\n\t this._reportError(\"Host binding expression cannot contain \" + errors.join(' '), input, location);\n\t }\n\t return new ASTWithSource(ast, input, location, this.errors);\n\t };\n\t Parser.prototype._reportError = function (message, input, errLocation, ctxLocation) {\n\t this.errors.push(new ParserError(message, input, errLocation, ctxLocation));\n\t };\n\t Parser.prototype._parseBindingAst = function (input, location, interpolationConfig) {\n\t // Quotes expressions use 3rd-party expression language. We don't want to use\n\t // our lexer or parser for that, so we check for that ahead of time.\n\t var quote = this._parseQuote(input, location);\n\t if (isPresent(quote)) {\n\t return quote;\n\t }\n\t this._checkNoInterpolation(input, location, interpolationConfig);\n\t var sourceToLex = this._stripComments(input);\n\t var tokens = this._lexer.tokenize(sourceToLex);\n\t return new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, input.length - sourceToLex.length)\n\t .parseChain();\n\t };\n\t Parser.prototype._parseQuote = function (input, location) {\n\t if (isBlank(input))\n\t return null;\n\t var prefixSeparatorIndex = input.indexOf(':');\n\t if (prefixSeparatorIndex == -1)\n\t return null;\n\t var prefix = input.substring(0, prefixSeparatorIndex).trim();\n\t if (!isIdentifier(prefix))\n\t return null;\n\t var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n\t return new Quote(new ParseSpan(0, input.length), prefix, uninterpretedExpression, location);\n\t };\n\t Parser.prototype.parseTemplateBindings = function (prefixToken, input, location) {\n\t var tokens = this._lexer.tokenize(input);\n\t if (prefixToken) {\n\t // Prefix the tokens with the tokens from prefixToken but have them take no space (0 index).\n\t var prefixTokens = this._lexer.tokenize(prefixToken).map(function (t) {\n\t t.index = 0;\n\t return t;\n\t });\n\t tokens.unshift.apply(tokens, prefixTokens);\n\t }\n\t return new _ParseAST(input, location, tokens, input.length, false, this.errors, 0)\n\t .parseTemplateBindings();\n\t };\n\t Parser.prototype.parseInterpolation = function (input, location, interpolationConfig) {\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var split = this.splitInterpolation(input, location, interpolationConfig);\n\t if (split == null)\n\t return null;\n\t var expressions = [];\n\t for (var i = 0; i < split.expressions.length; ++i) {\n\t var expressionText = split.expressions[i];\n\t var sourceToLex = this._stripComments(expressionText);\n\t var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));\n\t var ast = new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, split.offsets[i] + (expressionText.length - sourceToLex.length))\n\t .parseChain();\n\t expressions.push(ast);\n\t }\n\t return new ASTWithSource(new Interpolation(new ParseSpan(0, isBlank(input) ? 0 : input.length), split.strings, expressions), input, location, this.errors);\n\t };\n\t Parser.prototype.splitInterpolation = function (input, location, interpolationConfig) {\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var regexp = _createInterpolateRegExp(interpolationConfig);\n\t var parts = input.split(regexp);\n\t if (parts.length <= 1) {\n\t return null;\n\t }\n\t var strings = [];\n\t var expressions = [];\n\t var offsets = [];\n\t var offset = 0;\n\t for (var i = 0; i < parts.length; i++) {\n\t var part = parts[i];\n\t if (i % 2 === 0) {\n\t // fixed string\n\t strings.push(part);\n\t offset += part.length;\n\t }\n\t else if (part.trim().length > 0) {\n\t offset += interpolationConfig.start.length;\n\t expressions.push(part);\n\t offsets.push(offset);\n\t offset += part.length + interpolationConfig.end.length;\n\t }\n\t else {\n\t this._reportError('Blank expressions are not allowed in interpolated strings', input, \"at column \" + this._findInterpolationErrorColumn(parts, i, interpolationConfig) + \" in\", location);\n\t expressions.push('$implict');\n\t offsets.push(offset);\n\t }\n\t }\n\t return new SplitInterpolation(strings, expressions, offsets);\n\t };\n\t Parser.prototype.wrapLiteralPrimitive = function (input, location) {\n\t return new ASTWithSource(new LiteralPrimitive(new ParseSpan(0, isBlank(input) ? 0 : input.length), input), input, location, this.errors);\n\t };\n\t Parser.prototype._stripComments = function (input) {\n\t var i = this._commentStart(input);\n\t return isPresent(i) ? input.substring(0, i).trim() : input;\n\t };\n\t Parser.prototype._commentStart = function (input) {\n\t var outerQuote = null;\n\t for (var i = 0; i < input.length - 1; i++) {\n\t var char = input.charCodeAt(i);\n\t var nextChar = input.charCodeAt(i + 1);\n\t if (char === $SLASH && nextChar == $SLASH && isBlank(outerQuote))\n\t return i;\n\t if (outerQuote === char) {\n\t outerQuote = null;\n\t }\n\t else if (isBlank(outerQuote) && isQuote(char)) {\n\t outerQuote = char;\n\t }\n\t }\n\t return null;\n\t };\n\t Parser.prototype._checkNoInterpolation = function (input, location, interpolationConfig) {\n\t var regexp = _createInterpolateRegExp(interpolationConfig);\n\t var parts = input.split(regexp);\n\t if (parts.length > 1) {\n\t this._reportError(\"Got interpolation (\" + interpolationConfig.start + interpolationConfig.end + \") where expression was expected\", input, \"at column \" + this._findInterpolationErrorColumn(parts, 1, interpolationConfig) + \" in\", location);\n\t }\n\t };\n\t Parser.prototype._findInterpolationErrorColumn = function (parts, partInErrIdx, interpolationConfig) {\n\t var errLocation = '';\n\t for (var j = 0; j < partInErrIdx; j++) {\n\t errLocation += j % 2 === 0 ?\n\t parts[j] :\n\t \"\" + interpolationConfig.start + parts[j] + interpolationConfig.end;\n\t }\n\t return errLocation.length;\n\t };\n\t Parser.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t Parser.ctorParameters = [\n\t { type: Lexer, },\n\t ];\n\t return Parser;\n\t }());\n\t var _ParseAST = (function () {\n\t function _ParseAST(input, location, tokens, inputLength, parseAction, errors, offset) {\n\t this.input = input;\n\t this.location = location;\n\t this.tokens = tokens;\n\t this.inputLength = inputLength;\n\t this.parseAction = parseAction;\n\t this.errors = errors;\n\t this.offset = offset;\n\t this.rparensExpected = 0;\n\t this.rbracketsExpected = 0;\n\t this.rbracesExpected = 0;\n\t this.index = 0;\n\t }\n\t _ParseAST.prototype.peek = function (offset) {\n\t var i = this.index + offset;\n\t return i < this.tokens.length ? this.tokens[i] : EOF;\n\t };\n\t Object.defineProperty(_ParseAST.prototype, \"next\", {\n\t get: function () { return this.peek(0); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(_ParseAST.prototype, \"inputIndex\", {\n\t get: function () {\n\t return (this.index < this.tokens.length) ? this.next.index + this.offset :\n\t this.inputLength + this.offset;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t _ParseAST.prototype.span = function (start) { return new ParseSpan(start, this.inputIndex); };\n\t _ParseAST.prototype.advance = function () { this.index++; };\n\t _ParseAST.prototype.optionalCharacter = function (code) {\n\t if (this.next.isCharacter(code)) {\n\t this.advance();\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t };\n\t _ParseAST.prototype.peekKeywordLet = function () { return this.next.isKeywordLet(); };\n\t _ParseAST.prototype.expectCharacter = function (code) {\n\t if (this.optionalCharacter(code))\n\t return;\n\t this.error(\"Missing expected \" + String.fromCharCode(code));\n\t };\n\t _ParseAST.prototype.optionalOperator = function (op) {\n\t if (this.next.isOperator(op)) {\n\t this.advance();\n\t return true;\n\t }\n\t else {\n\t return false;\n\t }\n\t };\n\t _ParseAST.prototype.expectOperator = function (operator) {\n\t if (this.optionalOperator(operator))\n\t return;\n\t this.error(\"Missing expected operator \" + operator);\n\t };\n\t _ParseAST.prototype.expectIdentifierOrKeyword = function () {\n\t var n = this.next;\n\t if (!n.isIdentifier() && !n.isKeyword()) {\n\t this.error(\"Unexpected token \" + n + \", expected identifier or keyword\");\n\t return '';\n\t }\n\t this.advance();\n\t return n.toString();\n\t };\n\t _ParseAST.prototype.expectIdentifierOrKeywordOrString = function () {\n\t var n = this.next;\n\t if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n\t this.error(\"Unexpected token \" + n + \", expected identifier, keyword, or string\");\n\t return '';\n\t }\n\t this.advance();\n\t return n.toString();\n\t };\n\t _ParseAST.prototype.parseChain = function () {\n\t var exprs = [];\n\t var start = this.inputIndex;\n\t while (this.index < this.tokens.length) {\n\t var expr = this.parsePipe();\n\t exprs.push(expr);\n\t if (this.optionalCharacter($SEMICOLON)) {\n\t if (!this.parseAction) {\n\t this.error('Binding expression cannot contain chained expression');\n\t }\n\t while (this.optionalCharacter($SEMICOLON)) {\n\t } // read all semicolons\n\t }\n\t else if (this.index < this.tokens.length) {\n\t this.error(\"Unexpected token '\" + this.next + \"'\");\n\t }\n\t }\n\t if (exprs.length == 0)\n\t return new EmptyExpr(this.span(start));\n\t if (exprs.length == 1)\n\t return exprs[0];\n\t return new Chain(this.span(start), exprs);\n\t };\n\t _ParseAST.prototype.parsePipe = function () {\n\t var result = this.parseExpression();\n\t if (this.optionalOperator('|')) {\n\t if (this.parseAction) {\n\t this.error('Cannot have a pipe in an action expression');\n\t }\n\t do {\n\t var name_1 = this.expectIdentifierOrKeyword();\n\t var args = [];\n\t while (this.optionalCharacter($COLON)) {\n\t args.push(this.parseExpression());\n\t }\n\t result = new BindingPipe(this.span(result.span.start - this.offset), result, name_1, args);\n\t } while (this.optionalOperator('|'));\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseExpression = function () { return this.parseConditional(); };\n\t _ParseAST.prototype.parseConditional = function () {\n\t var start = this.inputIndex;\n\t var result = this.parseLogicalOr();\n\t if (this.optionalOperator('?')) {\n\t var yes = this.parsePipe();\n\t var no = void 0;\n\t if (!this.optionalCharacter($COLON)) {\n\t var end = this.inputIndex;\n\t var expression = this.input.substring(start, end);\n\t this.error(\"Conditional expression \" + expression + \" requires all 3 expressions\");\n\t no = new EmptyExpr(this.span(start));\n\t }\n\t else {\n\t no = this.parsePipe();\n\t }\n\t return new Conditional(this.span(start), result, yes, no);\n\t }\n\t else {\n\t return result;\n\t }\n\t };\n\t _ParseAST.prototype.parseLogicalOr = function () {\n\t // '||'\n\t var result = this.parseLogicalAnd();\n\t while (this.optionalOperator('||')) {\n\t var right = this.parseLogicalAnd();\n\t result = new Binary(this.span(result.span.start), '||', result, right);\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseLogicalAnd = function () {\n\t // '&&'\n\t var result = this.parseEquality();\n\t while (this.optionalOperator('&&')) {\n\t var right = this.parseEquality();\n\t result = new Binary(this.span(result.span.start), '&&', result, right);\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseEquality = function () {\n\t // '==','!=','===','!=='\n\t var result = this.parseRelational();\n\t while (this.next.type == exports.TokenType.Operator) {\n\t var operator = this.next.strValue;\n\t switch (operator) {\n\t case '==':\n\t case '===':\n\t case '!=':\n\t case '!==':\n\t this.advance();\n\t var right = this.parseRelational();\n\t result = new Binary(this.span(result.span.start), operator, result, right);\n\t continue;\n\t }\n\t break;\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseRelational = function () {\n\t // '<', '>', '<=', '>='\n\t var result = this.parseAdditive();\n\t while (this.next.type == exports.TokenType.Operator) {\n\t var operator = this.next.strValue;\n\t switch (operator) {\n\t case '<':\n\t case '>':\n\t case '<=':\n\t case '>=':\n\t this.advance();\n\t var right = this.parseAdditive();\n\t result = new Binary(this.span(result.span.start), operator, result, right);\n\t continue;\n\t }\n\t break;\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseAdditive = function () {\n\t // '+', '-'\n\t var result = this.parseMultiplicative();\n\t while (this.next.type == exports.TokenType.Operator) {\n\t var operator = this.next.strValue;\n\t switch (operator) {\n\t case '+':\n\t case '-':\n\t this.advance();\n\t var right = this.parseMultiplicative();\n\t result = new Binary(this.span(result.span.start), operator, result, right);\n\t continue;\n\t }\n\t break;\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseMultiplicative = function () {\n\t // '*', '%', '/'\n\t var result = this.parsePrefix();\n\t while (this.next.type == exports.TokenType.Operator) {\n\t var operator = this.next.strValue;\n\t switch (operator) {\n\t case '*':\n\t case '%':\n\t case '/':\n\t this.advance();\n\t var right = this.parsePrefix();\n\t result = new Binary(this.span(result.span.start), operator, result, right);\n\t continue;\n\t }\n\t break;\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parsePrefix = function () {\n\t if (this.next.type == exports.TokenType.Operator) {\n\t var start = this.inputIndex;\n\t var operator = this.next.strValue;\n\t var result = void 0;\n\t switch (operator) {\n\t case '+':\n\t this.advance();\n\t return this.parsePrefix();\n\t case '-':\n\t this.advance();\n\t result = this.parsePrefix();\n\t return new Binary(this.span(start), operator, new LiteralPrimitive(new ParseSpan(start, start), 0), result);\n\t case '!':\n\t this.advance();\n\t result = this.parsePrefix();\n\t return new PrefixNot(this.span(start), result);\n\t }\n\t }\n\t return this.parseCallChain();\n\t };\n\t _ParseAST.prototype.parseCallChain = function () {\n\t var result = this.parsePrimary();\n\t while (true) {\n\t if (this.optionalCharacter($PERIOD)) {\n\t result = this.parseAccessMemberOrMethodCall(result, false);\n\t }\n\t else if (this.optionalOperator('?.')) {\n\t result = this.parseAccessMemberOrMethodCall(result, true);\n\t }\n\t else if (this.optionalCharacter($LBRACKET)) {\n\t this.rbracketsExpected++;\n\t var key = this.parsePipe();\n\t this.rbracketsExpected--;\n\t this.expectCharacter($RBRACKET);\n\t if (this.optionalOperator('=')) {\n\t var value = this.parseConditional();\n\t result = new KeyedWrite(this.span(result.span.start), result, key, value);\n\t }\n\t else {\n\t result = new KeyedRead(this.span(result.span.start), result, key);\n\t }\n\t }\n\t else if (this.optionalCharacter($LPAREN)) {\n\t this.rparensExpected++;\n\t var args = this.parseCallArguments();\n\t this.rparensExpected--;\n\t this.expectCharacter($RPAREN);\n\t result = new FunctionCall(this.span(result.span.start), result, args);\n\t }\n\t else {\n\t return result;\n\t }\n\t }\n\t };\n\t _ParseAST.prototype.parsePrimary = function () {\n\t var start = this.inputIndex;\n\t if (this.optionalCharacter($LPAREN)) {\n\t this.rparensExpected++;\n\t var result = this.parsePipe();\n\t this.rparensExpected--;\n\t this.expectCharacter($RPAREN);\n\t return result;\n\t }\n\t else if (this.next.isKeywordNull()) {\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), null);\n\t }\n\t else if (this.next.isKeywordUndefined()) {\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), void 0);\n\t }\n\t else if (this.next.isKeywordTrue()) {\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), true);\n\t }\n\t else if (this.next.isKeywordFalse()) {\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), false);\n\t }\n\t else if (this.next.isKeywordThis()) {\n\t this.advance();\n\t return new ImplicitReceiver(this.span(start));\n\t }\n\t else if (this.optionalCharacter($LBRACKET)) {\n\t this.rbracketsExpected++;\n\t var elements = this.parseExpressionList($RBRACKET);\n\t this.rbracketsExpected--;\n\t this.expectCharacter($RBRACKET);\n\t return new LiteralArray(this.span(start), elements);\n\t }\n\t else if (this.next.isCharacter($LBRACE)) {\n\t return this.parseLiteralMap();\n\t }\n\t else if (this.next.isIdentifier()) {\n\t return this.parseAccessMemberOrMethodCall(new ImplicitReceiver(this.span(start)), false);\n\t }\n\t else if (this.next.isNumber()) {\n\t var value = this.next.toNumber();\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), value);\n\t }\n\t else if (this.next.isString()) {\n\t var literalValue = this.next.toString();\n\t this.advance();\n\t return new LiteralPrimitive(this.span(start), literalValue);\n\t }\n\t else if (this.index >= this.tokens.length) {\n\t this.error(\"Unexpected end of expression: \" + this.input);\n\t return new EmptyExpr(this.span(start));\n\t }\n\t else {\n\t this.error(\"Unexpected token \" + this.next);\n\t return new EmptyExpr(this.span(start));\n\t }\n\t };\n\t _ParseAST.prototype.parseExpressionList = function (terminator) {\n\t var result = [];\n\t if (!this.next.isCharacter(terminator)) {\n\t do {\n\t result.push(this.parsePipe());\n\t } while (this.optionalCharacter($COMMA));\n\t }\n\t return result;\n\t };\n\t _ParseAST.prototype.parseLiteralMap = function () {\n\t var keys = [];\n\t var values = [];\n\t var start = this.inputIndex;\n\t this.expectCharacter($LBRACE);\n\t if (!this.optionalCharacter($RBRACE)) {\n\t this.rbracesExpected++;\n\t do {\n\t var key = this.expectIdentifierOrKeywordOrString();\n\t keys.push(key);\n\t this.expectCharacter($COLON);\n\t values.push(this.parsePipe());\n\t } while (this.optionalCharacter($COMMA));\n\t this.rbracesExpected--;\n\t this.expectCharacter($RBRACE);\n\t }\n\t return new LiteralMap(this.span(start), keys, values);\n\t };\n\t _ParseAST.prototype.parseAccessMemberOrMethodCall = function (receiver, isSafe) {\n\t if (isSafe === void 0) { isSafe = false; }\n\t var start = receiver.span.start;\n\t var id = this.expectIdentifierOrKeyword();\n\t if (this.optionalCharacter($LPAREN)) {\n\t this.rparensExpected++;\n\t var args = this.parseCallArguments();\n\t this.expectCharacter($RPAREN);\n\t this.rparensExpected--;\n\t var span = this.span(start);\n\t return isSafe ? new SafeMethodCall(span, receiver, id, args) :\n\t new MethodCall(span, receiver, id, args);\n\t }\n\t else {\n\t if (isSafe) {\n\t if (this.optionalOperator('=')) {\n\t this.error('The \\'?.\\' operator cannot be used in the assignment');\n\t return new EmptyExpr(this.span(start));\n\t }\n\t else {\n\t return new SafePropertyRead(this.span(start), receiver, id);\n\t }\n\t }\n\t else {\n\t if (this.optionalOperator('=')) {\n\t if (!this.parseAction) {\n\t this.error('Bindings cannot contain assignments');\n\t return new EmptyExpr(this.span(start));\n\t }\n\t var value = this.parseConditional();\n\t return new PropertyWrite(this.span(start), receiver, id, value);\n\t }\n\t else {\n\t return new PropertyRead(this.span(start), receiver, id);\n\t }\n\t }\n\t }\n\t };\n\t _ParseAST.prototype.parseCallArguments = function () {\n\t if (this.next.isCharacter($RPAREN))\n\t return [];\n\t var positionals = [];\n\t do {\n\t positionals.push(this.parsePipe());\n\t } while (this.optionalCharacter($COMMA));\n\t return positionals;\n\t };\n\t /**\n\t * An identifier, a keyword, a string with an optional `-` inbetween.\n\t */\n\t _ParseAST.prototype.expectTemplateBindingKey = function () {\n\t var result = '';\n\t var operatorFound = false;\n\t do {\n\t result += this.expectIdentifierOrKeywordOrString();\n\t operatorFound = this.optionalOperator('-');\n\t if (operatorFound) {\n\t result += '-';\n\t }\n\t } while (operatorFound);\n\t return result.toString();\n\t };\n\t _ParseAST.prototype.parseTemplateBindings = function () {\n\t var bindings = [];\n\t var prefix = null;\n\t var warnings = [];\n\t while (this.index < this.tokens.length) {\n\t var start = this.inputIndex;\n\t var keyIsVar = this.peekKeywordLet();\n\t if (keyIsVar) {\n\t this.advance();\n\t }\n\t var key = this.expectTemplateBindingKey();\n\t if (!keyIsVar) {\n\t if (prefix == null) {\n\t prefix = key;\n\t }\n\t else {\n\t key = prefix + key[0].toUpperCase() + key.substring(1);\n\t }\n\t }\n\t this.optionalCharacter($COLON);\n\t var name_2 = null;\n\t var expression = null;\n\t if (keyIsVar) {\n\t if (this.optionalOperator('=')) {\n\t name_2 = this.expectTemplateBindingKey();\n\t }\n\t else {\n\t name_2 = '\\$implicit';\n\t }\n\t }\n\t else if (this.next !== EOF && !this.peekKeywordLet()) {\n\t var start_1 = this.inputIndex;\n\t var ast = this.parsePipe();\n\t var source = this.input.substring(start_1 - this.offset, this.inputIndex - this.offset);\n\t expression = new ASTWithSource(ast, source, this.location, this.errors);\n\t }\n\t bindings.push(new TemplateBinding(this.span(start), key, keyIsVar, name_2, expression));\n\t if (!this.optionalCharacter($SEMICOLON)) {\n\t this.optionalCharacter($COMMA);\n\t }\n\t }\n\t return new TemplateBindingParseResult(bindings, warnings, this.errors);\n\t };\n\t _ParseAST.prototype.error = function (message, index) {\n\t if (index === void 0) { index = null; }\n\t this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));\n\t this.skip();\n\t };\n\t _ParseAST.prototype.locationText = function (index) {\n\t if (index === void 0) { index = null; }\n\t if (isBlank(index))\n\t index = this.index;\n\t return (index < this.tokens.length) ? \"at column \" + (this.tokens[index].index + 1) + \" in\" :\n\t \"at the end of the expression\";\n\t };\n\t // Error recovery should skip tokens until it encounters a recovery point. skip() treats\n\t // the end of input and a ';' as unconditionally a recovery point. It also treats ')',\n\t // '}' and ']' as conditional recovery points if one of calling productions is expecting\n\t // one of these symbols. This allows skip() to recover from errors such as '(a.) + 1' allowing\n\t // more of the AST to be retained (it doesn't skip any tokens as the ')' is retained because\n\t // of the '(' begins an '(' <expr> ')' production). The recovery points of grouping symbols\n\t // must be conditional as they must be skipped if none of the calling productions are not\n\t // expecting the closing token else we will never make progress in the case of an\n\t // extraneous group closing symbol (such as a stray ')'). This is not the case for ';' because\n\t // parseChain() is always the root production and it expects a ';'.\n\t // If a production expects one of these token it increments the corresponding nesting count,\n\t // and then decrements it just prior to checking if the token is in the input.\n\t _ParseAST.prototype.skip = function () {\n\t var n = this.next;\n\t while (this.index < this.tokens.length && !n.isCharacter($SEMICOLON) &&\n\t (this.rparensExpected <= 0 || !n.isCharacter($RPAREN)) &&\n\t (this.rbracesExpected <= 0 || !n.isCharacter($RBRACE)) &&\n\t (this.rbracketsExpected <= 0 || !n.isCharacter($RBRACKET))) {\n\t if (this.next.isError()) {\n\t this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));\n\t }\n\t this.advance();\n\t n = this.next;\n\t }\n\t };\n\t return _ParseAST;\n\t }());\n\t var SimpleExpressionChecker = (function () {\n\t function SimpleExpressionChecker() {\n\t this.errors = [];\n\t }\n\t SimpleExpressionChecker.check = function (ast) {\n\t var s = new SimpleExpressionChecker();\n\t ast.visit(s);\n\t return s.errors;\n\t };\n\t SimpleExpressionChecker.prototype.visitImplicitReceiver = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitInterpolation = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitLiteralPrimitive = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitPropertyRead = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitPropertyWrite = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitSafePropertyRead = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitMethodCall = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitSafeMethodCall = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitFunctionCall = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitLiteralArray = function (ast, context) { this.visitAll(ast.expressions); };\n\t SimpleExpressionChecker.prototype.visitLiteralMap = function (ast, context) { this.visitAll(ast.values); };\n\t SimpleExpressionChecker.prototype.visitBinary = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitPrefixNot = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitConditional = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitPipe = function (ast, context) { this.errors.push('pipes'); };\n\t SimpleExpressionChecker.prototype.visitKeyedRead = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitKeyedWrite = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitAll = function (asts) {\n\t var _this = this;\n\t return asts.map(function (node) { return node.visit(_this); });\n\t };\n\t SimpleExpressionChecker.prototype.visitChain = function (ast, context) { };\n\t SimpleExpressionChecker.prototype.visitQuote = function (ast, context) { };\n\t return SimpleExpressionChecker;\n\t }());\n\t\n\t var ParseLocation = (function () {\n\t function ParseLocation(file, offset, line, col) {\n\t this.file = file;\n\t this.offset = offset;\n\t this.line = line;\n\t this.col = col;\n\t }\n\t ParseLocation.prototype.toString = function () {\n\t return isPresent(this.offset) ? this.file.url + \"@\" + this.line + \":\" + this.col : this.file.url;\n\t };\n\t return ParseLocation;\n\t }());\n\t var ParseSourceFile = (function () {\n\t function ParseSourceFile(content, url) {\n\t this.content = content;\n\t this.url = url;\n\t }\n\t return ParseSourceFile;\n\t }());\n\t var ParseSourceSpan = (function () {\n\t function ParseSourceSpan(start, end, details) {\n\t if (details === void 0) { details = null; }\n\t this.start = start;\n\t this.end = end;\n\t this.details = details;\n\t }\n\t ParseSourceSpan.prototype.toString = function () {\n\t return this.start.file.content.substring(this.start.offset, this.end.offset);\n\t };\n\t return ParseSourceSpan;\n\t }());\n\t exports.ParseErrorLevel;\n\t (function (ParseErrorLevel) {\n\t ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n\t ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\n\t })(exports.ParseErrorLevel || (exports.ParseErrorLevel = {}));\n\t var ParseError = (function () {\n\t function ParseError(span, msg, level) {\n\t if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n\t this.span = span;\n\t this.msg = msg;\n\t this.level = level;\n\t }\n\t ParseError.prototype.toString = function () {\n\t var source = this.span.start.file.content;\n\t var ctxStart = this.span.start.offset;\n\t var contextStr = '';\n\t var details = '';\n\t if (isPresent(ctxStart)) {\n\t if (ctxStart > source.length - 1) {\n\t ctxStart = source.length - 1;\n\t }\n\t var ctxEnd = ctxStart;\n\t var ctxLen = 0;\n\t var ctxLines = 0;\n\t while (ctxLen < 100 && ctxStart > 0) {\n\t ctxStart--;\n\t ctxLen++;\n\t if (source[ctxStart] == '\\n') {\n\t if (++ctxLines == 3) {\n\t break;\n\t }\n\t }\n\t }\n\t ctxLen = 0;\n\t ctxLines = 0;\n\t while (ctxLen < 100 && ctxEnd < source.length - 1) {\n\t ctxEnd++;\n\t ctxLen++;\n\t if (source[ctxEnd] == '\\n') {\n\t if (++ctxLines == 3) {\n\t break;\n\t }\n\t }\n\t }\n\t var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\n\t source.substring(this.span.start.offset, ctxEnd + 1);\n\t contextStr = \" (\\\"\" + context + \"\\\")\";\n\t }\n\t if (this.span.details) {\n\t details = \", \" + this.span.details;\n\t }\n\t return \"\" + this.msg + contextStr + \": \" + this.span.start + details;\n\t };\n\t return ParseError;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var Text = (function () {\n\t function Text(value, sourceSpan) {\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Text.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n\t return Text;\n\t }());\n\t var Expansion = (function () {\n\t function Expansion(switchValue, type, cases, sourceSpan, switchValueSourceSpan) {\n\t this.switchValue = switchValue;\n\t this.type = type;\n\t this.cases = cases;\n\t this.sourceSpan = sourceSpan;\n\t this.switchValueSourceSpan = switchValueSourceSpan;\n\t }\n\t Expansion.prototype.visit = function (visitor, context) { return visitor.visitExpansion(this, context); };\n\t return Expansion;\n\t }());\n\t var ExpansionCase = (function () {\n\t function ExpansionCase(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n\t this.value = value;\n\t this.expression = expression;\n\t this.sourceSpan = sourceSpan;\n\t this.valueSourceSpan = valueSourceSpan;\n\t this.expSourceSpan = expSourceSpan;\n\t }\n\t ExpansionCase.prototype.visit = function (visitor, context) { return visitor.visitExpansionCase(this, context); };\n\t return ExpansionCase;\n\t }());\n\t var Attribute$1 = (function () {\n\t function Attribute(name, value, sourceSpan, valueSpan) {\n\t this.name = name;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t this.valueSpan = valueSpan;\n\t }\n\t Attribute.prototype.visit = function (visitor, context) { return visitor.visitAttribute(this, context); };\n\t return Attribute;\n\t }());\n\t var Element = (function () {\n\t function Element(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan) {\n\t this.name = name;\n\t this.attrs = attrs;\n\t this.children = children;\n\t this.sourceSpan = sourceSpan;\n\t this.startSourceSpan = startSourceSpan;\n\t this.endSourceSpan = endSourceSpan;\n\t }\n\t Element.prototype.visit = function (visitor, context) { return visitor.visitElement(this, context); };\n\t return Element;\n\t }());\n\t var Comment = (function () {\n\t function Comment(value, sourceSpan) {\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Comment.prototype.visit = function (visitor, context) { return visitor.visitComment(this, context); };\n\t return Comment;\n\t }());\n\t function visitAll(visitor, nodes, context) {\n\t if (context === void 0) { context = null; }\n\t var result = [];\n\t var visit = visitor.visit ?\n\t function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n\t function (ast) { return ast.visit(visitor, context); };\n\t nodes.forEach(function (ast) {\n\t var astResult = visit(ast);\n\t if (astResult) {\n\t result.push(astResult);\n\t }\n\t });\n\t return result;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var TagContentType;\n\t (function (TagContentType) {\n\t TagContentType[TagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n\t TagContentType[TagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n\t TagContentType[TagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n\t })(TagContentType || (TagContentType = {}));\n\t function splitNsName(elementName) {\n\t if (elementName[0] != ':') {\n\t return [null, elementName];\n\t }\n\t var colonIndex = elementName.indexOf(':', 1);\n\t if (colonIndex == -1) {\n\t throw new Error(\"Unsupported format \\\"\" + elementName + \"\\\" expecting \\\":namespace:name\\\"\");\n\t }\n\t return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];\n\t }\n\t function getNsPrefix(fullName) {\n\t return fullName === null ? null : splitNsName(fullName)[0];\n\t }\n\t function mergeNsAndName(prefix, localName) {\n\t return prefix ? \":\" + prefix + \":\" + localName : localName;\n\t }\n\t // see http://www.w3.org/TR/html51/syntax.html#named-character-references\n\t // see https://html.spec.whatwg.org/multipage/entities.json\n\t // This list is not exhaustive to keep the compiler footprint low.\n\t // The `{` / `ƫ` syntax should be used when the named character reference does not exist.\n\t var NAMED_ENTITIES = {\n\t 'Aacute': '\\u00C1',\n\t 'aacute': '\\u00E1',\n\t 'Acirc': '\\u00C2',\n\t 'acirc': '\\u00E2',\n\t 'acute': '\\u00B4',\n\t 'AElig': '\\u00C6',\n\t 'aelig': '\\u00E6',\n\t 'Agrave': '\\u00C0',\n\t 'agrave': '\\u00E0',\n\t 'alefsym': '\\u2135',\n\t 'Alpha': '\\u0391',\n\t 'alpha': '\\u03B1',\n\t 'amp': '&',\n\t 'and': '\\u2227',\n\t 'ang': '\\u2220',\n\t 'apos': '\\u0027',\n\t 'Aring': '\\u00C5',\n\t 'aring': '\\u00E5',\n\t 'asymp': '\\u2248',\n\t 'Atilde': '\\u00C3',\n\t 'atilde': '\\u00E3',\n\t 'Auml': '\\u00C4',\n\t 'auml': '\\u00E4',\n\t 'bdquo': '\\u201E',\n\t 'Beta': '\\u0392',\n\t 'beta': '\\u03B2',\n\t 'brvbar': '\\u00A6',\n\t 'bull': '\\u2022',\n\t 'cap': '\\u2229',\n\t 'Ccedil': '\\u00C7',\n\t 'ccedil': '\\u00E7',\n\t 'cedil': '\\u00B8',\n\t 'cent': '\\u00A2',\n\t 'Chi': '\\u03A7',\n\t 'chi': '\\u03C7',\n\t 'circ': '\\u02C6',\n\t 'clubs': '\\u2663',\n\t 'cong': '\\u2245',\n\t 'copy': '\\u00A9',\n\t 'crarr': '\\u21B5',\n\t 'cup': '\\u222A',\n\t 'curren': '\\u00A4',\n\t 'dagger': '\\u2020',\n\t 'Dagger': '\\u2021',\n\t 'darr': '\\u2193',\n\t 'dArr': '\\u21D3',\n\t 'deg': '\\u00B0',\n\t 'Delta': '\\u0394',\n\t 'delta': '\\u03B4',\n\t 'diams': '\\u2666',\n\t 'divide': '\\u00F7',\n\t 'Eacute': '\\u00C9',\n\t 'eacute': '\\u00E9',\n\t 'Ecirc': '\\u00CA',\n\t 'ecirc': '\\u00EA',\n\t 'Egrave': '\\u00C8',\n\t 'egrave': '\\u00E8',\n\t 'empty': '\\u2205',\n\t 'emsp': '\\u2003',\n\t 'ensp': '\\u2002',\n\t 'Epsilon': '\\u0395',\n\t 'epsilon': '\\u03B5',\n\t 'equiv': '\\u2261',\n\t 'Eta': '\\u0397',\n\t 'eta': '\\u03B7',\n\t 'ETH': '\\u00D0',\n\t 'eth': '\\u00F0',\n\t 'Euml': '\\u00CB',\n\t 'euml': '\\u00EB',\n\t 'euro': '\\u20AC',\n\t 'exist': '\\u2203',\n\t 'fnof': '\\u0192',\n\t 'forall': '\\u2200',\n\t 'frac12': '\\u00BD',\n\t 'frac14': '\\u00BC',\n\t 'frac34': '\\u00BE',\n\t 'frasl': '\\u2044',\n\t 'Gamma': '\\u0393',\n\t 'gamma': '\\u03B3',\n\t 'ge': '\\u2265',\n\t 'gt': '>',\n\t 'harr': '\\u2194',\n\t 'hArr': '\\u21D4',\n\t 'hearts': '\\u2665',\n\t 'hellip': '\\u2026',\n\t 'Iacute': '\\u00CD',\n\t 'iacute': '\\u00ED',\n\t 'Icirc': '\\u00CE',\n\t 'icirc': '\\u00EE',\n\t 'iexcl': '\\u00A1',\n\t 'Igrave': '\\u00CC',\n\t 'igrave': '\\u00EC',\n\t 'image': '\\u2111',\n\t 'infin': '\\u221E',\n\t 'int': '\\u222B',\n\t 'Iota': '\\u0399',\n\t 'iota': '\\u03B9',\n\t 'iquest': '\\u00BF',\n\t 'isin': '\\u2208',\n\t 'Iuml': '\\u00CF',\n\t 'iuml': '\\u00EF',\n\t 'Kappa': '\\u039A',\n\t 'kappa': '\\u03BA',\n\t 'Lambda': '\\u039B',\n\t 'lambda': '\\u03BB',\n\t 'lang': '\\u27E8',\n\t 'laquo': '\\u00AB',\n\t 'larr': '\\u2190',\n\t 'lArr': '\\u21D0',\n\t 'lceil': '\\u2308',\n\t 'ldquo': '\\u201C',\n\t 'le': '\\u2264',\n\t 'lfloor': '\\u230A',\n\t 'lowast': '\\u2217',\n\t 'loz': '\\u25CA',\n\t 'lrm': '\\u200E',\n\t 'lsaquo': '\\u2039',\n\t 'lsquo': '\\u2018',\n\t 'lt': '<',\n\t 'macr': '\\u00AF',\n\t 'mdash': '\\u2014',\n\t 'micro': '\\u00B5',\n\t 'middot': '\\u00B7',\n\t 'minus': '\\u2212',\n\t 'Mu': '\\u039C',\n\t 'mu': '\\u03BC',\n\t 'nabla': '\\u2207',\n\t 'nbsp': '\\u00A0',\n\t 'ndash': '\\u2013',\n\t 'ne': '\\u2260',\n\t 'ni': '\\u220B',\n\t 'not': '\\u00AC',\n\t 'notin': '\\u2209',\n\t 'nsub': '\\u2284',\n\t 'Ntilde': '\\u00D1',\n\t 'ntilde': '\\u00F1',\n\t 'Nu': '\\u039D',\n\t 'nu': '\\u03BD',\n\t 'Oacute': '\\u00D3',\n\t 'oacute': '\\u00F3',\n\t 'Ocirc': '\\u00D4',\n\t 'ocirc': '\\u00F4',\n\t 'OElig': '\\u0152',\n\t 'oelig': '\\u0153',\n\t 'Ograve': '\\u00D2',\n\t 'ograve': '\\u00F2',\n\t 'oline': '\\u203E',\n\t 'Omega': '\\u03A9',\n\t 'omega': '\\u03C9',\n\t 'Omicron': '\\u039F',\n\t 'omicron': '\\u03BF',\n\t 'oplus': '\\u2295',\n\t 'or': '\\u2228',\n\t 'ordf': '\\u00AA',\n\t 'ordm': '\\u00BA',\n\t 'Oslash': '\\u00D8',\n\t 'oslash': '\\u00F8',\n\t 'Otilde': '\\u00D5',\n\t 'otilde': '\\u00F5',\n\t 'otimes': '\\u2297',\n\t 'Ouml': '\\u00D6',\n\t 'ouml': '\\u00F6',\n\t 'para': '\\u00B6',\n\t 'permil': '\\u2030',\n\t 'perp': '\\u22A5',\n\t 'Phi': '\\u03A6',\n\t 'phi': '\\u03C6',\n\t 'Pi': '\\u03A0',\n\t 'pi': '\\u03C0',\n\t 'piv': '\\u03D6',\n\t 'plusmn': '\\u00B1',\n\t 'pound': '\\u00A3',\n\t 'prime': '\\u2032',\n\t 'Prime': '\\u2033',\n\t 'prod': '\\u220F',\n\t 'prop': '\\u221D',\n\t 'Psi': '\\u03A8',\n\t 'psi': '\\u03C8',\n\t 'quot': '\\u0022',\n\t 'radic': '\\u221A',\n\t 'rang': '\\u27E9',\n\t 'raquo': '\\u00BB',\n\t 'rarr': '\\u2192',\n\t 'rArr': '\\u21D2',\n\t 'rceil': '\\u2309',\n\t 'rdquo': '\\u201D',\n\t 'real': '\\u211C',\n\t 'reg': '\\u00AE',\n\t 'rfloor': '\\u230B',\n\t 'Rho': '\\u03A1',\n\t 'rho': '\\u03C1',\n\t 'rlm': '\\u200F',\n\t 'rsaquo': '\\u203A',\n\t 'rsquo': '\\u2019',\n\t 'sbquo': '\\u201A',\n\t 'Scaron': '\\u0160',\n\t 'scaron': '\\u0161',\n\t 'sdot': '\\u22C5',\n\t 'sect': '\\u00A7',\n\t 'shy': '\\u00AD',\n\t 'Sigma': '\\u03A3',\n\t 'sigma': '\\u03C3',\n\t 'sigmaf': '\\u03C2',\n\t 'sim': '\\u223C',\n\t 'spades': '\\u2660',\n\t 'sub': '\\u2282',\n\t 'sube': '\\u2286',\n\t 'sum': '\\u2211',\n\t 'sup': '\\u2283',\n\t 'sup1': '\\u00B9',\n\t 'sup2': '\\u00B2',\n\t 'sup3': '\\u00B3',\n\t 'supe': '\\u2287',\n\t 'szlig': '\\u00DF',\n\t 'Tau': '\\u03A4',\n\t 'tau': '\\u03C4',\n\t 'there4': '\\u2234',\n\t 'Theta': '\\u0398',\n\t 'theta': '\\u03B8',\n\t 'thetasym': '\\u03D1',\n\t 'thinsp': '\\u2009',\n\t 'THORN': '\\u00DE',\n\t 'thorn': '\\u00FE',\n\t 'tilde': '\\u02DC',\n\t 'times': '\\u00D7',\n\t 'trade': '\\u2122',\n\t 'Uacute': '\\u00DA',\n\t 'uacute': '\\u00FA',\n\t 'uarr': '\\u2191',\n\t 'uArr': '\\u21D1',\n\t 'Ucirc': '\\u00DB',\n\t 'ucirc': '\\u00FB',\n\t 'Ugrave': '\\u00D9',\n\t 'ugrave': '\\u00F9',\n\t 'uml': '\\u00A8',\n\t 'upsih': '\\u03D2',\n\t 'Upsilon': '\\u03A5',\n\t 'upsilon': '\\u03C5',\n\t 'Uuml': '\\u00DC',\n\t 'uuml': '\\u00FC',\n\t 'weierp': '\\u2118',\n\t 'Xi': '\\u039E',\n\t 'xi': '\\u03BE',\n\t 'Yacute': '\\u00DD',\n\t 'yacute': '\\u00FD',\n\t 'yen': '\\u00A5',\n\t 'yuml': '\\u00FF',\n\t 'Yuml': '\\u0178',\n\t 'Zeta': '\\u0396',\n\t 'zeta': '\\u03B6',\n\t 'zwj': '\\u200D',\n\t 'zwnj': '\\u200C',\n\t };\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var TokenType$1;\n\t (function (TokenType) {\n\t TokenType[TokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\n\t TokenType[TokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\n\t TokenType[TokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\n\t TokenType[TokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\n\t TokenType[TokenType[\"TEXT\"] = 4] = \"TEXT\";\n\t TokenType[TokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\n\t TokenType[TokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\n\t TokenType[TokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\n\t TokenType[TokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\n\t TokenType[TokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\n\t TokenType[TokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\n\t TokenType[TokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\n\t TokenType[TokenType[\"ATTR_VALUE\"] = 12] = \"ATTR_VALUE\";\n\t TokenType[TokenType[\"DOC_TYPE\"] = 13] = \"DOC_TYPE\";\n\t TokenType[TokenType[\"EXPANSION_FORM_START\"] = 14] = \"EXPANSION_FORM_START\";\n\t TokenType[TokenType[\"EXPANSION_CASE_VALUE\"] = 15] = \"EXPANSION_CASE_VALUE\";\n\t TokenType[TokenType[\"EXPANSION_CASE_EXP_START\"] = 16] = \"EXPANSION_CASE_EXP_START\";\n\t TokenType[TokenType[\"EXPANSION_CASE_EXP_END\"] = 17] = \"EXPANSION_CASE_EXP_END\";\n\t TokenType[TokenType[\"EXPANSION_FORM_END\"] = 18] = \"EXPANSION_FORM_END\";\n\t TokenType[TokenType[\"EOF\"] = 19] = \"EOF\";\n\t })(TokenType$1 || (TokenType$1 = {}));\n\t var Token$1 = (function () {\n\t function Token(type, parts, sourceSpan) {\n\t this.type = type;\n\t this.parts = parts;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t return Token;\n\t }());\n\t var TokenError = (function (_super) {\n\t __extends$3(TokenError, _super);\n\t function TokenError(errorMsg, tokenType, span) {\n\t _super.call(this, span, errorMsg);\n\t this.tokenType = tokenType;\n\t }\n\t return TokenError;\n\t }(ParseError));\n\t var TokenizeResult = (function () {\n\t function TokenizeResult(tokens, errors) {\n\t this.tokens = tokens;\n\t this.errors = errors;\n\t }\n\t return TokenizeResult;\n\t }());\n\t function tokenize(source, url, getTagDefinition, tokenizeExpansionForms, interpolationConfig) {\n\t if (tokenizeExpansionForms === void 0) { tokenizeExpansionForms = false; }\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t return new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, tokenizeExpansionForms, interpolationConfig)\n\t .tokenize();\n\t }\n\t var _CR_OR_CRLF_REGEXP = /\\r\\n?/g;\n\t function _unexpectedCharacterErrorMsg(charCode) {\n\t var char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);\n\t return \"Unexpected character \\\"\" + char + \"\\\"\";\n\t }\n\t function _unknownEntityErrorMsg(entitySrc) {\n\t return \"Unknown entity \\\"\" + entitySrc + \"\\\" - use the \\\"&#<decimal>;\\\" or \\\"&#x<hex>;\\\" syntax\";\n\t }\n\t var _ControlFlowError = (function () {\n\t function _ControlFlowError(error) {\n\t this.error = error;\n\t }\n\t return _ControlFlowError;\n\t }());\n\t // See http://www.w3.org/TR/html51/syntax.html#writing\n\t var _Tokenizer = (function () {\n\t /**\n\t * @param _file The html source\n\t * @param _getTagDefinition\n\t * @param _tokenizeIcu Whether to tokenize ICU messages (considered as text nodes when false)\n\t * @param _interpolationConfig\n\t */\n\t function _Tokenizer(_file, _getTagDefinition, _tokenizeIcu, _interpolationConfig) {\n\t if (_interpolationConfig === void 0) { _interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t this._file = _file;\n\t this._getTagDefinition = _getTagDefinition;\n\t this._tokenizeIcu = _tokenizeIcu;\n\t this._interpolationConfig = _interpolationConfig;\n\t // Note: this is always lowercase!\n\t this._peek = -1;\n\t this._nextPeek = -1;\n\t this._index = -1;\n\t this._line = 0;\n\t this._column = -1;\n\t this._expansionCaseStack = [];\n\t this._inInterpolation = false;\n\t this.tokens = [];\n\t this.errors = [];\n\t this._input = _file.content;\n\t this._length = _file.content.length;\n\t this._advance();\n\t }\n\t _Tokenizer.prototype._processCarriageReturns = function (content) {\n\t // http://www.w3.org/TR/html5/syntax.html#preprocessing-the-input-stream\n\t // In order to keep the original position in the source, we can not\n\t // pre-process it.\n\t // Instead CRs are processed right before instantiating the tokens.\n\t return content.replace(_CR_OR_CRLF_REGEXP, '\\n');\n\t };\n\t _Tokenizer.prototype.tokenize = function () {\n\t while (this._peek !== $EOF) {\n\t var start = this._getLocation();\n\t try {\n\t if (this._attemptCharCode($LT)) {\n\t if (this._attemptCharCode($BANG)) {\n\t if (this._attemptCharCode($LBRACKET)) {\n\t this._consumeCdata(start);\n\t }\n\t else if (this._attemptCharCode($MINUS)) {\n\t this._consumeComment(start);\n\t }\n\t else {\n\t this._consumeDocType(start);\n\t }\n\t }\n\t else if (this._attemptCharCode($SLASH)) {\n\t this._consumeTagClose(start);\n\t }\n\t else {\n\t this._consumeTagOpen(start);\n\t }\n\t }\n\t else if (!this._tokenizeIcu || !this._tokenizeExpansionForm()) {\n\t this._consumeText();\n\t }\n\t }\n\t catch (e) {\n\t if (e instanceof _ControlFlowError) {\n\t this.errors.push(e.error);\n\t }\n\t else {\n\t throw e;\n\t }\n\t }\n\t }\n\t this._beginToken(TokenType$1.EOF);\n\t this._endToken([]);\n\t return new TokenizeResult(mergeTextTokens(this.tokens), this.errors);\n\t };\n\t /**\n\t * @returns {boolean} whether an ICU token has been created\n\t * @internal\n\t */\n\t _Tokenizer.prototype._tokenizeExpansionForm = function () {\n\t if (isExpansionFormStart(this._input, this._index, this._interpolationConfig)) {\n\t this._consumeExpansionFormStart();\n\t return true;\n\t }\n\t if (isExpansionCaseStart(this._peek) && this._isInExpansionForm()) {\n\t this._consumeExpansionCaseStart();\n\t return true;\n\t }\n\t if (this._peek === $RBRACE) {\n\t if (this._isInExpansionCase()) {\n\t this._consumeExpansionCaseEnd();\n\t return true;\n\t }\n\t if (this._isInExpansionForm()) {\n\t this._consumeExpansionFormEnd();\n\t return true;\n\t }\n\t }\n\t return false;\n\t };\n\t _Tokenizer.prototype._getLocation = function () {\n\t return new ParseLocation(this._file, this._index, this._line, this._column);\n\t };\n\t _Tokenizer.prototype._getSpan = function (start, end) {\n\t if (start === void 0) { start = this._getLocation(); }\n\t if (end === void 0) { end = this._getLocation(); }\n\t return new ParseSourceSpan(start, end);\n\t };\n\t _Tokenizer.prototype._beginToken = function (type, start) {\n\t if (start === void 0) { start = this._getLocation(); }\n\t this._currentTokenStart = start;\n\t this._currentTokenType = type;\n\t };\n\t _Tokenizer.prototype._endToken = function (parts, end) {\n\t if (end === void 0) { end = this._getLocation(); }\n\t var token = new Token$1(this._currentTokenType, parts, new ParseSourceSpan(this._currentTokenStart, end));\n\t this.tokens.push(token);\n\t this._currentTokenStart = null;\n\t this._currentTokenType = null;\n\t return token;\n\t };\n\t _Tokenizer.prototype._createError = function (msg, span) {\n\t if (this._isInExpansionForm()) {\n\t msg += \" (Do you have an unescaped \\\"{\\\" in your template? Use \\\"{{ '{' }}\\\") to escape it.)\";\n\t }\n\t var error = new TokenError(msg, this._currentTokenType, span);\n\t this._currentTokenStart = null;\n\t this._currentTokenType = null;\n\t return new _ControlFlowError(error);\n\t };\n\t _Tokenizer.prototype._advance = function () {\n\t if (this._index >= this._length) {\n\t throw this._createError(_unexpectedCharacterErrorMsg($EOF), this._getSpan());\n\t }\n\t if (this._peek === $LF) {\n\t this._line++;\n\t this._column = 0;\n\t }\n\t else if (this._peek !== $LF && this._peek !== $CR) {\n\t this._column++;\n\t }\n\t this._index++;\n\t this._peek = this._index >= this._length ? $EOF : this._input.charCodeAt(this._index);\n\t this._nextPeek =\n\t this._index + 1 >= this._length ? $EOF : this._input.charCodeAt(this._index + 1);\n\t };\n\t _Tokenizer.prototype._attemptCharCode = function (charCode) {\n\t if (this._peek === charCode) {\n\t this._advance();\n\t return true;\n\t }\n\t return false;\n\t };\n\t _Tokenizer.prototype._attemptCharCodeCaseInsensitive = function (charCode) {\n\t if (compareCharCodeCaseInsensitive(this._peek, charCode)) {\n\t this._advance();\n\t return true;\n\t }\n\t return false;\n\t };\n\t _Tokenizer.prototype._requireCharCode = function (charCode) {\n\t var location = this._getLocation();\n\t if (!this._attemptCharCode(charCode)) {\n\t throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(location, location));\n\t }\n\t };\n\t _Tokenizer.prototype._attemptStr = function (chars) {\n\t var len = chars.length;\n\t if (this._index + len > this._length) {\n\t return false;\n\t }\n\t var initialPosition = this._savePosition();\n\t for (var i = 0; i < len; i++) {\n\t if (!this._attemptCharCode(chars.charCodeAt(i))) {\n\t // If attempting to parse the string fails, we want to reset the parser\n\t // to where it was before the attempt\n\t this._restorePosition(initialPosition);\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t _Tokenizer.prototype._attemptStrCaseInsensitive = function (chars) {\n\t for (var i = 0; i < chars.length; i++) {\n\t if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t _Tokenizer.prototype._requireStr = function (chars) {\n\t var location = this._getLocation();\n\t if (!this._attemptStr(chars)) {\n\t throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(location));\n\t }\n\t };\n\t _Tokenizer.prototype._attemptCharCodeUntilFn = function (predicate) {\n\t while (!predicate(this._peek)) {\n\t this._advance();\n\t }\n\t };\n\t _Tokenizer.prototype._requireCharCodeUntilFn = function (predicate, len) {\n\t var start = this._getLocation();\n\t this._attemptCharCodeUntilFn(predicate);\n\t if (this._index - start.offset < len) {\n\t throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(start, start));\n\t }\n\t };\n\t _Tokenizer.prototype._attemptUntilChar = function (char) {\n\t while (this._peek !== char) {\n\t this._advance();\n\t }\n\t };\n\t _Tokenizer.prototype._readChar = function (decodeEntities) {\n\t if (decodeEntities && this._peek === $AMPERSAND) {\n\t return this._decodeEntity();\n\t }\n\t else {\n\t var index = this._index;\n\t this._advance();\n\t return this._input[index];\n\t }\n\t };\n\t _Tokenizer.prototype._decodeEntity = function () {\n\t var start = this._getLocation();\n\t this._advance();\n\t if (this._attemptCharCode($HASH)) {\n\t var isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\n\t var numberStart = this._getLocation().offset;\n\t this._attemptCharCodeUntilFn(isDigitEntityEnd);\n\t if (this._peek != $SEMICOLON) {\n\t throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan());\n\t }\n\t this._advance();\n\t var strNum = this._input.substring(numberStart, this._index - 1);\n\t try {\n\t var charCode = parseInt(strNum, isHex ? 16 : 10);\n\t return String.fromCharCode(charCode);\n\t }\n\t catch (e) {\n\t var entity = this._input.substring(start.offset + 1, this._index - 1);\n\t throw this._createError(_unknownEntityErrorMsg(entity), this._getSpan(start));\n\t }\n\t }\n\t else {\n\t var startPosition = this._savePosition();\n\t this._attemptCharCodeUntilFn(isNamedEntityEnd);\n\t if (this._peek != $SEMICOLON) {\n\t this._restorePosition(startPosition);\n\t return '&';\n\t }\n\t this._advance();\n\t var name_1 = this._input.substring(start.offset + 1, this._index - 1);\n\t var char = NAMED_ENTITIES[name_1];\n\t if (!char) {\n\t throw this._createError(_unknownEntityErrorMsg(name_1), this._getSpan(start));\n\t }\n\t return char;\n\t }\n\t };\n\t _Tokenizer.prototype._consumeRawText = function (decodeEntities, firstCharOfEnd, attemptEndRest) {\n\t var tagCloseStart;\n\t var textStart = this._getLocation();\n\t this._beginToken(decodeEntities ? TokenType$1.ESCAPABLE_RAW_TEXT : TokenType$1.RAW_TEXT, textStart);\n\t var parts = [];\n\t while (true) {\n\t tagCloseStart = this._getLocation();\n\t if (this._attemptCharCode(firstCharOfEnd) && attemptEndRest()) {\n\t break;\n\t }\n\t if (this._index > tagCloseStart.offset) {\n\t // add the characters consumed by the previous if statement to the output\n\t parts.push(this._input.substring(tagCloseStart.offset, this._index));\n\t }\n\t while (this._peek !== firstCharOfEnd) {\n\t parts.push(this._readChar(decodeEntities));\n\t }\n\t }\n\t return this._endToken([this._processCarriageReturns(parts.join(''))], tagCloseStart);\n\t };\n\t _Tokenizer.prototype._consumeComment = function (start) {\n\t var _this = this;\n\t this._beginToken(TokenType$1.COMMENT_START, start);\n\t this._requireCharCode($MINUS);\n\t this._endToken([]);\n\t var textToken = this._consumeRawText(false, $MINUS, function () { return _this._attemptStr('->'); });\n\t this._beginToken(TokenType$1.COMMENT_END, textToken.sourceSpan.end);\n\t this._endToken([]);\n\t };\n\t _Tokenizer.prototype._consumeCdata = function (start) {\n\t var _this = this;\n\t this._beginToken(TokenType$1.CDATA_START, start);\n\t this._requireStr('CDATA[');\n\t this._endToken([]);\n\t var textToken = this._consumeRawText(false, $RBRACKET, function () { return _this._attemptStr(']>'); });\n\t this._beginToken(TokenType$1.CDATA_END, textToken.sourceSpan.end);\n\t this._endToken([]);\n\t };\n\t _Tokenizer.prototype._consumeDocType = function (start) {\n\t this._beginToken(TokenType$1.DOC_TYPE, start);\n\t this._attemptUntilChar($GT);\n\t this._advance();\n\t this._endToken([this._input.substring(start.offset + 2, this._index - 1)]);\n\t };\n\t _Tokenizer.prototype._consumePrefixAndName = function () {\n\t var nameOrPrefixStart = this._index;\n\t var prefix = null;\n\t while (this._peek !== $COLON && !isPrefixEnd(this._peek)) {\n\t this._advance();\n\t }\n\t var nameStart;\n\t if (this._peek === $COLON) {\n\t this._advance();\n\t prefix = this._input.substring(nameOrPrefixStart, this._index - 1);\n\t nameStart = this._index;\n\t }\n\t else {\n\t nameStart = nameOrPrefixStart;\n\t }\n\t this._requireCharCodeUntilFn(isNameEnd, this._index === nameStart ? 1 : 0);\n\t var name = this._input.substring(nameStart, this._index);\n\t return [prefix, name];\n\t };\n\t _Tokenizer.prototype._consumeTagOpen = function (start) {\n\t var savedPos = this._savePosition();\n\t var tagName;\n\t var lowercaseTagName;\n\t try {\n\t if (!isAsciiLetter(this._peek)) {\n\t throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan());\n\t }\n\t var nameStart = this._index;\n\t this._consumeTagOpenStart(start);\n\t tagName = this._input.substring(nameStart, this._index);\n\t lowercaseTagName = tagName.toLowerCase();\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t while (this._peek !== $SLASH && this._peek !== $GT) {\n\t this._consumeAttributeName();\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t if (this._attemptCharCode($EQ)) {\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._consumeAttributeValue();\n\t }\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t }\n\t this._consumeTagOpenEnd();\n\t }\n\t catch (e) {\n\t if (e instanceof _ControlFlowError) {\n\t // When the start tag is invalid, assume we want a \"<\"\n\t this._restorePosition(savedPos);\n\t // Back to back text tokens are merged at the end\n\t this._beginToken(TokenType$1.TEXT, start);\n\t this._endToken(['<']);\n\t return;\n\t }\n\t throw e;\n\t }\n\t var contentTokenType = this._getTagDefinition(tagName).contentType;\n\t if (contentTokenType === TagContentType.RAW_TEXT) {\n\t this._consumeRawTextWithTagClose(lowercaseTagName, false);\n\t }\n\t else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {\n\t this._consumeRawTextWithTagClose(lowercaseTagName, true);\n\t }\n\t };\n\t _Tokenizer.prototype._consumeRawTextWithTagClose = function (lowercaseTagName, decodeEntities) {\n\t var _this = this;\n\t var textToken = this._consumeRawText(decodeEntities, $LT, function () {\n\t if (!_this._attemptCharCode($SLASH))\n\t return false;\n\t _this._attemptCharCodeUntilFn(isNotWhitespace);\n\t if (!_this._attemptStrCaseInsensitive(lowercaseTagName))\n\t return false;\n\t _this._attemptCharCodeUntilFn(isNotWhitespace);\n\t return _this._attemptCharCode($GT);\n\t });\n\t this._beginToken(TokenType$1.TAG_CLOSE, textToken.sourceSpan.end);\n\t this._endToken([null, lowercaseTagName]);\n\t };\n\t _Tokenizer.prototype._consumeTagOpenStart = function (start) {\n\t this._beginToken(TokenType$1.TAG_OPEN_START, start);\n\t var parts = this._consumePrefixAndName();\n\t this._endToken(parts);\n\t };\n\t _Tokenizer.prototype._consumeAttributeName = function () {\n\t this._beginToken(TokenType$1.ATTR_NAME);\n\t var prefixAndName = this._consumePrefixAndName();\n\t this._endToken(prefixAndName);\n\t };\n\t _Tokenizer.prototype._consumeAttributeValue = function () {\n\t this._beginToken(TokenType$1.ATTR_VALUE);\n\t var value;\n\t if (this._peek === $SQ || this._peek === $DQ) {\n\t var quoteChar = this._peek;\n\t this._advance();\n\t var parts = [];\n\t while (this._peek !== quoteChar) {\n\t parts.push(this._readChar(true));\n\t }\n\t value = parts.join('');\n\t this._advance();\n\t }\n\t else {\n\t var valueStart = this._index;\n\t this._requireCharCodeUntilFn(isNameEnd, 1);\n\t value = this._input.substring(valueStart, this._index);\n\t }\n\t this._endToken([this._processCarriageReturns(value)]);\n\t };\n\t _Tokenizer.prototype._consumeTagOpenEnd = function () {\n\t var tokenType = this._attemptCharCode($SLASH) ? TokenType$1.TAG_OPEN_END_VOID : TokenType$1.TAG_OPEN_END;\n\t this._beginToken(tokenType);\n\t this._requireCharCode($GT);\n\t this._endToken([]);\n\t };\n\t _Tokenizer.prototype._consumeTagClose = function (start) {\n\t this._beginToken(TokenType$1.TAG_CLOSE, start);\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t var prefixAndName = this._consumePrefixAndName();\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._requireCharCode($GT);\n\t this._endToken(prefixAndName);\n\t };\n\t _Tokenizer.prototype._consumeExpansionFormStart = function () {\n\t this._beginToken(TokenType$1.EXPANSION_FORM_START, this._getLocation());\n\t this._requireCharCode($LBRACE);\n\t this._endToken([]);\n\t this._expansionCaseStack.push(TokenType$1.EXPANSION_FORM_START);\n\t this._beginToken(TokenType$1.RAW_TEXT, this._getLocation());\n\t var condition = this._readUntil($COMMA);\n\t this._endToken([condition], this._getLocation());\n\t this._requireCharCode($COMMA);\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._beginToken(TokenType$1.RAW_TEXT, this._getLocation());\n\t var type = this._readUntil($COMMA);\n\t this._endToken([type], this._getLocation());\n\t this._requireCharCode($COMMA);\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t };\n\t _Tokenizer.prototype._consumeExpansionCaseStart = function () {\n\t this._beginToken(TokenType$1.EXPANSION_CASE_VALUE, this._getLocation());\n\t var value = this._readUntil($LBRACE).trim();\n\t this._endToken([value], this._getLocation());\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._beginToken(TokenType$1.EXPANSION_CASE_EXP_START, this._getLocation());\n\t this._requireCharCode($LBRACE);\n\t this._endToken([], this._getLocation());\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._expansionCaseStack.push(TokenType$1.EXPANSION_CASE_EXP_START);\n\t };\n\t _Tokenizer.prototype._consumeExpansionCaseEnd = function () {\n\t this._beginToken(TokenType$1.EXPANSION_CASE_EXP_END, this._getLocation());\n\t this._requireCharCode($RBRACE);\n\t this._endToken([], this._getLocation());\n\t this._attemptCharCodeUntilFn(isNotWhitespace);\n\t this._expansionCaseStack.pop();\n\t };\n\t _Tokenizer.prototype._consumeExpansionFormEnd = function () {\n\t this._beginToken(TokenType$1.EXPANSION_FORM_END, this._getLocation());\n\t this._requireCharCode($RBRACE);\n\t this._endToken([]);\n\t this._expansionCaseStack.pop();\n\t };\n\t _Tokenizer.prototype._consumeText = function () {\n\t var start = this._getLocation();\n\t this._beginToken(TokenType$1.TEXT, start);\n\t var parts = [];\n\t do {\n\t if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {\n\t parts.push(this._interpolationConfig.start);\n\t this._inInterpolation = true;\n\t }\n\t else if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.end) &&\n\t this._inInterpolation) {\n\t parts.push(this._interpolationConfig.end);\n\t this._inInterpolation = false;\n\t }\n\t else {\n\t parts.push(this._readChar(true));\n\t }\n\t } while (!this._isTextEnd());\n\t this._endToken([this._processCarriageReturns(parts.join(''))]);\n\t };\n\t _Tokenizer.prototype._isTextEnd = function () {\n\t if (this._peek === $LT || this._peek === $EOF) {\n\t return true;\n\t }\n\t if (this._tokenizeIcu && !this._inInterpolation) {\n\t if (isExpansionFormStart(this._input, this._index, this._interpolationConfig)) {\n\t // start of an expansion form\n\t return true;\n\t }\n\t if (this._peek === $RBRACE && this._isInExpansionCase()) {\n\t // end of and expansion case\n\t return true;\n\t }\n\t }\n\t return false;\n\t };\n\t _Tokenizer.prototype._savePosition = function () {\n\t return [this._peek, this._index, this._column, this._line, this.tokens.length];\n\t };\n\t _Tokenizer.prototype._readUntil = function (char) {\n\t var start = this._index;\n\t this._attemptUntilChar(char);\n\t return this._input.substring(start, this._index);\n\t };\n\t _Tokenizer.prototype._restorePosition = function (position) {\n\t this._peek = position[0];\n\t this._index = position[1];\n\t this._column = position[2];\n\t this._line = position[3];\n\t var nbTokens = position[4];\n\t if (nbTokens < this.tokens.length) {\n\t // remove any extra tokens\n\t this.tokens = this.tokens.slice(0, nbTokens);\n\t }\n\t };\n\t _Tokenizer.prototype._isInExpansionCase = function () {\n\t return this._expansionCaseStack.length > 0 &&\n\t this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n\t TokenType$1.EXPANSION_CASE_EXP_START;\n\t };\n\t _Tokenizer.prototype._isInExpansionForm = function () {\n\t return this._expansionCaseStack.length > 0 &&\n\t this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n\t TokenType$1.EXPANSION_FORM_START;\n\t };\n\t return _Tokenizer;\n\t }());\n\t function isNotWhitespace(code) {\n\t return !isWhitespace(code) || code === $EOF;\n\t }\n\t function isNameEnd(code) {\n\t return isWhitespace(code) || code === $GT || code === $SLASH ||\n\t code === $SQ || code === $DQ || code === $EQ;\n\t }\n\t function isPrefixEnd(code) {\n\t return (code < $a || $z < code) && (code < $A || $Z < code) &&\n\t (code < $0 || code > $9);\n\t }\n\t function isDigitEntityEnd(code) {\n\t return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\n\t }\n\t function isNamedEntityEnd(code) {\n\t return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\n\t }\n\t function isExpansionFormStart(input, offset, interpolationConfig) {\n\t var isInterpolationStart = interpolationConfig ? input.indexOf(interpolationConfig.start, offset) == offset : false;\n\t return input.charCodeAt(offset) == $LBRACE && !isInterpolationStart;\n\t }\n\t function isExpansionCaseStart(peek) {\n\t return peek === $EQ || isAsciiLetter(peek);\n\t }\n\t function compareCharCodeCaseInsensitive(code1, code2) {\n\t return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\n\t }\n\t function toUpperCaseCharCode(code) {\n\t return code >= $a && code <= $z ? code - $a + $A : code;\n\t }\n\t function mergeTextTokens(srcTokens) {\n\t var dstTokens = [];\n\t var lastDstToken;\n\t for (var i = 0; i < srcTokens.length; i++) {\n\t var token = srcTokens[i];\n\t if (lastDstToken && lastDstToken.type == TokenType$1.TEXT && token.type == TokenType$1.TEXT) {\n\t lastDstToken.parts[0] += token.parts[0];\n\t lastDstToken.sourceSpan.end = token.sourceSpan.end;\n\t }\n\t else {\n\t lastDstToken = token;\n\t dstTokens.push(lastDstToken);\n\t }\n\t }\n\t return dstTokens;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var TreeError = (function (_super) {\n\t __extends$2(TreeError, _super);\n\t function TreeError(elementName, span, msg) {\n\t _super.call(this, span, msg);\n\t this.elementName = elementName;\n\t }\n\t TreeError.create = function (elementName, span, msg) {\n\t return new TreeError(elementName, span, msg);\n\t };\n\t return TreeError;\n\t }(ParseError));\n\t var ParseTreeResult = (function () {\n\t function ParseTreeResult(rootNodes, errors) {\n\t this.rootNodes = rootNodes;\n\t this.errors = errors;\n\t }\n\t return ParseTreeResult;\n\t }());\n\t var Parser$1 = (function () {\n\t function Parser(getTagDefinition) {\n\t this.getTagDefinition = getTagDefinition;\n\t }\n\t Parser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n\t if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var tokensAndErrors = tokenize(source, url, this.getTagDefinition, parseExpansionForms, interpolationConfig);\n\t var treeAndErrors = new _TreeBuilder(tokensAndErrors.tokens, this.getTagDefinition).build();\n\t return new ParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n\t };\n\t return Parser;\n\t }());\n\t var _TreeBuilder = (function () {\n\t function _TreeBuilder(tokens, getTagDefinition) {\n\t this.tokens = tokens;\n\t this.getTagDefinition = getTagDefinition;\n\t this._index = -1;\n\t this._rootNodes = [];\n\t this._errors = [];\n\t this._elementStack = [];\n\t this._advance();\n\t }\n\t _TreeBuilder.prototype.build = function () {\n\t while (this._peek.type !== TokenType$1.EOF) {\n\t if (this._peek.type === TokenType$1.TAG_OPEN_START) {\n\t this._consumeStartTag(this._advance());\n\t }\n\t else if (this._peek.type === TokenType$1.TAG_CLOSE) {\n\t this._consumeEndTag(this._advance());\n\t }\n\t else if (this._peek.type === TokenType$1.CDATA_START) {\n\t this._closeVoidElement();\n\t this._consumeCdata(this._advance());\n\t }\n\t else if (this._peek.type === TokenType$1.COMMENT_START) {\n\t this._closeVoidElement();\n\t this._consumeComment(this._advance());\n\t }\n\t else if (this._peek.type === TokenType$1.TEXT || this._peek.type === TokenType$1.RAW_TEXT ||\n\t this._peek.type === TokenType$1.ESCAPABLE_RAW_TEXT) {\n\t this._closeVoidElement();\n\t this._consumeText(this._advance());\n\t }\n\t else if (this._peek.type === TokenType$1.EXPANSION_FORM_START) {\n\t this._consumeExpansion(this._advance());\n\t }\n\t else {\n\t // Skip all other tokens...\n\t this._advance();\n\t }\n\t }\n\t return new ParseTreeResult(this._rootNodes, this._errors);\n\t };\n\t _TreeBuilder.prototype._advance = function () {\n\t var prev = this._peek;\n\t if (this._index < this.tokens.length - 1) {\n\t // Note: there is always an EOF token at the end\n\t this._index++;\n\t }\n\t this._peek = this.tokens[this._index];\n\t return prev;\n\t };\n\t _TreeBuilder.prototype._advanceIf = function (type) {\n\t if (this._peek.type === type) {\n\t return this._advance();\n\t }\n\t return null;\n\t };\n\t _TreeBuilder.prototype._consumeCdata = function (startToken) {\n\t this._consumeText(this._advance());\n\t this._advanceIf(TokenType$1.CDATA_END);\n\t };\n\t _TreeBuilder.prototype._consumeComment = function (token) {\n\t var text = this._advanceIf(TokenType$1.RAW_TEXT);\n\t this._advanceIf(TokenType$1.COMMENT_END);\n\t var value = isPresent(text) ? text.parts[0].trim() : null;\n\t this._addToParent(new Comment(value, token.sourceSpan));\n\t };\n\t _TreeBuilder.prototype._consumeExpansion = function (token) {\n\t var switchValue = this._advance();\n\t var type = this._advance();\n\t var cases = [];\n\t // read =\n\t while (this._peek.type === TokenType$1.EXPANSION_CASE_VALUE) {\n\t var expCase = this._parseExpansionCase();\n\t if (!expCase)\n\t return; // error\n\t cases.push(expCase);\n\t }\n\t // read the final }\n\t if (this._peek.type !== TokenType$1.EXPANSION_FORM_END) {\n\t this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\t return;\n\t }\n\t var sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end);\n\t this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));\n\t this._advance();\n\t };\n\t _TreeBuilder.prototype._parseExpansionCase = function () {\n\t var value = this._advance();\n\t // read {\n\t if (this._peek.type !== TokenType$1.EXPANSION_CASE_EXP_START) {\n\t this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '{'.\"));\n\t return null;\n\t }\n\t // read until }\n\t var start = this._advance();\n\t var exp = this._collectExpansionExpTokens(start);\n\t if (!exp)\n\t return null;\n\t var end = this._advance();\n\t exp.push(new Token$1(TokenType$1.EOF, [], end.sourceSpan));\n\t // parse everything in between { and }\n\t var parsedExp = new _TreeBuilder(exp, this.getTagDefinition).build();\n\t if (parsedExp.errors.length > 0) {\n\t this._errors = this._errors.concat(parsedExp.errors);\n\t return null;\n\t }\n\t var sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\n\t var expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\n\t return new ExpansionCase(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n\t };\n\t _TreeBuilder.prototype._collectExpansionExpTokens = function (start) {\n\t var exp = [];\n\t var expansionFormStack = [TokenType$1.EXPANSION_CASE_EXP_START];\n\t while (true) {\n\t if (this._peek.type === TokenType$1.EXPANSION_FORM_START ||\n\t this._peek.type === TokenType$1.EXPANSION_CASE_EXP_START) {\n\t expansionFormStack.push(this._peek.type);\n\t }\n\t if (this._peek.type === TokenType$1.EXPANSION_CASE_EXP_END) {\n\t if (lastOnStack(expansionFormStack, TokenType$1.EXPANSION_CASE_EXP_START)) {\n\t expansionFormStack.pop();\n\t if (expansionFormStack.length == 0)\n\t return exp;\n\t }\n\t else {\n\t this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\t return null;\n\t }\n\t }\n\t if (this._peek.type === TokenType$1.EXPANSION_FORM_END) {\n\t if (lastOnStack(expansionFormStack, TokenType$1.EXPANSION_FORM_START)) {\n\t expansionFormStack.pop();\n\t }\n\t else {\n\t this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\t return null;\n\t }\n\t }\n\t if (this._peek.type === TokenType$1.EOF) {\n\t this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n\t return null;\n\t }\n\t exp.push(this._advance());\n\t }\n\t };\n\t _TreeBuilder.prototype._consumeText = function (token) {\n\t var text = token.parts[0];\n\t if (text.length > 0 && text[0] == '\\n') {\n\t var parent_1 = this._getParentElement();\n\t if (isPresent(parent_1) && parent_1.children.length == 0 &&\n\t this.getTagDefinition(parent_1.name).ignoreFirstLf) {\n\t text = text.substring(1);\n\t }\n\t }\n\t if (text.length > 0) {\n\t this._addToParent(new Text(text, token.sourceSpan));\n\t }\n\t };\n\t _TreeBuilder.prototype._closeVoidElement = function () {\n\t if (this._elementStack.length > 0) {\n\t var el = this._elementStack[this._elementStack.length - 1];\n\t if (this.getTagDefinition(el.name).isVoid) {\n\t this._elementStack.pop();\n\t }\n\t }\n\t };\n\t _TreeBuilder.prototype._consumeStartTag = function (startTagToken) {\n\t var prefix = startTagToken.parts[0];\n\t var name = startTagToken.parts[1];\n\t var attrs = [];\n\t while (this._peek.type === TokenType$1.ATTR_NAME) {\n\t attrs.push(this._consumeAttr(this._advance()));\n\t }\n\t var fullName = this._getElementFullName(prefix, name, this._getParentElement());\n\t var selfClosing = false;\n\t // Note: There could have been a tokenizer error\n\t // so that we don't get a token for the end tag...\n\t if (this._peek.type === TokenType$1.TAG_OPEN_END_VOID) {\n\t this._advance();\n\t selfClosing = true;\n\t var tagDef = this.getTagDefinition(fullName);\n\t if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {\n\t this._errors.push(TreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\" + startTagToken.parts[1] + \"\\\"\"));\n\t }\n\t }\n\t else if (this._peek.type === TokenType$1.TAG_OPEN_END) {\n\t this._advance();\n\t selfClosing = false;\n\t }\n\t var end = this._peek.sourceSpan.start;\n\t var span = new ParseSourceSpan(startTagToken.sourceSpan.start, end);\n\t var el = new Element(fullName, attrs, [], span, span, null);\n\t this._pushElement(el);\n\t if (selfClosing) {\n\t this._popElement(fullName);\n\t el.endSourceSpan = span;\n\t }\n\t };\n\t _TreeBuilder.prototype._pushElement = function (el) {\n\t if (this._elementStack.length > 0) {\n\t var parentEl = this._elementStack[this._elementStack.length - 1];\n\t if (this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n\t this._elementStack.pop();\n\t }\n\t }\n\t var tagDef = this.getTagDefinition(el.name);\n\t var _a = this._getParentElementSkippingContainers(), parent = _a.parent, container = _a.container;\n\t if (isPresent(parent) && tagDef.requireExtraParent(parent.name)) {\n\t var newParent = new Element(tagDef.parentToAdd, [], [], el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n\t this._insertBeforeContainer(parent, container, newParent);\n\t }\n\t this._addToParent(el);\n\t this._elementStack.push(el);\n\t };\n\t _TreeBuilder.prototype._consumeEndTag = function (endTagToken) {\n\t var fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n\t if (this._getParentElement()) {\n\t this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n\t }\n\t if (this.getTagDefinition(fullName).isVoid) {\n\t this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n\t }\n\t else if (!this._popElement(fullName)) {\n\t this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Unexpected closing tag \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n\t }\n\t };\n\t _TreeBuilder.prototype._popElement = function (fullName) {\n\t for (var stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n\t var el = this._elementStack[stackIndex];\n\t if (el.name == fullName) {\n\t this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);\n\t return true;\n\t }\n\t if (!this.getTagDefinition(el.name).closedByParent) {\n\t return false;\n\t }\n\t }\n\t return false;\n\t };\n\t _TreeBuilder.prototype._consumeAttr = function (attrName) {\n\t var fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);\n\t var end = attrName.sourceSpan.end;\n\t var value = '';\n\t var valueSpan;\n\t if (this._peek.type === TokenType$1.ATTR_VALUE) {\n\t var valueToken = this._advance();\n\t value = valueToken.parts[0];\n\t end = valueToken.sourceSpan.end;\n\t valueSpan = valueToken.sourceSpan;\n\t }\n\t return new Attribute$1(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, end), valueSpan);\n\t };\n\t _TreeBuilder.prototype._getParentElement = function () {\n\t return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;\n\t };\n\t /**\n\t * Returns the parent in the DOM and the container.\n\t *\n\t * `<ng-container>` elements are skipped as they are not rendered as DOM element.\n\t */\n\t _TreeBuilder.prototype._getParentElementSkippingContainers = function () {\n\t var container = null;\n\t for (var i = this._elementStack.length - 1; i >= 0; i--) {\n\t if (this._elementStack[i].name !== 'ng-container') {\n\t return { parent: this._elementStack[i], container: container };\n\t }\n\t container = this._elementStack[i];\n\t }\n\t return { parent: this._elementStack[this._elementStack.length - 1], container: container };\n\t };\n\t _TreeBuilder.prototype._addToParent = function (node) {\n\t var parent = this._getParentElement();\n\t if (isPresent(parent)) {\n\t parent.children.push(node);\n\t }\n\t else {\n\t this._rootNodes.push(node);\n\t }\n\t };\n\t /**\n\t * Insert a node between the parent and the container.\n\t * When no container is given, the node is appended as a child of the parent.\n\t * Also updates the element stack accordingly.\n\t *\n\t * @internal\n\t */\n\t _TreeBuilder.prototype._insertBeforeContainer = function (parent, container, node) {\n\t if (!container) {\n\t this._addToParent(node);\n\t this._elementStack.push(node);\n\t }\n\t else {\n\t if (parent) {\n\t // replace the container with the new node in the children\n\t var index = parent.children.indexOf(container);\n\t parent.children[index] = node;\n\t }\n\t else {\n\t this._rootNodes.push(node);\n\t }\n\t node.children.push(container);\n\t this._elementStack.splice(this._elementStack.indexOf(container), 0, node);\n\t }\n\t };\n\t _TreeBuilder.prototype._getElementFullName = function (prefix, localName, parentElement) {\n\t if (isBlank(prefix)) {\n\t prefix = this.getTagDefinition(localName).implicitNamespacePrefix;\n\t if (isBlank(prefix) && isPresent(parentElement)) {\n\t prefix = getNsPrefix(parentElement.name);\n\t }\n\t }\n\t return mergeNsAndName(prefix, localName);\n\t };\n\t return _TreeBuilder;\n\t }());\n\t function lastOnStack(stack, element) {\n\t return stack.length > 0 && stack[stack.length - 1] === element;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function digestMessage(message) {\n\t return sha1(serializeNodes(message.nodes).join('') + (\"[\" + message.meaning + \"]\"));\n\t }\n\t /**\n\t * Serialize the i18n ast to something xml-like in order to generate an UID.\n\t *\n\t * The visitor is also used in the i18n parser tests\n\t *\n\t * @internal\n\t */\n\t var _SerializerVisitor = (function () {\n\t function _SerializerVisitor() {\n\t }\n\t _SerializerVisitor.prototype.visitText = function (text, context) { return text.value; };\n\t _SerializerVisitor.prototype.visitContainer = function (container, context) {\n\t var _this = this;\n\t return \"[\" + container.children.map(function (child) { return child.visit(_this); }).join(', ') + \"]\";\n\t };\n\t _SerializerVisitor.prototype.visitIcu = function (icu, context) {\n\t var _this = this;\n\t var strCases = Object.keys(icu.cases).map(function (k) { return (k + \" {\" + icu.cases[k].visit(_this) + \"}\"); });\n\t return \"{\" + icu.expression + \", \" + icu.type + \", \" + strCases.join(', ') + \"}\";\n\t };\n\t _SerializerVisitor.prototype.visitTagPlaceholder = function (ph, context) {\n\t var _this = this;\n\t return ph.isVoid ?\n\t \"<ph tag name=\\\"\" + ph.startName + \"\\\"/>\" :\n\t \"<ph tag name=\\\"\" + ph.startName + \"\\\">\" + ph.children.map(function (child) { return child.visit(_this); }).join(', ') + \"</ph name=\\\"\" + ph.closeName + \"\\\">\";\n\t };\n\t _SerializerVisitor.prototype.visitPlaceholder = function (ph, context) {\n\t return \"<ph name=\\\"\" + ph.name + \"\\\">\" + ph.value + \"</ph>\";\n\t };\n\t _SerializerVisitor.prototype.visitIcuPlaceholder = function (ph, context) {\n\t return \"<ph icu name=\\\"\" + ph.name + \"\\\">\" + ph.value.visit(this) + \"</ph>\";\n\t };\n\t return _SerializerVisitor;\n\t }());\n\t var serializerVisitor = new _SerializerVisitor();\n\t function serializeNodes(nodes) {\n\t return nodes.map(function (a) { return a.visit(serializerVisitor, null); });\n\t }\n\t /**\n\t * Compute the SHA1 of the given string\n\t *\n\t * see http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf\n\t *\n\t * WARNING: this function has not been designed not tested with security in mind.\n\t * DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.\n\t */\n\t function sha1(str) {\n\t var utf8 = utf8Encode(str);\n\t var words32 = stringToWords32(utf8);\n\t var len = utf8.length * 8;\n\t var w = new Array(80);\n\t var _a = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0], a = _a[0], b = _a[1], c = _a[2], d = _a[3], e = _a[4];\n\t words32[len >> 5] |= 0x80 << (24 - len % 32);\n\t words32[((len + 64 >> 9) << 4) + 15] = len;\n\t for (var i = 0; i < words32.length; i += 16) {\n\t var _b = [a, b, c, d, e], h0 = _b[0], h1 = _b[1], h2 = _b[2], h3 = _b[3], h4 = _b[4];\n\t for (var j = 0; j < 80; j++) {\n\t if (j < 16) {\n\t w[j] = words32[i + j];\n\t }\n\t else {\n\t w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);\n\t }\n\t var _c = fk(j, b, c, d), f = _c[0], k = _c[1];\n\t var temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);\n\t _d = [d, c, rol32(b, 30), a, temp], e = _d[0], d = _d[1], c = _d[2], b = _d[3], a = _d[4];\n\t }\n\t _e = [add32(a, h0), add32(b, h1), add32(c, h2), add32(d, h3), add32(e, h4)], a = _e[0], b = _e[1], c = _e[2], d = _e[3], e = _e[4];\n\t }\n\t var sha1 = words32ToString([a, b, c, d, e]);\n\t var hex = '';\n\t for (var i = 0; i < sha1.length; i++) {\n\t var b_1 = sha1.charCodeAt(i);\n\t hex += (b_1 >>> 4 & 0x0f).toString(16) + (b_1 & 0x0f).toString(16);\n\t }\n\t return hex.toLowerCase();\n\t var _d, _e;\n\t }\n\t function utf8Encode(str) {\n\t var encoded = '';\n\t for (var index = 0; index < str.length; index++) {\n\t var codePoint = decodeSurrogatePairs(str, index);\n\t if (codePoint <= 0x7f) {\n\t encoded += String.fromCharCode(codePoint);\n\t }\n\t else if (codePoint <= 0x7ff) {\n\t encoded += String.fromCharCode(0xc0 | codePoint >>> 6, 0x80 | codePoint & 0x3f);\n\t }\n\t else if (codePoint <= 0xffff) {\n\t encoded += String.fromCharCode(0xe0 | codePoint >>> 12, 0x80 | codePoint >>> 6 & 0x3f, 0x80 | codePoint & 0x3f);\n\t }\n\t else if (codePoint <= 0x1fffff) {\n\t encoded += String.fromCharCode(0xf0 | codePoint >>> 18, 0x80 | codePoint >>> 12 & 0x3f, 0x80 | codePoint >>> 6 & 0x3f, 0x80 | codePoint & 0x3f);\n\t }\n\t }\n\t return encoded;\n\t }\n\t // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n\t function decodeSurrogatePairs(str, index) {\n\t if (index < 0 || index >= str.length) {\n\t throw new Error(\"index=\" + index + \" is out of range in \\\"\" + str + \"\\\"\");\n\t }\n\t var high = str.charCodeAt(index);\n\t var low;\n\t if (high >= 0xd800 && high <= 0xdfff && str.length > index + 1) {\n\t low = str.charCodeAt(index + 1);\n\t if (low >= 0xdc00 && low <= 0xdfff) {\n\t return (high - 0xd800) * 0x400 + low - 0xdc00 + 0x10000;\n\t }\n\t }\n\t return high;\n\t }\n\t function stringToWords32(str) {\n\t var words32 = Array(str.length >>> 2);\n\t for (var i = 0; i < words32.length; i++) {\n\t words32[i] = 0;\n\t }\n\t for (var i = 0; i < str.length; i++) {\n\t words32[i >>> 2] |= (str.charCodeAt(i) & 0xff) << 8 * (3 - i & 0x3);\n\t }\n\t return words32;\n\t }\n\t function words32ToString(words32) {\n\t var str = '';\n\t for (var i = 0; i < words32.length * 4; i++) {\n\t str += String.fromCharCode((words32[i >>> 2] >>> 8 * (3 - i & 0x3)) & 0xff);\n\t }\n\t return str;\n\t }\n\t function fk(index, b, c, d) {\n\t if (index < 20) {\n\t return [(b & c) | (~b & d), 0x5a827999];\n\t }\n\t if (index < 40) {\n\t return [b ^ c ^ d, 0x6ed9eba1];\n\t }\n\t if (index < 60) {\n\t return [(b & c) | (b & d) | (c & d), 0x8f1bbcdc];\n\t }\n\t return [b ^ c ^ d, 0xca62c1d6];\n\t }\n\t function add32(a, b) {\n\t var low = (a & 0xffff) + (b & 0xffff);\n\t var high = (a >> 16) + (b >> 16) + (low >> 16);\n\t return (high << 16) | (low & 0xffff);\n\t }\n\t function rol32(a, count) {\n\t return (a << count) | (a >>> (32 - count));\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var Message = (function () {\n\t /**\n\t * @param nodes message AST\n\t * @param placeholders maps placeholder names to static content\n\t * @param placeholderToMsgIds maps placeholder names to translatable message IDs (used for ICU\n\t * messages)\n\t * @param meaning\n\t * @param description\n\t */\n\t function Message(nodes, placeholders, placeholderToMsgIds, meaning, description) {\n\t this.nodes = nodes;\n\t this.placeholders = placeholders;\n\t this.placeholderToMsgIds = placeholderToMsgIds;\n\t this.meaning = meaning;\n\t this.description = description;\n\t }\n\t return Message;\n\t }());\n\t var Text$1 = (function () {\n\t function Text(value, sourceSpan) {\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Text.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n\t return Text;\n\t }());\n\t var Container = (function () {\n\t function Container(children, sourceSpan) {\n\t this.children = children;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Container.prototype.visit = function (visitor, context) { return visitor.visitContainer(this, context); };\n\t return Container;\n\t }());\n\t var Icu = (function () {\n\t function Icu(expression, type, cases, sourceSpan) {\n\t this.expression = expression;\n\t this.type = type;\n\t this.cases = cases;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Icu.prototype.visit = function (visitor, context) { return visitor.visitIcu(this, context); };\n\t return Icu;\n\t }());\n\t var TagPlaceholder = (function () {\n\t function TagPlaceholder(tag, attrs, startName, closeName, children, isVoid, sourceSpan) {\n\t this.tag = tag;\n\t this.attrs = attrs;\n\t this.startName = startName;\n\t this.closeName = closeName;\n\t this.children = children;\n\t this.isVoid = isVoid;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t TagPlaceholder.prototype.visit = function (visitor, context) { return visitor.visitTagPlaceholder(this, context); };\n\t return TagPlaceholder;\n\t }());\n\t var Placeholder = (function () {\n\t function Placeholder(value, name, sourceSpan) {\n\t if (name === void 0) { name = ''; }\n\t this.value = value;\n\t this.name = name;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Placeholder.prototype.visit = function (visitor, context) { return visitor.visitPlaceholder(this, context); };\n\t return Placeholder;\n\t }());\n\t var IcuPlaceholder = (function () {\n\t function IcuPlaceholder(value, name, sourceSpan) {\n\t if (name === void 0) { name = ''; }\n\t this.value = value;\n\t this.name = name;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t IcuPlaceholder.prototype.visit = function (visitor, context) { return visitor.visitIcuPlaceholder(this, context); };\n\t return IcuPlaceholder;\n\t }());\n\t\n\t var HtmlTagDefinition = (function () {\n\t function HtmlTagDefinition(_a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, closedByChildren = _b.closedByChildren, requiredParents = _b.requiredParents, implicitNamespacePrefix = _b.implicitNamespacePrefix, _c = _b.contentType, contentType = _c === void 0 ? TagContentType.PARSABLE_DATA : _c, _d = _b.closedByParent, closedByParent = _d === void 0 ? false : _d, _e = _b.isVoid, isVoid = _e === void 0 ? false : _e, _f = _b.ignoreFirstLf, ignoreFirstLf = _f === void 0 ? false : _f;\n\t this.closedByChildren = {};\n\t this.closedByParent = false;\n\t this.canSelfClose = false;\n\t if (closedByChildren && closedByChildren.length > 0) {\n\t closedByChildren.forEach(function (tagName) { return _this.closedByChildren[tagName] = true; });\n\t }\n\t this.isVoid = isVoid;\n\t this.closedByParent = closedByParent || isVoid;\n\t if (requiredParents && requiredParents.length > 0) {\n\t this.requiredParents = {};\n\t // The first parent is the list is automatically when none of the listed parents are present\n\t this.parentToAdd = requiredParents[0];\n\t requiredParents.forEach(function (tagName) { return _this.requiredParents[tagName] = true; });\n\t }\n\t this.implicitNamespacePrefix = implicitNamespacePrefix;\n\t this.contentType = contentType;\n\t this.ignoreFirstLf = ignoreFirstLf;\n\t }\n\t HtmlTagDefinition.prototype.requireExtraParent = function (currentParent) {\n\t if (!this.requiredParents) {\n\t return false;\n\t }\n\t if (!currentParent) {\n\t return true;\n\t }\n\t var lcParent = currentParent.toLowerCase();\n\t return this.requiredParents[lcParent] != true && lcParent != 'template';\n\t };\n\t HtmlTagDefinition.prototype.isClosedByChild = function (name) {\n\t return this.isVoid || name.toLowerCase() in this.closedByChildren;\n\t };\n\t return HtmlTagDefinition;\n\t }());\n\t // see http://www.w3.org/TR/html51/syntax.html#optional-tags\n\t // This implementation does not fully conform to the HTML5 spec.\n\t var TAG_DEFINITIONS = {\n\t 'base': new HtmlTagDefinition({ isVoid: true }),\n\t 'meta': new HtmlTagDefinition({ isVoid: true }),\n\t 'area': new HtmlTagDefinition({ isVoid: true }),\n\t 'embed': new HtmlTagDefinition({ isVoid: true }),\n\t 'link': new HtmlTagDefinition({ isVoid: true }),\n\t 'img': new HtmlTagDefinition({ isVoid: true }),\n\t 'input': new HtmlTagDefinition({ isVoid: true }),\n\t 'param': new HtmlTagDefinition({ isVoid: true }),\n\t 'hr': new HtmlTagDefinition({ isVoid: true }),\n\t 'br': new HtmlTagDefinition({ isVoid: true }),\n\t 'source': new HtmlTagDefinition({ isVoid: true }),\n\t 'track': new HtmlTagDefinition({ isVoid: true }),\n\t 'wbr': new HtmlTagDefinition({ isVoid: true }),\n\t 'p': new HtmlTagDefinition({\n\t closedByChildren: [\n\t 'address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form',\n\t 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr',\n\t 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'\n\t ],\n\t closedByParent: true\n\t }),\n\t 'thead': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'] }),\n\t 'tbody': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'], closedByParent: true }),\n\t 'tfoot': new HtmlTagDefinition({ closedByChildren: ['tbody'], closedByParent: true }),\n\t 'tr': new HtmlTagDefinition({\n\t closedByChildren: ['tr'],\n\t requiredParents: ['tbody', 'tfoot', 'thead'],\n\t closedByParent: true\n\t }),\n\t 'td': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n\t 'th': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n\t 'col': new HtmlTagDefinition({ requiredParents: ['colgroup'], isVoid: true }),\n\t 'svg': new HtmlTagDefinition({ implicitNamespacePrefix: 'svg' }),\n\t 'math': new HtmlTagDefinition({ implicitNamespacePrefix: 'math' }),\n\t 'li': new HtmlTagDefinition({ closedByChildren: ['li'], closedByParent: true }),\n\t 'dt': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'] }),\n\t 'dd': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'], closedByParent: true }),\n\t 'rb': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n\t 'rt': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n\t 'rtc': new HtmlTagDefinition({ closedByChildren: ['rb', 'rtc', 'rp'], closedByParent: true }),\n\t 'rp': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n\t 'optgroup': new HtmlTagDefinition({ closedByChildren: ['optgroup'], closedByParent: true }),\n\t 'option': new HtmlTagDefinition({ closedByChildren: ['option', 'optgroup'], closedByParent: true }),\n\t 'pre': new HtmlTagDefinition({ ignoreFirstLf: true }),\n\t 'listing': new HtmlTagDefinition({ ignoreFirstLf: true }),\n\t 'style': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n\t 'script': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n\t 'title': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT }),\n\t 'textarea': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }),\n\t };\n\t var _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\n\t function getHtmlTagDefinition(tagName) {\n\t return TAG_DEFINITIONS[tagName.toLowerCase()] || _DEFAULT_TAG_DEFINITION;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var TAG_TO_PLACEHOLDER_NAMES = {\n\t 'A': 'LINK',\n\t 'B': 'BOLD_TEXT',\n\t 'BR': 'LINE_BREAK',\n\t 'EM': 'EMPHASISED_TEXT',\n\t 'H1': 'HEADING_LEVEL1',\n\t 'H2': 'HEADING_LEVEL2',\n\t 'H3': 'HEADING_LEVEL3',\n\t 'H4': 'HEADING_LEVEL4',\n\t 'H5': 'HEADING_LEVEL5',\n\t 'H6': 'HEADING_LEVEL6',\n\t 'HR': 'HORIZONTAL_RULE',\n\t 'I': 'ITALIC_TEXT',\n\t 'LI': 'LIST_ITEM',\n\t 'LINK': 'MEDIA_LINK',\n\t 'OL': 'ORDERED_LIST',\n\t 'P': 'PARAGRAPH',\n\t 'Q': 'QUOTATION',\n\t 'S': 'STRIKETHROUGH_TEXT',\n\t 'SMALL': 'SMALL_TEXT',\n\t 'SUB': 'SUBSTRIPT',\n\t 'SUP': 'SUPERSCRIPT',\n\t 'TBODY': 'TABLE_BODY',\n\t 'TD': 'TABLE_CELL',\n\t 'TFOOT': 'TABLE_FOOTER',\n\t 'TH': 'TABLE_HEADER_CELL',\n\t 'THEAD': 'TABLE_HEADER',\n\t 'TR': 'TABLE_ROW',\n\t 'TT': 'MONOSPACED_TEXT',\n\t 'U': 'UNDERLINED_TEXT',\n\t 'UL': 'UNORDERED_LIST',\n\t };\n\t /**\n\t * Creates unique names for placeholder with different content\n\t *\n\t * @internal\n\t */\n\t var PlaceholderRegistry = (function () {\n\t function PlaceholderRegistry() {\n\t // Count the occurrence of the base name top generate a unique name\n\t this._placeHolderNameCounts = {};\n\t // Maps signature to placeholder names\n\t this._signatureToName = {};\n\t }\n\t PlaceholderRegistry.prototype.getStartTagPlaceholderName = function (tag, attrs, isVoid) {\n\t var signature = this._hashTag(tag, attrs, isVoid);\n\t if (this._signatureToName[signature]) {\n\t return this._signatureToName[signature];\n\t }\n\t var upperTag = tag.toUpperCase();\n\t var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\" + upperTag;\n\t var name = this._generateUniqueName(isVoid ? baseName : \"START_\" + baseName);\n\t this._signatureToName[signature] = name;\n\t return name;\n\t };\n\t PlaceholderRegistry.prototype.getCloseTagPlaceholderName = function (tag) {\n\t var signature = this._hashClosingTag(tag);\n\t if (this._signatureToName[signature]) {\n\t return this._signatureToName[signature];\n\t }\n\t var upperTag = tag.toUpperCase();\n\t var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\" + upperTag;\n\t var name = this._generateUniqueName(\"CLOSE_\" + baseName);\n\t this._signatureToName[signature] = name;\n\t return name;\n\t };\n\t PlaceholderRegistry.prototype.getPlaceholderName = function (name, content) {\n\t var upperName = name.toUpperCase();\n\t var signature = \"PH: \" + upperName + \"=\" + content;\n\t if (this._signatureToName[signature]) {\n\t return this._signatureToName[signature];\n\t }\n\t var uniqueName = this._generateUniqueName(upperName);\n\t this._signatureToName[signature] = uniqueName;\n\t return uniqueName;\n\t };\n\t // Generate a hash for a tag - does not take attribute order into account\n\t PlaceholderRegistry.prototype._hashTag = function (tag, attrs, isVoid) {\n\t var start = \"<\" + tag;\n\t var strAttrs = Object.keys(attrs).sort().map(function (name) { return (\" \" + name + \"=\" + attrs[name]); }).join('');\n\t var end = isVoid ? '/>' : \"></\" + tag + \">\";\n\t return start + strAttrs + end;\n\t };\n\t PlaceholderRegistry.prototype._hashClosingTag = function (tag) { return this._hashTag(\"/\" + tag, {}, false); };\n\t PlaceholderRegistry.prototype._generateUniqueName = function (base) {\n\t var name = base;\n\t var next = this._placeHolderNameCounts[name];\n\t if (!next) {\n\t next = 1;\n\t }\n\t else {\n\t name += \"_\" + next;\n\t next++;\n\t }\n\t this._placeHolderNameCounts[base] = next;\n\t return name;\n\t };\n\t return PlaceholderRegistry;\n\t }());\n\t\n\t var _expParser = new Parser(new Lexer());\n\t /**\n\t * Returns a function converting html nodes to an i18n Message given an interpolationConfig\n\t */\n\t function createI18nMessageFactory(interpolationConfig) {\n\t var visitor = new _I18nVisitor(_expParser, interpolationConfig);\n\t return function (nodes, meaning, description) {\n\t return visitor.toI18nMessage(nodes, meaning, description);\n\t };\n\t }\n\t var _I18nVisitor = (function () {\n\t function _I18nVisitor(_expressionParser, _interpolationConfig) {\n\t this._expressionParser = _expressionParser;\n\t this._interpolationConfig = _interpolationConfig;\n\t }\n\t _I18nVisitor.prototype.toI18nMessage = function (nodes, meaning, description) {\n\t this._isIcu = nodes.length == 1 && nodes[0] instanceof Expansion;\n\t this._icuDepth = 0;\n\t this._placeholderRegistry = new PlaceholderRegistry();\n\t this._placeholderToContent = {};\n\t this._placeholderToIds = {};\n\t var i18nodes = visitAll(this, nodes, {});\n\t return new Message(i18nodes, this._placeholderToContent, this._placeholderToIds, meaning, description);\n\t };\n\t _I18nVisitor.prototype.visitElement = function (el, context) {\n\t var children = visitAll(this, el.children);\n\t var attrs = {};\n\t el.attrs.forEach(function (attr) {\n\t // Do not visit the attributes, translatable ones are top-level ASTs\n\t attrs[attr.name] = attr.value;\n\t });\n\t var isVoid = getHtmlTagDefinition(el.name).isVoid;\n\t var startPhName = this._placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);\n\t this._placeholderToContent[startPhName] = el.sourceSpan.toString();\n\t var closePhName = '';\n\t if (!isVoid) {\n\t closePhName = this._placeholderRegistry.getCloseTagPlaceholderName(el.name);\n\t this._placeholderToContent[closePhName] = \"</\" + el.name + \">\";\n\t }\n\t return new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan);\n\t };\n\t _I18nVisitor.prototype.visitAttribute = function (attribute, context) {\n\t return this._visitTextWithInterpolation(attribute.value, attribute.sourceSpan);\n\t };\n\t _I18nVisitor.prototype.visitText = function (text, context) {\n\t return this._visitTextWithInterpolation(text.value, text.sourceSpan);\n\t };\n\t _I18nVisitor.prototype.visitComment = function (comment, context) { return null; };\n\t _I18nVisitor.prototype.visitExpansion = function (icu, context) {\n\t var _this = this;\n\t this._icuDepth++;\n\t var i18nIcuCases = {};\n\t var i18nIcu = new Icu(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);\n\t icu.cases.forEach(function (caze) {\n\t i18nIcuCases[caze.value] = new Container(caze.expression.map(function (node) { return node.visit(_this, {}); }), caze.expSourceSpan);\n\t });\n\t this._icuDepth--;\n\t if (this._isIcu || this._icuDepth > 0) {\n\t // If the message (vs a part of the message) is an ICU message returns it\n\t return i18nIcu;\n\t }\n\t // Else returns a placeholder\n\t // ICU placeholders should not be replaced with their original content but with the their\n\t // translations. We need to create a new visitor (they are not re-entrant) to compute the\n\t // message id.\n\t // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg\n\t var phName = this._placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());\n\t var visitor = new _I18nVisitor(this._expressionParser, this._interpolationConfig);\n\t this._placeholderToIds[phName] = digestMessage(visitor.toI18nMessage([icu], '', ''));\n\t return new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);\n\t };\n\t _I18nVisitor.prototype.visitExpansionCase = function (icuCase, context) {\n\t throw new Error('Unreachable code');\n\t };\n\t _I18nVisitor.prototype._visitTextWithInterpolation = function (text, sourceSpan) {\n\t var splitInterpolation = this._expressionParser.splitInterpolation(text, sourceSpan.start.toString(), this._interpolationConfig);\n\t if (!splitInterpolation) {\n\t // No expression, return a single text\n\t return new Text$1(text, sourceSpan);\n\t }\n\t // Return a group of text + expressions\n\t var nodes = [];\n\t var container = new Container(nodes, sourceSpan);\n\t var _a = this._interpolationConfig, sDelimiter = _a.start, eDelimiter = _a.end;\n\t for (var i = 0; i < splitInterpolation.strings.length - 1; i++) {\n\t var expression = splitInterpolation.expressions[i];\n\t var baseName = _extractPlaceholderName(expression) || 'INTERPOLATION';\n\t var phName = this._placeholderRegistry.getPlaceholderName(baseName, expression);\n\t if (splitInterpolation.strings[i].length) {\n\t // No need to add empty strings\n\t nodes.push(new Text$1(splitInterpolation.strings[i], sourceSpan));\n\t }\n\t nodes.push(new Placeholder(expression, phName, sourceSpan));\n\t this._placeholderToContent[phName] = sDelimiter + expression + eDelimiter;\n\t }\n\t // The last index contains no expression\n\t var lastStringIdx = splitInterpolation.strings.length - 1;\n\t if (splitInterpolation.strings[lastStringIdx].length) {\n\t nodes.push(new Text$1(splitInterpolation.strings[lastStringIdx], sourceSpan));\n\t }\n\t return container;\n\t };\n\t return _I18nVisitor;\n\t }());\n\t var _CUSTOM_PH_EXP = /\\/\\/[\\s\\S]*i18n[\\s\\S]*\\([\\s\\S]*ph[\\s\\S]*=[\\s\\S]*\"([\\s\\S]*?)\"[\\s\\S]*\\)/g;\n\t function _extractPlaceholderName(input) {\n\t return input.split(_CUSTOM_PH_EXP)[1];\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * An i18n error.\n\t */\n\t var I18nError = (function (_super) {\n\t __extends$4(I18nError, _super);\n\t function I18nError(span, msg) {\n\t _super.call(this, span, msg);\n\t }\n\t return I18nError;\n\t }(ParseError));\n\t\n\t var _I18N_ATTR = 'i18n';\n\t var _I18N_ATTR_PREFIX = 'i18n-';\n\t var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;\n\t /**\n\t * Extract translatable messages from an html AST\n\t */\n\t function extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {\n\t var visitor = new _Visitor(implicitTags, implicitAttrs);\n\t return visitor.extract(nodes, interpolationConfig);\n\t }\n\t function mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {\n\t var visitor = new _Visitor(implicitTags, implicitAttrs);\n\t return visitor.merge(nodes, translations, interpolationConfig);\n\t }\n\t var ExtractionResult = (function () {\n\t function ExtractionResult(messages, errors) {\n\t this.messages = messages;\n\t this.errors = errors;\n\t }\n\t return ExtractionResult;\n\t }());\n\t var _VisitorMode;\n\t (function (_VisitorMode) {\n\t _VisitorMode[_VisitorMode[\"Extract\"] = 0] = \"Extract\";\n\t _VisitorMode[_VisitorMode[\"Merge\"] = 1] = \"Merge\";\n\t })(_VisitorMode || (_VisitorMode = {}));\n\t /**\n\t * This Visitor is used:\n\t * 1. to extract all the translatable strings from an html AST (see `extract()`),\n\t * 2. to replace the translatable strings with the actual translations (see `merge()`)\n\t *\n\t * @internal\n\t */\n\t var _Visitor = (function () {\n\t function _Visitor(_implicitTags, _implicitAttrs) {\n\t this._implicitTags = _implicitTags;\n\t this._implicitAttrs = _implicitAttrs;\n\t }\n\t /**\n\t * Extracts the messages from the tree\n\t */\n\t _Visitor.prototype.extract = function (nodes, interpolationConfig) {\n\t var _this = this;\n\t this._init(_VisitorMode.Extract, interpolationConfig);\n\t nodes.forEach(function (node) { return node.visit(_this, null); });\n\t if (this._inI18nBlock) {\n\t this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n\t }\n\t return new ExtractionResult(this._messages, this._errors);\n\t };\n\t /**\n\t * Returns a tree where all translatable nodes are translated\n\t */\n\t _Visitor.prototype.merge = function (nodes, translations, interpolationConfig) {\n\t this._init(_VisitorMode.Merge, interpolationConfig);\n\t this._translations = translations;\n\t // Construct a single fake root element\n\t var wrapper = new Element('wrapper', [], nodes, null, null, null);\n\t var translatedNode = wrapper.visit(this, null);\n\t if (this._inI18nBlock) {\n\t this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n\t }\n\t return new ParseTreeResult(translatedNode.children, this._errors);\n\t };\n\t _Visitor.prototype.visitExpansionCase = function (icuCase, context) {\n\t // Parse cases for translatable html attributes\n\t var expression = visitAll(this, icuCase.expression, context);\n\t if (this._mode === _VisitorMode.Merge) {\n\t return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);\n\t }\n\t };\n\t _Visitor.prototype.visitExpansion = function (icu, context) {\n\t this._mayBeAddBlockChildren(icu);\n\t var wasInIcu = this._inIcu;\n\t if (!this._inIcu) {\n\t // nested ICU messages should not be extracted but top-level translated as a whole\n\t if (this._isInTranslatableSection) {\n\t this._addMessage([icu]);\n\t }\n\t this._inIcu = true;\n\t }\n\t var cases = visitAll(this, icu.cases, context);\n\t if (this._mode === _VisitorMode.Merge) {\n\t icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);\n\t }\n\t this._inIcu = wasInIcu;\n\t return icu;\n\t };\n\t _Visitor.prototype.visitComment = function (comment, context) {\n\t var isOpening = _isOpeningComment(comment);\n\t if (isOpening && this._isInTranslatableSection) {\n\t this._reportError(comment, 'Could not start a block inside a translatable section');\n\t return;\n\t }\n\t var isClosing = _isClosingComment(comment);\n\t if (isClosing && !this._inI18nBlock) {\n\t this._reportError(comment, 'Trying to close an unopened block');\n\t return;\n\t }\n\t if (!this._inI18nNode && !this._inIcu) {\n\t if (!this._inI18nBlock) {\n\t if (isOpening) {\n\t this._inI18nBlock = true;\n\t this._blockStartDepth = this._depth;\n\t this._blockChildren = [];\n\t this._blockMeaningAndDesc = comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();\n\t this._openTranslatableSection(comment);\n\t }\n\t }\n\t else {\n\t if (isClosing) {\n\t if (this._depth == this._blockStartDepth) {\n\t this._closeTranslatableSection(comment, this._blockChildren);\n\t this._inI18nBlock = false;\n\t var message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc);\n\t // merge attributes in sections\n\t var nodes = this._translateMessage(comment, message);\n\t return visitAll(this, nodes);\n\t }\n\t else {\n\t this._reportError(comment, 'I18N blocks should not cross element boundaries');\n\t return;\n\t }\n\t }\n\t }\n\t }\n\t };\n\t _Visitor.prototype.visitText = function (text, context) {\n\t if (this._isInTranslatableSection) {\n\t this._mayBeAddBlockChildren(text);\n\t }\n\t return text;\n\t };\n\t _Visitor.prototype.visitElement = function (el, context) {\n\t var _this = this;\n\t this._mayBeAddBlockChildren(el);\n\t this._depth++;\n\t var wasInI18nNode = this._inI18nNode;\n\t var wasInImplicitNode = this._inImplicitNode;\n\t var childNodes;\n\t // Extract only top level nodes with the (implicit) \"i18n\" attribute if not in a block or an ICU\n\t // message\n\t var i18nAttr = _getI18nAttr(el);\n\t var isImplicit = this._implicitTags.some(function (tag) { return el.name === tag; }) &&\n\t !this._inIcu && !this._isInTranslatableSection;\n\t var isTopLevelImplicit = !wasInImplicitNode && isImplicit;\n\t this._inImplicitNode = this._inImplicitNode || isImplicit;\n\t if (!this._isInTranslatableSection && !this._inIcu) {\n\t if (i18nAttr) {\n\t // explicit translation\n\t this._inI18nNode = true;\n\t var message = this._addMessage(el.children, i18nAttr.value);\n\t childNodes = this._translateMessage(el, message);\n\t }\n\t else if (isTopLevelImplicit) {\n\t // implicit translation\n\t this._inI18nNode = true;\n\t var message = this._addMessage(el.children);\n\t childNodes = this._translateMessage(el, message);\n\t }\n\t if (this._mode == _VisitorMode.Extract) {\n\t var isTranslatable = i18nAttr || isTopLevelImplicit;\n\t if (isTranslatable) {\n\t this._openTranslatableSection(el);\n\t }\n\t visitAll(this, el.children);\n\t if (isTranslatable) {\n\t this._closeTranslatableSection(el, el.children);\n\t }\n\t }\n\t if (this._mode === _VisitorMode.Merge && !i18nAttr && !isTopLevelImplicit) {\n\t childNodes = [];\n\t el.children.forEach(function (child) {\n\t var visited = child.visit(_this, context);\n\t if (visited && !_this._isInTranslatableSection) {\n\t // Do not add the children from translatable sections (= i18n blocks here)\n\t // They will be added when the section is close (i.e. on `<!-- /i18n -->`)\n\t childNodes = childNodes.concat(visited);\n\t }\n\t });\n\t }\n\t }\n\t else {\n\t if (i18nAttr || isTopLevelImplicit) {\n\t this._reportError(el, 'Could not mark an element as translatable inside a translatable section');\n\t }\n\t if (this._mode == _VisitorMode.Extract) {\n\t // Descend into child nodes for extraction\n\t visitAll(this, el.children);\n\t }\n\t if (this._mode == _VisitorMode.Merge) {\n\t // Translate attributes in ICU messages\n\t childNodes = [];\n\t el.children.forEach(function (child) {\n\t var visited = child.visit(_this, context);\n\t if (visited && !_this._isInTranslatableSection) {\n\t // Do not add the children from translatable sections (= i18n blocks here)\n\t // They will be added when the section is close (i.e. on `<!-- /i18n -->`)\n\t childNodes = childNodes.concat(visited);\n\t }\n\t });\n\t }\n\t }\n\t this._visitAttributesOf(el);\n\t this._depth--;\n\t this._inI18nNode = wasInI18nNode;\n\t this._inImplicitNode = wasInImplicitNode;\n\t if (this._mode === _VisitorMode.Merge) {\n\t // There are no childNodes in translatable sections - those nodes will be replace anyway\n\t var translatedAttrs = this._translateAttributes(el);\n\t return new Element(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n\t }\n\t };\n\t _Visitor.prototype.visitAttribute = function (attribute, context) {\n\t throw new Error('unreachable code');\n\t };\n\t _Visitor.prototype._init = function (mode, interpolationConfig) {\n\t this._mode = mode;\n\t this._inI18nBlock = false;\n\t this._inI18nNode = false;\n\t this._depth = 0;\n\t this._inIcu = false;\n\t this._msgCountAtSectionStart = void 0;\n\t this._errors = [];\n\t this._messages = [];\n\t this._inImplicitNode = false;\n\t this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n\t };\n\t // looks for translatable attributes\n\t _Visitor.prototype._visitAttributesOf = function (el) {\n\t var _this = this;\n\t var explicitAttrNameToValue = {};\n\t var implicitAttrNames = this._implicitAttrs[el.name] || [];\n\t el.attrs.filter(function (attr) { return attr.name.startsWith(_I18N_ATTR_PREFIX); })\n\t .forEach(function (attr) { return explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n\t attr.value; });\n\t el.attrs.forEach(function (attr) {\n\t if (attr.name in explicitAttrNameToValue) {\n\t _this._addMessage([attr], explicitAttrNameToValue[attr.name]);\n\t }\n\t else if (implicitAttrNames.some(function (name) { return attr.name === name; })) {\n\t _this._addMessage([attr]);\n\t }\n\t });\n\t };\n\t // add a translatable message\n\t _Visitor.prototype._addMessage = function (ast, meaningAndDesc) {\n\t if (ast.length == 0 ||\n\t ast.length == 1 && ast[0] instanceof Attribute$1 && !ast[0].value) {\n\t // Do not create empty messages\n\t return;\n\t }\n\t var _a = _splitMeaningAndDesc(meaningAndDesc), meaning = _a[0], description = _a[1];\n\t var message = this._createI18nMessage(ast, meaning, description);\n\t this._messages.push(message);\n\t return message;\n\t };\n\t // Translates the given message given the `TranslationBundle`\n\t // no-op when called in extraction mode (returns [])\n\t _Visitor.prototype._translateMessage = function (el, message) {\n\t if (message && this._mode === _VisitorMode.Merge) {\n\t var id = digestMessage(message);\n\t var nodes = this._translations.get(id);\n\t if (nodes) {\n\t return nodes;\n\t }\n\t this._reportError(el, \"Translation unavailable for message id=\\\"\" + id + \"\\\"\");\n\t }\n\t return [];\n\t };\n\t // translate the attributes of an element and remove i18n specific attributes\n\t _Visitor.prototype._translateAttributes = function (el) {\n\t var _this = this;\n\t var attributes = el.attrs;\n\t var i18nAttributeMeanings = {};\n\t attributes.forEach(function (attr) {\n\t if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n\t i18nAttributeMeanings[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n\t _splitMeaningAndDesc(attr.value)[0];\n\t }\n\t });\n\t var translatedAttributes = [];\n\t attributes.forEach(function (attr) {\n\t if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n\t // strip i18n specific attributes\n\t return;\n\t }\n\t if (attr.value && attr.value != '' && i18nAttributeMeanings.hasOwnProperty(attr.name)) {\n\t var meaning = i18nAttributeMeanings[attr.name];\n\t var message = _this._createI18nMessage([attr], meaning, '');\n\t var id = digestMessage(message);\n\t var nodes = _this._translations.get(id);\n\t if (nodes) {\n\t if (nodes[0] instanceof Text) {\n\t var value = nodes[0].value;\n\t translatedAttributes.push(new Attribute$1(attr.name, value, attr.sourceSpan));\n\t }\n\t else {\n\t _this._reportError(el, \"Unexpected translation for attribute \\\"\" + attr.name + \"\\\" (id=\\\"\" + id + \"\\\")\");\n\t }\n\t }\n\t else {\n\t _this._reportError(el, \"Translation unavailable for attribute \\\"\" + attr.name + \"\\\" (id=\\\"\" + id + \"\\\")\");\n\t }\n\t }\n\t else {\n\t translatedAttributes.push(attr);\n\t }\n\t });\n\t return translatedAttributes;\n\t };\n\t /**\n\t * Add the node as a child of the block when:\n\t * - we are in a block,\n\t * - we are not inside a ICU message (those are handled separately),\n\t * - the node is a \"direct child\" of the block\n\t */\n\t _Visitor.prototype._mayBeAddBlockChildren = function (node) {\n\t if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {\n\t this._blockChildren.push(node);\n\t }\n\t };\n\t /**\n\t * Marks the start of a section, see `_endSection`\n\t */\n\t _Visitor.prototype._openTranslatableSection = function (node) {\n\t if (this._isInTranslatableSection) {\n\t this._reportError(node, 'Unexpected section start');\n\t }\n\t else {\n\t this._msgCountAtSectionStart = this._messages.length;\n\t }\n\t };\n\t Object.defineProperty(_Visitor.prototype, \"_isInTranslatableSection\", {\n\t /**\n\t * A translatable section could be:\n\t * - a translatable element,\n\t * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments\n\t */\n\t get: function () {\n\t return this._msgCountAtSectionStart !== void 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Terminates a section.\n\t *\n\t * If a section has only one significant children (comments not significant) then we should not\n\t * keep the message from this children:\n\t *\n\t * `<p i18n=\"meaning|description\">{ICU message}</p>` would produce two messages:\n\t * - one for the <p> content with meaning and description,\n\t * - another one for the ICU message.\n\t *\n\t * In this case the last message is discarded as it contains less information (the AST is\n\t * otherwise identical).\n\t *\n\t * Note that we should still keep messages extracted from attributes inside the section (ie in the\n\t * ICU message here)\n\t */\n\t _Visitor.prototype._closeTranslatableSection = function (node, directChildren) {\n\t if (!this._isInTranslatableSection) {\n\t this._reportError(node, 'Unexpected section end');\n\t return;\n\t }\n\t var startIndex = this._msgCountAtSectionStart;\n\t var significantChildren = directChildren.reduce(function (count, node) { return count + (node instanceof Comment ? 0 : 1); }, 0);\n\t if (significantChildren == 1) {\n\t for (var i = this._messages.length - 1; i >= startIndex; i--) {\n\t var ast = this._messages[i].nodes;\n\t if (!(ast.length == 1 && ast[0] instanceof Text$1)) {\n\t this._messages.splice(i, 1);\n\t break;\n\t }\n\t }\n\t }\n\t this._msgCountAtSectionStart = void 0;\n\t };\n\t _Visitor.prototype._reportError = function (node, msg) {\n\t this._errors.push(new I18nError(node.sourceSpan, msg));\n\t };\n\t return _Visitor;\n\t }());\n\t function _isOpeningComment(n) {\n\t return n instanceof Comment && n.value && n.value.startsWith('i18n');\n\t }\n\t function _isClosingComment(n) {\n\t return n instanceof Comment && n.value && n.value === '/i18n';\n\t }\n\t function _getI18nAttr(p) {\n\t return p.attrs.find(function (attr) { return attr.name === _I18N_ATTR; }) || null;\n\t }\n\t function _splitMeaningAndDesc(i18n) {\n\t if (!i18n)\n\t return ['', ''];\n\t var pipeIndex = i18n.indexOf('|');\n\t return pipeIndex == -1 ? ['', i18n] : [i18n.slice(0, pipeIndex), i18n.slice(pipeIndex + 1)];\n\t }\n\t\n\t /**\n\t * A container for message extracted from the templates.\n\t */\n\t var MessageBundle = (function () {\n\t function MessageBundle(_htmlParser, _implicitTags, _implicitAttrs) {\n\t this._htmlParser = _htmlParser;\n\t this._implicitTags = _implicitTags;\n\t this._implicitAttrs = _implicitAttrs;\n\t this._messageMap = {};\n\t }\n\t MessageBundle.prototype.updateFromTemplate = function (html, url, interpolationConfig) {\n\t var _this = this;\n\t var htmlParserResult = this._htmlParser.parse(html, url, true, interpolationConfig);\n\t if (htmlParserResult.errors.length) {\n\t return htmlParserResult.errors;\n\t }\n\t var i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);\n\t if (i18nParserResult.errors.length) {\n\t return i18nParserResult.errors;\n\t }\n\t i18nParserResult.messages.forEach(function (message) { _this._messageMap[digestMessage(message)] = message; });\n\t };\n\t MessageBundle.prototype.getMessageMap = function () { return this._messageMap; };\n\t MessageBundle.prototype.write = function (serializer) { return serializer.write(this._messageMap); };\n\t return MessageBundle;\n\t }());\n\t\n\t var XmlTagDefinition = (function () {\n\t function XmlTagDefinition() {\n\t this.closedByParent = false;\n\t this.contentType = TagContentType.PARSABLE_DATA;\n\t this.isVoid = false;\n\t this.ignoreFirstLf = false;\n\t this.canSelfClose = true;\n\t }\n\t XmlTagDefinition.prototype.requireExtraParent = function (currentParent) { return false; };\n\t XmlTagDefinition.prototype.isClosedByChild = function (name) { return false; };\n\t return XmlTagDefinition;\n\t }());\n\t var _TAG_DEFINITION = new XmlTagDefinition();\n\t function getXmlTagDefinition(tagName) {\n\t return _TAG_DEFINITION;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var XmlParser = (function (_super) {\n\t __extends$5(XmlParser, _super);\n\t function XmlParser() {\n\t _super.call(this, getXmlTagDefinition);\n\t }\n\t XmlParser.prototype.parse = function (source, url, parseExpansionForms) {\n\t if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n\t return _super.prototype.parse.call(this, source, url, parseExpansionForms, null);\n\t };\n\t return XmlParser;\n\t }(Parser$1));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t // Generate a map of placeholder to content indexed by message ids\n\t function extractPlaceholders(messageBundle) {\n\t var messageMap = messageBundle.getMessageMap();\n\t var placeholders = {};\n\t Object.keys(messageMap).forEach(function (msgId) {\n\t placeholders[msgId] = messageMap[msgId].placeholders;\n\t });\n\t return placeholders;\n\t }\n\t // Generate a map of placeholder to message ids indexed by message ids\n\t function extractPlaceholderToIds(messageBundle) {\n\t var messageMap = messageBundle.getMessageMap();\n\t var placeholderToIds = {};\n\t Object.keys(messageMap).forEach(function (msgId) {\n\t placeholderToIds[msgId] = messageMap[msgId].placeholderToMsgIds;\n\t });\n\t return placeholderToIds;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$6 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _Visitor$1 = (function () {\n\t function _Visitor() {\n\t }\n\t _Visitor.prototype.visitTag = function (tag) {\n\t var _this = this;\n\t var strAttrs = this._serializeAttributes(tag.attrs);\n\t if (tag.children.length == 0) {\n\t return \"<\" + tag.name + strAttrs + \"/>\";\n\t }\n\t var strChildren = tag.children.map(function (node) { return node.visit(_this); });\n\t return \"<\" + tag.name + strAttrs + \">\" + strChildren.join('') + \"</\" + tag.name + \">\";\n\t };\n\t _Visitor.prototype.visitText = function (text) { return text.value; };\n\t _Visitor.prototype.visitDeclaration = function (decl) {\n\t return \"<?xml\" + this._serializeAttributes(decl.attrs) + \" ?>\";\n\t };\n\t _Visitor.prototype._serializeAttributes = function (attrs) {\n\t var strAttrs = Object.keys(attrs).map(function (name) { return (name + \"=\\\"\" + attrs[name] + \"\\\"\"); }).join(' ');\n\t return strAttrs.length > 0 ? ' ' + strAttrs : '';\n\t };\n\t _Visitor.prototype.visitDoctype = function (doctype) {\n\t return \"<!DOCTYPE \" + doctype.rootTag + \" [\\n\" + doctype.dtd + \"\\n]>\";\n\t };\n\t return _Visitor;\n\t }());\n\t var _visitor = new _Visitor$1();\n\t function serialize(nodes) {\n\t return nodes.map(function (node) { return node.visit(_visitor); }).join('');\n\t }\n\t var Declaration = (function () {\n\t function Declaration(unescapedAttrs) {\n\t var _this = this;\n\t this.attrs = {};\n\t Object.keys(unescapedAttrs).forEach(function (k) {\n\t _this.attrs[k] = _escapeXml(unescapedAttrs[k]);\n\t });\n\t }\n\t Declaration.prototype.visit = function (visitor) { return visitor.visitDeclaration(this); };\n\t return Declaration;\n\t }());\n\t var Doctype = (function () {\n\t function Doctype(rootTag, dtd) {\n\t this.rootTag = rootTag;\n\t this.dtd = dtd;\n\t }\n\t ;\n\t Doctype.prototype.visit = function (visitor) { return visitor.visitDoctype(this); };\n\t return Doctype;\n\t }());\n\t var Tag = (function () {\n\t function Tag(name, unescapedAttrs, children) {\n\t var _this = this;\n\t if (unescapedAttrs === void 0) { unescapedAttrs = {}; }\n\t if (children === void 0) { children = []; }\n\t this.name = name;\n\t this.children = children;\n\t this.attrs = {};\n\t Object.keys(unescapedAttrs).forEach(function (k) {\n\t _this.attrs[k] = _escapeXml(unescapedAttrs[k]);\n\t });\n\t }\n\t Tag.prototype.visit = function (visitor) { return visitor.visitTag(this); };\n\t return Tag;\n\t }());\n\t var Text$2 = (function () {\n\t function Text(unescapedValue) {\n\t this.value = _escapeXml(unescapedValue);\n\t }\n\t ;\n\t Text.prototype.visit = function (visitor) { return visitor.visitText(this); };\n\t return Text;\n\t }());\n\t var CR = (function (_super) {\n\t __extends$6(CR, _super);\n\t function CR(ws) {\n\t if (ws === void 0) { ws = 0; }\n\t _super.call(this, \"\\n\" + new Array(ws + 1).join(' '));\n\t }\n\t return CR;\n\t }(Text$2));\n\t var _ESCAPED_CHARS = [\n\t [/&/g, '&'],\n\t [/\"/g, '"'],\n\t [/'/g, '''],\n\t [/</g, '<'],\n\t [/>/g, '>'],\n\t ];\n\t function _escapeXml(text) {\n\t return _ESCAPED_CHARS.reduce(function (text, entry) { return text.replace(entry[0], entry[1]); }, text);\n\t }\n\t\n\t var _VERSION = '1.2';\n\t var _XMLNS = 'urn:oasis:names:tc:xliff:document:1.2';\n\t // TODO(vicb): make this a param (s/_/-/)\n\t var _SOURCE_LANG = 'en';\n\t var _PLACEHOLDER_TAG = 'x';\n\t var _SOURCE_TAG = 'source';\n\t var _TARGET_TAG = 'target';\n\t var _UNIT_TAG = 'trans-unit';\n\t // http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html\n\t // http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html\n\t var Xliff = (function () {\n\t function Xliff(_htmlParser, _interpolationConfig) {\n\t this._htmlParser = _htmlParser;\n\t this._interpolationConfig = _interpolationConfig;\n\t }\n\t Xliff.prototype.write = function (messageMap) {\n\t var visitor = new _WriteVisitor();\n\t var transUnits = [];\n\t Object.keys(messageMap).forEach(function (id) {\n\t var message = messageMap[id];\n\t var transUnit = new Tag(_UNIT_TAG, { id: id, datatype: 'html' });\n\t transUnit.children.push(new CR(8), new Tag(_SOURCE_TAG, {}, visitor.serialize(message.nodes)), new CR(8), new Tag(_TARGET_TAG));\n\t if (message.description) {\n\t transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'description' }, [new Text$2(message.description)]));\n\t }\n\t if (message.meaning) {\n\t transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'meaning' }, [new Text$2(message.meaning)]));\n\t }\n\t transUnit.children.push(new CR(6));\n\t transUnits.push(new CR(6), transUnit);\n\t });\n\t var body = new Tag('body', {}, transUnits.concat([new CR(4)]));\n\t var file = new Tag('file', { 'source-language': _SOURCE_LANG, datatype: 'plaintext', original: 'ng2.template' }, [new CR(4), body, new CR(2)]);\n\t var xliff = new Tag('xliff', { version: _VERSION, xmlns: _XMLNS }, [new CR(2), file, new CR()]);\n\t return serialize([\n\t new Declaration({ version: '1.0', encoding: 'UTF-8' }), new CR(), xliff, new CR()\n\t ]);\n\t };\n\t Xliff.prototype.load = function (content, url, messageBundle) {\n\t var _this = this;\n\t // Parse the xtb file into xml nodes\n\t var result = new XmlParser().parse(content, url);\n\t if (result.errors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + result.errors.join('\\n'));\n\t }\n\t // Replace the placeholders, messages are now string\n\t var _a = new _LoadVisitor().parse(result.rootNodes, messageBundle), messages = _a.messages, errors = _a.errors;\n\t if (errors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + errors.join('\\n'));\n\t }\n\t // Convert the string messages to html ast\n\t // TODO(vicb): map error message back to the original message in xtb\n\t var messageMap = {};\n\t var parseErrors = [];\n\t Object.keys(messages).forEach(function (id) {\n\t var res = _this._htmlParser.parse(messages[id], url, true, _this._interpolationConfig);\n\t parseErrors.push.apply(parseErrors, res.errors);\n\t messageMap[id] = res.rootNodes;\n\t });\n\t if (parseErrors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + parseErrors.join('\\n'));\n\t }\n\t return messageMap;\n\t };\n\t return Xliff;\n\t }());\n\t var _WriteVisitor = (function () {\n\t function _WriteVisitor() {\n\t }\n\t _WriteVisitor.prototype.visitText = function (text, context) { return [new Text$2(text.value)]; };\n\t _WriteVisitor.prototype.visitContainer = function (container, context) {\n\t var _this = this;\n\t var nodes = [];\n\t container.children.forEach(function (node) { return nodes.push.apply(nodes, node.visit(_this)); });\n\t return nodes;\n\t };\n\t _WriteVisitor.prototype.visitIcu = function (icu, context) {\n\t if (this._isInIcu) {\n\t // nested ICU is not supported\n\t throw new Error('xliff does not support nested ICU messages');\n\t }\n\t this._isInIcu = true;\n\t // TODO(vicb): support ICU messages\n\t // https://lists.oasis-open.org/archives/xliff/201201/msg00028.html\n\t // http://docs.oasis-open.org/xliff/v1.2/xliff-profile-po/xliff-profile-po-1.2-cd02.html\n\t var nodes = [];\n\t this._isInIcu = false;\n\t return nodes;\n\t };\n\t _WriteVisitor.prototype.visitTagPlaceholder = function (ph, context) {\n\t var ctype = getCtypeForTag(ph.tag);\n\t var startTagPh = new Tag(_PLACEHOLDER_TAG, { id: ph.startName, ctype: ctype });\n\t if (ph.isVoid) {\n\t // void tags have no children nor closing tags\n\t return [startTagPh];\n\t }\n\t var closeTagPh = new Tag(_PLACEHOLDER_TAG, { id: ph.closeName, ctype: ctype });\n\t return [startTagPh].concat(this.serialize(ph.children), [closeTagPh]);\n\t };\n\t _WriteVisitor.prototype.visitPlaceholder = function (ph, context) {\n\t return [new Tag(_PLACEHOLDER_TAG, { id: ph.name })];\n\t };\n\t _WriteVisitor.prototype.visitIcuPlaceholder = function (ph, context) {\n\t return [new Tag(_PLACEHOLDER_TAG, { id: ph.name })];\n\t };\n\t _WriteVisitor.prototype.serialize = function (nodes) {\n\t var _this = this;\n\t this._isInIcu = false;\n\t return (_a = []).concat.apply(_a, nodes.map(function (node) { return node.visit(_this); }));\n\t var _a;\n\t };\n\t return _WriteVisitor;\n\t }());\n\t // TODO(vicb): add error management (structure)\n\t // TODO(vicb): factorize (xtb) ?\n\t var _LoadVisitor = (function () {\n\t function _LoadVisitor() {\n\t }\n\t _LoadVisitor.prototype.parse = function (nodes, messageBundle) {\n\t var _this = this;\n\t this._messageNodes = [];\n\t this._translatedMessages = {};\n\t this._msgId = '';\n\t this._target = [];\n\t this._errors = [];\n\t // Find all messages\n\t visitAll(this, nodes, null);\n\t var messageMap = messageBundle.getMessageMap();\n\t var placeholders = extractPlaceholders(messageBundle);\n\t var placeholderToIds = extractPlaceholderToIds(messageBundle);\n\t this._messageNodes\n\t .filter(function (message) {\n\t // Remove any messages that is not present in the source message bundle.\n\t return messageMap.hasOwnProperty(message[0]);\n\t })\n\t .sort(function (a, b) {\n\t // Because there could be no ICU placeholders inside an ICU message,\n\t // we do not need to take into account the `placeholderToMsgIds` of the referenced\n\t // messages, those would always be empty\n\t // TODO(vicb): overkill - create 2 buckets and [...woDeps, ...wDeps].process()\n\t if (Object.keys(messageMap[a[0]].placeholderToMsgIds).length == 0) {\n\t return -1;\n\t }\n\t if (Object.keys(messageMap[b[0]].placeholderToMsgIds).length == 0) {\n\t return 1;\n\t }\n\t return 0;\n\t })\n\t .forEach(function (message) {\n\t var id = message[0];\n\t _this._placeholders = placeholders[id] || {};\n\t _this._placeholderToIds = placeholderToIds[id] || {};\n\t // TODO(vicb): make sure there is no `_TRANSLATIONS_TAG` nor `_TRANSLATION_TAG`\n\t _this._translatedMessages[id] = visitAll(_this, message[1]).join('');\n\t });\n\t return { messages: this._translatedMessages, errors: this._errors };\n\t };\n\t _LoadVisitor.prototype.visitElement = function (element, context) {\n\t switch (element.name) {\n\t case _UNIT_TAG:\n\t this._target = null;\n\t var msgId = element.attrs.find(function (attr) { return attr.name === 'id'; });\n\t if (!msgId) {\n\t this._addError(element, \"<\" + _UNIT_TAG + \"> misses the \\\"id\\\" attribute\");\n\t }\n\t else {\n\t this._msgId = msgId.value;\n\t }\n\t visitAll(this, element.children, null);\n\t if (this._msgId !== null) {\n\t this._messageNodes.push([this._msgId, this._target]);\n\t }\n\t break;\n\t case _SOURCE_TAG:\n\t // ignore source message\n\t break;\n\t case _TARGET_TAG:\n\t this._target = element.children;\n\t break;\n\t case _PLACEHOLDER_TAG:\n\t var idAttr = element.attrs.find(function (attr) { return attr.name === 'id'; });\n\t if (!idAttr) {\n\t this._addError(element, \"<\" + _PLACEHOLDER_TAG + \"> misses the \\\"id\\\" attribute\");\n\t }\n\t else {\n\t var id = idAttr.value;\n\t if (this._placeholders.hasOwnProperty(id)) {\n\t return this._placeholders[id];\n\t }\n\t if (this._placeholderToIds.hasOwnProperty(id) &&\n\t this._translatedMessages.hasOwnProperty(this._placeholderToIds[id])) {\n\t return this._translatedMessages[this._placeholderToIds[id]];\n\t }\n\t // TODO(vicb): better error message for when\n\t // !this._translatedMessages.hasOwnProperty(this._placeholderToIds[id])\n\t this._addError(element, \"The placeholder \\\"\" + id + \"\\\" does not exists in the source message\");\n\t }\n\t break;\n\t default:\n\t visitAll(this, element.children, null);\n\t }\n\t };\n\t _LoadVisitor.prototype.visitAttribute = function (attribute, context) {\n\t throw new Error('unreachable code');\n\t };\n\t _LoadVisitor.prototype.visitText = function (text, context) { return text.value; };\n\t _LoadVisitor.prototype.visitComment = function (comment, context) { return ''; };\n\t _LoadVisitor.prototype.visitExpansion = function (expansion, context) {\n\t throw new Error('unreachable code');\n\t };\n\t _LoadVisitor.prototype.visitExpansionCase = function (expansionCase, context) {\n\t throw new Error('unreachable code');\n\t };\n\t _LoadVisitor.prototype._addError = function (node, message) {\n\t this._errors.push(new I18nError(node.sourceSpan, message));\n\t };\n\t return _LoadVisitor;\n\t }());\n\t function getCtypeForTag(tag) {\n\t switch (tag.toLowerCase()) {\n\t case 'br':\n\t return 'lb';\n\t case 'img':\n\t return 'image';\n\t default:\n\t return \"x-\" + tag;\n\t }\n\t }\n\t\n\t var _MESSAGES_TAG = 'messagebundle';\n\t var _MESSAGE_TAG = 'msg';\n\t var _PLACEHOLDER_TAG$1 = 'ph';\n\t var _EXEMPLE_TAG = 'ex';\n\t var _DOCTYPE = \"<!ELEMENT messagebundle (msg)*>\\n<!ATTLIST messagebundle class CDATA #IMPLIED>\\n\\n<!ELEMENT msg (#PCDATA|ph|source)*>\\n<!ATTLIST msg id CDATA #IMPLIED>\\n<!ATTLIST msg seq CDATA #IMPLIED>\\n<!ATTLIST msg name CDATA #IMPLIED>\\n<!ATTLIST msg desc CDATA #IMPLIED>\\n<!ATTLIST msg meaning CDATA #IMPLIED>\\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\\n<!ATTLIST msg xml:space (default|preserve) \\\"default\\\">\\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\\n\\n<!ELEMENT source (#PCDATA)>\\n\\n<!ELEMENT ph (#PCDATA|ex)*>\\n<!ATTLIST ph name CDATA #REQUIRED>\\n\\n<!ELEMENT ex (#PCDATA)>\";\n\t var Xmb = (function () {\n\t function Xmb() {\n\t }\n\t Xmb.prototype.write = function (messageMap) {\n\t var visitor = new _Visitor$2();\n\t var rootNode = new Tag(_MESSAGES_TAG);\n\t Object.keys(messageMap).forEach(function (id) {\n\t var message = messageMap[id];\n\t var attrs = { id: id };\n\t if (message.description) {\n\t attrs['desc'] = message.description;\n\t }\n\t if (message.meaning) {\n\t attrs['meaning'] = message.meaning;\n\t }\n\t rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, visitor.serialize(message.nodes)));\n\t });\n\t rootNode.children.push(new CR());\n\t return serialize([\n\t new Declaration({ version: '1.0', encoding: 'UTF-8' }),\n\t new CR(),\n\t new Doctype(_MESSAGES_TAG, _DOCTYPE),\n\t new CR(),\n\t rootNode,\n\t new CR(),\n\t ]);\n\t };\n\t Xmb.prototype.load = function (content, url, messageBundle) {\n\t throw new Error('Unsupported');\n\t };\n\t return Xmb;\n\t }());\n\t var _Visitor$2 = (function () {\n\t function _Visitor() {\n\t }\n\t _Visitor.prototype.visitText = function (text, context) { return [new Text$2(text.value)]; };\n\t _Visitor.prototype.visitContainer = function (container, context) {\n\t var _this = this;\n\t var nodes = [];\n\t container.children.forEach(function (node) { return nodes.push.apply(nodes, node.visit(_this)); });\n\t return nodes;\n\t };\n\t _Visitor.prototype.visitIcu = function (icu, context) {\n\t var _this = this;\n\t var nodes = [new Text$2(\"{\" + icu.expression + \", \" + icu.type + \", \")];\n\t Object.keys(icu.cases).forEach(function (c) {\n\t nodes.push.apply(nodes, [new Text$2(c + \" {\")].concat(icu.cases[c].visit(_this), [new Text$2(\"} \")]));\n\t });\n\t nodes.push(new Text$2(\"}\"));\n\t return nodes;\n\t };\n\t _Visitor.prototype.visitTagPlaceholder = function (ph, context) {\n\t var startEx = new Tag(_EXEMPLE_TAG, {}, [new Text$2(\"<\" + ph.tag + \">\")]);\n\t var startTagPh = new Tag(_PLACEHOLDER_TAG$1, { name: ph.startName }, [startEx]);\n\t if (ph.isVoid) {\n\t // void tags have no children nor closing tags\n\t return [startTagPh];\n\t }\n\t var closeEx = new Tag(_EXEMPLE_TAG, {}, [new Text$2(\"</\" + ph.tag + \">\")]);\n\t var closeTagPh = new Tag(_PLACEHOLDER_TAG$1, { name: ph.closeName }, [closeEx]);\n\t return [startTagPh].concat(this.serialize(ph.children), [closeTagPh]);\n\t };\n\t _Visitor.prototype.visitPlaceholder = function (ph, context) {\n\t return [new Tag(_PLACEHOLDER_TAG$1, { name: ph.name })];\n\t };\n\t _Visitor.prototype.visitIcuPlaceholder = function (ph, context) {\n\t return [new Tag(_PLACEHOLDER_TAG$1, { name: ph.name })];\n\t };\n\t _Visitor.prototype.serialize = function (nodes) {\n\t var _this = this;\n\t return (_a = []).concat.apply(_a, nodes.map(function (node) { return node.visit(_this); }));\n\t var _a;\n\t };\n\t return _Visitor;\n\t }());\n\t\n\t var _TRANSLATIONS_TAG = 'translationbundle';\n\t var _TRANSLATION_TAG = 'translation';\n\t var _PLACEHOLDER_TAG$2 = 'ph';\n\t var Xtb = (function () {\n\t function Xtb(_htmlParser, _interpolationConfig) {\n\t this._htmlParser = _htmlParser;\n\t this._interpolationConfig = _interpolationConfig;\n\t }\n\t Xtb.prototype.write = function (messageMap) { throw new Error('Unsupported'); };\n\t Xtb.prototype.load = function (content, url, messageBundle) {\n\t var _this = this;\n\t // Parse the xtb file into xml nodes\n\t var result = new XmlParser().parse(content, url);\n\t if (result.errors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + result.errors.join('\\n'));\n\t }\n\t // Replace the placeholders, messages are now string\n\t var _a = new _Visitor$3().parse(result.rootNodes, messageBundle), messages = _a.messages, errors = _a.errors;\n\t if (errors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + errors.join('\\n'));\n\t }\n\t // Convert the string messages to html ast\n\t // TODO(vicb): map error message back to the original message in xtb\n\t var messageMap = {};\n\t var parseErrors = [];\n\t Object.keys(messages).forEach(function (id) {\n\t var res = _this._htmlParser.parse(messages[id], url, true, _this._interpolationConfig);\n\t parseErrors.push.apply(parseErrors, res.errors);\n\t messageMap[id] = res.rootNodes;\n\t });\n\t if (parseErrors.length) {\n\t throw new Error(\"xtb parse errors:\\n\" + parseErrors.join('\\n'));\n\t }\n\t return messageMap;\n\t };\n\t return Xtb;\n\t }());\n\t var _Visitor$3 = (function () {\n\t function _Visitor() {\n\t }\n\t _Visitor.prototype.parse = function (nodes, messageBundle) {\n\t var _this = this;\n\t this._messageNodes = [];\n\t this._translatedMessages = {};\n\t this._bundleDepth = 0;\n\t this._translationDepth = 0;\n\t this._errors = [];\n\t // Find all messages\n\t visitAll(this, nodes, null);\n\t var messageMap = messageBundle.getMessageMap();\n\t var placeholders = extractPlaceholders(messageBundle);\n\t var placeholderToIds = extractPlaceholderToIds(messageBundle);\n\t this._messageNodes\n\t .filter(function (message) {\n\t // Remove any messages that is not present in the source message bundle.\n\t return messageMap.hasOwnProperty(message[0]);\n\t })\n\t .sort(function (a, b) {\n\t // Because there could be no ICU placeholders inside an ICU message,\n\t // we do not need to take into account the `placeholderToMsgIds` of the referenced\n\t // messages, those would always be empty\n\t // TODO(vicb): overkill - create 2 buckets and [...woDeps, ...wDeps].process()\n\t if (Object.keys(messageMap[a[0]].placeholderToMsgIds).length == 0) {\n\t return -1;\n\t }\n\t if (Object.keys(messageMap[b[0]].placeholderToMsgIds).length == 0) {\n\t return 1;\n\t }\n\t return 0;\n\t })\n\t .forEach(function (message) {\n\t var id = message[0];\n\t _this._placeholders = placeholders[id] || {};\n\t _this._placeholderToIds = placeholderToIds[id] || {};\n\t // TODO(vicb): make sure there is no `_TRANSLATIONS_TAG` nor `_TRANSLATION_TAG`\n\t _this._translatedMessages[id] = visitAll(_this, message[1]).join('');\n\t });\n\t return { messages: this._translatedMessages, errors: this._errors };\n\t };\n\t _Visitor.prototype.visitElement = function (element, context) {\n\t switch (element.name) {\n\t case _TRANSLATIONS_TAG:\n\t this._bundleDepth++;\n\t if (this._bundleDepth > 1) {\n\t this._addError(element, \"<\" + _TRANSLATIONS_TAG + \"> elements can not be nested\");\n\t }\n\t visitAll(this, element.children, null);\n\t this._bundleDepth--;\n\t break;\n\t case _TRANSLATION_TAG:\n\t this._translationDepth++;\n\t if (this._translationDepth > 1) {\n\t this._addError(element, \"<\" + _TRANSLATION_TAG + \"> elements can not be nested\");\n\t }\n\t var idAttr = element.attrs.find(function (attr) { return attr.name === 'id'; });\n\t if (!idAttr) {\n\t this._addError(element, \"<\" + _TRANSLATION_TAG + \"> misses the \\\"id\\\" attribute\");\n\t }\n\t else {\n\t // ICU placeholders are reference to other messages.\n\t // The referenced message might not have been decoded yet.\n\t // We need to have all messages available to make sure deps are decoded first.\n\t // TODO(vicb): report an error on duplicate id\n\t this._messageNodes.push([idAttr.value, element.children]);\n\t }\n\t this._translationDepth--;\n\t break;\n\t case _PLACEHOLDER_TAG$2:\n\t var nameAttr = element.attrs.find(function (attr) { return attr.name === 'name'; });\n\t if (!nameAttr) {\n\t this._addError(element, \"<\" + _PLACEHOLDER_TAG$2 + \"> misses the \\\"name\\\" attribute\");\n\t }\n\t else {\n\t var name_1 = nameAttr.value;\n\t if (this._placeholders.hasOwnProperty(name_1)) {\n\t return this._placeholders[name_1];\n\t }\n\t if (this._placeholderToIds.hasOwnProperty(name_1) &&\n\t this._translatedMessages.hasOwnProperty(this._placeholderToIds[name_1])) {\n\t return this._translatedMessages[this._placeholderToIds[name_1]];\n\t }\n\t // TODO(vicb): better error message for when\n\t // !this._translatedMessages.hasOwnProperty(this._placeholderToIds[name])\n\t this._addError(element, \"The placeholder \\\"\" + name_1 + \"\\\" does not exists in the source message\");\n\t }\n\t break;\n\t default:\n\t this._addError(element, 'Unexpected tag');\n\t }\n\t };\n\t _Visitor.prototype.visitAttribute = function (attribute, context) {\n\t throw new Error('unreachable code');\n\t };\n\t _Visitor.prototype.visitText = function (text, context) { return text.value; };\n\t _Visitor.prototype.visitComment = function (comment, context) { return ''; };\n\t _Visitor.prototype.visitExpansion = function (expansion, context) {\n\t var _this = this;\n\t var strCases = expansion.cases.map(function (c) { return c.visit(_this, null); });\n\t return \"{\" + expansion.switchValue + \", \" + expansion.type + \", strCases.join(' ')}\";\n\t };\n\t _Visitor.prototype.visitExpansionCase = function (expansionCase, context) {\n\t return expansionCase.value + \" {\" + visitAll(this, expansionCase.expression, null) + \"}\";\n\t };\n\t _Visitor.prototype._addError = function (node, message) {\n\t this._errors.push(new I18nError(node.sourceSpan, message));\n\t };\n\t return _Visitor;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * A container for translated messages\n\t */\n\t var TranslationBundle = (function () {\n\t function TranslationBundle(_messageMap) {\n\t if (_messageMap === void 0) { _messageMap = {}; }\n\t this._messageMap = _messageMap;\n\t }\n\t TranslationBundle.load = function (content, url, messageBundle, serializer) {\n\t return new TranslationBundle(serializer.load(content, url, messageBundle));\n\t };\n\t TranslationBundle.prototype.get = function (id) { return this._messageMap[id]; };\n\t TranslationBundle.prototype.has = function (id) { return id in this._messageMap; };\n\t return TranslationBundle;\n\t }());\n\t\n\t var I18NHtmlParser = (function () {\n\t // TODO(vicb): transB.load() should not need a msgB & add transB.resolve(msgB,\n\t // interpolationConfig)\n\t // TODO(vicb): remove the interpolationConfig from the Xtb serializer\n\t function I18NHtmlParser(_htmlParser, _translations, _translationsFormat) {\n\t this._htmlParser = _htmlParser;\n\t this._translations = _translations;\n\t this._translationsFormat = _translationsFormat;\n\t }\n\t I18NHtmlParser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n\t if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t var parseResult = this._htmlParser.parse(source, url, parseExpansionForms, interpolationConfig);\n\t if (!this._translations || this._translations === '') {\n\t // Do not enable i18n when no translation bundle is provided\n\t return parseResult;\n\t }\n\t // TODO(vicb): add support for implicit tags / attributes\n\t var messageBundle = new MessageBundle(this._htmlParser, [], {});\n\t var errors = messageBundle.updateFromTemplate(source, url, interpolationConfig);\n\t if (errors && errors.length) {\n\t return new ParseTreeResult(parseResult.rootNodes, parseResult.errors.concat(errors));\n\t }\n\t var serializer = this._createSerializer(interpolationConfig);\n\t var translationBundle = TranslationBundle.load(this._translations, url, messageBundle, serializer);\n\t return mergeTranslations(parseResult.rootNodes, translationBundle, interpolationConfig, [], {});\n\t };\n\t I18NHtmlParser.prototype._createSerializer = function (interpolationConfig) {\n\t var format = (this._translationsFormat || 'xlf').toLowerCase();\n\t switch (format) {\n\t case 'xmb':\n\t return new Xmb();\n\t case 'xtb':\n\t return new Xtb(this._htmlParser, interpolationConfig);\n\t case 'xliff':\n\t case 'xlf':\n\t default:\n\t return new Xliff(this._htmlParser, interpolationConfig);\n\t }\n\t };\n\t return I18NHtmlParser;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function isStaticSymbol(value) {\n\t return typeof value === 'object' && value !== null && value['name'] && value['filePath'];\n\t }\n\t /**\n\t * A token representing the a reference to a static type.\n\t *\n\t * This token is unique for a filePath and name and can be used as a hash table key.\n\t */\n\t var StaticSymbol = (function () {\n\t function StaticSymbol(filePath, name, members) {\n\t this.filePath = filePath;\n\t this.name = name;\n\t this.members = members;\n\t }\n\t return StaticSymbol;\n\t }());\n\t\n\t /**\n\t * Wraps Javascript Objects\n\t */\n\t var StringMapWrapper = (function () {\n\t function StringMapWrapper() {\n\t }\n\t StringMapWrapper.merge = function (m1, m2) {\n\t var m = {};\n\t for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n\t var k = _a[_i];\n\t m[k] = m1[k];\n\t }\n\t for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n\t var k = _c[_b];\n\t m[k] = m2[k];\n\t }\n\t return m;\n\t };\n\t StringMapWrapper.equals = function (m1, m2) {\n\t var k1 = Object.keys(m1);\n\t var k2 = Object.keys(m2);\n\t if (k1.length != k2.length) {\n\t return false;\n\t }\n\t for (var i = 0; i < k1.length; i++) {\n\t var key = k1[i];\n\t if (m1[key] !== m2[key]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t return StringMapWrapper;\n\t }());\n\t var ListWrapper = (function () {\n\t function ListWrapper() {\n\t }\n\t ListWrapper.removeAll = function (list, items) {\n\t for (var i = 0; i < items.length; ++i) {\n\t var index = list.indexOf(items[i]);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t }\n\t }\n\t };\n\t ListWrapper.remove = function (list, el) {\n\t var index = list.indexOf(el);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t return true;\n\t }\n\t return false;\n\t };\n\t ListWrapper.equals = function (a, b) {\n\t if (a.length != b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (a[i] !== b[i])\n\t return false;\n\t }\n\t return true;\n\t };\n\t ListWrapper.flatten = function (list) {\n\t return list.reduce(function (flat, item) {\n\t var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n\t return flat.concat(flatItem);\n\t }, []);\n\t };\n\t return ListWrapper;\n\t }());\n\t\n\t var _SELECTOR_REGEXP = new RegExp('(\\\\:not\\\\()|' +\n\t '([-\\\\w]+)|' +\n\t '(?:\\\\.([-\\\\w]+))|' +\n\t '(?:\\\\[([-\\\\w*]+)(?:=([^\\\\]]*))?\\\\])|' +\n\t '(\\\\))|' +\n\t '(\\\\s*,\\\\s*)', // \",\"\n\t 'g');\n\t /**\n\t * A css selector contains an element name,\n\t * css classes and attribute/value pairs with the purpose\n\t * of selecting subsets out of them.\n\t */\n\t var CssSelector = (function () {\n\t function CssSelector() {\n\t this.element = null;\n\t this.classNames = [];\n\t this.attrs = [];\n\t this.notSelectors = [];\n\t }\n\t CssSelector.parse = function (selector) {\n\t var results = [];\n\t var _addResult = function (res, cssSel) {\n\t if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 &&\n\t cssSel.attrs.length == 0) {\n\t cssSel.element = '*';\n\t }\n\t res.push(cssSel);\n\t };\n\t var cssSelector = new CssSelector();\n\t var match;\n\t var current = cssSelector;\n\t var inNot = false;\n\t _SELECTOR_REGEXP.lastIndex = 0;\n\t while (match = _SELECTOR_REGEXP.exec(selector)) {\n\t if (match[1]) {\n\t if (inNot) {\n\t throw new Error('Nesting :not is not allowed in a selector');\n\t }\n\t inNot = true;\n\t current = new CssSelector();\n\t cssSelector.notSelectors.push(current);\n\t }\n\t if (match[2]) {\n\t current.setElement(match[2]);\n\t }\n\t if (match[3]) {\n\t current.addClassName(match[3]);\n\t }\n\t if (match[4]) {\n\t current.addAttribute(match[4], match[5]);\n\t }\n\t if (match[6]) {\n\t inNot = false;\n\t current = cssSelector;\n\t }\n\t if (match[7]) {\n\t if (inNot) {\n\t throw new Error('Multiple selectors in :not are not supported');\n\t }\n\t _addResult(results, cssSelector);\n\t cssSelector = current = new CssSelector();\n\t }\n\t }\n\t _addResult(results, cssSelector);\n\t return results;\n\t };\n\t CssSelector.prototype.isElementSelector = function () {\n\t return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 &&\n\t this.notSelectors.length === 0;\n\t };\n\t CssSelector.prototype.hasElementSelector = function () { return !!this.element; };\n\t CssSelector.prototype.setElement = function (element) {\n\t if (element === void 0) { element = null; }\n\t this.element = element;\n\t };\n\t /** Gets a template string for an element that matches the selector. */\n\t CssSelector.prototype.getMatchingElementTemplate = function () {\n\t var tagName = this.element || 'div';\n\t var classAttr = this.classNames.length > 0 ? \" class=\\\"\" + this.classNames.join(' ') + \"\\\"\" : '';\n\t var attrs = '';\n\t for (var i = 0; i < this.attrs.length; i += 2) {\n\t var attrName = this.attrs[i];\n\t var attrValue = this.attrs[i + 1] !== '' ? \"=\\\"\" + this.attrs[i + 1] + \"\\\"\" : '';\n\t attrs += \" \" + attrName + attrValue;\n\t }\n\t return getHtmlTagDefinition(tagName).isVoid ? \"<\" + tagName + classAttr + attrs + \"/>\" :\n\t \"<\" + tagName + classAttr + attrs + \"></\" + tagName + \">\";\n\t };\n\t CssSelector.prototype.addAttribute = function (name, value) {\n\t if (value === void 0) { value = ''; }\n\t this.attrs.push(name, value && value.toLowerCase() || '');\n\t };\n\t CssSelector.prototype.addClassName = function (name) { this.classNames.push(name.toLowerCase()); };\n\t CssSelector.prototype.toString = function () {\n\t var res = this.element || '';\n\t if (this.classNames) {\n\t this.classNames.forEach(function (klass) { return res += \".\" + klass; });\n\t }\n\t if (this.attrs) {\n\t for (var i = 0; i < this.attrs.length; i += 2) {\n\t var name_1 = this.attrs[i];\n\t var value = this.attrs[i + 1];\n\t res += \"[\" + name_1 + (value ? '=' + value : '') + \"]\";\n\t }\n\t }\n\t this.notSelectors.forEach(function (notSelector) { return res += \":not(\" + notSelector + \")\"; });\n\t return res;\n\t };\n\t return CssSelector;\n\t }());\n\t /**\n\t * Reads a list of CssSelectors and allows to calculate which ones\n\t * are contained in a given CssSelector.\n\t */\n\t var SelectorMatcher = (function () {\n\t function SelectorMatcher() {\n\t this._elementMap = new Map();\n\t this._elementPartialMap = new Map();\n\t this._classMap = new Map();\n\t this._classPartialMap = new Map();\n\t this._attrValueMap = new Map();\n\t this._attrValuePartialMap = new Map();\n\t this._listContexts = [];\n\t }\n\t SelectorMatcher.createNotMatcher = function (notSelectors) {\n\t var notMatcher = new SelectorMatcher();\n\t notMatcher.addSelectables(notSelectors, null);\n\t return notMatcher;\n\t };\n\t SelectorMatcher.prototype.addSelectables = function (cssSelectors, callbackCtxt) {\n\t var listContext = null;\n\t if (cssSelectors.length > 1) {\n\t listContext = new SelectorListContext(cssSelectors);\n\t this._listContexts.push(listContext);\n\t }\n\t for (var i = 0; i < cssSelectors.length; i++) {\n\t this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\n\t }\n\t };\n\t /**\n\t * Add an object that can be found later on by calling `match`.\n\t * @param cssSelector A css selector\n\t * @param callbackCtxt An opaque object that will be given to the callback of the `match` function\n\t */\n\t SelectorMatcher.prototype._addSelectable = function (cssSelector, callbackCtxt, listContext) {\n\t var matcher = this;\n\t var element = cssSelector.element;\n\t var classNames = cssSelector.classNames;\n\t var attrs = cssSelector.attrs;\n\t var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\n\t if (element) {\n\t var isTerminal = attrs.length === 0 && classNames.length === 0;\n\t if (isTerminal) {\n\t this._addTerminal(matcher._elementMap, element, selectable);\n\t }\n\t else {\n\t matcher = this._addPartial(matcher._elementPartialMap, element);\n\t }\n\t }\n\t if (classNames) {\n\t for (var i = 0; i < classNames.length; i++) {\n\t var isTerminal = attrs.length === 0 && i === classNames.length - 1;\n\t var className = classNames[i];\n\t if (isTerminal) {\n\t this._addTerminal(matcher._classMap, className, selectable);\n\t }\n\t else {\n\t matcher = this._addPartial(matcher._classPartialMap, className);\n\t }\n\t }\n\t }\n\t if (attrs) {\n\t for (var i = 0; i < attrs.length; i += 2) {\n\t var isTerminal = i === attrs.length - 2;\n\t var name_2 = attrs[i];\n\t var value = attrs[i + 1];\n\t if (isTerminal) {\n\t var terminalMap = matcher._attrValueMap;\n\t var terminalValuesMap = terminalMap.get(name_2);\n\t if (!terminalValuesMap) {\n\t terminalValuesMap = new Map();\n\t terminalMap.set(name_2, terminalValuesMap);\n\t }\n\t this._addTerminal(terminalValuesMap, value, selectable);\n\t }\n\t else {\n\t var partialMap = matcher._attrValuePartialMap;\n\t var partialValuesMap = partialMap.get(name_2);\n\t if (!partialValuesMap) {\n\t partialValuesMap = new Map();\n\t partialMap.set(name_2, partialValuesMap);\n\t }\n\t matcher = this._addPartial(partialValuesMap, value);\n\t }\n\t }\n\t }\n\t };\n\t SelectorMatcher.prototype._addTerminal = function (map, name, selectable) {\n\t var terminalList = map.get(name);\n\t if (!terminalList) {\n\t terminalList = [];\n\t map.set(name, terminalList);\n\t }\n\t terminalList.push(selectable);\n\t };\n\t SelectorMatcher.prototype._addPartial = function (map, name) {\n\t var matcher = map.get(name);\n\t if (!matcher) {\n\t matcher = new SelectorMatcher();\n\t map.set(name, matcher);\n\t }\n\t return matcher;\n\t };\n\t /**\n\t * Find the objects that have been added via `addSelectable`\n\t * whose css selector is contained in the given css selector.\n\t * @param cssSelector A css selector\n\t * @param matchedCallback This callback will be called with the object handed into `addSelectable`\n\t * @return boolean true if a match was found\n\t */\n\t SelectorMatcher.prototype.match = function (cssSelector, matchedCallback) {\n\t var result = false;\n\t var element = cssSelector.element;\n\t var classNames = cssSelector.classNames;\n\t var attrs = cssSelector.attrs;\n\t for (var i = 0; i < this._listContexts.length; i++) {\n\t this._listContexts[i].alreadyMatched = false;\n\t }\n\t result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\n\t result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) ||\n\t result;\n\t if (classNames) {\n\t for (var i = 0; i < classNames.length; i++) {\n\t var className = classNames[i];\n\t result =\n\t this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\n\t result =\n\t this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) ||\n\t result;\n\t }\n\t }\n\t if (attrs) {\n\t for (var i = 0; i < attrs.length; i += 2) {\n\t var name_3 = attrs[i];\n\t var value = attrs[i + 1];\n\t var terminalValuesMap = this._attrValueMap.get(name_3);\n\t if (value) {\n\t result =\n\t this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;\n\t }\n\t result =\n\t this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;\n\t var partialValuesMap = this._attrValuePartialMap.get(name_3);\n\t if (value) {\n\t result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;\n\t }\n\t result =\n\t this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;\n\t }\n\t }\n\t return result;\n\t };\n\t /** @internal */\n\t SelectorMatcher.prototype._matchTerminal = function (map, name, cssSelector, matchedCallback) {\n\t if (!map || typeof name !== 'string') {\n\t return false;\n\t }\n\t var selectables = map.get(name);\n\t var starSelectables = map.get('*');\n\t if (starSelectables) {\n\t selectables = selectables.concat(starSelectables);\n\t }\n\t if (!selectables) {\n\t return false;\n\t }\n\t var selectable;\n\t var result = false;\n\t for (var i = 0; i < selectables.length; i++) {\n\t selectable = selectables[i];\n\t result = selectable.finalize(cssSelector, matchedCallback) || result;\n\t }\n\t return result;\n\t };\n\t /** @internal */\n\t SelectorMatcher.prototype._matchPartial = function (map, name, cssSelector, matchedCallback) {\n\t if (!map || typeof name !== 'string') {\n\t return false;\n\t }\n\t var nestedSelector = map.get(name);\n\t if (!nestedSelector) {\n\t return false;\n\t }\n\t // TODO(perf): get rid of recursion and measure again\n\t // TODO(perf): don't pass the whole selector into the recursion,\n\t // but only the not processed parts\n\t return nestedSelector.match(cssSelector, matchedCallback);\n\t };\n\t return SelectorMatcher;\n\t }());\n\t var SelectorListContext = (function () {\n\t function SelectorListContext(selectors) {\n\t this.selectors = selectors;\n\t this.alreadyMatched = false;\n\t }\n\t return SelectorListContext;\n\t }());\n\t // Store context to pass back selector and context when a selector is matched\n\t var SelectorContext = (function () {\n\t function SelectorContext(selector, cbContext, listContext) {\n\t this.selector = selector;\n\t this.cbContext = cbContext;\n\t this.listContext = listContext;\n\t this.notSelectors = selector.notSelectors;\n\t }\n\t SelectorContext.prototype.finalize = function (cssSelector, callback) {\n\t var result = true;\n\t if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {\n\t var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\n\t result = !notMatcher.match(cssSelector, null);\n\t }\n\t if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {\n\t if (this.listContext) {\n\t this.listContext.alreadyMatched = true;\n\t }\n\t callback(this.selector, this.cbContext);\n\t }\n\t return result;\n\t };\n\t return SelectorContext;\n\t }());\n\t\n\t var MODULE_SUFFIX = '';\n\t var DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n\t function dashCaseToCamelCase(input) {\n\t return input.replace(DASH_CASE_REGEXP, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t return m[1].toUpperCase();\n\t });\n\t }\n\t function splitAtColon(input, defaultValues) {\n\t return _splitAt(input, ':', defaultValues);\n\t }\n\t function splitAtPeriod(input, defaultValues) {\n\t return _splitAt(input, '.', defaultValues);\n\t }\n\t function _splitAt(input, character, defaultValues) {\n\t var characterIndex = input.indexOf(character);\n\t if (characterIndex == -1)\n\t return defaultValues;\n\t return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];\n\t }\n\t function sanitizeIdentifier(name) {\n\t return name.replace(/\\W/g, '_');\n\t }\n\t function visitValue(value, visitor, context) {\n\t if (Array.isArray(value)) {\n\t return visitor.visitArray(value, context);\n\t }\n\t if (isStrictStringMap(value)) {\n\t return visitor.visitStringMap(value, context);\n\t }\n\t if (isBlank(value) || isPrimitive(value)) {\n\t return visitor.visitPrimitive(value, context);\n\t }\n\t return visitor.visitOther(value, context);\n\t }\n\t var ValueTransformer = (function () {\n\t function ValueTransformer() {\n\t }\n\t ValueTransformer.prototype.visitArray = function (arr, context) {\n\t var _this = this;\n\t return arr.map(function (value) { return visitValue(value, _this, context); });\n\t };\n\t ValueTransformer.prototype.visitStringMap = function (map, context) {\n\t var _this = this;\n\t var result = {};\n\t Object.keys(map).forEach(function (key) { result[key] = visitValue(map[key], _this, context); });\n\t return result;\n\t };\n\t ValueTransformer.prototype.visitPrimitive = function (value, context) { return value; };\n\t ValueTransformer.prototype.visitOther = function (value, context) { return value; };\n\t return ValueTransformer;\n\t }());\n\t var SyncAsyncResult = (function () {\n\t function SyncAsyncResult(syncResult, asyncResult) {\n\t if (asyncResult === void 0) { asyncResult = null; }\n\t this.syncResult = syncResult;\n\t this.asyncResult = asyncResult;\n\t if (!asyncResult) {\n\t this.asyncResult = Promise.resolve(syncResult);\n\t }\n\t }\n\t return SyncAsyncResult;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$7 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function unimplemented() {\n\t throw new Error('unimplemented');\n\t }\n\t // group 0: \"[prop] or (event) or @trigger\"\n\t // group 1: \"prop\" from \"[prop]\"\n\t // group 2: \"event\" from \"(event)\"\n\t // group 3: \"@trigger\" from \"@trigger\"\n\t var HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\n\t var CompileMetadataWithIdentifier = (function () {\n\t function CompileMetadataWithIdentifier() {\n\t }\n\t Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return CompileMetadataWithIdentifier;\n\t }());\n\t var CompileAnimationEntryMetadata = (function () {\n\t function CompileAnimationEntryMetadata(name, definitions) {\n\t if (name === void 0) { name = null; }\n\t if (definitions === void 0) { definitions = null; }\n\t this.name = name;\n\t this.definitions = definitions;\n\t }\n\t return CompileAnimationEntryMetadata;\n\t }());\n\t var CompileAnimationStateMetadata = (function () {\n\t function CompileAnimationStateMetadata() {\n\t }\n\t return CompileAnimationStateMetadata;\n\t }());\n\t var CompileAnimationStateDeclarationMetadata = (function (_super) {\n\t __extends$7(CompileAnimationStateDeclarationMetadata, _super);\n\t function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) {\n\t _super.call(this);\n\t this.stateNameExpr = stateNameExpr;\n\t this.styles = styles;\n\t }\n\t return CompileAnimationStateDeclarationMetadata;\n\t }(CompileAnimationStateMetadata));\n\t var CompileAnimationStateTransitionMetadata = (function (_super) {\n\t __extends$7(CompileAnimationStateTransitionMetadata, _super);\n\t function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) {\n\t _super.call(this);\n\t this.stateChangeExpr = stateChangeExpr;\n\t this.steps = steps;\n\t }\n\t return CompileAnimationStateTransitionMetadata;\n\t }(CompileAnimationStateMetadata));\n\t var CompileAnimationMetadata = (function () {\n\t function CompileAnimationMetadata() {\n\t }\n\t return CompileAnimationMetadata;\n\t }());\n\t var CompileAnimationKeyframesSequenceMetadata = (function (_super) {\n\t __extends$7(CompileAnimationKeyframesSequenceMetadata, _super);\n\t function CompileAnimationKeyframesSequenceMetadata(steps) {\n\t if (steps === void 0) { steps = []; }\n\t _super.call(this);\n\t this.steps = steps;\n\t }\n\t return CompileAnimationKeyframesSequenceMetadata;\n\t }(CompileAnimationMetadata));\n\t var CompileAnimationStyleMetadata = (function (_super) {\n\t __extends$7(CompileAnimationStyleMetadata, _super);\n\t function CompileAnimationStyleMetadata(offset, styles) {\n\t if (styles === void 0) { styles = null; }\n\t _super.call(this);\n\t this.offset = offset;\n\t this.styles = styles;\n\t }\n\t return CompileAnimationStyleMetadata;\n\t }(CompileAnimationMetadata));\n\t var CompileAnimationAnimateMetadata = (function (_super) {\n\t __extends$7(CompileAnimationAnimateMetadata, _super);\n\t function CompileAnimationAnimateMetadata(timings, styles) {\n\t if (timings === void 0) { timings = 0; }\n\t if (styles === void 0) { styles = null; }\n\t _super.call(this);\n\t this.timings = timings;\n\t this.styles = styles;\n\t }\n\t return CompileAnimationAnimateMetadata;\n\t }(CompileAnimationMetadata));\n\t var CompileAnimationWithStepsMetadata = (function (_super) {\n\t __extends$7(CompileAnimationWithStepsMetadata, _super);\n\t function CompileAnimationWithStepsMetadata(steps) {\n\t if (steps === void 0) { steps = null; }\n\t _super.call(this);\n\t this.steps = steps;\n\t }\n\t return CompileAnimationWithStepsMetadata;\n\t }(CompileAnimationMetadata));\n\t var CompileAnimationSequenceMetadata = (function (_super) {\n\t __extends$7(CompileAnimationSequenceMetadata, _super);\n\t function CompileAnimationSequenceMetadata(steps) {\n\t if (steps === void 0) { steps = null; }\n\t _super.call(this, steps);\n\t }\n\t return CompileAnimationSequenceMetadata;\n\t }(CompileAnimationWithStepsMetadata));\n\t var CompileAnimationGroupMetadata = (function (_super) {\n\t __extends$7(CompileAnimationGroupMetadata, _super);\n\t function CompileAnimationGroupMetadata(steps) {\n\t if (steps === void 0) { steps = null; }\n\t _super.call(this, steps);\n\t }\n\t return CompileAnimationGroupMetadata;\n\t }(CompileAnimationWithStepsMetadata));\n\t var CompileIdentifierMetadata = (function () {\n\t function CompileIdentifierMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, value = _b.value;\n\t this.reference = reference;\n\t this.name = name;\n\t this.prefix = prefix;\n\t this.moduleUrl = moduleUrl;\n\t this.value = value;\n\t }\n\t Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\n\t get: function () { return this; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return CompileIdentifierMetadata;\n\t }());\n\t var CompileDiDependencyMetadata = (function () {\n\t function CompileDiDependencyMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, isAttribute = _b.isAttribute, isSelf = _b.isSelf, isHost = _b.isHost, isSkipSelf = _b.isSkipSelf, isOptional = _b.isOptional, isValue = _b.isValue, token = _b.token, value = _b.value;\n\t this.isAttribute = !!isAttribute;\n\t this.isSelf = !!isSelf;\n\t this.isHost = !!isHost;\n\t this.isSkipSelf = !!isSkipSelf;\n\t this.isOptional = !!isOptional;\n\t this.isValue = !!isValue;\n\t this.token = token;\n\t this.value = value;\n\t }\n\t return CompileDiDependencyMetadata;\n\t }());\n\t var CompileProviderMetadata = (function () {\n\t function CompileProviderMetadata(_a) {\n\t var token = _a.token, useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n\t this.token = token;\n\t this.useClass = useClass;\n\t this.useValue = useValue;\n\t this.useExisting = useExisting;\n\t this.useFactory = useFactory;\n\t this.deps = deps || null;\n\t this.multi = !!multi;\n\t }\n\t return CompileProviderMetadata;\n\t }());\n\t var CompileFactoryMetadata = (function (_super) {\n\t __extends$7(CompileFactoryMetadata, _super);\n\t function CompileFactoryMetadata(_a) {\n\t var reference = _a.reference, name = _a.name, moduleUrl = _a.moduleUrl, prefix = _a.prefix, diDeps = _a.diDeps, value = _a.value;\n\t _super.call(this, { reference: reference, name: name, prefix: prefix, moduleUrl: moduleUrl, value: value });\n\t this.diDeps = _normalizeArray(diDeps);\n\t }\n\t return CompileFactoryMetadata;\n\t }(CompileIdentifierMetadata));\n\t var CompileTokenMetadata = (function () {\n\t function CompileTokenMetadata(_a) {\n\t var value = _a.value, identifier = _a.identifier, identifierIsInstance = _a.identifierIsInstance;\n\t this.value = value;\n\t this.identifier = identifier;\n\t this.identifierIsInstance = !!identifierIsInstance;\n\t }\n\t Object.defineProperty(CompileTokenMetadata.prototype, \"reference\", {\n\t get: function () {\n\t if (isPresent(this.identifier)) {\n\t return this.identifier.reference;\n\t }\n\t else {\n\t return this.value;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\n\t get: function () {\n\t return isPresent(this.value) ? sanitizeIdentifier(this.value) : this.identifier.name;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return CompileTokenMetadata;\n\t }());\n\t /**\n\t * Metadata regarding compilation of a type.\n\t */\n\t var CompileTypeMetadata = (function (_super) {\n\t __extends$7(CompileTypeMetadata, _super);\n\t function CompileTypeMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, isHost = _b.isHost, value = _b.value, diDeps = _b.diDeps, lifecycleHooks = _b.lifecycleHooks;\n\t _super.call(this, { reference: reference, name: name, moduleUrl: moduleUrl, prefix: prefix, value: value });\n\t this.isHost = !!isHost;\n\t this.diDeps = _normalizeArray(diDeps);\n\t this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n\t }\n\t return CompileTypeMetadata;\n\t }(CompileIdentifierMetadata));\n\t var CompileQueryMetadata = (function () {\n\t function CompileQueryMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, selectors = _b.selectors, descendants = _b.descendants, first = _b.first, propertyName = _b.propertyName, read = _b.read;\n\t this.selectors = selectors;\n\t this.descendants = !!descendants;\n\t this.first = !!first;\n\t this.propertyName = propertyName;\n\t this.read = read;\n\t }\n\t return CompileQueryMetadata;\n\t }());\n\t /**\n\t * Metadata about a stylesheet\n\t */\n\t var CompileStylesheetMetadata = (function () {\n\t function CompileStylesheetMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls;\n\t this.moduleUrl = moduleUrl;\n\t this.styles = _normalizeArray(styles);\n\t this.styleUrls = _normalizeArray(styleUrls);\n\t }\n\t return CompileStylesheetMetadata;\n\t }());\n\t /**\n\t * Metadata regarding compilation of a template.\n\t */\n\t var CompileTemplateMetadata = (function () {\n\t function CompileTemplateMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation;\n\t this.encapsulation = encapsulation;\n\t this.template = template;\n\t this.templateUrl = templateUrl;\n\t this.styles = _normalizeArray(styles);\n\t this.styleUrls = _normalizeArray(styleUrls);\n\t this.externalStylesheets = _normalizeArray(externalStylesheets);\n\t this.animations = animations ? ListWrapper.flatten(animations) : [];\n\t this.ngContentSelectors = ngContentSelectors || [];\n\t if (interpolation && interpolation.length != 2) {\n\t throw new Error(\"'interpolation' should have a start and an end symbol.\");\n\t }\n\t this.interpolation = interpolation;\n\t }\n\t CompileTemplateMetadata.prototype.toSummary = function () {\n\t return {\n\t isSummary: true,\n\t animations: this.animations.map(function (anim) { return anim.name; }),\n\t ngContentSelectors: this.ngContentSelectors,\n\t encapsulation: this.encapsulation\n\t };\n\t };\n\t return CompileTemplateMetadata;\n\t }());\n\t /**\n\t * Metadata regarding compilation of a directive.\n\t */\n\t var CompileDirectiveMetadata = (function () {\n\t function CompileDirectiveMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n\t this.type = type;\n\t this.isComponent = isComponent;\n\t this.selector = selector;\n\t this.exportAs = exportAs;\n\t this.changeDetection = changeDetection;\n\t this.inputs = inputs;\n\t this.outputs = outputs;\n\t this.hostListeners = hostListeners;\n\t this.hostProperties = hostProperties;\n\t this.hostAttributes = hostAttributes;\n\t this.providers = _normalizeArray(providers);\n\t this.viewProviders = _normalizeArray(viewProviders);\n\t this.queries = _normalizeArray(queries);\n\t this.viewQueries = _normalizeArray(viewQueries);\n\t this.entryComponents = _normalizeArray(entryComponents);\n\t this.template = template;\n\t }\n\t CompileDirectiveMetadata.create = function (_a) {\n\t var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n\t var hostListeners = {};\n\t var hostProperties = {};\n\t var hostAttributes = {};\n\t if (isPresent(host)) {\n\t Object.keys(host).forEach(function (key) {\n\t var value = host[key];\n\t var matches = key.match(HOST_REG_EXP);\n\t if (matches === null) {\n\t hostAttributes[key] = value;\n\t }\n\t else if (isPresent(matches[1])) {\n\t hostProperties[matches[1]] = value;\n\t }\n\t else if (isPresent(matches[2])) {\n\t hostListeners[matches[2]] = value;\n\t }\n\t });\n\t }\n\t var inputsMap = {};\n\t if (isPresent(inputs)) {\n\t inputs.forEach(function (bindConfig) {\n\t // canonical syntax: `dirProp: elProp`\n\t // if there is no `:`, use dirProp = elProp\n\t var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n\t inputsMap[parts[0]] = parts[1];\n\t });\n\t }\n\t var outputsMap = {};\n\t if (isPresent(outputs)) {\n\t outputs.forEach(function (bindConfig) {\n\t // canonical syntax: `dirProp: elProp`\n\t // if there is no `:`, use dirProp = elProp\n\t var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n\t outputsMap[parts[0]] = parts[1];\n\t });\n\t }\n\t return new CompileDirectiveMetadata({\n\t type: type,\n\t isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection,\n\t inputs: inputsMap,\n\t outputs: outputsMap,\n\t hostListeners: hostListeners,\n\t hostProperties: hostProperties,\n\t hostAttributes: hostAttributes,\n\t providers: providers,\n\t viewProviders: viewProviders,\n\t queries: queries,\n\t viewQueries: viewQueries,\n\t entryComponents: entryComponents,\n\t template: template,\n\t });\n\t };\n\t Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\n\t get: function () { return this.type; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t CompileDirectiveMetadata.prototype.toSummary = function () {\n\t return {\n\t isSummary: true,\n\t type: this.type,\n\t isComponent: this.isComponent,\n\t selector: this.selector,\n\t exportAs: this.exportAs,\n\t inputs: this.inputs,\n\t outputs: this.outputs,\n\t hostListeners: this.hostListeners,\n\t hostProperties: this.hostProperties,\n\t hostAttributes: this.hostAttributes,\n\t providers: this.providers,\n\t viewProviders: this.viewProviders,\n\t queries: this.queries,\n\t entryComponents: this.entryComponents,\n\t changeDetection: this.changeDetection,\n\t template: this.template && this.template.toSummary()\n\t };\n\t };\n\t return CompileDirectiveMetadata;\n\t }());\n\t /**\n\t * Construct {@link CompileDirectiveMetadata} from {@link ComponentTypeMetadata} and a selector.\n\t */\n\t function createHostComponentMeta(compMeta) {\n\t var template = CssSelector.parse(compMeta.selector)[0].getMatchingElementTemplate();\n\t return CompileDirectiveMetadata.create({\n\t type: new CompileTypeMetadata({\n\t reference: Object,\n\t name: compMeta.type.name + \"_Host\",\n\t moduleUrl: compMeta.type.moduleUrl,\n\t isHost: true\n\t }),\n\t template: new CompileTemplateMetadata({\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t template: template,\n\t templateUrl: '',\n\t styles: [],\n\t styleUrls: [],\n\t ngContentSelectors: [],\n\t animations: []\n\t }),\n\t changeDetection: _angular_core.ChangeDetectionStrategy.Default,\n\t inputs: [],\n\t outputs: [],\n\t host: {},\n\t isComponent: true,\n\t selector: '*',\n\t providers: [],\n\t viewProviders: [],\n\t queries: [],\n\t viewQueries: []\n\t });\n\t }\n\t var CompilePipeMetadata = (function () {\n\t function CompilePipeMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure;\n\t this.type = type;\n\t this.name = name;\n\t this.pure = !!pure;\n\t }\n\t Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\n\t get: function () { return this.type; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t CompilePipeMetadata.prototype.toSummary = function () {\n\t return { isSummary: true, type: this.type, name: this.name, pure: this.pure };\n\t };\n\t return CompilePipeMetadata;\n\t }());\n\t /**\n\t * Metadata regarding compilation of a module.\n\t */\n\t var CompileNgModuleMetadata = (function () {\n\t function CompileNgModuleMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id;\n\t this.type = type;\n\t this.declaredDirectives = _normalizeArray(declaredDirectives);\n\t this.exportedDirectives = _normalizeArray(exportedDirectives);\n\t this.declaredPipes = _normalizeArray(declaredPipes);\n\t this.exportedPipes = _normalizeArray(exportedPipes);\n\t this.providers = _normalizeArray(providers);\n\t this.entryComponents = _normalizeArray(entryComponents);\n\t this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n\t this.importedModules = _normalizeArray(importedModules);\n\t this.exportedModules = _normalizeArray(exportedModules);\n\t this.schemas = _normalizeArray(schemas);\n\t this.id = id;\n\t this.transitiveModule = transitiveModule;\n\t }\n\t Object.defineProperty(CompileNgModuleMetadata.prototype, \"identifier\", {\n\t get: function () { return this.type; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t CompileNgModuleMetadata.prototype.toSummary = function () {\n\t return {\n\t isSummary: true,\n\t type: this.type,\n\t entryComponents: this.entryComponents,\n\t providers: this.providers,\n\t importedModules: this.importedModules,\n\t exportedModules: this.exportedModules,\n\t exportedDirectives: this.exportedDirectives,\n\t exportedPipes: this.exportedPipes,\n\t directiveLoaders: this.transitiveModule.directiveLoaders\n\t };\n\t };\n\t CompileNgModuleMetadata.prototype.toInjectorSummary = function () {\n\t return {\n\t isSummary: true,\n\t type: this.type,\n\t entryComponents: this.entryComponents,\n\t providers: this.providers,\n\t importedModules: this.importedModules,\n\t exportedModules: this.exportedModules\n\t };\n\t };\n\t CompileNgModuleMetadata.prototype.toDirectiveSummary = function () {\n\t return {\n\t isSummary: true,\n\t type: this.type,\n\t exportedDirectives: this.exportedDirectives,\n\t exportedPipes: this.exportedPipes,\n\t exportedModules: this.exportedModules,\n\t directiveLoaders: this.transitiveModule.directiveLoaders\n\t };\n\t };\n\t return CompileNgModuleMetadata;\n\t }());\n\t var TransitiveCompileNgModuleMetadata = (function () {\n\t function TransitiveCompileNgModuleMetadata(modules, providers, entryComponents, directives, pipes, directiveLoaders) {\n\t var _this = this;\n\t this.modules = modules;\n\t this.providers = providers;\n\t this.entryComponents = entryComponents;\n\t this.directives = directives;\n\t this.pipes = pipes;\n\t this.directiveLoaders = directiveLoaders;\n\t this.directivesSet = new Set();\n\t this.pipesSet = new Set();\n\t directives.forEach(function (dir) { return _this.directivesSet.add(dir.reference); });\n\t pipes.forEach(function (pipe) { return _this.pipesSet.add(pipe.reference); });\n\t }\n\t return TransitiveCompileNgModuleMetadata;\n\t }());\n\t function removeIdentifierDuplicates(items) {\n\t var map = new Map();\n\t items.forEach(function (item) {\n\t if (!map.get(item.identifier.reference)) {\n\t map.set(item.identifier.reference, item);\n\t }\n\t });\n\t return Array.from(map.values());\n\t }\n\t function _normalizeArray(obj) {\n\t return obj || [];\n\t }\n\t var ProviderMeta = (function () {\n\t function ProviderMeta(token, _a) {\n\t var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n\t this.token = token;\n\t this.useClass = useClass;\n\t this.useValue = useValue;\n\t this.useExisting = useExisting;\n\t this.useFactory = useFactory;\n\t this.dependencies = deps;\n\t this.multi = !!multi;\n\t }\n\t return ProviderMeta;\n\t }());\n\t\n\t var isDefaultChangeDetectionStrategy = _angular_core.__core_private__.isDefaultChangeDetectionStrategy;\n\t var ChangeDetectorStatus = _angular_core.__core_private__.ChangeDetectorStatus;\n\t var LifecycleHooks = _angular_core.__core_private__.LifecycleHooks;\n\t var LIFECYCLE_HOOKS_VALUES = _angular_core.__core_private__.LIFECYCLE_HOOKS_VALUES;\n\t var ReflectorReader = _angular_core.__core_private__.ReflectorReader;\n\t var ViewContainer = _angular_core.__core_private__.ViewContainer;\n\t var CodegenComponentFactoryResolver = _angular_core.__core_private__.CodegenComponentFactoryResolver;\n\t var ComponentRef_ = _angular_core.__core_private__.ComponentRef_;\n\t var AppView = _angular_core.__core_private__.AppView;\n\t var DebugAppView = _angular_core.__core_private__.DebugAppView;\n\t var NgModuleInjector = _angular_core.__core_private__.NgModuleInjector;\n\t var registerModuleFactory = _angular_core.__core_private__.registerModuleFactory;\n\t var ViewType = _angular_core.__core_private__.ViewType;\n\t var view_utils = _angular_core.__core_private__.view_utils;\n\t var DebugContext = _angular_core.__core_private__.DebugContext;\n\t var StaticNodeDebugInfo = _angular_core.__core_private__.StaticNodeDebugInfo;\n\t var devModeEqual = _angular_core.__core_private__.devModeEqual;\n\t var UNINITIALIZED = _angular_core.__core_private__.UNINITIALIZED;\n\t var ValueUnwrapper = _angular_core.__core_private__.ValueUnwrapper;\n\t var TemplateRef_ = _angular_core.__core_private__.TemplateRef_;\n\t var Console = _angular_core.__core_private__.Console;\n\t var reflector = _angular_core.__core_private__.reflector;\n\t var Reflector = _angular_core.__core_private__.Reflector;\n\t var ReflectionCapabilities = _angular_core.__core_private__.ReflectionCapabilities;\n\t var NoOpAnimationPlayer = _angular_core.__core_private__.NoOpAnimationPlayer;\n\t var AnimationSequencePlayer = _angular_core.__core_private__.AnimationSequencePlayer;\n\t var AnimationGroupPlayer = _angular_core.__core_private__.AnimationGroupPlayer;\n\t var AnimationKeyframe = _angular_core.__core_private__.AnimationKeyframe;\n\t var AnimationStyles = _angular_core.__core_private__.AnimationStyles;\n\t var ANY_STATE = _angular_core.__core_private__.ANY_STATE;\n\t var DEFAULT_STATE = _angular_core.__core_private__.DEFAULT_STATE;\n\t var EMPTY_STATE = _angular_core.__core_private__.EMPTY_STATE;\n\t var FILL_STYLE_FLAG = _angular_core.__core_private__.FILL_STYLE_FLAG;\n\t var prepareFinalAnimationStyles = _angular_core.__core_private__.prepareFinalAnimationStyles;\n\t var balanceAnimationKeyframes = _angular_core.__core_private__.balanceAnimationKeyframes;\n\t var clearStyles = _angular_core.__core_private__.clearStyles;\n\t var collectAndResolveStyles = _angular_core.__core_private__.collectAndResolveStyles;\n\t var renderStyles = _angular_core.__core_private__.renderStyles;\n\t var ComponentStillLoadingError = _angular_core.__core_private__.ComponentStillLoadingError;\n\t var AnimationTransition = _angular_core.__core_private__.AnimationTransition;\n\t\n\t var APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view');\n\t var VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils');\n\t var CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection');\n\t var ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util');\n\t var Identifiers = (function () {\n\t function Identifiers() {\n\t }\n\t Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n\t name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n\t moduleUrl: assetUrl('core', 'metadata/di'),\n\t runtime: _angular_core.ANALYZE_FOR_ENTRY_COMPONENTS\n\t };\n\t Identifiers.ViewUtils = {\n\t name: 'ViewUtils',\n\t moduleUrl: assetUrl('core', 'linker/view_utils'),\n\t runtime: view_utils.ViewUtils\n\t };\n\t Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: AppView };\n\t Identifiers.DebugAppView = {\n\t name: 'DebugAppView',\n\t moduleUrl: APP_VIEW_MODULE_URL,\n\t runtime: DebugAppView\n\t };\n\t Identifiers.ViewContainer = {\n\t name: 'ViewContainer',\n\t moduleUrl: assetUrl('core', 'linker/view_container'),\n\t runtime: ViewContainer\n\t };\n\t Identifiers.ElementRef = {\n\t name: 'ElementRef',\n\t moduleUrl: assetUrl('core', 'linker/element_ref'),\n\t runtime: _angular_core.ElementRef\n\t };\n\t Identifiers.ViewContainerRef = {\n\t name: 'ViewContainerRef',\n\t moduleUrl: assetUrl('core', 'linker/view_container_ref'),\n\t runtime: _angular_core.ViewContainerRef\n\t };\n\t Identifiers.ChangeDetectorRef = {\n\t name: 'ChangeDetectorRef',\n\t moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'),\n\t runtime: _angular_core.ChangeDetectorRef\n\t };\n\t Identifiers.RenderComponentType = {\n\t name: 'RenderComponentType',\n\t moduleUrl: assetUrl('core', 'render/api'),\n\t runtime: _angular_core.RenderComponentType\n\t };\n\t Identifiers.QueryList = {\n\t name: 'QueryList',\n\t moduleUrl: assetUrl('core', 'linker/query_list'),\n\t runtime: _angular_core.QueryList\n\t };\n\t Identifiers.TemplateRef = {\n\t name: 'TemplateRef',\n\t moduleUrl: assetUrl('core', 'linker/template_ref'),\n\t runtime: _angular_core.TemplateRef\n\t };\n\t Identifiers.TemplateRef_ = {\n\t name: 'TemplateRef_',\n\t moduleUrl: assetUrl('core', 'linker/template_ref'),\n\t runtime: TemplateRef_\n\t };\n\t Identifiers.CodegenComponentFactoryResolver = {\n\t name: 'CodegenComponentFactoryResolver',\n\t moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n\t runtime: CodegenComponentFactoryResolver\n\t };\n\t Identifiers.ComponentFactoryResolver = {\n\t name: 'ComponentFactoryResolver',\n\t moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n\t runtime: _angular_core.ComponentFactoryResolver\n\t };\n\t Identifiers.ComponentFactory = {\n\t name: 'ComponentFactory',\n\t runtime: _angular_core.ComponentFactory,\n\t moduleUrl: assetUrl('core', 'linker/component_factory')\n\t };\n\t Identifiers.ComponentRef_ = {\n\t name: 'ComponentRef_',\n\t runtime: ComponentRef_,\n\t moduleUrl: assetUrl('core', 'linker/component_factory')\n\t };\n\t Identifiers.ComponentRef = {\n\t name: 'ComponentRef',\n\t runtime: _angular_core.ComponentRef,\n\t moduleUrl: assetUrl('core', 'linker/component_factory')\n\t };\n\t Identifiers.NgModuleFactory = {\n\t name: 'NgModuleFactory',\n\t runtime: _angular_core.NgModuleFactory,\n\t moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n\t };\n\t Identifiers.NgModuleInjector = {\n\t name: 'NgModuleInjector',\n\t runtime: NgModuleInjector,\n\t moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n\t };\n\t Identifiers.RegisterModuleFactoryFn = {\n\t name: 'registerModuleFactory',\n\t runtime: registerModuleFactory,\n\t moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader')\n\t };\n\t Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: ValueUnwrapper };\n\t Identifiers.Injector = {\n\t name: 'Injector',\n\t moduleUrl: assetUrl('core', 'di/injector'),\n\t runtime: _angular_core.Injector\n\t };\n\t Identifiers.ViewEncapsulation = {\n\t name: 'ViewEncapsulation',\n\t moduleUrl: assetUrl('core', 'metadata/view'),\n\t runtime: _angular_core.ViewEncapsulation\n\t };\n\t Identifiers.ViewType = {\n\t name: 'ViewType',\n\t moduleUrl: assetUrl('core', 'linker/view_type'),\n\t runtime: ViewType\n\t };\n\t Identifiers.ChangeDetectionStrategy = {\n\t name: 'ChangeDetectionStrategy',\n\t moduleUrl: CD_MODULE_URL,\n\t runtime: _angular_core.ChangeDetectionStrategy\n\t };\n\t Identifiers.StaticNodeDebugInfo = {\n\t name: 'StaticNodeDebugInfo',\n\t moduleUrl: assetUrl('core', 'linker/debug_context'),\n\t runtime: StaticNodeDebugInfo\n\t };\n\t Identifiers.DebugContext = {\n\t name: 'DebugContext',\n\t moduleUrl: assetUrl('core', 'linker/debug_context'),\n\t runtime: DebugContext\n\t };\n\t Identifiers.Renderer = {\n\t name: 'Renderer',\n\t moduleUrl: assetUrl('core', 'render/api'),\n\t runtime: _angular_core.Renderer\n\t };\n\t Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: _angular_core.SimpleChange };\n\t Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: UNINITIALIZED };\n\t Identifiers.ChangeDetectorStatus = {\n\t name: 'ChangeDetectorStatus',\n\t moduleUrl: CD_MODULE_URL,\n\t runtime: ChangeDetectorStatus\n\t };\n\t Identifiers.checkBinding = {\n\t name: 'checkBinding',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.checkBinding\n\t };\n\t Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: devModeEqual };\n\t Identifiers.inlineInterpolate = {\n\t name: 'inlineInterpolate',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.inlineInterpolate\n\t };\n\t Identifiers.interpolate = {\n\t name: 'interpolate',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.interpolate\n\t };\n\t Identifiers.castByValue = {\n\t name: 'castByValue',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.castByValue\n\t };\n\t Identifiers.EMPTY_ARRAY = {\n\t name: 'EMPTY_ARRAY',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.EMPTY_ARRAY\n\t };\n\t Identifiers.EMPTY_MAP = {\n\t name: 'EMPTY_MAP',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.EMPTY_MAP\n\t };\n\t Identifiers.createRenderElement = {\n\t name: 'createRenderElement',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.createRenderElement\n\t };\n\t Identifiers.selectOrCreateRenderHostElement = {\n\t name: 'selectOrCreateRenderHostElement',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.selectOrCreateRenderHostElement\n\t };\n\t Identifiers.pureProxies = [\n\t null,\n\t { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy1 },\n\t { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy2 },\n\t { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy3 },\n\t { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy4 },\n\t { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy5 },\n\t { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy6 },\n\t { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy7 },\n\t { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy8 },\n\t { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy9 },\n\t { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy10 },\n\t ];\n\t Identifiers.SecurityContext = {\n\t name: 'SecurityContext',\n\t moduleUrl: assetUrl('core', 'security'),\n\t runtime: _angular_core.SecurityContext,\n\t };\n\t Identifiers.AnimationKeyframe = {\n\t name: 'AnimationKeyframe',\n\t moduleUrl: assetUrl('core', 'animation/animation_keyframe'),\n\t runtime: AnimationKeyframe\n\t };\n\t Identifiers.AnimationStyles = {\n\t name: 'AnimationStyles',\n\t moduleUrl: assetUrl('core', 'animation/animation_styles'),\n\t runtime: AnimationStyles\n\t };\n\t Identifiers.NoOpAnimationPlayer = {\n\t name: 'NoOpAnimationPlayer',\n\t moduleUrl: assetUrl('core', 'animation/animation_player'),\n\t runtime: NoOpAnimationPlayer\n\t };\n\t Identifiers.AnimationGroupPlayer = {\n\t name: 'AnimationGroupPlayer',\n\t moduleUrl: assetUrl('core', 'animation/animation_group_player'),\n\t runtime: AnimationGroupPlayer\n\t };\n\t Identifiers.AnimationSequencePlayer = {\n\t name: 'AnimationSequencePlayer',\n\t moduleUrl: assetUrl('core', 'animation/animation_sequence_player'),\n\t runtime: AnimationSequencePlayer\n\t };\n\t Identifiers.prepareFinalAnimationStyles = {\n\t name: 'prepareFinalAnimationStyles',\n\t moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n\t runtime: prepareFinalAnimationStyles\n\t };\n\t Identifiers.balanceAnimationKeyframes = {\n\t name: 'balanceAnimationKeyframes',\n\t moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n\t runtime: balanceAnimationKeyframes\n\t };\n\t Identifiers.clearStyles = {\n\t name: 'clearStyles',\n\t moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n\t runtime: clearStyles\n\t };\n\t Identifiers.renderStyles = {\n\t name: 'renderStyles',\n\t moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n\t runtime: renderStyles\n\t };\n\t Identifiers.collectAndResolveStyles = {\n\t name: 'collectAndResolveStyles',\n\t moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n\t runtime: collectAndResolveStyles\n\t };\n\t Identifiers.LOCALE_ID = {\n\t name: 'LOCALE_ID',\n\t moduleUrl: assetUrl('core', 'i18n/tokens'),\n\t runtime: _angular_core.LOCALE_ID\n\t };\n\t Identifiers.TRANSLATIONS_FORMAT = {\n\t name: 'TRANSLATIONS_FORMAT',\n\t moduleUrl: assetUrl('core', 'i18n/tokens'),\n\t runtime: _angular_core.TRANSLATIONS_FORMAT\n\t };\n\t Identifiers.setBindingDebugInfo = {\n\t name: 'setBindingDebugInfo',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.setBindingDebugInfo\n\t };\n\t Identifiers.setBindingDebugInfoForChanges = {\n\t name: 'setBindingDebugInfoForChanges',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.setBindingDebugInfoForChanges\n\t };\n\t Identifiers.AnimationTransition = {\n\t name: 'AnimationTransition',\n\t moduleUrl: assetUrl('core', 'animation/animation_transition'),\n\t runtime: AnimationTransition\n\t };\n\t // This is just the interface!\n\t Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null };\n\t Identifiers.inlineArrays = [\n\t { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray2 },\n\t { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray2 },\n\t { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray4 },\n\t { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray8 },\n\t { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray16 },\n\t ];\n\t Identifiers.EMPTY_INLINE_ARRAY = {\n\t name: 'EMPTY_INLINE_ARRAY',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.EMPTY_INLINE_ARRAY\n\t };\n\t Identifiers.InlineArrayDynamic = {\n\t name: 'InlineArrayDynamic',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.InlineArrayDynamic\n\t };\n\t Identifiers.subscribeToRenderElement = {\n\t name: 'subscribeToRenderElement',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.subscribeToRenderElement\n\t };\n\t Identifiers.createRenderComponentType = {\n\t name: 'createRenderComponentType',\n\t moduleUrl: VIEW_UTILS_MODULE_URL,\n\t runtime: view_utils.createRenderComponentType\n\t };\n\t Identifiers.noop = { name: 'noop', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.noop };\n\t return Identifiers;\n\t }());\n\t function assetUrl(pkg, path, type) {\n\t if (path === void 0) { path = null; }\n\t if (type === void 0) { type = 'src'; }\n\t if (path == null) {\n\t return \"@angular/\" + pkg + \"/index\";\n\t }\n\t else {\n\t return \"@angular/\" + pkg + \"/\" + type + \"/\" + path;\n\t }\n\t }\n\t function resolveIdentifier(identifier) {\n\t var moduleUrl = identifier.moduleUrl;\n\t var reference = reflector.resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime);\n\t if (isStaticSymbol(reference)) {\n\t moduleUrl = reference.filePath;\n\t }\n\t return new CompileIdentifierMetadata({ name: identifier.name, moduleUrl: moduleUrl, reference: reference });\n\t }\n\t function identifierToken(identifier) {\n\t return new CompileTokenMetadata({ identifier: identifier });\n\t }\n\t function resolveIdentifierToken(identifier) {\n\t return identifierToken(resolveIdentifier(identifier));\n\t }\n\t function resolveEnumIdentifier(enumType, name) {\n\t var resolvedEnum = reflector.resolveEnum(enumType.reference, name);\n\t return new CompileIdentifierMetadata({ name: enumType.name + \".\" + name, moduleUrl: enumType.moduleUrl, reference: resolvedEnum });\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$8 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var HtmlParser = (function (_super) {\n\t __extends$8(HtmlParser, _super);\n\t function HtmlParser() {\n\t _super.call(this, getHtmlTagDefinition);\n\t }\n\t HtmlParser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n\t if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n\t if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n\t return _super.prototype.parse.call(this, source, url, parseExpansionForms, interpolationConfig);\n\t };\n\t HtmlParser.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t HtmlParser.ctorParameters = [];\n\t return HtmlParser;\n\t }(Parser$1));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$9 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t // http://cldr.unicode.org/index/cldr-spec/plural-rules\n\t var PLURAL_CASES = ['zero', 'one', 'two', 'few', 'many', 'other'];\n\t /**\n\t * Expands special forms into elements.\n\t *\n\t * For example,\n\t *\n\t * ```\n\t * { messages.length, plural,\n\t * =0 {zero}\n\t * =1 {one}\n\t * other {more than one}\n\t * }\n\t * ```\n\t *\n\t * will be expanded into\n\t *\n\t * ```\n\t * <ng-container [ngPlural]=\"messages.length\">\n\t * <template ngPluralCase=\"=0\">zero</ng-container>\n\t * <template ngPluralCase=\"=1\">one</ng-container>\n\t * <template ngPluralCase=\"other\">more than one</ng-container>\n\t * </ng-container>\n\t * ```\n\t */\n\t function expandNodes(nodes) {\n\t var expander = new _Expander();\n\t return new ExpansionResult(visitAll(expander, nodes), expander.isExpanded, expander.errors);\n\t }\n\t var ExpansionResult = (function () {\n\t function ExpansionResult(nodes, expanded, errors) {\n\t this.nodes = nodes;\n\t this.expanded = expanded;\n\t this.errors = errors;\n\t }\n\t return ExpansionResult;\n\t }());\n\t var ExpansionError = (function (_super) {\n\t __extends$9(ExpansionError, _super);\n\t function ExpansionError(span, errorMsg) {\n\t _super.call(this, span, errorMsg);\n\t }\n\t return ExpansionError;\n\t }(ParseError));\n\t /**\n\t * Expand expansion forms (plural, select) to directives\n\t *\n\t * @internal\n\t */\n\t var _Expander = (function () {\n\t function _Expander() {\n\t this.isExpanded = false;\n\t this.errors = [];\n\t }\n\t _Expander.prototype.visitElement = function (element, context) {\n\t return new Element(element.name, element.attrs, visitAll(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n\t };\n\t _Expander.prototype.visitAttribute = function (attribute, context) { return attribute; };\n\t _Expander.prototype.visitText = function (text, context) { return text; };\n\t _Expander.prototype.visitComment = function (comment, context) { return comment; };\n\t _Expander.prototype.visitExpansion = function (icu, context) {\n\t this.isExpanded = true;\n\t return icu.type == 'plural' ? _expandPluralForm(icu, this.errors) :\n\t _expandDefaultForm(icu, this.errors);\n\t };\n\t _Expander.prototype.visitExpansionCase = function (icuCase, context) {\n\t throw new Error('Should not be reached');\n\t };\n\t return _Expander;\n\t }());\n\t function _expandPluralForm(ast, errors) {\n\t var children = ast.cases.map(function (c) {\n\t if (PLURAL_CASES.indexOf(c.value) == -1 && !c.value.match(/^=\\d+$/)) {\n\t errors.push(new ExpansionError(c.valueSourceSpan, \"Plural cases should be \\\"=<number>\\\" or one of \" + PLURAL_CASES.join(\", \")));\n\t }\n\t var expansionResult = expandNodes(c.expression);\n\t errors.push.apply(errors, expansionResult.errors);\n\t return new Element(\"template\", [new Attribute$1('ngPluralCase', \"\" + c.value, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n\t });\n\t var switchAttr = new Attribute$1('[ngPlural]', ast.switchValue, ast.switchValueSourceSpan);\n\t return new Element('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n\t }\n\t function _expandDefaultForm(ast, errors) {\n\t var children = ast.cases.map(function (c) {\n\t var expansionResult = expandNodes(c.expression);\n\t errors.push.apply(errors, expansionResult.errors);\n\t if (c.value === 'other') {\n\t // other is the default case when no values match\n\t return new Element(\"template\", [new Attribute$1('ngSwitchDefault', '', c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n\t }\n\t return new Element(\"template\", [new Attribute$1('ngSwitchCase', \"\" + c.value, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n\t });\n\t var switchAttr = new Attribute$1('[ngSwitch]', ast.switchValue, ast.switchValueSourceSpan);\n\t return new Element('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$10 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var ProviderError = (function (_super) {\n\t __extends$10(ProviderError, _super);\n\t function ProviderError(message, span) {\n\t _super.call(this, span, message);\n\t }\n\t return ProviderError;\n\t }(ParseError));\n\t var ProviderViewContext = (function () {\n\t function ProviderViewContext(component, sourceSpan) {\n\t var _this = this;\n\t this.component = component;\n\t this.sourceSpan = sourceSpan;\n\t this.errors = [];\n\t this.viewQueries = _getViewQueries(component);\n\t this.viewProviders = new Map();\n\t _normalizeProviders(component.viewProviders, sourceSpan, this.errors).forEach(function (provider) {\n\t if (isBlank(_this.viewProviders.get(provider.token.reference))) {\n\t _this.viewProviders.set(provider.token.reference, true);\n\t }\n\t });\n\t }\n\t return ProviderViewContext;\n\t }());\n\t var ProviderElementContext = (function () {\n\t function ProviderElementContext(viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, _sourceSpan) {\n\t var _this = this;\n\t this.viewContext = viewContext;\n\t this._parent = _parent;\n\t this._isViewRoot = _isViewRoot;\n\t this._directiveAsts = _directiveAsts;\n\t this._sourceSpan = _sourceSpan;\n\t this._transformedProviders = new Map();\n\t this._seenProviders = new Map();\n\t this._hasViewContainer = false;\n\t this._attrs = {};\n\t attrs.forEach(function (attrAst) { return _this._attrs[attrAst.name] = attrAst.value; });\n\t var directivesMeta = _directiveAsts.map(function (directiveAst) { return directiveAst.directive; });\n\t this._allProviders =\n\t _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, viewContext.errors);\n\t this._contentQueries = _getContentQueries(directivesMeta);\n\t var queriedTokens = new Map();\n\t Array.from(this._allProviders.values()).forEach(function (provider) {\n\t _this._addQueryReadsTo(provider.token, queriedTokens);\n\t });\n\t refs.forEach(function (refAst) {\n\t _this._addQueryReadsTo(new CompileTokenMetadata({ value: refAst.name }), queriedTokens);\n\t });\n\t if (isPresent(queriedTokens.get(resolveIdentifierToken(Identifiers.ViewContainerRef).reference))) {\n\t this._hasViewContainer = true;\n\t }\n\t // create the providers that we know are eager first\n\t Array.from(this._allProviders.values()).forEach(function (provider) {\n\t var eager = provider.eager || isPresent(queriedTokens.get(provider.token.reference));\n\t if (eager) {\n\t _this._getOrCreateLocalProvider(provider.providerType, provider.token, true);\n\t }\n\t });\n\t }\n\t ProviderElementContext.prototype.afterElement = function () {\n\t var _this = this;\n\t // collect lazy providers\n\t Array.from(this._allProviders.values()).forEach(function (provider) {\n\t _this._getOrCreateLocalProvider(provider.providerType, provider.token, false);\n\t });\n\t };\n\t Object.defineProperty(ProviderElementContext.prototype, \"transformProviders\", {\n\t get: function () {\n\t return Array.from(this._transformedProviders.values());\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ProviderElementContext.prototype, \"transformedDirectiveAsts\", {\n\t get: function () {\n\t var sortedProviderTypes = this.transformProviders.map(function (provider) { return provider.token.identifier; });\n\t var sortedDirectives = this._directiveAsts.slice();\n\t sortedDirectives.sort(function (dir1, dir2) { return sortedProviderTypes.indexOf(dir1.directive.type) -\n\t sortedProviderTypes.indexOf(dir2.directive.type); });\n\t return sortedDirectives;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ProviderElementContext.prototype, \"transformedHasViewContainer\", {\n\t get: function () { return this._hasViewContainer; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ProviderElementContext.prototype._addQueryReadsTo = function (token, queryReadTokens) {\n\t this._getQueriesFor(token).forEach(function (query) {\n\t var queryReadToken = query.read || token;\n\t if (isBlank(queryReadTokens.get(queryReadToken.reference))) {\n\t queryReadTokens.set(queryReadToken.reference, true);\n\t }\n\t });\n\t };\n\t ProviderElementContext.prototype._getQueriesFor = function (token) {\n\t var result = [];\n\t var currentEl = this;\n\t var distance = 0;\n\t var queries;\n\t while (currentEl !== null) {\n\t queries = currentEl._contentQueries.get(token.reference);\n\t if (isPresent(queries)) {\n\t result.push.apply(result, queries.filter(function (query) { return query.descendants || distance <= 1; }));\n\t }\n\t if (currentEl._directiveAsts.length > 0) {\n\t distance++;\n\t }\n\t currentEl = currentEl._parent;\n\t }\n\t queries = this.viewContext.viewQueries.get(token.reference);\n\t if (isPresent(queries)) {\n\t result.push.apply(result, queries);\n\t }\n\t return result;\n\t };\n\t ProviderElementContext.prototype._getOrCreateLocalProvider = function (requestingProviderType, token, eager) {\n\t var _this = this;\n\t var resolvedProvider = this._allProviders.get(token.reference);\n\t if (!resolvedProvider || ((requestingProviderType === exports.ProviderAstType.Directive ||\n\t requestingProviderType === exports.ProviderAstType.PublicService) &&\n\t resolvedProvider.providerType === exports.ProviderAstType.PrivateService) ||\n\t ((requestingProviderType === exports.ProviderAstType.PrivateService ||\n\t requestingProviderType === exports.ProviderAstType.PublicService) &&\n\t resolvedProvider.providerType === exports.ProviderAstType.Builtin)) {\n\t return null;\n\t }\n\t var transformedProviderAst = this._transformedProviders.get(token.reference);\n\t if (isPresent(transformedProviderAst)) {\n\t return transformedProviderAst;\n\t }\n\t if (isPresent(this._seenProviders.get(token.reference))) {\n\t this.viewContext.errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, this._sourceSpan));\n\t return null;\n\t }\n\t this._seenProviders.set(token.reference, true);\n\t var transformedProviders = resolvedProvider.providers.map(function (provider) {\n\t var transformedUseValue = provider.useValue;\n\t var transformedUseExisting = provider.useExisting;\n\t var transformedDeps;\n\t if (isPresent(provider.useExisting)) {\n\t var existingDiDep = _this._getDependency(resolvedProvider.providerType, new CompileDiDependencyMetadata({ token: provider.useExisting }), eager);\n\t if (isPresent(existingDiDep.token)) {\n\t transformedUseExisting = existingDiDep.token;\n\t }\n\t else {\n\t transformedUseExisting = null;\n\t transformedUseValue = existingDiDep.value;\n\t }\n\t }\n\t else if (isPresent(provider.useFactory)) {\n\t var deps = provider.deps || provider.useFactory.diDeps;\n\t transformedDeps =\n\t deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\n\t }\n\t else if (isPresent(provider.useClass)) {\n\t var deps = provider.deps || provider.useClass.diDeps;\n\t transformedDeps =\n\t deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\n\t }\n\t return _transformProvider(provider, {\n\t useExisting: transformedUseExisting,\n\t useValue: transformedUseValue,\n\t deps: transformedDeps\n\t });\n\t });\n\t transformedProviderAst =\n\t _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n\t this._transformedProviders.set(token.reference, transformedProviderAst);\n\t return transformedProviderAst;\n\t };\n\t ProviderElementContext.prototype._getLocalDependency = function (requestingProviderType, dep, eager) {\n\t if (eager === void 0) { eager = null; }\n\t if (dep.isAttribute) {\n\t var attrValue = this._attrs[dep.token.value];\n\t return new CompileDiDependencyMetadata({ isValue: true, value: attrValue == null ? null : attrValue });\n\t }\n\t if (isPresent(dep.token)) {\n\t // access builtints\n\t if ((requestingProviderType === exports.ProviderAstType.Directive ||\n\t requestingProviderType === exports.ProviderAstType.Component)) {\n\t if (dep.token.reference === resolveIdentifierToken(Identifiers.Renderer).reference ||\n\t dep.token.reference === resolveIdentifierToken(Identifiers.ElementRef).reference ||\n\t dep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference ||\n\t dep.token.reference === resolveIdentifierToken(Identifiers.TemplateRef).reference) {\n\t return dep;\n\t }\n\t if (dep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ViewContainerRef).reference) {\n\t this._hasViewContainer = true;\n\t }\n\t }\n\t // access the injector\n\t if (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference) {\n\t return dep;\n\t }\n\t // access providers\n\t if (isPresent(this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager))) {\n\t return dep;\n\t }\n\t }\n\t return null;\n\t };\n\t ProviderElementContext.prototype._getDependency = function (requestingProviderType, dep, eager) {\n\t if (eager === void 0) { eager = null; }\n\t var currElement = this;\n\t var currEager = eager;\n\t var result = null;\n\t if (!dep.isSkipSelf) {\n\t result = this._getLocalDependency(requestingProviderType, dep, eager);\n\t }\n\t if (dep.isSelf) {\n\t if (!result && dep.isOptional) {\n\t result = new CompileDiDependencyMetadata({ isValue: true, value: null });\n\t }\n\t }\n\t else {\n\t // check parent elements\n\t while (!result && isPresent(currElement._parent)) {\n\t var prevElement = currElement;\n\t currElement = currElement._parent;\n\t if (prevElement._isViewRoot) {\n\t currEager = false;\n\t }\n\t result = currElement._getLocalDependency(exports.ProviderAstType.PublicService, dep, currEager);\n\t }\n\t // check @Host restriction\n\t if (!result) {\n\t if (!dep.isHost || this.viewContext.component.type.isHost ||\n\t this.viewContext.component.type.reference === dep.token.reference ||\n\t isPresent(this.viewContext.viewProviders.get(dep.token.reference))) {\n\t result = dep;\n\t }\n\t else {\n\t result = dep.isOptional ?\n\t result = new CompileDiDependencyMetadata({ isValue: true, value: null }) :\n\t null;\n\t }\n\t }\n\t }\n\t if (!result) {\n\t this.viewContext.errors.push(new ProviderError(\"No provider for \" + dep.token.name, this._sourceSpan));\n\t }\n\t return result;\n\t };\n\t return ProviderElementContext;\n\t }());\n\t var NgModuleProviderAnalyzer = (function () {\n\t function NgModuleProviderAnalyzer(ngModule, extraProviders, sourceSpan) {\n\t var _this = this;\n\t this._transformedProviders = new Map();\n\t this._seenProviders = new Map();\n\t this._errors = [];\n\t this._allProviders = new Map();\n\t var ngModuleTypes = ngModule.transitiveModule.modules.map(function (moduleMeta) { return moduleMeta.type; });\n\t ngModuleTypes.forEach(function (ngModuleType) {\n\t var ngModuleProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: ngModuleType }), useClass: ngModuleType });\n\t _resolveProviders([ngModuleProvider], exports.ProviderAstType.PublicService, true, sourceSpan, _this._errors, _this._allProviders);\n\t });\n\t _resolveProviders(_normalizeProviders(ngModule.transitiveModule.providers.concat(extraProviders), sourceSpan, this._errors), exports.ProviderAstType.PublicService, false, sourceSpan, this._errors, this._allProviders);\n\t }\n\t NgModuleProviderAnalyzer.prototype.parse = function () {\n\t var _this = this;\n\t Array.from(this._allProviders.values()).forEach(function (provider) {\n\t _this._getOrCreateLocalProvider(provider.token, provider.eager);\n\t });\n\t if (this._errors.length > 0) {\n\t var errorString = this._errors.join('\\n');\n\t throw new Error(\"Provider parse errors:\\n\" + errorString);\n\t }\n\t return Array.from(this._transformedProviders.values());\n\t };\n\t NgModuleProviderAnalyzer.prototype._getOrCreateLocalProvider = function (token, eager) {\n\t var _this = this;\n\t var resolvedProvider = this._allProviders.get(token.reference);\n\t if (!resolvedProvider) {\n\t return null;\n\t }\n\t var transformedProviderAst = this._transformedProviders.get(token.reference);\n\t if (isPresent(transformedProviderAst)) {\n\t return transformedProviderAst;\n\t }\n\t if (isPresent(this._seenProviders.get(token.reference))) {\n\t this._errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, resolvedProvider.sourceSpan));\n\t return null;\n\t }\n\t this._seenProviders.set(token.reference, true);\n\t var transformedProviders = resolvedProvider.providers.map(function (provider) {\n\t var transformedUseValue = provider.useValue;\n\t var transformedUseExisting = provider.useExisting;\n\t var transformedDeps;\n\t if (isPresent(provider.useExisting)) {\n\t var existingDiDep = _this._getDependency(new CompileDiDependencyMetadata({ token: provider.useExisting }), eager, resolvedProvider.sourceSpan);\n\t if (isPresent(existingDiDep.token)) {\n\t transformedUseExisting = existingDiDep.token;\n\t }\n\t else {\n\t transformedUseExisting = null;\n\t transformedUseValue = existingDiDep.value;\n\t }\n\t }\n\t else if (isPresent(provider.useFactory)) {\n\t var deps = provider.deps || provider.useFactory.diDeps;\n\t transformedDeps =\n\t deps.map(function (dep) { return _this._getDependency(dep, eager, resolvedProvider.sourceSpan); });\n\t }\n\t else if (isPresent(provider.useClass)) {\n\t var deps = provider.deps || provider.useClass.diDeps;\n\t transformedDeps =\n\t deps.map(function (dep) { return _this._getDependency(dep, eager, resolvedProvider.sourceSpan); });\n\t }\n\t return _transformProvider(provider, {\n\t useExisting: transformedUseExisting,\n\t useValue: transformedUseValue,\n\t deps: transformedDeps\n\t });\n\t });\n\t transformedProviderAst =\n\t _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n\t this._transformedProviders.set(token.reference, transformedProviderAst);\n\t return transformedProviderAst;\n\t };\n\t NgModuleProviderAnalyzer.prototype._getDependency = function (dep, eager, requestorSourceSpan) {\n\t if (eager === void 0) { eager = null; }\n\t var foundLocal = false;\n\t if (!dep.isSkipSelf && isPresent(dep.token)) {\n\t // access the injector\n\t if (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference ||\n\t dep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ComponentFactoryResolver).reference) {\n\t foundLocal = true;\n\t }\n\t else if (isPresent(this._getOrCreateLocalProvider(dep.token, eager))) {\n\t foundLocal = true;\n\t }\n\t }\n\t var result = dep;\n\t if (dep.isSelf && !foundLocal) {\n\t if (dep.isOptional) {\n\t result = new CompileDiDependencyMetadata({ isValue: true, value: null });\n\t }\n\t else {\n\t this._errors.push(new ProviderError(\"No provider for \" + dep.token.name, requestorSourceSpan));\n\t }\n\t }\n\t return result;\n\t };\n\t return NgModuleProviderAnalyzer;\n\t }());\n\t function _transformProvider(provider, _a) {\n\t var useExisting = _a.useExisting, useValue = _a.useValue, deps = _a.deps;\n\t return new CompileProviderMetadata({\n\t token: provider.token,\n\t useClass: provider.useClass,\n\t useExisting: useExisting,\n\t useFactory: provider.useFactory,\n\t useValue: useValue,\n\t deps: deps,\n\t multi: provider.multi\n\t });\n\t }\n\t function _transformProviderAst(provider, _a) {\n\t var eager = _a.eager, providers = _a.providers;\n\t return new ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.lifecycleHooks, provider.sourceSpan);\n\t }\n\t function _normalizeProviders(providers, sourceSpan, targetErrors, targetProviders) {\n\t if (targetProviders === void 0) { targetProviders = null; }\n\t if (!targetProviders) {\n\t targetProviders = [];\n\t }\n\t if (isPresent(providers)) {\n\t providers.forEach(function (provider) {\n\t if (Array.isArray(provider)) {\n\t _normalizeProviders(provider, sourceSpan, targetErrors, targetProviders);\n\t }\n\t else {\n\t var normalizeProvider = void 0;\n\t if (provider instanceof CompileProviderMetadata) {\n\t normalizeProvider = provider;\n\t }\n\t else if (provider instanceof CompileTypeMetadata) {\n\t normalizeProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: provider }), useClass: provider });\n\t }\n\t else {\n\t targetErrors.push(new ProviderError(\"Unknown provider type \" + provider, sourceSpan));\n\t }\n\t if (isPresent(normalizeProvider)) {\n\t targetProviders.push(normalizeProvider);\n\t }\n\t }\n\t });\n\t }\n\t return targetProviders;\n\t }\n\t function _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\n\t var providersByToken = new Map();\n\t directives.forEach(function (directive) {\n\t var dirProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: directive.type }), useClass: directive.type });\n\t _resolveProviders([dirProvider], directive.isComponent ? exports.ProviderAstType.Component : exports.ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken);\n\t });\n\t // Note: directives need to be able to overwrite providers of a component!\n\t var directivesWithComponentFirst = directives.filter(function (dir) { return dir.isComponent; }).concat(directives.filter(function (dir) { return !dir.isComponent; }));\n\t directivesWithComponentFirst.forEach(function (directive) {\n\t _resolveProviders(_normalizeProviders(directive.providers, sourceSpan, targetErrors), exports.ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken);\n\t _resolveProviders(_normalizeProviders(directive.viewProviders, sourceSpan, targetErrors), exports.ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken);\n\t });\n\t return providersByToken;\n\t }\n\t function _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken) {\n\t providers.forEach(function (provider) {\n\t var resolvedProvider = targetProvidersByToken.get(provider.token.reference);\n\t if (isPresent(resolvedProvider) && resolvedProvider.multiProvider !== provider.multi) {\n\t targetErrors.push(new ProviderError(\"Mixing multi and non multi provider is not possible for token \" + resolvedProvider.token.name, sourceSpan));\n\t }\n\t if (!resolvedProvider) {\n\t var lifecycleHooks = provider.token.identifier && provider.token.identifier instanceof CompileTypeMetadata ?\n\t provider.token.identifier.lifecycleHooks :\n\t [];\n\t resolvedProvider = new ProviderAst(provider.token, provider.multi, eager || lifecycleHooks.length > 0, [provider], providerType, lifecycleHooks, sourceSpan);\n\t targetProvidersByToken.set(provider.token.reference, resolvedProvider);\n\t }\n\t else {\n\t if (!provider.multi) {\n\t resolvedProvider.providers.length = 0;\n\t }\n\t resolvedProvider.providers.push(provider);\n\t }\n\t });\n\t }\n\t function _getViewQueries(component) {\n\t var viewQueries = new Map();\n\t if (isPresent(component.viewQueries)) {\n\t component.viewQueries.forEach(function (query) { return _addQueryToTokenMap(viewQueries, query); });\n\t }\n\t return viewQueries;\n\t }\n\t function _getContentQueries(directives) {\n\t var contentQueries = new Map();\n\t directives.forEach(function (directive) {\n\t if (isPresent(directive.queries)) {\n\t directive.queries.forEach(function (query) { return _addQueryToTokenMap(contentQueries, query); });\n\t }\n\t });\n\t return contentQueries;\n\t }\n\t function _addQueryToTokenMap(map, query) {\n\t query.selectors.forEach(function (token) {\n\t var entry = map.get(token.reference);\n\t if (!entry) {\n\t entry = [];\n\t map.set(token.reference, entry);\n\t }\n\t entry.push(query);\n\t });\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var ElementSchemaRegistry = (function () {\n\t function ElementSchemaRegistry() {\n\t }\n\t return ElementSchemaRegistry;\n\t }());\n\t\n\t var StyleWithImports = (function () {\n\t function StyleWithImports(style, styleUrls) {\n\t this.style = style;\n\t this.styleUrls = styleUrls;\n\t }\n\t return StyleWithImports;\n\t }());\n\t function isStyleUrlResolvable(url) {\n\t if (isBlank(url) || url.length === 0 || url[0] == '/')\n\t return false;\n\t var schemeMatch = url.match(_urlWithSchemaRe);\n\t return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\n\t }\n\t /**\n\t * Rewrites stylesheets by resolving and removing the @import urls that\n\t * are either relative or don't have a `package:` scheme\n\t */\n\t function extractStyleUrls(resolver, baseUrl, cssText) {\n\t var foundUrls = [];\n\t var modifiedCssText = cssText.replace(_cssImportRe, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t var url = m[1] || m[2];\n\t if (!isStyleUrlResolvable(url)) {\n\t // Do not attempt to resolve non-package absolute URLs with URI scheme\n\t return m[0];\n\t }\n\t foundUrls.push(resolver.resolve(baseUrl, url));\n\t return '';\n\t });\n\t return new StyleWithImports(modifiedCssText, foundUrls);\n\t }\n\t var _cssImportRe = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\n\t var _urlWithSchemaRe = /^([^:/?#]+):/;\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$11 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var PROPERTY_PARTS_SEPARATOR = '.';\n\t var ATTRIBUTE_PREFIX = 'attr';\n\t var CLASS_PREFIX = 'class';\n\t var STYLE_PREFIX = 'style';\n\t var ANIMATE_PROP_PREFIX = 'animate-';\n\t var BoundPropertyType;\n\t (function (BoundPropertyType) {\n\t BoundPropertyType[BoundPropertyType[\"DEFAULT\"] = 0] = \"DEFAULT\";\n\t BoundPropertyType[BoundPropertyType[\"LITERAL_ATTR\"] = 1] = \"LITERAL_ATTR\";\n\t BoundPropertyType[BoundPropertyType[\"ANIMATION\"] = 2] = \"ANIMATION\";\n\t })(BoundPropertyType || (BoundPropertyType = {}));\n\t /**\n\t * Represents a parsed property.\n\t */\n\t var BoundProperty = (function () {\n\t function BoundProperty(name, expression, type, sourceSpan) {\n\t this.name = name;\n\t this.expression = expression;\n\t this.type = type;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t Object.defineProperty(BoundProperty.prototype, \"isLiteral\", {\n\t get: function () { return this.type === BoundPropertyType.LITERAL_ATTR; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BoundProperty.prototype, \"isAnimation\", {\n\t get: function () { return this.type === BoundPropertyType.ANIMATION; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return BoundProperty;\n\t }());\n\t /**\n\t * Parses bindings in templates and in the directive host area.\n\t */\n\t var BindingParser = (function () {\n\t function BindingParser(_exprParser, _interpolationConfig, _schemaRegistry, pipes, _targetErrors) {\n\t var _this = this;\n\t this._exprParser = _exprParser;\n\t this._interpolationConfig = _interpolationConfig;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._targetErrors = _targetErrors;\n\t this.pipesByName = new Map();\n\t pipes.forEach(function (pipe) { return _this.pipesByName.set(pipe.name, pipe); });\n\t }\n\t BindingParser.prototype.createDirectiveHostPropertyAsts = function (dirMeta, sourceSpan) {\n\t var _this = this;\n\t if (dirMeta.hostProperties) {\n\t var boundProps_1 = [];\n\t Object.keys(dirMeta.hostProperties).forEach(function (propName) {\n\t var expression = dirMeta.hostProperties[propName];\n\t if (typeof expression === 'string') {\n\t _this.parsePropertyBinding(propName, expression, true, sourceSpan, [], boundProps_1);\n\t }\n\t else {\n\t _this._reportError(\"Value of the host property binding \\\"\" + propName + \"\\\" needs to be a string representing an expression but got \\\"\" + expression + \"\\\" (\" + typeof expression + \")\", sourceSpan);\n\t }\n\t });\n\t return boundProps_1.map(function (prop) { return _this.createElementPropertyAst(dirMeta.selector, prop); });\n\t }\n\t };\n\t BindingParser.prototype.createDirectiveHostEventAsts = function (dirMeta, sourceSpan) {\n\t var _this = this;\n\t if (dirMeta.hostListeners) {\n\t var targetEventAsts_1 = [];\n\t Object.keys(dirMeta.hostListeners).forEach(function (propName) {\n\t var expression = dirMeta.hostListeners[propName];\n\t if (typeof expression === 'string') {\n\t _this.parseEvent(propName, expression, sourceSpan, [], targetEventAsts_1);\n\t }\n\t else {\n\t _this._reportError(\"Value of the host listener \\\"\" + propName + \"\\\" needs to be a string representing an expression but got \\\"\" + expression + \"\\\" (\" + typeof expression + \")\", sourceSpan);\n\t }\n\t });\n\t return targetEventAsts_1;\n\t }\n\t };\n\t BindingParser.prototype.parseInterpolation = function (value, sourceSpan) {\n\t var sourceInfo = sourceSpan.start.toString();\n\t try {\n\t var ast = this._exprParser.parseInterpolation(value, sourceInfo, this._interpolationConfig);\n\t if (ast)\n\t this._reportExpressionParserErrors(ast.errors, sourceSpan);\n\t this._checkPipes(ast, sourceSpan);\n\t return ast;\n\t }\n\t catch (e) {\n\t this._reportError(\"\" + e, sourceSpan);\n\t return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n\t }\n\t };\n\t BindingParser.prototype.parseInlineTemplateBinding = function (name, prefixToken, value, sourceSpan, targetMatchableAttrs, targetProps, targetVars) {\n\t var bindings = this._parseTemplateBindings(prefixToken, value, sourceSpan);\n\t for (var i = 0; i < bindings.length; i++) {\n\t var binding = bindings[i];\n\t if (binding.keyIsVar) {\n\t targetVars.push(new VariableAst(binding.key, binding.name, sourceSpan));\n\t }\n\t else if (isPresent(binding.expression)) {\n\t this._parsePropertyAst(binding.key, binding.expression, sourceSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else {\n\t targetMatchableAttrs.push([binding.key, '']);\n\t this.parseLiteralAttr(binding.key, null, sourceSpan, targetMatchableAttrs, targetProps);\n\t }\n\t }\n\t };\n\t BindingParser.prototype._parseTemplateBindings = function (prefixToken, value, sourceSpan) {\n\t var _this = this;\n\t var sourceInfo = sourceSpan.start.toString();\n\t try {\n\t var bindingsResult = this._exprParser.parseTemplateBindings(prefixToken, value, sourceInfo);\n\t this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);\n\t bindingsResult.templateBindings.forEach(function (binding) {\n\t if (isPresent(binding.expression)) {\n\t _this._checkPipes(binding.expression, sourceSpan);\n\t }\n\t });\n\t bindingsResult.warnings.forEach(function (warning) { _this._reportError(warning, sourceSpan, exports.ParseErrorLevel.WARNING); });\n\t return bindingsResult.templateBindings;\n\t }\n\t catch (e) {\n\t this._reportError(\"\" + e, sourceSpan);\n\t return [];\n\t }\n\t };\n\t BindingParser.prototype.parseLiteralAttr = function (name, value, sourceSpan, targetMatchableAttrs, targetProps) {\n\t if (_isAnimationLabel(name)) {\n\t name = name.substring(1);\n\t if (value) {\n\t this._reportError(\"Assigning animation triggers via @prop=\\\"exp\\\" attributes with an expression is invalid.\" +\n\t \" Use property bindings (e.g. [@prop]=\\\"exp\\\") or use an attribute without a value (e.g. @prop) instead.\", sourceSpan, exports.ParseErrorLevel.FATAL);\n\t }\n\t this._parseAnimation(name, value, sourceSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else {\n\t targetProps.push(new BoundProperty(name, this._exprParser.wrapLiteralPrimitive(value, ''), BoundPropertyType.LITERAL_ATTR, sourceSpan));\n\t }\n\t };\n\t BindingParser.prototype.parsePropertyBinding = function (name, expression, isHost, sourceSpan, targetMatchableAttrs, targetProps) {\n\t var isAnimationProp = false;\n\t if (name.startsWith(ANIMATE_PROP_PREFIX)) {\n\t isAnimationProp = true;\n\t name = name.substring(ANIMATE_PROP_PREFIX.length);\n\t }\n\t else if (_isAnimationLabel(name)) {\n\t isAnimationProp = true;\n\t name = name.substring(1);\n\t }\n\t if (isAnimationProp) {\n\t this._parseAnimation(name, expression, sourceSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else {\n\t this._parsePropertyAst(name, this._parseBinding(expression, isHost, sourceSpan), sourceSpan, targetMatchableAttrs, targetProps);\n\t }\n\t };\n\t BindingParser.prototype.parsePropertyInterpolation = function (name, value, sourceSpan, targetMatchableAttrs, targetProps) {\n\t var expr = this.parseInterpolation(value, sourceSpan);\n\t if (isPresent(expr)) {\n\t this._parsePropertyAst(name, expr, sourceSpan, targetMatchableAttrs, targetProps);\n\t return true;\n\t }\n\t return false;\n\t };\n\t BindingParser.prototype._parsePropertyAst = function (name, ast, sourceSpan, targetMatchableAttrs, targetProps) {\n\t targetMatchableAttrs.push([name, ast.source]);\n\t targetProps.push(new BoundProperty(name, ast, BoundPropertyType.DEFAULT, sourceSpan));\n\t };\n\t BindingParser.prototype._parseAnimation = function (name, expression, sourceSpan, targetMatchableAttrs, targetProps) {\n\t // This will occur when a @trigger is not paired with an expression.\n\t // For animations it is valid to not have an expression since */void\n\t // states will be applied by angular when the element is attached/detached\n\t var ast = this._parseBinding(expression || 'null', false, sourceSpan);\n\t targetMatchableAttrs.push([name, ast.source]);\n\t targetProps.push(new BoundProperty(name, ast, BoundPropertyType.ANIMATION, sourceSpan));\n\t };\n\t BindingParser.prototype._parseBinding = function (value, isHostBinding, sourceSpan) {\n\t var sourceInfo = sourceSpan.start.toString();\n\t try {\n\t var ast = isHostBinding ?\n\t this._exprParser.parseSimpleBinding(value, sourceInfo, this._interpolationConfig) :\n\t this._exprParser.parseBinding(value, sourceInfo, this._interpolationConfig);\n\t if (ast)\n\t this._reportExpressionParserErrors(ast.errors, sourceSpan);\n\t this._checkPipes(ast, sourceSpan);\n\t return ast;\n\t }\n\t catch (e) {\n\t this._reportError(\"\" + e, sourceSpan);\n\t return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n\t }\n\t };\n\t BindingParser.prototype.createElementPropertyAst = function (elementSelector, boundProp) {\n\t if (boundProp.isAnimation) {\n\t return new BoundElementPropertyAst(boundProp.name, exports.PropertyBindingType.Animation, _angular_core.SecurityContext.NONE, false, boundProp.expression, null, boundProp.sourceSpan);\n\t }\n\t var unit = null;\n\t var bindingType;\n\t var boundPropertyName;\n\t var parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);\n\t var securityContexts;\n\t if (parts.length === 1) {\n\t var partValue = parts[0];\n\t boundPropertyName = this._schemaRegistry.getMappedPropName(partValue);\n\t securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, false);\n\t bindingType = exports.PropertyBindingType.Property;\n\t this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, false);\n\t }\n\t else {\n\t if (parts[0] == ATTRIBUTE_PREFIX) {\n\t boundPropertyName = parts[1];\n\t this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);\n\t securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);\n\t var nsSeparatorIdx = boundPropertyName.indexOf(':');\n\t if (nsSeparatorIdx > -1) {\n\t var ns = boundPropertyName.substring(0, nsSeparatorIdx);\n\t var name_1 = boundPropertyName.substring(nsSeparatorIdx + 1);\n\t boundPropertyName = mergeNsAndName(ns, name_1);\n\t }\n\t bindingType = exports.PropertyBindingType.Attribute;\n\t }\n\t else if (parts[0] == CLASS_PREFIX) {\n\t boundPropertyName = parts[1];\n\t bindingType = exports.PropertyBindingType.Class;\n\t securityContexts = [_angular_core.SecurityContext.NONE];\n\t }\n\t else if (parts[0] == STYLE_PREFIX) {\n\t unit = parts.length > 2 ? parts[2] : null;\n\t boundPropertyName = parts[1];\n\t bindingType = exports.PropertyBindingType.Style;\n\t securityContexts = [_angular_core.SecurityContext.STYLE];\n\t }\n\t else {\n\t this._reportError(\"Invalid property name '\" + boundProp.name + \"'\", boundProp.sourceSpan);\n\t bindingType = null;\n\t securityContexts = [];\n\t }\n\t }\n\t return new BoundElementPropertyAst(boundPropertyName, bindingType, securityContexts.length === 1 ? securityContexts[0] : null, securityContexts.length > 1, boundProp.expression, unit, boundProp.sourceSpan);\n\t };\n\t BindingParser.prototype.parseEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n\t if (_isAnimationLabel(name)) {\n\t name = name.substr(1);\n\t this._parseAnimationEvent(name, expression, sourceSpan, targetEvents);\n\t }\n\t else {\n\t this._parseEvent(name, expression, sourceSpan, targetMatchableAttrs, targetEvents);\n\t }\n\t };\n\t BindingParser.prototype._parseAnimationEvent = function (name, expression, sourceSpan, targetEvents) {\n\t var matches = splitAtPeriod(name, [name, '']);\n\t var eventName = matches[0];\n\t var phase = matches[1].toLowerCase();\n\t if (phase) {\n\t switch (phase) {\n\t case 'start':\n\t case 'done':\n\t var ast = this._parseAction(expression, sourceSpan);\n\t targetEvents.push(new BoundEventAst(eventName, null, phase, ast, sourceSpan));\n\t break;\n\t default:\n\t this._reportError(\"The provided animation output phase value \\\"\" + phase + \"\\\" for \\\"@\" + eventName + \"\\\" is not supported (use start or done)\", sourceSpan);\n\t break;\n\t }\n\t }\n\t else {\n\t this._reportError(\"The animation trigger output event (@\" + eventName + \") is missing its phase value name (start or done are currently supported)\", sourceSpan);\n\t }\n\t };\n\t BindingParser.prototype._parseEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n\t // long format: 'target: eventName'\n\t var _a = splitAtColon(name, [null, name]), target = _a[0], eventName = _a[1];\n\t var ast = this._parseAction(expression, sourceSpan);\n\t targetMatchableAttrs.push([name, ast.source]);\n\t targetEvents.push(new BoundEventAst(eventName, target, null, ast, sourceSpan));\n\t // Don't detect directives for event names for now,\n\t // so don't add the event name to the matchableAttrs\n\t };\n\t BindingParser.prototype._parseAction = function (value, sourceSpan) {\n\t var sourceInfo = sourceSpan.start.toString();\n\t try {\n\t var ast = this._exprParser.parseAction(value, sourceInfo, this._interpolationConfig);\n\t if (ast) {\n\t this._reportExpressionParserErrors(ast.errors, sourceSpan);\n\t }\n\t if (!ast || ast.ast instanceof EmptyExpr) {\n\t this._reportError(\"Empty expressions are not allowed\", sourceSpan);\n\t return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n\t }\n\t this._checkPipes(ast, sourceSpan);\n\t return ast;\n\t }\n\t catch (e) {\n\t this._reportError(\"\" + e, sourceSpan);\n\t return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n\t }\n\t };\n\t BindingParser.prototype._reportError = function (message, sourceSpan, level) {\n\t if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n\t this._targetErrors.push(new ParseError(sourceSpan, message, level));\n\t };\n\t BindingParser.prototype._reportExpressionParserErrors = function (errors, sourceSpan) {\n\t for (var _i = 0, errors_1 = errors; _i < errors_1.length; _i++) {\n\t var error = errors_1[_i];\n\t this._reportError(error.message, sourceSpan);\n\t }\n\t };\n\t BindingParser.prototype._checkPipes = function (ast, sourceSpan) {\n\t var _this = this;\n\t if (isPresent(ast)) {\n\t var collector = new PipeCollector();\n\t ast.visit(collector);\n\t collector.pipes.forEach(function (pipeName) {\n\t if (!_this.pipesByName.has(pipeName)) {\n\t _this._reportError(\"The pipe '\" + pipeName + \"' could not be found\", sourceSpan);\n\t }\n\t });\n\t }\n\t };\n\t /**\n\t * @param propName the name of the property / attribute\n\t * @param sourceSpan\n\t * @param isAttr true when binding to an attribute\n\t * @private\n\t */\n\t BindingParser.prototype._validatePropertyOrAttributeName = function (propName, sourceSpan, isAttr) {\n\t var report = isAttr ? this._schemaRegistry.validateAttribute(propName) :\n\t this._schemaRegistry.validateProperty(propName);\n\t if (report.error) {\n\t this._reportError(report.msg, sourceSpan, exports.ParseErrorLevel.FATAL);\n\t }\n\t };\n\t return BindingParser;\n\t }());\n\t var PipeCollector = (function (_super) {\n\t __extends$11(PipeCollector, _super);\n\t function PipeCollector() {\n\t _super.apply(this, arguments);\n\t this.pipes = new Set();\n\t }\n\t PipeCollector.prototype.visitPipe = function (ast, context) {\n\t this.pipes.add(ast.name);\n\t ast.exp.visit(this);\n\t this.visitAll(ast.args, context);\n\t return null;\n\t };\n\t return PipeCollector;\n\t }(RecursiveAstVisitor));\n\t function _isAnimationLabel(name) {\n\t return name[0] == '@';\n\t }\n\t function calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {\n\t var ctxs = [];\n\t CssSelector.parse(selector).forEach(function (selector) {\n\t var elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();\n\t var notElementNames = new Set(selector.notSelectors.filter(function (selector) { return selector.isElementSelector(); })\n\t .map(function (selector) { return selector.element; }));\n\t var possibleElementNames = elementNames.filter(function (elementName) { return !notElementNames.has(elementName); });\n\t ctxs.push.apply(ctxs, possibleElementNames.map(function (elementName) { return registry.securityContext(elementName, propName, isAttribute); }));\n\t });\n\t return ctxs.length === 0 ? [_angular_core.SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();\n\t }\n\t\n\t var NG_CONTENT_SELECT_ATTR = 'select';\n\t var NG_CONTENT_ELEMENT = 'ng-content';\n\t var LINK_ELEMENT = 'link';\n\t var LINK_STYLE_REL_ATTR = 'rel';\n\t var LINK_STYLE_HREF_ATTR = 'href';\n\t var LINK_STYLE_REL_VALUE = 'stylesheet';\n\t var STYLE_ELEMENT = 'style';\n\t var SCRIPT_ELEMENT = 'script';\n\t var NG_NON_BINDABLE_ATTR = 'ngNonBindable';\n\t var NG_PROJECT_AS = 'ngProjectAs';\n\t function preparseElement(ast) {\n\t var selectAttr = null;\n\t var hrefAttr = null;\n\t var relAttr = null;\n\t var nonBindable = false;\n\t var projectAs = null;\n\t ast.attrs.forEach(function (attr) {\n\t var lcAttrName = attr.name.toLowerCase();\n\t if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\n\t selectAttr = attr.value;\n\t }\n\t else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\n\t hrefAttr = attr.value;\n\t }\n\t else if (lcAttrName == LINK_STYLE_REL_ATTR) {\n\t relAttr = attr.value;\n\t }\n\t else if (attr.name == NG_NON_BINDABLE_ATTR) {\n\t nonBindable = true;\n\t }\n\t else if (attr.name == NG_PROJECT_AS) {\n\t if (attr.value.length > 0) {\n\t projectAs = attr.value;\n\t }\n\t }\n\t });\n\t selectAttr = normalizeNgContentSelect(selectAttr);\n\t var nodeName = ast.name.toLowerCase();\n\t var type = PreparsedElementType.OTHER;\n\t if (splitNsName(nodeName)[1] == NG_CONTENT_ELEMENT) {\n\t type = PreparsedElementType.NG_CONTENT;\n\t }\n\t else if (nodeName == STYLE_ELEMENT) {\n\t type = PreparsedElementType.STYLE;\n\t }\n\t else if (nodeName == SCRIPT_ELEMENT) {\n\t type = PreparsedElementType.SCRIPT;\n\t }\n\t else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\n\t type = PreparsedElementType.STYLESHEET;\n\t }\n\t return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\n\t }\n\t var PreparsedElementType;\n\t (function (PreparsedElementType) {\n\t PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\n\t PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\n\t PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\n\t PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\n\t PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\n\t })(PreparsedElementType || (PreparsedElementType = {}));\n\t var PreparsedElement = (function () {\n\t function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) {\n\t this.type = type;\n\t this.selectAttr = selectAttr;\n\t this.hrefAttr = hrefAttr;\n\t this.nonBindable = nonBindable;\n\t this.projectAs = projectAs;\n\t }\n\t return PreparsedElement;\n\t }());\n\t function normalizeNgContentSelect(selectAttr) {\n\t if (selectAttr === null || selectAttr.length === 0) {\n\t return '*';\n\t }\n\t return selectAttr;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t // Group 1 = \"bind-\"\n\t // Group 2 = \"let-\"\n\t // Group 3 = \"ref-/#\"\n\t // Group 4 = \"on-\"\n\t // Group 5 = \"bindon-\"\n\t // Group 6 = \"@\"\n\t // Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\n\t // Group 8 = identifier inside [()]\n\t // Group 9 = identifier inside []\n\t // Group 10 = identifier inside ()\n\t var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/;\n\t var KW_BIND_IDX = 1;\n\t var KW_LET_IDX = 2;\n\t var KW_REF_IDX = 3;\n\t var KW_ON_IDX = 4;\n\t var KW_BINDON_IDX = 5;\n\t var KW_AT_IDX = 6;\n\t var IDENT_KW_IDX = 7;\n\t var IDENT_BANANA_BOX_IDX = 8;\n\t var IDENT_PROPERTY_IDX = 9;\n\t var IDENT_EVENT_IDX = 10;\n\t var TEMPLATE_ELEMENT = 'template';\n\t var TEMPLATE_ATTR = 'template';\n\t var TEMPLATE_ATTR_PREFIX = '*';\n\t var CLASS_ATTR = 'class';\n\t var TEXT_CSS_SELECTOR = CssSelector.parse('*')[0];\n\t /**\n\t * Provides an array of {@link TemplateAstVisitor}s which will be used to transform\n\t * parsed templates before compilation is invoked, allowing custom expression syntax\n\t * and other advanced transformations.\n\t *\n\t * This is currently an internal-only feature and not meant for general use.\n\t */\n\t var TEMPLATE_TRANSFORMS = new _angular_core.OpaqueToken('TemplateTransforms');\n\t var TemplateParseError = (function (_super) {\n\t __extends(TemplateParseError, _super);\n\t function TemplateParseError(message, span, level) {\n\t _super.call(this, span, message, level);\n\t }\n\t return TemplateParseError;\n\t }(ParseError));\n\t var TemplateParseResult = (function () {\n\t function TemplateParseResult(templateAst, errors) {\n\t this.templateAst = templateAst;\n\t this.errors = errors;\n\t }\n\t return TemplateParseResult;\n\t }());\n\t var TemplateParser = (function () {\n\t function TemplateParser(_exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\n\t this._exprParser = _exprParser;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._htmlParser = _htmlParser;\n\t this._console = _console;\n\t this.transforms = transforms;\n\t }\n\t TemplateParser.prototype.parse = function (component, template, directives, pipes, schemas, templateUrl) {\n\t var result = this.tryParse(component, template, directives, pipes, schemas, templateUrl);\n\t var warnings = result.errors.filter(function (error) { return error.level === exports.ParseErrorLevel.WARNING; });\n\t var errors = result.errors.filter(function (error) { return error.level === exports.ParseErrorLevel.FATAL; });\n\t if (warnings.length > 0) {\n\t this._console.warn(\"Template parse warnings:\\n\" + warnings.join('\\n'));\n\t }\n\t if (errors.length > 0) {\n\t var errorString = errors.join('\\n');\n\t throw new Error(\"Template parse errors:\\n\" + errorString);\n\t }\n\t return result.templateAst;\n\t };\n\t TemplateParser.prototype.tryParse = function (component, template, directives, pipes, schemas, templateUrl) {\n\t return this.tryParseHtml(this.expandHtml(this._htmlParser.parse(template, templateUrl, true, this.getInterpolationConfig(component))), component, template, directives, pipes, schemas, templateUrl);\n\t };\n\t TemplateParser.prototype.tryParseHtml = function (htmlAstWithErrors, component, template, directives, pipes, schemas, templateUrl) {\n\t var result;\n\t var errors = htmlAstWithErrors.errors;\n\t if (htmlAstWithErrors.rootNodes.length > 0) {\n\t var uniqDirectives = removeSummaryDuplicates(directives);\n\t var uniqPipes = removeSummaryDuplicates(pipes);\n\t var providerViewContext = new ProviderViewContext(component, htmlAstWithErrors.rootNodes[0].sourceSpan);\n\t var interpolationConfig = void 0;\n\t if (component.template && component.template.interpolation) {\n\t interpolationConfig = {\n\t start: component.template.interpolation[0],\n\t end: component.template.interpolation[1]\n\t };\n\t }\n\t var bindingParser = new BindingParser(this._exprParser, interpolationConfig, this._schemaRegistry, uniqPipes, errors);\n\t var parseVisitor = new TemplateParseVisitor(providerViewContext, uniqDirectives, bindingParser, this._schemaRegistry, schemas, errors);\n\t result = visitAll(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\n\t errors.push.apply(errors, providerViewContext.errors);\n\t }\n\t else {\n\t result = [];\n\t }\n\t this._assertNoReferenceDuplicationOnTemplate(result, errors);\n\t if (errors.length > 0) {\n\t return new TemplateParseResult(result, errors);\n\t }\n\t if (isPresent(this.transforms)) {\n\t this.transforms.forEach(function (transform) { result = templateVisitAll(transform, result); });\n\t }\n\t return new TemplateParseResult(result, errors);\n\t };\n\t TemplateParser.prototype.expandHtml = function (htmlAstWithErrors, forced) {\n\t if (forced === void 0) { forced = false; }\n\t var errors = htmlAstWithErrors.errors;\n\t if (errors.length == 0 || forced) {\n\t // Transform ICU messages to angular directives\n\t var expandedHtmlAst = expandNodes(htmlAstWithErrors.rootNodes);\n\t errors.push.apply(errors, expandedHtmlAst.errors);\n\t htmlAstWithErrors = new ParseTreeResult(expandedHtmlAst.nodes, errors);\n\t }\n\t return htmlAstWithErrors;\n\t };\n\t TemplateParser.prototype.getInterpolationConfig = function (component) {\n\t if (component.template) {\n\t return InterpolationConfig.fromArray(component.template.interpolation);\n\t }\n\t };\n\t /** @internal */\n\t TemplateParser.prototype._assertNoReferenceDuplicationOnTemplate = function (result, errors) {\n\t var existingReferences = [];\n\t result.filter(function (element) { return !!element.references; })\n\t .forEach(function (element) { return element.references.forEach(function (reference) {\n\t var name = reference.name;\n\t if (existingReferences.indexOf(name) < 0) {\n\t existingReferences.push(name);\n\t }\n\t else {\n\t var error = new TemplateParseError(\"Reference \\\"#\" + name + \"\\\" is defined several times\", reference.sourceSpan, exports.ParseErrorLevel.FATAL);\n\t errors.push(error);\n\t }\n\t }); });\n\t };\n\t TemplateParser.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t TemplateParser.ctorParameters = [\n\t { type: Parser, },\n\t { type: ElementSchemaRegistry, },\n\t { type: I18NHtmlParser, },\n\t { type: Console, },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [TEMPLATE_TRANSFORMS,] },] },\n\t ];\n\t return TemplateParser;\n\t }());\n\t var TemplateParseVisitor = (function () {\n\t function TemplateParseVisitor(providerViewContext, directives, _bindingParser, _schemaRegistry, _schemas, _targetErrors) {\n\t var _this = this;\n\t this.providerViewContext = providerViewContext;\n\t this._bindingParser = _bindingParser;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._schemas = _schemas;\n\t this._targetErrors = _targetErrors;\n\t this.selectorMatcher = new SelectorMatcher();\n\t this.directivesIndex = new Map();\n\t this.ngContentCount = 0;\n\t directives.forEach(function (directive, index) {\n\t var selector = CssSelector.parse(directive.selector);\n\t _this.selectorMatcher.addSelectables(selector, directive);\n\t _this.directivesIndex.set(directive, index);\n\t });\n\t }\n\t TemplateParseVisitor.prototype.visitExpansion = function (expansion, context) { return null; };\n\t TemplateParseVisitor.prototype.visitExpansionCase = function (expansionCase, context) { return null; };\n\t TemplateParseVisitor.prototype.visitText = function (text, parent) {\n\t var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n\t var expr = this._bindingParser.parseInterpolation(text.value, text.sourceSpan);\n\t if (isPresent(expr)) {\n\t return new BoundTextAst(expr, ngContentIndex, text.sourceSpan);\n\t }\n\t else {\n\t return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n\t }\n\t };\n\t TemplateParseVisitor.prototype.visitAttribute = function (attribute, context) {\n\t return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n\t };\n\t TemplateParseVisitor.prototype.visitComment = function (comment, context) { return null; };\n\t TemplateParseVisitor.prototype.visitElement = function (element, parent) {\n\t var _this = this;\n\t var nodeName = element.name;\n\t var preparsedElement = preparseElement(element);\n\t if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n\t preparsedElement.type === PreparsedElementType.STYLE) {\n\t // Skipping <script> for security reasons\n\t // Skipping <style> as we already processed them\n\t // in the StyleCompiler\n\t return null;\n\t }\n\t if (preparsedElement.type === PreparsedElementType.STYLESHEET &&\n\t isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n\t // Skipping stylesheets with either relative urls or package scheme as we already processed\n\t // them in the StyleCompiler\n\t return null;\n\t }\n\t var matchableAttrs = [];\n\t var elementOrDirectiveProps = [];\n\t var elementOrDirectiveRefs = [];\n\t var elementVars = [];\n\t var events = [];\n\t var templateElementOrDirectiveProps = [];\n\t var templateMatchableAttrs = [];\n\t var templateElementVars = [];\n\t var hasInlineTemplates = false;\n\t var attrs = [];\n\t var lcElName = splitNsName(nodeName.toLowerCase())[1];\n\t var isTemplateElement = lcElName == TEMPLATE_ELEMENT;\n\t element.attrs.forEach(function (attr) {\n\t var hasBinding = _this._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\n\t var templateBindingsSource = undefined;\n\t var prefixToken = undefined;\n\t if (_this._normalizeAttributeName(attr.name) == TEMPLATE_ATTR) {\n\t templateBindingsSource = attr.value;\n\t }\n\t else if (attr.name.startsWith(TEMPLATE_ATTR_PREFIX)) {\n\t templateBindingsSource = attr.value;\n\t prefixToken = attr.name.substring(TEMPLATE_ATTR_PREFIX.length); // remove the star\n\t }\n\t var hasTemplateBinding = isPresent(templateBindingsSource);\n\t if (hasTemplateBinding) {\n\t if (hasInlineTemplates) {\n\t _this._reportError(\"Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *\", attr.sourceSpan);\n\t }\n\t hasInlineTemplates = true;\n\t _this._bindingParser.parseInlineTemplateBinding(attr.name, prefixToken, templateBindingsSource, attr.sourceSpan, templateMatchableAttrs, templateElementOrDirectiveProps, templateElementVars);\n\t }\n\t if (!hasBinding && !hasTemplateBinding) {\n\t // don't include the bindings as attributes as well in the AST\n\t attrs.push(_this.visitAttribute(attr, null));\n\t matchableAttrs.push([attr.name, attr.value]);\n\t }\n\t });\n\t var elementCssSelector = createElementCssSelector(nodeName, matchableAttrs);\n\t var _a = this._parseDirectives(this.selectorMatcher, elementCssSelector), directiveMetas = _a.directives, matchElement = _a.matchElement;\n\t var references = [];\n\t var directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references);\n\t var elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, directiveAsts);\n\t var isViewRoot = parent.isTemplateElement || hasInlineTemplates;\n\t var providerContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, element.sourceSpan);\n\t var children = visitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\n\t providerContext.afterElement();\n\t // Override the actual selector when the `ngProjectAs` attribute is provided\n\t var projectionSelector = isPresent(preparsedElement.projectAs) ?\n\t CssSelector.parse(preparsedElement.projectAs)[0] :\n\t elementCssSelector;\n\t var ngContentIndex = parent.findNgContentIndex(projectionSelector);\n\t var parsedElement;\n\t if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n\t if (element.children && !element.children.every(_isEmptyTextNode)) {\n\t this._reportError(\"<ng-content> element cannot have content.\", element.sourceSpan);\n\t }\n\t parsedElement = new NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n\t }\n\t else if (isTemplateElement) {\n\t this._assertAllEventsPublishedByDirectives(directiveAsts, events);\n\t this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\n\t parsedElement = new EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n\t }\n\t else {\n\t this._assertElementExists(matchElement, element);\n\t this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\n\t var ngContentIndex_1 = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\n\t parsedElement = new ElementAst(nodeName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex_1, element.sourceSpan, element.endSourceSpan);\n\t this._findComponentDirectives(directiveAsts)\n\t .forEach(function (componentDirectiveAst) { return _this._validateElementAnimationInputOutputs(componentDirectiveAst.hostProperties, componentDirectiveAst.hostEvents, componentDirectiveAst.directive.template); });\n\t var componentTemplate = providerContext.viewContext.component.template;\n\t this._validateElementAnimationInputOutputs(elementProps, events, componentTemplate.toSummary());\n\t }\n\t if (hasInlineTemplates) {\n\t var templateCssSelector = createElementCssSelector(TEMPLATE_ELEMENT, templateMatchableAttrs);\n\t var templateDirectiveMetas = this._parseDirectives(this.selectorMatcher, templateCssSelector).directives;\n\t var templateDirectiveAsts = this._createDirectiveAsts(true, element.name, templateDirectiveMetas, templateElementOrDirectiveProps, [], element.sourceSpan, []);\n\t var templateElementProps = this._createElementPropertyAsts(element.name, templateElementOrDirectiveProps, templateDirectiveAsts);\n\t this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\n\t var templateProviderContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], element.sourceSpan);\n\t templateProviderContext.afterElement();\n\t parsedElement = new EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, [parsedElement], ngContentIndex, element.sourceSpan);\n\t }\n\t return parsedElement;\n\t };\n\t TemplateParseVisitor.prototype._validateElementAnimationInputOutputs = function (inputs, outputs, template) {\n\t var _this = this;\n\t var triggerLookup = new Set();\n\t template.animations.forEach(function (entry) { triggerLookup.add(entry); });\n\t var animationInputs = inputs.filter(function (input) { return input.isAnimation; });\n\t animationInputs.forEach(function (input) {\n\t var name = input.name;\n\t if (!triggerLookup.has(name)) {\n\t _this._reportError(\"Couldn't find an animation entry for \\\"\" + name + \"\\\"\", input.sourceSpan);\n\t }\n\t });\n\t outputs.forEach(function (output) {\n\t if (output.isAnimation) {\n\t var found = animationInputs.find(function (input) { return input.name == output.name; });\n\t if (!found) {\n\t _this._reportError(\"Unable to listen on (@\" + output.name + \".\" + output.phase + \") because the animation trigger [@\" + output.name + \"] isn't being used on the same element\", output.sourceSpan);\n\t }\n\t }\n\t });\n\t };\n\t TemplateParseVisitor.prototype._parseAttr = function (isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\n\t var name = this._normalizeAttributeName(attr.name);\n\t var value = attr.value;\n\t var srcSpan = attr.sourceSpan;\n\t var bindParts = name.match(BIND_NAME_REGEXP);\n\t var hasBinding = false;\n\t if (bindParts !== null) {\n\t hasBinding = true;\n\t if (isPresent(bindParts[KW_BIND_IDX])) {\n\t this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else if (bindParts[KW_LET_IDX]) {\n\t if (isTemplateElement) {\n\t var identifier = bindParts[IDENT_KW_IDX];\n\t this._parseVariable(identifier, value, srcSpan, targetVars);\n\t }\n\t else {\n\t this._reportError(\"\\\"let-\\\" is only supported on template elements.\", srcSpan);\n\t }\n\t }\n\t else if (bindParts[KW_REF_IDX]) {\n\t var identifier = bindParts[IDENT_KW_IDX];\n\t this._parseReference(identifier, value, srcSpan, targetRefs);\n\t }\n\t else if (bindParts[KW_ON_IDX]) {\n\t this._bindingParser.parseEvent(bindParts[IDENT_KW_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n\t }\n\t else if (bindParts[KW_BINDON_IDX]) {\n\t this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n\t this._parseAssignmentEvent(bindParts[IDENT_KW_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n\t }\n\t else if (bindParts[KW_AT_IDX]) {\n\t this._bindingParser.parseLiteralAttr(name, value, srcSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else if (bindParts[IDENT_BANANA_BOX_IDX]) {\n\t this._bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n\t this._parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n\t }\n\t else if (bindParts[IDENT_PROPERTY_IDX]) {\n\t this._bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n\t }\n\t else if (bindParts[IDENT_EVENT_IDX]) {\n\t this._bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n\t }\n\t }\n\t else {\n\t hasBinding = this._bindingParser.parsePropertyInterpolation(name, value, srcSpan, targetMatchableAttrs, targetProps);\n\t }\n\t if (!hasBinding) {\n\t this._bindingParser.parseLiteralAttr(name, value, srcSpan, targetMatchableAttrs, targetProps);\n\t }\n\t return hasBinding;\n\t };\n\t TemplateParseVisitor.prototype._normalizeAttributeName = function (attrName) {\n\t return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n\t };\n\t TemplateParseVisitor.prototype._parseVariable = function (identifier, value, sourceSpan, targetVars) {\n\t if (identifier.indexOf('-') > -1) {\n\t this._reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\n\t }\n\t targetVars.push(new VariableAst(identifier, value, sourceSpan));\n\t };\n\t TemplateParseVisitor.prototype._parseReference = function (identifier, value, sourceSpan, targetRefs) {\n\t if (identifier.indexOf('-') > -1) {\n\t this._reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\n\t }\n\t targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\n\t };\n\t TemplateParseVisitor.prototype._parseAssignmentEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n\t this._bindingParser.parseEvent(name + \"Change\", expression + \"=$event\", sourceSpan, targetMatchableAttrs, targetEvents);\n\t };\n\t TemplateParseVisitor.prototype._parseDirectives = function (selectorMatcher, elementCssSelector) {\n\t var _this = this;\n\t // Need to sort the directives so that we get consistent results throughout,\n\t // as selectorMatcher uses Maps inside.\n\t // Also deduplicate directives as they might match more than one time!\n\t var directives = new Array(this.directivesIndex.size);\n\t // Whether any directive selector matches on the element name\n\t var matchElement = false;\n\t selectorMatcher.match(elementCssSelector, function (selector, directive) {\n\t directives[_this.directivesIndex.get(directive)] = directive;\n\t matchElement = matchElement || selector.hasElementSelector();\n\t });\n\t return {\n\t directives: directives.filter(function (dir) { return !!dir; }),\n\t matchElement: matchElement,\n\t };\n\t };\n\t TemplateParseVisitor.prototype._createDirectiveAsts = function (isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, elementSourceSpan, targetReferences) {\n\t var _this = this;\n\t var matchedReferences = new Set();\n\t var component = null;\n\t var directiveAsts = directives.map(function (directive) {\n\t var sourceSpan = new ParseSourceSpan(elementSourceSpan.start, elementSourceSpan.end, \"Directive \" + directive.type.name);\n\t if (directive.isComponent) {\n\t component = directive;\n\t }\n\t var directiveProperties = [];\n\t var hostProperties = _this._bindingParser.createDirectiveHostPropertyAsts(directive, sourceSpan);\n\t // Note: We need to check the host properties here as well,\n\t // as we don't know the element name in the DirectiveWrapperCompiler yet.\n\t _this._checkPropertiesInSchema(elementName, hostProperties);\n\t var hostEvents = _this._bindingParser.createDirectiveHostEventAsts(directive, sourceSpan);\n\t _this._createDirectivePropertyAsts(directive.inputs, props, directiveProperties);\n\t elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n\t if ((elOrDirRef.value.length === 0 && directive.isComponent) ||\n\t (directive.exportAs == elOrDirRef.value)) {\n\t targetReferences.push(new ReferenceAst(elOrDirRef.name, identifierToken(directive.type), elOrDirRef.sourceSpan));\n\t matchedReferences.add(elOrDirRef.name);\n\t }\n\t });\n\t return new DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, sourceSpan);\n\t });\n\t elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n\t if (elOrDirRef.value.length > 0) {\n\t if (!matchedReferences.has(elOrDirRef.name)) {\n\t _this._reportError(\"There is no directive with \\\"exportAs\\\" set to \\\"\" + elOrDirRef.value + \"\\\"\", elOrDirRef.sourceSpan);\n\t }\n\t }\n\t else if (!component) {\n\t var refToken = null;\n\t if (isTemplateElement) {\n\t refToken = resolveIdentifierToken(Identifiers.TemplateRef);\n\t }\n\t targetReferences.push(new ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.sourceSpan));\n\t }\n\t }); // fix syntax highlighting issue: `\n\t return directiveAsts;\n\t };\n\t TemplateParseVisitor.prototype._createDirectivePropertyAsts = function (directiveProperties, boundProps, targetBoundDirectiveProps) {\n\t if (directiveProperties) {\n\t var boundPropsByName_1 = new Map();\n\t boundProps.forEach(function (boundProp) {\n\t var prevValue = boundPropsByName_1.get(boundProp.name);\n\t if (!prevValue || prevValue.isLiteral) {\n\t // give [a]=\"b\" a higher precedence than a=\"b\" on the same element\n\t boundPropsByName_1.set(boundProp.name, boundProp);\n\t }\n\t });\n\t Object.keys(directiveProperties).forEach(function (dirProp) {\n\t var elProp = directiveProperties[dirProp];\n\t var boundProp = boundPropsByName_1.get(elProp);\n\t // Bindings are optional, so this binding only needs to be set up if an expression is given.\n\t if (boundProp) {\n\t targetBoundDirectiveProps.push(new BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\n\t }\n\t });\n\t }\n\t };\n\t TemplateParseVisitor.prototype._createElementPropertyAsts = function (elementName, props, directives) {\n\t var _this = this;\n\t var boundElementProps = [];\n\t var boundDirectivePropsIndex = new Map();\n\t directives.forEach(function (directive) {\n\t directive.inputs.forEach(function (prop) {\n\t boundDirectivePropsIndex.set(prop.templateName, prop);\n\t });\n\t });\n\t props.forEach(function (prop) {\n\t if (!prop.isLiteral && !boundDirectivePropsIndex.get(prop.name)) {\n\t boundElementProps.push(_this._bindingParser.createElementPropertyAst(elementName, prop));\n\t }\n\t });\n\t this._checkPropertiesInSchema(elementName, boundElementProps);\n\t return boundElementProps;\n\t };\n\t TemplateParseVisitor.prototype._findComponentDirectives = function (directives) {\n\t return directives.filter(function (directive) { return directive.directive.isComponent; });\n\t };\n\t TemplateParseVisitor.prototype._findComponentDirectiveNames = function (directives) {\n\t return this._findComponentDirectives(directives)\n\t .map(function (directive) { return directive.directive.type.name; });\n\t };\n\t TemplateParseVisitor.prototype._assertOnlyOneComponent = function (directives, sourceSpan) {\n\t var componentTypeNames = this._findComponentDirectiveNames(directives);\n\t if (componentTypeNames.length > 1) {\n\t this._reportError(\"More than one component matched on this element.\\n\" +\n\t \"Make sure that only one component's selector can match a given element.\\n\" +\n\t (\"Conflicting components: \" + componentTypeNames.join(',')), sourceSpan);\n\t }\n\t };\n\t /**\n\t * Make sure that non-angular tags conform to the schemas.\n\t *\n\t * Note: An element is considered an angular tag when at least one directive selector matches the\n\t * tag name.\n\t *\n\t * @param matchElement Whether any directive has matched on the tag name\n\t * @param element the html element\n\t */\n\t TemplateParseVisitor.prototype._assertElementExists = function (matchElement, element) {\n\t var elName = element.name.replace(/^:xhtml:/, '');\n\t if (!matchElement && !this._schemaRegistry.hasElement(elName, this._schemas)) {\n\t var errorMsg = (\"'\" + elName + \"' is not a known element:\\n\") +\n\t (\"1. If '\" + elName + \"' is an Angular component, then verify that it is part of this module.\\n\") +\n\t (\"2. If '\" + elName + \"' is a Web Component then add \\\"CUSTOM_ELEMENTS_SCHEMA\\\" to the '@NgModule.schemas' of this component to suppress this message.\");\n\t this._reportError(errorMsg, element.sourceSpan);\n\t }\n\t };\n\t TemplateParseVisitor.prototype._assertNoComponentsNorElementBindingsOnTemplate = function (directives, elementProps, sourceSpan) {\n\t var _this = this;\n\t var componentTypeNames = this._findComponentDirectiveNames(directives);\n\t if (componentTypeNames.length > 0) {\n\t this._reportError(\"Components on an embedded template: \" + componentTypeNames.join(','), sourceSpan);\n\t }\n\t elementProps.forEach(function (prop) {\n\t _this._reportError(\"Property binding \" + prop.name + \" not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the \\\"directives\\\" section.\", sourceSpan);\n\t });\n\t };\n\t TemplateParseVisitor.prototype._assertAllEventsPublishedByDirectives = function (directives, events) {\n\t var _this = this;\n\t var allDirectiveEvents = new Set();\n\t directives.forEach(function (directive) {\n\t Object.keys(directive.directive.outputs).forEach(function (k) {\n\t var eventName = directive.directive.outputs[k];\n\t allDirectiveEvents.add(eventName);\n\t });\n\t });\n\t events.forEach(function (event) {\n\t if (isPresent(event.target) || !allDirectiveEvents.has(event.name)) {\n\t _this._reportError(\"Event binding \" + event.fullName + \" not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the \\\"directives\\\" section.\", event.sourceSpan);\n\t }\n\t });\n\t };\n\t TemplateParseVisitor.prototype._checkPropertiesInSchema = function (elementName, boundProps) {\n\t var _this = this;\n\t boundProps.forEach(function (boundProp) {\n\t if (boundProp.type === exports.PropertyBindingType.Property &&\n\t !_this._schemaRegistry.hasProperty(elementName, boundProp.name, _this._schemas)) {\n\t var errorMsg = \"Can't bind to '\" + boundProp.name + \"' since it isn't a known property of '\" + elementName + \"'.\";\n\t if (elementName.indexOf('-') > -1) {\n\t errorMsg +=\n\t (\"\\n1. If '\" + elementName + \"' is an Angular component and it has '\" + boundProp.name + \"' input, then verify that it is part of this module.\") +\n\t (\"\\n2. If '\" + elementName + \"' is a Web Component then add \\\"CUSTOM_ELEMENTS_SCHEMA\\\" to the '@NgModule.schemas' of this component to suppress this message.\\n\");\n\t }\n\t _this._reportError(errorMsg, boundProp.sourceSpan);\n\t }\n\t });\n\t };\n\t TemplateParseVisitor.prototype._reportError = function (message, sourceSpan, level) {\n\t if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n\t this._targetErrors.push(new ParseError(sourceSpan, message, level));\n\t };\n\t return TemplateParseVisitor;\n\t }());\n\t var NonBindableVisitor = (function () {\n\t function NonBindableVisitor() {\n\t }\n\t NonBindableVisitor.prototype.visitElement = function (ast, parent) {\n\t var preparsedElement = preparseElement(ast);\n\t if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n\t preparsedElement.type === PreparsedElementType.STYLE ||\n\t preparsedElement.type === PreparsedElementType.STYLESHEET) {\n\t // Skipping <script> for security reasons\n\t // Skipping <style> and stylesheets as we already processed them\n\t // in the StyleCompiler\n\t return null;\n\t }\n\t var attrNameAndValues = ast.attrs.map(function (attrAst) { return [attrAst.name, attrAst.value]; });\n\t var selector = createElementCssSelector(ast.name, attrNameAndValues);\n\t var ngContentIndex = parent.findNgContentIndex(selector);\n\t var children = visitAll(this, ast.children, EMPTY_ELEMENT_CONTEXT);\n\t return new ElementAst(ast.name, visitAll(this, ast.attrs), [], [], [], [], [], false, children, ngContentIndex, ast.sourceSpan, ast.endSourceSpan);\n\t };\n\t NonBindableVisitor.prototype.visitComment = function (comment, context) { return null; };\n\t NonBindableVisitor.prototype.visitAttribute = function (attribute, context) {\n\t return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n\t };\n\t NonBindableVisitor.prototype.visitText = function (text, parent) {\n\t var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n\t return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n\t };\n\t NonBindableVisitor.prototype.visitExpansion = function (expansion, context) { return expansion; };\n\t NonBindableVisitor.prototype.visitExpansionCase = function (expansionCase, context) { return expansionCase; };\n\t return NonBindableVisitor;\n\t }());\n\t var ElementOrDirectiveRef = (function () {\n\t function ElementOrDirectiveRef(name, value, sourceSpan) {\n\t this.name = name;\n\t this.value = value;\n\t this.sourceSpan = sourceSpan;\n\t }\n\t return ElementOrDirectiveRef;\n\t }());\n\t function splitClasses(classAttrValue) {\n\t return classAttrValue.trim().split(/\\s+/g);\n\t }\n\t var ElementContext = (function () {\n\t function ElementContext(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\n\t this.isTemplateElement = isTemplateElement;\n\t this._ngContentIndexMatcher = _ngContentIndexMatcher;\n\t this._wildcardNgContentIndex = _wildcardNgContentIndex;\n\t this.providerContext = providerContext;\n\t }\n\t ElementContext.create = function (isTemplateElement, directives, providerContext) {\n\t var matcher = new SelectorMatcher();\n\t var wildcardNgContentIndex = null;\n\t var component = directives.find(function (directive) { return directive.directive.isComponent; });\n\t if (component) {\n\t var ngContentSelectors = component.directive.template.ngContentSelectors;\n\t for (var i = 0; i < ngContentSelectors.length; i++) {\n\t var selector = ngContentSelectors[i];\n\t if (selector === '*') {\n\t wildcardNgContentIndex = i;\n\t }\n\t else {\n\t matcher.addSelectables(CssSelector.parse(ngContentSelectors[i]), i);\n\t }\n\t }\n\t }\n\t return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\n\t };\n\t ElementContext.prototype.findNgContentIndex = function (selector) {\n\t var ngContentIndices = [];\n\t this._ngContentIndexMatcher.match(selector, function (selector, ngContentIndex) { ngContentIndices.push(ngContentIndex); });\n\t ngContentIndices.sort();\n\t if (isPresent(this._wildcardNgContentIndex)) {\n\t ngContentIndices.push(this._wildcardNgContentIndex);\n\t }\n\t return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\n\t };\n\t return ElementContext;\n\t }());\n\t function createElementCssSelector(elementName, matchableAttrs) {\n\t var cssSelector = new CssSelector();\n\t var elNameNoNs = splitNsName(elementName)[1];\n\t cssSelector.setElement(elNameNoNs);\n\t for (var i = 0; i < matchableAttrs.length; i++) {\n\t var attrName = matchableAttrs[i][0];\n\t var attrNameNoNs = splitNsName(attrName)[1];\n\t var attrValue = matchableAttrs[i][1];\n\t cssSelector.addAttribute(attrNameNoNs, attrValue);\n\t if (attrName.toLowerCase() == CLASS_ATTR) {\n\t var classes = splitClasses(attrValue);\n\t classes.forEach(function (className) { return cssSelector.addClassName(className); });\n\t }\n\t }\n\t return cssSelector;\n\t }\n\t var EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new SelectorMatcher(), null, null);\n\t var NON_BINDABLE_VISITOR = new NonBindableVisitor();\n\t function _isEmptyTextNode(node) {\n\t return node instanceof Text && node.value.trim().length == 0;\n\t }\n\t function removeSummaryDuplicates(items) {\n\t var map = new Map();\n\t items.forEach(function (item) {\n\t if (!map.get(item.type.reference)) {\n\t map.set(item.type.reference, item);\n\t }\n\t });\n\t return Array.from(map.values());\n\t }\n\t\n\t function unimplemented$1() {\n\t throw new Error('unimplemented');\n\t }\n\t var CompilerConfig = (function () {\n\t function CompilerConfig(_a) {\n\t var _b = _a === void 0 ? {} : _a, _c = _b.renderTypes, renderTypes = _c === void 0 ? new DefaultRenderTypes() : _c, _d = _b.defaultEncapsulation, defaultEncapsulation = _d === void 0 ? _angular_core.ViewEncapsulation.Emulated : _d, genDebugInfo = _b.genDebugInfo, logBindingUpdate = _b.logBindingUpdate, _e = _b.useJit, useJit = _e === void 0 ? true : _e;\n\t this.renderTypes = renderTypes;\n\t this.defaultEncapsulation = defaultEncapsulation;\n\t this._genDebugInfo = genDebugInfo;\n\t this._logBindingUpdate = logBindingUpdate;\n\t this.useJit = useJit;\n\t }\n\t Object.defineProperty(CompilerConfig.prototype, \"genDebugInfo\", {\n\t get: function () {\n\t return this._genDebugInfo === void 0 ? _angular_core.isDevMode() : this._genDebugInfo;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(CompilerConfig.prototype, \"logBindingUpdate\", {\n\t get: function () {\n\t return this._logBindingUpdate === void 0 ? _angular_core.isDevMode() : this._logBindingUpdate;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return CompilerConfig;\n\t }());\n\t /**\n\t * Types used for the renderer.\n\t * Can be replaced to specialize the generated output to a specific renderer\n\t * to help tree shaking.\n\t */\n\t var RenderTypes = (function () {\n\t function RenderTypes() {\n\t }\n\t Object.defineProperty(RenderTypes.prototype, \"renderer\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderTypes.prototype, \"renderText\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderTypes.prototype, \"renderElement\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderTypes.prototype, \"renderComment\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderTypes.prototype, \"renderNode\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderTypes.prototype, \"renderEvent\", {\n\t get: function () { return unimplemented$1(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return RenderTypes;\n\t }());\n\t var DefaultRenderTypes = (function () {\n\t function DefaultRenderTypes() {\n\t this.renderText = null;\n\t this.renderElement = null;\n\t this.renderComment = null;\n\t this.renderNode = null;\n\t this.renderEvent = null;\n\t }\n\t Object.defineProperty(DefaultRenderTypes.prototype, \"renderer\", {\n\t get: function () { return resolveIdentifier(Identifiers.Renderer); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t return DefaultRenderTypes;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$13 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var AnimationAst = (function () {\n\t function AnimationAst() {\n\t this.startTime = 0;\n\t this.playTime = 0;\n\t }\n\t return AnimationAst;\n\t }());\n\t var AnimationStateAst = (function (_super) {\n\t __extends$13(AnimationStateAst, _super);\n\t function AnimationStateAst() {\n\t _super.apply(this, arguments);\n\t }\n\t return AnimationStateAst;\n\t }(AnimationAst));\n\t var AnimationEntryAst = (function (_super) {\n\t __extends$13(AnimationEntryAst, _super);\n\t function AnimationEntryAst(name, stateDeclarations, stateTransitions) {\n\t _super.call(this);\n\t this.name = name;\n\t this.stateDeclarations = stateDeclarations;\n\t this.stateTransitions = stateTransitions;\n\t }\n\t AnimationEntryAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationEntry(this, context);\n\t };\n\t return AnimationEntryAst;\n\t }(AnimationAst));\n\t var AnimationStateDeclarationAst = (function (_super) {\n\t __extends$13(AnimationStateDeclarationAst, _super);\n\t function AnimationStateDeclarationAst(stateName, styles) {\n\t _super.call(this);\n\t this.stateName = stateName;\n\t this.styles = styles;\n\t }\n\t AnimationStateDeclarationAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationStateDeclaration(this, context);\n\t };\n\t return AnimationStateDeclarationAst;\n\t }(AnimationStateAst));\n\t var AnimationStateTransitionExpression = (function () {\n\t function AnimationStateTransitionExpression(fromState, toState) {\n\t this.fromState = fromState;\n\t this.toState = toState;\n\t }\n\t return AnimationStateTransitionExpression;\n\t }());\n\t var AnimationStateTransitionAst = (function (_super) {\n\t __extends$13(AnimationStateTransitionAst, _super);\n\t function AnimationStateTransitionAst(stateChanges, animation) {\n\t _super.call(this);\n\t this.stateChanges = stateChanges;\n\t this.animation = animation;\n\t }\n\t AnimationStateTransitionAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationStateTransition(this, context);\n\t };\n\t return AnimationStateTransitionAst;\n\t }(AnimationStateAst));\n\t var AnimationStepAst = (function (_super) {\n\t __extends$13(AnimationStepAst, _super);\n\t function AnimationStepAst(startingStyles, keyframes, duration, delay, easing) {\n\t _super.call(this);\n\t this.startingStyles = startingStyles;\n\t this.keyframes = keyframes;\n\t this.duration = duration;\n\t this.delay = delay;\n\t this.easing = easing;\n\t }\n\t AnimationStepAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationStep(this, context);\n\t };\n\t return AnimationStepAst;\n\t }(AnimationAst));\n\t var AnimationStylesAst = (function (_super) {\n\t __extends$13(AnimationStylesAst, _super);\n\t function AnimationStylesAst(styles) {\n\t _super.call(this);\n\t this.styles = styles;\n\t }\n\t AnimationStylesAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationStyles(this, context);\n\t };\n\t return AnimationStylesAst;\n\t }(AnimationAst));\n\t var AnimationKeyframeAst = (function (_super) {\n\t __extends$13(AnimationKeyframeAst, _super);\n\t function AnimationKeyframeAst(offset, styles) {\n\t _super.call(this);\n\t this.offset = offset;\n\t this.styles = styles;\n\t }\n\t AnimationKeyframeAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationKeyframe(this, context);\n\t };\n\t return AnimationKeyframeAst;\n\t }(AnimationAst));\n\t var AnimationWithStepsAst = (function (_super) {\n\t __extends$13(AnimationWithStepsAst, _super);\n\t function AnimationWithStepsAst(steps) {\n\t _super.call(this);\n\t this.steps = steps;\n\t }\n\t return AnimationWithStepsAst;\n\t }(AnimationAst));\n\t var AnimationGroupAst = (function (_super) {\n\t __extends$13(AnimationGroupAst, _super);\n\t function AnimationGroupAst(steps) {\n\t _super.call(this, steps);\n\t }\n\t AnimationGroupAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationGroup(this, context);\n\t };\n\t return AnimationGroupAst;\n\t }(AnimationWithStepsAst));\n\t var AnimationSequenceAst = (function (_super) {\n\t __extends$13(AnimationSequenceAst, _super);\n\t function AnimationSequenceAst(steps) {\n\t _super.call(this, steps);\n\t }\n\t AnimationSequenceAst.prototype.visit = function (visitor, context) {\n\t return visitor.visitAnimationSequence(this, context);\n\t };\n\t return AnimationSequenceAst;\n\t }(AnimationWithStepsAst));\n\t\n\t var StylesCollectionEntry = (function () {\n\t function StylesCollectionEntry(time, value) {\n\t this.time = time;\n\t this.value = value;\n\t }\n\t StylesCollectionEntry.prototype.matches = function (time, value) {\n\t return time == this.time && value == this.value;\n\t };\n\t return StylesCollectionEntry;\n\t }());\n\t var StylesCollection = (function () {\n\t function StylesCollection() {\n\t this.styles = {};\n\t }\n\t StylesCollection.prototype.insertAtTime = function (property, time, value) {\n\t var tuple = new StylesCollectionEntry(time, value);\n\t var entries = this.styles[property];\n\t if (!isPresent(entries)) {\n\t entries = this.styles[property] = [];\n\t }\n\t // insert this at the right stop in the array\n\t // this way we can keep it sorted\n\t var insertionIndex = 0;\n\t for (var i = entries.length - 1; i >= 0; i--) {\n\t if (entries[i].time <= time) {\n\t insertionIndex = i + 1;\n\t break;\n\t }\n\t }\n\t entries.splice(insertionIndex, 0, tuple);\n\t };\n\t StylesCollection.prototype.getByIndex = function (property, index) {\n\t var items = this.styles[property];\n\t if (isPresent(items)) {\n\t return index >= items.length ? null : items[index];\n\t }\n\t return null;\n\t };\n\t StylesCollection.prototype.indexOfAtOrBeforeTime = function (property, time) {\n\t var entries = this.styles[property];\n\t if (isPresent(entries)) {\n\t for (var i = entries.length - 1; i >= 0; i--) {\n\t if (entries[i].time <= time)\n\t return i;\n\t }\n\t }\n\t return null;\n\t };\n\t return StylesCollection;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$12 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _INITIAL_KEYFRAME = 0;\n\t var _TERMINAL_KEYFRAME = 1;\n\t var _ONE_SECOND = 1000;\n\t var AnimationParseError = (function (_super) {\n\t __extends$12(AnimationParseError, _super);\n\t function AnimationParseError(message) {\n\t _super.call(this, null, message);\n\t }\n\t AnimationParseError.prototype.toString = function () { return \"\" + this.msg; };\n\t return AnimationParseError;\n\t }(ParseError));\n\t var AnimationEntryParseResult = (function () {\n\t function AnimationEntryParseResult(ast, errors) {\n\t this.ast = ast;\n\t this.errors = errors;\n\t }\n\t return AnimationEntryParseResult;\n\t }());\n\t var AnimationParser = (function () {\n\t function AnimationParser(_schema) {\n\t this._schema = _schema;\n\t }\n\t AnimationParser.prototype.parseComponent = function (component) {\n\t var _this = this;\n\t var errors = [];\n\t var componentName = component.type.name;\n\t var animationTriggerNames = new Set();\n\t var asts = component.template.animations.map(function (entry) {\n\t var result = _this.parseEntry(entry);\n\t var ast = result.ast;\n\t var triggerName = ast.name;\n\t if (animationTriggerNames.has(triggerName)) {\n\t result.errors.push(new AnimationParseError(\"The animation trigger \\\"\" + triggerName + \"\\\" has already been registered for the \" + componentName + \" component\"));\n\t }\n\t else {\n\t animationTriggerNames.add(triggerName);\n\t }\n\t if (result.errors.length > 0) {\n\t var errorMessage_1 = \"- Unable to parse the animation sequence for \\\"\" + triggerName + \"\\\" on the \" + componentName + \" component due to the following errors:\";\n\t result.errors.forEach(function (error) { errorMessage_1 += '\\n-- ' + error.msg; });\n\t errors.push(errorMessage_1);\n\t }\n\t return ast;\n\t });\n\t if (errors.length > 0) {\n\t var errorString = errors.join('\\n');\n\t throw new Error(\"Animation parse errors:\\n\" + errorString);\n\t }\n\t return asts;\n\t };\n\t AnimationParser.prototype.parseEntry = function (entry) {\n\t var _this = this;\n\t var errors = [];\n\t var stateStyles = {};\n\t var transitions = [];\n\t var stateDeclarationAsts = [];\n\t entry.definitions.forEach(function (def) {\n\t if (def instanceof CompileAnimationStateDeclarationMetadata) {\n\t _parseAnimationDeclarationStates(def, _this._schema, errors).forEach(function (ast) {\n\t stateDeclarationAsts.push(ast);\n\t stateStyles[ast.stateName] = ast.styles;\n\t });\n\t }\n\t else {\n\t transitions.push(def);\n\t }\n\t });\n\t var stateTransitionAsts = transitions.map(function (transDef) { return _parseAnimationStateTransition(transDef, stateStyles, _this._schema, errors); });\n\t var ast = new AnimationEntryAst(entry.name, stateDeclarationAsts, stateTransitionAsts);\n\t return new AnimationEntryParseResult(ast, errors);\n\t };\n\t AnimationParser.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t AnimationParser.ctorParameters = [\n\t { type: ElementSchemaRegistry, },\n\t ];\n\t return AnimationParser;\n\t }());\n\t function _parseAnimationDeclarationStates(stateMetadata, schema, errors) {\n\t var normalizedStyles = _normalizeStyleMetadata(stateMetadata.styles, {}, schema, errors, false);\n\t var defStyles = new AnimationStylesAst(normalizedStyles);\n\t var states = stateMetadata.stateNameExpr.split(/\\s*,\\s*/);\n\t return states.map(function (state) { return new AnimationStateDeclarationAst(state, defStyles); });\n\t }\n\t function _parseAnimationStateTransition(transitionStateMetadata, stateStyles, schema, errors) {\n\t var styles = new StylesCollection();\n\t var transitionExprs = [];\n\t var transitionStates = transitionStateMetadata.stateChangeExpr.split(/\\s*,\\s*/);\n\t transitionStates.forEach(function (expr) { transitionExprs.push.apply(transitionExprs, _parseAnimationTransitionExpr(expr, errors)); });\n\t var entry = _normalizeAnimationEntry(transitionStateMetadata.steps);\n\t var animation = _normalizeStyleSteps(entry, stateStyles, schema, errors);\n\t var animationAst = _parseTransitionAnimation(animation, 0, styles, stateStyles, errors);\n\t if (errors.length == 0) {\n\t _fillAnimationAstStartingKeyframes(animationAst, styles, errors);\n\t }\n\t var stepsAst = (animationAst instanceof AnimationWithStepsAst) ?\n\t animationAst :\n\t new AnimationSequenceAst([animationAst]);\n\t return new AnimationStateTransitionAst(transitionExprs, stepsAst);\n\t }\n\t function _parseAnimationAlias(alias, errors) {\n\t switch (alias) {\n\t case ':enter':\n\t return 'void => *';\n\t case ':leave':\n\t return '* => void';\n\t default:\n\t errors.push(new AnimationParseError(\"the transition alias value \\\"\" + alias + \"\\\" is not supported\"));\n\t return '* => *';\n\t }\n\t }\n\t function _parseAnimationTransitionExpr(eventStr, errors) {\n\t var expressions = [];\n\t if (eventStr[0] == ':') {\n\t eventStr = _parseAnimationAlias(eventStr, errors);\n\t }\n\t var match = eventStr.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);\n\t if (!isPresent(match) || match.length < 4) {\n\t errors.push(new AnimationParseError(\"the provided \" + eventStr + \" is not of a supported format\"));\n\t return expressions;\n\t }\n\t var fromState = match[1];\n\t var separator = match[2];\n\t var toState = match[3];\n\t expressions.push(new AnimationStateTransitionExpression(fromState, toState));\n\t var isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n\t if (separator[0] == '<' && !isFullAnyStateExpr) {\n\t expressions.push(new AnimationStateTransitionExpression(toState, fromState));\n\t }\n\t return expressions;\n\t }\n\t function _normalizeAnimationEntry(entry) {\n\t return Array.isArray(entry) ? new CompileAnimationSequenceMetadata(entry) : entry;\n\t }\n\t function _normalizeStyleMetadata(entry, stateStyles, schema, errors, permitStateReferences) {\n\t var normalizedStyles = [];\n\t entry.styles.forEach(function (styleEntry) {\n\t if (typeof styleEntry === 'string') {\n\t if (permitStateReferences) {\n\t normalizedStyles.push.apply(normalizedStyles, _resolveStylesFromState(styleEntry, stateStyles, errors));\n\t }\n\t else {\n\t errors.push(new AnimationParseError(\"State based animations cannot contain references to other states\"));\n\t }\n\t }\n\t else {\n\t var stylesObj_1 = styleEntry;\n\t var normalizedStylesObj_1 = {};\n\t Object.keys(stylesObj_1).forEach(function (propName) {\n\t var normalizedProp = schema.normalizeAnimationStyleProperty(propName);\n\t var normalizedOutput = schema.normalizeAnimationStyleValue(normalizedProp, propName, stylesObj_1[propName]);\n\t var normalizationError = normalizedOutput['error'];\n\t if (normalizationError) {\n\t errors.push(new AnimationParseError(normalizationError));\n\t }\n\t normalizedStylesObj_1[normalizedProp] = normalizedOutput['value'];\n\t });\n\t normalizedStyles.push(normalizedStylesObj_1);\n\t }\n\t });\n\t return normalizedStyles;\n\t }\n\t function _normalizeStyleSteps(entry, stateStyles, schema, errors) {\n\t var steps = _normalizeStyleStepEntry(entry, stateStyles, schema, errors);\n\t return (entry instanceof CompileAnimationGroupMetadata) ?\n\t new CompileAnimationGroupMetadata(steps) :\n\t new CompileAnimationSequenceMetadata(steps);\n\t }\n\t function _mergeAnimationStyles(stylesList, newItem) {\n\t if (typeof newItem === 'object' && newItem !== null && stylesList.length > 0) {\n\t var lastIndex = stylesList.length - 1;\n\t var lastItem = stylesList[lastIndex];\n\t if (typeof lastItem === 'object' && lastItem !== null) {\n\t stylesList[lastIndex] = StringMapWrapper.merge(lastItem, newItem);\n\t return;\n\t }\n\t }\n\t stylesList.push(newItem);\n\t }\n\t function _normalizeStyleStepEntry(entry, stateStyles, schema, errors) {\n\t var steps;\n\t if (entry instanceof CompileAnimationWithStepsMetadata) {\n\t steps = entry.steps;\n\t }\n\t else {\n\t return [entry];\n\t }\n\t var newSteps = [];\n\t var combinedStyles;\n\t steps.forEach(function (step) {\n\t if (step instanceof CompileAnimationStyleMetadata) {\n\t // this occurs when a style step is followed by a previous style step\n\t // or when the first style step is run. We want to concatenate all subsequent\n\t // style steps together into a single style step such that we have the correct\n\t // starting keyframe data to pass into the animation player.\n\t if (!isPresent(combinedStyles)) {\n\t combinedStyles = [];\n\t }\n\t _normalizeStyleMetadata(step, stateStyles, schema, errors, true)\n\t .forEach(function (entry) { _mergeAnimationStyles(combinedStyles, entry); });\n\t }\n\t else {\n\t // it is important that we create a metadata entry of the combined styles\n\t // before we go on an process the animate, sequence or group metadata steps.\n\t // This will ensure that the AST will have the previous styles painted on\n\t // screen before any further animations that use the styles take place.\n\t if (isPresent(combinedStyles)) {\n\t newSteps.push(new CompileAnimationStyleMetadata(0, combinedStyles));\n\t combinedStyles = null;\n\t }\n\t if (step instanceof CompileAnimationAnimateMetadata) {\n\t // we do not recurse into CompileAnimationAnimateMetadata since\n\t // those style steps are not going to be squashed\n\t var animateStyleValue = step.styles;\n\t if (animateStyleValue instanceof CompileAnimationStyleMetadata) {\n\t animateStyleValue.styles =\n\t _normalizeStyleMetadata(animateStyleValue, stateStyles, schema, errors, true);\n\t }\n\t else if (animateStyleValue instanceof CompileAnimationKeyframesSequenceMetadata) {\n\t animateStyleValue.steps.forEach(function (step) {\n\t step.styles = _normalizeStyleMetadata(step, stateStyles, schema, errors, true);\n\t });\n\t }\n\t }\n\t else if (step instanceof CompileAnimationWithStepsMetadata) {\n\t var innerSteps = _normalizeStyleStepEntry(step, stateStyles, schema, errors);\n\t step = step instanceof CompileAnimationGroupMetadata ?\n\t new CompileAnimationGroupMetadata(innerSteps) :\n\t new CompileAnimationSequenceMetadata(innerSteps);\n\t }\n\t newSteps.push(step);\n\t }\n\t });\n\t // this happens when only styles were animated within the sequence\n\t if (isPresent(combinedStyles)) {\n\t newSteps.push(new CompileAnimationStyleMetadata(0, combinedStyles));\n\t }\n\t return newSteps;\n\t }\n\t function _resolveStylesFromState(stateName, stateStyles, errors) {\n\t var styles = [];\n\t if (stateName[0] != ':') {\n\t errors.push(new AnimationParseError(\"Animation states via styles must be prefixed with a \\\":\\\"\"));\n\t }\n\t else {\n\t var normalizedStateName = stateName.substring(1);\n\t var value = stateStyles[normalizedStateName];\n\t if (!isPresent(value)) {\n\t errors.push(new AnimationParseError(\"Unable to apply styles due to missing a state: \\\"\" + normalizedStateName + \"\\\"\"));\n\t }\n\t else {\n\t value.styles.forEach(function (stylesEntry) {\n\t if (typeof stylesEntry === 'object' && stylesEntry !== null) {\n\t styles.push(stylesEntry);\n\t }\n\t });\n\t }\n\t }\n\t return styles;\n\t }\n\t var _AnimationTimings = (function () {\n\t function _AnimationTimings(duration, delay, easing) {\n\t this.duration = duration;\n\t this.delay = delay;\n\t this.easing = easing;\n\t }\n\t return _AnimationTimings;\n\t }());\n\t function _parseAnimationKeyframes(keyframeSequence, currentTime, collectedStyles, stateStyles, errors) {\n\t var totalEntries = keyframeSequence.steps.length;\n\t var totalOffsets = 0;\n\t keyframeSequence.steps.forEach(function (step) { return totalOffsets += (isPresent(step.offset) ? 1 : 0); });\n\t if (totalOffsets > 0 && totalOffsets < totalEntries) {\n\t errors.push(new AnimationParseError(\"Not all style() entries contain an offset for the provided keyframe()\"));\n\t totalOffsets = totalEntries;\n\t }\n\t var limit = totalEntries - 1;\n\t var margin = totalOffsets == 0 ? (1 / limit) : 0;\n\t var rawKeyframes = [];\n\t var index = 0;\n\t var doSortKeyframes = false;\n\t var lastOffset = 0;\n\t keyframeSequence.steps.forEach(function (styleMetadata) {\n\t var offset = styleMetadata.offset;\n\t var keyframeStyles = {};\n\t styleMetadata.styles.forEach(function (entry) {\n\t Object.keys(entry).forEach(function (prop) {\n\t if (prop != 'offset') {\n\t keyframeStyles[prop] = entry[prop];\n\t }\n\t });\n\t });\n\t if (isPresent(offset)) {\n\t doSortKeyframes = doSortKeyframes || (offset < lastOffset);\n\t }\n\t else {\n\t offset = index == limit ? _TERMINAL_KEYFRAME : (margin * index);\n\t }\n\t rawKeyframes.push([offset, keyframeStyles]);\n\t lastOffset = offset;\n\t index++;\n\t });\n\t if (doSortKeyframes) {\n\t rawKeyframes.sort(function (a, b) { return a[0] <= b[0] ? -1 : 1; });\n\t }\n\t var firstKeyframe = rawKeyframes[0];\n\t if (firstKeyframe[0] != _INITIAL_KEYFRAME) {\n\t rawKeyframes.splice(0, 0, firstKeyframe = [_INITIAL_KEYFRAME, {}]);\n\t }\n\t var firstKeyframeStyles = firstKeyframe[1];\n\t limit = rawKeyframes.length - 1;\n\t var lastKeyframe = rawKeyframes[limit];\n\t if (lastKeyframe[0] != _TERMINAL_KEYFRAME) {\n\t rawKeyframes.push(lastKeyframe = [_TERMINAL_KEYFRAME, {}]);\n\t limit++;\n\t }\n\t var lastKeyframeStyles = lastKeyframe[1];\n\t for (var i = 1; i <= limit; i++) {\n\t var entry = rawKeyframes[i];\n\t var styles = entry[1];\n\t Object.keys(styles).forEach(function (prop) {\n\t if (!isPresent(firstKeyframeStyles[prop])) {\n\t firstKeyframeStyles[prop] = FILL_STYLE_FLAG;\n\t }\n\t });\n\t }\n\t var _loop_1 = function(i) {\n\t var entry = rawKeyframes[i];\n\t var styles = entry[1];\n\t Object.keys(styles).forEach(function (prop) {\n\t if (!isPresent(lastKeyframeStyles[prop])) {\n\t lastKeyframeStyles[prop] = styles[prop];\n\t }\n\t });\n\t };\n\t for (var i = limit - 1; i >= 0; i--) {\n\t _loop_1(i);\n\t }\n\t return rawKeyframes.map(function (entry) { return new AnimationKeyframeAst(entry[0], new AnimationStylesAst([entry[1]])); });\n\t }\n\t function _parseTransitionAnimation(entry, currentTime, collectedStyles, stateStyles, errors) {\n\t var ast;\n\t var playTime = 0;\n\t var startingTime = currentTime;\n\t if (entry instanceof CompileAnimationWithStepsMetadata) {\n\t var maxDuration_1 = 0;\n\t var steps_1 = [];\n\t var isGroup_1 = entry instanceof CompileAnimationGroupMetadata;\n\t var previousStyles_1;\n\t entry.steps.forEach(function (entry) {\n\t // these will get picked up by the next step...\n\t var time = isGroup_1 ? startingTime : currentTime;\n\t if (entry instanceof CompileAnimationStyleMetadata) {\n\t entry.styles.forEach(function (stylesEntry) {\n\t // by this point we know that we only have stringmap values\n\t var map = stylesEntry;\n\t Object.keys(map).forEach(function (prop) { collectedStyles.insertAtTime(prop, time, map[prop]); });\n\t });\n\t previousStyles_1 = entry.styles;\n\t return;\n\t }\n\t var innerAst = _parseTransitionAnimation(entry, time, collectedStyles, stateStyles, errors);\n\t if (isPresent(previousStyles_1)) {\n\t if (entry instanceof CompileAnimationWithStepsMetadata) {\n\t var startingStyles = new AnimationStylesAst(previousStyles_1);\n\t steps_1.push(new AnimationStepAst(startingStyles, [], 0, 0, ''));\n\t }\n\t else {\n\t var innerStep = innerAst;\n\t (_a = innerStep.startingStyles.styles).push.apply(_a, previousStyles_1);\n\t }\n\t previousStyles_1 = null;\n\t }\n\t var astDuration = innerAst.playTime;\n\t currentTime += astDuration;\n\t playTime += astDuration;\n\t maxDuration_1 = Math.max(astDuration, maxDuration_1);\n\t steps_1.push(innerAst);\n\t var _a;\n\t });\n\t if (isPresent(previousStyles_1)) {\n\t var startingStyles = new AnimationStylesAst(previousStyles_1);\n\t steps_1.push(new AnimationStepAst(startingStyles, [], 0, 0, ''));\n\t }\n\t if (isGroup_1) {\n\t ast = new AnimationGroupAst(steps_1);\n\t playTime = maxDuration_1;\n\t currentTime = startingTime + playTime;\n\t }\n\t else {\n\t ast = new AnimationSequenceAst(steps_1);\n\t }\n\t }\n\t else if (entry instanceof CompileAnimationAnimateMetadata) {\n\t var timings = _parseTimeExpression(entry.timings, errors);\n\t var styles = entry.styles;\n\t var keyframes = void 0;\n\t if (styles instanceof CompileAnimationKeyframesSequenceMetadata) {\n\t keyframes =\n\t _parseAnimationKeyframes(styles, currentTime, collectedStyles, stateStyles, errors);\n\t }\n\t else {\n\t var styleData = styles;\n\t var offset = _TERMINAL_KEYFRAME;\n\t var styleAst = new AnimationStylesAst(styleData.styles);\n\t var keyframe = new AnimationKeyframeAst(offset, styleAst);\n\t keyframes = [keyframe];\n\t }\n\t ast = new AnimationStepAst(new AnimationStylesAst([]), keyframes, timings.duration, timings.delay, timings.easing);\n\t playTime = timings.duration + timings.delay;\n\t currentTime += playTime;\n\t keyframes.forEach(function (keyframe /** TODO #9100 */) { return keyframe.styles.styles.forEach(function (entry /** TODO #9100 */) { return Object.keys(entry).forEach(function (prop) { collectedStyles.insertAtTime(prop, currentTime, entry[prop]); }); }); });\n\t }\n\t else {\n\t // if the code reaches this stage then an error\n\t // has already been populated within the _normalizeStyleSteps()\n\t // operation...\n\t ast = new AnimationStepAst(null, [], 0, 0, '');\n\t }\n\t ast.playTime = playTime;\n\t ast.startTime = startingTime;\n\t return ast;\n\t }\n\t function _fillAnimationAstStartingKeyframes(ast, collectedStyles, errors) {\n\t // steps that only contain style will not be filled\n\t if ((ast instanceof AnimationStepAst) && ast.keyframes.length > 0) {\n\t var keyframes = ast.keyframes;\n\t if (keyframes.length == 1) {\n\t var endKeyframe = keyframes[0];\n\t var startKeyframe = _createStartKeyframeFromEndKeyframe(endKeyframe, ast.startTime, ast.playTime, collectedStyles, errors);\n\t ast.keyframes = [startKeyframe, endKeyframe];\n\t }\n\t }\n\t else if (ast instanceof AnimationWithStepsAst) {\n\t ast.steps.forEach(function (entry) { return _fillAnimationAstStartingKeyframes(entry, collectedStyles, errors); });\n\t }\n\t }\n\t function _parseTimeExpression(exp, errors) {\n\t var regex = /^([\\.\\d]+)(m?s)(?:\\s+([\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?/i;\n\t var duration;\n\t var delay = 0;\n\t var easing = null;\n\t if (typeof exp === 'string') {\n\t var matches = exp.match(regex);\n\t if (matches === null) {\n\t errors.push(new AnimationParseError(\"The provided timing value \\\"\" + exp + \"\\\" is invalid.\"));\n\t return new _AnimationTimings(0, 0, null);\n\t }\n\t var durationMatch = parseFloat(matches[1]);\n\t var durationUnit = matches[2];\n\t if (durationUnit == 's') {\n\t durationMatch *= _ONE_SECOND;\n\t }\n\t duration = Math.floor(durationMatch);\n\t var delayMatch = matches[3];\n\t var delayUnit = matches[4];\n\t if (isPresent(delayMatch)) {\n\t var delayVal = parseFloat(delayMatch);\n\t if (isPresent(delayUnit) && delayUnit == 's') {\n\t delayVal *= _ONE_SECOND;\n\t }\n\t delay = Math.floor(delayVal);\n\t }\n\t var easingVal = matches[5];\n\t if (!isBlank(easingVal)) {\n\t easing = easingVal;\n\t }\n\t }\n\t else {\n\t duration = exp;\n\t }\n\t return new _AnimationTimings(duration, delay, easing);\n\t }\n\t function _createStartKeyframeFromEndKeyframe(endKeyframe, startTime, duration, collectedStyles, errors) {\n\t var values = {};\n\t var endTime = startTime + duration;\n\t endKeyframe.styles.styles.forEach(function (styleData) {\n\t Object.keys(styleData).forEach(function (prop) {\n\t var val = styleData[prop];\n\t if (prop == 'offset')\n\t return;\n\t var resultIndex = collectedStyles.indexOfAtOrBeforeTime(prop, startTime);\n\t var resultEntry /** TODO #9100 */, nextEntry /** TODO #9100 */, value;\n\t if (isPresent(resultIndex)) {\n\t resultEntry = collectedStyles.getByIndex(prop, resultIndex);\n\t value = resultEntry.value;\n\t nextEntry = collectedStyles.getByIndex(prop, resultIndex + 1);\n\t }\n\t else {\n\t // this is a flag that the runtime code uses to pass\n\t // in a value either from the state declaration styles\n\t // or using the AUTO_STYLE value (e.g. getComputedStyle)\n\t value = FILL_STYLE_FLAG;\n\t }\n\t if (isPresent(nextEntry) && !nextEntry.matches(endTime, val)) {\n\t errors.push(new AnimationParseError(\"The animated CSS property \\\"\" + prop + \"\\\" unexpectedly changes between steps \\\"\" + resultEntry.time + \"ms\\\" and \\\"\" + endTime + \"ms\\\" at \\\"\" + nextEntry.time + \"ms\\\"\"));\n\t }\n\t values[prop] = value;\n\t });\n\t });\n\t return new AnimationKeyframeAst(_INITIAL_KEYFRAME, new AnimationStylesAst([values]));\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * An interface for retrieving documents by URL that the compiler uses\n\t * to load templates.\n\t */\n\t var ResourceLoader = (function () {\n\t function ResourceLoader() {\n\t }\n\t ResourceLoader.prototype.get = function (url) { return null; };\n\t return ResourceLoader;\n\t }());\n\t\n\t /**\n\t * Create a {@link UrlResolver} with no package prefix.\n\t */\n\t function createUrlResolverWithoutPackagePrefix() {\n\t return new UrlResolver();\n\t }\n\t function createOfflineCompileUrlResolver() {\n\t return new UrlResolver('.');\n\t }\n\t /**\n\t * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n\t */\n\t var DEFAULT_PACKAGE_URL_PROVIDER = {\n\t provide: _angular_core.PACKAGE_ROOT_URL,\n\t useValue: '/'\n\t };\n\t /**\n\t * Used by the {@link Compiler} when resolving HTML and CSS template URLs.\n\t *\n\t * This class can be overridden by the application developer to create custom behavior.\n\t *\n\t * See {@link Compiler}\n\t *\n\t * ## Example\n\t *\n\t * {@example compiler/ts/url_resolver/url_resolver.ts region='url_resolver'}\n\t *\n\t * @security When compiling templates at runtime, you must\n\t * ensure that the entire template comes from a trusted source.\n\t * Attacker-controlled data introduced by a template could expose your\n\t * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n\t */\n\t var UrlResolver = (function () {\n\t function UrlResolver(_packagePrefix) {\n\t if (_packagePrefix === void 0) { _packagePrefix = null; }\n\t this._packagePrefix = _packagePrefix;\n\t }\n\t /**\n\t * Resolves the `url` given the `baseUrl`:\n\t * - when the `url` is null, the `baseUrl` is returned,\n\t * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\n\t * `baseUrl` and `url`,\n\t * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\n\t * returned as is (ignoring the `baseUrl`)\n\t */\n\t UrlResolver.prototype.resolve = function (baseUrl, url) {\n\t var resolvedUrl = url;\n\t if (isPresent(baseUrl) && baseUrl.length > 0) {\n\t resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n\t }\n\t var resolvedParts = _split(resolvedUrl);\n\t var prefix = this._packagePrefix;\n\t if (isPresent(prefix) && isPresent(resolvedParts) &&\n\t resolvedParts[_ComponentIndex.Scheme] == 'package') {\n\t var path = resolvedParts[_ComponentIndex.Path];\n\t prefix = prefix.replace(/\\/+$/, '');\n\t path = path.replace(/^\\/+/, '');\n\t return prefix + \"/\" + path;\n\t }\n\t return resolvedUrl;\n\t };\n\t UrlResolver.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t UrlResolver.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.PACKAGE_ROOT_URL,] },] },\n\t ];\n\t return UrlResolver;\n\t }());\n\t /**\n\t * Extract the scheme of a URL.\n\t */\n\t function getUrlScheme(url) {\n\t var match = _split(url);\n\t return (match && match[_ComponentIndex.Scheme]) || '';\n\t }\n\t // The code below is adapted from Traceur:\n\t // https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\n\t /**\n\t * Builds a URI string from already-encoded parts.\n\t *\n\t * No encoding is performed. Any component may be omitted as either null or\n\t * undefined.\n\t *\n\t * @param opt_scheme The scheme such as 'http'.\n\t * @param opt_userInfo The user name before the '@'.\n\t * @param opt_domain The domain such as 'www.google.com', already\n\t * URI-encoded.\n\t * @param opt_port The port number.\n\t * @param opt_path The path, already URI-encoded. If it is not\n\t * empty, it must begin with a slash.\n\t * @param opt_queryData The URI-encoded query data.\n\t * @param opt_fragment The URI-encoded fragment identifier.\n\t * @return The fully combined URI.\n\t */\n\t function _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n\t var out = [];\n\t if (isPresent(opt_scheme)) {\n\t out.push(opt_scheme + ':');\n\t }\n\t if (isPresent(opt_domain)) {\n\t out.push('//');\n\t if (isPresent(opt_userInfo)) {\n\t out.push(opt_userInfo + '@');\n\t }\n\t out.push(opt_domain);\n\t if (isPresent(opt_port)) {\n\t out.push(':' + opt_port);\n\t }\n\t }\n\t if (isPresent(opt_path)) {\n\t out.push(opt_path);\n\t }\n\t if (isPresent(opt_queryData)) {\n\t out.push('?' + opt_queryData);\n\t }\n\t if (isPresent(opt_fragment)) {\n\t out.push('#' + opt_fragment);\n\t }\n\t return out.join('');\n\t }\n\t /**\n\t * A regular expression for breaking a URI into its component parts.\n\t *\n\t * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\n\t * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\n\t * disambiguation method used by POSIX regular expressions, it is natural and\n\t * commonplace to use a regular expression for parsing the potential five\n\t * components of a URI reference.\n\t *\n\t * The following line is the regular expression for breaking-down a\n\t * well-formed URI reference into its components.\n\t *\n\t * <pre>\n\t * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\n\t * 12 3 4 5 6 7 8 9\n\t * </pre>\n\t *\n\t * The numbers in the second line above are only to assist readability; they\n\t * indicate the reference points for each subexpression (i.e., each paired\n\t * parenthesis). We refer to the value matched for subexpression <n> as $<n>.\n\t * For example, matching the above expression to\n\t * <pre>\n\t * http://www.ics.uci.edu/pub/ietf/uri/#Related\n\t * </pre>\n\t * results in the following subexpression matches:\n\t * <pre>\n\t * $1 = http:\n\t * $2 = http\n\t * $3 = //www.ics.uci.edu\n\t * $4 = www.ics.uci.edu\n\t * $5 = /pub/ietf/uri/\n\t * $6 = <undefined>\n\t * $7 = <undefined>\n\t * $8 = #Related\n\t * $9 = Related\n\t * </pre>\n\t * where <undefined> indicates that the component is not present, as is the\n\t * case for the query component in the above example. Therefore, we can\n\t * determine the value of the five components as\n\t * <pre>\n\t * scheme = $2\n\t * authority = $4\n\t * path = $5\n\t * query = $7\n\t * fragment = $9\n\t * </pre>\n\t *\n\t * The regular expression has been modified slightly to expose the\n\t * userInfo, domain, and port separately from the authority.\n\t * The modified version yields\n\t * <pre>\n\t * $1 = http scheme\n\t * $2 = <undefined> userInfo -\\\n\t * $3 = www.ics.uci.edu domain | authority\n\t * $4 = <undefined> port -/\n\t * $5 = /pub/ietf/uri/ path\n\t * $6 = <undefined> query without ?\n\t * $7 = Related fragment without #\n\t * </pre>\n\t * @type {!RegExp}\n\t * @internal\n\t */\n\t var _splitRe = new RegExp('^' +\n\t '(?:' +\n\t '([^:/?#.]+)' +\n\t // used by other URL parts such as :,\n\t // ?, /, #, and .\n\t ':)?' +\n\t '(?://' +\n\t '(?:([^/?#]*)@)?' +\n\t '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' +\n\t // digits, dashes, dots, percent\n\t // escapes, and unicode characters.\n\t '(?::([0-9]+))?' +\n\t ')?' +\n\t '([^?#]+)?' +\n\t '(?:\\\\?([^#]*))?' +\n\t '(?:#(.*))?' +\n\t '$');\n\t /**\n\t * The index of each URI component in the return value of goog.uri.utils.split.\n\t * @enum {number}\n\t */\n\t var _ComponentIndex;\n\t (function (_ComponentIndex) {\n\t _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n\t _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n\t _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n\t _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n\t _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n\t _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n\t _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n\t })(_ComponentIndex || (_ComponentIndex = {}));\n\t /**\n\t * Splits a URI into its component parts.\n\t *\n\t * Each component can be accessed via the component indices; for example:\n\t * <pre>\n\t * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\n\t * </pre>\n\t *\n\t * @param uri The URI string to examine.\n\t * @return Each component still URI-encoded.\n\t * Each component that is present will contain the encoded value, whereas\n\t * components that are not present will be undefined or empty, depending\n\t * on the browser's regular expression implementation. Never null, since\n\t * arbitrary strings may still look like path names.\n\t */\n\t function _split(uri) {\n\t return uri.match(_splitRe);\n\t }\n\t /**\n\t * Removes dot segments in given path component, as described in\n\t * RFC 3986, section 5.2.4.\n\t *\n\t * @param path A non-empty path component.\n\t * @return Path component with removed dot segments.\n\t */\n\t function _removeDotSegments(path) {\n\t if (path == '/')\n\t return '/';\n\t var leadingSlash = path[0] == '/' ? '/' : '';\n\t var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n\t var segments = path.split('/');\n\t var out = [];\n\t var up = 0;\n\t for (var pos = 0; pos < segments.length; pos++) {\n\t var segment = segments[pos];\n\t switch (segment) {\n\t case '':\n\t case '.':\n\t break;\n\t case '..':\n\t if (out.length > 0) {\n\t out.pop();\n\t }\n\t else {\n\t up++;\n\t }\n\t break;\n\t default:\n\t out.push(segment);\n\t }\n\t }\n\t if (leadingSlash == '') {\n\t while (up-- > 0) {\n\t out.unshift('..');\n\t }\n\t if (out.length === 0)\n\t out.push('.');\n\t }\n\t return leadingSlash + out.join('/') + trailingSlash;\n\t }\n\t /**\n\t * Takes an array of the parts from split and canonicalizes the path part\n\t * and then joins all the parts.\n\t */\n\t function _joinAndCanonicalizePath(parts) {\n\t var path = parts[_ComponentIndex.Path];\n\t path = isBlank(path) ? '' : _removeDotSegments(path);\n\t parts[_ComponentIndex.Path] = path;\n\t return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n\t }\n\t /**\n\t * Resolves a URL.\n\t * @param base The URL acting as the base URL.\n\t * @param to The URL to resolve.\n\t */\n\t function _resolveUrl(base, url) {\n\t var parts = _split(encodeURI(url));\n\t var baseParts = _split(base);\n\t if (isPresent(parts[_ComponentIndex.Scheme])) {\n\t return _joinAndCanonicalizePath(parts);\n\t }\n\t else {\n\t parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n\t }\n\t for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n\t if (isBlank(parts[i])) {\n\t parts[i] = baseParts[i];\n\t }\n\t }\n\t if (parts[_ComponentIndex.Path][0] == '/') {\n\t return _joinAndCanonicalizePath(parts);\n\t }\n\t var path = baseParts[_ComponentIndex.Path];\n\t if (isBlank(path))\n\t path = '/';\n\t var index = path.lastIndexOf('/');\n\t path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n\t parts[_ComponentIndex.Path] = path;\n\t return _joinAndCanonicalizePath(parts);\n\t }\n\t\n\t var DirectiveNormalizer = (function () {\n\t function DirectiveNormalizer(_resourceLoader, _urlResolver, _htmlParser, _config) {\n\t this._resourceLoader = _resourceLoader;\n\t this._urlResolver = _urlResolver;\n\t this._htmlParser = _htmlParser;\n\t this._config = _config;\n\t this._resourceLoaderCache = new Map();\n\t }\n\t DirectiveNormalizer.prototype.clearCache = function () { this._resourceLoaderCache.clear(); };\n\t DirectiveNormalizer.prototype.clearCacheFor = function (normalizedDirective) {\n\t var _this = this;\n\t if (!normalizedDirective.isComponent) {\n\t return;\n\t }\n\t this._resourceLoaderCache.delete(normalizedDirective.template.templateUrl);\n\t normalizedDirective.template.externalStylesheets.forEach(function (stylesheet) { _this._resourceLoaderCache.delete(stylesheet.moduleUrl); });\n\t };\n\t DirectiveNormalizer.prototype._fetch = function (url) {\n\t var result = this._resourceLoaderCache.get(url);\n\t if (!result) {\n\t result = this._resourceLoader.get(url);\n\t this._resourceLoaderCache.set(url, result);\n\t }\n\t return result;\n\t };\n\t DirectiveNormalizer.prototype.normalizeTemplate = function (prenormData) {\n\t var _this = this;\n\t var normalizedTemplateSync = null;\n\t var normalizedTemplateAsync;\n\t if (isPresent(prenormData.template)) {\n\t normalizedTemplateSync = this.normalizeTemplateSync(prenormData);\n\t normalizedTemplateAsync = Promise.resolve(normalizedTemplateSync);\n\t }\n\t else if (prenormData.templateUrl) {\n\t normalizedTemplateAsync = this.normalizeTemplateAsync(prenormData);\n\t }\n\t else {\n\t throw new Error(\"No template specified for component \" + stringify(prenormData.componentType));\n\t }\n\t if (normalizedTemplateSync && normalizedTemplateSync.styleUrls.length === 0) {\n\t // sync case\n\t return new SyncAsyncResult(normalizedTemplateSync);\n\t }\n\t else {\n\t // async case\n\t return new SyncAsyncResult(null, normalizedTemplateAsync.then(function (normalizedTemplate) { return _this.normalizeExternalStylesheets(normalizedTemplate); }));\n\t }\n\t };\n\t DirectiveNormalizer.prototype.normalizeTemplateSync = function (prenomData) {\n\t return this.normalizeLoadedTemplate(prenomData, prenomData.template, prenomData.moduleUrl);\n\t };\n\t DirectiveNormalizer.prototype.normalizeTemplateAsync = function (prenomData) {\n\t var _this = this;\n\t var templateUrl = this._urlResolver.resolve(prenomData.moduleUrl, prenomData.templateUrl);\n\t return this._fetch(templateUrl)\n\t .then(function (value) { return _this.normalizeLoadedTemplate(prenomData, value, templateUrl); });\n\t };\n\t DirectiveNormalizer.prototype.normalizeLoadedTemplate = function (prenomData, template, templateAbsUrl) {\n\t var interpolationConfig = InterpolationConfig.fromArray(prenomData.interpolation);\n\t var rootNodesAndErrors = this._htmlParser.parse(template, stringify(prenomData.componentType), false, interpolationConfig);\n\t if (rootNodesAndErrors.errors.length > 0) {\n\t var errorString = rootNodesAndErrors.errors.join('\\n');\n\t throw new Error(\"Template parse errors:\\n\" + errorString);\n\t }\n\t var templateMetadataStyles = this.normalizeStylesheet(new CompileStylesheetMetadata({\n\t styles: prenomData.styles,\n\t styleUrls: prenomData.styleUrls,\n\t moduleUrl: prenomData.moduleUrl\n\t }));\n\t var visitor = new TemplatePreparseVisitor();\n\t visitAll(visitor, rootNodesAndErrors.rootNodes);\n\t var templateStyles = this.normalizeStylesheet(new CompileStylesheetMetadata({ styles: visitor.styles, styleUrls: visitor.styleUrls, moduleUrl: templateAbsUrl }));\n\t var encapsulation = prenomData.encapsulation;\n\t if (isBlank(encapsulation)) {\n\t encapsulation = this._config.defaultEncapsulation;\n\t }\n\t var styles = templateMetadataStyles.styles.concat(templateStyles.styles);\n\t var styleUrls = templateMetadataStyles.styleUrls.concat(templateStyles.styleUrls);\n\t if (encapsulation === _angular_core.ViewEncapsulation.Emulated && styles.length === 0 &&\n\t styleUrls.length === 0) {\n\t encapsulation = _angular_core.ViewEncapsulation.None;\n\t }\n\t return new CompileTemplateMetadata({\n\t encapsulation: encapsulation,\n\t template: template,\n\t templateUrl: templateAbsUrl, styles: styles, styleUrls: styleUrls,\n\t ngContentSelectors: visitor.ngContentSelectors,\n\t animations: prenomData.animations,\n\t interpolation: prenomData.interpolation,\n\t });\n\t };\n\t DirectiveNormalizer.prototype.normalizeExternalStylesheets = function (templateMeta) {\n\t return this._loadMissingExternalStylesheets(templateMeta.styleUrls)\n\t .then(function (externalStylesheets) { return new CompileTemplateMetadata({\n\t encapsulation: templateMeta.encapsulation,\n\t template: templateMeta.template,\n\t templateUrl: templateMeta.templateUrl,\n\t styles: templateMeta.styles,\n\t styleUrls: templateMeta.styleUrls,\n\t externalStylesheets: externalStylesheets,\n\t ngContentSelectors: templateMeta.ngContentSelectors,\n\t animations: templateMeta.animations,\n\t interpolation: templateMeta.interpolation\n\t }); });\n\t };\n\t DirectiveNormalizer.prototype._loadMissingExternalStylesheets = function (styleUrls, loadedStylesheets) {\n\t var _this = this;\n\t if (loadedStylesheets === void 0) { loadedStylesheets = new Map(); }\n\t return Promise\n\t .all(styleUrls.filter(function (styleUrl) { return !loadedStylesheets.has(styleUrl); })\n\t .map(function (styleUrl) { return _this._fetch(styleUrl).then(function (loadedStyle) {\n\t var stylesheet = _this.normalizeStylesheet(new CompileStylesheetMetadata({ styles: [loadedStyle], moduleUrl: styleUrl }));\n\t loadedStylesheets.set(styleUrl, stylesheet);\n\t return _this._loadMissingExternalStylesheets(stylesheet.styleUrls, loadedStylesheets);\n\t }); }))\n\t .then(function (_) { return Array.from(loadedStylesheets.values()); });\n\t };\n\t DirectiveNormalizer.prototype.normalizeStylesheet = function (stylesheet) {\n\t var _this = this;\n\t var allStyleUrls = stylesheet.styleUrls.filter(isStyleUrlResolvable)\n\t .map(function (url) { return _this._urlResolver.resolve(stylesheet.moduleUrl, url); });\n\t var allStyles = stylesheet.styles.map(function (style) {\n\t var styleWithImports = extractStyleUrls(_this._urlResolver, stylesheet.moduleUrl, style);\n\t allStyleUrls.push.apply(allStyleUrls, styleWithImports.styleUrls);\n\t return styleWithImports.style;\n\t });\n\t return new CompileStylesheetMetadata({ styles: allStyles, styleUrls: allStyleUrls, moduleUrl: stylesheet.moduleUrl });\n\t };\n\t DirectiveNormalizer.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DirectiveNormalizer.ctorParameters = [\n\t { type: ResourceLoader, },\n\t { type: UrlResolver, },\n\t { type: HtmlParser, },\n\t { type: CompilerConfig, },\n\t ];\n\t return DirectiveNormalizer;\n\t }());\n\t var TemplatePreparseVisitor = (function () {\n\t function TemplatePreparseVisitor() {\n\t this.ngContentSelectors = [];\n\t this.styles = [];\n\t this.styleUrls = [];\n\t this.ngNonBindableStackCount = 0;\n\t }\n\t TemplatePreparseVisitor.prototype.visitElement = function (ast, context) {\n\t var preparsedElement = preparseElement(ast);\n\t switch (preparsedElement.type) {\n\t case PreparsedElementType.NG_CONTENT:\n\t if (this.ngNonBindableStackCount === 0) {\n\t this.ngContentSelectors.push(preparsedElement.selectAttr);\n\t }\n\t break;\n\t case PreparsedElementType.STYLE:\n\t var textContent_1 = '';\n\t ast.children.forEach(function (child) {\n\t if (child instanceof Text) {\n\t textContent_1 += child.value;\n\t }\n\t });\n\t this.styles.push(textContent_1);\n\t break;\n\t case PreparsedElementType.STYLESHEET:\n\t this.styleUrls.push(preparsedElement.hrefAttr);\n\t break;\n\t default:\n\t break;\n\t }\n\t if (preparsedElement.nonBindable) {\n\t this.ngNonBindableStackCount++;\n\t }\n\t visitAll(this, ast.children);\n\t if (preparsedElement.nonBindable) {\n\t this.ngNonBindableStackCount--;\n\t }\n\t return null;\n\t };\n\t TemplatePreparseVisitor.prototype.visitComment = function (ast, context) { return null; };\n\t TemplatePreparseVisitor.prototype.visitAttribute = function (ast, context) { return null; };\n\t TemplatePreparseVisitor.prototype.visitText = function (ast, context) { return null; };\n\t TemplatePreparseVisitor.prototype.visitExpansion = function (ast, context) { return null; };\n\t TemplatePreparseVisitor.prototype.visitExpansionCase = function (ast, context) { return null; };\n\t return TemplatePreparseVisitor;\n\t }());\n\t\n\t /*\n\t * Resolve a `Type` for {@link Directive}.\n\t *\n\t * This interface can be overridden by the application developer to create custom behavior.\n\t *\n\t * See {@link Compiler}\n\t */\n\t var DirectiveResolver = (function () {\n\t function DirectiveResolver(_reflector) {\n\t if (_reflector === void 0) { _reflector = reflector; }\n\t this._reflector = _reflector;\n\t }\n\t DirectiveResolver.prototype.isDirective = function (type) {\n\t var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n\t return typeMetadata && typeMetadata.some(isDirectiveMetadata);\n\t };\n\t /**\n\t * Return {@link Directive} for a given `Type`.\n\t */\n\t DirectiveResolver.prototype.resolve = function (type, throwIfNotFound) {\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n\t if (typeMetadata) {\n\t var metadata = typeMetadata.find(isDirectiveMetadata);\n\t if (metadata) {\n\t var propertyMetadata = this._reflector.propMetadata(type);\n\t return this._mergeWithPropertyMetadata(metadata, propertyMetadata, type);\n\t }\n\t }\n\t if (throwIfNotFound) {\n\t throw new Error(\"No Directive annotation found on \" + stringify(type));\n\t }\n\t return null;\n\t };\n\t DirectiveResolver.prototype._mergeWithPropertyMetadata = function (dm, propertyMetadata, directiveType) {\n\t var inputs = [];\n\t var outputs = [];\n\t var host = {};\n\t var queries = {};\n\t Object.keys(propertyMetadata).forEach(function (propName) {\n\t propertyMetadata[propName].forEach(function (a) {\n\t if (a instanceof _angular_core.Input) {\n\t if (a.bindingPropertyName) {\n\t inputs.push(propName + \": \" + a.bindingPropertyName);\n\t }\n\t else {\n\t inputs.push(propName);\n\t }\n\t }\n\t else if (a instanceof _angular_core.Output) {\n\t var output = a;\n\t if (output.bindingPropertyName) {\n\t outputs.push(propName + \": \" + output.bindingPropertyName);\n\t }\n\t else {\n\t outputs.push(propName);\n\t }\n\t }\n\t else if (a instanceof _angular_core.HostBinding) {\n\t var hostBinding = a;\n\t if (hostBinding.hostPropertyName) {\n\t var startWith = hostBinding.hostPropertyName[0];\n\t if (startWith === '(') {\n\t throw new Error(\"@HostBinding can not bind to events. Use @HostListener instead.\");\n\t }\n\t else if (startWith === '[') {\n\t throw new Error(\"@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.\");\n\t }\n\t host[(\"[\" + hostBinding.hostPropertyName + \"]\")] = propName;\n\t }\n\t else {\n\t host[(\"[\" + propName + \"]\")] = propName;\n\t }\n\t }\n\t else if (a instanceof _angular_core.HostListener) {\n\t var hostListener = a;\n\t var args = hostListener.args || [];\n\t host[(\"(\" + hostListener.eventName + \")\")] = propName + \"(\" + args.join(',') + \")\";\n\t }\n\t else if (a instanceof _angular_core.Query) {\n\t queries[propName] = a;\n\t }\n\t });\n\t });\n\t return this._merge(dm, inputs, outputs, host, queries, directiveType);\n\t };\n\t DirectiveResolver.prototype._extractPublicName = function (def) { return splitAtColon(def, [null, def])[1].trim(); };\n\t DirectiveResolver.prototype._merge = function (directive, inputs, outputs, host, queries, directiveType) {\n\t var _this = this;\n\t var mergedInputs = inputs;\n\t if (directive.inputs) {\n\t var inputNames_1 = directive.inputs.map(function (def) { return _this._extractPublicName(def); });\n\t inputs.forEach(function (inputDef) {\n\t var publicName = _this._extractPublicName(inputDef);\n\t if (inputNames_1.indexOf(publicName) > -1) {\n\t throw new Error(\"Input '\" + publicName + \"' defined multiple times in '\" + stringify(directiveType) + \"'\");\n\t }\n\t });\n\t mergedInputs.unshift.apply(mergedInputs, directive.inputs);\n\t }\n\t var mergedOutputs = outputs;\n\t if (directive.outputs) {\n\t var outputNames_1 = directive.outputs.map(function (def) { return _this._extractPublicName(def); });\n\t outputs.forEach(function (outputDef) {\n\t var publicName = _this._extractPublicName(outputDef);\n\t if (outputNames_1.indexOf(publicName) > -1) {\n\t throw new Error(\"Output event '\" + publicName + \"' defined multiple times in '\" + stringify(directiveType) + \"'\");\n\t }\n\t });\n\t mergedOutputs.unshift.apply(mergedOutputs, directive.outputs);\n\t }\n\t var mergedHost = directive.host ? StringMapWrapper.merge(directive.host, host) : host;\n\t var mergedQueries = directive.queries ? StringMapWrapper.merge(directive.queries, queries) : queries;\n\t if (directive instanceof _angular_core.Component) {\n\t return new _angular_core.Component({\n\t selector: directive.selector,\n\t inputs: mergedInputs,\n\t outputs: mergedOutputs,\n\t host: mergedHost,\n\t exportAs: directive.exportAs,\n\t moduleId: directive.moduleId,\n\t queries: mergedQueries,\n\t changeDetection: directive.changeDetection,\n\t providers: directive.providers,\n\t viewProviders: directive.viewProviders,\n\t entryComponents: directive.entryComponents,\n\t template: directive.template,\n\t templateUrl: directive.templateUrl,\n\t styles: directive.styles,\n\t styleUrls: directive.styleUrls,\n\t encapsulation: directive.encapsulation,\n\t animations: directive.animations,\n\t interpolation: directive.interpolation\n\t });\n\t }\n\t else {\n\t return new _angular_core.Directive({\n\t selector: directive.selector,\n\t inputs: mergedInputs,\n\t outputs: mergedOutputs,\n\t host: mergedHost,\n\t exportAs: directive.exportAs,\n\t queries: mergedQueries,\n\t providers: directive.providers\n\t });\n\t }\n\t };\n\t DirectiveResolver.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DirectiveResolver.ctorParameters = [\n\t { type: ReflectorReader, },\n\t ];\n\t return DirectiveResolver;\n\t }());\n\t function isDirectiveMetadata(type) {\n\t return type instanceof _angular_core.Directive;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$14 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t //// Types\n\t var TypeModifier;\n\t (function (TypeModifier) {\n\t TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n\t })(TypeModifier || (TypeModifier = {}));\n\t var Type$1 = (function () {\n\t function Type(modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t this.modifiers = modifiers;\n\t if (!modifiers) {\n\t this.modifiers = [];\n\t }\n\t }\n\t Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n\t return Type;\n\t }());\n\t var BuiltinTypeName;\n\t (function (BuiltinTypeName) {\n\t BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n\t BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n\t BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n\t BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n\t BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n\t BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n\t BuiltinTypeName[BuiltinTypeName[\"Null\"] = 6] = \"Null\";\n\t })(BuiltinTypeName || (BuiltinTypeName = {}));\n\t var BuiltinType = (function (_super) {\n\t __extends$14(BuiltinType, _super);\n\t function BuiltinType(name, modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.name = name;\n\t }\n\t BuiltinType.prototype.visitType = function (visitor, context) {\n\t return visitor.visitBuiltintType(this, context);\n\t };\n\t return BuiltinType;\n\t }(Type$1));\n\t var ExternalType = (function (_super) {\n\t __extends$14(ExternalType, _super);\n\t function ExternalType(value, typeParams, modifiers) {\n\t if (typeParams === void 0) { typeParams = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.value = value;\n\t this.typeParams = typeParams;\n\t }\n\t ExternalType.prototype.visitType = function (visitor, context) {\n\t return visitor.visitExternalType(this, context);\n\t };\n\t return ExternalType;\n\t }(Type$1));\n\t var ArrayType = (function (_super) {\n\t __extends$14(ArrayType, _super);\n\t function ArrayType(of, modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.of = of;\n\t }\n\t ArrayType.prototype.visitType = function (visitor, context) {\n\t return visitor.visitArrayType(this, context);\n\t };\n\t return ArrayType;\n\t }(Type$1));\n\t var MapType = (function (_super) {\n\t __extends$14(MapType, _super);\n\t function MapType(valueType, modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.valueType = valueType;\n\t }\n\t MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); };\n\t return MapType;\n\t }(Type$1));\n\t var DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\n\t var BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\n\t var INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\n\t var NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\n\t var STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\n\t var FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\n\t var NULL_TYPE = new BuiltinType(BuiltinTypeName.Null);\n\t ///// Expressions\n\t var BinaryOperator;\n\t (function (BinaryOperator) {\n\t BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n\t BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n\t BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n\t BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n\t BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n\t BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n\t BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n\t BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n\t BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n\t BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n\t BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n\t BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\n\t BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\n\t BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\n\t BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\n\t })(BinaryOperator || (BinaryOperator = {}));\n\t var Expression = (function () {\n\t function Expression(type) {\n\t this.type = type;\n\t }\n\t Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); };\n\t Expression.prototype.key = function (index, type) {\n\t if (type === void 0) { type = null; }\n\t return new ReadKeyExpr(this, index, type);\n\t };\n\t Expression.prototype.callMethod = function (name, params) {\n\t return new InvokeMethodExpr(this, name, params);\n\t };\n\t Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); };\n\t Expression.prototype.instantiate = function (params, type) {\n\t if (type === void 0) { type = null; }\n\t return new InstantiateExpr(this, params, type);\n\t };\n\t Expression.prototype.conditional = function (trueCase, falseCase) {\n\t if (falseCase === void 0) { falseCase = null; }\n\t return new ConditionalExpr(this, trueCase, falseCase);\n\t };\n\t Expression.prototype.equals = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\n\t };\n\t Expression.prototype.notEquals = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\n\t };\n\t Expression.prototype.identical = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\n\t };\n\t Expression.prototype.notIdentical = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\n\t };\n\t Expression.prototype.minus = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\n\t };\n\t Expression.prototype.plus = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\n\t };\n\t Expression.prototype.divide = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\n\t };\n\t Expression.prototype.multiply = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\n\t };\n\t Expression.prototype.modulo = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\n\t };\n\t Expression.prototype.and = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\n\t };\n\t Expression.prototype.or = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\n\t };\n\t Expression.prototype.lower = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\n\t };\n\t Expression.prototype.lowerEquals = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\n\t };\n\t Expression.prototype.bigger = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\n\t };\n\t Expression.prototype.biggerEquals = function (rhs) {\n\t return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\n\t };\n\t Expression.prototype.isBlank = function () {\n\t // Note: We use equals by purpose here to compare to null and undefined in JS.\n\t // We use the typed null to allow strictNullChecks to narrow types.\n\t return this.equals(TYPED_NULL_EXPR);\n\t };\n\t Expression.prototype.cast = function (type) { return new CastExpr(this, type); };\n\t Expression.prototype.toStmt = function () { return new ExpressionStatement(this); };\n\t return Expression;\n\t }());\n\t var BuiltinVar;\n\t (function (BuiltinVar) {\n\t BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n\t BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n\t BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n\t BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n\t })(BuiltinVar || (BuiltinVar = {}));\n\t var ReadVarExpr = (function (_super) {\n\t __extends$14(ReadVarExpr, _super);\n\t function ReadVarExpr(name, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t if (typeof name === 'string') {\n\t this.name = name;\n\t this.builtin = null;\n\t }\n\t else {\n\t this.name = null;\n\t this.builtin = name;\n\t }\n\t }\n\t ReadVarExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitReadVarExpr(this, context);\n\t };\n\t ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); };\n\t return ReadVarExpr;\n\t }(Expression));\n\t var WriteVarExpr = (function (_super) {\n\t __extends$14(WriteVarExpr, _super);\n\t function WriteVarExpr(name, value, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type || value.type);\n\t this.name = name;\n\t this.value = value;\n\t }\n\t WriteVarExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitWriteVarExpr(this, context);\n\t };\n\t WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t return new DeclareVarStmt(this.name, this.value, type, modifiers);\n\t };\n\t return WriteVarExpr;\n\t }(Expression));\n\t var WriteKeyExpr = (function (_super) {\n\t __extends$14(WriteKeyExpr, _super);\n\t function WriteKeyExpr(receiver, index, value, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type || value.type);\n\t this.receiver = receiver;\n\t this.index = index;\n\t this.value = value;\n\t }\n\t WriteKeyExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitWriteKeyExpr(this, context);\n\t };\n\t return WriteKeyExpr;\n\t }(Expression));\n\t var WritePropExpr = (function (_super) {\n\t __extends$14(WritePropExpr, _super);\n\t function WritePropExpr(receiver, name, value, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type || value.type);\n\t this.receiver = receiver;\n\t this.name = name;\n\t this.value = value;\n\t }\n\t WritePropExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitWritePropExpr(this, context);\n\t };\n\t return WritePropExpr;\n\t }(Expression));\n\t var BuiltinMethod;\n\t (function (BuiltinMethod) {\n\t BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n\t BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n\t BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n\t })(BuiltinMethod || (BuiltinMethod = {}));\n\t var InvokeMethodExpr = (function (_super) {\n\t __extends$14(InvokeMethodExpr, _super);\n\t function InvokeMethodExpr(receiver, method, args, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.receiver = receiver;\n\t this.args = args;\n\t if (typeof method === 'string') {\n\t this.name = method;\n\t this.builtin = null;\n\t }\n\t else {\n\t this.name = null;\n\t this.builtin = method;\n\t }\n\t }\n\t InvokeMethodExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitInvokeMethodExpr(this, context);\n\t };\n\t return InvokeMethodExpr;\n\t }(Expression));\n\t var InvokeFunctionExpr = (function (_super) {\n\t __extends$14(InvokeFunctionExpr, _super);\n\t function InvokeFunctionExpr(fn, args, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.fn = fn;\n\t this.args = args;\n\t }\n\t InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitInvokeFunctionExpr(this, context);\n\t };\n\t return InvokeFunctionExpr;\n\t }(Expression));\n\t var InstantiateExpr = (function (_super) {\n\t __extends$14(InstantiateExpr, _super);\n\t function InstantiateExpr(classExpr, args, type) {\n\t _super.call(this, type);\n\t this.classExpr = classExpr;\n\t this.args = args;\n\t }\n\t InstantiateExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitInstantiateExpr(this, context);\n\t };\n\t return InstantiateExpr;\n\t }(Expression));\n\t var LiteralExpr = (function (_super) {\n\t __extends$14(LiteralExpr, _super);\n\t function LiteralExpr(value, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.value = value;\n\t }\n\t LiteralExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitLiteralExpr(this, context);\n\t };\n\t return LiteralExpr;\n\t }(Expression));\n\t var ExternalExpr = (function (_super) {\n\t __extends$14(ExternalExpr, _super);\n\t function ExternalExpr(value, type, typeParams) {\n\t if (type === void 0) { type = null; }\n\t if (typeParams === void 0) { typeParams = null; }\n\t _super.call(this, type);\n\t this.value = value;\n\t this.typeParams = typeParams;\n\t }\n\t ExternalExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitExternalExpr(this, context);\n\t };\n\t return ExternalExpr;\n\t }(Expression));\n\t var ConditionalExpr = (function (_super) {\n\t __extends$14(ConditionalExpr, _super);\n\t function ConditionalExpr(condition, trueCase, falseCase, type) {\n\t if (falseCase === void 0) { falseCase = null; }\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type || trueCase.type);\n\t this.condition = condition;\n\t this.falseCase = falseCase;\n\t this.trueCase = trueCase;\n\t }\n\t ConditionalExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitConditionalExpr(this, context);\n\t };\n\t return ConditionalExpr;\n\t }(Expression));\n\t var NotExpr = (function (_super) {\n\t __extends$14(NotExpr, _super);\n\t function NotExpr(condition) {\n\t _super.call(this, BOOL_TYPE);\n\t this.condition = condition;\n\t }\n\t NotExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitNotExpr(this, context);\n\t };\n\t return NotExpr;\n\t }(Expression));\n\t var CastExpr = (function (_super) {\n\t __extends$14(CastExpr, _super);\n\t function CastExpr(value, type) {\n\t _super.call(this, type);\n\t this.value = value;\n\t }\n\t CastExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitCastExpr(this, context);\n\t };\n\t return CastExpr;\n\t }(Expression));\n\t var FnParam = (function () {\n\t function FnParam(name, type) {\n\t if (type === void 0) { type = null; }\n\t this.name = name;\n\t this.type = type;\n\t }\n\t return FnParam;\n\t }());\n\t var FunctionExpr = (function (_super) {\n\t __extends$14(FunctionExpr, _super);\n\t function FunctionExpr(params, statements, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.params = params;\n\t this.statements = statements;\n\t }\n\t FunctionExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitFunctionExpr(this, context);\n\t };\n\t FunctionExpr.prototype.toDeclStmt = function (name, modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\n\t };\n\t return FunctionExpr;\n\t }(Expression));\n\t var BinaryOperatorExpr = (function (_super) {\n\t __extends$14(BinaryOperatorExpr, _super);\n\t function BinaryOperatorExpr(operator, lhs, rhs, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type || lhs.type);\n\t this.operator = operator;\n\t this.rhs = rhs;\n\t this.lhs = lhs;\n\t }\n\t BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitBinaryOperatorExpr(this, context);\n\t };\n\t return BinaryOperatorExpr;\n\t }(Expression));\n\t var ReadPropExpr = (function (_super) {\n\t __extends$14(ReadPropExpr, _super);\n\t function ReadPropExpr(receiver, name, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.receiver = receiver;\n\t this.name = name;\n\t }\n\t ReadPropExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitReadPropExpr(this, context);\n\t };\n\t ReadPropExpr.prototype.set = function (value) {\n\t return new WritePropExpr(this.receiver, this.name, value);\n\t };\n\t return ReadPropExpr;\n\t }(Expression));\n\t var ReadKeyExpr = (function (_super) {\n\t __extends$14(ReadKeyExpr, _super);\n\t function ReadKeyExpr(receiver, index, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.receiver = receiver;\n\t this.index = index;\n\t }\n\t ReadKeyExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitReadKeyExpr(this, context);\n\t };\n\t ReadKeyExpr.prototype.set = function (value) {\n\t return new WriteKeyExpr(this.receiver, this.index, value);\n\t };\n\t return ReadKeyExpr;\n\t }(Expression));\n\t var LiteralArrayExpr = (function (_super) {\n\t __extends$14(LiteralArrayExpr, _super);\n\t function LiteralArrayExpr(entries, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.entries = entries;\n\t }\n\t LiteralArrayExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitLiteralArrayExpr(this, context);\n\t };\n\t return LiteralArrayExpr;\n\t }(Expression));\n\t var LiteralMapExpr = (function (_super) {\n\t __extends$14(LiteralMapExpr, _super);\n\t function LiteralMapExpr(entries, type) {\n\t if (type === void 0) { type = null; }\n\t _super.call(this, type);\n\t this.entries = entries;\n\t this.valueType = null;\n\t if (isPresent(type)) {\n\t this.valueType = type.valueType;\n\t }\n\t }\n\t LiteralMapExpr.prototype.visitExpression = function (visitor, context) {\n\t return visitor.visitLiteralMapExpr(this, context);\n\t };\n\t return LiteralMapExpr;\n\t }(Expression));\n\t var THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\n\t var SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\n\t var CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\n\t var CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\n\t var NULL_EXPR = new LiteralExpr(null, null);\n\t var TYPED_NULL_EXPR = new LiteralExpr(null, NULL_TYPE);\n\t //// Statements\n\t var StmtModifier;\n\t (function (StmtModifier) {\n\t StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n\t StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n\t })(StmtModifier || (StmtModifier = {}));\n\t var Statement = (function () {\n\t function Statement(modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t this.modifiers = modifiers;\n\t if (!modifiers) {\n\t this.modifiers = [];\n\t }\n\t }\n\t Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n\t return Statement;\n\t }());\n\t var DeclareVarStmt = (function (_super) {\n\t __extends$14(DeclareVarStmt, _super);\n\t function DeclareVarStmt(name, value, type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.name = name;\n\t this.value = value;\n\t this.type = type || value.type;\n\t }\n\t DeclareVarStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitDeclareVarStmt(this, context);\n\t };\n\t return DeclareVarStmt;\n\t }(Statement));\n\t var DeclareFunctionStmt = (function (_super) {\n\t __extends$14(DeclareFunctionStmt, _super);\n\t function DeclareFunctionStmt(name, params, statements, type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.name = name;\n\t this.params = params;\n\t this.statements = statements;\n\t this.type = type;\n\t }\n\t DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitDeclareFunctionStmt(this, context);\n\t };\n\t return DeclareFunctionStmt;\n\t }(Statement));\n\t var ExpressionStatement = (function (_super) {\n\t __extends$14(ExpressionStatement, _super);\n\t function ExpressionStatement(expr) {\n\t _super.call(this);\n\t this.expr = expr;\n\t }\n\t ExpressionStatement.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitExpressionStmt(this, context);\n\t };\n\t return ExpressionStatement;\n\t }(Statement));\n\t var ReturnStatement = (function (_super) {\n\t __extends$14(ReturnStatement, _super);\n\t function ReturnStatement(value) {\n\t _super.call(this);\n\t this.value = value;\n\t }\n\t ReturnStatement.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitReturnStmt(this, context);\n\t };\n\t return ReturnStatement;\n\t }(Statement));\n\t var AbstractClassPart = (function () {\n\t function AbstractClassPart(type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t this.type = type;\n\t this.modifiers = modifiers;\n\t if (!modifiers) {\n\t this.modifiers = [];\n\t }\n\t }\n\t AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n\t return AbstractClassPart;\n\t }());\n\t var ClassField = (function (_super) {\n\t __extends$14(ClassField, _super);\n\t function ClassField(name, type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, type, modifiers);\n\t this.name = name;\n\t }\n\t return ClassField;\n\t }(AbstractClassPart));\n\t var ClassMethod = (function (_super) {\n\t __extends$14(ClassMethod, _super);\n\t function ClassMethod(name, params, body, type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, type, modifiers);\n\t this.name = name;\n\t this.params = params;\n\t this.body = body;\n\t }\n\t return ClassMethod;\n\t }(AbstractClassPart));\n\t var ClassGetter = (function (_super) {\n\t __extends$14(ClassGetter, _super);\n\t function ClassGetter(name, body, type, modifiers) {\n\t if (type === void 0) { type = null; }\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, type, modifiers);\n\t this.name = name;\n\t this.body = body;\n\t }\n\t return ClassGetter;\n\t }(AbstractClassPart));\n\t var ClassStmt = (function (_super) {\n\t __extends$14(ClassStmt, _super);\n\t function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\n\t if (modifiers === void 0) { modifiers = null; }\n\t _super.call(this, modifiers);\n\t this.name = name;\n\t this.parent = parent;\n\t this.fields = fields;\n\t this.getters = getters;\n\t this.constructorMethod = constructorMethod;\n\t this.methods = methods;\n\t }\n\t ClassStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitDeclareClassStmt(this, context);\n\t };\n\t return ClassStmt;\n\t }(Statement));\n\t var IfStmt = (function (_super) {\n\t __extends$14(IfStmt, _super);\n\t function IfStmt(condition, trueCase, falseCase) {\n\t if (falseCase === void 0) { falseCase = []; }\n\t _super.call(this);\n\t this.condition = condition;\n\t this.trueCase = trueCase;\n\t this.falseCase = falseCase;\n\t }\n\t IfStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitIfStmt(this, context);\n\t };\n\t return IfStmt;\n\t }(Statement));\n\t var CommentStmt = (function (_super) {\n\t __extends$14(CommentStmt, _super);\n\t function CommentStmt(comment) {\n\t _super.call(this);\n\t this.comment = comment;\n\t }\n\t CommentStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitCommentStmt(this, context);\n\t };\n\t return CommentStmt;\n\t }(Statement));\n\t var TryCatchStmt = (function (_super) {\n\t __extends$14(TryCatchStmt, _super);\n\t function TryCatchStmt(bodyStmts, catchStmts) {\n\t _super.call(this);\n\t this.bodyStmts = bodyStmts;\n\t this.catchStmts = catchStmts;\n\t }\n\t TryCatchStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitTryCatchStmt(this, context);\n\t };\n\t return TryCatchStmt;\n\t }(Statement));\n\t var ThrowStmt = (function (_super) {\n\t __extends$14(ThrowStmt, _super);\n\t function ThrowStmt(error) {\n\t _super.call(this);\n\t this.error = error;\n\t }\n\t ThrowStmt.prototype.visitStatement = function (visitor, context) {\n\t return visitor.visitThrowStmt(this, context);\n\t };\n\t return ThrowStmt;\n\t }(Statement));\n\t var ExpressionTransformer = (function () {\n\t function ExpressionTransformer() {\n\t }\n\t ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n\t ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) {\n\t return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) {\n\t return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) {\n\t return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) {\n\t var method = ast.builtin || ast.name;\n\t return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) {\n\t return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) {\n\t return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n\t ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; };\n\t ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) {\n\t return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitNotExpr = function (ast, context) {\n\t return new NotExpr(ast.condition.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitCastExpr = function (ast, context) {\n\t return new CastExpr(ast.value.visitExpression(this, context), context);\n\t };\n\t ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) {\n\t // Don't descend into nested functions\n\t return ast;\n\t };\n\t ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) {\n\t return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) {\n\t return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) {\n\t return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\n\t };\n\t ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) {\n\t return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\n\t };\n\t ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) {\n\t var _this = this;\n\t var entries = ast.entries.map(function (entry) { return [entry[0], entry[1].visitExpression(_this, context),]; });\n\t return new LiteralMapExpr(entries);\n\t };\n\t ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) {\n\t var _this = this;\n\t return exprs.map(function (expr) { return expr.visitExpression(_this, context); });\n\t };\n\t ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) {\n\t return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\n\t };\n\t ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n\t // Don't descend into nested functions\n\t return stmt;\n\t };\n\t ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) {\n\t return new ExpressionStatement(stmt.expr.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) {\n\t return new ReturnStatement(stmt.value.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) {\n\t // Don't descend into nested functions\n\t return stmt;\n\t };\n\t ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) {\n\t return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\n\t };\n\t ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) {\n\t return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\n\t };\n\t ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) {\n\t return new ThrowStmt(stmt.error.visitExpression(this, context));\n\t };\n\t ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n\t ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) {\n\t var _this = this;\n\t return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); });\n\t };\n\t return ExpressionTransformer;\n\t }());\n\t var RecursiveExpressionVisitor = (function () {\n\t function RecursiveExpressionVisitor() {\n\t }\n\t RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n\t RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) {\n\t expr.value.visitExpression(this, context);\n\t return expr;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) {\n\t expr.receiver.visitExpression(this, context);\n\t expr.index.visitExpression(this, context);\n\t expr.value.visitExpression(this, context);\n\t return expr;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) {\n\t expr.receiver.visitExpression(this, context);\n\t expr.value.visitExpression(this, context);\n\t return expr;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) {\n\t ast.receiver.visitExpression(this, context);\n\t this.visitAllExpressions(ast.args, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) {\n\t ast.fn.visitExpression(this, context);\n\t this.visitAllExpressions(ast.args, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) {\n\t ast.classExpr.visitExpression(this, context);\n\t this.visitAllExpressions(ast.args, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n\t RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; };\n\t RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) {\n\t ast.condition.visitExpression(this, context);\n\t ast.trueCase.visitExpression(this, context);\n\t ast.falseCase.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) {\n\t ast.condition.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) {\n\t ast.value.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; };\n\t RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) {\n\t ast.lhs.visitExpression(this, context);\n\t ast.rhs.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) {\n\t ast.receiver.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) {\n\t ast.receiver.visitExpression(this, context);\n\t ast.index.visitExpression(this, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) {\n\t this.visitAllExpressions(ast.entries, context);\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) {\n\t var _this = this;\n\t ast.entries.forEach(function (entry) { return entry[1].visitExpression(_this, context); });\n\t return ast;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) {\n\t var _this = this;\n\t exprs.forEach(function (expr) { return expr.visitExpression(_this, context); });\n\t };\n\t RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) {\n\t stmt.value.visitExpression(this, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n\t // Don't descend into nested functions\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) {\n\t stmt.expr.visitExpression(this, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) {\n\t stmt.value.visitExpression(this, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) {\n\t // Don't descend into nested functions\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) {\n\t stmt.condition.visitExpression(this, context);\n\t this.visitAllStatements(stmt.trueCase, context);\n\t this.visitAllStatements(stmt.falseCase, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) {\n\t this.visitAllStatements(stmt.bodyStmts, context);\n\t this.visitAllStatements(stmt.catchStmts, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) {\n\t stmt.error.visitExpression(this, context);\n\t return stmt;\n\t };\n\t RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n\t RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) {\n\t var _this = this;\n\t stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); });\n\t };\n\t return RecursiveExpressionVisitor;\n\t }());\n\t function replaceVarInExpression(varName, newValue, expression) {\n\t var transformer = new _ReplaceVariableTransformer(varName, newValue);\n\t return expression.visitExpression(transformer, null);\n\t }\n\t var _ReplaceVariableTransformer = (function (_super) {\n\t __extends$14(_ReplaceVariableTransformer, _super);\n\t function _ReplaceVariableTransformer(_varName, _newValue) {\n\t _super.call(this);\n\t this._varName = _varName;\n\t this._newValue = _newValue;\n\t }\n\t _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) {\n\t return ast.name == this._varName ? this._newValue : ast;\n\t };\n\t return _ReplaceVariableTransformer;\n\t }(ExpressionTransformer));\n\t function findReadVarNames(stmts) {\n\t var finder = new _VariableFinder();\n\t finder.visitAllStatements(stmts, null);\n\t return finder.varNames;\n\t }\n\t var _VariableFinder = (function (_super) {\n\t __extends$14(_VariableFinder, _super);\n\t function _VariableFinder() {\n\t _super.apply(this, arguments);\n\t this.varNames = new Set();\n\t }\n\t _VariableFinder.prototype.visitReadVarExpr = function (ast, context) {\n\t this.varNames.add(ast.name);\n\t return null;\n\t };\n\t return _VariableFinder;\n\t }(RecursiveExpressionVisitor));\n\t function variable(name, type) {\n\t if (type === void 0) { type = null; }\n\t return new ReadVarExpr(name, type);\n\t }\n\t function importExpr(id, typeParams) {\n\t if (typeParams === void 0) { typeParams = null; }\n\t return new ExternalExpr(id, null, typeParams);\n\t }\n\t function importType(id, typeParams, typeModifiers) {\n\t if (typeParams === void 0) { typeParams = null; }\n\t if (typeModifiers === void 0) { typeModifiers = null; }\n\t return isPresent(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\n\t }\n\t function literalArr(values, type) {\n\t if (type === void 0) { type = null; }\n\t return new LiteralArrayExpr(values, type);\n\t }\n\t function literalMap(values, type) {\n\t if (type === void 0) { type = null; }\n\t return new LiteralMapExpr(values, type);\n\t }\n\t function not(expr) {\n\t return new NotExpr(expr);\n\t }\n\t function fn(params, body, type) {\n\t if (type === void 0) { type = null; }\n\t return new FunctionExpr(params, body, type);\n\t }\n\t function literal(value, type) {\n\t if (type === void 0) { type = null; }\n\t return new LiteralExpr(value, type);\n\t }\n\t\n\t var CheckBindingField = (function () {\n\t function CheckBindingField(expression, bindingId) {\n\t this.expression = expression;\n\t this.bindingId = bindingId;\n\t }\n\t return CheckBindingField;\n\t }());\n\t function createCheckBindingField(builder) {\n\t var bindingId = \"\" + builder.fields.length;\n\t var fieldExpr = createBindFieldExpr(bindingId);\n\t // private is fine here as no child view will reference the cached value...\n\t builder.fields.push(new ClassField(fieldExpr.name, null, [StmtModifier.Private]));\n\t builder.ctorStmts.push(THIS_EXPR.prop(fieldExpr.name)\n\t .set(importExpr(resolveIdentifier(Identifiers.UNINITIALIZED)))\n\t .toStmt());\n\t return new CheckBindingField(fieldExpr, bindingId);\n\t }\n\t function createCheckBindingStmt(evalResult, fieldExpr, throwOnChangeVar, actions) {\n\t var condition = importExpr(resolveIdentifier(Identifiers.checkBinding)).callFn([\n\t throwOnChangeVar, fieldExpr, evalResult.currValExpr\n\t ]);\n\t if (evalResult.forceUpdate) {\n\t condition = evalResult.forceUpdate.or(condition);\n\t }\n\t return evalResult.stmts.concat([\n\t new IfStmt(condition, actions.concat([\n\t THIS_EXPR.prop(fieldExpr.name).set(evalResult.currValExpr).toStmt()\n\t ]))\n\t ]);\n\t }\n\t function createBindFieldExpr(bindingId) {\n\t return THIS_EXPR.prop(\"_expr_\" + bindingId);\n\t }\n\t\n\t function createDiTokenExpression(token) {\n\t if (isPresent(token.value)) {\n\t return literal(token.value);\n\t }\n\t else if (token.identifierIsInstance) {\n\t return importExpr(token.identifier)\n\t .instantiate([], importType(token.identifier, [], [TypeModifier.Const]));\n\t }\n\t else {\n\t return importExpr(token.identifier);\n\t }\n\t }\n\t function createInlineArray(values) {\n\t if (values.length === 0) {\n\t return importExpr(resolveIdentifier(Identifiers.EMPTY_INLINE_ARRAY));\n\t }\n\t var log2 = Math.log(values.length) / Math.log(2);\n\t var index = Math.ceil(log2);\n\t var identifierSpec = index < Identifiers.inlineArrays.length ? Identifiers.inlineArrays[index] :\n\t Identifiers.InlineArrayDynamic;\n\t var identifier = resolveIdentifier(identifierSpec);\n\t return importExpr(identifier).instantiate([\n\t literal(values.length)\n\t ].concat(values));\n\t }\n\t function createPureProxy(fn, argCount, pureProxyProp, builder) {\n\t builder.fields.push(new ClassField(pureProxyProp.name, null));\n\t var pureProxyId = argCount < Identifiers.pureProxies.length ? Identifiers.pureProxies[argCount] : null;\n\t if (!pureProxyId) {\n\t throw new Error(\"Unsupported number of argument for pure functions: \" + argCount);\n\t }\n\t builder.ctorStmts.push(THIS_EXPR.prop(pureProxyProp.name)\n\t .set(importExpr(resolveIdentifier(pureProxyId)).callFn([fn]))\n\t .toStmt());\n\t }\n\t function createEnumExpression(enumType, enumValue) {\n\t var enumName = Object.keys(enumType.runtime).find(function (propName) { return enumType.runtime[propName] === enumValue; });\n\t if (!enumName) {\n\t throw new Error(\"Unknown enum value \" + enumValue + \" in \" + enumType.name);\n\t }\n\t return importExpr(resolveEnumIdentifier(resolveIdentifier(enumType), enumName));\n\t }\n\t\n\t var VAL_UNWRAPPER_VAR = variable(\"valUnwrapper\");\n\t var EventHandlerVars = (function () {\n\t function EventHandlerVars() {\n\t }\n\t EventHandlerVars.event = variable('$event');\n\t return EventHandlerVars;\n\t }());\n\t var ConvertPropertyBindingResult = (function () {\n\t function ConvertPropertyBindingResult(stmts, currValExpr, forceUpdate) {\n\t this.stmts = stmts;\n\t this.currValExpr = currValExpr;\n\t this.forceUpdate = forceUpdate;\n\t }\n\t return ConvertPropertyBindingResult;\n\t }());\n\t /**\n\t * Converts the given expression AST into an executable output AST, assuming the expression is\n\t * used in a property binding.\n\t */\n\t function convertPropertyBinding(builder, nameResolver, implicitReceiver, expression, bindingId) {\n\t var currValExpr = createCurrValueExpr(bindingId);\n\t var stmts = [];\n\t if (!nameResolver) {\n\t nameResolver = new DefaultNameResolver();\n\t }\n\t var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, VAL_UNWRAPPER_VAR, bindingId, false);\n\t var outputExpr = expression.visit(visitor, _Mode.Expression);\n\t if (!outputExpr) {\n\t // e.g. an empty expression was given\n\t return null;\n\t }\n\t if (visitor.temporaryCount) {\n\t for (var i = 0; i < visitor.temporaryCount; i++) {\n\t stmts.push(temporaryDeclaration(bindingId, i));\n\t }\n\t }\n\t if (visitor.needsValueUnwrapper) {\n\t var initValueUnwrapperStmt = VAL_UNWRAPPER_VAR.callMethod('reset', []).toStmt();\n\t stmts.push(initValueUnwrapperStmt);\n\t }\n\t stmts.push(currValExpr.set(outputExpr).toDeclStmt(null, [StmtModifier.Final]));\n\t if (visitor.needsValueUnwrapper) {\n\t return new ConvertPropertyBindingResult(stmts, currValExpr, VAL_UNWRAPPER_VAR.prop('hasWrappedValue'));\n\t }\n\t else {\n\t return new ConvertPropertyBindingResult(stmts, currValExpr, null);\n\t }\n\t }\n\t var ConvertActionBindingResult = (function () {\n\t function ConvertActionBindingResult(stmts, preventDefault) {\n\t this.stmts = stmts;\n\t this.preventDefault = preventDefault;\n\t }\n\t return ConvertActionBindingResult;\n\t }());\n\t /**\n\t * Converts the given expression AST into an executable output AST, assuming the expression is\n\t * used in an action binding (e.g. an event handler).\n\t */\n\t function convertActionBinding(builder, nameResolver, implicitReceiver, action, bindingId) {\n\t if (!nameResolver) {\n\t nameResolver = new DefaultNameResolver();\n\t }\n\t var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, null, bindingId, true);\n\t var actionStmts = [];\n\t flattenStatements(action.visit(visitor, _Mode.Statement), actionStmts);\n\t prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);\n\t var lastIndex = actionStmts.length - 1;\n\t var preventDefaultVar = null;\n\t if (lastIndex >= 0) {\n\t var lastStatement = actionStmts[lastIndex];\n\t var returnExpr = convertStmtIntoExpression(lastStatement);\n\t if (returnExpr) {\n\t // Note: We need to cast the result of the method call to dynamic,\n\t // as it might be a void method!\n\t preventDefaultVar = createPreventDefaultVar(bindingId);\n\t actionStmts[lastIndex] =\n\t preventDefaultVar.set(returnExpr.cast(DYNAMIC_TYPE).notIdentical(literal(false)))\n\t .toDeclStmt(null, [StmtModifier.Final]);\n\t }\n\t }\n\t return new ConvertActionBindingResult(actionStmts, preventDefaultVar);\n\t }\n\t /**\n\t * Creates variables that are shared by multiple calls to `convertActionBinding` /\n\t * `convertPropertyBinding`\n\t */\n\t function createSharedBindingVariablesIfNeeded(stmts) {\n\t var unwrapperStmts = [];\n\t var readVars = findReadVarNames(stmts);\n\t if (readVars.has(VAL_UNWRAPPER_VAR.name)) {\n\t unwrapperStmts.push(VAL_UNWRAPPER_VAR\n\t .set(importExpr(resolveIdentifier(Identifiers.ValueUnwrapper)).instantiate([]))\n\t .toDeclStmt(null, [StmtModifier.Final]));\n\t }\n\t return unwrapperStmts;\n\t }\n\t function temporaryName(bindingId, temporaryNumber) {\n\t return \"tmp_\" + bindingId + \"_\" + temporaryNumber;\n\t }\n\t function temporaryDeclaration(bindingId, temporaryNumber) {\n\t return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber), NULL_EXPR);\n\t }\n\t function prependTemporaryDecls(temporaryCount, bindingId, statements) {\n\t for (var i = temporaryCount - 1; i >= 0; i--) {\n\t statements.unshift(temporaryDeclaration(bindingId, i));\n\t }\n\t }\n\t var _Mode;\n\t (function (_Mode) {\n\t _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n\t _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n\t })(_Mode || (_Mode = {}));\n\t function ensureStatementMode(mode, ast) {\n\t if (mode !== _Mode.Statement) {\n\t throw new Error(\"Expected a statement, but saw \" + ast);\n\t }\n\t }\n\t function ensureExpressionMode(mode, ast) {\n\t if (mode !== _Mode.Expression) {\n\t throw new Error(\"Expected an expression, but saw \" + ast);\n\t }\n\t }\n\t function convertToStatementIfNeeded(mode, expr) {\n\t if (mode === _Mode.Statement) {\n\t return expr.toStmt();\n\t }\n\t else {\n\t return expr;\n\t }\n\t }\n\t var _AstToIrVisitor = (function () {\n\t function _AstToIrVisitor(_builder, _nameResolver, _implicitReceiver, _valueUnwrapper, bindingId, isAction) {\n\t this._builder = _builder;\n\t this._nameResolver = _nameResolver;\n\t this._implicitReceiver = _implicitReceiver;\n\t this._valueUnwrapper = _valueUnwrapper;\n\t this.bindingId = bindingId;\n\t this.isAction = isAction;\n\t this._nodeMap = new Map();\n\t this._resultMap = new Map();\n\t this._currentTemporary = 0;\n\t this.needsValueUnwrapper = false;\n\t this.temporaryCount = 0;\n\t }\n\t _AstToIrVisitor.prototype.visitBinary = function (ast, mode) {\n\t var op;\n\t switch (ast.operation) {\n\t case '+':\n\t op = BinaryOperator.Plus;\n\t break;\n\t case '-':\n\t op = BinaryOperator.Minus;\n\t break;\n\t case '*':\n\t op = BinaryOperator.Multiply;\n\t break;\n\t case '/':\n\t op = BinaryOperator.Divide;\n\t break;\n\t case '%':\n\t op = BinaryOperator.Modulo;\n\t break;\n\t case '&&':\n\t op = BinaryOperator.And;\n\t break;\n\t case '||':\n\t op = BinaryOperator.Or;\n\t break;\n\t case '==':\n\t op = BinaryOperator.Equals;\n\t break;\n\t case '!=':\n\t op = BinaryOperator.NotEquals;\n\t break;\n\t case '===':\n\t op = BinaryOperator.Identical;\n\t break;\n\t case '!==':\n\t op = BinaryOperator.NotIdentical;\n\t break;\n\t case '<':\n\t op = BinaryOperator.Lower;\n\t break;\n\t case '>':\n\t op = BinaryOperator.Bigger;\n\t break;\n\t case '<=':\n\t op = BinaryOperator.LowerEquals;\n\t break;\n\t case '>=':\n\t op = BinaryOperator.BiggerEquals;\n\t break;\n\t default:\n\t throw new Error(\"Unsupported operation \" + ast.operation);\n\t }\n\t return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this.visit(ast.left, _Mode.Expression), this.visit(ast.right, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitChain = function (ast, mode) {\n\t ensureStatementMode(mode, ast);\n\t return this.visitAll(ast.expressions, mode);\n\t };\n\t _AstToIrVisitor.prototype.visitConditional = function (ast, mode) {\n\t var value = this.visit(ast.condition, _Mode.Expression);\n\t return convertToStatementIfNeeded(mode, value.conditional(this.visit(ast.trueExp, _Mode.Expression), this.visit(ast.falseExp, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitPipe = function (ast, mode) {\n\t var input = this.visit(ast.exp, _Mode.Expression);\n\t var args = this.visitAll(ast.args, _Mode.Expression);\n\t var value = this._nameResolver.callPipe(ast.name, input, args);\n\t if (!value) {\n\t throw new Error(\"Illegal state: Pipe \" + ast.name + \" is not allowed here!\");\n\t }\n\t this.needsValueUnwrapper = true;\n\t return convertToStatementIfNeeded(mode, this._valueUnwrapper.callMethod('unwrap', [value]));\n\t };\n\t _AstToIrVisitor.prototype.visitFunctionCall = function (ast, mode) {\n\t return convertToStatementIfNeeded(mode, this.visit(ast.target, _Mode.Expression).callFn(this.visitAll(ast.args, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitImplicitReceiver = function (ast, mode) {\n\t ensureExpressionMode(mode, ast);\n\t return this._implicitReceiver;\n\t };\n\t _AstToIrVisitor.prototype.visitInterpolation = function (ast, mode) {\n\t ensureExpressionMode(mode, ast);\n\t var args = [literal(ast.expressions.length)];\n\t for (var i = 0; i < ast.strings.length - 1; i++) {\n\t args.push(literal(ast.strings[i]));\n\t args.push(this.visit(ast.expressions[i], _Mode.Expression));\n\t }\n\t args.push(literal(ast.strings[ast.strings.length - 1]));\n\t return ast.expressions.length <= 9 ?\n\t importExpr(resolveIdentifier(Identifiers.inlineInterpolate)).callFn(args) :\n\t importExpr(resolveIdentifier(Identifiers.interpolate)).callFn([\n\t args[0], literalArr(args.slice(1))\n\t ]);\n\t };\n\t _AstToIrVisitor.prototype.visitKeyedRead = function (ast, mode) {\n\t return convertToStatementIfNeeded(mode, this.visit(ast.obj, _Mode.Expression).key(this.visit(ast.key, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitKeyedWrite = function (ast, mode) {\n\t var obj = this.visit(ast.obj, _Mode.Expression);\n\t var key = this.visit(ast.key, _Mode.Expression);\n\t var value = this.visit(ast.value, _Mode.Expression);\n\t return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n\t };\n\t _AstToIrVisitor.prototype.visitLiteralArray = function (ast, mode) {\n\t var parts = this.visitAll(ast.expressions, mode);\n\t var literalArr$$ = this.isAction ? literalArr(parts) : createCachedLiteralArray(this._builder, parts);\n\t return convertToStatementIfNeeded(mode, literalArr$$);\n\t };\n\t _AstToIrVisitor.prototype.visitLiteralMap = function (ast, mode) {\n\t var parts = [];\n\t for (var i = 0; i < ast.keys.length; i++) {\n\t parts.push([ast.keys[i], this.visit(ast.values[i], _Mode.Expression)]);\n\t }\n\t var literalMap$$ = this.isAction ? literalMap(parts) : createCachedLiteralMap(this._builder, parts);\n\t return convertToStatementIfNeeded(mode, literalMap$$);\n\t };\n\t _AstToIrVisitor.prototype.visitLiteralPrimitive = function (ast, mode) {\n\t return convertToStatementIfNeeded(mode, literal(ast.value));\n\t };\n\t _AstToIrVisitor.prototype._getLocal = function (name) {\n\t if (this.isAction && name == EventHandlerVars.event.name) {\n\t return EventHandlerVars.event;\n\t }\n\t return this._nameResolver.getLocal(name);\n\t };\n\t _AstToIrVisitor.prototype.visitMethodCall = function (ast, mode) {\n\t var leftMostSafe = this.leftMostSafeNode(ast);\n\t if (leftMostSafe) {\n\t return this.convertSafeAccess(ast, leftMostSafe, mode);\n\t }\n\t else {\n\t var args = this.visitAll(ast.args, _Mode.Expression);\n\t var result = null;\n\t var receiver = this.visit(ast.receiver, _Mode.Expression);\n\t if (receiver === this._implicitReceiver) {\n\t var varExpr = this._getLocal(ast.name);\n\t if (isPresent(varExpr)) {\n\t result = varExpr.callFn(args);\n\t }\n\t }\n\t if (isBlank(result)) {\n\t result = receiver.callMethod(ast.name, args);\n\t }\n\t return convertToStatementIfNeeded(mode, result);\n\t }\n\t };\n\t _AstToIrVisitor.prototype.visitPrefixNot = function (ast, mode) {\n\t return convertToStatementIfNeeded(mode, not(this.visit(ast.expression, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitPropertyRead = function (ast, mode) {\n\t var leftMostSafe = this.leftMostSafeNode(ast);\n\t if (leftMostSafe) {\n\t return this.convertSafeAccess(ast, leftMostSafe, mode);\n\t }\n\t else {\n\t var result = null;\n\t var receiver = this.visit(ast.receiver, _Mode.Expression);\n\t if (receiver === this._implicitReceiver) {\n\t result = this._getLocal(ast.name);\n\t }\n\t if (isBlank(result)) {\n\t result = receiver.prop(ast.name);\n\t }\n\t return convertToStatementIfNeeded(mode, result);\n\t }\n\t };\n\t _AstToIrVisitor.prototype.visitPropertyWrite = function (ast, mode) {\n\t var receiver = this.visit(ast.receiver, _Mode.Expression);\n\t if (receiver === this._implicitReceiver) {\n\t var varExpr = this._getLocal(ast.name);\n\t if (isPresent(varExpr)) {\n\t throw new Error('Cannot assign to a reference or variable!');\n\t }\n\t }\n\t return convertToStatementIfNeeded(mode, receiver.prop(ast.name).set(this.visit(ast.value, _Mode.Expression)));\n\t };\n\t _AstToIrVisitor.prototype.visitSafePropertyRead = function (ast, mode) {\n\t return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n\t };\n\t _AstToIrVisitor.prototype.visitSafeMethodCall = function (ast, mode) {\n\t return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n\t };\n\t _AstToIrVisitor.prototype.visitAll = function (asts, mode) {\n\t var _this = this;\n\t return asts.map(function (ast) { return _this.visit(ast, mode); });\n\t };\n\t _AstToIrVisitor.prototype.visitQuote = function (ast, mode) {\n\t throw new Error('Quotes are not supported for evaluation!');\n\t };\n\t _AstToIrVisitor.prototype.visit = function (ast, mode) {\n\t var result = this._resultMap.get(ast);\n\t if (result)\n\t return result;\n\t return (this._nodeMap.get(ast) || ast).visit(this, mode);\n\t };\n\t _AstToIrVisitor.prototype.convertSafeAccess = function (ast, leftMostSafe, mode) {\n\t // If the expression contains a safe access node on the left it needs to be converted to\n\t // an expression that guards the access to the member by checking the receiver for blank. As\n\t // execution proceeds from left to right, the left most part of the expression must be guarded\n\t // first but, because member access is left associative, the right side of the expression is at\n\t // the top of the AST. The desired result requires lifting a copy of the the left part of the\n\t // expression up to test it for blank before generating the unguarded version.\n\t // Consider, for example the following expression: a?.b.c?.d.e\n\t // This results in the ast:\n\t // .\n\t // / \\\n\t // ?. e\n\t // / \\\n\t // . d\n\t // / \\\n\t // ?. c\n\t // / \\\n\t // a b\n\t // The following tree should be generated:\n\t //\n\t // /---- ? ----\\\n\t // / | \\\n\t // a /--- ? ---\\ null\n\t // / | \\\n\t // . . null\n\t // / \\ / \\\n\t // . c . e\n\t // / \\ / \\\n\t // a b , d\n\t // / \\\n\t // . c\n\t // / \\\n\t // a b\n\t //\n\t // Notice that the first guard condition is the left hand of the left most safe access node\n\t // which comes in as leftMostSafe to this routine.\n\t var guardedExpression = this.visit(leftMostSafe.receiver, _Mode.Expression);\n\t var temporary;\n\t if (this.needsTemporary(leftMostSafe.receiver)) {\n\t // If the expression has method calls or pipes then we need to save the result into a\n\t // temporary variable to avoid calling stateful or impure code more than once.\n\t temporary = this.allocateTemporary();\n\t // Preserve the result in the temporary variable\n\t guardedExpression = temporary.set(guardedExpression);\n\t // Ensure all further references to the guarded expression refer to the temporary instead.\n\t this._resultMap.set(leftMostSafe.receiver, temporary);\n\t }\n\t var condition = guardedExpression.isBlank();\n\t // Convert the ast to an unguarded access to the receiver's member. The map will substitute\n\t // leftMostNode with its unguarded version in the call to `this.visit()`.\n\t if (leftMostSafe instanceof SafeMethodCall) {\n\t this._nodeMap.set(leftMostSafe, new MethodCall(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args));\n\t }\n\t else {\n\t this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name));\n\t }\n\t // Recursively convert the node now without the guarded member access.\n\t var access = this.visit(ast, _Mode.Expression);\n\t // Remove the mapping. This is not strictly required as the converter only traverses each node\n\t // once but is safer if the conversion is changed to traverse the nodes more than once.\n\t this._nodeMap.delete(leftMostSafe);\n\t // If we allcoated a temporary, release it.\n\t if (temporary) {\n\t this.releaseTemporary(temporary);\n\t }\n\t // Produce the conditional\n\t return convertToStatementIfNeeded(mode, condition.conditional(literal(null), access));\n\t };\n\t // Given a expression of the form a?.b.c?.d.e the the left most safe node is\n\t // the (a?.b). The . and ?. are left associative thus can be rewritten as:\n\t // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or\n\t // safe method call as this needs be transform initially to:\n\t // a == null ? null : a.c.b.c?.d.e\n\t // then to:\n\t // a == null ? null : a.b.c == null ? null : a.b.c.d.e\n\t _AstToIrVisitor.prototype.leftMostSafeNode = function (ast) {\n\t var _this = this;\n\t var visit = function (visitor, ast) {\n\t return (_this._nodeMap.get(ast) || ast).visit(visitor);\n\t };\n\t return ast.visit({\n\t visitBinary: function (ast) { return null; },\n\t visitChain: function (ast) { return null; },\n\t visitConditional: function (ast) { return null; },\n\t visitFunctionCall: function (ast) { return null; },\n\t visitImplicitReceiver: function (ast) { return null; },\n\t visitInterpolation: function (ast) { return null; },\n\t visitKeyedRead: function (ast) { return visit(this, ast.obj); },\n\t visitKeyedWrite: function (ast) { return null; },\n\t visitLiteralArray: function (ast) { return null; },\n\t visitLiteralMap: function (ast) { return null; },\n\t visitLiteralPrimitive: function (ast) { return null; },\n\t visitMethodCall: function (ast) { return visit(this, ast.receiver); },\n\t visitPipe: function (ast) { return null; },\n\t visitPrefixNot: function (ast) { return null; },\n\t visitPropertyRead: function (ast) { return visit(this, ast.receiver); },\n\t visitPropertyWrite: function (ast) { return null; },\n\t visitQuote: function (ast) { return null; },\n\t visitSafeMethodCall: function (ast) { return visit(this, ast.receiver) || ast; },\n\t visitSafePropertyRead: function (ast) {\n\t return visit(this, ast.receiver) || ast;\n\t }\n\t });\n\t };\n\t // Returns true of the AST includes a method or a pipe indicating that, if the\n\t // expression is used as the target of a safe property or method access then\n\t // the expression should be stored into a temporary variable.\n\t _AstToIrVisitor.prototype.needsTemporary = function (ast) {\n\t var _this = this;\n\t var visit = function (visitor, ast) {\n\t return ast && (_this._nodeMap.get(ast) || ast).visit(visitor);\n\t };\n\t var visitSome = function (visitor, ast) {\n\t return ast.some(function (ast) { return visit(visitor, ast); });\n\t };\n\t return ast.visit({\n\t visitBinary: function (ast) { return visit(this, ast.left) || visit(this, ast.right); },\n\t visitChain: function (ast) { return false; },\n\t visitConditional: function (ast) {\n\t return visit(this, ast.condition) || visit(this, ast.trueExp) ||\n\t visit(this, ast.falseExp);\n\t },\n\t visitFunctionCall: function (ast) { return true; },\n\t visitImplicitReceiver: function (ast) { return false; },\n\t visitInterpolation: function (ast) { return visitSome(this, ast.expressions); },\n\t visitKeyedRead: function (ast) { return false; },\n\t visitKeyedWrite: function (ast) { return false; },\n\t visitLiteralArray: function (ast) { return true; },\n\t visitLiteralMap: function (ast) { return true; },\n\t visitLiteralPrimitive: function (ast) { return false; },\n\t visitMethodCall: function (ast) { return true; },\n\t visitPipe: function (ast) { return true; },\n\t visitPrefixNot: function (ast) { return visit(this, ast.expression); },\n\t visitPropertyRead: function (ast) { return false; },\n\t visitPropertyWrite: function (ast) { return false; },\n\t visitQuote: function (ast) { return false; },\n\t visitSafeMethodCall: function (ast) { return true; },\n\t visitSafePropertyRead: function (ast) { return false; }\n\t });\n\t };\n\t _AstToIrVisitor.prototype.allocateTemporary = function () {\n\t var tempNumber = this._currentTemporary++;\n\t this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);\n\t return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));\n\t };\n\t _AstToIrVisitor.prototype.releaseTemporary = function (temporary) {\n\t this._currentTemporary--;\n\t if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {\n\t throw new Error(\"Temporary \" + temporary.name + \" released out of order\");\n\t }\n\t };\n\t return _AstToIrVisitor;\n\t }());\n\t function flattenStatements(arg, output) {\n\t if (Array.isArray(arg)) {\n\t arg.forEach(function (entry) { return flattenStatements(entry, output); });\n\t }\n\t else {\n\t output.push(arg);\n\t }\n\t }\n\t function createCachedLiteralArray(builder, values) {\n\t if (values.length === 0) {\n\t return importExpr(resolveIdentifier(Identifiers.EMPTY_ARRAY));\n\t }\n\t var proxyExpr = THIS_EXPR.prop(\"_arr_\" + builder.fields.length);\n\t var proxyParams = [];\n\t var proxyReturnEntries = [];\n\t for (var i = 0; i < values.length; i++) {\n\t var paramName = \"p\" + i;\n\t proxyParams.push(new FnParam(paramName));\n\t proxyReturnEntries.push(variable(paramName));\n\t }\n\t createPureProxy(fn(proxyParams, [new ReturnStatement(literalArr(proxyReturnEntries))], new ArrayType(DYNAMIC_TYPE)), values.length, proxyExpr, builder);\n\t return proxyExpr.callFn(values);\n\t }\n\t function createCachedLiteralMap(builder, entries) {\n\t if (entries.length === 0) {\n\t return importExpr(resolveIdentifier(Identifiers.EMPTY_MAP));\n\t }\n\t var proxyExpr = THIS_EXPR.prop(\"_map_\" + builder.fields.length);\n\t var proxyParams = [];\n\t var proxyReturnEntries = [];\n\t var values = [];\n\t for (var i = 0; i < entries.length; i++) {\n\t var paramName = \"p\" + i;\n\t proxyParams.push(new FnParam(paramName));\n\t proxyReturnEntries.push([entries[i][0], variable(paramName)]);\n\t values.push(entries[i][1]);\n\t }\n\t createPureProxy(fn(proxyParams, [new ReturnStatement(literalMap(proxyReturnEntries))], new MapType(DYNAMIC_TYPE)), entries.length, proxyExpr, builder);\n\t return proxyExpr.callFn(values);\n\t }\n\t var DefaultNameResolver = (function () {\n\t function DefaultNameResolver() {\n\t }\n\t DefaultNameResolver.prototype.callPipe = function (name, input, args) { return null; };\n\t DefaultNameResolver.prototype.getLocal = function (name) { return null; };\n\t return DefaultNameResolver;\n\t }());\n\t function createCurrValueExpr(bindingId) {\n\t return variable(\"currVal_\" + bindingId); // fix syntax highlighting: `\n\t }\n\t function createPreventDefaultVar(bindingId) {\n\t return variable(\"pd_\" + bindingId);\n\t }\n\t function convertStmtIntoExpression(stmt) {\n\t if (stmt instanceof ExpressionStatement) {\n\t return stmt.expr;\n\t }\n\t else if (stmt instanceof ReturnStatement) {\n\t return stmt.value;\n\t }\n\t return null;\n\t }\n\t\n\t function writeToRenderer(view, boundProp, renderElement, renderValue, logBindingUpdate, securityContextExpression) {\n\t var updateStmts = [];\n\t var renderer = view.prop('renderer');\n\t renderValue = sanitizedValue(view, boundProp, renderValue, securityContextExpression);\n\t switch (boundProp.type) {\n\t case exports.PropertyBindingType.Property:\n\t if (logBindingUpdate) {\n\t updateStmts.push(importExpr(resolveIdentifier(Identifiers.setBindingDebugInfo))\n\t .callFn([renderer, renderElement, literal(boundProp.name), renderValue])\n\t .toStmt());\n\t }\n\t updateStmts.push(renderer\n\t .callMethod('setElementProperty', [renderElement, literal(boundProp.name), renderValue])\n\t .toStmt());\n\t break;\n\t case exports.PropertyBindingType.Attribute:\n\t renderValue =\n\t renderValue.isBlank().conditional(NULL_EXPR, renderValue.callMethod('toString', []));\n\t updateStmts.push(renderer\n\t .callMethod('setElementAttribute', [renderElement, literal(boundProp.name), renderValue])\n\t .toStmt());\n\t break;\n\t case exports.PropertyBindingType.Class:\n\t updateStmts.push(renderer\n\t .callMethod('setElementClass', [renderElement, literal(boundProp.name), renderValue])\n\t .toStmt());\n\t break;\n\t case exports.PropertyBindingType.Style:\n\t var strValue = renderValue.callMethod('toString', []);\n\t if (isPresent(boundProp.unit)) {\n\t strValue = strValue.plus(literal(boundProp.unit));\n\t }\n\t renderValue = renderValue.isBlank().conditional(NULL_EXPR, strValue);\n\t updateStmts.push(renderer\n\t .callMethod('setElementStyle', [renderElement, literal(boundProp.name), renderValue])\n\t .toStmt());\n\t break;\n\t case exports.PropertyBindingType.Animation:\n\t throw new Error('Illegal state: Should not come here!');\n\t }\n\t return updateStmts;\n\t }\n\t function sanitizedValue(view, boundProp, renderValue, securityContextExpression) {\n\t if (boundProp.securityContext === _angular_core.SecurityContext.NONE) {\n\t return renderValue; // No sanitization needed.\n\t }\n\t if (!boundProp.needsRuntimeSecurityContext) {\n\t securityContextExpression =\n\t createEnumExpression(Identifiers.SecurityContext, boundProp.securityContext);\n\t }\n\t if (!securityContextExpression) {\n\t throw new Error(\"internal error, no SecurityContext given \" + boundProp.name);\n\t }\n\t var ctx = view.prop('viewUtils').prop('sanitizer');\n\t var args = [securityContextExpression, renderValue];\n\t return ctx.callMethod('sanitize', args);\n\t }\n\t function triggerAnimation(view, componentView, boundProp, eventListener, renderElement, renderValue, lastRenderValue) {\n\t var detachStmts = [];\n\t var updateStmts = [];\n\t var animationName = boundProp.name;\n\t var animationFnExpr = componentView.prop('componentType').prop('animations').key(literal(animationName));\n\t // it's important to normalize the void value as `void` explicitly\n\t // so that the styles data can be obtained from the stringmap\n\t var emptyStateValue = literal(EMPTY_STATE);\n\t var unitializedValue = importExpr(resolveIdentifier(Identifiers.UNINITIALIZED));\n\t var animationTransitionVar = variable('animationTransition_' + animationName);\n\t updateStmts.push(animationTransitionVar\n\t .set(animationFnExpr.callFn([\n\t view, renderElement,\n\t lastRenderValue.equals(unitializedValue).conditional(emptyStateValue, lastRenderValue),\n\t renderValue.equals(unitializedValue).conditional(emptyStateValue, renderValue)\n\t ]))\n\t .toDeclStmt());\n\t detachStmts.push(animationTransitionVar\n\t .set(animationFnExpr.callFn([view, renderElement, lastRenderValue, emptyStateValue]))\n\t .toDeclStmt());\n\t var registerStmts = [\n\t animationTransitionVar\n\t .callMethod('onStart', [eventListener.callMethod(BuiltinMethod.Bind, [view, literal(BoundEventAst.calcFullName(animationName, null, 'start'))])])\n\t .toStmt(),\n\t animationTransitionVar\n\t .callMethod('onDone', [eventListener.callMethod(BuiltinMethod.Bind, [view, literal(BoundEventAst.calcFullName(animationName, null, 'done'))])])\n\t .toStmt(),\n\t ];\n\t updateStmts.push.apply(updateStmts, registerStmts);\n\t detachStmts.push.apply(detachStmts, registerStmts);\n\t return { updateStmts: updateStmts, detachStmts: detachStmts };\n\t }\n\t\n\t /**\n\t * Create a new class stmts based on the given data.\n\t */\n\t function createClassStmt(config) {\n\t var parentArgs = config.parentArgs || [];\n\t var superCtorStmts = config.parent ? [SUPER_EXPR.callFn(parentArgs).toStmt()] : [];\n\t var builder = concatClassBuilderParts(Array.isArray(config.builders) ? config.builders : [config.builders]);\n\t var ctor = new ClassMethod(null, config.ctorParams || [], superCtorStmts.concat(builder.ctorStmts));\n\t return new ClassStmt(config.name, config.parent, builder.fields, builder.getters, ctor, builder.methods, config.modifiers || []);\n\t }\n\t function concatClassBuilderParts(builders) {\n\t return {\n\t fields: (_a = []).concat.apply(_a, builders.map(function (builder) { return builder.fields || []; })),\n\t methods: (_b = []).concat.apply(_b, builders.map(function (builder) { return builder.methods || []; })),\n\t getters: (_c = []).concat.apply(_c, builders.map(function (builder) { return builder.getters || []; })),\n\t ctorStmts: (_d = []).concat.apply(_d, builders.map(function (builder) { return builder.ctorStmts || []; })),\n\t };\n\t var _a, _b, _c, _d;\n\t }\n\t\n\t var DirectiveWrapperCompileResult = (function () {\n\t function DirectiveWrapperCompileResult(statements, dirWrapperClassVar) {\n\t this.statements = statements;\n\t this.dirWrapperClassVar = dirWrapperClassVar;\n\t }\n\t return DirectiveWrapperCompileResult;\n\t }());\n\t var CONTEXT_FIELD_NAME = 'context';\n\t var CHANGES_FIELD_NAME = '_changes';\n\t var CHANGED_FIELD_NAME = '_changed';\n\t var EVENT_HANDLER_FIELD_NAME = '_eventHandler';\n\t var CURR_VALUE_VAR = variable('currValue');\n\t var THROW_ON_CHANGE_VAR = variable('throwOnChange');\n\t var FORCE_UPDATE_VAR = variable('forceUpdate');\n\t var VIEW_VAR = variable('view');\n\t var COMPONENT_VIEW_VAR = variable('componentView');\n\t var RENDER_EL_VAR = variable('el');\n\t var EVENT_NAME_VAR = variable('eventName');\n\t var RESET_CHANGES_STMT = THIS_EXPR.prop(CHANGES_FIELD_NAME).set(literalMap([])).toStmt();\n\t /**\n\t * We generate directive wrappers to prevent code bloat when a directive is used.\n\t * A directive wrapper encapsulates\n\t * the dirty checking for `@Input`, the handling of `@HostListener` / `@HostBinding`\n\t * and calling the lifecyclehooks `ngOnInit`, `ngOnChanges`, `ngDoCheck`.\n\t *\n\t * So far, only `@Input` and the lifecycle hooks have been implemented.\n\t */\n\t var DirectiveWrapperCompiler = (function () {\n\t function DirectiveWrapperCompiler(compilerConfig, _exprParser, _schemaRegistry, _console) {\n\t this.compilerConfig = compilerConfig;\n\t this._exprParser = _exprParser;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._console = _console;\n\t }\n\t DirectiveWrapperCompiler.dirWrapperClassName = function (id) { return \"Wrapper_\" + id.name; };\n\t DirectiveWrapperCompiler.prototype.compile = function (dirMeta) {\n\t var hostParseResult = parseHostBindings(dirMeta, this._exprParser, this._schemaRegistry);\n\t reportParseErrors(hostParseResult.errors, this._console);\n\t var builder = new DirectiveWrapperBuilder(this.compilerConfig, dirMeta);\n\t Object.keys(dirMeta.inputs).forEach(function (inputFieldName) {\n\t addCheckInputMethod(inputFieldName, builder);\n\t });\n\t addNgDoCheckMethod(builder);\n\t addCheckHostMethod(hostParseResult.hostProps, builder);\n\t addHandleEventMethod(hostParseResult.hostListeners, builder);\n\t addSubscribeMethod(dirMeta, builder);\n\t var classStmt = builder.build();\n\t return new DirectiveWrapperCompileResult([classStmt], classStmt.name);\n\t };\n\t DirectiveWrapperCompiler.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DirectiveWrapperCompiler.ctorParameters = [\n\t { type: CompilerConfig, },\n\t { type: Parser, },\n\t { type: ElementSchemaRegistry, },\n\t { type: Console, },\n\t ];\n\t return DirectiveWrapperCompiler;\n\t }());\n\t var DirectiveWrapperBuilder = (function () {\n\t function DirectiveWrapperBuilder(compilerConfig, dirMeta) {\n\t this.compilerConfig = compilerConfig;\n\t this.dirMeta = dirMeta;\n\t this.fields = [];\n\t this.getters = [];\n\t this.methods = [];\n\t this.ctorStmts = [];\n\t this.detachStmts = [];\n\t this.destroyStmts = [];\n\t var dirLifecycleHooks = dirMeta.type.lifecycleHooks;\n\t this.genChanges = dirLifecycleHooks.indexOf(LifecycleHooks.OnChanges) !== -1 ||\n\t this.compilerConfig.logBindingUpdate;\n\t this.ngOnChanges = dirLifecycleHooks.indexOf(LifecycleHooks.OnChanges) !== -1;\n\t this.ngOnInit = dirLifecycleHooks.indexOf(LifecycleHooks.OnInit) !== -1;\n\t this.ngDoCheck = dirLifecycleHooks.indexOf(LifecycleHooks.DoCheck) !== -1;\n\t this.ngOnDestroy = dirLifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1;\n\t if (this.ngOnDestroy) {\n\t this.destroyStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngOnDestroy', []).toStmt());\n\t }\n\t }\n\t DirectiveWrapperBuilder.prototype.build = function () {\n\t var dirDepParamNames = [];\n\t for (var i = 0; i < this.dirMeta.type.diDeps.length; i++) {\n\t dirDepParamNames.push(\"p\" + i);\n\t }\n\t var methods = [\n\t new ClassMethod('ngOnDetach', [\n\t new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(COMPONENT_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n\t ], this.detachStmts),\n\t new ClassMethod('ngOnDestroy', [], this.destroyStmts),\n\t ];\n\t var fields = [\n\t new ClassField(EVENT_HANDLER_FIELD_NAME, FUNCTION_TYPE, [StmtModifier.Private]),\n\t new ClassField(CONTEXT_FIELD_NAME, importType(this.dirMeta.type)),\n\t new ClassField(CHANGED_FIELD_NAME, BOOL_TYPE, [StmtModifier.Private]),\n\t ];\n\t var ctorStmts = [THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(false)).toStmt()];\n\t if (this.genChanges) {\n\t fields.push(new ClassField(CHANGES_FIELD_NAME, new MapType(DYNAMIC_TYPE), [StmtModifier.Private]));\n\t ctorStmts.push(RESET_CHANGES_STMT);\n\t }\n\t ctorStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n\t .set(importExpr(this.dirMeta.type)\n\t .instantiate(dirDepParamNames.map(function (paramName) { return variable(paramName); })))\n\t .toStmt());\n\t return createClassStmt({\n\t name: DirectiveWrapperCompiler.dirWrapperClassName(this.dirMeta.type),\n\t ctorParams: dirDepParamNames.map(function (paramName) { return new FnParam(paramName, DYNAMIC_TYPE); }),\n\t builders: [{ fields: fields, ctorStmts: ctorStmts, methods: methods }, this]\n\t });\n\t };\n\t return DirectiveWrapperBuilder;\n\t }());\n\t function addNgDoCheckMethod(builder) {\n\t var changedVar = variable('changed');\n\t var stmts = [\n\t changedVar.set(THIS_EXPR.prop(CHANGED_FIELD_NAME)).toDeclStmt(),\n\t THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(false)).toStmt(),\n\t ];\n\t var lifecycleStmts = [];\n\t if (builder.genChanges) {\n\t var onChangesStmts = [];\n\t if (builder.ngOnChanges) {\n\t onChangesStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n\t .callMethod('ngOnChanges', [THIS_EXPR.prop(CHANGES_FIELD_NAME)])\n\t .toStmt());\n\t }\n\t if (builder.compilerConfig.logBindingUpdate) {\n\t onChangesStmts.push(importExpr(resolveIdentifier(Identifiers.setBindingDebugInfoForChanges))\n\t .callFn([VIEW_VAR.prop('renderer'), RENDER_EL_VAR, THIS_EXPR.prop(CHANGES_FIELD_NAME)])\n\t .toStmt());\n\t }\n\t onChangesStmts.push(RESET_CHANGES_STMT);\n\t lifecycleStmts.push(new IfStmt(changedVar, onChangesStmts));\n\t }\n\t if (builder.ngOnInit) {\n\t lifecycleStmts.push(new IfStmt(VIEW_VAR.prop('numberOfChecks').identical(new LiteralExpr(0)), [THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngOnInit', []).toStmt()]));\n\t }\n\t if (builder.ngDoCheck) {\n\t lifecycleStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngDoCheck', []).toStmt());\n\t }\n\t if (lifecycleStmts.length > 0) {\n\t stmts.push(new IfStmt(not(THROW_ON_CHANGE_VAR), lifecycleStmts));\n\t }\n\t stmts.push(new ReturnStatement(changedVar));\n\t builder.methods.push(new ClassMethod('ngDoCheck', [\n\t new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n\t new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n\t ], stmts, BOOL_TYPE));\n\t }\n\t function addCheckInputMethod(input, builder) {\n\t var field = createCheckBindingField(builder);\n\t var onChangeStatements = [\n\t THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(true)).toStmt(),\n\t THIS_EXPR.prop(CONTEXT_FIELD_NAME).prop(input).set(CURR_VALUE_VAR).toStmt(),\n\t ];\n\t if (builder.genChanges) {\n\t onChangeStatements.push(THIS_EXPR.prop(CHANGES_FIELD_NAME)\n\t .key(literal(input))\n\t .set(importExpr(resolveIdentifier(Identifiers.SimpleChange))\n\t .instantiate([field.expression, CURR_VALUE_VAR]))\n\t .toStmt());\n\t }\n\t var methodBody = createCheckBindingStmt({ currValExpr: CURR_VALUE_VAR, forceUpdate: FORCE_UPDATE_VAR, stmts: [] }, field.expression, THROW_ON_CHANGE_VAR, onChangeStatements);\n\t builder.methods.push(new ClassMethod(\"check_\" + input, [\n\t new FnParam(CURR_VALUE_VAR.name, DYNAMIC_TYPE),\n\t new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n\t new FnParam(FORCE_UPDATE_VAR.name, BOOL_TYPE),\n\t ], methodBody));\n\t }\n\t function addCheckHostMethod(hostProps, builder) {\n\t var stmts = [];\n\t var methodParams = [\n\t new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(COMPONENT_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n\t new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n\t ];\n\t hostProps.forEach(function (hostProp, hostPropIdx) {\n\t var field = createCheckBindingField(builder);\n\t var evalResult = convertPropertyBinding(builder, null, THIS_EXPR.prop(CONTEXT_FIELD_NAME), hostProp.value, field.bindingId);\n\t if (!evalResult) {\n\t return;\n\t }\n\t var securityContextExpr;\n\t if (hostProp.needsRuntimeSecurityContext) {\n\t securityContextExpr = variable(\"secCtx_\" + methodParams.length);\n\t methodParams.push(new FnParam(securityContextExpr.name, importType(resolveIdentifier(Identifiers.SecurityContext))));\n\t }\n\t var checkBindingStmts;\n\t if (hostProp.isAnimation) {\n\t var _a = triggerAnimation(VIEW_VAR, COMPONENT_VIEW_VAR, hostProp, THIS_EXPR.prop(EVENT_HANDLER_FIELD_NAME)\n\t .or(importExpr(resolveIdentifier(Identifiers.noop))), RENDER_EL_VAR, evalResult.currValExpr, field.expression), updateStmts = _a.updateStmts, detachStmts = _a.detachStmts;\n\t checkBindingStmts = updateStmts;\n\t (_b = builder.detachStmts).push.apply(_b, detachStmts);\n\t }\n\t else {\n\t checkBindingStmts = writeToRenderer(VIEW_VAR, hostProp, RENDER_EL_VAR, evalResult.currValExpr, builder.compilerConfig.logBindingUpdate, securityContextExpr);\n\t }\n\t stmts.push.apply(stmts, createCheckBindingStmt(evalResult, field.expression, THROW_ON_CHANGE_VAR, checkBindingStmts));\n\t var _b;\n\t });\n\t builder.methods.push(new ClassMethod('checkHost', methodParams, stmts));\n\t }\n\t function addHandleEventMethod(hostListeners, builder) {\n\t var resultVar = variable(\"result\");\n\t var actionStmts = [resultVar.set(literal(true)).toDeclStmt(BOOL_TYPE)];\n\t hostListeners.forEach(function (hostListener, eventIdx) {\n\t var evalResult = convertActionBinding(builder, null, THIS_EXPR.prop(CONTEXT_FIELD_NAME), hostListener.handler, \"sub_\" + eventIdx);\n\t var trueStmts = evalResult.stmts;\n\t if (evalResult.preventDefault) {\n\t trueStmts.push(resultVar.set(evalResult.preventDefault.and(resultVar)).toStmt());\n\t }\n\t // TODO(tbosch): convert this into a `switch` once our OutputAst supports it.\n\t actionStmts.push(new IfStmt(EVENT_NAME_VAR.equals(literal(hostListener.fullName)), trueStmts));\n\t });\n\t actionStmts.push(new ReturnStatement(resultVar));\n\t builder.methods.push(new ClassMethod('handleEvent', [\n\t new FnParam(EVENT_NAME_VAR.name, STRING_TYPE),\n\t new FnParam(EventHandlerVars.event.name, DYNAMIC_TYPE)\n\t ], actionStmts, BOOL_TYPE));\n\t }\n\t function addSubscribeMethod(dirMeta, builder) {\n\t var methodParams = [\n\t new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(EVENT_HANDLER_FIELD_NAME, DYNAMIC_TYPE)\n\t ];\n\t var stmts = [\n\t THIS_EXPR.prop(EVENT_HANDLER_FIELD_NAME).set(variable(EVENT_HANDLER_FIELD_NAME)).toStmt()\n\t ];\n\t Object.keys(dirMeta.outputs).forEach(function (emitterPropName, emitterIdx) {\n\t var eventName = dirMeta.outputs[emitterPropName];\n\t var paramName = \"emit\" + emitterIdx;\n\t methodParams.push(new FnParam(paramName, BOOL_TYPE));\n\t var subscriptionFieldName = \"subscription\" + emitterIdx;\n\t builder.fields.push(new ClassField(subscriptionFieldName, DYNAMIC_TYPE));\n\t stmts.push(new IfStmt(variable(paramName), [\n\t THIS_EXPR.prop(subscriptionFieldName)\n\t .set(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n\t .prop(emitterPropName)\n\t .callMethod(BuiltinMethod.SubscribeObservable, [variable(EVENT_HANDLER_FIELD_NAME)\n\t .callMethod(BuiltinMethod.Bind, [VIEW_VAR, literal(eventName)])]))\n\t .toStmt()\n\t ]));\n\t builder.destroyStmts.push(THIS_EXPR.prop(subscriptionFieldName)\n\t .and(THIS_EXPR.prop(subscriptionFieldName).callMethod('unsubscribe', []))\n\t .toStmt());\n\t });\n\t builder.methods.push(new ClassMethod('subscribe', methodParams, stmts));\n\t }\n\t var ParseResult = (function () {\n\t function ParseResult(hostProps, hostListeners, errors) {\n\t this.hostProps = hostProps;\n\t this.hostListeners = hostListeners;\n\t this.errors = errors;\n\t }\n\t return ParseResult;\n\t }());\n\t function parseHostBindings(dirMeta, exprParser, schemaRegistry) {\n\t var errors = [];\n\t var parser = new BindingParser(exprParser, DEFAULT_INTERPOLATION_CONFIG, schemaRegistry, [], errors);\n\t var sourceFileName = dirMeta.type.moduleUrl ?\n\t \"in Directive \" + dirMeta.type.name + \" in \" + dirMeta.type.moduleUrl :\n\t \"in Directive \" + dirMeta.type.name;\n\t var sourceFile = new ParseSourceFile('', sourceFileName);\n\t var sourceSpan = new ParseSourceSpan(new ParseLocation(sourceFile, null, null, null), new ParseLocation(sourceFile, null, null, null));\n\t var parsedHostProps = parser.createDirectiveHostPropertyAsts(dirMeta.toSummary(), sourceSpan);\n\t var parsedHostListeners = parser.createDirectiveHostEventAsts(dirMeta.toSummary(), sourceSpan);\n\t return new ParseResult(parsedHostProps, parsedHostListeners, errors);\n\t }\n\t function reportParseErrors(parseErrors, console) {\n\t var warnings = parseErrors.filter(function (error) { return error.level === exports.ParseErrorLevel.WARNING; });\n\t var errors = parseErrors.filter(function (error) { return error.level === exports.ParseErrorLevel.FATAL; });\n\t if (warnings.length > 0) {\n\t this._console.warn(\"Directive parse warnings:\\n\" + warnings.join('\\n'));\n\t }\n\t if (errors.length > 0) {\n\t throw new Error(\"Directive parse errors:\\n\" + errors.join('\\n'));\n\t }\n\t }\n\t var DirectiveWrapperExpressions = (function () {\n\t function DirectiveWrapperExpressions() {\n\t }\n\t DirectiveWrapperExpressions.create = function (dir, depsExpr) {\n\t return importExpr(dir).instantiate(depsExpr, importType(dir));\n\t };\n\t DirectiveWrapperExpressions.context = function (dirWrapper) {\n\t return dirWrapper.prop(CONTEXT_FIELD_NAME);\n\t };\n\t DirectiveWrapperExpressions.ngDoCheck = function (dirWrapper, view, renderElement, throwOnChange) {\n\t return dirWrapper.callMethod('ngDoCheck', [view, renderElement, throwOnChange]);\n\t };\n\t DirectiveWrapperExpressions.checkHost = function (hostProps, dirWrapper, view, componentView, renderElement, throwOnChange, runtimeSecurityContexts) {\n\t if (hostProps.length) {\n\t return [dirWrapper\n\t .callMethod('checkHost', [view, componentView, renderElement, throwOnChange].concat(runtimeSecurityContexts))\n\t .toStmt()];\n\t }\n\t else {\n\t return [];\n\t }\n\t };\n\t DirectiveWrapperExpressions.ngOnDetach = function (hostProps, dirWrapper, view, componentView, renderEl) {\n\t if (hostProps.some(function (prop) { return prop.isAnimation; })) {\n\t return [dirWrapper\n\t .callMethod('ngOnDetach', [\n\t view,\n\t componentView,\n\t renderEl,\n\t ])\n\t .toStmt()];\n\t }\n\t else {\n\t return [];\n\t }\n\t };\n\t DirectiveWrapperExpressions.ngOnDestroy = function (dir, dirWrapper) {\n\t if (dir.type.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1 ||\n\t Object.keys(dir.outputs).length > 0) {\n\t return [dirWrapper.callMethod('ngOnDestroy', []).toStmt()];\n\t }\n\t else {\n\t return [];\n\t }\n\t };\n\t DirectiveWrapperExpressions.subscribe = function (dirMeta, hostProps, usedEvents, dirWrapper, view, eventListener) {\n\t var needsSubscribe = false;\n\t var eventFlags = [];\n\t Object.keys(dirMeta.outputs).forEach(function (propName) {\n\t var eventName = dirMeta.outputs[propName];\n\t var eventUsed = usedEvents.indexOf(eventName) > -1;\n\t needsSubscribe = needsSubscribe || eventUsed;\n\t eventFlags.push(literal(eventUsed));\n\t });\n\t hostProps.forEach(function (hostProp) {\n\t if (hostProp.isAnimation && usedEvents.length > 0) {\n\t needsSubscribe = true;\n\t }\n\t });\n\t if (needsSubscribe) {\n\t return [\n\t dirWrapper.callMethod('subscribe', [view, eventListener].concat(eventFlags)).toStmt()\n\t ];\n\t }\n\t else {\n\t return [];\n\t }\n\t };\n\t DirectiveWrapperExpressions.handleEvent = function (hostEvents, dirWrapper, eventName, event) {\n\t return dirWrapper.callMethod('handleEvent', [eventName, event]);\n\t };\n\t return DirectiveWrapperExpressions;\n\t }());\n\t\n\t function hasLifecycleHook(hook, token) {\n\t return reflector.hasLifecycleHook(token, getHookName(hook));\n\t }\n\t function getHookName(hook) {\n\t switch (hook) {\n\t case LifecycleHooks.OnInit:\n\t return 'ngOnInit';\n\t case LifecycleHooks.OnDestroy:\n\t return 'ngOnDestroy';\n\t case LifecycleHooks.DoCheck:\n\t return 'ngDoCheck';\n\t case LifecycleHooks.OnChanges:\n\t return 'ngOnChanges';\n\t case LifecycleHooks.AfterContentInit:\n\t return 'ngAfterContentInit';\n\t case LifecycleHooks.AfterContentChecked:\n\t return 'ngAfterContentChecked';\n\t case LifecycleHooks.AfterViewInit:\n\t return 'ngAfterViewInit';\n\t case LifecycleHooks.AfterViewChecked:\n\t return 'ngAfterViewChecked';\n\t }\n\t }\n\t\n\t function _isNgModuleMetadata(obj) {\n\t return obj instanceof _angular_core.NgModule;\n\t }\n\t /**\n\t * Resolves types to {@link NgModule}.\n\t */\n\t var NgModuleResolver = (function () {\n\t function NgModuleResolver(_reflector) {\n\t if (_reflector === void 0) { _reflector = reflector; }\n\t this._reflector = _reflector;\n\t }\n\t NgModuleResolver.prototype.isNgModule = function (type) { return this._reflector.annotations(type).some(_isNgModuleMetadata); };\n\t NgModuleResolver.prototype.resolve = function (type, throwIfNotFound) {\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t var ngModuleMeta = this._reflector.annotations(type).find(_isNgModuleMetadata);\n\t if (isPresent(ngModuleMeta)) {\n\t return ngModuleMeta;\n\t }\n\t else {\n\t if (throwIfNotFound) {\n\t throw new Error(\"No NgModule metadata found for '\" + stringify(type) + \"'.\");\n\t }\n\t return null;\n\t }\n\t };\n\t NgModuleResolver.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t NgModuleResolver.ctorParameters = [\n\t { type: ReflectorReader, },\n\t ];\n\t return NgModuleResolver;\n\t }());\n\t\n\t function _isPipeMetadata(type) {\n\t return type instanceof _angular_core.Pipe;\n\t }\n\t /**\n\t * Resolve a `Type` for {@link Pipe}.\n\t *\n\t * This interface can be overridden by the application developer to create custom behavior.\n\t *\n\t * See {@link Compiler}\n\t */\n\t var PipeResolver = (function () {\n\t function PipeResolver(_reflector) {\n\t if (_reflector === void 0) { _reflector = reflector; }\n\t this._reflector = _reflector;\n\t }\n\t PipeResolver.prototype.isPipe = function (type) {\n\t var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n\t return typeMetadata && typeMetadata.some(_isPipeMetadata);\n\t };\n\t /**\n\t * Return {@link Pipe} for a given `Type`.\n\t */\n\t PipeResolver.prototype.resolve = function (type, throwIfNotFound) {\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t var metas = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n\t if (isPresent(metas)) {\n\t var annotation = metas.find(_isPipeMetadata);\n\t if (isPresent(annotation)) {\n\t return annotation;\n\t }\n\t }\n\t if (throwIfNotFound) {\n\t throw new Error(\"No Pipe decorator found on \" + stringify(type));\n\t }\n\t return null;\n\t };\n\t PipeResolver.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t PipeResolver.ctorParameters = [\n\t { type: ReflectorReader, },\n\t ];\n\t return PipeResolver;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$15 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t // Design notes:\n\t // - don't lazily create metadata:\n\t // For some metadata, we need to do async work sometimes,\n\t // so the user has to kick off this loading.\n\t // But we want to report errors even when the async work is\n\t // not required to check that the user would have been able\n\t // to wait correctly.\n\t var CompileMetadataResolver = (function () {\n\t function CompileMetadataResolver(_ngModuleResolver, _directiveResolver, _pipeResolver, _schemaRegistry, _directiveNormalizer, _reflector) {\n\t if (_reflector === void 0) { _reflector = reflector; }\n\t this._ngModuleResolver = _ngModuleResolver;\n\t this._directiveResolver = _directiveResolver;\n\t this._pipeResolver = _pipeResolver;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._directiveNormalizer = _directiveNormalizer;\n\t this._reflector = _reflector;\n\t this._directiveCache = new Map();\n\t this._directiveSummaryCache = new Map();\n\t this._pipeCache = new Map();\n\t this._pipeSummaryCache = new Map();\n\t this._ngModuleCache = new Map();\n\t this._ngModuleOfTypes = new Map();\n\t this._anonymousTypes = new Map();\n\t this._anonymousTypeIndex = 0;\n\t }\n\t CompileMetadataResolver.prototype.sanitizeTokenName = function (token) {\n\t var identifier = stringify(token);\n\t if (identifier.indexOf('(') >= 0) {\n\t // case: anonymous functions!\n\t var found = this._anonymousTypes.get(token);\n\t if (!found) {\n\t this._anonymousTypes.set(token, this._anonymousTypeIndex++);\n\t found = this._anonymousTypes.get(token);\n\t }\n\t identifier = \"anonymous_token_\" + found + \"_\";\n\t }\n\t return sanitizeIdentifier(identifier);\n\t };\n\t CompileMetadataResolver.prototype.clearCacheFor = function (type) {\n\t var dirMeta = this._directiveCache.get(type);\n\t this._directiveCache.delete(type);\n\t this._directiveSummaryCache.delete(type);\n\t this._pipeCache.delete(type);\n\t this._pipeSummaryCache.delete(type);\n\t this._ngModuleOfTypes.delete(type);\n\t // Clear all of the NgModule as they contain transitive information!\n\t this._ngModuleCache.clear();\n\t if (dirMeta) {\n\t this._directiveNormalizer.clearCacheFor(dirMeta);\n\t }\n\t };\n\t CompileMetadataResolver.prototype.clearCache = function () {\n\t this._directiveCache.clear();\n\t this._directiveSummaryCache.clear();\n\t this._pipeCache.clear();\n\t this._pipeSummaryCache.clear();\n\t this._ngModuleCache.clear();\n\t this._ngModuleOfTypes.clear();\n\t this._directiveNormalizer.clearCache();\n\t };\n\t CompileMetadataResolver.prototype.getAnimationEntryMetadata = function (entry) {\n\t var _this = this;\n\t var defs = entry.definitions.map(function (def) { return _this._getAnimationStateMetadata(def); });\n\t return new CompileAnimationEntryMetadata(entry.name, defs);\n\t };\n\t CompileMetadataResolver.prototype._getAnimationStateMetadata = function (value) {\n\t if (value instanceof _angular_core.AnimationStateDeclarationMetadata) {\n\t var styles = this._getAnimationStyleMetadata(value.styles);\n\t return new CompileAnimationStateDeclarationMetadata(value.stateNameExpr, styles);\n\t }\n\t if (value instanceof _angular_core.AnimationStateTransitionMetadata) {\n\t return new CompileAnimationStateTransitionMetadata(value.stateChangeExpr, this._getAnimationMetadata(value.steps));\n\t }\n\t return null;\n\t };\n\t CompileMetadataResolver.prototype._getAnimationStyleMetadata = function (value) {\n\t return new CompileAnimationStyleMetadata(value.offset, value.styles);\n\t };\n\t CompileMetadataResolver.prototype._getAnimationMetadata = function (value) {\n\t var _this = this;\n\t if (value instanceof _angular_core.AnimationStyleMetadata) {\n\t return this._getAnimationStyleMetadata(value);\n\t }\n\t if (value instanceof _angular_core.AnimationKeyframesSequenceMetadata) {\n\t return new CompileAnimationKeyframesSequenceMetadata(value.steps.map(function (entry) { return _this._getAnimationStyleMetadata(entry); }));\n\t }\n\t if (value instanceof _angular_core.AnimationAnimateMetadata) {\n\t var animateData = this\n\t ._getAnimationMetadata(value.styles);\n\t return new CompileAnimationAnimateMetadata(value.timings, animateData);\n\t }\n\t if (value instanceof _angular_core.AnimationWithStepsMetadata) {\n\t var steps = value.steps.map(function (step) { return _this._getAnimationMetadata(step); });\n\t if (value instanceof _angular_core.AnimationGroupMetadata) {\n\t return new CompileAnimationGroupMetadata(steps);\n\t }\n\t return new CompileAnimationSequenceMetadata(steps);\n\t }\n\t return null;\n\t };\n\t CompileMetadataResolver.prototype._loadDirectiveMetadata = function (directiveType, isSync) {\n\t var _this = this;\n\t if (this._directiveCache.has(directiveType)) {\n\t return;\n\t }\n\t directiveType = _angular_core.resolveForwardRef(directiveType);\n\t var nonNormalizedMetadata = this.getNonNormalizedDirectiveMetadata(directiveType);\n\t var createDirectiveMetadata = function (templateMetadata) {\n\t var normalizedDirMeta = new CompileDirectiveMetadata({\n\t type: nonNormalizedMetadata.type,\n\t isComponent: nonNormalizedMetadata.isComponent,\n\t selector: nonNormalizedMetadata.selector,\n\t exportAs: nonNormalizedMetadata.exportAs,\n\t changeDetection: nonNormalizedMetadata.changeDetection,\n\t inputs: nonNormalizedMetadata.inputs,\n\t outputs: nonNormalizedMetadata.outputs,\n\t hostListeners: nonNormalizedMetadata.hostListeners,\n\t hostProperties: nonNormalizedMetadata.hostProperties,\n\t hostAttributes: nonNormalizedMetadata.hostAttributes,\n\t providers: nonNormalizedMetadata.providers,\n\t viewProviders: nonNormalizedMetadata.viewProviders,\n\t queries: nonNormalizedMetadata.queries,\n\t viewQueries: nonNormalizedMetadata.viewQueries,\n\t entryComponents: nonNormalizedMetadata.entryComponents,\n\t template: templateMetadata\n\t });\n\t _this._directiveCache.set(directiveType, normalizedDirMeta);\n\t _this._directiveSummaryCache.set(directiveType, normalizedDirMeta.toSummary());\n\t return normalizedDirMeta;\n\t };\n\t if (nonNormalizedMetadata.isComponent) {\n\t var templateMeta = this._directiveNormalizer.normalizeTemplate({\n\t componentType: directiveType,\n\t moduleUrl: nonNormalizedMetadata.type.moduleUrl,\n\t encapsulation: nonNormalizedMetadata.template.encapsulation,\n\t template: nonNormalizedMetadata.template.template,\n\t templateUrl: nonNormalizedMetadata.template.templateUrl,\n\t styles: nonNormalizedMetadata.template.styles,\n\t styleUrls: nonNormalizedMetadata.template.styleUrls,\n\t animations: nonNormalizedMetadata.template.animations,\n\t interpolation: nonNormalizedMetadata.template.interpolation\n\t });\n\t if (templateMeta.syncResult) {\n\t createDirectiveMetadata(templateMeta.syncResult);\n\t return null;\n\t }\n\t else {\n\t if (isSync) {\n\t throw new ComponentStillLoadingError(directiveType);\n\t }\n\t return templateMeta.asyncResult.then(createDirectiveMetadata);\n\t }\n\t }\n\t else {\n\t // directive\n\t createDirectiveMetadata(null);\n\t return null;\n\t }\n\t };\n\t CompileMetadataResolver.prototype.getNonNormalizedDirectiveMetadata = function (directiveType) {\n\t var _this = this;\n\t directiveType = _angular_core.resolveForwardRef(directiveType);\n\t var dirMeta = this._directiveResolver.resolve(directiveType);\n\t if (!dirMeta) {\n\t return null;\n\t }\n\t var moduleUrl = staticTypeModuleUrl(directiveType);\n\t var nonNormalizedTemplateMetadata;\n\t if (dirMeta instanceof _angular_core.Component) {\n\t // component\n\t moduleUrl = componentModuleUrl(this._reflector, directiveType, dirMeta);\n\t assertArrayOfStrings('styles', dirMeta.styles);\n\t assertArrayOfStrings('styleUrls', dirMeta.styleUrls);\n\t assertInterpolationSymbols('interpolation', dirMeta.interpolation);\n\t var animations = dirMeta.animations ?\n\t dirMeta.animations.map(function (e) { return _this.getAnimationEntryMetadata(e); }) :\n\t null;\n\t nonNormalizedTemplateMetadata = new CompileTemplateMetadata({\n\t encapsulation: dirMeta.encapsulation,\n\t template: dirMeta.template,\n\t templateUrl: dirMeta.templateUrl,\n\t styles: dirMeta.styles,\n\t styleUrls: dirMeta.styleUrls,\n\t animations: animations,\n\t interpolation: dirMeta.interpolation\n\t });\n\t }\n\t var changeDetectionStrategy = null;\n\t var viewProviders = [];\n\t var entryComponentMetadata = [];\n\t var selector = dirMeta.selector;\n\t if (dirMeta instanceof _angular_core.Component) {\n\t // Component\n\t changeDetectionStrategy = dirMeta.changeDetection;\n\t if (dirMeta.viewProviders) {\n\t viewProviders = this._getProvidersMetadata(dirMeta.viewProviders, entryComponentMetadata, \"viewProviders for \\\"\" + stringify(directiveType) + \"\\\"\");\n\t }\n\t if (dirMeta.entryComponents) {\n\t entryComponentMetadata =\n\t flattenAndDedupeArray(dirMeta.entryComponents)\n\t .map(function (type) { return _this._getIdentifierMetadata(type, staticTypeModuleUrl(type)); })\n\t .concat(entryComponentMetadata);\n\t }\n\t if (!selector) {\n\t selector = this._schemaRegistry.getDefaultComponentElementName();\n\t }\n\t }\n\t else {\n\t // Directive\n\t if (!selector) {\n\t throw new Error(\"Directive \" + stringify(directiveType) + \" has no selector, please add it!\");\n\t }\n\t }\n\t var providers = [];\n\t if (isPresent(dirMeta.providers)) {\n\t providers = this._getProvidersMetadata(dirMeta.providers, entryComponentMetadata, \"providers for \\\"\" + stringify(directiveType) + \"\\\"\");\n\t }\n\t var queries = [];\n\t var viewQueries = [];\n\t if (isPresent(dirMeta.queries)) {\n\t queries = this._getQueriesMetadata(dirMeta.queries, false, directiveType);\n\t viewQueries = this._getQueriesMetadata(dirMeta.queries, true, directiveType);\n\t }\n\t return CompileDirectiveMetadata.create({\n\t selector: selector,\n\t exportAs: dirMeta.exportAs,\n\t isComponent: !!nonNormalizedTemplateMetadata,\n\t type: this._getTypeMetadata(directiveType, moduleUrl),\n\t template: nonNormalizedTemplateMetadata,\n\t changeDetection: changeDetectionStrategy,\n\t inputs: dirMeta.inputs,\n\t outputs: dirMeta.outputs,\n\t host: dirMeta.host,\n\t providers: providers,\n\t viewProviders: viewProviders,\n\t queries: queries,\n\t viewQueries: viewQueries,\n\t entryComponents: entryComponentMetadata\n\t });\n\t };\n\t /**\n\t * Gets the metadata for the given directive.\n\t * This assumes `loadNgModuleMetadata` has been called first.\n\t */\n\t CompileMetadataResolver.prototype.getDirectiveMetadata = function (directiveType) {\n\t var dirMeta = this._directiveCache.get(directiveType);\n\t if (!dirMeta) {\n\t throw new Error(\"Illegal state: getDirectiveMetadata can only be called after loadNgModuleMetadata for a module that declares it. Directive \" + stringify(directiveType) + \".\");\n\t }\n\t return dirMeta;\n\t };\n\t CompileMetadataResolver.prototype.getDirectiveSummary = function (dirType) {\n\t var dirSummary = this._directiveSummaryCache.get(dirType);\n\t if (!dirSummary) {\n\t throw new Error(\"Illegal state: getDirectiveSummary can only be called after loadNgModuleMetadata for a module that imports it. Directive \" + stringify(dirType) + \".\");\n\t }\n\t return dirSummary;\n\t };\n\t CompileMetadataResolver.prototype.isDirective = function (type) { return this._directiveResolver.isDirective(type); };\n\t CompileMetadataResolver.prototype.isPipe = function (type) { return this._pipeResolver.isPipe(type); };\n\t /**\n\t * Gets the metadata for the given module.\n\t * This assumes `loadNgModuleMetadata` has been called first.\n\t */\n\t CompileMetadataResolver.prototype.getNgModuleMetadata = function (moduleType) {\n\t var modMeta = this._ngModuleCache.get(moduleType);\n\t if (!modMeta) {\n\t throw new Error(\"Illegal state: getNgModuleMetadata can only be called after loadNgModuleMetadata. Module \" + stringify(moduleType) + \".\");\n\t }\n\t return modMeta;\n\t };\n\t CompileMetadataResolver.prototype._loadNgModuleSummary = function (moduleType, isSync) {\n\t // TODO(tbosch): add logic to read summary files!\n\t // - needs to add directive / pipe summaries to this._directiveSummaryCache /\n\t // this._pipeSummaryCache as well!\n\t var moduleMeta = this._loadNgModuleMetadata(moduleType, isSync, false);\n\t return moduleMeta ? moduleMeta.toSummary() : null;\n\t };\n\t /**\n\t * Loads an NgModule and all of its directives. This includes loading the exported directives of\n\t * imported modules,\n\t * but not private directives of imported modules.\n\t */\n\t CompileMetadataResolver.prototype.loadNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t var ngModule = this._loadNgModuleMetadata(moduleType, isSync, throwIfNotFound);\n\t var loading = ngModule ?\n\t Promise.all(ngModule.transitiveModule.directiveLoaders.map(function (loader) { return loader(); })) :\n\t Promise.resolve(null);\n\t return { ngModule: ngModule, loading: loading };\n\t };\n\t /**\n\t * Get the NgModule metadata without loading the directives.\n\t */\n\t CompileMetadataResolver.prototype.getUnloadedNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t return this._loadNgModuleMetadata(moduleType, isSync, throwIfNotFound);\n\t };\n\t CompileMetadataResolver.prototype._loadNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n\t var _this = this;\n\t if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n\t moduleType = _angular_core.resolveForwardRef(moduleType);\n\t var compileMeta = this._ngModuleCache.get(moduleType);\n\t if (compileMeta) {\n\t return compileMeta;\n\t }\n\t var meta = this._ngModuleResolver.resolve(moduleType, throwIfNotFound);\n\t if (!meta) {\n\t return null;\n\t }\n\t var declaredDirectives = [];\n\t var exportedNonModuleIdentifiers = [];\n\t var declaredPipes = [];\n\t var importedModules = [];\n\t var exportedModules = [];\n\t var providers = [];\n\t var entryComponents = [];\n\t var bootstrapComponents = [];\n\t var schemas = [];\n\t if (meta.imports) {\n\t flattenAndDedupeArray(meta.imports).forEach(function (importedType) {\n\t var importedModuleType;\n\t if (isValidType(importedType)) {\n\t importedModuleType = importedType;\n\t }\n\t else if (importedType && importedType.ngModule) {\n\t var moduleWithProviders = importedType;\n\t importedModuleType = moduleWithProviders.ngModule;\n\t if (moduleWithProviders.providers) {\n\t providers.push.apply(providers, _this._getProvidersMetadata(moduleWithProviders.providers, entryComponents, \"provider for the NgModule '\" + stringify(importedModuleType) + \"'\"));\n\t }\n\t }\n\t if (importedModuleType) {\n\t var importedModuleSummary = _this._loadNgModuleSummary(importedModuleType, isSync);\n\t if (!importedModuleSummary) {\n\t throw new Error(\"Unexpected \" + _this._getTypeDescriptor(importedType) + \" '\" + stringify(importedType) + \"' imported by the module '\" + stringify(moduleType) + \"'\");\n\t }\n\t importedModules.push(importedModuleSummary);\n\t }\n\t else {\n\t throw new Error(\"Unexpected value '\" + stringify(importedType) + \"' imported by the module '\" + stringify(moduleType) + \"'\");\n\t }\n\t });\n\t }\n\t if (meta.exports) {\n\t flattenAndDedupeArray(meta.exports).forEach(function (exportedType) {\n\t if (!isValidType(exportedType)) {\n\t throw new Error(\"Unexpected value '\" + stringify(exportedType) + \"' exported by the module '\" + stringify(moduleType) + \"'\");\n\t }\n\t var exportedModuleSummary = _this._loadNgModuleSummary(exportedType, isSync);\n\t if (exportedModuleSummary) {\n\t exportedModules.push(exportedModuleSummary);\n\t }\n\t else {\n\t exportedNonModuleIdentifiers.push(_this._getIdentifierMetadata(exportedType, staticTypeModuleUrl(exportedType)));\n\t }\n\t });\n\t }\n\t // Note: This will be modified later, so we rely on\n\t // getting a new instance every time!\n\t var transitiveModule = this._getTransitiveNgModuleMetadata(importedModules, exportedModules);\n\t if (meta.declarations) {\n\t flattenAndDedupeArray(meta.declarations).forEach(function (declaredType) {\n\t if (!isValidType(declaredType)) {\n\t throw new Error(\"Unexpected value '\" + stringify(declaredType) + \"' declared by the module '\" + stringify(moduleType) + \"'\");\n\t }\n\t var declaredIdentifier = _this._getIdentifierMetadata(declaredType, staticTypeModuleUrl(declaredType));\n\t if (_this._directiveResolver.isDirective(declaredType)) {\n\t transitiveModule.directivesSet.add(declaredType);\n\t transitiveModule.directives.push(declaredIdentifier);\n\t declaredDirectives.push(declaredIdentifier);\n\t _this._addTypeToModule(declaredType, moduleType);\n\t transitiveModule.directiveLoaders.push(function () { return _this._loadDirectiveMetadata(declaredType, isSync); });\n\t }\n\t else if (_this._pipeResolver.isPipe(declaredType)) {\n\t transitiveModule.pipesSet.add(declaredType);\n\t transitiveModule.pipes.push(declaredIdentifier);\n\t declaredPipes.push(declaredIdentifier);\n\t _this._addTypeToModule(declaredType, moduleType);\n\t _this._loadPipeMetadata(declaredType);\n\t }\n\t else {\n\t throw new Error(\"Unexpected \" + _this._getTypeDescriptor(declaredType) + \" '\" + stringify(declaredType) + \"' declared by the module '\" + stringify(moduleType) + \"'\");\n\t }\n\t });\n\t }\n\t var exportedDirectives = [];\n\t var exportedPipes = [];\n\t exportedNonModuleIdentifiers.forEach(function (exportedId) {\n\t if (transitiveModule.directivesSet.has(exportedId.reference)) {\n\t exportedDirectives.push(exportedId);\n\t }\n\t else if (transitiveModule.pipesSet.has(exportedId.reference)) {\n\t exportedPipes.push(exportedId);\n\t }\n\t else {\n\t throw new Error(\"Can't export \" + _this._getTypeDescriptor(exportedId.reference) + \" \" + stringify(exportedId.reference) + \" from \" + stringify(moduleType) + \" as it was neither declared nor imported!\");\n\t }\n\t });\n\t // The providers of the module have to go last\n\t // so that they overwrite any other provider we already added.\n\t if (meta.providers) {\n\t providers.push.apply(providers, this._getProvidersMetadata(meta.providers, entryComponents, \"provider for the NgModule '\" + stringify(moduleType) + \"'\"));\n\t }\n\t if (meta.entryComponents) {\n\t entryComponents.push.apply(entryComponents, flattenAndDedupeArray(meta.entryComponents)\n\t .map(function (type) { return _this._getTypeMetadata(type, staticTypeModuleUrl(type)); }));\n\t }\n\t if (meta.bootstrap) {\n\t var typeMetadata = flattenAndDedupeArray(meta.bootstrap).map(function (type) {\n\t if (!isValidType(type)) {\n\t throw new Error(\"Unexpected value '\" + stringify(type) + \"' used in the bootstrap property of module '\" + stringify(moduleType) + \"'\");\n\t }\n\t return _this._getTypeMetadata(type, staticTypeModuleUrl(type));\n\t });\n\t bootstrapComponents.push.apply(bootstrapComponents, typeMetadata);\n\t }\n\t entryComponents.push.apply(entryComponents, bootstrapComponents);\n\t if (meta.schemas) {\n\t schemas.push.apply(schemas, flattenAndDedupeArray(meta.schemas));\n\t }\n\t (_a = transitiveModule.entryComponents).push.apply(_a, entryComponents);\n\t (_b = transitiveModule.providers).push.apply(_b, providers);\n\t compileMeta = new CompileNgModuleMetadata({\n\t type: this._getTypeMetadata(moduleType, staticTypeModuleUrl(moduleType)),\n\t providers: providers,\n\t entryComponents: entryComponents,\n\t bootstrapComponents: bootstrapComponents,\n\t schemas: schemas,\n\t declaredDirectives: declaredDirectives,\n\t exportedDirectives: exportedDirectives,\n\t declaredPipes: declaredPipes,\n\t exportedPipes: exportedPipes,\n\t importedModules: importedModules,\n\t exportedModules: exportedModules,\n\t transitiveModule: transitiveModule,\n\t id: meta.id,\n\t });\n\t transitiveModule.modules.push(compileMeta.toInjectorSummary());\n\t this._ngModuleCache.set(moduleType, compileMeta);\n\t return compileMeta;\n\t var _a, _b;\n\t };\n\t CompileMetadataResolver.prototype._getTypeDescriptor = function (type) {\n\t if (this._directiveResolver.isDirective(type)) {\n\t return 'directive';\n\t }\n\t if (this._pipeResolver.isPipe(type)) {\n\t return 'pipe';\n\t }\n\t if (this._ngModuleResolver.isNgModule(type)) {\n\t return 'module';\n\t }\n\t if (type.provide) {\n\t return 'provider';\n\t }\n\t return 'value';\n\t };\n\t CompileMetadataResolver.prototype._addTypeToModule = function (type, moduleType) {\n\t var oldModule = this._ngModuleOfTypes.get(type);\n\t if (oldModule && oldModule !== moduleType) {\n\t throw new Error((\"Type \" + stringify(type) + \" is part of the declarations of 2 modules: \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \"! \") +\n\t (\"Please consider moving \" + stringify(type) + \" to a higher module that imports \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \". \") +\n\t (\"You can also create a new NgModule that exports and includes \" + stringify(type) + \" then import that NgModule in \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \".\"));\n\t }\n\t this._ngModuleOfTypes.set(type, moduleType);\n\t };\n\t CompileMetadataResolver.prototype._getTransitiveNgModuleMetadata = function (importedModules, exportedModules) {\n\t // collect `providers` / `entryComponents` from all imported and all exported modules\n\t var transitiveModules = getTransitiveImportedModules(importedModules.concat(exportedModules));\n\t var providers = flattenArray(transitiveModules.map(function (ngModule) { return ngModule.providers; }));\n\t var entryComponents = flattenArray(transitiveModules.map(function (ngModule) { return ngModule.entryComponents; }));\n\t var transitiveExportedModules = getTransitiveExportedModules(importedModules);\n\t var directives = flattenArray(transitiveExportedModules.map(function (ngModule) { return ngModule.exportedDirectives; }));\n\t var pipes = flattenArray(transitiveExportedModules.map(function (ngModule) { return ngModule.exportedPipes; }));\n\t var directiveLoaders = ListWrapper.flatten(transitiveExportedModules.map(function (ngModule) { return ngModule.directiveLoaders; }));\n\t return new TransitiveCompileNgModuleMetadata(transitiveModules, providers, entryComponents, directives, pipes, directiveLoaders);\n\t };\n\t CompileMetadataResolver.prototype._getIdentifierMetadata = function (type, moduleUrl) {\n\t type = _angular_core.resolveForwardRef(type);\n\t return new CompileIdentifierMetadata({ name: this.sanitizeTokenName(type), moduleUrl: moduleUrl, reference: type });\n\t };\n\t CompileMetadataResolver.prototype._getTypeMetadata = function (type, moduleUrl, dependencies) {\n\t if (dependencies === void 0) { dependencies = null; }\n\t var identifier = this._getIdentifierMetadata(type, moduleUrl);\n\t return new CompileTypeMetadata({\n\t name: identifier.name,\n\t moduleUrl: identifier.moduleUrl,\n\t reference: identifier.reference,\n\t diDeps: this._getDependenciesMetadata(identifier.reference, dependencies),\n\t lifecycleHooks: LIFECYCLE_HOOKS_VALUES.filter(function (hook) { return hasLifecycleHook(hook, identifier.reference); }),\n\t });\n\t };\n\t CompileMetadataResolver.prototype._getFactoryMetadata = function (factory, moduleUrl, dependencies) {\n\t if (dependencies === void 0) { dependencies = null; }\n\t factory = _angular_core.resolveForwardRef(factory);\n\t return new CompileFactoryMetadata({\n\t name: this.sanitizeTokenName(factory),\n\t moduleUrl: moduleUrl,\n\t reference: factory,\n\t diDeps: this._getDependenciesMetadata(factory, dependencies)\n\t });\n\t };\n\t /**\n\t * Gets the metadata for the given pipe.\n\t * This assumes `loadNgModuleMetadata` has been called first.\n\t */\n\t CompileMetadataResolver.prototype.getPipeMetadata = function (pipeType) {\n\t var pipeMeta = this._pipeCache.get(pipeType);\n\t if (!pipeMeta) {\n\t throw new Error(\"Illegal state: getPipeMetadata can only be called after loadNgModuleMetadata for a module that declares it. Pipe \" + stringify(pipeType) + \".\");\n\t }\n\t return pipeMeta;\n\t };\n\t CompileMetadataResolver.prototype.getPipeSummary = function (pipeType) {\n\t var pipeSummary = this._pipeSummaryCache.get(pipeType);\n\t if (!pipeSummary) {\n\t throw new Error(\"Illegal state: getPipeSummary can only be called after loadNgModuleMetadata for a module that imports it. Pipe \" + stringify(pipeType) + \".\");\n\t }\n\t return pipeSummary;\n\t };\n\t CompileMetadataResolver.prototype.getOrLoadPipeMetadata = function (pipeType) {\n\t var pipeMeta = this._pipeCache.get(pipeType);\n\t if (!pipeMeta) {\n\t pipeMeta = this._loadPipeMetadata(pipeType);\n\t }\n\t return pipeMeta;\n\t };\n\t CompileMetadataResolver.prototype._loadPipeMetadata = function (pipeType) {\n\t pipeType = _angular_core.resolveForwardRef(pipeType);\n\t var pipeAnnotation = this._pipeResolver.resolve(pipeType);\n\t var pipeMeta = new CompilePipeMetadata({\n\t type: this._getTypeMetadata(pipeType, staticTypeModuleUrl(pipeType)),\n\t name: pipeAnnotation.name,\n\t pure: pipeAnnotation.pure\n\t });\n\t this._pipeCache.set(pipeType, pipeMeta);\n\t this._pipeSummaryCache.set(pipeType, pipeMeta.toSummary());\n\t return pipeMeta;\n\t };\n\t CompileMetadataResolver.prototype._getDependenciesMetadata = function (typeOrFunc, dependencies) {\n\t var _this = this;\n\t var hasUnknownDeps = false;\n\t var params = dependencies || this._reflector.parameters(typeOrFunc) || [];\n\t var dependenciesMetadata = params.map(function (param) {\n\t var isAttribute = false;\n\t var isHost = false;\n\t var isSelf = false;\n\t var isSkipSelf = false;\n\t var isOptional = false;\n\t var token = null;\n\t if (Array.isArray(param)) {\n\t param.forEach(function (paramEntry) {\n\t if (paramEntry instanceof _angular_core.Host) {\n\t isHost = true;\n\t }\n\t else if (paramEntry instanceof _angular_core.Self) {\n\t isSelf = true;\n\t }\n\t else if (paramEntry instanceof _angular_core.SkipSelf) {\n\t isSkipSelf = true;\n\t }\n\t else if (paramEntry instanceof _angular_core.Optional) {\n\t isOptional = true;\n\t }\n\t else if (paramEntry instanceof _angular_core.Attribute) {\n\t isAttribute = true;\n\t token = paramEntry.attributeName;\n\t }\n\t else if (paramEntry instanceof _angular_core.Inject) {\n\t token = paramEntry.token;\n\t }\n\t else if (isValidType(paramEntry) && isBlank(token)) {\n\t token = paramEntry;\n\t }\n\t });\n\t }\n\t else {\n\t token = param;\n\t }\n\t if (isBlank(token)) {\n\t hasUnknownDeps = true;\n\t return null;\n\t }\n\t return new CompileDiDependencyMetadata({\n\t isAttribute: isAttribute,\n\t isHost: isHost,\n\t isSelf: isSelf,\n\t isSkipSelf: isSkipSelf,\n\t isOptional: isOptional,\n\t token: _this._getTokenMetadata(token)\n\t });\n\t });\n\t if (hasUnknownDeps) {\n\t var depsTokens = dependenciesMetadata.map(function (dep) { return dep ? stringify(dep.token) : '?'; }).join(', ');\n\t throw new Error(\"Can't resolve all parameters for \" + stringify(typeOrFunc) + \": (\" + depsTokens + \").\");\n\t }\n\t return dependenciesMetadata;\n\t };\n\t CompileMetadataResolver.prototype._getTokenMetadata = function (token) {\n\t token = _angular_core.resolveForwardRef(token);\n\t var compileToken;\n\t if (typeof token === 'string') {\n\t compileToken = new CompileTokenMetadata({ value: token });\n\t }\n\t else {\n\t compileToken = new CompileTokenMetadata({\n\t identifier: new CompileIdentifierMetadata({\n\t reference: token,\n\t name: this.sanitizeTokenName(token),\n\t moduleUrl: staticTypeModuleUrl(token)\n\t })\n\t });\n\t }\n\t return compileToken;\n\t };\n\t CompileMetadataResolver.prototype._getProvidersMetadata = function (providers, targetEntryComponents, debugInfo) {\n\t var _this = this;\n\t var compileProviders = [];\n\t providers.forEach(function (provider, providerIdx) {\n\t provider = _angular_core.resolveForwardRef(provider);\n\t if (provider && typeof provider == 'object' && provider.hasOwnProperty('provide')) {\n\t provider = new ProviderMeta(provider.provide, provider);\n\t }\n\t var compileProvider;\n\t if (Array.isArray(provider)) {\n\t compileProvider = _this._getProvidersMetadata(provider, targetEntryComponents, debugInfo);\n\t }\n\t else if (provider instanceof ProviderMeta) {\n\t var tokenMeta = _this._getTokenMetadata(provider.token);\n\t if (tokenMeta.reference ===\n\t resolveIdentifierToken(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS).reference) {\n\t targetEntryComponents.push.apply(targetEntryComponents, _this._getEntryComponentsFromProvider(provider));\n\t }\n\t else {\n\t compileProvider = _this.getProviderMetadata(provider);\n\t }\n\t }\n\t else if (isValidType(provider)) {\n\t compileProvider = _this._getTypeMetadata(provider, staticTypeModuleUrl(provider));\n\t }\n\t else {\n\t var providersInfo = providers.reduce(function (soFar, seenProvider, seenProviderIdx) {\n\t if (seenProviderIdx < providerIdx) {\n\t soFar.push(\"\" + stringify(seenProvider));\n\t }\n\t else if (seenProviderIdx == providerIdx) {\n\t soFar.push(\"?\" + stringify(seenProvider) + \"?\");\n\t }\n\t else if (seenProviderIdx == providerIdx + 1) {\n\t soFar.push('...');\n\t }\n\t return soFar;\n\t }, [])\n\t .join(', ');\n\t throw new Error(\"Invalid \" + (debugInfo ? debugInfo : 'provider') + \" - only instances of Provider and Type are allowed, got: [\" + providersInfo + \"]\");\n\t }\n\t if (compileProvider) {\n\t compileProviders.push(compileProvider);\n\t }\n\t });\n\t return compileProviders;\n\t };\n\t CompileMetadataResolver.prototype._getEntryComponentsFromProvider = function (provider) {\n\t var _this = this;\n\t var components = [];\n\t var collectedIdentifiers = [];\n\t if (provider.useFactory || provider.useExisting || provider.useClass) {\n\t throw new Error(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!\");\n\t }\n\t if (!provider.multi) {\n\t throw new Error(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!\");\n\t }\n\t convertToCompileValue(provider.useValue, collectedIdentifiers);\n\t collectedIdentifiers.forEach(function (identifier) {\n\t if (_this._directiveResolver.isDirective(identifier.reference)) {\n\t components.push(identifier);\n\t }\n\t });\n\t return components;\n\t };\n\t CompileMetadataResolver.prototype.getProviderMetadata = function (provider) {\n\t var compileDeps;\n\t var compileTypeMetadata = null;\n\t var compileFactoryMetadata = null;\n\t if (provider.useClass) {\n\t compileTypeMetadata = this._getTypeMetadata(provider.useClass, staticTypeModuleUrl(provider.useClass), provider.dependencies);\n\t compileDeps = compileTypeMetadata.diDeps;\n\t }\n\t else if (provider.useFactory) {\n\t compileFactoryMetadata = this._getFactoryMetadata(provider.useFactory, staticTypeModuleUrl(provider.useFactory), provider.dependencies);\n\t compileDeps = compileFactoryMetadata.diDeps;\n\t }\n\t return new CompileProviderMetadata({\n\t token: this._getTokenMetadata(provider.token),\n\t useClass: compileTypeMetadata,\n\t useValue: convertToCompileValue(provider.useValue, []),\n\t useFactory: compileFactoryMetadata,\n\t useExisting: provider.useExisting ? this._getTokenMetadata(provider.useExisting) : null,\n\t deps: compileDeps,\n\t multi: provider.multi\n\t });\n\t };\n\t CompileMetadataResolver.prototype._getQueriesMetadata = function (queries, isViewQuery, directiveType) {\n\t var _this = this;\n\t var res = [];\n\t Object.keys(queries).forEach(function (propertyName) {\n\t var query = queries[propertyName];\n\t if (query.isViewQuery === isViewQuery) {\n\t res.push(_this._getQueryMetadata(query, propertyName, directiveType));\n\t }\n\t });\n\t return res;\n\t };\n\t CompileMetadataResolver.prototype._queryVarBindings = function (selector) { return selector.split(/\\s*,\\s*/); };\n\t CompileMetadataResolver.prototype._getQueryMetadata = function (q, propertyName, typeOrFunc) {\n\t var _this = this;\n\t var selectors;\n\t if (typeof q.selector === 'string') {\n\t selectors =\n\t this._queryVarBindings(q.selector).map(function (varName) { return _this._getTokenMetadata(varName); });\n\t }\n\t else {\n\t if (!q.selector) {\n\t throw new Error(\"Can't construct a query for the property \\\"\" + propertyName + \"\\\" of \\\"\" + stringify(typeOrFunc) + \"\\\" since the query selector wasn't defined.\");\n\t }\n\t selectors = [this._getTokenMetadata(q.selector)];\n\t }\n\t return new CompileQueryMetadata({\n\t selectors: selectors,\n\t first: q.first,\n\t descendants: q.descendants, propertyName: propertyName,\n\t read: q.read ? this._getTokenMetadata(q.read) : null\n\t });\n\t };\n\t CompileMetadataResolver.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t CompileMetadataResolver.ctorParameters = [\n\t { type: NgModuleResolver, },\n\t { type: DirectiveResolver, },\n\t { type: PipeResolver, },\n\t { type: ElementSchemaRegistry, },\n\t { type: DirectiveNormalizer, },\n\t { type: ReflectorReader, },\n\t ];\n\t return CompileMetadataResolver;\n\t }());\n\t function getTransitiveExportedModules(modules, targetModules, visitedModules) {\n\t if (targetModules === void 0) { targetModules = []; }\n\t if (visitedModules === void 0) { visitedModules = new Set(); }\n\t modules.forEach(function (ngModule) {\n\t if (!visitedModules.has(ngModule.type.reference)) {\n\t visitedModules.add(ngModule.type.reference);\n\t getTransitiveExportedModules(ngModule.exportedModules, targetModules, visitedModules);\n\t // Add after recursing so imported/exported modules are before the module itself.\n\t // This is important for overwriting providers of imported modules!\n\t targetModules.push(ngModule);\n\t }\n\t });\n\t return targetModules;\n\t }\n\t function getTransitiveImportedModules(modules, targetModules, visitedModules) {\n\t if (targetModules === void 0) { targetModules = []; }\n\t if (visitedModules === void 0) { visitedModules = new Set(); }\n\t modules.forEach(function (ngModule) {\n\t if (!visitedModules.has(ngModule.type.reference)) {\n\t visitedModules.add(ngModule.type.reference);\n\t var nestedModules = ngModule.importedModules.concat(ngModule.exportedModules);\n\t getTransitiveImportedModules(nestedModules, targetModules, visitedModules);\n\t // Add after recursing so imported/exported modules are before the module itself.\n\t // This is important for overwriting providers of imported modules!\n\t targetModules.push(ngModule);\n\t }\n\t });\n\t return targetModules;\n\t }\n\t function flattenArray(tree, out) {\n\t if (out === void 0) { out = []; }\n\t if (tree) {\n\t for (var i = 0; i < tree.length; i++) {\n\t var item = _angular_core.resolveForwardRef(tree[i]);\n\t if (Array.isArray(item)) {\n\t flattenArray(item, out);\n\t }\n\t else {\n\t out.push(item);\n\t }\n\t }\n\t }\n\t return out;\n\t }\n\t function dedupeArray(array) {\n\t if (array) {\n\t return Array.from(new Set(array));\n\t }\n\t return [];\n\t }\n\t function flattenAndDedupeArray(tree) {\n\t return dedupeArray(flattenArray(tree));\n\t }\n\t function isValidType(value) {\n\t return isStaticSymbol(value) || (value instanceof _angular_core.Type);\n\t }\n\t function staticTypeModuleUrl(value) {\n\t return isStaticSymbol(value) ? value.filePath : null;\n\t }\n\t function componentModuleUrl(reflector, type, cmpMetadata) {\n\t if (isStaticSymbol(type)) {\n\t return staticTypeModuleUrl(type);\n\t }\n\t var moduleId = cmpMetadata.moduleId;\n\t if (typeof moduleId === 'string') {\n\t var scheme = getUrlScheme(moduleId);\n\t return scheme ? moduleId : \"package:\" + moduleId + MODULE_SUFFIX;\n\t }\n\t else if (moduleId !== null && moduleId !== void 0) {\n\t throw new Error((\"moduleId should be a string in \\\"\" + stringify(type) + \"\\\". See https://goo.gl/wIDDiL for more information.\\n\") +\n\t \"If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.\");\n\t }\n\t return reflector.importUri(type);\n\t }\n\t function convertToCompileValue(value, targetIdentifiers) {\n\t return visitValue(value, new _CompileValueConverter(), targetIdentifiers);\n\t }\n\t var _CompileValueConverter = (function (_super) {\n\t __extends$15(_CompileValueConverter, _super);\n\t function _CompileValueConverter() {\n\t _super.apply(this, arguments);\n\t }\n\t _CompileValueConverter.prototype.visitOther = function (value, targetIdentifiers) {\n\t var identifier;\n\t if (isStaticSymbol(value)) {\n\t identifier = new CompileIdentifierMetadata({ name: value.name, moduleUrl: value.filePath, reference: value });\n\t }\n\t else {\n\t identifier = new CompileIdentifierMetadata({ reference: value });\n\t }\n\t targetIdentifiers.push(identifier);\n\t return identifier;\n\t };\n\t return _CompileValueConverter;\n\t }(ValueTransformer));\n\t\n\t function convertValueToOutputAst(value, type) {\n\t if (type === void 0) { type = null; }\n\t return visitValue(value, new _ValueOutputAstTransformer(), type);\n\t }\n\t var _ValueOutputAstTransformer = (function () {\n\t function _ValueOutputAstTransformer() {\n\t }\n\t _ValueOutputAstTransformer.prototype.visitArray = function (arr, type) {\n\t var _this = this;\n\t return literalArr(arr.map(function (value) { return visitValue(value, _this, null); }), type);\n\t };\n\t _ValueOutputAstTransformer.prototype.visitStringMap = function (map, type) {\n\t var _this = this;\n\t var entries = [];\n\t Object.keys(map).forEach(function (key) { entries.push([key, visitValue(map[key], _this, null)]); });\n\t return literalMap(entries, type);\n\t };\n\t _ValueOutputAstTransformer.prototype.visitPrimitive = function (value, type) { return literal(value, type); };\n\t _ValueOutputAstTransformer.prototype.visitOther = function (value, type) {\n\t if (value instanceof CompileIdentifierMetadata) {\n\t return importExpr(value);\n\t }\n\t else if (value instanceof Expression) {\n\t return value;\n\t }\n\t else {\n\t throw new Error(\"Illegal state: Don't now how to compile value \" + value);\n\t }\n\t };\n\t return _ValueOutputAstTransformer;\n\t }());\n\t\n\t var ComponentFactoryDependency = (function () {\n\t function ComponentFactoryDependency(comp, placeholder) {\n\t this.comp = comp;\n\t this.placeholder = placeholder;\n\t }\n\t return ComponentFactoryDependency;\n\t }());\n\t var NgModuleCompileResult = (function () {\n\t function NgModuleCompileResult(statements, ngModuleFactoryVar, dependencies) {\n\t this.statements = statements;\n\t this.ngModuleFactoryVar = ngModuleFactoryVar;\n\t this.dependencies = dependencies;\n\t }\n\t return NgModuleCompileResult;\n\t }());\n\t var NgModuleCompiler = (function () {\n\t function NgModuleCompiler() {\n\t }\n\t NgModuleCompiler.prototype.compile = function (ngModuleMeta, extraProviders) {\n\t var sourceFileName = isPresent(ngModuleMeta.type.moduleUrl) ?\n\t \"in NgModule \" + ngModuleMeta.type.name + \" in \" + ngModuleMeta.type.moduleUrl :\n\t \"in NgModule \" + ngModuleMeta.type.name;\n\t var sourceFile = new ParseSourceFile('', sourceFileName);\n\t var sourceSpan = new ParseSourceSpan(new ParseLocation(sourceFile, null, null, null), new ParseLocation(sourceFile, null, null, null));\n\t var deps = [];\n\t var bootstrapComponentFactories = [];\n\t var entryComponentFactories = ngModuleMeta.transitiveModule.entryComponents.map(function (entryComponent) {\n\t var id = new CompileIdentifierMetadata({ name: entryComponent.name });\n\t if (ngModuleMeta.bootstrapComponents.indexOf(entryComponent) > -1) {\n\t bootstrapComponentFactories.push(id);\n\t }\n\t deps.push(new ComponentFactoryDependency(entryComponent, id));\n\t return id;\n\t });\n\t var builder = new _InjectorBuilder(ngModuleMeta, entryComponentFactories, bootstrapComponentFactories, sourceSpan);\n\t var providerParser = new NgModuleProviderAnalyzer(ngModuleMeta, extraProviders, sourceSpan);\n\t providerParser.parse().forEach(function (provider) { return builder.addProvider(provider); });\n\t var injectorClass = builder.build();\n\t var ngModuleFactoryVar = ngModuleMeta.type.name + \"NgFactory\";\n\t var ngModuleFactoryStmt = variable(ngModuleFactoryVar)\n\t .set(importExpr(resolveIdentifier(Identifiers.NgModuleFactory))\n\t .instantiate([variable(injectorClass.name), importExpr(ngModuleMeta.type)], importType(resolveIdentifier(Identifiers.NgModuleFactory), [importType(ngModuleMeta.type)], [TypeModifier.Const])))\n\t .toDeclStmt(null, [StmtModifier.Final]);\n\t var stmts = [injectorClass, ngModuleFactoryStmt];\n\t if (ngModuleMeta.id) {\n\t var registerFactoryStmt = importExpr(resolveIdentifier(Identifiers.RegisterModuleFactoryFn))\n\t .callFn([literal(ngModuleMeta.id), variable(ngModuleFactoryVar)])\n\t .toStmt();\n\t stmts.push(registerFactoryStmt);\n\t }\n\t return new NgModuleCompileResult(stmts, ngModuleFactoryVar, deps);\n\t };\n\t NgModuleCompiler.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t NgModuleCompiler.ctorParameters = [];\n\t return NgModuleCompiler;\n\t }());\n\t var _InjectorBuilder = (function () {\n\t function _InjectorBuilder(_ngModuleMeta, _entryComponentFactories, _bootstrapComponentFactories, _sourceSpan) {\n\t this._ngModuleMeta = _ngModuleMeta;\n\t this._entryComponentFactories = _entryComponentFactories;\n\t this._bootstrapComponentFactories = _bootstrapComponentFactories;\n\t this._sourceSpan = _sourceSpan;\n\t this.fields = [];\n\t this.getters = [];\n\t this.methods = [];\n\t this.ctorStmts = [];\n\t this._tokens = [];\n\t this._instances = new Map();\n\t this._createStmts = [];\n\t this._destroyStmts = [];\n\t }\n\t _InjectorBuilder.prototype.addProvider = function (resolvedProvider) {\n\t var _this = this;\n\t var providerValueExpressions = resolvedProvider.providers.map(function (provider) { return _this._getProviderValue(provider); });\n\t var propName = \"_\" + resolvedProvider.token.name + \"_\" + this._instances.size;\n\t var instance = this._createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager);\n\t if (resolvedProvider.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n\t this._destroyStmts.push(instance.callMethod('ngOnDestroy', []).toStmt());\n\t }\n\t this._tokens.push(resolvedProvider.token);\n\t this._instances.set(resolvedProvider.token.reference, instance);\n\t };\n\t _InjectorBuilder.prototype.build = function () {\n\t var _this = this;\n\t var getMethodStmts = this._tokens.map(function (token) {\n\t var providerExpr = _this._instances.get(token.reference);\n\t return new IfStmt(InjectMethodVars.token.identical(createDiTokenExpression(token)), [new ReturnStatement(providerExpr)]);\n\t });\n\t var methods = [\n\t new ClassMethod('createInternal', [], this._createStmts.concat(new ReturnStatement(this._instances.get(this._ngModuleMeta.type.reference))), importType(this._ngModuleMeta.type)),\n\t new ClassMethod('getInternal', [\n\t new FnParam(InjectMethodVars.token.name, DYNAMIC_TYPE),\n\t new FnParam(InjectMethodVars.notFoundResult.name, DYNAMIC_TYPE)\n\t ], getMethodStmts.concat([new ReturnStatement(InjectMethodVars.notFoundResult)]), DYNAMIC_TYPE),\n\t new ClassMethod('destroyInternal', [], this._destroyStmts),\n\t ];\n\t var parentArgs = [\n\t variable(InjectorProps.parent.name),\n\t literalArr(this._entryComponentFactories.map(function (componentFactory) { return importExpr(componentFactory); })),\n\t literalArr(this._bootstrapComponentFactories.map(function (componentFactory) { return importExpr(componentFactory); }))\n\t ];\n\t var injClassName = this._ngModuleMeta.type.name + \"Injector\";\n\t return createClassStmt({\n\t name: injClassName,\n\t ctorParams: [new FnParam(InjectorProps.parent.name, importType(resolveIdentifier(Identifiers.Injector)))],\n\t parent: importExpr(resolveIdentifier(Identifiers.NgModuleInjector), [importType(this._ngModuleMeta.type)]),\n\t parentArgs: parentArgs,\n\t builders: [{ methods: methods }, this]\n\t });\n\t };\n\t _InjectorBuilder.prototype._getProviderValue = function (provider) {\n\t var _this = this;\n\t var result;\n\t if (isPresent(provider.useExisting)) {\n\t result = this._getDependency(new CompileDiDependencyMetadata({ token: provider.useExisting }));\n\t }\n\t else if (isPresent(provider.useFactory)) {\n\t var deps = provider.deps || provider.useFactory.diDeps;\n\t var depsExpr = deps.map(function (dep) { return _this._getDependency(dep); });\n\t result = importExpr(provider.useFactory).callFn(depsExpr);\n\t }\n\t else if (isPresent(provider.useClass)) {\n\t var deps = provider.deps || provider.useClass.diDeps;\n\t var depsExpr = deps.map(function (dep) { return _this._getDependency(dep); });\n\t result =\n\t importExpr(provider.useClass).instantiate(depsExpr, importType(provider.useClass));\n\t }\n\t else {\n\t result = convertValueToOutputAst(provider.useValue);\n\t }\n\t return result;\n\t };\n\t _InjectorBuilder.prototype._createProviderProperty = function (propName, provider, providerValueExpressions, isMulti, isEager) {\n\t var resolvedProviderValueExpr;\n\t var type;\n\t if (isMulti) {\n\t resolvedProviderValueExpr = literalArr(providerValueExpressions);\n\t type = new ArrayType(DYNAMIC_TYPE);\n\t }\n\t else {\n\t resolvedProviderValueExpr = providerValueExpressions[0];\n\t type = providerValueExpressions[0].type;\n\t }\n\t if (!type) {\n\t type = DYNAMIC_TYPE;\n\t }\n\t if (isEager) {\n\t this.fields.push(new ClassField(propName, type));\n\t this._createStmts.push(THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\n\t }\n\t else {\n\t var internalField = \"_\" + propName;\n\t this.fields.push(new ClassField(internalField, type));\n\t // Note: Equals is important for JS so that it also checks the undefined case!\n\t var getterStmts = [\n\t new IfStmt(THIS_EXPR.prop(internalField).isBlank(), [THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]),\n\t new ReturnStatement(THIS_EXPR.prop(internalField))\n\t ];\n\t this.getters.push(new ClassGetter(propName, getterStmts, type));\n\t }\n\t return THIS_EXPR.prop(propName);\n\t };\n\t _InjectorBuilder.prototype._getDependency = function (dep) {\n\t var result = null;\n\t if (dep.isValue) {\n\t result = literal(dep.value);\n\t }\n\t if (!dep.isSkipSelf) {\n\t if (dep.token &&\n\t (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference ||\n\t dep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ComponentFactoryResolver).reference)) {\n\t result = THIS_EXPR;\n\t }\n\t if (!result) {\n\t result = this._instances.get(dep.token.reference);\n\t }\n\t }\n\t if (!result) {\n\t var args = [createDiTokenExpression(dep.token)];\n\t if (dep.isOptional) {\n\t args.push(NULL_EXPR);\n\t }\n\t result = InjectorProps.parent.callMethod('get', args);\n\t }\n\t return result;\n\t };\n\t return _InjectorBuilder;\n\t }());\n\t var InjectorProps = (function () {\n\t function InjectorProps() {\n\t }\n\t InjectorProps.parent = THIS_EXPR.prop('parent');\n\t return InjectorProps;\n\t }());\n\t var InjectMethodVars = (function () {\n\t function InjectMethodVars() {\n\t }\n\t InjectMethodVars.token = variable('token');\n\t InjectMethodVars.notFoundResult = variable('notFoundResult');\n\t return InjectMethodVars;\n\t }());\n\t\n\t var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\n\t var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;\n\t var CATCH_ERROR_VAR$1 = variable('error');\n\t var CATCH_STACK_VAR$1 = variable('stack');\n\t var _EmittedLine = (function () {\n\t function _EmittedLine(indent) {\n\t this.indent = indent;\n\t this.parts = [];\n\t }\n\t return _EmittedLine;\n\t }());\n\t var EmitterVisitorContext = (function () {\n\t function EmitterVisitorContext(_exportedVars, _indent) {\n\t this._exportedVars = _exportedVars;\n\t this._indent = _indent;\n\t this._classes = [];\n\t this._lines = [new _EmittedLine(_indent)];\n\t }\n\t EmitterVisitorContext.createRoot = function (exportedVars) {\n\t return new EmitterVisitorContext(exportedVars, 0);\n\t };\n\t Object.defineProperty(EmitterVisitorContext.prototype, \"_currentLine\", {\n\t get: function () { return this._lines[this._lines.length - 1]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t EmitterVisitorContext.prototype.isExportedVar = function (varName) { return this._exportedVars.indexOf(varName) !== -1; };\n\t EmitterVisitorContext.prototype.println = function (lastPart) {\n\t if (lastPart === void 0) { lastPart = ''; }\n\t this.print(lastPart, true);\n\t };\n\t EmitterVisitorContext.prototype.lineIsEmpty = function () { return this._currentLine.parts.length === 0; };\n\t EmitterVisitorContext.prototype.print = function (part, newLine) {\n\t if (newLine === void 0) { newLine = false; }\n\t if (part.length > 0) {\n\t this._currentLine.parts.push(part);\n\t }\n\t if (newLine) {\n\t this._lines.push(new _EmittedLine(this._indent));\n\t }\n\t };\n\t EmitterVisitorContext.prototype.removeEmptyLastLine = function () {\n\t if (this.lineIsEmpty()) {\n\t this._lines.pop();\n\t }\n\t };\n\t EmitterVisitorContext.prototype.incIndent = function () {\n\t this._indent++;\n\t this._currentLine.indent = this._indent;\n\t };\n\t EmitterVisitorContext.prototype.decIndent = function () {\n\t this._indent--;\n\t this._currentLine.indent = this._indent;\n\t };\n\t EmitterVisitorContext.prototype.pushClass = function (clazz) { this._classes.push(clazz); };\n\t EmitterVisitorContext.prototype.popClass = function () { return this._classes.pop(); };\n\t Object.defineProperty(EmitterVisitorContext.prototype, \"currentClass\", {\n\t get: function () {\n\t return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t EmitterVisitorContext.prototype.toSource = function () {\n\t var lines = this._lines;\n\t if (lines[lines.length - 1].parts.length === 0) {\n\t lines = lines.slice(0, lines.length - 1);\n\t }\n\t return lines\n\t .map(function (line) {\n\t if (line.parts.length > 0) {\n\t return _createIndent(line.indent) + line.parts.join('');\n\t }\n\t else {\n\t return '';\n\t }\n\t })\n\t .join('\\n');\n\t };\n\t return EmitterVisitorContext;\n\t }());\n\t var AbstractEmitterVisitor = (function () {\n\t function AbstractEmitterVisitor(_escapeDollarInStrings) {\n\t this._escapeDollarInStrings = _escapeDollarInStrings;\n\t }\n\t AbstractEmitterVisitor.prototype.visitExpressionStmt = function (stmt, ctx) {\n\t stmt.expr.visitExpression(this, ctx);\n\t ctx.println(';');\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitReturnStmt = function (stmt, ctx) {\n\t ctx.print(\"return \");\n\t stmt.value.visitExpression(this, ctx);\n\t ctx.println(';');\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitIfStmt = function (stmt, ctx) {\n\t ctx.print(\"if (\");\n\t stmt.condition.visitExpression(this, ctx);\n\t ctx.print(\") {\");\n\t var hasElseCase = isPresent(stmt.falseCase) && stmt.falseCase.length > 0;\n\t if (stmt.trueCase.length <= 1 && !hasElseCase) {\n\t ctx.print(\" \");\n\t this.visitAllStatements(stmt.trueCase, ctx);\n\t ctx.removeEmptyLastLine();\n\t ctx.print(\" \");\n\t }\n\t else {\n\t ctx.println();\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.trueCase, ctx);\n\t ctx.decIndent();\n\t if (hasElseCase) {\n\t ctx.println(\"} else {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.falseCase, ctx);\n\t ctx.decIndent();\n\t }\n\t }\n\t ctx.println(\"}\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitThrowStmt = function (stmt, ctx) {\n\t ctx.print(\"throw \");\n\t stmt.error.visitExpression(this, ctx);\n\t ctx.println(\";\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitCommentStmt = function (stmt, ctx) {\n\t var lines = stmt.comment.split('\\n');\n\t lines.forEach(function (line) { ctx.println(\"// \" + line); });\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitWriteVarExpr = function (expr, ctx) {\n\t var lineWasEmpty = ctx.lineIsEmpty();\n\t if (!lineWasEmpty) {\n\t ctx.print('(');\n\t }\n\t ctx.print(expr.name + \" = \");\n\t expr.value.visitExpression(this, ctx);\n\t if (!lineWasEmpty) {\n\t ctx.print(')');\n\t }\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitWriteKeyExpr = function (expr, ctx) {\n\t var lineWasEmpty = ctx.lineIsEmpty();\n\t if (!lineWasEmpty) {\n\t ctx.print('(');\n\t }\n\t expr.receiver.visitExpression(this, ctx);\n\t ctx.print(\"[\");\n\t expr.index.visitExpression(this, ctx);\n\t ctx.print(\"] = \");\n\t expr.value.visitExpression(this, ctx);\n\t if (!lineWasEmpty) {\n\t ctx.print(')');\n\t }\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitWritePropExpr = function (expr, ctx) {\n\t var lineWasEmpty = ctx.lineIsEmpty();\n\t if (!lineWasEmpty) {\n\t ctx.print('(');\n\t }\n\t expr.receiver.visitExpression(this, ctx);\n\t ctx.print(\".\" + expr.name + \" = \");\n\t expr.value.visitExpression(this, ctx);\n\t if (!lineWasEmpty) {\n\t ctx.print(')');\n\t }\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitInvokeMethodExpr = function (expr, ctx) {\n\t expr.receiver.visitExpression(this, ctx);\n\t var name = expr.name;\n\t if (isPresent(expr.builtin)) {\n\t name = this.getBuiltinMethodName(expr.builtin);\n\t if (isBlank(name)) {\n\t // some builtins just mean to skip the call.\n\t return null;\n\t }\n\t }\n\t ctx.print(\".\" + name + \"(\");\n\t this.visitAllExpressions(expr.args, ctx, \",\");\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\n\t expr.fn.visitExpression(this, ctx);\n\t ctx.print(\"(\");\n\t this.visitAllExpressions(expr.args, ctx, ',');\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\n\t var varName = ast.name;\n\t if (isPresent(ast.builtin)) {\n\t switch (ast.builtin) {\n\t case BuiltinVar.Super:\n\t varName = 'super';\n\t break;\n\t case BuiltinVar.This:\n\t varName = 'this';\n\t break;\n\t case BuiltinVar.CatchError:\n\t varName = CATCH_ERROR_VAR$1.name;\n\t break;\n\t case BuiltinVar.CatchStack:\n\t varName = CATCH_STACK_VAR$1.name;\n\t break;\n\t default:\n\t throw new Error(\"Unknown builtin variable \" + ast.builtin);\n\t }\n\t }\n\t ctx.print(varName);\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitInstantiateExpr = function (ast, ctx) {\n\t ctx.print(\"new \");\n\t ast.classExpr.visitExpression(this, ctx);\n\t ctx.print(\"(\");\n\t this.visitAllExpressions(ast.args, ctx, ',');\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitLiteralExpr = function (ast, ctx) {\n\t var value = ast.value;\n\t if (typeof value === 'string') {\n\t ctx.print(escapeIdentifier(value, this._escapeDollarInStrings));\n\t }\n\t else {\n\t ctx.print(\"\" + value);\n\t }\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitConditionalExpr = function (ast, ctx) {\n\t ctx.print(\"(\");\n\t ast.condition.visitExpression(this, ctx);\n\t ctx.print('? ');\n\t ast.trueCase.visitExpression(this, ctx);\n\t ctx.print(': ');\n\t ast.falseCase.visitExpression(this, ctx);\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitNotExpr = function (ast, ctx) {\n\t ctx.print('!');\n\t ast.condition.visitExpression(this, ctx);\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\n\t var opStr;\n\t switch (ast.operator) {\n\t case BinaryOperator.Equals:\n\t opStr = '==';\n\t break;\n\t case BinaryOperator.Identical:\n\t opStr = '===';\n\t break;\n\t case BinaryOperator.NotEquals:\n\t opStr = '!=';\n\t break;\n\t case BinaryOperator.NotIdentical:\n\t opStr = '!==';\n\t break;\n\t case BinaryOperator.And:\n\t opStr = '&&';\n\t break;\n\t case BinaryOperator.Or:\n\t opStr = '||';\n\t break;\n\t case BinaryOperator.Plus:\n\t opStr = '+';\n\t break;\n\t case BinaryOperator.Minus:\n\t opStr = '-';\n\t break;\n\t case BinaryOperator.Divide:\n\t opStr = '/';\n\t break;\n\t case BinaryOperator.Multiply:\n\t opStr = '*';\n\t break;\n\t case BinaryOperator.Modulo:\n\t opStr = '%';\n\t break;\n\t case BinaryOperator.Lower:\n\t opStr = '<';\n\t break;\n\t case BinaryOperator.LowerEquals:\n\t opStr = '<=';\n\t break;\n\t case BinaryOperator.Bigger:\n\t opStr = '>';\n\t break;\n\t case BinaryOperator.BiggerEquals:\n\t opStr = '>=';\n\t break;\n\t default:\n\t throw new Error(\"Unknown operator \" + ast.operator);\n\t }\n\t ctx.print(\"(\");\n\t ast.lhs.visitExpression(this, ctx);\n\t ctx.print(\" \" + opStr + \" \");\n\t ast.rhs.visitExpression(this, ctx);\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitReadPropExpr = function (ast, ctx) {\n\t ast.receiver.visitExpression(this, ctx);\n\t ctx.print(\".\");\n\t ctx.print(ast.name);\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitReadKeyExpr = function (ast, ctx) {\n\t ast.receiver.visitExpression(this, ctx);\n\t ctx.print(\"[\");\n\t ast.index.visitExpression(this, ctx);\n\t ctx.print(\"]\");\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n\t var useNewLine = ast.entries.length > 1;\n\t ctx.print(\"[\", useNewLine);\n\t ctx.incIndent();\n\t this.visitAllExpressions(ast.entries, ctx, ',', useNewLine);\n\t ctx.decIndent();\n\t ctx.print(\"]\", useNewLine);\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitLiteralMapExpr = function (ast, ctx) {\n\t var _this = this;\n\t var useNewLine = ast.entries.length > 1;\n\t ctx.print(\"{\", useNewLine);\n\t ctx.incIndent();\n\t this.visitAllObjects(function (entry) {\n\t ctx.print(escapeIdentifier(entry[0], _this._escapeDollarInStrings, false) + \": \");\n\t entry[1].visitExpression(_this, ctx);\n\t }, ast.entries, ctx, ',', useNewLine);\n\t ctx.decIndent();\n\t ctx.print(\"}\", useNewLine);\n\t return null;\n\t };\n\t AbstractEmitterVisitor.prototype.visitAllExpressions = function (expressions, ctx, separator, newLine) {\n\t var _this = this;\n\t if (newLine === void 0) { newLine = false; }\n\t this.visitAllObjects(function (expr) { return expr.visitExpression(_this, ctx); }, expressions, ctx, separator, newLine);\n\t };\n\t AbstractEmitterVisitor.prototype.visitAllObjects = function (handler, expressions, ctx, separator, newLine) {\n\t if (newLine === void 0) { newLine = false; }\n\t for (var i = 0; i < expressions.length; i++) {\n\t if (i > 0) {\n\t ctx.print(separator, newLine);\n\t }\n\t handler(expressions[i]);\n\t }\n\t if (newLine) {\n\t ctx.println();\n\t }\n\t };\n\t AbstractEmitterVisitor.prototype.visitAllStatements = function (statements, ctx) {\n\t var _this = this;\n\t statements.forEach(function (stmt) { return stmt.visitStatement(_this, ctx); });\n\t };\n\t return AbstractEmitterVisitor;\n\t }());\n\t function escapeIdentifier(input, escapeDollar, alwaysQuote) {\n\t if (alwaysQuote === void 0) { alwaysQuote = true; }\n\t if (isBlank(input)) {\n\t return null;\n\t }\n\t var body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, function () {\n\t var match = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t match[_i - 0] = arguments[_i];\n\t }\n\t if (match[0] == '$') {\n\t return escapeDollar ? '\\\\$' : '$';\n\t }\n\t else if (match[0] == '\\n') {\n\t return '\\\\n';\n\t }\n\t else if (match[0] == '\\r') {\n\t return '\\\\r';\n\t }\n\t else {\n\t return \"\\\\\" + match[0];\n\t }\n\t });\n\t var requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);\n\t return requiresQuotes ? \"'\" + body + \"'\" : body;\n\t }\n\t function _createIndent(count) {\n\t var res = '';\n\t for (var i = 0; i < count; i++) {\n\t res += ' ';\n\t }\n\t return res;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$16 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _debugModuleUrl = '/debug/lib';\n\t function debugOutputAstAsTypeScript(ast) {\n\t var converter = new _TsEmitterVisitor(_debugModuleUrl);\n\t var ctx = EmitterVisitorContext.createRoot([]);\n\t var asts = Array.isArray(ast) ? ast : [ast];\n\t asts.forEach(function (ast) {\n\t if (ast instanceof Statement) {\n\t ast.visitStatement(converter, ctx);\n\t }\n\t else if (ast instanceof Expression) {\n\t ast.visitExpression(converter, ctx);\n\t }\n\t else if (ast instanceof Type$1) {\n\t ast.visitType(converter, ctx);\n\t }\n\t else {\n\t throw new Error(\"Don't know how to print debug info for \" + ast);\n\t }\n\t });\n\t return ctx.toSource();\n\t }\n\t var TypeScriptEmitter = (function () {\n\t function TypeScriptEmitter(_importGenerator) {\n\t this._importGenerator = _importGenerator;\n\t }\n\t TypeScriptEmitter.prototype.emitStatements = function (moduleUrl, stmts, exportedVars) {\n\t var _this = this;\n\t var converter = new _TsEmitterVisitor(moduleUrl);\n\t var ctx = EmitterVisitorContext.createRoot(exportedVars);\n\t converter.visitAllStatements(stmts, ctx);\n\t var srcParts = [];\n\t converter.importsWithPrefixes.forEach(function (prefix, importedModuleUrl) {\n\t // Note: can't write the real word for import as it screws up system.js auto detection...\n\t srcParts.push(\"imp\" +\n\t (\"ort * as \" + prefix + \" from '\" + _this._importGenerator.fileNameToModuleName(importedModuleUrl, moduleUrl) + \"';\"));\n\t });\n\t srcParts.push(ctx.toSource());\n\t return srcParts.join('\\n');\n\t };\n\t return TypeScriptEmitter;\n\t }());\n\t var _TsEmitterVisitor = (function (_super) {\n\t __extends$16(_TsEmitterVisitor, _super);\n\t function _TsEmitterVisitor(_moduleUrl) {\n\t _super.call(this, false);\n\t this._moduleUrl = _moduleUrl;\n\t this.importsWithPrefixes = new Map();\n\t }\n\t _TsEmitterVisitor.prototype.visitType = function (t, ctx, defaultType) {\n\t if (defaultType === void 0) { defaultType = 'any'; }\n\t if (isPresent(t)) {\n\t t.visitType(this, ctx);\n\t }\n\t else {\n\t ctx.print(defaultType);\n\t }\n\t };\n\t _TsEmitterVisitor.prototype.visitLiteralExpr = function (ast, ctx) {\n\t var value = ast.value;\n\t if (isBlank(value) && ast.type != NULL_TYPE) {\n\t ctx.print(\"(\" + value + \" as any)\");\n\t return null;\n\t }\n\t return _super.prototype.visitLiteralExpr.call(this, ast, ctx);\n\t };\n\t // Temporary workaround to support strictNullCheck enabled consumers of ngc emit.\n\t // In SNC mode, [] have the type never[], so we cast here to any[].\n\t // TODO: narrow the cast to a more explicit type, or use a pattern that does not\n\t // start with [].concat. see https://github.com/angular/angular/pull/11846\n\t _TsEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n\t if (ast.entries.length === 0) {\n\t ctx.print('(');\n\t }\n\t var result = _super.prototype.visitLiteralArrayExpr.call(this, ast, ctx);\n\t if (ast.entries.length === 0) {\n\t ctx.print(' as any[])');\n\t }\n\t return result;\n\t };\n\t _TsEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\n\t this._visitIdentifier(ast.value, ast.typeParams, ctx);\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n\t if (ctx.isExportedVar(stmt.name)) {\n\t ctx.print(\"export \");\n\t }\n\t if (stmt.hasModifier(StmtModifier.Final)) {\n\t ctx.print(\"const\");\n\t }\n\t else {\n\t ctx.print(\"var\");\n\t }\n\t ctx.print(\" \" + stmt.name + \":\");\n\t this.visitType(stmt.type, ctx);\n\t ctx.print(\" = \");\n\t stmt.value.visitExpression(this, ctx);\n\t ctx.println(\";\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\n\t ctx.print(\"(<\");\n\t ast.type.visitType(this, ctx);\n\t ctx.print(\">\");\n\t ast.value.visitExpression(this, ctx);\n\t ctx.print(\")\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n\t var _this = this;\n\t ctx.pushClass(stmt);\n\t if (ctx.isExportedVar(stmt.name)) {\n\t ctx.print(\"export \");\n\t }\n\t ctx.print(\"class \" + stmt.name);\n\t if (isPresent(stmt.parent)) {\n\t ctx.print(\" extends \");\n\t stmt.parent.visitExpression(this, ctx);\n\t }\n\t ctx.println(\" {\");\n\t ctx.incIndent();\n\t stmt.fields.forEach(function (field) { return _this._visitClassField(field, ctx); });\n\t if (isPresent(stmt.constructorMethod)) {\n\t this._visitClassConstructor(stmt, ctx);\n\t }\n\t stmt.getters.forEach(function (getter) { return _this._visitClassGetter(getter, ctx); });\n\t stmt.methods.forEach(function (method) { return _this._visitClassMethod(method, ctx); });\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t ctx.popClass();\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype._visitClassField = function (field, ctx) {\n\t if (field.hasModifier(StmtModifier.Private)) {\n\t // comment out as a workaround for #10967\n\t ctx.print(\"/*private*/ \");\n\t }\n\t ctx.print(field.name);\n\t ctx.print(':');\n\t this.visitType(field.type, ctx);\n\t ctx.println(\";\");\n\t };\n\t _TsEmitterVisitor.prototype._visitClassGetter = function (getter, ctx) {\n\t if (getter.hasModifier(StmtModifier.Private)) {\n\t ctx.print(\"private \");\n\t }\n\t ctx.print(\"get \" + getter.name + \"()\");\n\t ctx.print(':');\n\t this.visitType(getter.type, ctx);\n\t ctx.println(\" {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(getter.body, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t };\n\t _TsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\n\t ctx.print(\"constructor(\");\n\t this._visitParams(stmt.constructorMethod.params, ctx);\n\t ctx.println(\") {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.constructorMethod.body, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t };\n\t _TsEmitterVisitor.prototype._visitClassMethod = function (method, ctx) {\n\t if (method.hasModifier(StmtModifier.Private)) {\n\t ctx.print(\"private \");\n\t }\n\t ctx.print(method.name + \"(\");\n\t this._visitParams(method.params, ctx);\n\t ctx.print(\"):\");\n\t this.visitType(method.type, ctx, 'void');\n\t ctx.println(\" {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(method.body, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t };\n\t _TsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\n\t ctx.print(\"(\");\n\t this._visitParams(ast.params, ctx);\n\t ctx.print(\"):\");\n\t this.visitType(ast.type, ctx, 'void');\n\t ctx.println(\" => {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(ast.statements, ctx);\n\t ctx.decIndent();\n\t ctx.print(\"}\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n\t if (ctx.isExportedVar(stmt.name)) {\n\t ctx.print(\"export \");\n\t }\n\t ctx.print(\"function \" + stmt.name + \"(\");\n\t this._visitParams(stmt.params, ctx);\n\t ctx.print(\"):\");\n\t this.visitType(stmt.type, ctx, 'void');\n\t ctx.println(\" {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.statements, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\n\t ctx.println(\"try {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.bodyStmts, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"} catch (\" + CATCH_ERROR_VAR$1.name + \") {\");\n\t ctx.incIndent();\n\t var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [\n\t StmtModifier.Final\n\t ])].concat(stmt.catchStmts);\n\t this.visitAllStatements(catchStmts, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitBuiltintType = function (type, ctx) {\n\t var typeStr;\n\t switch (type.name) {\n\t case BuiltinTypeName.Bool:\n\t typeStr = 'boolean';\n\t break;\n\t case BuiltinTypeName.Dynamic:\n\t typeStr = 'any';\n\t break;\n\t case BuiltinTypeName.Function:\n\t typeStr = 'Function';\n\t break;\n\t case BuiltinTypeName.Number:\n\t typeStr = 'number';\n\t break;\n\t case BuiltinTypeName.Int:\n\t typeStr = 'number';\n\t break;\n\t case BuiltinTypeName.String:\n\t typeStr = 'string';\n\t break;\n\t default:\n\t throw new Error(\"Unsupported builtin type \" + type.name);\n\t }\n\t ctx.print(typeStr);\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitExternalType = function (ast, ctx) {\n\t this._visitIdentifier(ast.value, ast.typeParams, ctx);\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitArrayType = function (type, ctx) {\n\t this.visitType(type.of, ctx);\n\t ctx.print(\"[]\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.visitMapType = function (type, ctx) {\n\t ctx.print(\"{[key: string]:\");\n\t this.visitType(type.valueType, ctx);\n\t ctx.print(\"}\");\n\t return null;\n\t };\n\t _TsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\n\t var name;\n\t switch (method) {\n\t case BuiltinMethod.ConcatArray:\n\t name = 'concat';\n\t break;\n\t case BuiltinMethod.SubscribeObservable:\n\t name = 'subscribe';\n\t break;\n\t case BuiltinMethod.Bind:\n\t name = 'bind';\n\t break;\n\t default:\n\t throw new Error(\"Unknown builtin method: \" + method);\n\t }\n\t return name;\n\t };\n\t _TsEmitterVisitor.prototype._visitParams = function (params, ctx) {\n\t var _this = this;\n\t this.visitAllObjects(function (param) {\n\t ctx.print(param.name);\n\t ctx.print(':');\n\t _this.visitType(param.type, ctx);\n\t }, params, ctx, ',');\n\t };\n\t _TsEmitterVisitor.prototype._visitIdentifier = function (value, typeParams, ctx) {\n\t var _this = this;\n\t if (isBlank(value.name)) {\n\t throw new Error(\"Internal error: unknown identifier \" + value);\n\t }\n\t if (isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\n\t var prefix = this.importsWithPrefixes.get(value.moduleUrl);\n\t if (isBlank(prefix)) {\n\t prefix = \"import\" + this.importsWithPrefixes.size;\n\t this.importsWithPrefixes.set(value.moduleUrl, prefix);\n\t }\n\t ctx.print(prefix + \".\");\n\t }\n\t if (value.reference && value.reference.members) {\n\t ctx.print(value.reference.name);\n\t ctx.print('.');\n\t ctx.print(value.reference.members.join('.'));\n\t }\n\t else {\n\t ctx.print(value.name);\n\t }\n\t if (isPresent(typeParams) && typeParams.length > 0) {\n\t ctx.print(\"<\");\n\t this.visitAllObjects(function (type) { return type.visitType(_this, ctx); }, typeParams, ctx, ',');\n\t ctx.print(\">\");\n\t }\n\t };\n\t return _TsEmitterVisitor;\n\t }(AbstractEmitterVisitor));\n\t\n\t // =================================================================================================\n\t // =================================================================================================\n\t // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========\n\t // =================================================================================================\n\t // =================================================================================================\n\t //\n\t // DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!\n\t // Reach out to mprobst for details.\n\t //\n\t // =================================================================================================\n\t /** Map from tagName|propertyName SecurityContext. Properties applying to all tags use '*'. */\n\t var SECURITY_SCHEMA = {};\n\t function registerContext(ctx, specs) {\n\t for (var _i = 0, specs_1 = specs; _i < specs_1.length; _i++) {\n\t var spec = specs_1[_i];\n\t SECURITY_SCHEMA[spec.toLowerCase()] = ctx;\n\t }\n\t }\n\t // Case is insignificant below, all element and attribute names are lower-cased for lookup.\n\t registerContext(_angular_core.SecurityContext.HTML, [\n\t 'iframe|srcdoc',\n\t '*|innerHTML',\n\t '*|outerHTML',\n\t ]);\n\t registerContext(_angular_core.SecurityContext.STYLE, ['*|style']);\n\t // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.\n\t registerContext(_angular_core.SecurityContext.URL, [\n\t '*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href',\n\t 'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action',\n\t 'img|src', 'img|srcset', 'input|src', 'ins|cite', 'q|cite',\n\t 'source|src', 'source|srcset', 'track|src', 'video|poster', 'video|src',\n\t ]);\n\t registerContext(_angular_core.SecurityContext.RESOURCE_URL, [\n\t 'applet|code',\n\t 'applet|codebase',\n\t 'base|href',\n\t 'embed|src',\n\t 'frame|src',\n\t 'head|profile',\n\t 'html|manifest',\n\t 'iframe|src',\n\t 'link|href',\n\t 'media|src',\n\t 'object|codebase',\n\t 'object|data',\n\t 'script|src',\n\t ]);\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$17 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var BOOLEAN = 'boolean';\n\t var NUMBER = 'number';\n\t var STRING = 'string';\n\t var OBJECT = 'object';\n\t /**\n\t * This array represents the DOM schema. It encodes inheritance, properties, and events.\n\t *\n\t * ## Overview\n\t *\n\t * Each line represents one kind of element. The `element_inheritance` and properties are joined\n\t * using `element_inheritance|properties` syntax.\n\t *\n\t * ## Element Inheritance\n\t *\n\t * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.\n\t * Here the individual elements are separated by `,` (commas). Every element in the list\n\t * has identical properties.\n\t *\n\t * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is\n\t * specified then `\"\"` (blank) element is assumed.\n\t *\n\t * NOTE: The blank element inherits from root `[Element]` element, the super element of all\n\t * elements.\n\t *\n\t * NOTE an element prefix such as `:svg:` has no special meaning to the schema.\n\t *\n\t * ## Properties\n\t *\n\t * Each element has a set of properties separated by `,` (commas). Each property can be prefixed\n\t * by a special character designating its type:\n\t *\n\t * - (no prefix): property is a string.\n\t * - `*`: property represents an event.\n\t * - `!`: property is a boolean.\n\t * - `#`: property is a number.\n\t * - `%`: property is an object.\n\t *\n\t * ## Query\n\t *\n\t * The class creates an internal squas representation which allows to easily answer the query of\n\t * if a given property exist on a given element.\n\t *\n\t * NOTE: We don't yet support querying for types or events.\n\t * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,\n\t * see dom_element_schema_registry_spec.ts\n\t */\n\t // =================================================================================================\n\t // =================================================================================================\n\t // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========\n\t // =================================================================================================\n\t // =================================================================================================\n\t //\n\t // DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!\n\t //\n\t // Newly added properties must be security reviewed and assigned an appropriate SecurityContext in\n\t // dom_security_schema.ts. Reach out to mprobst & rjamet for details.\n\t //\n\t // =================================================================================================\n\t var SCHEMA = [\n\t '[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop',\n\t '[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n\t 'abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n\t 'media^[HTMLElement]|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,%srcObject,#volume',\n\t ':svg:^[HTMLElement]|*abort,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex',\n\t ':svg:graphics^:svg:|',\n\t ':svg:animation^:svg:|*begin,*end,*repeat',\n\t ':svg:geometry^:svg:|',\n\t ':svg:componentTransferFunction^:svg:|',\n\t ':svg:gradient^:svg:|',\n\t ':svg:textContent^:svg:graphics|',\n\t ':svg:textPositioning^:svg:textContent|',\n\t 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username',\n\t 'area^[HTMLElement]|alt,coords,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,search,shape,target,username',\n\t 'audio^media|',\n\t 'br^[HTMLElement]|clear',\n\t 'base^[HTMLElement]|href,target',\n\t 'body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink',\n\t 'button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value',\n\t 'canvas^[HTMLElement]|#height,#width',\n\t 'content^[HTMLElement]|select',\n\t 'dl^[HTMLElement]|!compact',\n\t 'datalist^[HTMLElement]|',\n\t 'details^[HTMLElement]|!open',\n\t 'dialog^[HTMLElement]|!open,returnValue',\n\t 'dir^[HTMLElement]|!compact',\n\t 'div^[HTMLElement]|align',\n\t 'embed^[HTMLElement]|align,height,name,src,type,width',\n\t 'fieldset^[HTMLElement]|!disabled,name',\n\t 'font^[HTMLElement]|color,face,size',\n\t 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target',\n\t 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src',\n\t 'frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows',\n\t 'hr^[HTMLElement]|align,color,!noShade,size,width',\n\t 'head^[HTMLElement]|',\n\t 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align',\n\t 'html^[HTMLElement]|version',\n\t 'iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width',\n\t 'img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width',\n\t 'input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width',\n\t 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,keytype,name',\n\t 'li^[HTMLElement]|type,#value',\n\t 'label^[HTMLElement]|htmlFor',\n\t 'legend^[HTMLElement]|align',\n\t 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,rel,%relList,rev,%sizes,target,type',\n\t 'map^[HTMLElement]|name',\n\t 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width',\n\t 'menu^[HTMLElement]|!compact',\n\t 'meta^[HTMLElement]|content,httpEquiv,name,scheme',\n\t 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value',\n\t 'ins,del^[HTMLElement]|cite,dateTime',\n\t 'ol^[HTMLElement]|!compact,!reversed,#start,type',\n\t 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width',\n\t 'optgroup^[HTMLElement]|!disabled,label',\n\t 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value',\n\t 'output^[HTMLElement]|defaultValue,%htmlFor,name,value',\n\t 'p^[HTMLElement]|align',\n\t 'param^[HTMLElement]|name,type,value,valueType',\n\t 'picture^[HTMLElement]|',\n\t 'pre^[HTMLElement]|#width',\n\t 'progress^[HTMLElement]|#max,#value',\n\t 'q,blockquote,cite^[HTMLElement]|',\n\t 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type',\n\t 'select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value',\n\t 'shadow^[HTMLElement]|',\n\t 'source^[HTMLElement]|media,sizes,src,srcset,type',\n\t 'span^[HTMLElement]|',\n\t 'style^[HTMLElement]|!disabled,media,type',\n\t 'caption^[HTMLElement]|align',\n\t 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width',\n\t 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width',\n\t 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width',\n\t 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign',\n\t 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign',\n\t 'template^[HTMLElement]|',\n\t 'textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap',\n\t 'title^[HTMLElement]|text',\n\t 'track^[HTMLElement]|!default,kind,label,src,srclang',\n\t 'ul^[HTMLElement]|!compact,type',\n\t 'unknown^[HTMLElement]|',\n\t 'video^media|#height,poster,#width',\n\t ':svg:a^:svg:graphics|',\n\t ':svg:animate^:svg:animation|',\n\t ':svg:animateMotion^:svg:animation|',\n\t ':svg:animateTransform^:svg:animation|',\n\t ':svg:circle^:svg:geometry|',\n\t ':svg:clipPath^:svg:graphics|',\n\t ':svg:cursor^:svg:|',\n\t ':svg:defs^:svg:graphics|',\n\t ':svg:desc^:svg:|',\n\t ':svg:discard^:svg:|',\n\t ':svg:ellipse^:svg:geometry|',\n\t ':svg:feBlend^:svg:|',\n\t ':svg:feColorMatrix^:svg:|',\n\t ':svg:feComponentTransfer^:svg:|',\n\t ':svg:feComposite^:svg:|',\n\t ':svg:feConvolveMatrix^:svg:|',\n\t ':svg:feDiffuseLighting^:svg:|',\n\t ':svg:feDisplacementMap^:svg:|',\n\t ':svg:feDistantLight^:svg:|',\n\t ':svg:feDropShadow^:svg:|',\n\t ':svg:feFlood^:svg:|',\n\t ':svg:feFuncA^:svg:componentTransferFunction|',\n\t ':svg:feFuncB^:svg:componentTransferFunction|',\n\t ':svg:feFuncG^:svg:componentTransferFunction|',\n\t ':svg:feFuncR^:svg:componentTransferFunction|',\n\t ':svg:feGaussianBlur^:svg:|',\n\t ':svg:feImage^:svg:|',\n\t ':svg:feMerge^:svg:|',\n\t ':svg:feMergeNode^:svg:|',\n\t ':svg:feMorphology^:svg:|',\n\t ':svg:feOffset^:svg:|',\n\t ':svg:fePointLight^:svg:|',\n\t ':svg:feSpecularLighting^:svg:|',\n\t ':svg:feSpotLight^:svg:|',\n\t ':svg:feTile^:svg:|',\n\t ':svg:feTurbulence^:svg:|',\n\t ':svg:filter^:svg:|',\n\t ':svg:foreignObject^:svg:graphics|',\n\t ':svg:g^:svg:graphics|',\n\t ':svg:image^:svg:graphics|',\n\t ':svg:line^:svg:geometry|',\n\t ':svg:linearGradient^:svg:gradient|',\n\t ':svg:mpath^:svg:|',\n\t ':svg:marker^:svg:|',\n\t ':svg:mask^:svg:|',\n\t ':svg:metadata^:svg:|',\n\t ':svg:path^:svg:geometry|',\n\t ':svg:pattern^:svg:|',\n\t ':svg:polygon^:svg:geometry|',\n\t ':svg:polyline^:svg:geometry|',\n\t ':svg:radialGradient^:svg:gradient|',\n\t ':svg:rect^:svg:geometry|',\n\t ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan',\n\t ':svg:script^:svg:|type',\n\t ':svg:set^:svg:animation|',\n\t ':svg:stop^:svg:|',\n\t ':svg:style^:svg:|!disabled,media,title,type',\n\t ':svg:switch^:svg:graphics|',\n\t ':svg:symbol^:svg:|',\n\t ':svg:tspan^:svg:textPositioning|',\n\t ':svg:text^:svg:textPositioning|',\n\t ':svg:textPath^:svg:textContent|',\n\t ':svg:title^:svg:|',\n\t ':svg:use^:svg:graphics|',\n\t ':svg:view^:svg:|#zoomAndPan',\n\t 'data^[HTMLElement]|value',\n\t 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default',\n\t 'summary^[HTMLElement]|',\n\t 'time^[HTMLElement]|dateTime',\n\t ];\n\t var _ATTR_TO_PROP = {\n\t 'class': 'className',\n\t 'for': 'htmlFor',\n\t 'formaction': 'formAction',\n\t 'innerHtml': 'innerHTML',\n\t 'readonly': 'readOnly',\n\t 'tabindex': 'tabIndex',\n\t };\n\t var DomElementSchemaRegistry = (function (_super) {\n\t __extends$17(DomElementSchemaRegistry, _super);\n\t function DomElementSchemaRegistry() {\n\t var _this = this;\n\t _super.call(this);\n\t this._schema = {};\n\t SCHEMA.forEach(function (encodedType) {\n\t var type = {};\n\t var _a = encodedType.split('|'), strType = _a[0], strProperties = _a[1];\n\t var properties = strProperties.split(',');\n\t var _b = strType.split('^'), typeNames = _b[0], superName = _b[1];\n\t typeNames.split(',').forEach(function (tag) { return _this._schema[tag.toLowerCase()] = type; });\n\t var superType = superName && _this._schema[superName.toLowerCase()];\n\t if (superType) {\n\t Object.keys(superType).forEach(function (prop) { type[prop] = superType[prop]; });\n\t }\n\t properties.forEach(function (property) {\n\t if (property.length > 0) {\n\t switch (property[0]) {\n\t case '*':\n\t // We don't yet support events.\n\t // If ever allowing to bind to events, GO THROUGH A SECURITY REVIEW, allowing events\n\t // will\n\t // almost certainly introduce bad XSS vulnerabilities.\n\t // type[property.substring(1)] = EVENT;\n\t break;\n\t case '!':\n\t type[property.substring(1)] = BOOLEAN;\n\t break;\n\t case '#':\n\t type[property.substring(1)] = NUMBER;\n\t break;\n\t case '%':\n\t type[property.substring(1)] = OBJECT;\n\t break;\n\t default:\n\t type[property] = STRING;\n\t }\n\t }\n\t });\n\t });\n\t }\n\t DomElementSchemaRegistry.prototype.hasProperty = function (tagName, propName, schemaMetas) {\n\t if (schemaMetas.some(function (schema) { return schema.name === _angular_core.NO_ERRORS_SCHEMA.name; })) {\n\t return true;\n\t }\n\t if (tagName.indexOf('-') > -1) {\n\t if (tagName === 'ng-container' || tagName === 'ng-content') {\n\t return false;\n\t }\n\t if (schemaMetas.some(function (schema) { return schema.name === _angular_core.CUSTOM_ELEMENTS_SCHEMA.name; })) {\n\t // Can't tell now as we don't know which properties a custom element will get\n\t // once it is instantiated\n\t return true;\n\t }\n\t }\n\t var elementProperties = this._schema[tagName.toLowerCase()] || this._schema['unknown'];\n\t return !!elementProperties[propName];\n\t };\n\t DomElementSchemaRegistry.prototype.hasElement = function (tagName, schemaMetas) {\n\t if (schemaMetas.some(function (schema) { return schema.name === _angular_core.NO_ERRORS_SCHEMA.name; })) {\n\t return true;\n\t }\n\t if (tagName.indexOf('-') > -1) {\n\t if (tagName === 'ng-container' || tagName === 'ng-content') {\n\t return true;\n\t }\n\t if (schemaMetas.some(function (schema) { return schema.name === _angular_core.CUSTOM_ELEMENTS_SCHEMA.name; })) {\n\t // Allow any custom elements\n\t return true;\n\t }\n\t }\n\t return !!this._schema[tagName.toLowerCase()];\n\t };\n\t /**\n\t * securityContext returns the security context for the given property on the given DOM tag.\n\t *\n\t * Tag and property name are statically known and cannot change at runtime, i.e. it is not\n\t * possible to bind a value into a changing attribute or tag name.\n\t *\n\t * The filtering is white list based. All attributes in the schema above are assumed to have the\n\t * 'NONE' security context, i.e. that they are safe inert string values. Only specific well known\n\t * attack vectors are assigned their appropriate context.\n\t */\n\t DomElementSchemaRegistry.prototype.securityContext = function (tagName, propName, isAttribute) {\n\t if (isAttribute) {\n\t // NB: For security purposes, use the mapped property name, not the attribute name.\n\t propName = this.getMappedPropName(propName);\n\t }\n\t // Make sure comparisons are case insensitive, so that case differences between attribute and\n\t // property names do not have a security impact.\n\t tagName = tagName.toLowerCase();\n\t propName = propName.toLowerCase();\n\t var ctx = SECURITY_SCHEMA[tagName + '|' + propName];\n\t if (ctx) {\n\t return ctx;\n\t }\n\t ctx = SECURITY_SCHEMA['*|' + propName];\n\t return ctx ? ctx : _angular_core.SecurityContext.NONE;\n\t };\n\t DomElementSchemaRegistry.prototype.getMappedPropName = function (propName) { return _ATTR_TO_PROP[propName] || propName; };\n\t DomElementSchemaRegistry.prototype.getDefaultComponentElementName = function () { return 'ng-component'; };\n\t DomElementSchemaRegistry.prototype.validateProperty = function (name) {\n\t if (name.toLowerCase().startsWith('on')) {\n\t var msg = (\"Binding to event property '\" + name + \"' is disallowed for security reasons, \") +\n\t (\"please use (\" + name.slice(2) + \")=...\") +\n\t (\"\\nIf '\" + name + \"' is a directive input, make sure the directive is imported by the\") +\n\t \" current module.\";\n\t return { error: true, msg: msg };\n\t }\n\t else {\n\t return { error: false };\n\t }\n\t };\n\t DomElementSchemaRegistry.prototype.validateAttribute = function (name) {\n\t if (name.toLowerCase().startsWith('on')) {\n\t var msg = (\"Binding to event attribute '\" + name + \"' is disallowed for security reasons, \") +\n\t (\"please use (\" + name.slice(2) + \")=...\");\n\t return { error: true, msg: msg };\n\t }\n\t else {\n\t return { error: false };\n\t }\n\t };\n\t DomElementSchemaRegistry.prototype.allKnownElementNames = function () { return Object.keys(this._schema); };\n\t DomElementSchemaRegistry.prototype.normalizeAnimationStyleProperty = function (propName) {\n\t return dashCaseToCamelCase(propName);\n\t };\n\t DomElementSchemaRegistry.prototype.normalizeAnimationStyleValue = function (camelCaseProp, userProvidedProp, val) {\n\t var unit = '';\n\t var strVal = val.toString().trim();\n\t var errorMsg = null;\n\t if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {\n\t if (typeof val === 'number') {\n\t unit = 'px';\n\t }\n\t else {\n\t var valAndSuffixMatch = val.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n\t if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n\t errorMsg = \"Please provide a CSS unit value for \" + userProvidedProp + \":\" + val;\n\t }\n\t }\n\t }\n\t return { error: errorMsg, value: strVal + unit };\n\t };\n\t DomElementSchemaRegistry.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DomElementSchemaRegistry.ctorParameters = [];\n\t return DomElementSchemaRegistry;\n\t }(ElementSchemaRegistry));\n\t function _isPixelDimensionStyle(prop) {\n\t switch (prop) {\n\t case 'width':\n\t case 'height':\n\t case 'minWidth':\n\t case 'minHeight':\n\t case 'maxWidth':\n\t case 'maxHeight':\n\t case 'left':\n\t case 'top':\n\t case 'bottom':\n\t case 'right':\n\t case 'fontSize':\n\t case 'outlineWidth':\n\t case 'outlineOffset':\n\t case 'paddingTop':\n\t case 'paddingLeft':\n\t case 'paddingBottom':\n\t case 'paddingRight':\n\t case 'marginTop':\n\t case 'marginLeft':\n\t case 'marginBottom':\n\t case 'marginRight':\n\t case 'borderRadius':\n\t case 'borderWidth':\n\t case 'borderTopWidth':\n\t case 'borderLeftWidth':\n\t case 'borderRightWidth':\n\t case 'borderBottomWidth':\n\t case 'textIndent':\n\t return true;\n\t default:\n\t return false;\n\t }\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n\t *\n\t * Please make sure to keep to edits in sync with the source file.\n\t *\n\t * Source:\n\t * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n\t *\n\t * The original file level comment is reproduced below\n\t */\n\t /*\n\t This is a limited shim for ShadowDOM css styling.\n\t https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles\n\t\n\t The intention here is to support only the styling features which can be\n\t relatively simply implemented. The goal is to allow users to avoid the\n\t most obvious pitfalls and do so without compromising performance significantly.\n\t For ShadowDOM styling that's not covered here, a set of best practices\n\t can be provided that should allow users to accomplish more complex styling.\n\t\n\t The following is a list of specific ShadowDOM styling features and a brief\n\t discussion of the approach used to shim.\n\t\n\t Shimmed features:\n\t\n\t * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host\n\t element using the :host rule. To shim this feature, the :host styles are\n\t reformatted and prefixed with a given scope name and promoted to a\n\t document level stylesheet.\n\t For example, given a scope name of .foo, a rule like this:\n\t\n\t :host {\n\t background: red;\n\t }\n\t }\n\t\n\t becomes:\n\t\n\t .foo {\n\t background: red;\n\t }\n\t\n\t * encapsulation: Styles defined within ShadowDOM, apply only to\n\t dom inside the ShadowDOM. Polymer uses one of two techniques to implement\n\t this feature.\n\t\n\t By default, rules are prefixed with the host element tag name\n\t as a descendant selector. This ensures styling does not leak out of the 'top'\n\t of the element's ShadowDOM. For example,\n\t\n\t div {\n\t font-weight: bold;\n\t }\n\t\n\t becomes:\n\t\n\t x-foo div {\n\t font-weight: bold;\n\t }\n\t\n\t becomes:\n\t\n\t\n\t Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then\n\t selectors are scoped by adding an attribute selector suffix to each\n\t simple selector that contains the host element tag name. Each element\n\t in the element's ShadowDOM template is also given the scope attribute.\n\t Thus, these rules match only elements that have the scope attribute.\n\t For example, given a scope name of x-foo, a rule like this:\n\t\n\t div {\n\t font-weight: bold;\n\t }\n\t\n\t becomes:\n\t\n\t div[x-foo] {\n\t font-weight: bold;\n\t }\n\t\n\t Note that elements that are dynamically added to a scope must have the scope\n\t selector added to them manually.\n\t\n\t * upper/lower bound encapsulation: Styles which are defined outside a\n\t shadowRoot should not cross the ShadowDOM boundary and should not apply\n\t inside a shadowRoot.\n\t\n\t This styling behavior is not emulated. Some possible ways to do this that\n\t were rejected due to complexity and/or performance concerns include: (1) reset\n\t every possible property for every possible selector for a given scope name;\n\t (2) re-implement css in javascript.\n\t\n\t As an alternative, users should make sure to use selectors\n\t specific to the scope in which they are working.\n\t\n\t * ::distributed: This behavior is not emulated. It's often not necessary\n\t to style the contents of a specific insertion point and instead, descendants\n\t of the host element can be styled selectively. Users can also create an\n\t extra node around an insertion point and style that node's contents\n\t via descendent selectors. For example, with a shadowRoot like this:\n\t\n\t <style>\n\t ::content(div) {\n\t background: red;\n\t }\n\t </style>\n\t <content></content>\n\t\n\t could become:\n\t\n\t <style>\n\t / *@polyfill .content-container div * /\n\t ::content(div) {\n\t background: red;\n\t }\n\t </style>\n\t <div class=\"content-container\">\n\t <content></content>\n\t </div>\n\t\n\t Note the use of @polyfill in the comment above a ShadowDOM specific style\n\t declaration. This is a directive to the styling shim to use the selector\n\t in comments in lieu of the next selector when running under polyfill.\n\t */\n\t var ShadowCss = (function () {\n\t function ShadowCss() {\n\t this.strictStyling = true;\n\t }\n\t /*\n\t * Shim some cssText with the given selector. Returns cssText that can\n\t * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).\n\t *\n\t * When strictStyling is true:\n\t * - selector is the attribute added to all elements inside the host,\n\t * - hostSelector is the attribute added to the host itself.\n\t */\n\t ShadowCss.prototype.shimCssText = function (cssText, selector, hostSelector) {\n\t if (hostSelector === void 0) { hostSelector = ''; }\n\t var sourceMappingUrl = extractSourceMappingUrl(cssText);\n\t cssText = stripComments(cssText);\n\t cssText = this._insertDirectives(cssText);\n\t return this._scopeCssText(cssText, selector, hostSelector) + sourceMappingUrl;\n\t };\n\t ShadowCss.prototype._insertDirectives = function (cssText) {\n\t cssText = this._insertPolyfillDirectivesInCssText(cssText);\n\t return this._insertPolyfillRulesInCssText(cssText);\n\t };\n\t /*\n\t * Process styles to convert native ShadowDOM rules that will trip\n\t * up the css parser; we rely on decorating the stylesheet with inert rules.\n\t *\n\t * For example, we convert this rule:\n\t *\n\t * polyfill-next-selector { content: ':host menu-item'; }\n\t * ::content menu-item {\n\t *\n\t * to this:\n\t *\n\t * scopeName menu-item {\n\t *\n\t **/\n\t ShadowCss.prototype._insertPolyfillDirectivesInCssText = function (cssText) {\n\t // Difference with webcomponents.js: does not handle comments\n\t return cssText.replace(_cssContentNextSelectorRe, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t return m[2] + '{';\n\t });\n\t };\n\t /*\n\t * Process styles to add rules which will only apply under the polyfill\n\t *\n\t * For example, we convert this rule:\n\t *\n\t * polyfill-rule {\n\t * content: ':host menu-item';\n\t * ...\n\t * }\n\t *\n\t * to this:\n\t *\n\t * scopeName menu-item {...}\n\t *\n\t **/\n\t ShadowCss.prototype._insertPolyfillRulesInCssText = function (cssText) {\n\t // Difference with webcomponents.js: does not handle comments\n\t return cssText.replace(_cssContentRuleRe, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t var rule = m[0].replace(m[1], '').replace(m[2], '');\n\t return m[4] + rule;\n\t });\n\t };\n\t /* Ensure styles are scoped. Pseudo-scoping takes a rule like:\n\t *\n\t * .foo {... }\n\t *\n\t * and converts this to\n\t *\n\t * scopeName .foo { ... }\n\t */\n\t ShadowCss.prototype._scopeCssText = function (cssText, scopeSelector, hostSelector) {\n\t var unscopedRules = this._extractUnscopedRulesFromCssText(cssText);\n\t // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively\n\t cssText = this._insertPolyfillHostInCssText(cssText);\n\t cssText = this._convertColonHost(cssText);\n\t cssText = this._convertColonHostContext(cssText);\n\t cssText = this._convertShadowDOMSelectors(cssText);\n\t if (scopeSelector) {\n\t cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\n\t }\n\t cssText = cssText + '\\n' + unscopedRules;\n\t return cssText.trim();\n\t };\n\t /*\n\t * Process styles to add rules which will only apply under the polyfill\n\t * and do not process via CSSOM. (CSSOM is destructive to rules on rare\n\t * occasions, e.g. -webkit-calc on Safari.)\n\t * For example, we convert this rule:\n\t *\n\t * @polyfill-unscoped-rule {\n\t * content: 'menu-item';\n\t * ... }\n\t *\n\t * to this:\n\t *\n\t * menu-item {...}\n\t *\n\t **/\n\t ShadowCss.prototype._extractUnscopedRulesFromCssText = function (cssText) {\n\t // Difference with webcomponents.js: does not handle comments\n\t var r = '';\n\t var m;\n\t _cssContentUnscopedRuleRe.lastIndex = 0;\n\t while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {\n\t var rule = m[0].replace(m[2], '').replace(m[1], m[4]);\n\t r += rule + '\\n\\n';\n\t }\n\t return r;\n\t };\n\t /*\n\t * convert a rule like :host(.foo) > .bar { }\n\t *\n\t * to\n\t *\n\t * .foo<scopeName> > .bar\n\t */\n\t ShadowCss.prototype._convertColonHost = function (cssText) {\n\t return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\n\t };\n\t /*\n\t * convert a rule like :host-context(.foo) > .bar { }\n\t *\n\t * to\n\t *\n\t * .foo<scopeName> > .bar, .foo scopeName > .bar { }\n\t *\n\t * and\n\t *\n\t * :host-context(.foo:host) .bar { ... }\n\t *\n\t * to\n\t *\n\t * .foo<scopeName> .bar { ... }\n\t */\n\t ShadowCss.prototype._convertColonHostContext = function (cssText) {\n\t return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\n\t };\n\t ShadowCss.prototype._convertColonRule = function (cssText, regExp, partReplacer) {\n\t // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n\t return cssText.replace(regExp, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t if (m[2]) {\n\t var parts = m[2].split(',');\n\t var r = [];\n\t for (var i = 0; i < parts.length; i++) {\n\t var p = parts[i].trim();\n\t if (!p)\n\t break;\n\t r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n\t }\n\t return r.join(',');\n\t }\n\t else {\n\t return _polyfillHostNoCombinator + m[3];\n\t }\n\t });\n\t };\n\t ShadowCss.prototype._colonHostContextPartReplacer = function (host, part, suffix) {\n\t if (part.indexOf(_polyfillHost) > -1) {\n\t return this._colonHostPartReplacer(host, part, suffix);\n\t }\n\t else {\n\t return host + part + suffix + ', ' + part + ' ' + host + suffix;\n\t }\n\t };\n\t ShadowCss.prototype._colonHostPartReplacer = function (host, part, suffix) {\n\t return host + part.replace(_polyfillHost, '') + suffix;\n\t };\n\t /*\n\t * Convert combinators like ::shadow and pseudo-elements like ::content\n\t * by replacing with space.\n\t */\n\t ShadowCss.prototype._convertShadowDOMSelectors = function (cssText) {\n\t return _shadowDOMSelectorsRe.reduce(function (result, pattern) { return result.replace(pattern, ' '); }, cssText);\n\t };\n\t // change a selector like 'div' to 'name div'\n\t ShadowCss.prototype._scopeSelectors = function (cssText, scopeSelector, hostSelector) {\n\t var _this = this;\n\t return processRules(cssText, function (rule) {\n\t var selector = rule.selector;\n\t var content = rule.content;\n\t if (rule.selector[0] != '@') {\n\t selector =\n\t _this._scopeSelector(rule.selector, scopeSelector, hostSelector, _this.strictStyling);\n\t }\n\t else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') ||\n\t rule.selector.startsWith('@page') || rule.selector.startsWith('@document')) {\n\t content = _this._scopeSelectors(rule.content, scopeSelector, hostSelector);\n\t }\n\t return new CssRule(selector, content);\n\t });\n\t };\n\t ShadowCss.prototype._scopeSelector = function (selector, scopeSelector, hostSelector, strict) {\n\t var _this = this;\n\t return selector.split(',')\n\t .map(function (part) { return part.trim().split(_shadowDeepSelectors); })\n\t .map(function (deepParts) {\n\t var shallowPart = deepParts[0], otherParts = deepParts.slice(1);\n\t var applyScope = function (shallowPart) {\n\t if (_this._selectorNeedsScoping(shallowPart, scopeSelector)) {\n\t return strict ?\n\t _this._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) :\n\t _this._applySelectorScope(shallowPart, scopeSelector, hostSelector);\n\t }\n\t else {\n\t return shallowPart;\n\t }\n\t };\n\t return [applyScope(shallowPart)].concat(otherParts).join(' ');\n\t })\n\t .join(', ');\n\t };\n\t ShadowCss.prototype._selectorNeedsScoping = function (selector, scopeSelector) {\n\t var re = this._makeScopeMatcher(scopeSelector);\n\t return !re.test(selector);\n\t };\n\t ShadowCss.prototype._makeScopeMatcher = function (scopeSelector) {\n\t var lre = /\\[/g;\n\t var rre = /\\]/g;\n\t scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n\t return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n\t };\n\t ShadowCss.prototype._applySelectorScope = function (selector, scopeSelector, hostSelector) {\n\t // Difference from webcomponents.js: scopeSelector could not be an array\n\t return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\n\t };\n\t // scope via name and [is=name]\n\t ShadowCss.prototype._applySimpleSelectorScope = function (selector, scopeSelector, hostSelector) {\n\t // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n\t _polyfillHostRe.lastIndex = 0;\n\t if (_polyfillHostRe.test(selector)) {\n\t var replaceBy_1 = this.strictStyling ? \"[\" + hostSelector + \"]\" : scopeSelector;\n\t return selector\n\t .replace(_polyfillHostNoCombinatorRe, function (hnc, selector) {\n\t return selector.replace(/([^:]*)(:*)(.*)/, function (_, before, colon, after) {\n\t return before + replaceBy_1 + colon + after;\n\t });\n\t })\n\t .replace(_polyfillHostRe, replaceBy_1 + ' ');\n\t }\n\t return scopeSelector + ' ' + selector;\n\t };\n\t // return a selector with [name] suffix on each simple selector\n\t // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */\n\t ShadowCss.prototype._applyStrictSelectorScope = function (selector, scopeSelector, hostSelector) {\n\t var _this = this;\n\t var isRe = /\\[is=([^\\]]*)\\]/g;\n\t scopeSelector = scopeSelector.replace(isRe, function (_) {\n\t var parts = [];\n\t for (var _i = 1; _i < arguments.length; _i++) {\n\t parts[_i - 1] = arguments[_i];\n\t }\n\t return parts[0];\n\t });\n\t var attrName = '[' + scopeSelector + ']';\n\t var _scopeSelectorPart = function (p) {\n\t var scopedP = p.trim();\n\t if (!scopedP) {\n\t return '';\n\t }\n\t if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n\t scopedP = _this._applySimpleSelectorScope(p, scopeSelector, hostSelector);\n\t }\n\t else {\n\t // remove :host since it should be unnecessary\n\t var t = p.replace(_polyfillHostRe, '');\n\t if (t.length > 0) {\n\t var matches = t.match(/([^:]*)(:*)(.*)/);\n\t if (matches) {\n\t scopedP = matches[1] + attrName + matches[2] + matches[3];\n\t }\n\t }\n\t }\n\t return scopedP;\n\t };\n\t var safeContent = new SafeSelector(selector);\n\t selector = safeContent.content();\n\t var scopedSelector = '';\n\t var startIndex = 0;\n\t var res;\n\t var sep = /( |>|\\+|~(?!=))\\s*/g;\n\t var scopeAfter = selector.indexOf(_polyfillHostNoCombinator);\n\t while ((res = sep.exec(selector)) !== null) {\n\t var separator = res[1];\n\t var part = selector.slice(startIndex, res.index).trim();\n\t // if a selector appears before :host-context it should not be shimmed as it\n\t // matches on ancestor elements and not on elements in the host's shadow\n\t var scopedPart = startIndex >= scopeAfter ? _scopeSelectorPart(part) : part;\n\t scopedSelector += scopedPart + \" \" + separator + \" \";\n\t startIndex = sep.lastIndex;\n\t }\n\t scopedSelector += _scopeSelectorPart(selector.substring(startIndex));\n\t // replace the placeholders with their original values\n\t return safeContent.restore(scopedSelector);\n\t };\n\t ShadowCss.prototype._insertPolyfillHostInCssText = function (selector) {\n\t return selector.replace(_colonHostContextRe, _polyfillHostContext)\n\t .replace(_colonHostRe, _polyfillHost);\n\t };\n\t return ShadowCss;\n\t }());\n\t var SafeSelector = (function () {\n\t function SafeSelector(selector) {\n\t var _this = this;\n\t this.placeholders = [];\n\t this.index = 0;\n\t // Replaces attribute selectors with placeholders.\n\t // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n\t selector = selector.replace(/(\\[[^\\]]*\\])/g, function (_, keep) {\n\t var replaceBy = \"__ph-\" + _this.index + \"__\";\n\t _this.placeholders.push(keep);\n\t _this.index++;\n\t return replaceBy;\n\t });\n\t // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n\t // WS and \"+\" would otherwise be interpreted as selector separators.\n\t this._content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, function (_, pseudo, exp) {\n\t var replaceBy = \"__ph-\" + _this.index + \"__\";\n\t _this.placeholders.push(exp);\n\t _this.index++;\n\t return pseudo + replaceBy;\n\t });\n\t }\n\t ;\n\t SafeSelector.prototype.restore = function (content) {\n\t var _this = this;\n\t return content.replace(/__ph-(\\d+)__/g, function (ph, index) { return _this.placeholders[+index]; });\n\t };\n\t SafeSelector.prototype.content = function () { return this._content; };\n\t return SafeSelector;\n\t }());\n\t var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?(['\"])(.*?)\\1[;\\s]*}([^{]*?){/gim;\n\t var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n\t var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n\t var _polyfillHost = '-shadowcsshost';\n\t // note: :host-context pre-processed to -shadowcsshostcontext.\n\t var _polyfillHostContext = '-shadowcsscontext';\n\t var _parenSuffix = ')(?:\\\\((' +\n\t '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' +\n\t ')\\\\))?([^,{]*)';\n\t var _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\n\t var _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\n\t var _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\n\t var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\n\t var _shadowDOMSelectorsRe = [\n\t /::shadow/g,\n\t /::content/g,\n\t // Deprecated selectors\n\t /\\/shadow-deep\\//g,\n\t /\\/shadow\\//g,\n\t ];\n\t var _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)/g;\n\t var _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\n\t var _polyfillHostRe = /-shadowcsshost/gim;\n\t var _colonHostRe = /:host/gim;\n\t var _colonHostContextRe = /:host-context/gim;\n\t var _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\n\t function stripComments(input) {\n\t return input.replace(_commentRe, '');\n\t }\n\t // all comments except inline source mapping\n\t var _sourceMappingUrlRe = /\\/\\*\\s*#\\s*sourceMappingURL=[\\s\\S]+?\\*\\//;\n\t function extractSourceMappingUrl(input) {\n\t var matcher = input.match(_sourceMappingUrlRe);\n\t return matcher ? matcher[0] : '';\n\t }\n\t var _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\n\t var _curlyRe = /([{}])/g;\n\t var OPEN_CURLY = '{';\n\t var CLOSE_CURLY = '}';\n\t var BLOCK_PLACEHOLDER = '%BLOCK%';\n\t var CssRule = (function () {\n\t function CssRule(selector, content) {\n\t this.selector = selector;\n\t this.content = content;\n\t }\n\t return CssRule;\n\t }());\n\t function processRules(input, ruleCallback) {\n\t var inputWithEscapedBlocks = escapeBlocks(input);\n\t var nextBlockIndex = 0;\n\t return inputWithEscapedBlocks.escapedString.replace(_ruleRe, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t var selector = m[2];\n\t var content = '';\n\t var suffix = m[4];\n\t var contentPrefix = '';\n\t if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n\t content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n\t suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n\t contentPrefix = '{';\n\t }\n\t var rule = ruleCallback(new CssRule(selector, content));\n\t return \"\" + m[1] + rule.selector + m[3] + contentPrefix + rule.content + suffix;\n\t });\n\t }\n\t var StringWithEscapedBlocks = (function () {\n\t function StringWithEscapedBlocks(escapedString, blocks) {\n\t this.escapedString = escapedString;\n\t this.blocks = blocks;\n\t }\n\t return StringWithEscapedBlocks;\n\t }());\n\t function escapeBlocks(input) {\n\t var inputParts = input.split(_curlyRe);\n\t var resultParts = [];\n\t var escapedBlocks = [];\n\t var bracketCount = 0;\n\t var currentBlockParts = [];\n\t for (var partIndex = 0; partIndex < inputParts.length; partIndex++) {\n\t var part = inputParts[partIndex];\n\t if (part == CLOSE_CURLY) {\n\t bracketCount--;\n\t }\n\t if (bracketCount > 0) {\n\t currentBlockParts.push(part);\n\t }\n\t else {\n\t if (currentBlockParts.length > 0) {\n\t escapedBlocks.push(currentBlockParts.join(''));\n\t resultParts.push(BLOCK_PLACEHOLDER);\n\t currentBlockParts = [];\n\t }\n\t resultParts.push(part);\n\t }\n\t if (part == OPEN_CURLY) {\n\t bracketCount++;\n\t }\n\t }\n\t if (currentBlockParts.length > 0) {\n\t escapedBlocks.push(currentBlockParts.join(''));\n\t resultParts.push(BLOCK_PLACEHOLDER);\n\t }\n\t return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\n\t }\n\t\n\t var COMPONENT_VARIABLE = '%COMP%';\n\t var HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\n\t var CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\n\t var StylesCompileDependency = (function () {\n\t function StylesCompileDependency(moduleUrl, isShimmed, valuePlaceholder) {\n\t this.moduleUrl = moduleUrl;\n\t this.isShimmed = isShimmed;\n\t this.valuePlaceholder = valuePlaceholder;\n\t }\n\t return StylesCompileDependency;\n\t }());\n\t var StylesCompileResult = (function () {\n\t function StylesCompileResult(componentStylesheet, externalStylesheets) {\n\t this.componentStylesheet = componentStylesheet;\n\t this.externalStylesheets = externalStylesheets;\n\t }\n\t return StylesCompileResult;\n\t }());\n\t var CompiledStylesheet = (function () {\n\t function CompiledStylesheet(statements, stylesVar, dependencies, isShimmed, meta) {\n\t this.statements = statements;\n\t this.stylesVar = stylesVar;\n\t this.dependencies = dependencies;\n\t this.isShimmed = isShimmed;\n\t this.meta = meta;\n\t }\n\t return CompiledStylesheet;\n\t }());\n\t var StyleCompiler = (function () {\n\t function StyleCompiler(_urlResolver) {\n\t this._urlResolver = _urlResolver;\n\t this._shadowCss = new ShadowCss();\n\t }\n\t StyleCompiler.prototype.compileComponent = function (comp) {\n\t var _this = this;\n\t var externalStylesheets = [];\n\t var componentStylesheet = this._compileStyles(comp, new CompileStylesheetMetadata({\n\t styles: comp.template.styles,\n\t styleUrls: comp.template.styleUrls,\n\t moduleUrl: comp.type.moduleUrl\n\t }), true);\n\t comp.template.externalStylesheets.forEach(function (stylesheetMeta) {\n\t var compiledStylesheet = _this._compileStyles(comp, stylesheetMeta, false);\n\t externalStylesheets.push(compiledStylesheet);\n\t });\n\t return new StylesCompileResult(componentStylesheet, externalStylesheets);\n\t };\n\t StyleCompiler.prototype._compileStyles = function (comp, stylesheet, isComponentStylesheet) {\n\t var _this = this;\n\t var shim = comp.template.encapsulation === _angular_core.ViewEncapsulation.Emulated;\n\t var styleExpressions = stylesheet.styles.map(function (plainStyle) { return literal(_this._shimIfNeeded(plainStyle, shim)); });\n\t var dependencies = [];\n\t for (var i = 0; i < stylesheet.styleUrls.length; i++) {\n\t var identifier = new CompileIdentifierMetadata({ name: getStylesVarName(null) });\n\t dependencies.push(new StylesCompileDependency(stylesheet.styleUrls[i], shim, identifier));\n\t styleExpressions.push(new ExternalExpr(identifier));\n\t }\n\t // styles variable contains plain strings and arrays of other styles arrays (recursive),\n\t // so we set its type to dynamic.\n\t var stylesVar = getStylesVarName(isComponentStylesheet ? comp : null);\n\t var stmt = variable(stylesVar)\n\t .set(literalArr(styleExpressions, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const])))\n\t .toDeclStmt(null, [StmtModifier.Final]);\n\t return new CompiledStylesheet([stmt], stylesVar, dependencies, shim, stylesheet);\n\t };\n\t StyleCompiler.prototype._shimIfNeeded = function (style, shim) {\n\t return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\n\t };\n\t StyleCompiler.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t StyleCompiler.ctorParameters = [\n\t { type: UrlResolver, },\n\t ];\n\t return StyleCompiler;\n\t }());\n\t function getStylesVarName(component) {\n\t var result = \"styles\";\n\t if (component) {\n\t result += \"_\" + component.type.name;\n\t }\n\t return result;\n\t }\n\t\n\t var _DebugState = (function () {\n\t function _DebugState(nodeIndex, sourceAst) {\n\t this.nodeIndex = nodeIndex;\n\t this.sourceAst = sourceAst;\n\t }\n\t return _DebugState;\n\t }());\n\t var NULL_DEBUG_STATE = new _DebugState(null, null);\n\t var CompileMethod = (function () {\n\t function CompileMethod(_view) {\n\t this._view = _view;\n\t this._newState = NULL_DEBUG_STATE;\n\t this._currState = NULL_DEBUG_STATE;\n\t this._bodyStatements = [];\n\t this._debugEnabled = this._view.genConfig.genDebugInfo;\n\t }\n\t CompileMethod.prototype._updateDebugContextIfNeeded = function () {\n\t if (this._newState.nodeIndex !== this._currState.nodeIndex ||\n\t this._newState.sourceAst !== this._currState.sourceAst) {\n\t var expr = this._updateDebugContext(this._newState);\n\t if (isPresent(expr)) {\n\t this._bodyStatements.push(expr.toStmt());\n\t }\n\t }\n\t };\n\t CompileMethod.prototype._updateDebugContext = function (newState) {\n\t this._currState = this._newState = newState;\n\t if (this._debugEnabled) {\n\t var sourceLocation = isPresent(newState.sourceAst) ? newState.sourceAst.sourceSpan.start : null;\n\t return THIS_EXPR.callMethod('debug', [\n\t literal(newState.nodeIndex),\n\t isPresent(sourceLocation) ? literal(sourceLocation.line) : NULL_EXPR,\n\t isPresent(sourceLocation) ? literal(sourceLocation.col) : NULL_EXPR\n\t ]);\n\t }\n\t else {\n\t return null;\n\t }\n\t };\n\t CompileMethod.prototype.resetDebugInfoExpr = function (nodeIndex, templateAst) {\n\t var res = this._updateDebugContext(new _DebugState(nodeIndex, templateAst));\n\t return res || NULL_EXPR;\n\t };\n\t CompileMethod.prototype.resetDebugInfo = function (nodeIndex, templateAst) {\n\t this._newState = new _DebugState(nodeIndex, templateAst);\n\t };\n\t CompileMethod.prototype.push = function () {\n\t var stmts = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t stmts[_i - 0] = arguments[_i];\n\t }\n\t this.addStmts(stmts);\n\t };\n\t CompileMethod.prototype.addStmt = function (stmt) {\n\t this._updateDebugContextIfNeeded();\n\t this._bodyStatements.push(stmt);\n\t };\n\t CompileMethod.prototype.addStmts = function (stmts) {\n\t this._updateDebugContextIfNeeded();\n\t (_a = this._bodyStatements).push.apply(_a, stmts);\n\t var _a;\n\t };\n\t CompileMethod.prototype.finish = function () { return this._bodyStatements; };\n\t CompileMethod.prototype.isEmpty = function () { return this._bodyStatements.length === 0; };\n\t return CompileMethod;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$19 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function getPropertyInView(property, callingView, definedView) {\n\t if (callingView === definedView) {\n\t return property;\n\t }\n\t else {\n\t var viewProp = THIS_EXPR;\n\t var currView = callingView;\n\t while (currView !== definedView && isPresent(currView.declarationElement.view)) {\n\t currView = currView.declarationElement.view;\n\t viewProp = viewProp.prop('parentView');\n\t }\n\t if (currView !== definedView) {\n\t throw new Error(\"Internal error: Could not calculate a property in a parent view: \" + property);\n\t }\n\t return property.visitExpression(new _ReplaceViewTransformer(viewProp, definedView), null);\n\t }\n\t }\n\t var _ReplaceViewTransformer = (function (_super) {\n\t __extends$19(_ReplaceViewTransformer, _super);\n\t function _ReplaceViewTransformer(_viewExpr, _view) {\n\t _super.call(this);\n\t this._viewExpr = _viewExpr;\n\t this._view = _view;\n\t }\n\t _ReplaceViewTransformer.prototype._isThis = function (expr) {\n\t return expr instanceof ReadVarExpr && expr.builtin === BuiltinVar.This;\n\t };\n\t _ReplaceViewTransformer.prototype.visitReadVarExpr = function (ast, context) {\n\t return this._isThis(ast) ? this._viewExpr : ast;\n\t };\n\t _ReplaceViewTransformer.prototype.visitReadPropExpr = function (ast, context) {\n\t if (this._isThis(ast.receiver)) {\n\t // Note: Don't cast for members of the AppView base class...\n\t if (this._view.fields.some(function (field) { return field.name == ast.name; }) ||\n\t this._view.getters.some(function (field) { return field.name == ast.name; })) {\n\t return this._viewExpr.cast(this._view.classType).prop(ast.name);\n\t }\n\t }\n\t return _super.prototype.visitReadPropExpr.call(this, ast, context);\n\t };\n\t return _ReplaceViewTransformer;\n\t }(ExpressionTransformer));\n\t function injectFromViewParentInjector(view, token, optional) {\n\t var viewExpr;\n\t if (view.viewType === ViewType.HOST) {\n\t viewExpr = THIS_EXPR;\n\t }\n\t else {\n\t viewExpr = THIS_EXPR.prop('parentView');\n\t }\n\t var args = [createDiTokenExpression(token), THIS_EXPR.prop('parentIndex')];\n\t if (optional) {\n\t args.push(NULL_EXPR);\n\t }\n\t return viewExpr.callMethod('injectorGet', args);\n\t }\n\t function getViewClassName(component, embeddedTemplateIndex) {\n\t return \"View_\" + component.type.name + embeddedTemplateIndex;\n\t }\n\t function getHandleEventMethodName(elementIndex) {\n\t return \"handleEvent_\" + elementIndex;\n\t }\n\t\n\t var ViewQueryValues = (function () {\n\t function ViewQueryValues(view, values) {\n\t this.view = view;\n\t this.values = values;\n\t }\n\t return ViewQueryValues;\n\t }());\n\t var CompileQuery = (function () {\n\t function CompileQuery(meta, queryList, ownerDirectiveExpression, view) {\n\t this.meta = meta;\n\t this.queryList = queryList;\n\t this.ownerDirectiveExpression = ownerDirectiveExpression;\n\t this.view = view;\n\t this._values = new ViewQueryValues(view, []);\n\t }\n\t CompileQuery.prototype.addValue = function (value, view) {\n\t var currentView = view;\n\t var elPath = [];\n\t while (isPresent(currentView) && currentView !== this.view) {\n\t var parentEl = currentView.declarationElement;\n\t elPath.unshift(parentEl);\n\t currentView = parentEl.view;\n\t }\n\t var queryListForDirtyExpr = getPropertyInView(this.queryList, view, this.view);\n\t var viewValues = this._values;\n\t elPath.forEach(function (el) {\n\t var last = viewValues.values.length > 0 ? viewValues.values[viewValues.values.length - 1] : null;\n\t if (last instanceof ViewQueryValues && last.view === el.embeddedView) {\n\t viewValues = last;\n\t }\n\t else {\n\t var newViewValues = new ViewQueryValues(el.embeddedView, []);\n\t viewValues.values.push(newViewValues);\n\t viewValues = newViewValues;\n\t }\n\t });\n\t viewValues.values.push(value);\n\t if (elPath.length > 0) {\n\t view.dirtyParentQueriesMethod.addStmt(queryListForDirtyExpr.callMethod('setDirty', []).toStmt());\n\t }\n\t };\n\t CompileQuery.prototype._isStatic = function () {\n\t return !this._values.values.some(function (value) { return value instanceof ViewQueryValues; });\n\t };\n\t CompileQuery.prototype.afterChildren = function (targetStaticMethod, targetDynamicMethod) {\n\t var values = createQueryValues(this._values);\n\t var updateStmts = [this.queryList.callMethod('reset', [literalArr(values)]).toStmt()];\n\t if (isPresent(this.ownerDirectiveExpression)) {\n\t var valueExpr = this.meta.first ? this.queryList.prop('first') : this.queryList;\n\t updateStmts.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(valueExpr).toStmt());\n\t }\n\t if (!this.meta.first) {\n\t updateStmts.push(this.queryList.callMethod('notifyOnChanges', []).toStmt());\n\t }\n\t if (this.meta.first && this._isStatic()) {\n\t // for queries that don't change and the user asked for a single element,\n\t // set it immediately. That is e.g. needed for querying for ViewContainerRefs, ...\n\t // we don't do this for QueryLists for now as this would break the timing when\n\t // we call QueryList listeners...\n\t targetStaticMethod.addStmts(updateStmts);\n\t }\n\t else {\n\t targetDynamicMethod.addStmt(new IfStmt(this.queryList.prop('dirty'), updateStmts));\n\t }\n\t };\n\t return CompileQuery;\n\t }());\n\t function createQueryValues(viewValues) {\n\t return ListWrapper.flatten(viewValues.values.map(function (entry) {\n\t if (entry instanceof ViewQueryValues) {\n\t return mapNestedViews(entry.view.declarationElement.viewContainer, entry.view, createQueryValues(entry));\n\t }\n\t else {\n\t return entry;\n\t }\n\t }));\n\t }\n\t function mapNestedViews(viewContainer, view, expressions) {\n\t var adjustedExpressions = expressions.map(function (expr) { return replaceVarInExpression(THIS_EXPR.name, variable('nestedView'), expr); });\n\t return viewContainer.callMethod('mapNestedViews', [\n\t variable(view.className),\n\t fn([new FnParam('nestedView', view.classType)], [new ReturnStatement(literalArr(adjustedExpressions))], DYNAMIC_TYPE)\n\t ]);\n\t }\n\t function createQueryList(query, directiveInstance, propertyName, compileView) {\n\t compileView.fields.push(new ClassField(propertyName, importType(resolveIdentifier(Identifiers.QueryList), [DYNAMIC_TYPE])));\n\t var expr = THIS_EXPR.prop(propertyName);\n\t compileView.createMethod.addStmt(THIS_EXPR.prop(propertyName)\n\t .set(importExpr(resolveIdentifier(Identifiers.QueryList), [DYNAMIC_TYPE])\n\t .instantiate([]))\n\t .toStmt());\n\t return expr;\n\t }\n\t function addQueryToTokenMap(map, query) {\n\t query.meta.selectors.forEach(function (selector) {\n\t var entry = map.get(selector.reference);\n\t if (!entry) {\n\t entry = [];\n\t map.set(selector.reference, entry);\n\t }\n\t entry.push(query);\n\t });\n\t }\n\t\n\t var ViewTypeEnum = (function () {\n\t function ViewTypeEnum() {\n\t }\n\t ViewTypeEnum.fromValue = function (value) {\n\t return createEnumExpression(Identifiers.ViewType, value);\n\t };\n\t return ViewTypeEnum;\n\t }());\n\t var ViewEncapsulationEnum = (function () {\n\t function ViewEncapsulationEnum() {\n\t }\n\t ViewEncapsulationEnum.fromValue = function (value) {\n\t return createEnumExpression(Identifiers.ViewEncapsulation, value);\n\t };\n\t return ViewEncapsulationEnum;\n\t }());\n\t var ChangeDetectorStatusEnum = (function () {\n\t function ChangeDetectorStatusEnum() {\n\t }\n\t ChangeDetectorStatusEnum.fromValue = function (value) {\n\t return createEnumExpression(Identifiers.ChangeDetectorStatus, value);\n\t };\n\t return ChangeDetectorStatusEnum;\n\t }());\n\t var ViewConstructorVars = (function () {\n\t function ViewConstructorVars() {\n\t }\n\t ViewConstructorVars.viewUtils = variable('viewUtils');\n\t ViewConstructorVars.parentView = variable('parentView');\n\t ViewConstructorVars.parentIndex = variable('parentIndex');\n\t ViewConstructorVars.parentElement = variable('parentElement');\n\t return ViewConstructorVars;\n\t }());\n\t var ViewProperties = (function () {\n\t function ViewProperties() {\n\t }\n\t ViewProperties.renderer = THIS_EXPR.prop('renderer');\n\t ViewProperties.viewUtils = THIS_EXPR.prop('viewUtils');\n\t return ViewProperties;\n\t }());\n\t var InjectMethodVars$1 = (function () {\n\t function InjectMethodVars() {\n\t }\n\t InjectMethodVars.token = variable('token');\n\t InjectMethodVars.requestNodeIndex = variable('requestNodeIndex');\n\t InjectMethodVars.notFoundResult = variable('notFoundResult');\n\t return InjectMethodVars;\n\t }());\n\t var DetectChangesVars = (function () {\n\t function DetectChangesVars() {\n\t }\n\t DetectChangesVars.throwOnChange = variable(\"throwOnChange\");\n\t DetectChangesVars.changes = variable(\"changes\");\n\t DetectChangesVars.changed = variable(\"changed\");\n\t return DetectChangesVars;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var ViewClassDependency = (function () {\n\t function ViewClassDependency(comp, placeholder) {\n\t this.comp = comp;\n\t this.placeholder = placeholder;\n\t }\n\t return ViewClassDependency;\n\t }());\n\t var ComponentFactoryDependency$1 = (function () {\n\t function ComponentFactoryDependency(comp, placeholder) {\n\t this.comp = comp;\n\t this.placeholder = placeholder;\n\t }\n\t return ComponentFactoryDependency;\n\t }());\n\t var DirectiveWrapperDependency = (function () {\n\t function DirectiveWrapperDependency(dir, placeholder) {\n\t this.dir = dir;\n\t this.placeholder = placeholder;\n\t }\n\t return DirectiveWrapperDependency;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$18 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var CompileNode = (function () {\n\t function CompileNode(parent, view, nodeIndex, renderNode, sourceAst) {\n\t this.parent = parent;\n\t this.view = view;\n\t this.nodeIndex = nodeIndex;\n\t this.renderNode = renderNode;\n\t this.sourceAst = sourceAst;\n\t }\n\t CompileNode.prototype.isNull = function () { return !this.renderNode; };\n\t CompileNode.prototype.isRootElement = function () { return this.view != this.parent.view; };\n\t return CompileNode;\n\t }());\n\t var CompileElement = (function (_super) {\n\t __extends$18(CompileElement, _super);\n\t function CompileElement(parent, view, nodeIndex, renderNode, sourceAst, component, _directives, _resolvedProvidersArray, hasViewContainer, hasEmbeddedView, references, _targetDependencies) {\n\t var _this = this;\n\t _super.call(this, parent, view, nodeIndex, renderNode, sourceAst);\n\t this.component = component;\n\t this._directives = _directives;\n\t this._resolvedProvidersArray = _resolvedProvidersArray;\n\t this.hasViewContainer = hasViewContainer;\n\t this.hasEmbeddedView = hasEmbeddedView;\n\t this._targetDependencies = _targetDependencies;\n\t this.compViewExpr = null;\n\t this.instances = new Map();\n\t this.directiveWrapperInstance = new Map();\n\t this._queryCount = 0;\n\t this._queries = new Map();\n\t this.contentNodesByNgContentIndex = null;\n\t this.referenceTokens = {};\n\t references.forEach(function (ref) { return _this.referenceTokens[ref.name] = ref.value; });\n\t this.elementRef =\n\t importExpr(resolveIdentifier(Identifiers.ElementRef)).instantiate([this.renderNode]);\n\t this.instances.set(resolveIdentifierToken(Identifiers.ElementRef).reference, this.elementRef);\n\t this.instances.set(resolveIdentifierToken(Identifiers.Injector).reference, THIS_EXPR.callMethod('injector', [literal(this.nodeIndex)]));\n\t this.instances.set(resolveIdentifierToken(Identifiers.Renderer).reference, THIS_EXPR.prop('renderer'));\n\t if (this.hasViewContainer || this.hasEmbeddedView) {\n\t this._createViewContainer();\n\t }\n\t if (this.component) {\n\t this._createComponentFactoryResolver();\n\t }\n\t }\n\t CompileElement.createNull = function () {\n\t return new CompileElement(null, null, null, null, null, null, [], [], false, false, [], []);\n\t };\n\t CompileElement.prototype._createViewContainer = function () {\n\t var fieldName = \"_vc_\" + this.nodeIndex;\n\t var parentNodeIndex = this.isRootElement() ? null : this.parent.nodeIndex;\n\t // private is fine here as no child view will reference a ViewContainer\n\t this.view.fields.push(new ClassField(fieldName, importType(resolveIdentifier(Identifiers.ViewContainer)), [StmtModifier.Private]));\n\t var statement = THIS_EXPR.prop(fieldName)\n\t .set(importExpr(resolveIdentifier(Identifiers.ViewContainer)).instantiate([\n\t literal(this.nodeIndex), literal(parentNodeIndex), THIS_EXPR, this.renderNode\n\t ]))\n\t .toStmt();\n\t this.view.createMethod.addStmt(statement);\n\t this.viewContainer = THIS_EXPR.prop(fieldName);\n\t this.instances.set(resolveIdentifierToken(Identifiers.ViewContainer).reference, this.viewContainer);\n\t this.view.viewContainers.push(this.viewContainer);\n\t };\n\t CompileElement.prototype._createComponentFactoryResolver = function () {\n\t var _this = this;\n\t var entryComponents = this.component.entryComponents.map(function (entryComponent) {\n\t var id = new CompileIdentifierMetadata({ name: entryComponent.name });\n\t _this._targetDependencies.push(new ComponentFactoryDependency$1(entryComponent, id));\n\t return id;\n\t });\n\t if (!entryComponents || entryComponents.length === 0) {\n\t return;\n\t }\n\t var createComponentFactoryResolverExpr = importExpr(resolveIdentifier(Identifiers.CodegenComponentFactoryResolver)).instantiate([\n\t literalArr(entryComponents.map(function (entryComponent) { return importExpr(entryComponent); })),\n\t injectFromViewParentInjector(this.view, resolveIdentifierToken(Identifiers.ComponentFactoryResolver), false)\n\t ]);\n\t var provider = new CompileProviderMetadata({\n\t token: resolveIdentifierToken(Identifiers.ComponentFactoryResolver),\n\t useValue: createComponentFactoryResolverExpr\n\t });\n\t // Add ComponentFactoryResolver as first provider as it does not have deps on other providers\n\t // ProviderAstType.PrivateService as only the component and its view can see it,\n\t // but nobody else\n\t this._resolvedProvidersArray.unshift(new ProviderAst(provider.token, false, true, [provider], exports.ProviderAstType.PrivateService, [], this.sourceAst.sourceSpan));\n\t };\n\t CompileElement.prototype.setComponentView = function (compViewExpr) {\n\t this.compViewExpr = compViewExpr;\n\t this.contentNodesByNgContentIndex =\n\t new Array(this.component.template.ngContentSelectors.length);\n\t for (var i = 0; i < this.contentNodesByNgContentIndex.length; i++) {\n\t this.contentNodesByNgContentIndex[i] = [];\n\t }\n\t };\n\t CompileElement.prototype.setEmbeddedView = function (embeddedView) {\n\t this.embeddedView = embeddedView;\n\t if (isPresent(embeddedView)) {\n\t var createTemplateRefExpr = importExpr(resolveIdentifier(Identifiers.TemplateRef_)).instantiate([\n\t THIS_EXPR, literal(this.nodeIndex), this.renderNode\n\t ]);\n\t var provider = new CompileProviderMetadata({\n\t token: resolveIdentifierToken(Identifiers.TemplateRef),\n\t useValue: createTemplateRefExpr\n\t });\n\t // Add TemplateRef as first provider as it does not have deps on other providers\n\t this._resolvedProvidersArray.unshift(new ProviderAst(provider.token, false, true, [provider], exports.ProviderAstType.Builtin, [], this.sourceAst.sourceSpan));\n\t }\n\t };\n\t CompileElement.prototype.beforeChildren = function () {\n\t var _this = this;\n\t if (this.hasViewContainer) {\n\t this.instances.set(resolveIdentifierToken(Identifiers.ViewContainerRef).reference, this.viewContainer.prop('vcRef'));\n\t }\n\t this._resolvedProviders = new Map();\n\t this._resolvedProvidersArray.forEach(function (provider) { return _this._resolvedProviders.set(provider.token.reference, provider); });\n\t // create all the provider instances, some in the view constructor,\n\t // some as getters. We rely on the fact that they are already sorted topologically.\n\t Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n\t var isDirectiveWrapper = resolvedProvider.providerType === exports.ProviderAstType.Component ||\n\t resolvedProvider.providerType === exports.ProviderAstType.Directive;\n\t var providerValueExpressions = resolvedProvider.providers.map(function (provider) {\n\t if (provider.useExisting) {\n\t return _this._getDependency(resolvedProvider.providerType, new CompileDiDependencyMetadata({ token: provider.useExisting }));\n\t }\n\t else if (provider.useFactory) {\n\t var deps = provider.deps || provider.useFactory.diDeps;\n\t var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\n\t return importExpr(provider.useFactory).callFn(depsExpr);\n\t }\n\t else if (provider.useClass) {\n\t var deps = provider.deps || provider.useClass.diDeps;\n\t var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\n\t if (isDirectiveWrapper) {\n\t var directiveWrapperIdentifier = new CompileIdentifierMetadata({ name: DirectiveWrapperCompiler.dirWrapperClassName(provider.useClass) });\n\t _this._targetDependencies.push(new DirectiveWrapperDependency(provider.useClass, directiveWrapperIdentifier));\n\t return DirectiveWrapperExpressions.create(directiveWrapperIdentifier, depsExpr);\n\t }\n\t else {\n\t return importExpr(provider.useClass)\n\t .instantiate(depsExpr, importType(provider.useClass));\n\t }\n\t }\n\t else {\n\t return convertValueToOutputAst(provider.useValue);\n\t }\n\t });\n\t var propName = \"_\" + resolvedProvider.token.name + \"_\" + _this.nodeIndex + \"_\" + _this.instances.size;\n\t var instance = createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager, _this);\n\t if (isDirectiveWrapper) {\n\t _this.directiveWrapperInstance.set(resolvedProvider.token.reference, instance);\n\t _this.instances.set(resolvedProvider.token.reference, DirectiveWrapperExpressions.context(instance));\n\t }\n\t else {\n\t _this.instances.set(resolvedProvider.token.reference, instance);\n\t }\n\t });\n\t var _loop_1 = function(i) {\n\t var directive = this_1._directives[i];\n\t var directiveInstance = this_1.instances.get(identifierToken(directive.type).reference);\n\t directive.queries.forEach(function (queryMeta) { _this._addQuery(queryMeta, directiveInstance); });\n\t };\n\t var this_1 = this;\n\t for (var i = 0; i < this._directives.length; i++) {\n\t _loop_1(i);\n\t }\n\t var queriesWithReads = [];\n\t Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n\t var queriesForProvider = _this._getQueriesFor(resolvedProvider.token);\n\t queriesWithReads.push.apply(queriesWithReads, queriesForProvider.map(function (query) { return new _QueryWithRead(query, resolvedProvider.token); }));\n\t });\n\t Object.keys(this.referenceTokens).forEach(function (varName) {\n\t var token = _this.referenceTokens[varName];\n\t var varValue;\n\t if (token) {\n\t varValue = _this.instances.get(token.reference);\n\t }\n\t else {\n\t varValue = _this.renderNode;\n\t }\n\t _this.view.locals.set(varName, varValue);\n\t var varToken = new CompileTokenMetadata({ value: varName });\n\t queriesWithReads.push.apply(queriesWithReads, _this._getQueriesFor(varToken).map(function (query) { return new _QueryWithRead(query, varToken); }));\n\t });\n\t queriesWithReads.forEach(function (queryWithRead) {\n\t var value;\n\t if (isPresent(queryWithRead.read.identifier)) {\n\t // query for an identifier\n\t value = _this.instances.get(queryWithRead.read.reference);\n\t }\n\t else {\n\t // query for a reference\n\t var token = _this.referenceTokens[queryWithRead.read.value];\n\t if (isPresent(token)) {\n\t value = _this.instances.get(token.reference);\n\t }\n\t else {\n\t value = _this.elementRef;\n\t }\n\t }\n\t if (isPresent(value)) {\n\t queryWithRead.query.addValue(value, _this.view);\n\t }\n\t });\n\t };\n\t CompileElement.prototype.afterChildren = function (childNodeCount) {\n\t var _this = this;\n\t Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n\t // Note: afterChildren is called after recursing into children.\n\t // This is good so that an injector match in an element that is closer to a requesting element\n\t // matches first.\n\t var providerExpr = _this.instances.get(resolvedProvider.token.reference);\n\t // Note: view providers are only visible on the injector of that element.\n\t // This is not fully correct as the rules during codegen don't allow a directive\n\t // to get hold of a view provdier on the same element. We still do this semantic\n\t // as it simplifies our model to having only one runtime injector per element.\n\t var providerChildNodeCount = resolvedProvider.providerType === exports.ProviderAstType.PrivateService ? 0 : childNodeCount;\n\t _this.view.injectorGetMethod.addStmt(createInjectInternalCondition(_this.nodeIndex, providerChildNodeCount, resolvedProvider, providerExpr));\n\t });\n\t Array.from(this._queries.values())\n\t .forEach(function (queries) { return queries.forEach(function (q) {\n\t return q.afterChildren(_this.view.createMethod, _this.view.updateContentQueriesMethod);\n\t }); });\n\t };\n\t CompileElement.prototype.addContentNode = function (ngContentIndex, nodeExpr) {\n\t this.contentNodesByNgContentIndex[ngContentIndex].push(nodeExpr);\n\t };\n\t CompileElement.prototype.getComponent = function () {\n\t return isPresent(this.component) ?\n\t this.instances.get(identifierToken(this.component.type).reference) :\n\t null;\n\t };\n\t CompileElement.prototype.getProviderTokens = function () {\n\t return Array.from(this._resolvedProviders.values())\n\t .map(function (resolvedProvider) { return createDiTokenExpression(resolvedProvider.token); });\n\t };\n\t CompileElement.prototype._getQueriesFor = function (token) {\n\t var result = [];\n\t var currentEl = this;\n\t var distance = 0;\n\t var queries;\n\t while (!currentEl.isNull()) {\n\t queries = currentEl._queries.get(token.reference);\n\t if (isPresent(queries)) {\n\t result.push.apply(result, queries.filter(function (query) { return query.meta.descendants || distance <= 1; }));\n\t }\n\t if (currentEl._directives.length > 0) {\n\t distance++;\n\t }\n\t currentEl = currentEl.parent;\n\t }\n\t queries = this.view.componentView.viewQueries.get(token.reference);\n\t if (isPresent(queries)) {\n\t result.push.apply(result, queries);\n\t }\n\t return result;\n\t };\n\t CompileElement.prototype._addQuery = function (queryMeta, directiveInstance) {\n\t var propName = \"_query_\" + queryMeta.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._queryCount++;\n\t var queryList = createQueryList(queryMeta, directiveInstance, propName, this.view);\n\t var query = new CompileQuery(queryMeta, queryList, directiveInstance, this.view);\n\t addQueryToTokenMap(this._queries, query);\n\t return query;\n\t };\n\t CompileElement.prototype._getLocalDependency = function (requestingProviderType, dep) {\n\t var result = null;\n\t if (isPresent(dep.token)) {\n\t // access builtins with special visibility\n\t if (!result) {\n\t if (dep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference) {\n\t if (requestingProviderType === exports.ProviderAstType.Component) {\n\t return this.compViewExpr.prop('ref');\n\t }\n\t else {\n\t return getPropertyInView(THIS_EXPR.prop('ref'), this.view, this.view.componentView);\n\t }\n\t }\n\t }\n\t // access regular providers on the element\n\t if (!result) {\n\t var resolvedProvider = this._resolvedProviders.get(dep.token.reference);\n\t // don't allow directives / public services to access private services.\n\t // only components and private services can access private services.\n\t if (resolvedProvider && (requestingProviderType === exports.ProviderAstType.Directive ||\n\t requestingProviderType === exports.ProviderAstType.PublicService) &&\n\t resolvedProvider.providerType === exports.ProviderAstType.PrivateService) {\n\t return null;\n\t }\n\t result = this.instances.get(dep.token.reference);\n\t }\n\t }\n\t return result;\n\t };\n\t CompileElement.prototype._getDependency = function (requestingProviderType, dep) {\n\t var currElement = this;\n\t var result = null;\n\t if (dep.isValue) {\n\t result = literal(dep.value);\n\t }\n\t if (!result && !dep.isSkipSelf) {\n\t result = this._getLocalDependency(requestingProviderType, dep);\n\t }\n\t // check parent elements\n\t while (!result && !currElement.parent.isNull()) {\n\t currElement = currElement.parent;\n\t result = currElement._getLocalDependency(exports.ProviderAstType.PublicService, new CompileDiDependencyMetadata({ token: dep.token }));\n\t }\n\t if (!result) {\n\t result = injectFromViewParentInjector(this.view, dep.token, dep.isOptional);\n\t }\n\t if (!result) {\n\t result = NULL_EXPR;\n\t }\n\t return getPropertyInView(result, this.view, currElement.view);\n\t };\n\t return CompileElement;\n\t }(CompileNode));\n\t function createInjectInternalCondition(nodeIndex, childNodeCount, provider, providerExpr) {\n\t var indexCondition;\n\t if (childNodeCount > 0) {\n\t indexCondition = literal(nodeIndex)\n\t .lowerEquals(InjectMethodVars$1.requestNodeIndex)\n\t .and(InjectMethodVars$1.requestNodeIndex.lowerEquals(literal(nodeIndex + childNodeCount)));\n\t }\n\t else {\n\t indexCondition = literal(nodeIndex).identical(InjectMethodVars$1.requestNodeIndex);\n\t }\n\t return new IfStmt(InjectMethodVars$1.token.identical(createDiTokenExpression(provider.token)).and(indexCondition), [new ReturnStatement(providerExpr)]);\n\t }\n\t function createProviderProperty(propName, provider, providerValueExpressions, isMulti, isEager, compileElement) {\n\t var view = compileElement.view;\n\t var resolvedProviderValueExpr;\n\t var type;\n\t if (isMulti) {\n\t resolvedProviderValueExpr = literalArr(providerValueExpressions);\n\t type = new ArrayType(DYNAMIC_TYPE);\n\t }\n\t else {\n\t resolvedProviderValueExpr = providerValueExpressions[0];\n\t type = providerValueExpressions[0].type;\n\t }\n\t if (!type) {\n\t type = DYNAMIC_TYPE;\n\t }\n\t if (isEager) {\n\t view.fields.push(new ClassField(propName, type));\n\t view.createMethod.addStmt(THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\n\t }\n\t else {\n\t var internalField = \"_\" + propName;\n\t view.fields.push(new ClassField(internalField, type));\n\t var getter = new CompileMethod(view);\n\t getter.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t // Note: Equals is important for JS so that it also checks the undefined case!\n\t getter.addStmt(new IfStmt(THIS_EXPR.prop(internalField).isBlank(), [THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]));\n\t getter.addStmt(new ReturnStatement(THIS_EXPR.prop(internalField)));\n\t view.getters.push(new ClassGetter(propName, getter.finish(), type));\n\t }\n\t return THIS_EXPR.prop(propName);\n\t }\n\t var _QueryWithRead = (function () {\n\t function _QueryWithRead(query, match) {\n\t this.query = query;\n\t this.read = query.meta.read || match;\n\t }\n\t return _QueryWithRead;\n\t }());\n\t\n\t var CompilePipe = (function () {\n\t function CompilePipe(view, meta) {\n\t var _this = this;\n\t this.view = view;\n\t this.meta = meta;\n\t this._purePipeProxyCount = 0;\n\t this.instance = THIS_EXPR.prop(\"_pipe_\" + meta.name + \"_\" + view.pipeCount++);\n\t var deps = this.meta.type.diDeps.map(function (diDep) {\n\t if (diDep.token.reference ===\n\t resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference) {\n\t return getPropertyInView(THIS_EXPR.prop('ref'), _this.view, _this.view.componentView);\n\t }\n\t return injectFromViewParentInjector(view, diDep.token, false);\n\t });\n\t this.view.fields.push(new ClassField(this.instance.name, importType(this.meta.type)));\n\t this.view.createMethod.resetDebugInfo(null, null);\n\t this.view.createMethod.addStmt(THIS_EXPR.prop(this.instance.name)\n\t .set(importExpr(this.meta.type).instantiate(deps))\n\t .toStmt());\n\t }\n\t CompilePipe.call = function (view, name, args) {\n\t var compView = view.componentView;\n\t var meta = _findPipeMeta(compView, name);\n\t var pipe;\n\t if (meta.pure) {\n\t // pure pipes live on the component view\n\t pipe = compView.purePipes.get(name);\n\t if (!pipe) {\n\t pipe = new CompilePipe(compView, meta);\n\t compView.purePipes.set(name, pipe);\n\t compView.pipes.push(pipe);\n\t }\n\t }\n\t else {\n\t // Non pure pipes live on the view that called it\n\t pipe = new CompilePipe(view, meta);\n\t view.pipes.push(pipe);\n\t }\n\t return pipe._call(view, args);\n\t };\n\t Object.defineProperty(CompilePipe.prototype, \"pure\", {\n\t get: function () { return this.meta.pure; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t CompilePipe.prototype._call = function (callingView, args) {\n\t if (this.meta.pure) {\n\t // PurePipeProxies live on the view that called them.\n\t var purePipeProxyInstance = THIS_EXPR.prop(this.instance.name + \"_\" + this._purePipeProxyCount++);\n\t var pipeInstanceSeenFromPureProxy = getPropertyInView(this.instance, callingView, this.view);\n\t createPureProxy(pipeInstanceSeenFromPureProxy.prop('transform')\n\t .callMethod(BuiltinMethod.Bind, [pipeInstanceSeenFromPureProxy]), args.length, purePipeProxyInstance, { fields: callingView.fields, ctorStmts: callingView.createMethod });\n\t return importExpr(resolveIdentifier(Identifiers.castByValue))\n\t .callFn([purePipeProxyInstance, pipeInstanceSeenFromPureProxy.prop('transform')])\n\t .callFn(args);\n\t }\n\t else {\n\t return getPropertyInView(this.instance, callingView, this.view).callMethod('transform', args);\n\t }\n\t };\n\t return CompilePipe;\n\t }());\n\t function _findPipeMeta(view, name) {\n\t var pipeMeta = null;\n\t for (var i = view.pipeMetas.length - 1; i >= 0; i--) {\n\t var localPipeMeta = view.pipeMetas[i];\n\t if (localPipeMeta.name == name) {\n\t pipeMeta = localPipeMeta;\n\t break;\n\t }\n\t }\n\t if (!pipeMeta) {\n\t throw new Error(\"Illegal state: Could not find pipe \" + name + \" although the parser should have detected this error!\");\n\t }\n\t return pipeMeta;\n\t }\n\t\n\t var CompileViewRootNodeType;\n\t (function (CompileViewRootNodeType) {\n\t CompileViewRootNodeType[CompileViewRootNodeType[\"Node\"] = 0] = \"Node\";\n\t CompileViewRootNodeType[CompileViewRootNodeType[\"ViewContainer\"] = 1] = \"ViewContainer\";\n\t CompileViewRootNodeType[CompileViewRootNodeType[\"NgContent\"] = 2] = \"NgContent\";\n\t })(CompileViewRootNodeType || (CompileViewRootNodeType = {}));\n\t var CompileViewRootNode = (function () {\n\t function CompileViewRootNode(type, expr, ngContentIndex) {\n\t this.type = type;\n\t this.expr = expr;\n\t this.ngContentIndex = ngContentIndex;\n\t }\n\t return CompileViewRootNode;\n\t }());\n\t var CompileView = (function () {\n\t function CompileView(component, genConfig, pipeMetas, styles, animations, viewIndex, declarationElement, templateVariableBindings) {\n\t var _this = this;\n\t this.component = component;\n\t this.genConfig = genConfig;\n\t this.pipeMetas = pipeMetas;\n\t this.styles = styles;\n\t this.animations = animations;\n\t this.viewIndex = viewIndex;\n\t this.declarationElement = declarationElement;\n\t this.templateVariableBindings = templateVariableBindings;\n\t this.viewChildren = [];\n\t this.nodes = [];\n\t this.rootNodes = [];\n\t this.lastRenderNode = NULL_EXPR;\n\t this.viewContainers = [];\n\t this.methods = [];\n\t this.ctorStmts = [];\n\t this.fields = [];\n\t this.getters = [];\n\t this.disposables = [];\n\t this.purePipes = new Map();\n\t this.pipes = [];\n\t this.locals = new Map();\n\t this.literalArrayCount = 0;\n\t this.literalMapCount = 0;\n\t this.pipeCount = 0;\n\t this.createMethod = new CompileMethod(this);\n\t this.animationBindingsMethod = new CompileMethod(this);\n\t this.injectorGetMethod = new CompileMethod(this);\n\t this.updateContentQueriesMethod = new CompileMethod(this);\n\t this.dirtyParentQueriesMethod = new CompileMethod(this);\n\t this.updateViewQueriesMethod = new CompileMethod(this);\n\t this.detectChangesInInputsMethod = new CompileMethod(this);\n\t this.detectChangesRenderPropertiesMethod = new CompileMethod(this);\n\t this.afterContentLifecycleCallbacksMethod = new CompileMethod(this);\n\t this.afterViewLifecycleCallbacksMethod = new CompileMethod(this);\n\t this.destroyMethod = new CompileMethod(this);\n\t this.detachMethod = new CompileMethod(this);\n\t this.viewType = getViewType(component, viewIndex);\n\t this.className = getViewClassName(component, viewIndex);\n\t this.classType = importType(new CompileIdentifierMetadata({ name: this.className }));\n\t this.classExpr = variable(this.className);\n\t if (this.viewType === ViewType.COMPONENT || this.viewType === ViewType.HOST) {\n\t this.componentView = this;\n\t }\n\t else {\n\t this.componentView = this.declarationElement.view.componentView;\n\t }\n\t this.componentContext =\n\t getPropertyInView(THIS_EXPR.prop('context'), this, this.componentView);\n\t var viewQueries = new Map();\n\t if (this.viewType === ViewType.COMPONENT) {\n\t var directiveInstance_1 = THIS_EXPR.prop('context');\n\t this.component.viewQueries.forEach(function (queryMeta, queryIndex) {\n\t var propName = \"_viewQuery_\" + queryMeta.selectors[0].name + \"_\" + queryIndex;\n\t var queryList = createQueryList(queryMeta, directiveInstance_1, propName, _this);\n\t var query = new CompileQuery(queryMeta, queryList, directiveInstance_1, _this);\n\t addQueryToTokenMap(viewQueries, query);\n\t });\n\t }\n\t this.viewQueries = viewQueries;\n\t templateVariableBindings.forEach(function (entry) { _this.locals.set(entry[1], THIS_EXPR.prop('context').prop(entry[0])); });\n\t if (!this.declarationElement.isNull()) {\n\t this.declarationElement.setEmbeddedView(this);\n\t }\n\t }\n\t CompileView.prototype.callPipe = function (name, input, args) {\n\t return CompilePipe.call(this, name, [input].concat(args));\n\t };\n\t CompileView.prototype.getLocal = function (name) {\n\t if (name == EventHandlerVars.event.name) {\n\t return EventHandlerVars.event;\n\t }\n\t var currView = this;\n\t var result = currView.locals.get(name);\n\t while (!result && isPresent(currView.declarationElement.view)) {\n\t currView = currView.declarationElement.view;\n\t result = currView.locals.get(name);\n\t }\n\t if (isPresent(result)) {\n\t return getPropertyInView(result, this, currView);\n\t }\n\t else {\n\t return null;\n\t }\n\t };\n\t CompileView.prototype.afterNodes = function () {\n\t var _this = this;\n\t Array.from(this.viewQueries.values())\n\t .forEach(function (queries) { return queries.forEach(function (q) { return q.afterChildren(_this.createMethod, _this.updateViewQueriesMethod); }); });\n\t };\n\t return CompileView;\n\t }());\n\t function getViewType(component, embeddedTemplateIndex) {\n\t if (embeddedTemplateIndex > 0) {\n\t return ViewType.EMBEDDED;\n\t }\n\t if (component.type.isHost) {\n\t return ViewType.HOST;\n\t }\n\t return ViewType.COMPONENT;\n\t }\n\t\n\t function bindOutputs(boundEvents, directives, compileElement, bindToRenderer) {\n\t var usedEvents = collectEvents(boundEvents, directives);\n\t if (!usedEvents.size) {\n\t return false;\n\t }\n\t if (bindToRenderer) {\n\t subscribeToRenderEvents(usedEvents, compileElement);\n\t }\n\t subscribeToDirectiveEvents(usedEvents, directives, compileElement);\n\t generateHandleEventMethod(boundEvents, directives, compileElement);\n\t return true;\n\t }\n\t function collectEvents(boundEvents, directives) {\n\t var usedEvents = new Map();\n\t boundEvents.forEach(function (event) { usedEvents.set(event.fullName, event); });\n\t directives.forEach(function (dirAst) {\n\t dirAst.hostEvents.forEach(function (event) { usedEvents.set(event.fullName, event); });\n\t });\n\t return usedEvents;\n\t }\n\t function subscribeToRenderEvents(usedEvents, compileElement) {\n\t var eventAndTargetExprs = [];\n\t usedEvents.forEach(function (event) {\n\t if (!event.phase) {\n\t eventAndTargetExprs.push(literal(event.name), literal(event.target));\n\t }\n\t });\n\t if (eventAndTargetExprs.length) {\n\t var disposableVar = variable(\"disposable_\" + compileElement.view.disposables.length);\n\t compileElement.view.disposables.push(disposableVar);\n\t compileElement.view.createMethod.addStmt(disposableVar\n\t .set(importExpr(resolveIdentifier(Identifiers.subscribeToRenderElement)).callFn([\n\t THIS_EXPR, compileElement.renderNode, createInlineArray(eventAndTargetExprs),\n\t handleEventExpr(compileElement)\n\t ]))\n\t .toDeclStmt(FUNCTION_TYPE, [StmtModifier.Private]));\n\t }\n\t }\n\t function subscribeToDirectiveEvents(usedEvents, directives, compileElement) {\n\t var usedEventNames = Array.from(usedEvents.keys());\n\t directives.forEach(function (dirAst) {\n\t var dirWrapper = compileElement.directiveWrapperInstance.get(dirAst.directive.type.reference);\n\t compileElement.view.createMethod.addStmts(DirectiveWrapperExpressions.subscribe(dirAst.directive, dirAst.hostProperties, usedEventNames, dirWrapper, THIS_EXPR, handleEventExpr(compileElement)));\n\t });\n\t }\n\t function generateHandleEventMethod(boundEvents, directives, compileElement) {\n\t var hasComponentHostListener = directives.some(function (dirAst) { return dirAst.hostEvents.some(function (event) { return dirAst.directive.isComponent; }); });\n\t var markPathToRootStart = hasComponentHostListener ? compileElement.compViewExpr : THIS_EXPR;\n\t var handleEventStmts = new CompileMethod(compileElement.view);\n\t handleEventStmts.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t handleEventStmts.push(markPathToRootStart.callMethod('markPathToRootAsCheckOnce', []).toStmt());\n\t var eventNameVar = variable('eventName');\n\t var resultVar = variable('result');\n\t handleEventStmts.push(resultVar.set(literal(true)).toDeclStmt(BOOL_TYPE));\n\t directives.forEach(function (dirAst, dirIdx) {\n\t var dirWrapper = compileElement.directiveWrapperInstance.get(dirAst.directive.type.reference);\n\t if (dirAst.hostEvents.length > 0) {\n\t handleEventStmts.push(resultVar\n\t .set(DirectiveWrapperExpressions\n\t .handleEvent(dirAst.hostEvents, dirWrapper, eventNameVar, EventHandlerVars.event)\n\t .and(resultVar))\n\t .toStmt());\n\t }\n\t });\n\t boundEvents.forEach(function (renderEvent, renderEventIdx) {\n\t var evalResult = convertActionBinding(compileElement.view, compileElement.view, compileElement.view.componentContext, renderEvent.handler, \"sub_\" + renderEventIdx);\n\t var trueStmts = evalResult.stmts;\n\t if (evalResult.preventDefault) {\n\t trueStmts.push(resultVar.set(evalResult.preventDefault.and(resultVar)).toStmt());\n\t }\n\t // TODO(tbosch): convert this into a `switch` once our OutputAst supports it.\n\t handleEventStmts.push(new IfStmt(eventNameVar.equals(literal(renderEvent.fullName)), trueStmts));\n\t });\n\t handleEventStmts.push(new ReturnStatement(resultVar));\n\t compileElement.view.methods.push(new ClassMethod(getHandleEventMethodName(compileElement.nodeIndex), [\n\t new FnParam(eventNameVar.name, STRING_TYPE),\n\t new FnParam(EventHandlerVars.event.name, DYNAMIC_TYPE)\n\t ], handleEventStmts.finish(), BOOL_TYPE));\n\t }\n\t function handleEventExpr(compileElement) {\n\t var handleEventMethodName = getHandleEventMethodName(compileElement.nodeIndex);\n\t return THIS_EXPR.callMethod('eventHandler', [THIS_EXPR.prop(handleEventMethodName)]);\n\t }\n\t\n\t var STATE_IS_NEVER_CHECKED = THIS_EXPR.prop('numberOfChecks').identical(new LiteralExpr(0));\n\t var NOT_THROW_ON_CHANGES = not(DetectChangesVars.throwOnChange);\n\t function bindDirectiveAfterContentLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n\t var view = compileElement.view;\n\t var lifecycleHooks = directiveMeta.type.lifecycleHooks;\n\t var afterContentLifecycleCallbacksMethod = view.afterContentLifecycleCallbacksMethod;\n\t afterContentLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t if (lifecycleHooks.indexOf(LifecycleHooks.AfterContentInit) !== -1) {\n\t afterContentLifecycleCallbacksMethod.addStmt(new IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterContentInit', []).toStmt()]));\n\t }\n\t if (lifecycleHooks.indexOf(LifecycleHooks.AfterContentChecked) !== -1) {\n\t afterContentLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterContentChecked', []).toStmt());\n\t }\n\t }\n\t function bindDirectiveAfterViewLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n\t var view = compileElement.view;\n\t var lifecycleHooks = directiveMeta.type.lifecycleHooks;\n\t var afterViewLifecycleCallbacksMethod = view.afterViewLifecycleCallbacksMethod;\n\t afterViewLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t if (lifecycleHooks.indexOf(LifecycleHooks.AfterViewInit) !== -1) {\n\t afterViewLifecycleCallbacksMethod.addStmt(new IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterViewInit', []).toStmt()]));\n\t }\n\t if (lifecycleHooks.indexOf(LifecycleHooks.AfterViewChecked) !== -1) {\n\t afterViewLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterViewChecked', []).toStmt());\n\t }\n\t }\n\t function bindDirectiveWrapperLifecycleCallbacks(dir, directiveWrapperIntance, compileElement) {\n\t compileElement.view.destroyMethod.addStmts(DirectiveWrapperExpressions.ngOnDestroy(dir.directive, directiveWrapperIntance));\n\t compileElement.view.detachMethod.addStmts(DirectiveWrapperExpressions.ngOnDetach(dir.hostProperties, directiveWrapperIntance, THIS_EXPR, compileElement.compViewExpr || THIS_EXPR, compileElement.renderNode));\n\t }\n\t function bindInjectableDestroyLifecycleCallbacks(provider, providerInstance, compileElement) {\n\t var onDestroyMethod = compileElement.view.destroyMethod;\n\t onDestroyMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t if (provider.providerType !== exports.ProviderAstType.Directive &&\n\t provider.providerType !== exports.ProviderAstType.Component &&\n\t provider.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n\t onDestroyMethod.addStmt(providerInstance.callMethod('ngOnDestroy', []).toStmt());\n\t }\n\t }\n\t function bindPipeDestroyLifecycleCallbacks(pipeMeta, pipeInstance, view) {\n\t var onDestroyMethod = view.destroyMethod;\n\t if (pipeMeta.type.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n\t onDestroyMethod.addStmt(pipeInstance.callMethod('ngOnDestroy', []).toStmt());\n\t }\n\t }\n\t\n\t function bindRenderText(boundText, compileNode, view) {\n\t var valueField = createCheckBindingField(view);\n\t var evalResult = convertPropertyBinding(view, view, view.componentContext, boundText.value, valueField.bindingId);\n\t if (!evalResult) {\n\t return null;\n\t }\n\t view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileNode.nodeIndex, boundText);\n\t view.detectChangesRenderPropertiesMethod.addStmts(createCheckBindingStmt(evalResult, valueField.expression, DetectChangesVars.throwOnChange, [THIS_EXPR.prop('renderer')\n\t .callMethod('setText', [compileNode.renderNode, evalResult.currValExpr])\n\t .toStmt()]));\n\t }\n\t function bindRenderInputs(boundProps, hasEvents, compileElement) {\n\t var view = compileElement.view;\n\t var renderNode = compileElement.renderNode;\n\t boundProps.forEach(function (boundProp) {\n\t var bindingField = createCheckBindingField(view);\n\t view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileElement.nodeIndex, boundProp);\n\t var evalResult = convertPropertyBinding(view, view, compileElement.view.componentContext, boundProp.value, bindingField.bindingId);\n\t if (!evalResult) {\n\t return;\n\t }\n\t var checkBindingStmts = [];\n\t var compileMethod = view.detectChangesRenderPropertiesMethod;\n\t switch (boundProp.type) {\n\t case exports.PropertyBindingType.Property:\n\t case exports.PropertyBindingType.Attribute:\n\t case exports.PropertyBindingType.Class:\n\t case exports.PropertyBindingType.Style:\n\t checkBindingStmts.push.apply(checkBindingStmts, writeToRenderer(THIS_EXPR, boundProp, renderNode, evalResult.currValExpr, view.genConfig.logBindingUpdate));\n\t break;\n\t case exports.PropertyBindingType.Animation:\n\t compileMethod = view.animationBindingsMethod;\n\t var _a = triggerAnimation(THIS_EXPR, THIS_EXPR, boundProp, (hasEvents ? THIS_EXPR.prop(getHandleEventMethodName(compileElement.nodeIndex)) :\n\t importExpr(resolveIdentifier(Identifiers.noop)))\n\t .callMethod(BuiltinMethod.Bind, [THIS_EXPR]), compileElement.renderNode, evalResult.currValExpr, bindingField.expression), updateStmts = _a.updateStmts, detachStmts = _a.detachStmts;\n\t checkBindingStmts.push.apply(checkBindingStmts, updateStmts);\n\t view.detachMethod.addStmts(detachStmts);\n\t break;\n\t }\n\t compileMethod.addStmts(createCheckBindingStmt(evalResult, bindingField.expression, DetectChangesVars.throwOnChange, checkBindingStmts));\n\t });\n\t }\n\t function bindDirectiveHostProps(directiveAst, directiveWrapperInstance, compileElement, elementName, schemaRegistry) {\n\t // We need to provide the SecurityContext for properties that could need sanitization.\n\t var runtimeSecurityCtxExprs = directiveAst.hostProperties.filter(function (boundProp) { return boundProp.needsRuntimeSecurityContext; })\n\t .map(function (boundProp) {\n\t var ctx;\n\t switch (boundProp.type) {\n\t case exports.PropertyBindingType.Property:\n\t ctx = schemaRegistry.securityContext(elementName, boundProp.name, false);\n\t break;\n\t case exports.PropertyBindingType.Attribute:\n\t ctx = schemaRegistry.securityContext(elementName, boundProp.name, true);\n\t break;\n\t default:\n\t throw new Error(\"Illegal state: Only property / attribute bindings can have an unknown security context! Binding \" + boundProp.name);\n\t }\n\t return createEnumExpression(Identifiers.SecurityContext, ctx);\n\t });\n\t compileElement.view.detectChangesRenderPropertiesMethod.addStmts(DirectiveWrapperExpressions.checkHost(directiveAst.hostProperties, directiveWrapperInstance, THIS_EXPR, compileElement.compViewExpr || THIS_EXPR, compileElement.renderNode, DetectChangesVars.throwOnChange, runtimeSecurityCtxExprs));\n\t }\n\t function bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement) {\n\t var view = compileElement.view;\n\t var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\n\t detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n\t directiveAst.inputs.forEach(function (input, inputIdx) {\n\t // Note: We can't use `fields.length` here, as we are not adding a field!\n\t var bindingId = compileElement.nodeIndex + \"_\" + dirIndex + \"_\" + inputIdx;\n\t detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, input);\n\t var evalResult = convertPropertyBinding(view, view, view.componentContext, input.value, bindingId);\n\t if (!evalResult) {\n\t return;\n\t }\n\t detectChangesInInputsMethod.addStmts(evalResult.stmts);\n\t detectChangesInInputsMethod.addStmt(directiveWrapperInstance\n\t .callMethod(\"check_\" + input.directiveName, [\n\t evalResult.currValExpr, DetectChangesVars.throwOnChange,\n\t evalResult.forceUpdate || literal(false)\n\t ])\n\t .toStmt());\n\t });\n\t var isOnPushComp = directiveAst.directive.isComponent &&\n\t !isDefaultChangeDetectionStrategy(directiveAst.directive.changeDetection);\n\t var directiveDetectChangesExpr = DirectiveWrapperExpressions.ngDoCheck(directiveWrapperInstance, THIS_EXPR, compileElement.renderNode, DetectChangesVars.throwOnChange);\n\t var directiveDetectChangesStmt = isOnPushComp ?\n\t new IfStmt(directiveDetectChangesExpr, [compileElement.compViewExpr.callMethod('markAsCheckOnce', []).toStmt()]) :\n\t directiveDetectChangesExpr.toStmt();\n\t detectChangesInInputsMethod.addStmt(directiveDetectChangesStmt);\n\t }\n\t\n\t function bindView(view, parsedTemplate, schemaRegistry) {\n\t var visitor = new ViewBinderVisitor(view, schemaRegistry);\n\t templateVisitAll(visitor, parsedTemplate);\n\t view.pipes.forEach(function (pipe) { bindPipeDestroyLifecycleCallbacks(pipe.meta, pipe.instance, pipe.view); });\n\t }\n\t var ViewBinderVisitor = (function () {\n\t function ViewBinderVisitor(view, _schemaRegistry) {\n\t this.view = view;\n\t this._schemaRegistry = _schemaRegistry;\n\t this._nodeIndex = 0;\n\t }\n\t ViewBinderVisitor.prototype.visitBoundText = function (ast, parent) {\n\t var node = this.view.nodes[this._nodeIndex++];\n\t bindRenderText(ast, node, this.view);\n\t return null;\n\t };\n\t ViewBinderVisitor.prototype.visitText = function (ast, parent) {\n\t this._nodeIndex++;\n\t return null;\n\t };\n\t ViewBinderVisitor.prototype.visitNgContent = function (ast, parent) { return null; };\n\t ViewBinderVisitor.prototype.visitElement = function (ast, parent) {\n\t var _this = this;\n\t var compileElement = this.view.nodes[this._nodeIndex++];\n\t var hasEvents = bindOutputs(ast.outputs, ast.directives, compileElement, true);\n\t bindRenderInputs(ast.inputs, hasEvents, compileElement);\n\t ast.directives.forEach(function (directiveAst, dirIndex) {\n\t var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n\t bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement);\n\t bindDirectiveHostProps(directiveAst, directiveWrapperInstance, compileElement, ast.name, _this._schemaRegistry);\n\t });\n\t templateVisitAll(this, ast.children, compileElement);\n\t // afterContent and afterView lifecycles need to be called bottom up\n\t // so that children are notified before parents\n\t ast.directives.forEach(function (directiveAst) {\n\t var directiveInstance = compileElement.instances.get(directiveAst.directive.type.reference);\n\t var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n\t bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n\t bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n\t bindDirectiveWrapperLifecycleCallbacks(directiveAst, directiveWrapperInstance, compileElement);\n\t });\n\t ast.providers.forEach(function (providerAst) {\n\t var providerInstance = compileElement.instances.get(providerAst.token.reference);\n\t bindInjectableDestroyLifecycleCallbacks(providerAst, providerInstance, compileElement);\n\t });\n\t return null;\n\t };\n\t ViewBinderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\n\t var compileElement = this.view.nodes[this._nodeIndex++];\n\t bindOutputs(ast.outputs, ast.directives, compileElement, false);\n\t ast.directives.forEach(function (directiveAst, dirIndex) {\n\t var directiveInstance = compileElement.instances.get(directiveAst.directive.type.reference);\n\t var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n\t bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement);\n\t bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n\t bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n\t bindDirectiveWrapperLifecycleCallbacks(directiveAst, directiveWrapperInstance, compileElement);\n\t });\n\t ast.providers.forEach(function (providerAst) {\n\t var providerInstance = compileElement.instances.get(providerAst.token.reference);\n\t bindInjectableDestroyLifecycleCallbacks(providerAst, providerInstance, compileElement);\n\t });\n\t bindView(compileElement.embeddedView, ast.children, this._schemaRegistry);\n\t return null;\n\t };\n\t ViewBinderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\n\t ViewBinderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\n\t ViewBinderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\n\t return null;\n\t };\n\t ViewBinderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\n\t ViewBinderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\n\t ViewBinderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\n\t ViewBinderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\n\t return ViewBinderVisitor;\n\t }());\n\t\n\t var IMPLICIT_TEMPLATE_VAR = '\\$implicit';\n\t var CLASS_ATTR$1 = 'class';\n\t var STYLE_ATTR = 'style';\n\t var NG_CONTAINER_TAG = 'ng-container';\n\t var parentRenderNodeVar = variable('parentRenderNode');\n\t var rootSelectorVar = variable('rootSelector');\n\t function buildView(view, template, targetDependencies) {\n\t var builderVisitor = new ViewBuilderVisitor(view, targetDependencies);\n\t var parentEl = view.declarationElement.isNull() ? view.declarationElement : view.declarationElement.parent;\n\t templateVisitAll(builderVisitor, template, parentEl);\n\t if (view.viewType === ViewType.EMBEDDED || view.viewType === ViewType.HOST) {\n\t view.lastRenderNode = builderVisitor.getOrCreateLastRenderNode();\n\t }\n\t return builderVisitor.nestedViewCount;\n\t }\n\t function finishView(view, targetStatements) {\n\t view.afterNodes();\n\t createViewTopLevelStmts(view, targetStatements);\n\t view.nodes.forEach(function (node) {\n\t if (node instanceof CompileElement && node.hasEmbeddedView) {\n\t finishView(node.embeddedView, targetStatements);\n\t }\n\t });\n\t }\n\t var ViewBuilderVisitor = (function () {\n\t function ViewBuilderVisitor(view, targetDependencies) {\n\t this.view = view;\n\t this.targetDependencies = targetDependencies;\n\t this.nestedViewCount = 0;\n\t }\n\t ViewBuilderVisitor.prototype._isRootNode = function (parent) { return parent.view !== this.view; };\n\t ViewBuilderVisitor.prototype._addRootNodeAndProject = function (node) {\n\t var projectedNode = _getOuterContainerOrSelf(node);\n\t var parent = projectedNode.parent;\n\t var ngContentIndex = projectedNode.sourceAst.ngContentIndex;\n\t var viewContainer = (node instanceof CompileElement && node.hasViewContainer) ? node.viewContainer : null;\n\t if (this._isRootNode(parent)) {\n\t if (this.view.viewType !== ViewType.COMPONENT) {\n\t this.view.rootNodes.push(new CompileViewRootNode(viewContainer ? CompileViewRootNodeType.ViewContainer : CompileViewRootNodeType.Node, viewContainer || node.renderNode));\n\t }\n\t }\n\t else if (isPresent(parent.component) && isPresent(ngContentIndex)) {\n\t parent.addContentNode(ngContentIndex, new CompileViewRootNode(viewContainer ? CompileViewRootNodeType.ViewContainer : CompileViewRootNodeType.Node, viewContainer || node.renderNode));\n\t }\n\t };\n\t ViewBuilderVisitor.prototype._getParentRenderNode = function (parent) {\n\t parent = _getOuterContainerParentOrSelf(parent);\n\t if (this._isRootNode(parent)) {\n\t if (this.view.viewType === ViewType.COMPONENT) {\n\t return parentRenderNodeVar;\n\t }\n\t else {\n\t // root node of an embedded/host view\n\t return NULL_EXPR;\n\t }\n\t }\n\t else {\n\t return isPresent(parent.component) &&\n\t parent.component.template.encapsulation !== _angular_core.ViewEncapsulation.Native ?\n\t NULL_EXPR :\n\t parent.renderNode;\n\t }\n\t };\n\t ViewBuilderVisitor.prototype.getOrCreateLastRenderNode = function () {\n\t var view = this.view;\n\t if (view.rootNodes.length === 0 ||\n\t view.rootNodes[view.rootNodes.length - 1].type !== CompileViewRootNodeType.Node) {\n\t var fieldName = \"_el_\" + view.nodes.length;\n\t view.fields.push(new ClassField(fieldName, importType(view.genConfig.renderTypes.renderElement)));\n\t view.createMethod.addStmt(THIS_EXPR.prop(fieldName)\n\t .set(ViewProperties.renderer.callMethod('createTemplateAnchor', [NULL_EXPR, NULL_EXPR]))\n\t .toStmt());\n\t view.rootNodes.push(new CompileViewRootNode(CompileViewRootNodeType.Node, THIS_EXPR.prop(fieldName)));\n\t }\n\t return view.rootNodes[view.rootNodes.length - 1].expr;\n\t };\n\t ViewBuilderVisitor.prototype.visitBoundText = function (ast, parent) {\n\t return this._visitText(ast, '', parent);\n\t };\n\t ViewBuilderVisitor.prototype.visitText = function (ast, parent) {\n\t return this._visitText(ast, ast.value, parent);\n\t };\n\t ViewBuilderVisitor.prototype._visitText = function (ast, value, parent) {\n\t var fieldName = \"_text_\" + this.view.nodes.length;\n\t this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderText)));\n\t var renderNode = THIS_EXPR.prop(fieldName);\n\t var compileNode = new CompileNode(parent, this.view, this.view.nodes.length, renderNode, ast);\n\t var createRenderNode = THIS_EXPR.prop(fieldName)\n\t .set(ViewProperties.renderer.callMethod('createText', [\n\t this._getParentRenderNode(parent), literal(value),\n\t this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length, ast)\n\t ]))\n\t .toStmt();\n\t this.view.nodes.push(compileNode);\n\t this.view.createMethod.addStmt(createRenderNode);\n\t this._addRootNodeAndProject(compileNode);\n\t return renderNode;\n\t };\n\t ViewBuilderVisitor.prototype.visitNgContent = function (ast, parent) {\n\t // the projected nodes originate from a different view, so we don't\n\t // have debug information for them...\n\t this.view.createMethod.resetDebugInfo(null, ast);\n\t var parentRenderNode = this._getParentRenderNode(parent);\n\t if (parentRenderNode !== NULL_EXPR) {\n\t this.view.createMethod.addStmt(THIS_EXPR.callMethod('projectNodes', [parentRenderNode, literal(ast.index)])\n\t .toStmt());\n\t }\n\t else if (this._isRootNode(parent)) {\n\t if (this.view.viewType !== ViewType.COMPONENT) {\n\t // store root nodes only for embedded/host views\n\t this.view.rootNodes.push(new CompileViewRootNode(CompileViewRootNodeType.NgContent, null, ast.index));\n\t }\n\t }\n\t else {\n\t if (isPresent(parent.component) && isPresent(ast.ngContentIndex)) {\n\t parent.addContentNode(ast.ngContentIndex, new CompileViewRootNode(CompileViewRootNodeType.NgContent, null, ast.index));\n\t }\n\t }\n\t return null;\n\t };\n\t ViewBuilderVisitor.prototype.visitElement = function (ast, parent) {\n\t var nodeIndex = this.view.nodes.length;\n\t var createRenderNodeExpr;\n\t var debugContextExpr = this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast);\n\t var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\n\t var component = directives.find(function (directive) { return directive.isComponent; });\n\t if (ast.name === NG_CONTAINER_TAG) {\n\t createRenderNodeExpr = ViewProperties.renderer.callMethod('createTemplateAnchor', [this._getParentRenderNode(parent), debugContextExpr]);\n\t }\n\t else {\n\t var htmlAttrs = _readHtmlAttrs(ast.attrs);\n\t var attrNameAndValues = createInlineArray(_mergeHtmlAndDirectiveAttrs(htmlAttrs, directives).map(function (v) { return literal(v); }));\n\t if (nodeIndex === 0 && this.view.viewType === ViewType.HOST) {\n\t createRenderNodeExpr =\n\t importExpr(resolveIdentifier(Identifiers.selectOrCreateRenderHostElement)).callFn([\n\t ViewProperties.renderer, literal(ast.name), attrNameAndValues, rootSelectorVar,\n\t debugContextExpr\n\t ]);\n\t }\n\t else {\n\t createRenderNodeExpr =\n\t importExpr(resolveIdentifier(Identifiers.createRenderElement)).callFn([\n\t ViewProperties.renderer, this._getParentRenderNode(parent), literal(ast.name),\n\t attrNameAndValues, debugContextExpr\n\t ]);\n\t }\n\t }\n\t var fieldName = \"_el_\" + nodeIndex;\n\t this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderElement)));\n\t this.view.createMethod.addStmt(THIS_EXPR.prop(fieldName).set(createRenderNodeExpr).toStmt());\n\t var renderNode = THIS_EXPR.prop(fieldName);\n\t var compileElement = new CompileElement(parent, this.view, nodeIndex, renderNode, ast, component, directives, ast.providers, ast.hasViewContainer, false, ast.references, this.targetDependencies);\n\t this.view.nodes.push(compileElement);\n\t var compViewExpr = null;\n\t if (isPresent(component)) {\n\t var nestedComponentIdentifier = new CompileIdentifierMetadata({ name: getViewClassName(component, 0) });\n\t this.targetDependencies.push(new ViewClassDependency(component.type, nestedComponentIdentifier));\n\t compViewExpr = THIS_EXPR.prop(\"compView_\" + nodeIndex); // fix highlighting: `\n\t this.view.fields.push(new ClassField(compViewExpr.name, importType(resolveIdentifier(Identifiers.AppView), [importType(component.type)])));\n\t this.view.viewChildren.push(compViewExpr);\n\t compileElement.setComponentView(compViewExpr);\n\t this.view.createMethod.addStmt(compViewExpr\n\t .set(importExpr(nestedComponentIdentifier).instantiate([\n\t ViewProperties.viewUtils, THIS_EXPR, literal(nodeIndex), renderNode\n\t ]))\n\t .toStmt());\n\t }\n\t compileElement.beforeChildren();\n\t this._addRootNodeAndProject(compileElement);\n\t templateVisitAll(this, ast.children, compileElement);\n\t compileElement.afterChildren(this.view.nodes.length - nodeIndex - 1);\n\t if (isPresent(compViewExpr)) {\n\t this.view.createMethod.addStmt(compViewExpr.callMethod('create', [compileElement.getComponent()]).toStmt());\n\t }\n\t return null;\n\t };\n\t ViewBuilderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\n\t var nodeIndex = this.view.nodes.length;\n\t var fieldName = \"_anchor_\" + nodeIndex;\n\t this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderComment)));\n\t this.view.createMethod.addStmt(THIS_EXPR.prop(fieldName)\n\t .set(ViewProperties.renderer.callMethod('createTemplateAnchor', [\n\t this._getParentRenderNode(parent),\n\t this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast)\n\t ]))\n\t .toStmt());\n\t var renderNode = THIS_EXPR.prop(fieldName);\n\t var templateVariableBindings = ast.variables.map(function (varAst) { return [varAst.value.length > 0 ? varAst.value : IMPLICIT_TEMPLATE_VAR, varAst.name]; });\n\t var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\n\t var compileElement = new CompileElement(parent, this.view, nodeIndex, renderNode, ast, null, directives, ast.providers, ast.hasViewContainer, true, ast.references, this.targetDependencies);\n\t this.view.nodes.push(compileElement);\n\t this.nestedViewCount++;\n\t var embeddedView = new CompileView(this.view.component, this.view.genConfig, this.view.pipeMetas, NULL_EXPR, this.view.animations, this.view.viewIndex + this.nestedViewCount, compileElement, templateVariableBindings);\n\t this.nestedViewCount += buildView(embeddedView, ast.children, this.targetDependencies);\n\t compileElement.beforeChildren();\n\t this._addRootNodeAndProject(compileElement);\n\t compileElement.afterChildren(0);\n\t return null;\n\t };\n\t ViewBuilderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\n\t ViewBuilderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\n\t ViewBuilderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\n\t return null;\n\t };\n\t ViewBuilderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\n\t ViewBuilderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\n\t ViewBuilderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\n\t ViewBuilderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\n\t return ViewBuilderVisitor;\n\t }());\n\t /**\n\t * Walks up the nodes while the direct parent is a container.\n\t *\n\t * Returns the outer container or the node itself when it is not a direct child of a container.\n\t *\n\t * @internal\n\t */\n\t function _getOuterContainerOrSelf(node) {\n\t var view = node.view;\n\t while (_isNgContainer(node.parent, view)) {\n\t node = node.parent;\n\t }\n\t return node;\n\t }\n\t /**\n\t * Walks up the nodes while they are container and returns the first parent which is not.\n\t *\n\t * Returns the parent of the outer container or the node itself when it is not a container.\n\t *\n\t * @internal\n\t */\n\t function _getOuterContainerParentOrSelf(el) {\n\t var view = el.view;\n\t while (_isNgContainer(el, view)) {\n\t el = el.parent;\n\t }\n\t return el;\n\t }\n\t function _isNgContainer(node, view) {\n\t return !node.isNull() && node.sourceAst.name === NG_CONTAINER_TAG &&\n\t node.view === view;\n\t }\n\t function _mergeHtmlAndDirectiveAttrs(declaredHtmlAttrs, directives) {\n\t var mapResult = {};\n\t Object.keys(declaredHtmlAttrs).forEach(function (key) { mapResult[key] = declaredHtmlAttrs[key]; });\n\t directives.forEach(function (directiveMeta) {\n\t Object.keys(directiveMeta.hostAttributes).forEach(function (name) {\n\t var value = directiveMeta.hostAttributes[name];\n\t var prevValue = mapResult[name];\n\t mapResult[name] = isPresent(prevValue) ? mergeAttributeValue(name, prevValue, value) : value;\n\t });\n\t });\n\t var arrResult = [];\n\t // Note: We need to sort to get a defined output order\n\t // for tests and for caching generated artifacts...\n\t Object.keys(mapResult).sort().forEach(function (attrName) { arrResult.push(attrName, mapResult[attrName]); });\n\t return arrResult;\n\t }\n\t function _readHtmlAttrs(attrs) {\n\t var htmlAttrs = {};\n\t attrs.forEach(function (ast) { htmlAttrs[ast.name] = ast.value; });\n\t return htmlAttrs;\n\t }\n\t function mergeAttributeValue(attrName, attrValue1, attrValue2) {\n\t if (attrName == CLASS_ATTR$1 || attrName == STYLE_ATTR) {\n\t return attrValue1 + \" \" + attrValue2;\n\t }\n\t else {\n\t return attrValue2;\n\t }\n\t }\n\t function createViewTopLevelStmts(view, targetStatements) {\n\t var nodeDebugInfosVar = NULL_EXPR;\n\t if (view.genConfig.genDebugInfo) {\n\t nodeDebugInfosVar = variable(\"nodeDebugInfos_\" + view.component.type.name + view.viewIndex); // fix highlighting: `\n\t targetStatements.push(nodeDebugInfosVar\n\t .set(literalArr(view.nodes.map(createStaticNodeDebugInfo), new ArrayType(new ExternalType(resolveIdentifier(Identifiers.StaticNodeDebugInfo)), [TypeModifier.Const])))\n\t .toDeclStmt(null, [StmtModifier.Final]));\n\t }\n\t var renderCompTypeVar = variable(\"renderType_\" + view.component.type.name); // fix highlighting: `\n\t if (view.viewIndex === 0) {\n\t var templateUrlInfo = void 0;\n\t if (view.component.template.templateUrl == view.component.type.moduleUrl) {\n\t templateUrlInfo =\n\t view.component.type.moduleUrl + \" class \" + view.component.type.name + \" - inline template\";\n\t }\n\t else {\n\t templateUrlInfo = view.component.template.templateUrl;\n\t }\n\t targetStatements.push(renderCompTypeVar\n\t .set(importExpr(resolveIdentifier(Identifiers.createRenderComponentType)).callFn([\n\t view.genConfig.genDebugInfo ? literal(templateUrlInfo) : literal(''),\n\t literal(view.component.template.ngContentSelectors.length),\n\t ViewEncapsulationEnum.fromValue(view.component.template.encapsulation),\n\t view.styles,\n\t literalMap(view.animations.map(function (entry) { return [entry.name, entry.fnExp]; })),\n\t ]))\n\t .toDeclStmt(importType(resolveIdentifier(Identifiers.RenderComponentType))));\n\t }\n\t var viewClass = createViewClass(view, renderCompTypeVar, nodeDebugInfosVar);\n\t targetStatements.push(viewClass);\n\t }\n\t function createStaticNodeDebugInfo(node) {\n\t var compileElement = node instanceof CompileElement ? node : null;\n\t var providerTokens = [];\n\t var componentToken = NULL_EXPR;\n\t var varTokenEntries = [];\n\t if (isPresent(compileElement)) {\n\t providerTokens = compileElement.getProviderTokens();\n\t if (isPresent(compileElement.component)) {\n\t componentToken = createDiTokenExpression(identifierToken(compileElement.component.type));\n\t }\n\t Object.keys(compileElement.referenceTokens).forEach(function (varName) {\n\t var token = compileElement.referenceTokens[varName];\n\t varTokenEntries.push([varName, isPresent(token) ? createDiTokenExpression(token) : NULL_EXPR]);\n\t });\n\t }\n\t return importExpr(resolveIdentifier(Identifiers.StaticNodeDebugInfo))\n\t .instantiate([\n\t literalArr(providerTokens, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const])),\n\t componentToken,\n\t literalMap(varTokenEntries, new MapType(DYNAMIC_TYPE, [TypeModifier.Const]))\n\t ], importType(resolveIdentifier(Identifiers.StaticNodeDebugInfo), null, [TypeModifier.Const]));\n\t }\n\t function createViewClass(view, renderCompTypeVar, nodeDebugInfosVar) {\n\t var viewConstructorArgs = [\n\t new FnParam(ViewConstructorVars.viewUtils.name, importType(resolveIdentifier(Identifiers.ViewUtils))),\n\t new FnParam(ViewConstructorVars.parentView.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(ViewConstructorVars.parentIndex.name, NUMBER_TYPE),\n\t new FnParam(ViewConstructorVars.parentElement.name, DYNAMIC_TYPE)\n\t ];\n\t var superConstructorArgs = [\n\t variable(view.className), renderCompTypeVar, ViewTypeEnum.fromValue(view.viewType),\n\t ViewConstructorVars.viewUtils, ViewConstructorVars.parentView, ViewConstructorVars.parentIndex,\n\t ViewConstructorVars.parentElement,\n\t ChangeDetectorStatusEnum.fromValue(getChangeDetectionMode(view))\n\t ];\n\t if (view.genConfig.genDebugInfo) {\n\t superConstructorArgs.push(nodeDebugInfosVar);\n\t }\n\t if (view.viewType === ViewType.EMBEDDED) {\n\t viewConstructorArgs.push(new FnParam('declaredViewContainer', importType(resolveIdentifier(Identifiers.ViewContainer))));\n\t superConstructorArgs.push(variable('declaredViewContainer'));\n\t }\n\t var viewMethods = [\n\t new ClassMethod('createInternal', [new FnParam(rootSelectorVar.name, STRING_TYPE)], generateCreateMethod(view), importType(resolveIdentifier(Identifiers.ComponentRef), [DYNAMIC_TYPE])),\n\t new ClassMethod('injectorGetInternal', [\n\t new FnParam(InjectMethodVars$1.token.name, DYNAMIC_TYPE),\n\t // Note: Can't use o.INT_TYPE here as the method in AppView uses number\n\t new FnParam(InjectMethodVars$1.requestNodeIndex.name, NUMBER_TYPE),\n\t new FnParam(InjectMethodVars$1.notFoundResult.name, DYNAMIC_TYPE)\n\t ], addReturnValuefNotEmpty(view.injectorGetMethod.finish(), InjectMethodVars$1.notFoundResult), DYNAMIC_TYPE),\n\t new ClassMethod('detectChangesInternal', [new FnParam(DetectChangesVars.throwOnChange.name, BOOL_TYPE)], generateDetectChangesMethod(view)),\n\t new ClassMethod('dirtyParentQueriesInternal', [], view.dirtyParentQueriesMethod.finish()),\n\t new ClassMethod('destroyInternal', [], generateDestroyMethod(view)),\n\t new ClassMethod('detachInternal', [], view.detachMethod.finish()),\n\t generateVisitRootNodesMethod(view), generateVisitProjectableNodesMethod(view),\n\t generateCreateEmbeddedViewsMethod(view)\n\t ].filter(function (method) { return method.body.length > 0; });\n\t var superClass = view.genConfig.genDebugInfo ? Identifiers.DebugAppView : Identifiers.AppView;\n\t var viewClass = createClassStmt({\n\t name: view.className,\n\t parent: importExpr(resolveIdentifier(superClass), [getContextType(view)]),\n\t parentArgs: superConstructorArgs,\n\t ctorParams: viewConstructorArgs,\n\t builders: [{ methods: viewMethods }, view]\n\t });\n\t return viewClass;\n\t }\n\t function generateDestroyMethod(view) {\n\t var stmts = [];\n\t view.viewContainers.forEach(function (viewContainer) {\n\t stmts.push(viewContainer.callMethod('destroyNestedViews', []).toStmt());\n\t });\n\t view.viewChildren.forEach(function (viewChild) { stmts.push(viewChild.callMethod('destroy', []).toStmt()); });\n\t stmts.push.apply(stmts, view.destroyMethod.finish());\n\t return stmts;\n\t }\n\t function generateCreateMethod(view) {\n\t var parentRenderNodeExpr = NULL_EXPR;\n\t var parentRenderNodeStmts = [];\n\t if (view.viewType === ViewType.COMPONENT) {\n\t parentRenderNodeExpr =\n\t ViewProperties.renderer.callMethod('createViewRoot', [THIS_EXPR.prop('parentElement')]);\n\t parentRenderNodeStmts =\n\t [parentRenderNodeVar.set(parentRenderNodeExpr)\n\t .toDeclStmt(importType(view.genConfig.renderTypes.renderNode), [StmtModifier.Final])];\n\t }\n\t var resultExpr;\n\t if (view.viewType === ViewType.HOST) {\n\t var hostEl = view.nodes[0];\n\t resultExpr =\n\t importExpr(resolveIdentifier(Identifiers.ComponentRef_), [DYNAMIC_TYPE]).instantiate([\n\t literal(hostEl.nodeIndex), THIS_EXPR, hostEl.renderNode, hostEl.getComponent()\n\t ]);\n\t }\n\t else {\n\t resultExpr = NULL_EXPR;\n\t }\n\t var allNodesExpr = ViewProperties.renderer.cast(DYNAMIC_TYPE)\n\t .prop('directRenderer')\n\t .conditional(NULL_EXPR, literalArr(view.nodes.map(function (node) { return node.renderNode; })));\n\t return parentRenderNodeStmts.concat(view.createMethod.finish(), [\n\t THIS_EXPR\n\t .callMethod('init', [\n\t view.lastRenderNode,\n\t allNodesExpr,\n\t view.disposables.length ? literalArr(view.disposables) : NULL_EXPR,\n\t ])\n\t .toStmt(),\n\t new ReturnStatement(resultExpr)\n\t ]);\n\t }\n\t function generateDetectChangesMethod(view) {\n\t var stmts = [];\n\t if (view.animationBindingsMethod.isEmpty() && view.detectChangesInInputsMethod.isEmpty() &&\n\t view.updateContentQueriesMethod.isEmpty() &&\n\t view.afterContentLifecycleCallbacksMethod.isEmpty() &&\n\t view.detectChangesRenderPropertiesMethod.isEmpty() &&\n\t view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty() &&\n\t view.viewContainers.length === 0 && view.viewChildren.length === 0) {\n\t return stmts;\n\t }\n\t stmts.push.apply(stmts, view.animationBindingsMethod.finish());\n\t stmts.push.apply(stmts, view.detectChangesInInputsMethod.finish());\n\t view.viewContainers.forEach(function (viewContainer) {\n\t stmts.push(viewContainer.callMethod('detectChangesInNestedViews', [DetectChangesVars.throwOnChange])\n\t .toStmt());\n\t });\n\t var afterContentStmts = view.updateContentQueriesMethod.finish().concat(view.afterContentLifecycleCallbacksMethod.finish());\n\t if (afterContentStmts.length > 0) {\n\t stmts.push(new IfStmt(not(DetectChangesVars.throwOnChange), afterContentStmts));\n\t }\n\t stmts.push.apply(stmts, view.detectChangesRenderPropertiesMethod.finish());\n\t view.viewChildren.forEach(function (viewChild) {\n\t stmts.push(viewChild.callMethod('detectChanges', [DetectChangesVars.throwOnChange]).toStmt());\n\t });\n\t var afterViewStmts = view.updateViewQueriesMethod.finish().concat(view.afterViewLifecycleCallbacksMethod.finish());\n\t if (afterViewStmts.length > 0) {\n\t stmts.push(new IfStmt(not(DetectChangesVars.throwOnChange), afterViewStmts));\n\t }\n\t var varStmts = [];\n\t var readVars = findReadVarNames(stmts);\n\t if (readVars.has(DetectChangesVars.changed.name)) {\n\t varStmts.push(DetectChangesVars.changed.set(literal(true)).toDeclStmt(BOOL_TYPE));\n\t }\n\t if (readVars.has(DetectChangesVars.changes.name)) {\n\t varStmts.push(DetectChangesVars.changes.set(NULL_EXPR)\n\t .toDeclStmt(new MapType(importType(resolveIdentifier(Identifiers.SimpleChange)))));\n\t }\n\t varStmts.push.apply(varStmts, createSharedBindingVariablesIfNeeded(stmts));\n\t return varStmts.concat(stmts);\n\t }\n\t function addReturnValuefNotEmpty(statements, value) {\n\t if (statements.length > 0) {\n\t return statements.concat([new ReturnStatement(value)]);\n\t }\n\t else {\n\t return statements;\n\t }\n\t }\n\t function getContextType(view) {\n\t if (view.viewType === ViewType.COMPONENT) {\n\t return importType(view.component.type);\n\t }\n\t return DYNAMIC_TYPE;\n\t }\n\t function getChangeDetectionMode(view) {\n\t var mode;\n\t if (view.viewType === ViewType.COMPONENT) {\n\t mode = isDefaultChangeDetectionStrategy(view.component.changeDetection) ?\n\t ChangeDetectorStatus.CheckAlways :\n\t ChangeDetectorStatus.CheckOnce;\n\t }\n\t else {\n\t mode = ChangeDetectorStatus.CheckAlways;\n\t }\n\t return mode;\n\t }\n\t function generateVisitRootNodesMethod(view) {\n\t var cbVar = variable('cb');\n\t var ctxVar = variable('ctx');\n\t var stmts = generateVisitNodesStmts(view.rootNodes, cbVar, ctxVar);\n\t return new ClassMethod('visitRootNodesInternal', [new FnParam(cbVar.name, DYNAMIC_TYPE), new FnParam(ctxVar.name, DYNAMIC_TYPE)], stmts);\n\t }\n\t function generateVisitProjectableNodesMethod(view) {\n\t var nodeIndexVar = variable('nodeIndex');\n\t var ngContentIndexVar = variable('ngContentIndex');\n\t var cbVar = variable('cb');\n\t var ctxVar = variable('ctx');\n\t var stmts = [];\n\t view.nodes.forEach(function (node) {\n\t if (node instanceof CompileElement && node.component) {\n\t node.contentNodesByNgContentIndex.forEach(function (projectedNodes, ngContentIndex) {\n\t stmts.push(new IfStmt(nodeIndexVar.equals(literal(node.nodeIndex))\n\t .and(ngContentIndexVar.equals(literal(ngContentIndex))), generateVisitNodesStmts(projectedNodes, cbVar, ctxVar)));\n\t });\n\t }\n\t });\n\t return new ClassMethod('visitProjectableNodesInternal', [\n\t new FnParam(nodeIndexVar.name, NUMBER_TYPE),\n\t new FnParam(ngContentIndexVar.name, NUMBER_TYPE),\n\t new FnParam(cbVar.name, DYNAMIC_TYPE), new FnParam(ctxVar.name, DYNAMIC_TYPE)\n\t ], stmts);\n\t }\n\t function generateVisitNodesStmts(nodes, cb, ctx) {\n\t var stmts = [];\n\t nodes.forEach(function (node) {\n\t switch (node.type) {\n\t case CompileViewRootNodeType.Node:\n\t stmts.push(cb.callFn([node.expr, ctx]).toStmt());\n\t break;\n\t case CompileViewRootNodeType.ViewContainer:\n\t stmts.push(cb.callFn([node.expr.prop('nativeElement'), ctx]).toStmt());\n\t stmts.push(node.expr.callMethod('visitNestedViewRootNodes', [cb, ctx]).toStmt());\n\t break;\n\t case CompileViewRootNodeType.NgContent:\n\t stmts.push(THIS_EXPR.callMethod('visitProjectedNodes', [literal(node.ngContentIndex), cb, ctx])\n\t .toStmt());\n\t break;\n\t }\n\t });\n\t return stmts;\n\t }\n\t function generateCreateEmbeddedViewsMethod(view) {\n\t var nodeIndexVar = variable('nodeIndex');\n\t var stmts = [];\n\t view.nodes.forEach(function (node) {\n\t if (node instanceof CompileElement) {\n\t if (node.embeddedView) {\n\t var parentNodeIndex = node.isRootElement() ? null : node.parent.nodeIndex;\n\t stmts.push(new IfStmt(nodeIndexVar.equals(literal(node.nodeIndex)), [new ReturnStatement(node.embeddedView.classExpr.instantiate([\n\t ViewProperties.viewUtils, THIS_EXPR, literal(node.nodeIndex), node.renderNode,\n\t node.viewContainer\n\t ]))]));\n\t }\n\t }\n\t });\n\t if (stmts.length > 0) {\n\t stmts.push(new ReturnStatement(NULL_EXPR));\n\t }\n\t return new ClassMethod('createEmbeddedViewInternal', [new FnParam(nodeIndexVar.name, NUMBER_TYPE)], stmts, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE]));\n\t }\n\t\n\t var ViewCompileResult = (function () {\n\t function ViewCompileResult(statements, viewClassVar, dependencies) {\n\t this.statements = statements;\n\t this.viewClassVar = viewClassVar;\n\t this.dependencies = dependencies;\n\t }\n\t return ViewCompileResult;\n\t }());\n\t var ViewCompiler = (function () {\n\t function ViewCompiler(_genConfig, _schemaRegistry) {\n\t this._genConfig = _genConfig;\n\t this._schemaRegistry = _schemaRegistry;\n\t }\n\t ViewCompiler.prototype.compileComponent = function (component, template, styles, pipes, compiledAnimations) {\n\t var dependencies = [];\n\t var view = new CompileView(component, this._genConfig, pipes, styles, compiledAnimations, 0, CompileElement.createNull(), []);\n\t var statements = [];\n\t buildView(view, template, dependencies);\n\t // Need to separate binding from creation to be able to refer to\n\t // variables that have been declared after usage.\n\t bindView(view, template, this._schemaRegistry);\n\t finishView(view, statements);\n\t return new ViewCompileResult(statements, view.classExpr.name, dependencies);\n\t };\n\t ViewCompiler.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t ViewCompiler.ctorParameters = [\n\t { type: CompilerConfig, },\n\t { type: ElementSchemaRegistry, },\n\t ];\n\t return ViewCompiler;\n\t }());\n\t\n\t var AnimationEntryCompileResult = (function () {\n\t function AnimationEntryCompileResult(name, statements, fnExp) {\n\t this.name = name;\n\t this.statements = statements;\n\t this.fnExp = fnExp;\n\t }\n\t return AnimationEntryCompileResult;\n\t }());\n\t var AnimationCompiler = (function () {\n\t function AnimationCompiler() {\n\t }\n\t AnimationCompiler.prototype.compile = function (factoryNamePrefix, parsedAnimations) {\n\t return parsedAnimations.map(function (entry) {\n\t var factoryName = factoryNamePrefix + \"_\" + entry.name;\n\t var visitor = new _AnimationBuilder(entry.name, factoryName);\n\t return visitor.build(entry);\n\t });\n\t };\n\t return AnimationCompiler;\n\t }());\n\t var _ANIMATION_FACTORY_ELEMENT_VAR = variable('element');\n\t var _ANIMATION_DEFAULT_STATE_VAR = variable('defaultStateStyles');\n\t var _ANIMATION_FACTORY_VIEW_VAR = variable('view');\n\t var _ANIMATION_FACTORY_VIEW_CONTEXT = _ANIMATION_FACTORY_VIEW_VAR.prop('animationContext');\n\t var _ANIMATION_FACTORY_RENDERER_VAR = _ANIMATION_FACTORY_VIEW_VAR.prop('renderer');\n\t var _ANIMATION_CURRENT_STATE_VAR = variable('currentState');\n\t var _ANIMATION_NEXT_STATE_VAR = variable('nextState');\n\t var _ANIMATION_PLAYER_VAR = variable('player');\n\t var _ANIMATION_TIME_VAR = variable('totalTime');\n\t var _ANIMATION_START_STATE_STYLES_VAR = variable('startStateStyles');\n\t var _ANIMATION_END_STATE_STYLES_VAR = variable('endStateStyles');\n\t var _ANIMATION_COLLECTED_STYLES = variable('collectedStyles');\n\t var _PREVIOUS_ANIMATION_PLAYERS = variable('previousPlayers');\n\t var _EMPTY_MAP = literalMap([]);\n\t var _EMPTY_ARRAY = literalArr([]);\n\t var _AnimationBuilder = (function () {\n\t function _AnimationBuilder(animationName, factoryName) {\n\t this.animationName = animationName;\n\t this._fnVarName = factoryName + '_factory';\n\t this._statesMapVarName = factoryName + '_states';\n\t this._statesMapVar = variable(this._statesMapVarName);\n\t }\n\t _AnimationBuilder.prototype.visitAnimationStyles = function (ast, context) {\n\t var stylesArr = [];\n\t if (context.isExpectingFirstStyleStep) {\n\t stylesArr.push(_ANIMATION_START_STATE_STYLES_VAR);\n\t context.isExpectingFirstStyleStep = false;\n\t }\n\t ast.styles.forEach(function (entry) {\n\t var entries = Object.keys(entry).map(function (key) { return [key, literal(entry[key])]; });\n\t stylesArr.push(literalMap(entries));\n\t });\n\t return importExpr(resolveIdentifier(Identifiers.AnimationStyles)).instantiate([\n\t importExpr(resolveIdentifier(Identifiers.collectAndResolveStyles)).callFn([\n\t _ANIMATION_COLLECTED_STYLES, literalArr(stylesArr)\n\t ])\n\t ]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationKeyframe = function (ast, context) {\n\t return importExpr(resolveIdentifier(Identifiers.AnimationKeyframe)).instantiate([\n\t literal(ast.offset), ast.styles.visit(this, context)\n\t ]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationStep = function (ast, context) {\n\t var _this = this;\n\t if (context.endStateAnimateStep === ast) {\n\t return this._visitEndStateAnimation(ast, context);\n\t }\n\t var startingStylesExpr = ast.startingStyles.visit(this, context);\n\t var keyframeExpressions = ast.keyframes.map(function (keyframeEntry) { return keyframeEntry.visit(_this, context); });\n\t return this._callAnimateMethod(ast, startingStylesExpr, literalArr(keyframeExpressions), context);\n\t };\n\t /** @internal */\n\t _AnimationBuilder.prototype._visitEndStateAnimation = function (ast, context) {\n\t var _this = this;\n\t var startingStylesExpr = ast.startingStyles.visit(this, context);\n\t var keyframeExpressions = ast.keyframes.map(function (keyframe) { return keyframe.visit(_this, context); });\n\t var keyframesExpr = importExpr(resolveIdentifier(Identifiers.balanceAnimationKeyframes)).callFn([\n\t _ANIMATION_COLLECTED_STYLES, _ANIMATION_END_STATE_STYLES_VAR,\n\t literalArr(keyframeExpressions)\n\t ]);\n\t return this._callAnimateMethod(ast, startingStylesExpr, keyframesExpr, context);\n\t };\n\t /** @internal */\n\t _AnimationBuilder.prototype._callAnimateMethod = function (ast, startingStylesExpr, keyframesExpr, context) {\n\t var previousStylesValue = _EMPTY_ARRAY;\n\t if (context.isExpectingFirstAnimateStep) {\n\t previousStylesValue = _PREVIOUS_ANIMATION_PLAYERS;\n\t context.isExpectingFirstAnimateStep = false;\n\t }\n\t context.totalTransitionTime += ast.duration + ast.delay;\n\t return _ANIMATION_FACTORY_RENDERER_VAR.callMethod('animate', [\n\t _ANIMATION_FACTORY_ELEMENT_VAR, startingStylesExpr, keyframesExpr, literal(ast.duration),\n\t literal(ast.delay), literal(ast.easing), previousStylesValue\n\t ]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationSequence = function (ast, context) {\n\t var _this = this;\n\t var playerExprs = ast.steps.map(function (step) { return step.visit(_this, context); });\n\t return importExpr(resolveIdentifier(Identifiers.AnimationSequencePlayer)).instantiate([\n\t literalArr(playerExprs)\n\t ]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationGroup = function (ast, context) {\n\t var _this = this;\n\t var playerExprs = ast.steps.map(function (step) { return step.visit(_this, context); });\n\t return importExpr(resolveIdentifier(Identifiers.AnimationGroupPlayer)).instantiate([\n\t literalArr(playerExprs)\n\t ]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationStateDeclaration = function (ast, context) {\n\t var flatStyles = {};\n\t _getStylesArray(ast).forEach(function (entry) { Object.keys(entry).forEach(function (key) { flatStyles[key] = entry[key]; }); });\n\t context.stateMap.registerState(ast.stateName, flatStyles);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationStateTransition = function (ast, context) {\n\t var steps = ast.animation.steps;\n\t var lastStep = steps[steps.length - 1];\n\t if (_isEndStateAnimateStep(lastStep)) {\n\t context.endStateAnimateStep = lastStep;\n\t }\n\t context.totalTransitionTime = 0;\n\t context.isExpectingFirstStyleStep = true;\n\t context.isExpectingFirstAnimateStep = true;\n\t var stateChangePreconditions = [];\n\t ast.stateChanges.forEach(function (stateChange) {\n\t stateChangePreconditions.push(_compareToAnimationStateExpr(_ANIMATION_CURRENT_STATE_VAR, stateChange.fromState)\n\t .and(_compareToAnimationStateExpr(_ANIMATION_NEXT_STATE_VAR, stateChange.toState)));\n\t if (stateChange.fromState != ANY_STATE) {\n\t context.stateMap.registerState(stateChange.fromState);\n\t }\n\t if (stateChange.toState != ANY_STATE) {\n\t context.stateMap.registerState(stateChange.toState);\n\t }\n\t });\n\t var animationPlayerExpr = ast.animation.visit(this, context);\n\t var reducedStateChangesPrecondition = stateChangePreconditions.reduce(function (a, b) { return a.or(b); });\n\t var precondition = _ANIMATION_PLAYER_VAR.equals(NULL_EXPR).and(reducedStateChangesPrecondition);\n\t var animationStmt = _ANIMATION_PLAYER_VAR.set(animationPlayerExpr).toStmt();\n\t var totalTimeStmt = _ANIMATION_TIME_VAR.set(literal(context.totalTransitionTime)).toStmt();\n\t return new IfStmt(precondition, [animationStmt, totalTimeStmt]);\n\t };\n\t _AnimationBuilder.prototype.visitAnimationEntry = function (ast, context) {\n\t var _this = this;\n\t // visit each of the declarations first to build the context state map\n\t ast.stateDeclarations.forEach(function (def) { return def.visit(_this, context); });\n\t // this should always be defined even if the user overrides it\n\t context.stateMap.registerState(DEFAULT_STATE, {});\n\t var statements = [];\n\t statements.push(_PREVIOUS_ANIMATION_PLAYERS\n\t .set(_ANIMATION_FACTORY_VIEW_CONTEXT.callMethod('getAnimationPlayers', [\n\t _ANIMATION_FACTORY_ELEMENT_VAR, literal(this.animationName),\n\t _ANIMATION_NEXT_STATE_VAR.equals(literal(EMPTY_STATE))\n\t ]))\n\t .toDeclStmt());\n\t statements.push(_ANIMATION_COLLECTED_STYLES.set(_EMPTY_MAP).toDeclStmt());\n\t statements.push(_ANIMATION_PLAYER_VAR.set(NULL_EXPR).toDeclStmt());\n\t statements.push(_ANIMATION_TIME_VAR.set(literal(0)).toDeclStmt());\n\t statements.push(_ANIMATION_DEFAULT_STATE_VAR.set(this._statesMapVar.key(literal(DEFAULT_STATE)))\n\t .toDeclStmt());\n\t statements.push(_ANIMATION_START_STATE_STYLES_VAR.set(this._statesMapVar.key(_ANIMATION_CURRENT_STATE_VAR))\n\t .toDeclStmt());\n\t statements.push(new IfStmt(_ANIMATION_START_STATE_STYLES_VAR.equals(NULL_EXPR), [_ANIMATION_START_STATE_STYLES_VAR.set(_ANIMATION_DEFAULT_STATE_VAR).toStmt()]));\n\t statements.push(_ANIMATION_END_STATE_STYLES_VAR.set(this._statesMapVar.key(_ANIMATION_NEXT_STATE_VAR))\n\t .toDeclStmt());\n\t statements.push(new IfStmt(_ANIMATION_END_STATE_STYLES_VAR.equals(NULL_EXPR), [_ANIMATION_END_STATE_STYLES_VAR.set(_ANIMATION_DEFAULT_STATE_VAR).toStmt()]));\n\t var RENDER_STYLES_FN = importExpr(resolveIdentifier(Identifiers.renderStyles));\n\t ast.stateTransitions.forEach(function (transAst) { return statements.push(transAst.visit(_this, context)); });\n\t // this check ensures that the animation factory always returns a player\n\t // so that the onDone callback can be used for tracking\n\t statements.push(new IfStmt(_ANIMATION_PLAYER_VAR.equals(NULL_EXPR), [_ANIMATION_PLAYER_VAR\n\t .set(importExpr(resolveIdentifier(Identifiers.NoOpAnimationPlayer)).instantiate([]))\n\t .toStmt()]));\n\t // once complete we want to apply the styles on the element\n\t // since the destination state's values should persist once\n\t // the animation sequence has completed.\n\t statements.push(_ANIMATION_PLAYER_VAR\n\t .callMethod('onDone', [fn([], [\n\t _ANIMATION_PLAYER_VAR.callMethod('destroy', []).toStmt(),\n\t RENDER_STYLES_FN\n\t .callFn([\n\t _ANIMATION_FACTORY_ELEMENT_VAR, _ANIMATION_FACTORY_RENDERER_VAR,\n\t importExpr(resolveIdentifier(Identifiers.prepareFinalAnimationStyles))\n\t .callFn([\n\t _ANIMATION_START_STATE_STYLES_VAR,\n\t _ANIMATION_END_STATE_STYLES_VAR\n\t ])\n\t ])\n\t .toStmt()\n\t ])])\n\t .toStmt());\n\t statements.push(importExpr(resolveIdentifier(Identifiers.AnimationSequencePlayer))\n\t .instantiate([_PREVIOUS_ANIMATION_PLAYERS])\n\t .callMethod('destroy', [])\n\t .toStmt());\n\t // before we start any animation we want to clear out the starting\n\t // styles from the element's style property (since they were placed\n\t // there at the end of the last animation\n\t statements.push(RENDER_STYLES_FN\n\t .callFn([\n\t _ANIMATION_FACTORY_ELEMENT_VAR, _ANIMATION_FACTORY_RENDERER_VAR,\n\t importExpr(resolveIdentifier(Identifiers.clearStyles))\n\t .callFn([_ANIMATION_START_STATE_STYLES_VAR])\n\t ])\n\t .toStmt());\n\t statements.push(_ANIMATION_FACTORY_VIEW_CONTEXT\n\t .callMethod('queueAnimation', [\n\t _ANIMATION_FACTORY_ELEMENT_VAR, literal(this.animationName),\n\t _ANIMATION_PLAYER_VAR\n\t ])\n\t .toStmt());\n\t statements.push(new ReturnStatement(importExpr(resolveIdentifier(Identifiers.AnimationTransition)).instantiate([\n\t _ANIMATION_PLAYER_VAR, _ANIMATION_CURRENT_STATE_VAR, _ANIMATION_NEXT_STATE_VAR,\n\t _ANIMATION_TIME_VAR\n\t ])));\n\t return fn([\n\t new FnParam(_ANIMATION_FACTORY_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n\t new FnParam(_ANIMATION_FACTORY_ELEMENT_VAR.name, DYNAMIC_TYPE),\n\t new FnParam(_ANIMATION_CURRENT_STATE_VAR.name, DYNAMIC_TYPE),\n\t new FnParam(_ANIMATION_NEXT_STATE_VAR.name, DYNAMIC_TYPE)\n\t ], statements, importType(resolveIdentifier(Identifiers.AnimationTransition)));\n\t };\n\t _AnimationBuilder.prototype.build = function (ast) {\n\t var context = new _AnimationBuilderContext();\n\t var fnStatement = ast.visit(this, context).toDeclStmt(this._fnVarName);\n\t var fnVariable = variable(this._fnVarName);\n\t var lookupMap = [];\n\t Object.keys(context.stateMap.states).forEach(function (stateName) {\n\t var value = context.stateMap.states[stateName];\n\t var variableValue = _EMPTY_MAP;\n\t if (isPresent(value)) {\n\t var styleMap_1 = [];\n\t Object.keys(value).forEach(function (key) { styleMap_1.push([key, literal(value[key])]); });\n\t variableValue = literalMap(styleMap_1);\n\t }\n\t lookupMap.push([stateName, variableValue]);\n\t });\n\t var compiledStatesMapStmt = this._statesMapVar.set(literalMap(lookupMap)).toDeclStmt();\n\t var statements = [compiledStatesMapStmt, fnStatement];\n\t return new AnimationEntryCompileResult(this.animationName, statements, fnVariable);\n\t };\n\t return _AnimationBuilder;\n\t }());\n\t var _AnimationBuilderContext = (function () {\n\t function _AnimationBuilderContext() {\n\t this.stateMap = new _AnimationBuilderStateMap();\n\t this.endStateAnimateStep = null;\n\t this.isExpectingFirstStyleStep = false;\n\t this.isExpectingFirstAnimateStep = false;\n\t this.totalTransitionTime = 0;\n\t }\n\t return _AnimationBuilderContext;\n\t }());\n\t var _AnimationBuilderStateMap = (function () {\n\t function _AnimationBuilderStateMap() {\n\t this._states = {};\n\t }\n\t Object.defineProperty(_AnimationBuilderStateMap.prototype, \"states\", {\n\t get: function () { return this._states; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t _AnimationBuilderStateMap.prototype.registerState = function (name, value) {\n\t if (value === void 0) { value = null; }\n\t var existingEntry = this._states[name];\n\t if (!existingEntry) {\n\t this._states[name] = value;\n\t }\n\t };\n\t return _AnimationBuilderStateMap;\n\t }());\n\t function _compareToAnimationStateExpr(value, animationState) {\n\t var emptyStateLiteral = literal(EMPTY_STATE);\n\t switch (animationState) {\n\t case EMPTY_STATE:\n\t return value.equals(emptyStateLiteral);\n\t case ANY_STATE:\n\t return literal(true);\n\t default:\n\t return value.equals(literal(animationState));\n\t }\n\t }\n\t function _isEndStateAnimateStep(step) {\n\t // the final animation step is characterized by having only TWO\n\t // keyframe values and it must have zero styles for both keyframes\n\t if (step instanceof AnimationStepAst && step.duration > 0 && step.keyframes.length == 2) {\n\t var styles1 = _getStylesArray(step.keyframes[0])[0];\n\t var styles2 = _getStylesArray(step.keyframes[1])[0];\n\t return Object.keys(styles1).length === 0 && Object.keys(styles2).length === 0;\n\t }\n\t return false;\n\t }\n\t function _getStylesArray(obj) {\n\t return obj.styles.styles;\n\t }\n\t\n\t var SourceModule = (function () {\n\t function SourceModule(fileUrl, moduleUrl, source) {\n\t this.fileUrl = fileUrl;\n\t this.moduleUrl = moduleUrl;\n\t this.source = source;\n\t }\n\t return SourceModule;\n\t }());\n\t var AotCompiler = (function () {\n\t function AotCompiler(_metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _dirWrapperCompiler, _ngModuleCompiler, _outputEmitter, _localeId, _translationFormat, _animationParser, _staticReflector, _options) {\n\t this._metadataResolver = _metadataResolver;\n\t this._templateParser = _templateParser;\n\t this._styleCompiler = _styleCompiler;\n\t this._viewCompiler = _viewCompiler;\n\t this._dirWrapperCompiler = _dirWrapperCompiler;\n\t this._ngModuleCompiler = _ngModuleCompiler;\n\t this._outputEmitter = _outputEmitter;\n\t this._localeId = _localeId;\n\t this._translationFormat = _translationFormat;\n\t this._animationParser = _animationParser;\n\t this._staticReflector = _staticReflector;\n\t this._options = _options;\n\t this._animationCompiler = new AnimationCompiler();\n\t }\n\t AotCompiler.prototype.clearCache = function () { this._metadataResolver.clearCache(); };\n\t AotCompiler.prototype.compileAll = function (rootFiles) {\n\t var _this = this;\n\t var programSymbols = extractProgramSymbols(this._staticReflector, rootFiles, this._options);\n\t var _a = analyzeAndValidateNgModules(programSymbols, this._options, this._metadataResolver), ngModuleByPipeOrDirective = _a.ngModuleByPipeOrDirective, files = _a.files, ngModules = _a.ngModules;\n\t return loadNgModuleDirectives(ngModules).then(function () {\n\t var sourceModules = files.map(function (file) { return _this._compileSrcFile(file.srcUrl, ngModuleByPipeOrDirective, file.directives, file.ngModules); });\n\t return ListWrapper.flatten(sourceModules);\n\t });\n\t };\n\t AotCompiler.prototype._compileSrcFile = function (srcFileUrl, ngModuleByPipeOrDirective, directives, ngModules) {\n\t var _this = this;\n\t var fileSuffix = _splitTypescriptSuffix(srcFileUrl)[1];\n\t var statements = [];\n\t var exportedVars = [];\n\t var outputSourceModules = [];\n\t // compile all ng modules\n\t exportedVars.push.apply(exportedVars, ngModules.map(function (ngModuleType) { return _this._compileModule(ngModuleType, statements); }));\n\t // compile directive wrappers\n\t exportedVars.push.apply(exportedVars, directives.map(function (directiveType) { return _this._compileDirectiveWrapper(directiveType, statements); }));\n\t // compile components\n\t directives.forEach(function (dirType) {\n\t var compMeta = _this._metadataResolver.getDirectiveMetadata(dirType);\n\t if (!compMeta.isComponent) {\n\t return Promise.resolve(null);\n\t }\n\t var ngModule = ngModuleByPipeOrDirective.get(dirType);\n\t if (!ngModule) {\n\t throw new Error(\"Internal Error: cannot determine the module for component \" + compMeta.type.name + \"!\");\n\t }\n\t _assertComponent(compMeta);\n\t // compile styles\n\t var stylesCompileResults = _this._styleCompiler.compileComponent(compMeta);\n\t stylesCompileResults.externalStylesheets.forEach(function (compiledStyleSheet) {\n\t outputSourceModules.push(_this._codgenStyles(srcFileUrl, compiledStyleSheet, fileSuffix));\n\t });\n\t // compile components\n\t exportedVars.push(_this._compileComponentFactory(compMeta, ngModule, fileSuffix, statements), _this._compileComponent(compMeta, ngModule, ngModule.transitiveModule.directives, stylesCompileResults.componentStylesheet, fileSuffix, statements));\n\t });\n\t if (statements.length > 0) {\n\t var srcModule = this._codegenSourceModule(srcFileUrl, _ngfactoryModuleUrl(srcFileUrl), statements, exportedVars);\n\t outputSourceModules.unshift(srcModule);\n\t }\n\t return outputSourceModules;\n\t };\n\t AotCompiler.prototype._compileModule = function (ngModuleType, targetStatements) {\n\t var ngModule = this._metadataResolver.getNgModuleMetadata(ngModuleType);\n\t var providers = [];\n\t if (this._localeId) {\n\t providers.push(new CompileProviderMetadata({\n\t token: resolveIdentifierToken(Identifiers.LOCALE_ID),\n\t useValue: this._localeId,\n\t }));\n\t }\n\t if (this._translationFormat) {\n\t providers.push(new CompileProviderMetadata({\n\t token: resolveIdentifierToken(Identifiers.TRANSLATIONS_FORMAT),\n\t useValue: this._translationFormat\n\t }));\n\t }\n\t var appCompileResult = this._ngModuleCompiler.compile(ngModule, providers);\n\t appCompileResult.dependencies.forEach(function (dep) {\n\t dep.placeholder.name = _componentFactoryName(dep.comp);\n\t dep.placeholder.moduleUrl = _ngfactoryModuleUrl(dep.comp.moduleUrl);\n\t });\n\t targetStatements.push.apply(targetStatements, appCompileResult.statements);\n\t return appCompileResult.ngModuleFactoryVar;\n\t };\n\t AotCompiler.prototype._compileDirectiveWrapper = function (directiveType, targetStatements) {\n\t var dirMeta = this._metadataResolver.getDirectiveMetadata(directiveType);\n\t var dirCompileResult = this._dirWrapperCompiler.compile(dirMeta);\n\t targetStatements.push.apply(targetStatements, dirCompileResult.statements);\n\t return dirCompileResult.dirWrapperClassVar;\n\t };\n\t AotCompiler.prototype._compileComponentFactory = function (compMeta, ngModule, fileSuffix, targetStatements) {\n\t var hostMeta = createHostComponentMeta(compMeta);\n\t var hostViewFactoryVar = this._compileComponent(hostMeta, ngModule, [compMeta.type], null, fileSuffix, targetStatements);\n\t var compFactoryVar = _componentFactoryName(compMeta.type);\n\t targetStatements.push(variable(compFactoryVar)\n\t .set(importExpr(resolveIdentifier(Identifiers.ComponentFactory), [importType(compMeta.type)])\n\t .instantiate([\n\t literal(compMeta.selector),\n\t variable(hostViewFactoryVar),\n\t importExpr(compMeta.type),\n\t ], importType(resolveIdentifier(Identifiers.ComponentFactory), [importType(compMeta.type)], [TypeModifier.Const])))\n\t .toDeclStmt(null, [StmtModifier.Final]));\n\t return compFactoryVar;\n\t };\n\t AotCompiler.prototype._compileComponent = function (compMeta, ngModule, directiveIdentifiers, componentStyles, fileSuffix, targetStatements) {\n\t var _this = this;\n\t var parsedAnimations = this._animationParser.parseComponent(compMeta);\n\t var directives = directiveIdentifiers.map(function (dir) { return _this._metadataResolver.getDirectiveSummary(dir.reference); });\n\t var pipes = ngModule.transitiveModule.pipes.map(function (pipe) { return _this._metadataResolver.getPipeSummary(pipe.reference); });\n\t var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, ngModule.schemas, compMeta.type.name);\n\t var stylesExpr = componentStyles ? variable(componentStyles.stylesVar) : literalArr([]);\n\t var compiledAnimations = this._animationCompiler.compile(compMeta.type.name, parsedAnimations);\n\t var viewResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, stylesExpr, pipes, compiledAnimations);\n\t if (componentStyles) {\n\t targetStatements.push.apply(targetStatements, _resolveStyleStatements(componentStyles, fileSuffix));\n\t }\n\t compiledAnimations.forEach(function (entry) { return targetStatements.push.apply(targetStatements, entry.statements); });\n\t targetStatements.push.apply(targetStatements, _resolveViewStatements(viewResult));\n\t return viewResult.viewClassVar;\n\t };\n\t AotCompiler.prototype._codgenStyles = function (fileUrl, stylesCompileResult, fileSuffix) {\n\t _resolveStyleStatements(stylesCompileResult, fileSuffix);\n\t return this._codegenSourceModule(fileUrl, _stylesModuleUrl(stylesCompileResult.meta.moduleUrl, stylesCompileResult.isShimmed, fileSuffix), stylesCompileResult.statements, [stylesCompileResult.stylesVar]);\n\t };\n\t AotCompiler.prototype._codegenSourceModule = function (fileUrl, moduleUrl, statements, exportedVars) {\n\t return new SourceModule(fileUrl, moduleUrl, this._outputEmitter.emitStatements(moduleUrl, statements, exportedVars));\n\t };\n\t return AotCompiler;\n\t }());\n\t function _resolveViewStatements(compileResult) {\n\t compileResult.dependencies.forEach(function (dep) {\n\t if (dep instanceof ViewClassDependency) {\n\t var vfd = dep;\n\t vfd.placeholder.moduleUrl = _ngfactoryModuleUrl(vfd.comp.moduleUrl);\n\t }\n\t else if (dep instanceof ComponentFactoryDependency$1) {\n\t var cfd = dep;\n\t cfd.placeholder.name = _componentFactoryName(cfd.comp);\n\t cfd.placeholder.moduleUrl = _ngfactoryModuleUrl(cfd.comp.moduleUrl);\n\t }\n\t else if (dep instanceof DirectiveWrapperDependency) {\n\t var dwd = dep;\n\t dwd.placeholder.moduleUrl = _ngfactoryModuleUrl(dwd.dir.moduleUrl);\n\t }\n\t });\n\t return compileResult.statements;\n\t }\n\t function _resolveStyleStatements(compileResult, fileSuffix) {\n\t compileResult.dependencies.forEach(function (dep) {\n\t dep.valuePlaceholder.moduleUrl = _stylesModuleUrl(dep.moduleUrl, dep.isShimmed, fileSuffix);\n\t });\n\t return compileResult.statements;\n\t }\n\t function _ngfactoryModuleUrl(dirUrl) {\n\t var urlWithSuffix = _splitTypescriptSuffix(dirUrl);\n\t return urlWithSuffix[0] + \".ngfactory\" + urlWithSuffix[1];\n\t }\n\t function _componentFactoryName(comp) {\n\t return comp.name + \"NgFactory\";\n\t }\n\t function _stylesModuleUrl(stylesheetUrl, shim, suffix) {\n\t return shim ? stylesheetUrl + \".shim\" + suffix : \"\" + stylesheetUrl + suffix;\n\t }\n\t function _assertComponent(meta) {\n\t if (!meta.isComponent) {\n\t throw new Error(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n\t }\n\t }\n\t function _splitTypescriptSuffix(path) {\n\t if (path.endsWith('.d.ts')) {\n\t return [path.slice(0, -5), '.ts'];\n\t }\n\t var lastDot = path.lastIndexOf('.');\n\t if (lastDot !== -1) {\n\t return [path.substring(0, lastDot), path.substring(lastDot)];\n\t }\n\t return [path, ''];\n\t }\n\t // Returns all the source files and a mapping from modules to directives\n\t function analyzeNgModules(programStaticSymbols, options, metadataResolver) {\n\t var _a = _createNgModules(programStaticSymbols, options, metadataResolver), ngModules = _a.ngModules, symbolsMissingModule = _a.symbolsMissingModule;\n\t return _analyzeNgModules(ngModules, symbolsMissingModule);\n\t }\n\t function analyzeAndValidateNgModules(programStaticSymbols, options, metadataResolver) {\n\t var result = analyzeNgModules(programStaticSymbols, options, metadataResolver);\n\t if (result.symbolsMissingModule && result.symbolsMissingModule.length) {\n\t var messages = result.symbolsMissingModule.map(function (s) { return (\"Cannot determine the module for class \" + s.name + \" in \" + s.filePath + \"!\"); });\n\t throw new Error(messages.join('\\n'));\n\t }\n\t return result;\n\t }\n\t // Wait for the directives in the given modules have been loaded\n\t function loadNgModuleDirectives(ngModules) {\n\t return Promise\n\t .all(ListWrapper.flatten(ngModules.map(function (ngModule) { return ngModule.transitiveModule.directiveLoaders.map(function (loader) { return loader(); }); })))\n\t .then(function () { });\n\t }\n\t function _analyzeNgModules(ngModuleMetas, symbolsMissingModule) {\n\t var moduleMetasByRef = new Map();\n\t ngModuleMetas.forEach(function (ngModule) { return moduleMetasByRef.set(ngModule.type.reference, ngModule); });\n\t var ngModuleByPipeOrDirective = new Map();\n\t var ngModulesByFile = new Map();\n\t var ngDirectivesByFile = new Map();\n\t var filePaths = new Set();\n\t // Looping over all modules to construct:\n\t // - a map from file to modules `ngModulesByFile`,\n\t // - a map from file to directives `ngDirectivesByFile`,\n\t // - a map from directive/pipe to module `ngModuleByPipeOrDirective`.\n\t ngModuleMetas.forEach(function (ngModuleMeta) {\n\t var srcFileUrl = ngModuleMeta.type.reference.filePath;\n\t filePaths.add(srcFileUrl);\n\t ngModulesByFile.set(srcFileUrl, (ngModulesByFile.get(srcFileUrl) || []).concat(ngModuleMeta.type.reference));\n\t ngModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n\t var fileUrl = dirIdentifier.reference.filePath;\n\t filePaths.add(fileUrl);\n\t ngDirectivesByFile.set(fileUrl, (ngDirectivesByFile.get(fileUrl) || []).concat(dirIdentifier.reference));\n\t ngModuleByPipeOrDirective.set(dirIdentifier.reference, ngModuleMeta);\n\t });\n\t ngModuleMeta.declaredPipes.forEach(function (pipeIdentifier) {\n\t var fileUrl = pipeIdentifier.reference.filePath;\n\t filePaths.add(fileUrl);\n\t ngModuleByPipeOrDirective.set(pipeIdentifier.reference, ngModuleMeta);\n\t });\n\t });\n\t var files = [];\n\t filePaths.forEach(function (srcUrl) {\n\t var directives = ngDirectivesByFile.get(srcUrl) || [];\n\t var ngModules = ngModulesByFile.get(srcUrl) || [];\n\t files.push({ srcUrl: srcUrl, directives: directives, ngModules: ngModules });\n\t });\n\t return {\n\t // map directive/pipe to module\n\t ngModuleByPipeOrDirective: ngModuleByPipeOrDirective,\n\t // list modules and directives for every source file\n\t files: files,\n\t ngModules: ngModuleMetas, symbolsMissingModule: symbolsMissingModule\n\t };\n\t }\n\t function extractProgramSymbols(staticReflector, files, options) {\n\t if (options === void 0) { options = {}; }\n\t var staticSymbols = [];\n\t files.filter(function (fileName) { return _filterFileByPatterns(fileName, options); }).forEach(function (sourceFile) {\n\t var moduleMetadata = staticReflector.getModuleMetadata(sourceFile);\n\t if (!moduleMetadata) {\n\t console.log(\"WARNING: no metadata found for \" + sourceFile);\n\t return;\n\t }\n\t var metadata = moduleMetadata['metadata'];\n\t if (!metadata) {\n\t return;\n\t }\n\t for (var _i = 0, _a = Object.keys(metadata); _i < _a.length; _i++) {\n\t var symbol = _a[_i];\n\t if (metadata[symbol] && metadata[symbol].__symbolic == 'error') {\n\t // Ignore symbols that are only included to record error information.\n\t continue;\n\t }\n\t staticSymbols.push(staticReflector.getStaticSymbol(sourceFile, symbol));\n\t }\n\t });\n\t return staticSymbols;\n\t }\n\t // Load the NgModules and check\n\t // that all directives / pipes that are present in the program\n\t // are also declared by a module.\n\t function _createNgModules(programStaticSymbols, options, metadataResolver) {\n\t var ngModules = new Map();\n\t var programPipesAndDirectives = [];\n\t var ngModulePipesAndDirective = new Set();\n\t var addNgModule = function (staticSymbol) {\n\t if (ngModules.has(staticSymbol) || !_filterFileByPatterns(staticSymbol.filePath, options)) {\n\t return false;\n\t }\n\t var ngModule = metadataResolver.getUnloadedNgModuleMetadata(staticSymbol, false, false);\n\t if (ngModule) {\n\t ngModules.set(ngModule.type.reference, ngModule);\n\t ngModule.declaredDirectives.forEach(function (dir) { return ngModulePipesAndDirective.add(dir.reference); });\n\t ngModule.declaredPipes.forEach(function (pipe) { return ngModulePipesAndDirective.add(pipe.reference); });\n\t // For every input module add the list of transitively included modules\n\t ngModule.transitiveModule.modules.forEach(function (modMeta) { return addNgModule(modMeta.type.reference); });\n\t }\n\t return !!ngModule;\n\t };\n\t programStaticSymbols.forEach(function (staticSymbol) {\n\t if (!addNgModule(staticSymbol) &&\n\t (metadataResolver.isDirective(staticSymbol) || metadataResolver.isPipe(staticSymbol))) {\n\t programPipesAndDirectives.push(staticSymbol);\n\t }\n\t });\n\t // Throw an error if any of the program pipe or directives is not declared by a module\n\t var symbolsMissingModule = programPipesAndDirectives.filter(function (s) { return !ngModulePipesAndDirective.has(s); });\n\t return { ngModules: Array.from(ngModules.values()), symbolsMissingModule: symbolsMissingModule };\n\t }\n\t function _filterFileByPatterns(fileName, options) {\n\t if (options === void 0) { options = {}; }\n\t var match = true;\n\t if (options.includeFilePattern) {\n\t match = match && !!options.includeFilePattern.exec(fileName);\n\t }\n\t if (options.excludeFilePattern) {\n\t match = match && !options.excludeFilePattern.exec(fileName);\n\t }\n\t return match;\n\t }\n\t\n\t var StaticAndDynamicReflectionCapabilities = (function () {\n\t function StaticAndDynamicReflectionCapabilities(staticDelegate) {\n\t this.staticDelegate = staticDelegate;\n\t this.dynamicDelegate = new ReflectionCapabilities();\n\t }\n\t StaticAndDynamicReflectionCapabilities.install = function (staticDelegate) {\n\t reflector.updateCapabilities(new StaticAndDynamicReflectionCapabilities(staticDelegate));\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.isReflectionEnabled = function () { return true; };\n\t StaticAndDynamicReflectionCapabilities.prototype.factory = function (type) { return this.dynamicDelegate.factory(type); };\n\t StaticAndDynamicReflectionCapabilities.prototype.hasLifecycleHook = function (type, lcProperty) {\n\t return isStaticType(type) ? this.staticDelegate.hasLifecycleHook(type, lcProperty) :\n\t this.dynamicDelegate.hasLifecycleHook(type, lcProperty);\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.parameters = function (type) {\n\t return isStaticType(type) ? this.staticDelegate.parameters(type) :\n\t this.dynamicDelegate.parameters(type);\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.annotations = function (type) {\n\t return isStaticType(type) ? this.staticDelegate.annotations(type) :\n\t this.dynamicDelegate.annotations(type);\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.propMetadata = function (typeOrFunc) {\n\t return isStaticType(typeOrFunc) ? this.staticDelegate.propMetadata(typeOrFunc) :\n\t this.dynamicDelegate.propMetadata(typeOrFunc);\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.getter = function (name) { return this.dynamicDelegate.getter(name); };\n\t StaticAndDynamicReflectionCapabilities.prototype.setter = function (name) { return this.dynamicDelegate.setter(name); };\n\t StaticAndDynamicReflectionCapabilities.prototype.method = function (name) { return this.dynamicDelegate.method(name); };\n\t StaticAndDynamicReflectionCapabilities.prototype.importUri = function (type) { return this.staticDelegate.importUri(type); };\n\t StaticAndDynamicReflectionCapabilities.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n\t return this.staticDelegate.resolveIdentifier(name, moduleUrl, runtime);\n\t };\n\t StaticAndDynamicReflectionCapabilities.prototype.resolveEnum = function (enumIdentifier, name) {\n\t if (isStaticType(enumIdentifier)) {\n\t return this.staticDelegate.resolveEnum(enumIdentifier, name);\n\t }\n\t else {\n\t return null;\n\t }\n\t };\n\t return StaticAndDynamicReflectionCapabilities;\n\t }());\n\t function isStaticType(type) {\n\t return typeof type === 'object' && type.name && type.filePath;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$20 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var SUPPORTED_SCHEMA_VERSION = 2;\n\t var ANGULAR_IMPORT_LOCATIONS = {\n\t coreDecorators: '@angular/core/src/metadata',\n\t diDecorators: '@angular/core/src/di/metadata',\n\t diMetadata: '@angular/core/src/di/metadata',\n\t diOpaqueToken: '@angular/core/src/di/opaque_token',\n\t animationMetadata: '@angular/core/src/animation/metadata',\n\t provider: '@angular/core/src/di/provider'\n\t };\n\t /**\n\t * A cache of static symbol used by the StaticReflector to return the same symbol for the\n\t * same symbol values.\n\t */\n\t var StaticSymbolCache = (function () {\n\t function StaticSymbolCache() {\n\t this.cache = new Map();\n\t }\n\t StaticSymbolCache.prototype.get = function (declarationFile, name, members) {\n\t var memberSuffix = members ? \".\" + members.join('.') : '';\n\t var key = \"\\\"\" + declarationFile + \"\\\".\" + name + memberSuffix;\n\t var result = this.cache.get(key);\n\t if (!result) {\n\t result = new StaticSymbol(declarationFile, name, members);\n\t this.cache.set(key, result);\n\t }\n\t return result;\n\t };\n\t return StaticSymbolCache;\n\t }());\n\t /**\n\t * A static reflector implements enough of the Reflector API that is necessary to compile\n\t * templates statically.\n\t */\n\t var StaticReflector = (function () {\n\t function StaticReflector(host, staticSymbolCache) {\n\t if (staticSymbolCache === void 0) { staticSymbolCache = new StaticSymbolCache(); }\n\t this.host = host;\n\t this.staticSymbolCache = staticSymbolCache;\n\t this.declarationCache = new Map();\n\t this.annotationCache = new Map();\n\t this.propertyCache = new Map();\n\t this.parameterCache = new Map();\n\t this.metadataCache = new Map();\n\t this.conversionMap = new Map();\n\t this.initializeConversionMap();\n\t }\n\t StaticReflector.prototype.importUri = function (typeOrFunc) {\n\t var staticSymbol = this.findDeclaration(typeOrFunc.filePath, typeOrFunc.name, '');\n\t return staticSymbol ? staticSymbol.filePath : null;\n\t };\n\t StaticReflector.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n\t return this.findDeclaration(moduleUrl, name, '');\n\t };\n\t StaticReflector.prototype.resolveEnum = function (enumIdentifier, name) {\n\t var staticSymbol = enumIdentifier;\n\t return this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name, [name]);\n\t };\n\t StaticReflector.prototype.annotations = function (type) {\n\t var annotations = this.annotationCache.get(type);\n\t if (!annotations) {\n\t var classMetadata = this.getTypeMetadata(type);\n\t if (classMetadata['decorators']) {\n\t annotations = this.simplify(type, classMetadata['decorators']);\n\t }\n\t else {\n\t annotations = [];\n\t }\n\t this.annotationCache.set(type, annotations.filter(function (ann) { return !!ann; }));\n\t }\n\t return annotations;\n\t };\n\t StaticReflector.prototype.propMetadata = function (type) {\n\t var _this = this;\n\t var propMetadata = this.propertyCache.get(type);\n\t if (!propMetadata) {\n\t var classMetadata = this.getTypeMetadata(type);\n\t var members = classMetadata ? classMetadata['members'] : {};\n\t propMetadata = mapStringMap(members, function (propData, propName) {\n\t var prop = propData\n\t .find(function (a) { return a['__symbolic'] == 'property' || a['__symbolic'] == 'method'; });\n\t if (prop && prop['decorators']) {\n\t return _this.simplify(type, prop['decorators']);\n\t }\n\t else {\n\t return [];\n\t }\n\t });\n\t this.propertyCache.set(type, propMetadata);\n\t }\n\t return propMetadata;\n\t };\n\t StaticReflector.prototype.parameters = function (type) {\n\t if (!(type instanceof StaticSymbol)) {\n\t throw new Error(\"parameters received \" + JSON.stringify(type) + \" which is not a StaticSymbol\");\n\t }\n\t try {\n\t var parameters_1 = this.parameterCache.get(type);\n\t if (!parameters_1) {\n\t var classMetadata = this.getTypeMetadata(type);\n\t var members = classMetadata ? classMetadata['members'] : null;\n\t var ctorData = members ? members['__ctor__'] : null;\n\t if (ctorData) {\n\t var ctor = ctorData.find(function (a) { return a['__symbolic'] == 'constructor'; });\n\t var parameterTypes = this.simplify(type, ctor['parameters'] || []);\n\t var parameterDecorators_1 = this.simplify(type, ctor['parameterDecorators'] || []);\n\t parameters_1 = [];\n\t parameterTypes.forEach(function (paramType, index) {\n\t var nestedResult = [];\n\t if (paramType) {\n\t nestedResult.push(paramType);\n\t }\n\t var decorators = parameterDecorators_1 ? parameterDecorators_1[index] : null;\n\t if (decorators) {\n\t nestedResult.push.apply(nestedResult, decorators);\n\t }\n\t parameters_1.push(nestedResult);\n\t });\n\t }\n\t if (!parameters_1) {\n\t parameters_1 = [];\n\t }\n\t this.parameterCache.set(type, parameters_1);\n\t }\n\t return parameters_1;\n\t }\n\t catch (e) {\n\t console.log(\"Failed on type \" + JSON.stringify(type) + \" with error \" + e);\n\t throw e;\n\t }\n\t };\n\t StaticReflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n\t if (!(type instanceof StaticSymbol)) {\n\t throw new Error(\"hasLifecycleHook received \" + JSON.stringify(type) + \" which is not a StaticSymbol\");\n\t }\n\t var classMetadata = this.getTypeMetadata(type);\n\t var members = classMetadata ? classMetadata['members'] : null;\n\t var member = members && members.hasOwnProperty(lcProperty) ? members[lcProperty] : null;\n\t return member ? member.some(function (a) { return a['__symbolic'] == 'method'; }) : false;\n\t };\n\t StaticReflector.prototype.registerDecoratorOrConstructor = function (type, ctor) {\n\t this.conversionMap.set(type, function (context, args) { return new (ctor.bind.apply(ctor, [void 0].concat(args)))(); });\n\t };\n\t StaticReflector.prototype.registerFunction = function (type, fn) {\n\t this.conversionMap.set(type, function (context, args) { return fn.apply(undefined, args); });\n\t };\n\t StaticReflector.prototype.initializeConversionMap = function () {\n\t var coreDecorators = ANGULAR_IMPORT_LOCATIONS.coreDecorators, diDecorators = ANGULAR_IMPORT_LOCATIONS.diDecorators, diMetadata = ANGULAR_IMPORT_LOCATIONS.diMetadata, diOpaqueToken = ANGULAR_IMPORT_LOCATIONS.diOpaqueToken, animationMetadata = ANGULAR_IMPORT_LOCATIONS.animationMetadata, provider = ANGULAR_IMPORT_LOCATIONS.provider;\n\t this.opaqueToken = this.findDeclaration(diOpaqueToken, 'OpaqueToken');\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Host'), _angular_core.Host);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Injectable'), _angular_core.Injectable);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Self'), _angular_core.Self);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'SkipSelf'), _angular_core.SkipSelf);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Inject'), _angular_core.Inject);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Optional'), _angular_core.Optional);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Attribute'), _angular_core.Attribute);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ContentChild'), _angular_core.ContentChild);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ContentChildren'), _angular_core.ContentChildren);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ViewChild'), _angular_core.ViewChild);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ViewChildren'), _angular_core.ViewChildren);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Input'), _angular_core.Input);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Output'), _angular_core.Output);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Pipe'), _angular_core.Pipe);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'HostBinding'), _angular_core.HostBinding);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'HostListener'), _angular_core.HostListener);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Directive'), _angular_core.Directive);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Component'), _angular_core.Component);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'NgModule'), _angular_core.NgModule);\n\t // Note: Some metadata classes can be used directly with Provider.deps.\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Host'), _angular_core.Host);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Self'), _angular_core.Self);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'SkipSelf'), _angular_core.SkipSelf);\n\t this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Optional'), _angular_core.Optional);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'trigger'), _angular_core.trigger);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'state'), _angular_core.state);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'transition'), _angular_core.transition);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'style'), _angular_core.style);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'animate'), _angular_core.animate);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'keyframes'), _angular_core.keyframes);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'sequence'), _angular_core.sequence);\n\t this.registerFunction(this.findDeclaration(animationMetadata, 'group'), _angular_core.group);\n\t };\n\t /**\n\t * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n\t * All types passed to the StaticResolver should be pseudo-types returned by this method.\n\t *\n\t * @param declarationFile the absolute path of the file where the symbol is declared\n\t * @param name the name of the type.\n\t */\n\t StaticReflector.prototype.getStaticSymbol = function (declarationFile, name, members) {\n\t return this.staticSymbolCache.get(declarationFile, name, members);\n\t };\n\t StaticReflector.prototype.resolveExportedSymbol = function (filePath, symbolName) {\n\t var _this = this;\n\t var resolveModule = function (moduleName) {\n\t var resolvedModulePath = _this.host.moduleNameToFileName(moduleName, filePath);\n\t if (!resolvedModulePath) {\n\t throw new Error(\"Could not resolve module '\" + moduleName + \"' relative to file \" + filePath);\n\t }\n\t return resolvedModulePath;\n\t };\n\t var cacheKey = filePath + \"|\" + symbolName;\n\t var staticSymbol = this.declarationCache.get(cacheKey);\n\t if (staticSymbol) {\n\t return staticSymbol;\n\t }\n\t var metadata = this.getModuleMetadata(filePath);\n\t if (metadata) {\n\t // If we have metadata for the symbol, this is the original exporting location.\n\t if (metadata['metadata'][symbolName]) {\n\t staticSymbol = this.getStaticSymbol(filePath, symbolName);\n\t }\n\t // If no, try to find the symbol in one of the re-export location\n\t if (!staticSymbol && metadata['exports']) {\n\t // Try and find the symbol in the list of explicitly re-exported symbols.\n\t for (var _i = 0, _a = metadata['exports']; _i < _a.length; _i++) {\n\t var moduleExport = _a[_i];\n\t if (moduleExport.export) {\n\t var exportSymbol = moduleExport.export.find(function (symbol) {\n\t if (typeof symbol === 'string') {\n\t return symbol == symbolName;\n\t }\n\t else {\n\t return symbol.as == symbolName;\n\t }\n\t });\n\t if (exportSymbol) {\n\t var symName = symbolName;\n\t if (typeof exportSymbol !== 'string') {\n\t symName = exportSymbol.name;\n\t }\n\t staticSymbol = this.resolveExportedSymbol(resolveModule(moduleExport.from), symName);\n\t }\n\t }\n\t }\n\t if (!staticSymbol) {\n\t // Try to find the symbol via export * directives.\n\t for (var _b = 0, _c = metadata['exports']; _b < _c.length; _b++) {\n\t var moduleExport = _c[_b];\n\t if (!moduleExport.export) {\n\t var resolvedModule = resolveModule(moduleExport.from);\n\t var candidateSymbol = this.resolveExportedSymbol(resolvedModule, symbolName);\n\t if (candidateSymbol) {\n\t staticSymbol = candidateSymbol;\n\t break;\n\t }\n\t }\n\t }\n\t }\n\t }\n\t }\n\t this.declarationCache.set(cacheKey, staticSymbol);\n\t return staticSymbol;\n\t };\n\t StaticReflector.prototype.findDeclaration = function (module, symbolName, containingFile) {\n\t try {\n\t var filePath = this.host.moduleNameToFileName(module, containingFile);\n\t var symbol = void 0;\n\t if (!filePath) {\n\t // If the file cannot be found the module is probably referencing a declared module\n\t // for which there is no disambiguating file and we also don't need to track\n\t // re-exports. Just use the module name.\n\t symbol = this.getStaticSymbol(module, symbolName);\n\t }\n\t else {\n\t symbol = this.resolveExportedSymbol(filePath, symbolName) ||\n\t this.getStaticSymbol(filePath, symbolName);\n\t }\n\t return symbol;\n\t }\n\t catch (e) {\n\t console.error(\"can't resolve module \" + module + \" from \" + containingFile);\n\t throw e;\n\t }\n\t };\n\t /** @internal */\n\t StaticReflector.prototype.simplify = function (context, value) {\n\t var _this = this;\n\t var scope = BindingScope.empty;\n\t var calling = new Map();\n\t function simplifyInContext(context, value, depth) {\n\t function resolveReference(context, expression) {\n\t var staticSymbol;\n\t if (expression['module']) {\n\t staticSymbol =\n\t _this.findDeclaration(expression['module'], expression['name'], context.filePath);\n\t }\n\t else {\n\t staticSymbol = _this.getStaticSymbol(context.filePath, expression['name']);\n\t }\n\t return staticSymbol;\n\t }\n\t function resolveReferenceValue(staticSymbol) {\n\t var moduleMetadata = _this.getModuleMetadata(staticSymbol.filePath);\n\t var declarationValue = moduleMetadata ? moduleMetadata['metadata'][staticSymbol.name] : null;\n\t return declarationValue;\n\t }\n\t function isOpaqueToken(context, value) {\n\t if (value && value.__symbolic === 'new' && value.expression) {\n\t var target = value.expression;\n\t if (target.__symbolic == 'reference') {\n\t return sameSymbol(resolveReference(context, target), _this.opaqueToken);\n\t }\n\t }\n\t return false;\n\t }\n\t function simplifyCall(expression) {\n\t var callContext = undefined;\n\t if (expression['__symbolic'] == 'call') {\n\t var target = expression['expression'];\n\t var functionSymbol = void 0;\n\t var targetFunction = void 0;\n\t if (target) {\n\t switch (target.__symbolic) {\n\t case 'reference':\n\t // Find the function to call.\n\t callContext = { name: target.name };\n\t functionSymbol = resolveReference(context, target);\n\t targetFunction = resolveReferenceValue(functionSymbol);\n\t break;\n\t case 'select':\n\t // Find the static method to call\n\t if (target.expression.__symbolic == 'reference') {\n\t functionSymbol = resolveReference(context, target.expression);\n\t var classData = resolveReferenceValue(functionSymbol);\n\t if (classData && classData.statics) {\n\t targetFunction = classData.statics[target.member];\n\t }\n\t }\n\t break;\n\t }\n\t }\n\t if (targetFunction && targetFunction['__symbolic'] == 'function') {\n\t if (calling.get(functionSymbol)) {\n\t throw new Error('Recursion not supported');\n\t }\n\t calling.set(functionSymbol, true);\n\t try {\n\t var value_1 = targetFunction['value'];\n\t if (value_1 && (depth != 0 || value_1.__symbolic != 'error')) {\n\t // Determine the arguments\n\t var args = (expression['arguments'] || []).map(function (arg) { return simplify(arg); });\n\t var parameters = targetFunction['parameters'];\n\t var defaults = targetFunction.defaults;\n\t if (defaults && defaults.length > args.length) {\n\t args.push.apply(args, defaults.slice(args.length).map(function (value) { return simplify(value); }));\n\t }\n\t var functionScope = BindingScope.build();\n\t for (var i = 0; i < parameters.length; i++) {\n\t functionScope.define(parameters[i], args[i]);\n\t }\n\t var oldScope = scope;\n\t var result_1;\n\t try {\n\t scope = functionScope.done();\n\t result_1 = simplifyInContext(functionSymbol, value_1, depth + 1);\n\t }\n\t finally {\n\t scope = oldScope;\n\t }\n\t return result_1;\n\t }\n\t }\n\t finally {\n\t calling.delete(functionSymbol);\n\t }\n\t }\n\t }\n\t if (depth === 0) {\n\t // If depth is 0 we are evaluating the top level expression that is describing element\n\t // decorator. In this case, it is a decorator we don't understand, such as a custom\n\t // non-angular decorator, and we should just ignore it.\n\t return { __symbolic: 'ignore' };\n\t }\n\t return simplify({ __symbolic: 'error', message: 'Function call not supported', context: callContext });\n\t }\n\t function simplify(expression) {\n\t if (isPrimitive$1(expression)) {\n\t return expression;\n\t }\n\t if (expression instanceof Array) {\n\t var result_2 = [];\n\t for (var _i = 0, _a = expression; _i < _a.length; _i++) {\n\t var item = _a[_i];\n\t // Check for a spread expression\n\t if (item && item.__symbolic === 'spread') {\n\t var spreadArray = simplify(item.expression);\n\t if (Array.isArray(spreadArray)) {\n\t for (var _b = 0, spreadArray_1 = spreadArray; _b < spreadArray_1.length; _b++) {\n\t var spreadItem = spreadArray_1[_b];\n\t result_2.push(spreadItem);\n\t }\n\t continue;\n\t }\n\t }\n\t var value_2 = simplify(item);\n\t if (shouldIgnore(value_2)) {\n\t continue;\n\t }\n\t result_2.push(value_2);\n\t }\n\t return result_2;\n\t }\n\t if (expression instanceof StaticSymbol) {\n\t return expression;\n\t }\n\t if (expression) {\n\t if (expression['__symbolic']) {\n\t var staticSymbol = void 0;\n\t switch (expression['__symbolic']) {\n\t case 'binop':\n\t var left = simplify(expression['left']);\n\t if (shouldIgnore(left))\n\t return left;\n\t var right = simplify(expression['right']);\n\t if (shouldIgnore(right))\n\t return right;\n\t switch (expression['operator']) {\n\t case '&&':\n\t return left && right;\n\t case '||':\n\t return left || right;\n\t case '|':\n\t return left | right;\n\t case '^':\n\t return left ^ right;\n\t case '&':\n\t return left & right;\n\t case '==':\n\t return left == right;\n\t case '!=':\n\t return left != right;\n\t case '===':\n\t return left === right;\n\t case '!==':\n\t return left !== right;\n\t case '<':\n\t return left < right;\n\t case '>':\n\t return left > right;\n\t case '<=':\n\t return left <= right;\n\t case '>=':\n\t return left >= right;\n\t case '<<':\n\t return left << right;\n\t case '>>':\n\t return left >> right;\n\t case '+':\n\t return left + right;\n\t case '-':\n\t return left - right;\n\t case '*':\n\t return left * right;\n\t case '/':\n\t return left / right;\n\t case '%':\n\t return left % right;\n\t }\n\t return null;\n\t case 'if':\n\t var condition = simplify(expression['condition']);\n\t return condition ? simplify(expression['thenExpression']) :\n\t simplify(expression['elseExpression']);\n\t case 'pre':\n\t var operand = simplify(expression['operand']);\n\t if (shouldIgnore(operand))\n\t return operand;\n\t switch (expression['operator']) {\n\t case '+':\n\t return operand;\n\t case '-':\n\t return -operand;\n\t case '!':\n\t return !operand;\n\t case '~':\n\t return ~operand;\n\t }\n\t return null;\n\t case 'index':\n\t var indexTarget = simplify(expression['expression']);\n\t var index = simplify(expression['index']);\n\t if (indexTarget && isPrimitive$1(index))\n\t return indexTarget[index];\n\t return null;\n\t case 'select':\n\t var selectTarget = simplify(expression['expression']);\n\t if (selectTarget instanceof StaticSymbol) {\n\t // Access to a static instance variable\n\t var declarationValue_1 = resolveReferenceValue(selectTarget);\n\t if (declarationValue_1 && declarationValue_1.statics) {\n\t selectTarget = declarationValue_1.statics;\n\t }\n\t else {\n\t var member_1 = expression['member'];\n\t var members = selectTarget.members ?\n\t selectTarget.members.concat(member_1) :\n\t [member_1];\n\t return _this.getStaticSymbol(selectTarget.filePath, selectTarget.name, members);\n\t }\n\t }\n\t var member = simplify(expression['member']);\n\t if (selectTarget && isPrimitive$1(member))\n\t return simplify(selectTarget[member]);\n\t return null;\n\t case 'reference':\n\t if (!expression.module) {\n\t var name_1 = expression['name'];\n\t var localValue = scope.resolve(name_1);\n\t if (localValue != BindingScope.missing) {\n\t return localValue;\n\t }\n\t }\n\t staticSymbol = resolveReference(context, expression);\n\t var result_3 = staticSymbol;\n\t var declarationValue = resolveReferenceValue(result_3);\n\t if (declarationValue) {\n\t if (isOpaqueToken(staticSymbol, declarationValue)) {\n\t // If the referenced symbol is initalized by a new OpaqueToken we can keep the\n\t // reference to the symbol.\n\t return staticSymbol;\n\t }\n\t result_3 = simplifyInContext(staticSymbol, declarationValue, depth + 1);\n\t }\n\t return result_3;\n\t case 'class':\n\t return context;\n\t case 'function':\n\t return context;\n\t case 'new':\n\t case 'call':\n\t // Determine if the function is a built-in conversion\n\t var target = expression['expression'];\n\t if (target['module']) {\n\t staticSymbol =\n\t _this.findDeclaration(target['module'], target['name'], context.filePath);\n\t }\n\t else {\n\t staticSymbol = _this.getStaticSymbol(context.filePath, target['name']);\n\t }\n\t var converter = _this.conversionMap.get(staticSymbol);\n\t if (converter) {\n\t var args = expression['arguments'];\n\t if (!args) {\n\t args = [];\n\t }\n\t return converter(context, args.map(function (arg) { return simplifyInContext(context, arg, depth + 1); }));\n\t }\n\t // Determine if the function is one we can simplify.\n\t return simplifyCall(expression);\n\t case 'error':\n\t var message = produceErrorMessage(expression);\n\t if (expression['line']) {\n\t message =\n\t message + \" (position \" + (expression['line'] + 1) + \":\" + (expression['character'] + 1) + \" in the original .ts file)\";\n\t throw positionalError(message, context.filePath, expression['line'], expression['character']);\n\t }\n\t throw new Error(message);\n\t }\n\t return null;\n\t }\n\t return mapStringMap(expression, function (value, name) { return simplify(value); });\n\t }\n\t return null;\n\t }\n\t try {\n\t return simplify(value);\n\t }\n\t catch (e) {\n\t var message = e.message + \", resolving symbol \" + context.name + \" in \" + context.filePath;\n\t if (e.fileName) {\n\t throw positionalError(message, e.fileName, e.line, e.column);\n\t }\n\t throw new Error(message);\n\t }\n\t }\n\t var result = simplifyInContext(context, value, 0);\n\t if (shouldIgnore(result)) {\n\t return undefined;\n\t }\n\t return result;\n\t };\n\t /**\n\t * @param module an absolute path to a module file.\n\t */\n\t StaticReflector.prototype.getModuleMetadata = function (module) {\n\t var moduleMetadata = this.metadataCache.get(module);\n\t if (!moduleMetadata) {\n\t var moduleMetadatas = this.host.getMetadataFor(module);\n\t if (moduleMetadatas) {\n\t var maxVersion_1 = -1;\n\t moduleMetadatas.forEach(function (md) {\n\t if (md['version'] > maxVersion_1) {\n\t maxVersion_1 = md['version'];\n\t moduleMetadata = md;\n\t }\n\t });\n\t }\n\t if (!moduleMetadata) {\n\t moduleMetadata =\n\t { __symbolic: 'module', version: SUPPORTED_SCHEMA_VERSION, module: module, metadata: {} };\n\t }\n\t if (moduleMetadata['version'] != SUPPORTED_SCHEMA_VERSION) {\n\t throw new Error(\"Metadata version mismatch for module \" + module + \", found version \" + moduleMetadata['version'] + \", expected \" + SUPPORTED_SCHEMA_VERSION);\n\t }\n\t this.metadataCache.set(module, moduleMetadata);\n\t }\n\t return moduleMetadata;\n\t };\n\t StaticReflector.prototype.getTypeMetadata = function (type) {\n\t var moduleMetadata = this.getModuleMetadata(type.filePath);\n\t return moduleMetadata['metadata'][type.name] || { __symbolic: 'class' };\n\t };\n\t return StaticReflector;\n\t }());\n\t function expandedMessage(error) {\n\t switch (error.message) {\n\t case 'Reference to non-exported class':\n\t if (error.context && error.context.className) {\n\t return \"Reference to a non-exported class \" + error.context.className + \". Consider exporting the class\";\n\t }\n\t break;\n\t case 'Variable not initialized':\n\t return 'Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler';\n\t case 'Destructuring not supported':\n\t return 'Referencing an exported destructured variable or constant is not supported by the template compiler. Consider simplifying this to avoid destructuring';\n\t case 'Could not resolve type':\n\t if (error.context && error.context.typeName) {\n\t return \"Could not resolve type \" + error.context.typeName;\n\t }\n\t break;\n\t case 'Function call not supported':\n\t var prefix = error.context && error.context.name ? \"Calling function '\" + error.context.name + \"', f\" : 'F';\n\t return prefix +\n\t 'unction calls are not supported. Consider replacing the function or lambda with a reference to an exported function';\n\t case 'Reference to a local symbol':\n\t if (error.context && error.context.name) {\n\t return \"Reference to a local (non-exported) symbol '\" + error.context.name + \"'. Consider exporting the symbol\";\n\t }\n\t break;\n\t }\n\t return error.message;\n\t }\n\t function produceErrorMessage(error) {\n\t return \"Error encountered resolving symbol values statically. \" + expandedMessage(error);\n\t }\n\t function mapStringMap(input, transform) {\n\t if (!input)\n\t return {};\n\t var result = {};\n\t Object.keys(input).forEach(function (key) {\n\t var value = transform(input[key], key);\n\t if (!shouldIgnore(value)) {\n\t result[key] = value;\n\t }\n\t });\n\t return result;\n\t }\n\t function isPrimitive$1(o) {\n\t return o === null || (typeof o !== 'function' && typeof o !== 'object');\n\t }\n\t var BindingScope = (function () {\n\t function BindingScope() {\n\t }\n\t BindingScope.build = function () {\n\t var current = new Map();\n\t return {\n\t define: function (name, value) {\n\t current.set(name, value);\n\t return this;\n\t },\n\t done: function () {\n\t return current.size > 0 ? new PopulatedScope(current) : BindingScope.empty;\n\t }\n\t };\n\t };\n\t BindingScope.missing = {};\n\t BindingScope.empty = { resolve: function (name) { return BindingScope.missing; } };\n\t return BindingScope;\n\t }());\n\t var PopulatedScope = (function (_super) {\n\t __extends$20(PopulatedScope, _super);\n\t function PopulatedScope(bindings) {\n\t _super.call(this);\n\t this.bindings = bindings;\n\t }\n\t PopulatedScope.prototype.resolve = function (name) {\n\t return this.bindings.has(name) ? this.bindings.get(name) : BindingScope.missing;\n\t };\n\t return PopulatedScope;\n\t }(BindingScope));\n\t function sameSymbol(a, b) {\n\t return a === b || (a.name == b.name && a.filePath == b.filePath);\n\t }\n\t function shouldIgnore(value) {\n\t return value && value.__symbolic == 'ignore';\n\t }\n\t function positionalError(message, fileName, line, column) {\n\t var result = new Error(message);\n\t result.fileName = fileName;\n\t result.line = line;\n\t result.column = column;\n\t return result;\n\t }\n\t\n\t /**\n\t * Creates a new AotCompiler based on options and a host.\n\t */\n\t function createAotCompiler(compilerHost, options) {\n\t var translations = options.translations || '';\n\t var urlResolver = createOfflineCompileUrlResolver();\n\t var staticReflector = new StaticReflector(compilerHost);\n\t StaticAndDynamicReflectionCapabilities.install(staticReflector);\n\t var htmlParser = new I18NHtmlParser(new HtmlParser(), translations, options.i18nFormat);\n\t var config = new CompilerConfig({\n\t genDebugInfo: options.debug === true,\n\t defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated,\n\t logBindingUpdate: false,\n\t useJit: false\n\t });\n\t var normalizer = new DirectiveNormalizer({ get: function (url) { return compilerHost.loadResource(url); } }, urlResolver, htmlParser, config);\n\t var expressionParser = new Parser(new Lexer());\n\t var elementSchemaRegistry = new DomElementSchemaRegistry();\n\t var console = new Console();\n\t var tmplParser = new TemplateParser(expressionParser, elementSchemaRegistry, htmlParser, console, []);\n\t var resolver = new CompileMetadataResolver(new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), elementSchemaRegistry, normalizer, staticReflector);\n\t // TODO(vicb): do not pass options.i18nFormat here\n\t var compiler = new AotCompiler(resolver, tmplParser, new StyleCompiler(urlResolver), new ViewCompiler(config, elementSchemaRegistry), new DirectiveWrapperCompiler(config, expressionParser, elementSchemaRegistry, console), new NgModuleCompiler(), new TypeScriptEmitter(compilerHost), options.locale, options.i18nFormat, new AnimationParser(elementSchemaRegistry), staticReflector, options);\n\t return { compiler: compiler, reflector: staticReflector };\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t\n\t function interpretStatements(statements, resultVar) {\n\t var stmtsWithReturn = statements.concat([new ReturnStatement(variable(resultVar))]);\n\t var ctx = new _ExecutionContext(null, null, null, new Map());\n\t var visitor = new StatementInterpreter();\n\t var result = visitor.visitAllStatements(stmtsWithReturn, ctx);\n\t return isPresent(result) ? result.value : null;\n\t }\n\t function _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\n\t var childCtx = ctx.createChildWihtLocalVars();\n\t for (var i = 0; i < varNames.length; i++) {\n\t childCtx.vars.set(varNames[i], varValues[i]);\n\t }\n\t var result = visitor.visitAllStatements(statements, childCtx);\n\t return isPresent(result) ? result.value : null;\n\t }\n\t var _ExecutionContext = (function () {\n\t function _ExecutionContext(parent, instance, className, vars) {\n\t this.parent = parent;\n\t this.instance = instance;\n\t this.className = className;\n\t this.vars = vars;\n\t }\n\t _ExecutionContext.prototype.createChildWihtLocalVars = function () {\n\t return new _ExecutionContext(this, this.instance, this.className, new Map());\n\t };\n\t return _ExecutionContext;\n\t }());\n\t var ReturnValue = (function () {\n\t function ReturnValue(value) {\n\t this.value = value;\n\t }\n\t return ReturnValue;\n\t }());\n\t function createDynamicClass(_classStmt, _ctx, _visitor) {\n\t var propertyDescriptors = {};\n\t _classStmt.getters.forEach(function (getter) {\n\t // Note: use `function` instead of arrow function to capture `this`\n\t propertyDescriptors[getter.name] = {\n\t configurable: false,\n\t get: function () {\n\t var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n\t return _executeFunctionStatements([], [], getter.body, instanceCtx, _visitor);\n\t }\n\t };\n\t });\n\t _classStmt.methods.forEach(function (method) {\n\t var paramNames = method.params.map(function (param) { return param.name; });\n\t // Note: use `function` instead of arrow function to capture `this`\n\t propertyDescriptors[method.name] = {\n\t writable: false,\n\t configurable: false,\n\t value: function () {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n\t return _executeFunctionStatements(paramNames, args, method.body, instanceCtx, _visitor);\n\t }\n\t };\n\t });\n\t var ctorParamNames = _classStmt.constructorMethod.params.map(function (param) { return param.name; });\n\t // Note: use `function` instead of arrow function to capture `this`\n\t var ctor = function () {\n\t var _this = this;\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n\t _classStmt.fields.forEach(function (field) { _this[field.name] = undefined; });\n\t _executeFunctionStatements(ctorParamNames, args, _classStmt.constructorMethod.body, instanceCtx, _visitor);\n\t };\n\t var superClass = _classStmt.parent ? _classStmt.parent.visitExpression(_visitor, _ctx) : Object;\n\t ctor.prototype = Object.create(superClass.prototype, propertyDescriptors);\n\t return ctor;\n\t }\n\t var StatementInterpreter = (function () {\n\t function StatementInterpreter() {\n\t }\n\t StatementInterpreter.prototype.debugAst = function (ast) { return debugOutputAstAsTypeScript(ast); };\n\t StatementInterpreter.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n\t ctx.vars.set(stmt.name, stmt.value.visitExpression(this, ctx));\n\t return null;\n\t };\n\t StatementInterpreter.prototype.visitWriteVarExpr = function (expr, ctx) {\n\t var value = expr.value.visitExpression(this, ctx);\n\t var currCtx = ctx;\n\t while (currCtx != null) {\n\t if (currCtx.vars.has(expr.name)) {\n\t currCtx.vars.set(expr.name, value);\n\t return value;\n\t }\n\t currCtx = currCtx.parent;\n\t }\n\t throw new Error(\"Not declared variable \" + expr.name);\n\t };\n\t StatementInterpreter.prototype.visitReadVarExpr = function (ast, ctx) {\n\t var varName = ast.name;\n\t if (isPresent(ast.builtin)) {\n\t switch (ast.builtin) {\n\t case BuiltinVar.Super:\n\t return ctx.instance.__proto__;\n\t case BuiltinVar.This:\n\t return ctx.instance;\n\t case BuiltinVar.CatchError:\n\t varName = CATCH_ERROR_VAR$2;\n\t break;\n\t case BuiltinVar.CatchStack:\n\t varName = CATCH_STACK_VAR$2;\n\t break;\n\t default:\n\t throw new Error(\"Unknown builtin variable \" + ast.builtin);\n\t }\n\t }\n\t var currCtx = ctx;\n\t while (currCtx != null) {\n\t if (currCtx.vars.has(varName)) {\n\t return currCtx.vars.get(varName);\n\t }\n\t currCtx = currCtx.parent;\n\t }\n\t throw new Error(\"Not declared variable \" + varName);\n\t };\n\t StatementInterpreter.prototype.visitWriteKeyExpr = function (expr, ctx) {\n\t var receiver = expr.receiver.visitExpression(this, ctx);\n\t var index = expr.index.visitExpression(this, ctx);\n\t var value = expr.value.visitExpression(this, ctx);\n\t receiver[index] = value;\n\t return value;\n\t };\n\t StatementInterpreter.prototype.visitWritePropExpr = function (expr, ctx) {\n\t var receiver = expr.receiver.visitExpression(this, ctx);\n\t var value = expr.value.visitExpression(this, ctx);\n\t receiver[expr.name] = value;\n\t return value;\n\t };\n\t StatementInterpreter.prototype.visitInvokeMethodExpr = function (expr, ctx) {\n\t var receiver = expr.receiver.visitExpression(this, ctx);\n\t var args = this.visitAllExpressions(expr.args, ctx);\n\t var result;\n\t if (isPresent(expr.builtin)) {\n\t switch (expr.builtin) {\n\t case BuiltinMethod.ConcatArray:\n\t result = receiver.concat.apply(receiver, args);\n\t break;\n\t case BuiltinMethod.SubscribeObservable:\n\t result = receiver.subscribe({ next: args[0] });\n\t break;\n\t case BuiltinMethod.Bind:\n\t result = receiver.bind.apply(receiver, args);\n\t break;\n\t default:\n\t throw new Error(\"Unknown builtin method \" + expr.builtin);\n\t }\n\t }\n\t else {\n\t result = receiver[expr.name].apply(receiver, args);\n\t }\n\t return result;\n\t };\n\t StatementInterpreter.prototype.visitInvokeFunctionExpr = function (stmt, ctx) {\n\t var args = this.visitAllExpressions(stmt.args, ctx);\n\t var fnExpr = stmt.fn;\n\t if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n\t ctx.instance.constructor.prototype.constructor.apply(ctx.instance, args);\n\t return null;\n\t }\n\t else {\n\t var fn = stmt.fn.visitExpression(this, ctx);\n\t return fn.apply(null, args);\n\t }\n\t };\n\t StatementInterpreter.prototype.visitReturnStmt = function (stmt, ctx) {\n\t return new ReturnValue(stmt.value.visitExpression(this, ctx));\n\t };\n\t StatementInterpreter.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n\t var clazz = createDynamicClass(stmt, ctx, this);\n\t ctx.vars.set(stmt.name, clazz);\n\t return null;\n\t };\n\t StatementInterpreter.prototype.visitExpressionStmt = function (stmt, ctx) {\n\t return stmt.expr.visitExpression(this, ctx);\n\t };\n\t StatementInterpreter.prototype.visitIfStmt = function (stmt, ctx) {\n\t var condition = stmt.condition.visitExpression(this, ctx);\n\t if (condition) {\n\t return this.visitAllStatements(stmt.trueCase, ctx);\n\t }\n\t else if (isPresent(stmt.falseCase)) {\n\t return this.visitAllStatements(stmt.falseCase, ctx);\n\t }\n\t return null;\n\t };\n\t StatementInterpreter.prototype.visitTryCatchStmt = function (stmt, ctx) {\n\t try {\n\t return this.visitAllStatements(stmt.bodyStmts, ctx);\n\t }\n\t catch (e) {\n\t var childCtx = ctx.createChildWihtLocalVars();\n\t childCtx.vars.set(CATCH_ERROR_VAR$2, e);\n\t childCtx.vars.set(CATCH_STACK_VAR$2, e.stack);\n\t return this.visitAllStatements(stmt.catchStmts, childCtx);\n\t }\n\t };\n\t StatementInterpreter.prototype.visitThrowStmt = function (stmt, ctx) {\n\t throw stmt.error.visitExpression(this, ctx);\n\t };\n\t StatementInterpreter.prototype.visitCommentStmt = function (stmt, context) { return null; };\n\t StatementInterpreter.prototype.visitInstantiateExpr = function (ast, ctx) {\n\t var args = this.visitAllExpressions(ast.args, ctx);\n\t var clazz = ast.classExpr.visitExpression(this, ctx);\n\t return new (clazz.bind.apply(clazz, [void 0].concat(args)))();\n\t };\n\t StatementInterpreter.prototype.visitLiteralExpr = function (ast, ctx) { return ast.value; };\n\t StatementInterpreter.prototype.visitExternalExpr = function (ast, ctx) {\n\t return ast.value.reference;\n\t };\n\t StatementInterpreter.prototype.visitConditionalExpr = function (ast, ctx) {\n\t if (ast.condition.visitExpression(this, ctx)) {\n\t return ast.trueCase.visitExpression(this, ctx);\n\t }\n\t else if (isPresent(ast.falseCase)) {\n\t return ast.falseCase.visitExpression(this, ctx);\n\t }\n\t return null;\n\t };\n\t StatementInterpreter.prototype.visitNotExpr = function (ast, ctx) {\n\t return !ast.condition.visitExpression(this, ctx);\n\t };\n\t StatementInterpreter.prototype.visitCastExpr = function (ast, ctx) {\n\t return ast.value.visitExpression(this, ctx);\n\t };\n\t StatementInterpreter.prototype.visitFunctionExpr = function (ast, ctx) {\n\t var paramNames = ast.params.map(function (param) { return param.name; });\n\t return _declareFn(paramNames, ast.statements, ctx, this);\n\t };\n\t StatementInterpreter.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n\t var paramNames = stmt.params.map(function (param) { return param.name; });\n\t ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\n\t return null;\n\t };\n\t StatementInterpreter.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\n\t var _this = this;\n\t var lhs = function () { return ast.lhs.visitExpression(_this, ctx); };\n\t var rhs = function () { return ast.rhs.visitExpression(_this, ctx); };\n\t switch (ast.operator) {\n\t case BinaryOperator.Equals:\n\t return lhs() == rhs();\n\t case BinaryOperator.Identical:\n\t return lhs() === rhs();\n\t case BinaryOperator.NotEquals:\n\t return lhs() != rhs();\n\t case BinaryOperator.NotIdentical:\n\t return lhs() !== rhs();\n\t case BinaryOperator.And:\n\t return lhs() && rhs();\n\t case BinaryOperator.Or:\n\t return lhs() || rhs();\n\t case BinaryOperator.Plus:\n\t return lhs() + rhs();\n\t case BinaryOperator.Minus:\n\t return lhs() - rhs();\n\t case BinaryOperator.Divide:\n\t return lhs() / rhs();\n\t case BinaryOperator.Multiply:\n\t return lhs() * rhs();\n\t case BinaryOperator.Modulo:\n\t return lhs() % rhs();\n\t case BinaryOperator.Lower:\n\t return lhs() < rhs();\n\t case BinaryOperator.LowerEquals:\n\t return lhs() <= rhs();\n\t case BinaryOperator.Bigger:\n\t return lhs() > rhs();\n\t case BinaryOperator.BiggerEquals:\n\t return lhs() >= rhs();\n\t default:\n\t throw new Error(\"Unknown operator \" + ast.operator);\n\t }\n\t };\n\t StatementInterpreter.prototype.visitReadPropExpr = function (ast, ctx) {\n\t var result;\n\t var receiver = ast.receiver.visitExpression(this, ctx);\n\t result = receiver[ast.name];\n\t return result;\n\t };\n\t StatementInterpreter.prototype.visitReadKeyExpr = function (ast, ctx) {\n\t var receiver = ast.receiver.visitExpression(this, ctx);\n\t var prop = ast.index.visitExpression(this, ctx);\n\t return receiver[prop];\n\t };\n\t StatementInterpreter.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n\t return this.visitAllExpressions(ast.entries, ctx);\n\t };\n\t StatementInterpreter.prototype.visitLiteralMapExpr = function (ast, ctx) {\n\t var _this = this;\n\t var result = {};\n\t ast.entries.forEach(function (entry) { return result[entry[0]] =\n\t entry[1].visitExpression(_this, ctx); });\n\t return result;\n\t };\n\t StatementInterpreter.prototype.visitAllExpressions = function (expressions, ctx) {\n\t var _this = this;\n\t return expressions.map(function (expr) { return expr.visitExpression(_this, ctx); });\n\t };\n\t StatementInterpreter.prototype.visitAllStatements = function (statements, ctx) {\n\t for (var i = 0; i < statements.length; i++) {\n\t var stmt = statements[i];\n\t var val = stmt.visitStatement(this, ctx);\n\t if (val instanceof ReturnValue) {\n\t return val;\n\t }\n\t }\n\t return null;\n\t };\n\t return StatementInterpreter;\n\t }());\n\t function _declareFn(varNames, statements, ctx, visitor) {\n\t return function () {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t return _executeFunctionStatements(varNames, args, statements, ctx, visitor);\n\t };\n\t }\n\t var CATCH_ERROR_VAR$2 = 'error';\n\t var CATCH_STACK_VAR$2 = 'stack';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$22 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var AbstractJsEmitterVisitor = (function (_super) {\n\t __extends$22(AbstractJsEmitterVisitor, _super);\n\t function AbstractJsEmitterVisitor() {\n\t _super.call(this, false);\n\t }\n\t AbstractJsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n\t var _this = this;\n\t ctx.pushClass(stmt);\n\t this._visitClassConstructor(stmt, ctx);\n\t if (isPresent(stmt.parent)) {\n\t ctx.print(stmt.name + \".prototype = Object.create(\");\n\t stmt.parent.visitExpression(this, ctx);\n\t ctx.println(\".prototype);\");\n\t }\n\t stmt.getters.forEach(function (getter) { return _this._visitClassGetter(stmt, getter, ctx); });\n\t stmt.methods.forEach(function (method) { return _this._visitClassMethod(stmt, method, ctx); });\n\t ctx.popClass();\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\n\t ctx.print(\"function \" + stmt.name + \"(\");\n\t if (isPresent(stmt.constructorMethod)) {\n\t this._visitParams(stmt.constructorMethod.params, ctx);\n\t }\n\t ctx.println(\") {\");\n\t ctx.incIndent();\n\t if (isPresent(stmt.constructorMethod)) {\n\t if (stmt.constructorMethod.body.length > 0) {\n\t ctx.println(\"var self = this;\");\n\t this.visitAllStatements(stmt.constructorMethod.body, ctx);\n\t }\n\t }\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t };\n\t AbstractJsEmitterVisitor.prototype._visitClassGetter = function (stmt, getter, ctx) {\n\t ctx.println(\"Object.defineProperty(\" + stmt.name + \".prototype, '\" + getter.name + \"', { get: function() {\");\n\t ctx.incIndent();\n\t if (getter.body.length > 0) {\n\t ctx.println(\"var self = this;\");\n\t this.visitAllStatements(getter.body, ctx);\n\t }\n\t ctx.decIndent();\n\t ctx.println(\"}});\");\n\t };\n\t AbstractJsEmitterVisitor.prototype._visitClassMethod = function (stmt, method, ctx) {\n\t ctx.print(stmt.name + \".prototype.\" + method.name + \" = function(\");\n\t this._visitParams(method.params, ctx);\n\t ctx.println(\") {\");\n\t ctx.incIndent();\n\t if (method.body.length > 0) {\n\t ctx.println(\"var self = this;\");\n\t this.visitAllStatements(method.body, ctx);\n\t }\n\t ctx.decIndent();\n\t ctx.println(\"};\");\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\n\t if (ast.builtin === BuiltinVar.This) {\n\t ctx.print('self');\n\t }\n\t else if (ast.builtin === BuiltinVar.Super) {\n\t throw new Error(\"'super' needs to be handled at a parent ast node, not at the variable level!\");\n\t }\n\t else {\n\t _super.prototype.visitReadVarExpr.call(this, ast, ctx);\n\t }\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n\t ctx.print(\"var \" + stmt.name + \" = \");\n\t stmt.value.visitExpression(this, ctx);\n\t ctx.println(\";\");\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\n\t ast.value.visitExpression(this, ctx);\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\n\t var fnExpr = expr.fn;\n\t if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n\t ctx.currentClass.parent.visitExpression(this, ctx);\n\t ctx.print(\".call(this\");\n\t if (expr.args.length > 0) {\n\t ctx.print(\", \");\n\t this.visitAllExpressions(expr.args, ctx, ',');\n\t }\n\t ctx.print(\")\");\n\t }\n\t else {\n\t _super.prototype.visitInvokeFunctionExpr.call(this, expr, ctx);\n\t }\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\n\t ctx.print(\"function(\");\n\t this._visitParams(ast.params, ctx);\n\t ctx.println(\") {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(ast.statements, ctx);\n\t ctx.decIndent();\n\t ctx.print(\"}\");\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n\t ctx.print(\"function \" + stmt.name + \"(\");\n\t this._visitParams(stmt.params, ctx);\n\t ctx.println(\") {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.statements, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\n\t ctx.println(\"try {\");\n\t ctx.incIndent();\n\t this.visitAllStatements(stmt.bodyStmts, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"} catch (\" + CATCH_ERROR_VAR$1.name + \") {\");\n\t ctx.incIndent();\n\t var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [\n\t StmtModifier.Final\n\t ])].concat(stmt.catchStmts);\n\t this.visitAllStatements(catchStmts, ctx);\n\t ctx.decIndent();\n\t ctx.println(\"}\");\n\t return null;\n\t };\n\t AbstractJsEmitterVisitor.prototype._visitParams = function (params, ctx) {\n\t this.visitAllObjects(function (param) { return ctx.print(param.name); }, params, ctx, ',');\n\t };\n\t AbstractJsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\n\t var name;\n\t switch (method) {\n\t case BuiltinMethod.ConcatArray:\n\t name = 'concat';\n\t break;\n\t case BuiltinMethod.SubscribeObservable:\n\t name = 'subscribe';\n\t break;\n\t case BuiltinMethod.Bind:\n\t name = 'bind';\n\t break;\n\t default:\n\t throw new Error(\"Unknown builtin method: \" + method);\n\t }\n\t return name;\n\t };\n\t return AbstractJsEmitterVisitor;\n\t }(AbstractEmitterVisitor));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$21 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function evalExpression(sourceUrl, expr, declarations, vars) {\n\t var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n\t var fnArgNames = [];\n\t var fnArgValues = [];\n\t for (var argName in vars) {\n\t fnArgNames.push(argName);\n\t fnArgValues.push(vars[argName]);\n\t }\n\t return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n\t }\n\t function jitStatements(sourceUrl, statements, resultVar) {\n\t var converter = new JitEmitterVisitor();\n\t var ctx = EmitterVisitorContext.createRoot([resultVar]);\n\t converter.visitAllStatements(statements, ctx);\n\t return evalExpression(sourceUrl, resultVar, ctx.toSource(), converter.getArgs());\n\t }\n\t var JitEmitterVisitor = (function (_super) {\n\t __extends$21(JitEmitterVisitor, _super);\n\t function JitEmitterVisitor() {\n\t _super.apply(this, arguments);\n\t this._evalArgNames = [];\n\t this._evalArgValues = [];\n\t }\n\t JitEmitterVisitor.prototype.getArgs = function () {\n\t var result = {};\n\t for (var i = 0; i < this._evalArgNames.length; i++) {\n\t result[this._evalArgNames[i]] = this._evalArgValues[i];\n\t }\n\t return result;\n\t };\n\t JitEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\n\t var value = ast.value.reference;\n\t var id = this._evalArgValues.indexOf(value);\n\t if (id === -1) {\n\t id = this._evalArgValues.length;\n\t this._evalArgValues.push(value);\n\t var name_1 = isPresent(ast.value.name) ? sanitizeIdentifier(ast.value.name) : 'val';\n\t this._evalArgNames.push(sanitizeIdentifier(\"jit_\" + name_1 + id));\n\t }\n\t ctx.print(this._evalArgNames[id]);\n\t return null;\n\t };\n\t return JitEmitterVisitor;\n\t }(AbstractJsEmitterVisitor));\n\t\n\t /**\n\t * An internal module of the Angular compiler that begins with component types,\n\t * extracts templates, and eventually produces a compiled version of the component\n\t * ready for linking into an application.\n\t *\n\t * @security When compiling templates at runtime, you must ensure that the entire template comes\n\t * from a trusted source. Attacker-controlled data introduced by a template could expose your\n\t * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n\t */\n\t var JitCompiler = (function () {\n\t function JitCompiler(_injector, _metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _ngModuleCompiler, _directiveWrapperCompiler, _compilerConfig, _animationParser) {\n\t this._injector = _injector;\n\t this._metadataResolver = _metadataResolver;\n\t this._templateParser = _templateParser;\n\t this._styleCompiler = _styleCompiler;\n\t this._viewCompiler = _viewCompiler;\n\t this._ngModuleCompiler = _ngModuleCompiler;\n\t this._directiveWrapperCompiler = _directiveWrapperCompiler;\n\t this._compilerConfig = _compilerConfig;\n\t this._animationParser = _animationParser;\n\t this._compiledTemplateCache = new Map();\n\t this._compiledHostTemplateCache = new Map();\n\t this._compiledDirectiveWrapperCache = new Map();\n\t this._compiledNgModuleCache = new Map();\n\t this._animationCompiler = new AnimationCompiler();\n\t }\n\t Object.defineProperty(JitCompiler.prototype, \"injector\", {\n\t get: function () { return this._injector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t JitCompiler.prototype.compileModuleSync = function (moduleType) {\n\t return this._compileModuleAndComponents(moduleType, true).syncResult;\n\t };\n\t JitCompiler.prototype.compileModuleAsync = function (moduleType) {\n\t return this._compileModuleAndComponents(moduleType, false).asyncResult;\n\t };\n\t JitCompiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n\t return this._compileModuleAndAllComponents(moduleType, true).syncResult;\n\t };\n\t JitCompiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n\t return this._compileModuleAndAllComponents(moduleType, false).asyncResult;\n\t };\n\t JitCompiler.prototype._compileModuleAndComponents = function (moduleType, isSync) {\n\t var _this = this;\n\t var loadingPromise = this._loadModules(moduleType, isSync);\n\t var createResult = function () {\n\t _this._compileComponents(moduleType, null);\n\t return _this._compileModule(moduleType);\n\t };\n\t if (isSync) {\n\t return new SyncAsyncResult(createResult());\n\t }\n\t else {\n\t return new SyncAsyncResult(null, loadingPromise.then(createResult));\n\t }\n\t };\n\t JitCompiler.prototype._compileModuleAndAllComponents = function (moduleType, isSync) {\n\t var _this = this;\n\t var loadingPromise = this._loadModules(moduleType, isSync);\n\t var createResult = function () {\n\t var componentFactories = [];\n\t _this._compileComponents(moduleType, componentFactories);\n\t return new _angular_core.ModuleWithComponentFactories(_this._compileModule(moduleType), componentFactories);\n\t };\n\t if (isSync) {\n\t return new SyncAsyncResult(createResult());\n\t }\n\t else {\n\t return new SyncAsyncResult(null, loadingPromise.then(createResult));\n\t }\n\t };\n\t JitCompiler.prototype._loadModules = function (mainModule, isSync) {\n\t var _this = this;\n\t var loadingPromises = [];\n\t var _a = this._metadataResolver.loadNgModuleMetadata(mainModule, isSync), ngModule = _a.ngModule, loading = _a.loading;\n\t loadingPromises.push(loading);\n\t // Note: the loadingPromise for a module only includes the loading of the exported directives\n\t // of imported modules.\n\t // However, for runtime compilation, we want to transitively compile all modules,\n\t // so we also need to call loadNgModuleMetadata for all nested modules.\n\t ngModule.transitiveModule.modules.forEach(function (localModuleMeta) {\n\t loadingPromises.push(_this._metadataResolver.loadNgModuleMetadata(localModuleMeta.type.reference, isSync)\n\t .loading);\n\t });\n\t return Promise.all(loadingPromises);\n\t };\n\t JitCompiler.prototype._compileModule = function (moduleType) {\n\t var _this = this;\n\t var ngModuleFactory = this._compiledNgModuleCache.get(moduleType);\n\t if (!ngModuleFactory) {\n\t var moduleMeta_1 = this._metadataResolver.getNgModuleMetadata(moduleType);\n\t // Always provide a bound Compiler\n\t var extraProviders = [this._metadataResolver.getProviderMetadata(new ProviderMeta(_angular_core.Compiler, { useFactory: function () { return new ModuleBoundCompiler(_this, moduleMeta_1.type.reference); } }))];\n\t var compileResult = this._ngModuleCompiler.compile(moduleMeta_1, extraProviders);\n\t compileResult.dependencies.forEach(function (dep) {\n\t dep.placeholder.reference =\n\t _this._assertComponentKnown(dep.comp.reference, true).proxyComponentFactory;\n\t dep.placeholder.name = \"compFactory_\" + dep.comp.name;\n\t });\n\t if (!this._compilerConfig.useJit) {\n\t ngModuleFactory =\n\t interpretStatements(compileResult.statements, compileResult.ngModuleFactoryVar);\n\t }\n\t else {\n\t ngModuleFactory = jitStatements(\"/\" + moduleMeta_1.type.name + \"/module.ngfactory.js\", compileResult.statements, compileResult.ngModuleFactoryVar);\n\t }\n\t this._compiledNgModuleCache.set(moduleMeta_1.type.reference, ngModuleFactory);\n\t }\n\t return ngModuleFactory;\n\t };\n\t /**\n\t * @internal\n\t */\n\t JitCompiler.prototype._compileComponents = function (mainModule, allComponentFactories) {\n\t var _this = this;\n\t var ngModule = this._metadataResolver.getNgModuleMetadata(mainModule);\n\t var moduleByDirective = new Map();\n\t var templates = new Set();\n\t ngModule.transitiveModule.modules.forEach(function (localModuleSummary) {\n\t var localModuleMeta = _this._metadataResolver.getNgModuleMetadata(localModuleSummary.type.reference);\n\t localModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n\t moduleByDirective.set(dirIdentifier.reference, localModuleMeta);\n\t var dirMeta = _this._metadataResolver.getDirectiveMetadata(dirIdentifier.reference);\n\t _this._compileDirectiveWrapper(dirMeta, localModuleMeta);\n\t if (dirMeta.isComponent) {\n\t templates.add(_this._createCompiledTemplate(dirMeta, localModuleMeta));\n\t if (allComponentFactories) {\n\t var template = _this._createCompiledHostTemplate(dirMeta.type.reference, localModuleMeta);\n\t templates.add(template);\n\t allComponentFactories.push(template.proxyComponentFactory);\n\t }\n\t }\n\t });\n\t });\n\t ngModule.transitiveModule.modules.forEach(function (localModuleSummary) {\n\t var localModuleMeta = _this._metadataResolver.getNgModuleMetadata(localModuleSummary.type.reference);\n\t localModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n\t var dirMeta = _this._metadataResolver.getDirectiveMetadata(dirIdentifier.reference);\n\t if (dirMeta.isComponent) {\n\t dirMeta.entryComponents.forEach(function (entryComponentType) {\n\t var moduleMeta = moduleByDirective.get(entryComponentType.reference);\n\t templates.add(_this._createCompiledHostTemplate(entryComponentType.reference, moduleMeta));\n\t });\n\t }\n\t });\n\t localModuleMeta.entryComponents.forEach(function (entryComponentType) {\n\t var moduleMeta = moduleByDirective.get(entryComponentType.reference);\n\t templates.add(_this._createCompiledHostTemplate(entryComponentType.reference, moduleMeta));\n\t });\n\t });\n\t templates.forEach(function (template) { return _this._compileTemplate(template); });\n\t };\n\t JitCompiler.prototype.clearCacheFor = function (type) {\n\t this._compiledNgModuleCache.delete(type);\n\t this._metadataResolver.clearCacheFor(type);\n\t this._compiledHostTemplateCache.delete(type);\n\t var compiledTemplate = this._compiledTemplateCache.get(type);\n\t if (compiledTemplate) {\n\t this._compiledTemplateCache.delete(type);\n\t }\n\t };\n\t JitCompiler.prototype.clearCache = function () {\n\t this._metadataResolver.clearCache();\n\t this._compiledTemplateCache.clear();\n\t this._compiledHostTemplateCache.clear();\n\t this._compiledNgModuleCache.clear();\n\t };\n\t JitCompiler.prototype._createCompiledHostTemplate = function (compType, ngModule) {\n\t if (!ngModule) {\n\t throw new Error(\"Component \" + stringify(compType) + \" is not part of any NgModule or the module has not been imported into your module.\");\n\t }\n\t var compiledTemplate = this._compiledHostTemplateCache.get(compType);\n\t if (!compiledTemplate) {\n\t var compMeta = this._metadataResolver.getDirectiveMetadata(compType);\n\t assertComponent(compMeta);\n\t var hostMeta = createHostComponentMeta(compMeta);\n\t compiledTemplate = new CompiledTemplate(true, compMeta.selector, compMeta.type, hostMeta, ngModule, [compMeta.type]);\n\t this._compiledHostTemplateCache.set(compType, compiledTemplate);\n\t }\n\t return compiledTemplate;\n\t };\n\t JitCompiler.prototype._createCompiledTemplate = function (compMeta, ngModule) {\n\t var compiledTemplate = this._compiledTemplateCache.get(compMeta.type.reference);\n\t if (!compiledTemplate) {\n\t assertComponent(compMeta);\n\t compiledTemplate = new CompiledTemplate(false, compMeta.selector, compMeta.type, compMeta, ngModule, ngModule.transitiveModule.directives);\n\t this._compiledTemplateCache.set(compMeta.type.reference, compiledTemplate);\n\t }\n\t return compiledTemplate;\n\t };\n\t JitCompiler.prototype._assertComponentKnown = function (compType, isHost) {\n\t var compiledTemplate = isHost ? this._compiledHostTemplateCache.get(compType) :\n\t this._compiledTemplateCache.get(compType);\n\t if (!compiledTemplate) {\n\t throw new Error(\"Illegal state: Compiled view for component \" + stringify(compType) + \" (host: \" + isHost + \") does not exist!\");\n\t }\n\t return compiledTemplate;\n\t };\n\t JitCompiler.prototype._assertDirectiveWrapper = function (dirType) {\n\t var dirWrapper = this._compiledDirectiveWrapperCache.get(dirType);\n\t if (!dirWrapper) {\n\t throw new Error(\"Illegal state: Directive wrapper for \" + stringify(dirType) + \" has not been compiled!\");\n\t }\n\t return dirWrapper;\n\t };\n\t JitCompiler.prototype._compileDirectiveWrapper = function (dirMeta, moduleMeta) {\n\t var compileResult = this._directiveWrapperCompiler.compile(dirMeta);\n\t var statements = compileResult.statements;\n\t var directiveWrapperClass;\n\t if (!this._compilerConfig.useJit) {\n\t directiveWrapperClass = interpretStatements(statements, compileResult.dirWrapperClassVar);\n\t }\n\t else {\n\t directiveWrapperClass = jitStatements(\"/\" + moduleMeta.type.name + \"/\" + dirMeta.type.name + \"/wrapper.ngfactory.js\", statements, compileResult.dirWrapperClassVar);\n\t }\n\t this._compiledDirectiveWrapperCache.set(dirMeta.type.reference, directiveWrapperClass);\n\t };\n\t JitCompiler.prototype._compileTemplate = function (template) {\n\t var _this = this;\n\t if (template.isCompiled) {\n\t return;\n\t }\n\t var compMeta = template.compMeta;\n\t var externalStylesheetsByModuleUrl = new Map();\n\t var stylesCompileResult = this._styleCompiler.compileComponent(compMeta);\n\t stylesCompileResult.externalStylesheets.forEach(function (r) { externalStylesheetsByModuleUrl.set(r.meta.moduleUrl, r); });\n\t this._resolveStylesCompileResult(stylesCompileResult.componentStylesheet, externalStylesheetsByModuleUrl);\n\t var parsedAnimations = this._animationParser.parseComponent(compMeta);\n\t var directives = template.directives.map(function (dir) { return _this._metadataResolver.getDirectiveSummary(dir.reference); });\n\t var pipes = template.ngModule.transitiveModule.pipes.map(function (pipe) { return _this._metadataResolver.getPipeSummary(pipe.reference); });\n\t var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, template.ngModule.schemas, compMeta.type.name);\n\t var compiledAnimations = this._animationCompiler.compile(compMeta.type.name, parsedAnimations);\n\t var compileResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, variable(stylesCompileResult.componentStylesheet.stylesVar), pipes, compiledAnimations);\n\t compileResult.dependencies.forEach(function (dep) {\n\t var depTemplate;\n\t if (dep instanceof ViewClassDependency) {\n\t var vfd = dep;\n\t depTemplate = _this._assertComponentKnown(vfd.comp.reference, false);\n\t vfd.placeholder.reference = depTemplate.proxyViewClass;\n\t vfd.placeholder.name = \"View_\" + vfd.comp.name;\n\t }\n\t else if (dep instanceof ComponentFactoryDependency$1) {\n\t var cfd = dep;\n\t depTemplate = _this._assertComponentKnown(cfd.comp.reference, true);\n\t cfd.placeholder.reference = depTemplate.proxyComponentFactory;\n\t cfd.placeholder.name = \"compFactory_\" + cfd.comp.name;\n\t }\n\t else if (dep instanceof DirectiveWrapperDependency) {\n\t var dwd = dep;\n\t dwd.placeholder.reference = _this._assertDirectiveWrapper(dwd.dir.reference);\n\t }\n\t });\n\t var statements = (_a = stylesCompileResult.componentStylesheet.statements).concat.apply(_a, compiledAnimations.map(function (ca) { return ca.statements; }))\n\t .concat(compileResult.statements);\n\t var viewClass;\n\t if (!this._compilerConfig.useJit) {\n\t viewClass = interpretStatements(statements, compileResult.viewClassVar);\n\t }\n\t else {\n\t viewClass = jitStatements(\"/\" + template.ngModule.type.name + \"/\" + template.compType.name + \"/\" + (template.isHost ? 'host' : 'component') + \".ngfactory.js\", statements, compileResult.viewClassVar);\n\t }\n\t template.compiled(viewClass);\n\t var _a;\n\t };\n\t JitCompiler.prototype._resolveStylesCompileResult = function (result, externalStylesheetsByModuleUrl) {\n\t var _this = this;\n\t result.dependencies.forEach(function (dep, i) {\n\t var nestedCompileResult = externalStylesheetsByModuleUrl.get(dep.moduleUrl);\n\t var nestedStylesArr = _this._resolveAndEvalStylesCompileResult(nestedCompileResult, externalStylesheetsByModuleUrl);\n\t dep.valuePlaceholder.reference = nestedStylesArr;\n\t dep.valuePlaceholder.name = \"importedStyles\" + i;\n\t });\n\t };\n\t JitCompiler.prototype._resolveAndEvalStylesCompileResult = function (result, externalStylesheetsByModuleUrl) {\n\t this._resolveStylesCompileResult(result, externalStylesheetsByModuleUrl);\n\t if (!this._compilerConfig.useJit) {\n\t return interpretStatements(result.statements, result.stylesVar);\n\t }\n\t else {\n\t return jitStatements(\"/\" + result.meta.moduleUrl + \".css.js\", result.statements, result.stylesVar);\n\t }\n\t };\n\t JitCompiler.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t JitCompiler.ctorParameters = [\n\t { type: _angular_core.Injector, },\n\t { type: CompileMetadataResolver, },\n\t { type: TemplateParser, },\n\t { type: StyleCompiler, },\n\t { type: ViewCompiler, },\n\t { type: NgModuleCompiler, },\n\t { type: DirectiveWrapperCompiler, },\n\t { type: CompilerConfig, },\n\t { type: AnimationParser, },\n\t ];\n\t return JitCompiler;\n\t }());\n\t var CompiledTemplate = (function () {\n\t function CompiledTemplate(isHost, selector, compType, compMeta, ngModule, directives) {\n\t this.isHost = isHost;\n\t this.compType = compType;\n\t this.compMeta = compMeta;\n\t this.ngModule = ngModule;\n\t this.directives = directives;\n\t this._viewClass = null;\n\t this.isCompiled = false;\n\t var self = this;\n\t this.proxyViewClass = function () {\n\t if (!self._viewClass) {\n\t throw new Error(\"Illegal state: CompiledTemplate for \" + stringify(self.compType) + \" is not compiled yet!\");\n\t }\n\t return self._viewClass.apply(this, arguments);\n\t };\n\t this.proxyComponentFactory = isHost ?\n\t new _angular_core.ComponentFactory(selector, this.proxyViewClass, compType.reference) :\n\t null;\n\t }\n\t CompiledTemplate.prototype.compiled = function (viewClass) {\n\t this._viewClass = viewClass;\n\t this.proxyViewClass.prototype = viewClass.prototype;\n\t this.isCompiled = true;\n\t };\n\t return CompiledTemplate;\n\t }());\n\t function assertComponent(meta) {\n\t if (!meta.isComponent) {\n\t throw new Error(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n\t }\n\t }\n\t /**\n\t * Implements `Compiler` by delegating to the JitCompiler using a known module.\n\t */\n\t var ModuleBoundCompiler = (function () {\n\t function ModuleBoundCompiler(_delegate, _ngModule) {\n\t this._delegate = _delegate;\n\t this._ngModule = _ngModule;\n\t }\n\t Object.defineProperty(ModuleBoundCompiler.prototype, \"_injector\", {\n\t get: function () { return this._delegate.injector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ModuleBoundCompiler.prototype.compileModuleSync = function (moduleType) {\n\t return this._delegate.compileModuleSync(moduleType);\n\t };\n\t ModuleBoundCompiler.prototype.compileModuleAsync = function (moduleType) {\n\t return this._delegate.compileModuleAsync(moduleType);\n\t };\n\t ModuleBoundCompiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n\t return this._delegate.compileModuleAndAllComponentsSync(moduleType);\n\t };\n\t ModuleBoundCompiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n\t return this._delegate.compileModuleAndAllComponentsAsync(moduleType);\n\t };\n\t /**\n\t * Clears all caches\n\t */\n\t ModuleBoundCompiler.prototype.clearCache = function () { this._delegate.clearCache(); };\n\t /**\n\t * Clears the cache for the given component/ngModule.\n\t */\n\t ModuleBoundCompiler.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };\n\t return ModuleBoundCompiler;\n\t }());\n\t\n\t var Extractor = (function () {\n\t function Extractor(options, host, staticReflector, messageBundle, metadataResolver) {\n\t this.options = options;\n\t this.host = host;\n\t this.staticReflector = staticReflector;\n\t this.messageBundle = messageBundle;\n\t this.metadataResolver = metadataResolver;\n\t }\n\t Extractor.prototype.extract = function (rootFiles) {\n\t var _this = this;\n\t var programSymbols = extractProgramSymbols(this.staticReflector, rootFiles, this.options);\n\t var _a = analyzeAndValidateNgModules(programSymbols, this.options, this.metadataResolver), ngModuleByPipeOrDirective = _a.ngModuleByPipeOrDirective, files = _a.files, ngModules = _a.ngModules;\n\t return loadNgModuleDirectives(ngModules).then(function () {\n\t var errors = [];\n\t files.forEach(function (file) {\n\t var compMetas = [];\n\t file.directives.forEach(function (directiveType) {\n\t var dirMeta = _this.metadataResolver.getDirectiveMetadata(directiveType);\n\t if (dirMeta && dirMeta.isComponent) {\n\t compMetas.push(dirMeta);\n\t }\n\t });\n\t compMetas.forEach(function (compMeta) {\n\t var html = compMeta.template.template;\n\t var interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n\t errors.push.apply(errors, _this.messageBundle.updateFromTemplate(html, file.srcUrl, interpolationConfig));\n\t });\n\t });\n\t if (errors.length) {\n\t throw new Error(errors.map(function (e) { return e.toString(); }).join('\\n'));\n\t }\n\t return _this.messageBundle;\n\t });\n\t };\n\t Extractor.create = function (host, options) {\n\t var htmlParser = new I18NHtmlParser(new HtmlParser());\n\t var urlResolver = createOfflineCompileUrlResolver();\n\t var staticReflector = new StaticReflector(host);\n\t StaticAndDynamicReflectionCapabilities.install(staticReflector);\n\t var config = new CompilerConfig({\n\t genDebugInfo: false,\n\t defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated,\n\t logBindingUpdate: false,\n\t useJit: false\n\t });\n\t var normalizer = new DirectiveNormalizer({ get: function (url) { return host.loadResource(url); } }, urlResolver, htmlParser, config);\n\t var elementSchemaRegistry = new DomElementSchemaRegistry();\n\t var resolver = new CompileMetadataResolver(new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), elementSchemaRegistry, normalizer, staticReflector);\n\t // TODO(vicb): implicit tags & attributes\n\t var messageBundle = new MessageBundle(htmlParser, [], {});\n\t var extractor = new Extractor(options, host, staticReflector, messageBundle, resolver);\n\t return { extractor: extractor, staticReflector: staticReflector };\n\t };\n\t return Extractor;\n\t }());\n\t\n\t var _NO_RESOURCE_LOADER = {\n\t get: function (url) {\n\t throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\" + url + \"\\\"\");\n\t }\n\t };\n\t /**\n\t * A set of providers that provide `JitCompiler` and its dependencies to use for\n\t * template compilation.\n\t */\n\t var COMPILER_PROVIDERS = [\n\t { provide: Reflector, useValue: reflector },\n\t { provide: ReflectorReader, useExisting: Reflector },\n\t { provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER },\n\t Console,\n\t Lexer,\n\t Parser,\n\t HtmlParser,\n\t {\n\t provide: I18NHtmlParser,\n\t useFactory: function (parser, translations, format) {\n\t return new I18NHtmlParser(parser, translations, format);\n\t },\n\t deps: [\n\t HtmlParser,\n\t [new _angular_core.Optional(), new _angular_core.Inject(_angular_core.TRANSLATIONS)],\n\t [new _angular_core.Optional(), new _angular_core.Inject(_angular_core.TRANSLATIONS_FORMAT)],\n\t ]\n\t },\n\t TemplateParser,\n\t DirectiveNormalizer,\n\t CompileMetadataResolver,\n\t DEFAULT_PACKAGE_URL_PROVIDER,\n\t StyleCompiler,\n\t ViewCompiler,\n\t NgModuleCompiler,\n\t DirectiveWrapperCompiler,\n\t { provide: CompilerConfig, useValue: new CompilerConfig() },\n\t JitCompiler,\n\t { provide: _angular_core.Compiler, useExisting: JitCompiler },\n\t DomElementSchemaRegistry,\n\t { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry },\n\t UrlResolver,\n\t DirectiveResolver,\n\t PipeResolver,\n\t NgModuleResolver,\n\t AnimationParser\n\t ];\n\t var JitCompilerFactory = (function () {\n\t function JitCompilerFactory(defaultOptions) {\n\t this._defaultOptions = [{\n\t useDebug: _angular_core.isDevMode(),\n\t useJit: true,\n\t defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated\n\t }].concat(defaultOptions);\n\t }\n\t JitCompilerFactory.prototype.createCompiler = function (options) {\n\t if (options === void 0) { options = []; }\n\t var mergedOptions = _mergeOptions(this._defaultOptions.concat(options));\n\t var injector = _angular_core.ReflectiveInjector.resolveAndCreate([\n\t COMPILER_PROVIDERS, {\n\t provide: CompilerConfig,\n\t useFactory: function () {\n\t return new CompilerConfig({\n\t // let explicit values from the compiler options overwrite options\n\t // from the app providers. E.g. important for the testing platform.\n\t genDebugInfo: mergedOptions.useDebug,\n\t // let explicit values from the compiler options overwrite options\n\t // from the app providers\n\t useJit: mergedOptions.useJit,\n\t // let explicit values from the compiler options overwrite options\n\t // from the app providers\n\t defaultEncapsulation: mergedOptions.defaultEncapsulation,\n\t logBindingUpdate: mergedOptions.useDebug\n\t });\n\t },\n\t deps: []\n\t },\n\t mergedOptions.providers\n\t ]);\n\t return injector.get(_angular_core.Compiler);\n\t };\n\t JitCompilerFactory.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t JitCompilerFactory.ctorParameters = [\n\t { type: Array, decorators: [{ type: _angular_core.Inject, args: [_angular_core.COMPILER_OPTIONS,] },] },\n\t ];\n\t return JitCompilerFactory;\n\t }());\n\t function _initReflector() {\n\t reflector.reflectionCapabilities = new ReflectionCapabilities();\n\t }\n\t /**\n\t * A platform that included corePlatform and the compiler.\n\t *\n\t * @experimental\n\t */\n\t var platformCoreDynamic = _angular_core.createPlatformFactory(_angular_core.platformCore, 'coreDynamic', [\n\t { provide: _angular_core.COMPILER_OPTIONS, useValue: {}, multi: true },\n\t { provide: _angular_core.CompilerFactory, useClass: JitCompilerFactory },\n\t { provide: _angular_core.PLATFORM_INITIALIZER, useValue: _initReflector, multi: true },\n\t ]);\n\t function _mergeOptions(optionsArr) {\n\t return {\n\t useDebug: _lastDefined(optionsArr.map(function (options) { return options.useDebug; })),\n\t useJit: _lastDefined(optionsArr.map(function (options) { return options.useJit; })),\n\t defaultEncapsulation: _lastDefined(optionsArr.map(function (options) { return options.defaultEncapsulation; })),\n\t providers: _mergeArrays(optionsArr.map(function (options) { return options.providers; }))\n\t };\n\t }\n\t function _lastDefined(args) {\n\t for (var i = args.length - 1; i >= 0; i--) {\n\t if (args[i] !== undefined) {\n\t return args[i];\n\t }\n\t }\n\t return undefined;\n\t }\n\t function _mergeArrays(parts) {\n\t var result = [];\n\t parts.forEach(function (part) { return part && result.push.apply(result, part); });\n\t return result;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Interface that defines how import statements should be generated.\n\t */\n\t var ImportResolver = (function () {\n\t function ImportResolver() {\n\t }\n\t return ImportResolver;\n\t }());\n\t\n\t exports.TEMPLATE_TRANSFORMS = TEMPLATE_TRANSFORMS;\n\t exports.CompilerConfig = CompilerConfig;\n\t exports.RenderTypes = RenderTypes;\n\t exports.JitCompiler = JitCompiler;\n\t exports.DirectiveResolver = DirectiveResolver;\n\t exports.PipeResolver = PipeResolver;\n\t exports.NgModuleResolver = NgModuleResolver;\n\t exports.DEFAULT_INTERPOLATION_CONFIG = DEFAULT_INTERPOLATION_CONFIG;\n\t exports.InterpolationConfig = InterpolationConfig;\n\t exports.NgModuleCompiler = NgModuleCompiler;\n\t exports.DirectiveWrapperCompiler = DirectiveWrapperCompiler;\n\t exports.ViewCompiler = ViewCompiler;\n\t exports.AnimationParser = AnimationParser;\n\t exports.TextAst = TextAst;\n\t exports.BoundTextAst = BoundTextAst;\n\t exports.AttrAst = AttrAst;\n\t exports.BoundElementPropertyAst = BoundElementPropertyAst;\n\t exports.BoundEventAst = BoundEventAst;\n\t exports.ReferenceAst = ReferenceAst;\n\t exports.VariableAst = VariableAst;\n\t exports.ElementAst = ElementAst;\n\t exports.EmbeddedTemplateAst = EmbeddedTemplateAst;\n\t exports.BoundDirectivePropertyAst = BoundDirectivePropertyAst;\n\t exports.DirectiveAst = DirectiveAst;\n\t exports.ProviderAst = ProviderAst;\n\t exports.NgContentAst = NgContentAst;\n\t exports.templateVisitAll = templateVisitAll;\n\t exports.CompileMetadataWithIdentifier = CompileMetadataWithIdentifier;\n\t exports.CompileAnimationEntryMetadata = CompileAnimationEntryMetadata;\n\t exports.CompileAnimationStateMetadata = CompileAnimationStateMetadata;\n\t exports.CompileAnimationStateDeclarationMetadata = CompileAnimationStateDeclarationMetadata;\n\t exports.CompileAnimationStateTransitionMetadata = CompileAnimationStateTransitionMetadata;\n\t exports.CompileAnimationMetadata = CompileAnimationMetadata;\n\t exports.CompileAnimationKeyframesSequenceMetadata = CompileAnimationKeyframesSequenceMetadata;\n\t exports.CompileAnimationStyleMetadata = CompileAnimationStyleMetadata;\n\t exports.CompileAnimationAnimateMetadata = CompileAnimationAnimateMetadata;\n\t exports.CompileAnimationWithStepsMetadata = CompileAnimationWithStepsMetadata;\n\t exports.CompileAnimationSequenceMetadata = CompileAnimationSequenceMetadata;\n\t exports.CompileAnimationGroupMetadata = CompileAnimationGroupMetadata;\n\t exports.CompileIdentifierMetadata = CompileIdentifierMetadata;\n\t exports.CompileDiDependencyMetadata = CompileDiDependencyMetadata;\n\t exports.CompileProviderMetadata = CompileProviderMetadata;\n\t exports.CompileFactoryMetadata = CompileFactoryMetadata;\n\t exports.CompileTokenMetadata = CompileTokenMetadata;\n\t exports.CompileTypeMetadata = CompileTypeMetadata;\n\t exports.CompileQueryMetadata = CompileQueryMetadata;\n\t exports.CompileStylesheetMetadata = CompileStylesheetMetadata;\n\t exports.CompileTemplateMetadata = CompileTemplateMetadata;\n\t exports.CompileDirectiveMetadata = CompileDirectiveMetadata;\n\t exports.createHostComponentMeta = createHostComponentMeta;\n\t exports.CompilePipeMetadata = CompilePipeMetadata;\n\t exports.CompileNgModuleMetadata = CompileNgModuleMetadata;\n\t exports.TransitiveCompileNgModuleMetadata = TransitiveCompileNgModuleMetadata;\n\t exports.removeIdentifierDuplicates = removeIdentifierDuplicates;\n\t exports.ProviderMeta = ProviderMeta;\n\t exports.createAotCompiler = createAotCompiler;\n\t exports.SourceModule = SourceModule;\n\t exports.AotCompiler = AotCompiler;\n\t exports.analyzeNgModules = analyzeNgModules;\n\t exports.analyzeAndValidateNgModules = analyzeAndValidateNgModules;\n\t exports.loadNgModuleDirectives = loadNgModuleDirectives;\n\t exports.extractProgramSymbols = extractProgramSymbols;\n\t exports.StaticSymbolCache = StaticSymbolCache;\n\t exports.StaticReflector = StaticReflector;\n\t exports.StaticAndDynamicReflectionCapabilities = StaticAndDynamicReflectionCapabilities;\n\t exports.isStaticSymbol = isStaticSymbol;\n\t exports.StaticSymbol = StaticSymbol;\n\t exports.COMPILER_PROVIDERS = COMPILER_PROVIDERS;\n\t exports.JitCompilerFactory = JitCompilerFactory;\n\t exports.platformCoreDynamic = platformCoreDynamic;\n\t exports.createUrlResolverWithoutPackagePrefix = createUrlResolverWithoutPackagePrefix;\n\t exports.createOfflineCompileUrlResolver = createOfflineCompileUrlResolver;\n\t exports.DEFAULT_PACKAGE_URL_PROVIDER = DEFAULT_PACKAGE_URL_PROVIDER;\n\t exports.UrlResolver = UrlResolver;\n\t exports.getUrlScheme = getUrlScheme;\n\t exports.ResourceLoader = ResourceLoader;\n\t exports.ElementSchemaRegistry = ElementSchemaRegistry;\n\t exports.Extractor = Extractor;\n\t exports.I18NHtmlParser = I18NHtmlParser;\n\t exports.MessageBundle = MessageBundle;\n\t exports.Xliff = Xliff;\n\t exports.Xmb = Xmb;\n\t exports.Xtb = Xtb;\n\t exports.DirectiveNormalizer = DirectiveNormalizer;\n\t exports.Lexer = Lexer;\n\t exports.Token = Token;\n\t exports.EOF = EOF;\n\t exports.isIdentifier = isIdentifier;\n\t exports.isQuote = isQuote;\n\t exports.SplitInterpolation = SplitInterpolation;\n\t exports.TemplateBindingParseResult = TemplateBindingParseResult;\n\t exports.Parser = Parser;\n\t exports._ParseAST = _ParseAST;\n\t exports.CompileMetadataResolver = CompileMetadataResolver;\n\t exports.HtmlParser = HtmlParser;\n\t exports.ParseTreeResult = ParseTreeResult;\n\t exports.TreeError = TreeError;\n\t exports.ImportResolver = ImportResolver;\n\t exports.debugOutputAstAsTypeScript = debugOutputAstAsTypeScript;\n\t exports.TypeScriptEmitter = TypeScriptEmitter;\n\t exports.ParseLocation = ParseLocation;\n\t exports.ParseSourceFile = ParseSourceFile;\n\t exports.ParseSourceSpan = ParseSourceSpan;\n\t exports.ParseError = ParseError;\n\t exports.DomElementSchemaRegistry = DomElementSchemaRegistry;\n\t exports.CssSelector = CssSelector;\n\t exports.SelectorMatcher = SelectorMatcher;\n\t exports.SelectorListContext = SelectorListContext;\n\t exports.SelectorContext = SelectorContext;\n\t exports.StylesCompileDependency = StylesCompileDependency;\n\t exports.StylesCompileResult = StylesCompileResult;\n\t exports.CompiledStylesheet = CompiledStylesheet;\n\t exports.StyleCompiler = StyleCompiler;\n\t exports.TemplateParseError = TemplateParseError;\n\t exports.TemplateParseResult = TemplateParseResult;\n\t exports.TemplateParser = TemplateParser;\n\t exports.splitClasses = splitClasses;\n\t exports.removeSummaryDuplicates = removeSummaryDuplicates;\n\t\n\t}));\n\n/***/ },\n/* 263 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(264), __webpack_require__(265)) :\n\t typeof define === 'function' && define.amd ? define(['exports', 'rxjs/Subject', 'rxjs/Observable'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.core = global.ng.core || {}),global.Rx,global.Rx));\n\t}(this, function (exports,rxjs_Subject,rxjs_Observable) { 'use strict';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var globalScope;\n\t if (typeof window === 'undefined') {\n\t if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n\t // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n\t globalScope = self;\n\t }\n\t else {\n\t globalScope = global;\n\t }\n\t }\n\t else {\n\t globalScope = window;\n\t }\n\t function scheduleMicroTask(fn) {\n\t Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n\t }\n\t // Need to declare a new variable for global here since TypeScript\n\t // exports the original value of the symbol.\n\t var global$1 = globalScope;\n\t function getTypeNameForDebugging(type) {\n\t return type['name'] || typeof type;\n\t }\n\t // TODO: remove calls to assert in production environment\n\t // Note: Can't just export this and import in in other files\n\t // as `assert` is a reserved keyword in Dart\n\t global$1.assert = function assert(condition) {\n\t // TODO: to be fixed properly via #2830, noop for now\n\t };\n\t function isPresent(obj) {\n\t return obj != null;\n\t }\n\t function isBlank(obj) {\n\t return obj == null;\n\t }\n\t function stringify(token) {\n\t if (typeof token === 'string') {\n\t return token;\n\t }\n\t if (token == null) {\n\t return '' + token;\n\t }\n\t if (token.overriddenName) {\n\t return token.overriddenName;\n\t }\n\t if (token.name) {\n\t return token.name;\n\t }\n\t var res = token.toString();\n\t var newLineIndex = res.indexOf('\\n');\n\t return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n\t }\n\t // JS has NaN !== NaN\n\t function looseIdentical(a, b) {\n\t return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n\t }\n\t function isJsObject(o) {\n\t return o !== null && (typeof o === 'function' || typeof o === 'object');\n\t }\n\t function print(obj) {\n\t console.log(obj);\n\t }\n\t function warn(obj) {\n\t console.warn(obj);\n\t }\n\t var _symbolIterator = null;\n\t function getSymbolIterator() {\n\t if (!_symbolIterator) {\n\t if (globalScope.Symbol && Symbol.iterator) {\n\t _symbolIterator = Symbol.iterator;\n\t }\n\t else {\n\t // es6-shim specific logic\n\t var keys = Object.getOwnPropertyNames(Map.prototype);\n\t for (var i = 0; i < keys.length; ++i) {\n\t var key = keys[i];\n\t if (key !== 'entries' && key !== 'size' &&\n\t Map.prototype[key] === Map.prototype['entries']) {\n\t _symbolIterator = key;\n\t }\n\t }\n\t }\n\t }\n\t return _symbolIterator;\n\t }\n\t function isPrimitive(obj) {\n\t return !isJsObject(obj);\n\t }\n\t\n\t var _nextClassId = 0;\n\t var Reflect = global$1.Reflect;\n\t function extractAnnotation(annotation) {\n\t if (typeof annotation === 'function' && annotation.hasOwnProperty('annotation')) {\n\t // it is a decorator, extract annotation\n\t annotation = annotation.annotation;\n\t }\n\t return annotation;\n\t }\n\t function applyParams(fnOrArray, key) {\n\t if (fnOrArray === Object || fnOrArray === String || fnOrArray === Function ||\n\t fnOrArray === Number || fnOrArray === Array) {\n\t throw new Error(\"Can not use native \" + stringify(fnOrArray) + \" as constructor\");\n\t }\n\t if (typeof fnOrArray === 'function') {\n\t return fnOrArray;\n\t }\n\t if (Array.isArray(fnOrArray)) {\n\t var annotations = fnOrArray;\n\t var annoLength = annotations.length - 1;\n\t var fn = fnOrArray[annoLength];\n\t if (typeof fn !== 'function') {\n\t throw new Error(\"Last position of Class method array must be Function in key \" + key + \" was '\" + stringify(fn) + \"'\");\n\t }\n\t if (annoLength != fn.length) {\n\t throw new Error(\"Number of annotations (\" + annoLength + \") does not match number of arguments (\" + fn.length + \") in the function: \" + stringify(fn));\n\t }\n\t var paramsAnnotations = [];\n\t for (var i = 0, ii = annotations.length - 1; i < ii; i++) {\n\t var paramAnnotations = [];\n\t paramsAnnotations.push(paramAnnotations);\n\t var annotation = annotations[i];\n\t if (Array.isArray(annotation)) {\n\t for (var j = 0; j < annotation.length; j++) {\n\t paramAnnotations.push(extractAnnotation(annotation[j]));\n\t }\n\t }\n\t else if (typeof annotation === 'function') {\n\t paramAnnotations.push(extractAnnotation(annotation));\n\t }\n\t else {\n\t paramAnnotations.push(annotation);\n\t }\n\t }\n\t Reflect.defineMetadata('parameters', paramsAnnotations, fn);\n\t return fn;\n\t }\n\t throw new Error(\"Only Function or Array is supported in Class definition for key '\" + key + \"' is '\" + stringify(fnOrArray) + \"'\");\n\t }\n\t /**\n\t * Provides a way for expressing ES6 classes with parameter annotations in ES5.\n\t *\n\t * ## Basic Example\n\t *\n\t * ```\n\t * var Greeter = ng.Class({\n\t * constructor: function(name) {\n\t * this.name = name;\n\t * },\n\t *\n\t * greet: function() {\n\t * alert('Hello ' + this.name + '!');\n\t * }\n\t * });\n\t * ```\n\t *\n\t * is equivalent to ES6:\n\t *\n\t * ```\n\t * class Greeter {\n\t * constructor(name) {\n\t * this.name = name;\n\t * }\n\t *\n\t * greet() {\n\t * alert('Hello ' + this.name + '!');\n\t * }\n\t * }\n\t * ```\n\t *\n\t * or equivalent to ES5:\n\t *\n\t * ```\n\t * var Greeter = function (name) {\n\t * this.name = name;\n\t * }\n\t *\n\t * Greeter.prototype.greet = function () {\n\t * alert('Hello ' + this.name + '!');\n\t * }\n\t * ```\n\t *\n\t * ### Example with parameter annotations\n\t *\n\t * ```\n\t * var MyService = ng.Class({\n\t * constructor: [String, [new Optional(), Service], function(name, myService) {\n\t * ...\n\t * }]\n\t * });\n\t * ```\n\t *\n\t * is equivalent to ES6:\n\t *\n\t * ```\n\t * class MyService {\n\t * constructor(name: string, @Optional() myService: Service) {\n\t * ...\n\t * }\n\t * }\n\t * ```\n\t *\n\t * ### Example with inheritance\n\t *\n\t * ```\n\t * var Shape = ng.Class({\n\t * constructor: (color) {\n\t * this.color = color;\n\t * }\n\t * });\n\t *\n\t * var Square = ng.Class({\n\t * extends: Shape,\n\t * constructor: function(color, size) {\n\t * Shape.call(this, color);\n\t * this.size = size;\n\t * }\n\t * });\n\t * ```\n\t * @stable\n\t */\n\t function Class(clsDef) {\n\t var constructor = applyParams(clsDef.hasOwnProperty('constructor') ? clsDef.constructor : undefined, 'constructor');\n\t var proto = constructor.prototype;\n\t if (clsDef.hasOwnProperty('extends')) {\n\t if (typeof clsDef.extends === 'function') {\n\t constructor.prototype = proto =\n\t Object.create(clsDef.extends.prototype);\n\t }\n\t else {\n\t throw new Error(\"Class definition 'extends' property must be a constructor function was: \" + stringify(clsDef.extends));\n\t }\n\t }\n\t for (var key in clsDef) {\n\t if (key !== 'extends' && key !== 'prototype' && clsDef.hasOwnProperty(key)) {\n\t proto[key] = applyParams(clsDef[key], key);\n\t }\n\t }\n\t if (this && this.annotations instanceof Array) {\n\t Reflect.defineMetadata('annotations', this.annotations, constructor);\n\t }\n\t var constructorName = constructor['name'];\n\t if (!constructorName || constructorName === 'constructor') {\n\t constructor['overriddenName'] = \"class\" + _nextClassId++;\n\t }\n\t return constructor;\n\t }\n\t function makeDecorator(name, props, parentClass, chainFn) {\n\t if (chainFn === void 0) { chainFn = null; }\n\t var metaCtor = makeMetadataCtor([props]);\n\t function DecoratorFactory(objOrType) {\n\t if (!(Reflect && Reflect.getMetadata)) {\n\t throw 'reflect-metadata shim is required when using class decorators';\n\t }\n\t if (this instanceof DecoratorFactory) {\n\t metaCtor.call(this, objOrType);\n\t return this;\n\t }\n\t var annotationInstance = new DecoratorFactory(objOrType);\n\t var chainAnnotation = typeof this === 'function' && Array.isArray(this.annotations) ? this.annotations : [];\n\t chainAnnotation.push(annotationInstance);\n\t var TypeDecorator = function TypeDecorator(cls) {\n\t var annotations = Reflect.getOwnMetadata('annotations', cls) || [];\n\t annotations.push(annotationInstance);\n\t Reflect.defineMetadata('annotations', annotations, cls);\n\t return cls;\n\t };\n\t TypeDecorator.annotations = chainAnnotation;\n\t TypeDecorator.Class = Class;\n\t if (chainFn)\n\t chainFn(TypeDecorator);\n\t return TypeDecorator;\n\t }\n\t if (parentClass) {\n\t DecoratorFactory.prototype = Object.create(parentClass.prototype);\n\t }\n\t DecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n\t DecoratorFactory.annotationCls = DecoratorFactory;\n\t return DecoratorFactory;\n\t }\n\t function makeMetadataCtor(props) {\n\t return function ctor() {\n\t var _this = this;\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t props.forEach(function (prop, i) {\n\t var argVal = args[i];\n\t if (Array.isArray(prop)) {\n\t // plain parameter\n\t _this[prop[0]] = argVal === undefined ? prop[1] : argVal;\n\t }\n\t else {\n\t for (var propName in prop) {\n\t _this[propName] =\n\t argVal && argVal.hasOwnProperty(propName) ? argVal[propName] : prop[propName];\n\t }\n\t }\n\t });\n\t };\n\t }\n\t function makeParamDecorator(name, props, parentClass) {\n\t var metaCtor = makeMetadataCtor(props);\n\t function ParamDecoratorFactory() {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t if (this instanceof ParamDecoratorFactory) {\n\t metaCtor.apply(this, args);\n\t return this;\n\t }\n\t var annotationInstance = new ((_a = ParamDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n\t ParamDecorator.annotation = annotationInstance;\n\t return ParamDecorator;\n\t function ParamDecorator(cls, unusedKey, index) {\n\t var parameters = Reflect.getMetadata('parameters', cls) || [];\n\t // there might be gaps if some in between parameters do not have annotations.\n\t // we pad with nulls.\n\t while (parameters.length <= index) {\n\t parameters.push(null);\n\t }\n\t parameters[index] = parameters[index] || [];\n\t parameters[index].push(annotationInstance);\n\t Reflect.defineMetadata('parameters', parameters, cls);\n\t return cls;\n\t }\n\t var _a;\n\t }\n\t if (parentClass) {\n\t ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n\t }\n\t ParamDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n\t ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n\t return ParamDecoratorFactory;\n\t }\n\t function makePropDecorator(name, props, parentClass) {\n\t var metaCtor = makeMetadataCtor(props);\n\t function PropDecoratorFactory() {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t if (this instanceof PropDecoratorFactory) {\n\t metaCtor.apply(this, args);\n\t return this;\n\t }\n\t var decoratorInstance = new ((_a = PropDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n\t return function PropDecorator(target, name) {\n\t var meta = Reflect.getOwnMetadata('propMetadata', target.constructor) || {};\n\t meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n\t meta[name].unshift(decoratorInstance);\n\t Reflect.defineMetadata('propMetadata', meta, target.constructor);\n\t };\n\t var _a;\n\t }\n\t if (parentClass) {\n\t PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n\t }\n\t PropDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n\t PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n\t return PropDecoratorFactory;\n\t }\n\t\n\t /**\n\t * Inject decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Inject = makeParamDecorator('Inject', [['token', undefined]]);\n\t /**\n\t * Optional decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Optional = makeParamDecorator('Optional', []);\n\t /**\n\t * Injectable decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Injectable = makeParamDecorator('Injectable', []);\n\t /**\n\t * Self decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Self = makeParamDecorator('Self', []);\n\t /**\n\t * SkipSelf decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var SkipSelf = makeParamDecorator('SkipSelf', []);\n\t /**\n\t * Host decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Host = makeParamDecorator('Host', []);\n\t\n\t /**\n\t * Creates a token that can be used in a DI Provider.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Ys9ezXpj2Mnoy3Uc8KBp?p=preview))\n\t *\n\t * ```typescript\n\t * var t = new OpaqueToken(\"value\");\n\t *\n\t * var injector = Injector.resolveAndCreate([\n\t * {provide: t, useValue: \"bindingValue\"}\n\t * ]);\n\t *\n\t * expect(injector.get(t)).toEqual(\"bindingValue\");\n\t * ```\n\t *\n\t * Using an `OpaqueToken` is preferable to using strings as tokens because of possible collisions\n\t * caused by multiple providers using the same string as two different tokens.\n\t *\n\t * Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better\n\t * error messages.\n\t * @stable\n\t */\n\t // so that metadata is gathered for this class\n\t var OpaqueToken = (function () {\n\t function OpaqueToken(_desc) {\n\t this._desc = _desc;\n\t }\n\t OpaqueToken.prototype.toString = function () { return \"Token \" + this._desc; };\n\t OpaqueToken.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t OpaqueToken.ctorParameters = [\n\t null,\n\t ];\n\t return OpaqueToken;\n\t }());\n\t\n\t /**\n\t * This token can be used to create a virtual provider that will populate the\n\t * `entryComponents` fields of components and ng modules based on its `useValue`.\n\t * All components that are referenced in the `useValue` value (either directly\n\t * or in a nested array or map) will be added to the `entryComponents` property.\n\t *\n\t * ### Example\n\t * The following example shows how the router can populate the `entryComponents`\n\t * field of an NgModule based on the router configuration which refers\n\t * to components.\n\t *\n\t * ```typescript\n\t * // helper function inside the router\n\t * function provideRoutes(routes) {\n\t * return [\n\t * {provide: ROUTES, useValue: routes},\n\t * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n\t * ];\n\t * }\n\t *\n\t * // user code\n\t * let routes = [\n\t * {path: '/root', component: RootComp},\n\t * {path: '/teams', component: TeamsComp}\n\t * ];\n\t *\n\t * @NgModule({\n\t * providers: [provideRoutes(routes)]\n\t * })\n\t * class ModuleWithRoutes {}\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var ANALYZE_FOR_ENTRY_COMPONENTS = new OpaqueToken('AnalyzeForEntryComponents');\n\t /**\n\t * Attribute decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Attribute = makeParamDecorator('Attribute', [['attributeName', undefined]]);\n\t /**\n\t * Base class for query metadata.\n\t *\n\t * See {@link ContentChildren}, {@link ContentChild}, {@link ViewChildren}, {@link ViewChild} for\n\t * more information.\n\t *\n\t * @stable\n\t */\n\t var Query = (function () {\n\t function Query() {\n\t }\n\t return Query;\n\t }());\n\t /**\n\t * ContentChildren decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var ContentChildren = makePropDecorator('ContentChildren', [\n\t ['selector', undefined], {\n\t first: false,\n\t isViewQuery: false,\n\t descendants: false,\n\t read: undefined,\n\t }\n\t ], Query);\n\t /**\n\t * @whatItDoes Configures a content query.\n\t *\n\t * @howToUse\n\t *\n\t * {@example core/di/ts/contentChild/content_child_howto.ts region='HowTo'}\n\t *\n\t * @description\n\t *\n\t * You can use ContentChild to get the first element or the directive matching the selector from the\n\t * content DOM. If the content DOM changes, and a new child matches the selector,\n\t * the property will be updated.\n\t *\n\t * Content queries are set before the `ngAfterContentInit` callback is called.\n\t *\n\t * **Metadata Properties**:\n\t *\n\t * * **selector** - the directive type or the name used for querying.\n\t * * **read** - read a different token from the queried element.\n\t *\n\t * Let's look at an example:\n\t *\n\t * {@example core/di/ts/contentChild/content_child_example.ts region='Component'}\n\t *\n\t * **npm package**: `@angular/core`\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var ContentChild = makePropDecorator('ContentChild', [\n\t ['selector', undefined], {\n\t first: true,\n\t isViewQuery: false,\n\t descendants: true,\n\t read: undefined,\n\t }\n\t ], Query);\n\t /**\n\t * @whatItDoes Configures a view query.\n\t *\n\t * @howToUse\n\t *\n\t * {@example core/di/ts/viewChildren/view_children_howto.ts region='HowTo'}\n\t *\n\t * @description\n\t *\n\t * You can use ViewChildren to get the {@link QueryList} of elements or directives from the\n\t * view DOM. Any time a child element is added, removed, or moved, the query list will be updated,\n\t * and the changes observable of the query list will emit a new value.\n\t *\n\t * View queries are set before the `ngAfterViewInit` callback is called.\n\t *\n\t * **Metadata Properties**:\n\t *\n\t * * **selector** - the directive type or the name used for querying.\n\t * * **read** - read a different token from the queried elements.\n\t *\n\t * Let's look at an example:\n\t *\n\t * {@example core/di/ts/viewChildren/view_children_example.ts region='Component'}\n\t *\n\t * **npm package**: `@angular/core`\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var ViewChildren = makePropDecorator('ViewChildren', [\n\t ['selector', undefined], {\n\t first: false,\n\t isViewQuery: true,\n\t descendants: true,\n\t read: undefined,\n\t }\n\t ], Query);\n\t /**\n\t * ViewChild decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var ViewChild = makePropDecorator('ViewChild', [\n\t ['selector', undefined], {\n\t first: true,\n\t isViewQuery: true,\n\t descendants: true,\n\t read: undefined,\n\t }\n\t ], Query);\n\t\n\t /**\n\t * Describes within the change detector which strategy will be used the next time change\n\t * detection is triggered.\n\t * @stable\n\t */\n\t exports.ChangeDetectionStrategy;\n\t (function (ChangeDetectionStrategy) {\n\t /**\n\t * `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration.\n\t */\n\t ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n\t /**\n\t * `Default` means that the change detector's mode will be set to `CheckAlways` during hydration.\n\t */\n\t ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n\t })(exports.ChangeDetectionStrategy || (exports.ChangeDetectionStrategy = {}));\n\t /**\n\t * Describes the status of the detector.\n\t */\n\t var ChangeDetectorStatus;\n\t (function (ChangeDetectorStatus) {\n\t /**\n\t * `CheckOnce` means that after calling detectChanges the mode of the change detector\n\t * will become `Checked`.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"CheckOnce\"] = 0] = \"CheckOnce\";\n\t /**\n\t * `Checked` means that the change detector should be skipped until its mode changes to\n\t * `CheckOnce`.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"Checked\"] = 1] = \"Checked\";\n\t /**\n\t * `CheckAlways` means that after calling detectChanges the mode of the change detector\n\t * will remain `CheckAlways`.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"CheckAlways\"] = 2] = \"CheckAlways\";\n\t /**\n\t * `Detached` means that the change detector sub tree is not a part of the main tree and\n\t * should be skipped.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"Detached\"] = 3] = \"Detached\";\n\t /**\n\t * `Errored` means that the change detector encountered an error checking a binding\n\t * or calling a directive lifecycle method and is now in an inconsistent state. Change\n\t * detectors in this state will no longer detect changes.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"Errored\"] = 4] = \"Errored\";\n\t /**\n\t * `Destroyed` means that the change detector is destroyed.\n\t */\n\t ChangeDetectorStatus[ChangeDetectorStatus[\"Destroyed\"] = 5] = \"Destroyed\";\n\t })(ChangeDetectorStatus || (ChangeDetectorStatus = {}));\n\t function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n\t return isBlank(changeDetectionStrategy) ||\n\t changeDetectionStrategy === exports.ChangeDetectionStrategy.Default;\n\t }\n\t\n\t /**\n\t * Directive decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Directive = makeDecorator('Directive', {\n\t selector: undefined,\n\t inputs: undefined,\n\t outputs: undefined,\n\t host: undefined,\n\t providers: undefined,\n\t exportAs: undefined,\n\t queries: undefined\n\t });\n\t /**\n\t * Component decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Component = makeDecorator('Component', {\n\t selector: undefined,\n\t inputs: undefined,\n\t outputs: undefined,\n\t host: undefined,\n\t exportAs: undefined,\n\t moduleId: undefined,\n\t providers: undefined,\n\t viewProviders: undefined,\n\t changeDetection: exports.ChangeDetectionStrategy.Default,\n\t queries: undefined,\n\t templateUrl: undefined,\n\t template: undefined,\n\t styleUrls: undefined,\n\t styles: undefined,\n\t animations: undefined,\n\t encapsulation: undefined,\n\t interpolation: undefined,\n\t entryComponents: undefined\n\t }, Directive);\n\t /**\n\t * Pipe decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Pipe = makeDecorator('Pipe', {\n\t name: undefined,\n\t pure: true,\n\t });\n\t /**\n\t * Input decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Input = makePropDecorator('Input', [['bindingPropertyName', undefined]]);\n\t /**\n\t * Output decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var Output = makePropDecorator('Output', [['bindingPropertyName', undefined]]);\n\t /**\n\t * HostBinding decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var HostBinding = makePropDecorator('HostBinding', [['hostPropertyName', undefined]]);\n\t /**\n\t * HostBinding decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var HostListener = makePropDecorator('HostListener', [['eventName', undefined], ['args', []]]);\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @stable\n\t */\n\t var LifecycleHooks;\n\t (function (LifecycleHooks) {\n\t LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\n\t LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\n\t LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\n\t LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\n\t LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\n\t LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\n\t LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\n\t LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\n\t })(LifecycleHooks || (LifecycleHooks = {}));\n\t var LIFECYCLE_HOOKS_VALUES = [\n\t LifecycleHooks.OnInit, LifecycleHooks.OnDestroy, LifecycleHooks.DoCheck, LifecycleHooks.OnChanges,\n\t LifecycleHooks.AfterContentInit, LifecycleHooks.AfterContentChecked, LifecycleHooks.AfterViewInit,\n\t LifecycleHooks.AfterViewChecked\n\t ];\n\t /**\n\t * @whatItDoes Lifecycle hook that is called when any data-bound property of a directive changes.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnChanges'}\n\t *\n\t * @description\n\t * `ngOnChanges` is called right after the data-bound properties have been checked and before view\n\t * and content children are checked if at least one of them has changed.\n\t * The `changes` parameter contains the changed properties.\n\t *\n\t * See {@linkDocs guide/lifecycle-hooks#onchanges \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var OnChanges = (function () {\n\t function OnChanges() {\n\t }\n\t return OnChanges;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called after data-bound properties of a directive are\n\t * initialized.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnInit'}\n\t *\n\t * @description\n\t * `ngOnInit` is called right after the directive's data-bound properties have been checked for the\n\t * first time, and before any of its children have been checked. It is invoked only once when the\n\t * directive is instantiated.\n\t *\n\t * See {@linkDocs guide/lifecycle-hooks \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var OnInit = (function () {\n\t function OnInit() {\n\t }\n\t return OnInit;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called when Angular dirty checks a directive.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='DoCheck'}\n\t *\n\t * @description\n\t * `ngDoCheck` gets called to check the changes in the directives in addition to the default\n\t * algorithm. The default change detection algorithm looks for differences by comparing\n\t * bound-property values by reference across change detection runs.\n\t *\n\t * Note that a directive typically should not use both `DoCheck` and {@link OnChanges} to respond to\n\t * changes on the same input, as `ngOnChanges` will continue to be called when the default change\n\t * detector detects changes.\n\t *\n\t * See {@link KeyValueDiffers} and {@link IterableDiffers} for implementing custom dirty checking\n\t * for collections.\n\t *\n\t * See {@linkDocs guide/lifecycle-hooks#docheck \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var DoCheck = (function () {\n\t function DoCheck() {\n\t }\n\t return DoCheck;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called when a directive or pipe is destroyed.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnDestroy'}\n\t *\n\t * @description\n\t * `ngOnDestroy` callback is typically used for any custom cleanup that needs to occur when the\n\t * instance is destroyed.\n\t *\n\t * See {@linkDocs guide/lifecycle-hooks \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var OnDestroy = (function () {\n\t function OnDestroy() {\n\t }\n\t return OnDestroy;\n\t }());\n\t /**\n\t *\n\t * @whatItDoes Lifecycle hook that is called after a directive's content has been fully\n\t * initialized.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterContentInit'}\n\t *\n\t * @description\n\t * See {@linkDocs guide/lifecycle-hooks#aftercontent \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var AfterContentInit = (function () {\n\t function AfterContentInit() {\n\t }\n\t return AfterContentInit;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called after every check of a directive's content.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterContentChecked'}\n\t *\n\t * @description\n\t * See {@linkDocs guide/lifecycle-hooks#aftercontent \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var AfterContentChecked = (function () {\n\t function AfterContentChecked() {\n\t }\n\t return AfterContentChecked;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called after a component's view has been fully\n\t * initialized.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterViewInit'}\n\t *\n\t * @description\n\t * See {@linkDocs guide/lifecycle-hooks#afterview \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var AfterViewInit = (function () {\n\t function AfterViewInit() {\n\t }\n\t return AfterViewInit;\n\t }());\n\t /**\n\t * @whatItDoes Lifecycle hook that is called after every check of a component's view.\n\t * @howToUse\n\t * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterViewChecked'}\n\t *\n\t * @description\n\t * See {@linkDocs guide/lifecycle-hooks#afterview \"Lifecycle Hooks Guide\"}.\n\t *\n\t * @stable\n\t */\n\t var AfterViewChecked = (function () {\n\t function AfterViewChecked() {\n\t }\n\t return AfterViewChecked;\n\t }());\n\t\n\t /**\n\t * Defines a schema that will allow:\n\t * - any non-Angular elements with a `-` in their name,\n\t * - any properties on elements with a `-` in their name which is the common rule for custom\n\t * elements.\n\t *\n\t * @stable\n\t */\n\t var CUSTOM_ELEMENTS_SCHEMA = {\n\t name: 'custom-elements'\n\t };\n\t /**\n\t * Defines a schema that will allow any property on any element.\n\t *\n\t * @experimental\n\t */\n\t var NO_ERRORS_SCHEMA = {\n\t name: 'no-errors-schema'\n\t };\n\t /**\n\t * NgModule decorator and metadata.\n\t *\n\t * @stable\n\t * @Annotation\n\t */\n\t var NgModule = makeDecorator('NgModule', {\n\t providers: undefined,\n\t declarations: undefined,\n\t imports: undefined,\n\t exports: undefined,\n\t entryComponents: undefined,\n\t bootstrap: undefined,\n\t schemas: undefined,\n\t id: undefined,\n\t });\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Defines template and style encapsulation options available for Component's {@link Component}.\n\t *\n\t * See {@link ViewMetadata#encapsulation}.\n\t * @stable\n\t */\n\t exports.ViewEncapsulation;\n\t (function (ViewEncapsulation) {\n\t /**\n\t * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n\t * Element and pre-processing the style rules provided via\n\t * {@link ViewMetadata#styles} or {@link ViewMetadata#stylesUrls}, and adding the new Host Element\n\t * attribute to all selectors.\n\t *\n\t * This is the default option.\n\t */\n\t ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n\t /**\n\t * Use the native encapsulation mechanism of the renderer.\n\t *\n\t * For the DOM this means using [Shadow DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n\t * creating a ShadowRoot for Component's Host Element.\n\t */\n\t ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n\t /**\n\t * Don't provide any template or style encapsulation.\n\t */\n\t ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n\t })(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));\n\t /**\n\t * Metadata properties available for configuring Views.\n\t *\n\t * For details on the `@Component` annotation, see {@link Component}.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * @Component({\n\t * selector: 'greet',\n\t * template: 'Hello {{name}}!',\n\t * })\n\t * class Greet {\n\t * name: string;\n\t *\n\t * constructor() {\n\t * this.name = 'World';\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @deprecated Use Component instead.\n\t *\n\t * {@link Component}\n\t */\n\t var ViewMetadata = (function () {\n\t function ViewMetadata(_a) {\n\t var _b = _a === void 0 ? {} : _a, templateUrl = _b.templateUrl, template = _b.template, encapsulation = _b.encapsulation, styles = _b.styles, styleUrls = _b.styleUrls, animations = _b.animations, interpolation = _b.interpolation;\n\t this.templateUrl = templateUrl;\n\t this.template = template;\n\t this.styleUrls = styleUrls;\n\t this.styles = styles;\n\t this.encapsulation = encapsulation;\n\t this.animations = animations;\n\t this.interpolation = interpolation;\n\t }\n\t return ViewMetadata;\n\t }());\n\t\n\t /**\n\t * Allows to refer to references which are not yet defined.\n\t *\n\t * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n\t * DI is declared,\n\t * but not yet defined. It is also used when the `token` which we use when creating a query is not\n\t * yet defined.\n\t *\n\t * ### Example\n\t * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n\t * @experimental\n\t */\n\t function forwardRef(forwardRefFn) {\n\t forwardRefFn.__forward_ref__ = forwardRef;\n\t forwardRefFn.toString = function () { return stringify(this()); };\n\t return forwardRefFn;\n\t }\n\t /**\n\t * Lazily retrieves the reference value from a forwardRef.\n\t *\n\t * Acts as the identity function when given a non-forward-ref value.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/GU72mJrk1fiodChcmiDR?p=preview))\n\t *\n\t * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n\t *\n\t * See: {@link forwardRef}\n\t * @experimental\n\t */\n\t function resolveForwardRef(type) {\n\t if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__') &&\n\t type.__forward_ref__ === forwardRef) {\n\t return type();\n\t }\n\t else {\n\t return type;\n\t }\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function unimplemented() {\n\t throw new Error('unimplemented');\n\t }\n\t /**\n\t * @stable\n\t */\n\t var BaseError = (function (_super) {\n\t __extends(BaseError, _super);\n\t function BaseError(message) {\n\t // Errors don't use current this, instead they create a new instance.\n\t // We have to do forward all of our api to the nativeInstance.\n\t var nativeError = _super.call(this, message);\n\t this._nativeError = nativeError;\n\t }\n\t Object.defineProperty(BaseError.prototype, \"message\", {\n\t get: function () { return this._nativeError.message; },\n\t set: function (message) { this._nativeError.message = message; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BaseError.prototype, \"name\", {\n\t get: function () { return this._nativeError.name; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BaseError.prototype, \"stack\", {\n\t get: function () { return this._nativeError.stack; },\n\t set: function (value) { this._nativeError.stack = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n\t return BaseError;\n\t }(Error));\n\t /**\n\t * @stable\n\t */\n\t var WrappedError = (function (_super) {\n\t __extends(WrappedError, _super);\n\t function WrappedError(message, error) {\n\t _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n\t this.originalError = error;\n\t }\n\t Object.defineProperty(WrappedError.prototype, \"stack\", {\n\t get: function () {\n\t return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n\t .stack;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return WrappedError;\n\t }(BaseError));\n\t\n\t var _THROW_IF_NOT_FOUND = new Object();\n\t var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n\t var _NullInjector = (function () {\n\t function _NullInjector() {\n\t }\n\t _NullInjector.prototype.get = function (token, notFoundValue) {\n\t if (notFoundValue === void 0) { notFoundValue = _THROW_IF_NOT_FOUND; }\n\t if (notFoundValue === _THROW_IF_NOT_FOUND) {\n\t throw new Error(\"No provider for \" + stringify(token) + \"!\");\n\t }\n\t return notFoundValue;\n\t };\n\t return _NullInjector;\n\t }());\n\t /**\n\t * @whatItDoes Injector interface\n\t * @howToUse\n\t * ```\n\t * const injector: Injector = ...;\n\t * injector.get(...);\n\t * ```\n\t *\n\t * @description\n\t * For more details, see the {@linkDocs guide/dependency-injection \"Dependency Injection Guide\"}.\n\t *\n\t * ### Example\n\t *\n\t * {@example core/di/ts/injector_spec.ts region='Injector'}\n\t *\n\t * `Injector` returns itself when given `Injector` as a token:\n\t * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n\t *\n\t * @stable\n\t */\n\t var Injector = (function () {\n\t function Injector() {\n\t }\n\t /**\n\t * Retrieves an instance from the injector based on the provided token.\n\t * If not found:\n\t * - Throws {@link NoProviderError} if no `notFoundValue` that is not equal to\n\t * Injector.THROW_IF_NOT_FOUND is given\n\t * - Returns the `notFoundValue` otherwise\n\t */\n\t Injector.prototype.get = function (token, notFoundValue) { return unimplemented(); };\n\t Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n\t Injector.NULL = new _NullInjector();\n\t return Injector;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function findFirstClosedCycle(keys) {\n\t var res = [];\n\t for (var i = 0; i < keys.length; ++i) {\n\t if (res.indexOf(keys[i]) > -1) {\n\t res.push(keys[i]);\n\t return res;\n\t }\n\t res.push(keys[i]);\n\t }\n\t return res;\n\t }\n\t function constructResolvingPath(keys) {\n\t if (keys.length > 1) {\n\t var reversed = findFirstClosedCycle(keys.slice().reverse());\n\t var tokenStrs = reversed.map(function (k) { return stringify(k.token); });\n\t return ' (' + tokenStrs.join(' -> ') + ')';\n\t }\n\t return '';\n\t }\n\t /**\n\t * Base class for all errors arising from misconfigured providers.\n\t * @stable\n\t */\n\t var AbstractProviderError = (function (_super) {\n\t __extends$1(AbstractProviderError, _super);\n\t function AbstractProviderError(injector, key, constructResolvingMessage) {\n\t _super.call(this, 'DI Error');\n\t this.keys = [key];\n\t this.injectors = [injector];\n\t this.constructResolvingMessage = constructResolvingMessage;\n\t this.message = this.constructResolvingMessage(this.keys);\n\t }\n\t AbstractProviderError.prototype.addKey = function (injector, key) {\n\t this.injectors.push(injector);\n\t this.keys.push(key);\n\t this.message = this.constructResolvingMessage(this.keys);\n\t };\n\t return AbstractProviderError;\n\t }(BaseError));\n\t /**\n\t * Thrown when trying to retrieve a dependency by key from {@link Injector}, but the\n\t * {@link Injector} does not have a {@link Provider} for the given key.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/vq8D3FRB9aGbnWJqtEPE?p=preview))\n\t *\n\t * ```typescript\n\t * class A {\n\t * constructor(b:B) {}\n\t * }\n\t *\n\t * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n\t * ```\n\t * @stable\n\t */\n\t var NoProviderError = (function (_super) {\n\t __extends$1(NoProviderError, _super);\n\t function NoProviderError(injector, key) {\n\t _super.call(this, injector, key, function (keys) {\n\t var first = stringify(keys[0].token);\n\t return \"No provider for \" + first + \"!\" + constructResolvingPath(keys);\n\t });\n\t }\n\t return NoProviderError;\n\t }(AbstractProviderError));\n\t /**\n\t * Thrown when dependencies form a cycle.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/wYQdNos0Tzql3ei1EV9j?p=info))\n\t *\n\t * ```typescript\n\t * var injector = Injector.resolveAndCreate([\n\t * {provide: \"one\", useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]},\n\t * {provide: \"two\", useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]}\n\t * ]);\n\t *\n\t * expect(() => injector.get(\"one\")).toThrowError();\n\t * ```\n\t *\n\t * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\n\t * @stable\n\t */\n\t var CyclicDependencyError = (function (_super) {\n\t __extends$1(CyclicDependencyError, _super);\n\t function CyclicDependencyError(injector, key) {\n\t _super.call(this, injector, key, function (keys) {\n\t return \"Cannot instantiate cyclic dependency!\" + constructResolvingPath(keys);\n\t });\n\t }\n\t return CyclicDependencyError;\n\t }(AbstractProviderError));\n\t /**\n\t * Thrown when a constructing type returns with an Error.\n\t *\n\t * The `InstantiationError` class contains the original error plus the dependency graph which caused\n\t * this object to be instantiated.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/7aWYdcqTQsP0eNqEdUAf?p=preview))\n\t *\n\t * ```typescript\n\t * class A {\n\t * constructor() {\n\t * throw new Error('message');\n\t * }\n\t * }\n\t *\n\t * var injector = Injector.resolveAndCreate([A]);\n\t\n\t * try {\n\t * injector.get(A);\n\t * } catch (e) {\n\t * expect(e instanceof InstantiationError).toBe(true);\n\t * expect(e.originalException.message).toEqual(\"message\");\n\t * expect(e.originalStack).toBeDefined();\n\t * }\n\t * ```\n\t * @stable\n\t */\n\t var InstantiationError = (function (_super) {\n\t __extends$1(InstantiationError, _super);\n\t function InstantiationError(injector, originalException, originalStack, key) {\n\t _super.call(this, 'DI Error', originalException);\n\t this.keys = [key];\n\t this.injectors = [injector];\n\t }\n\t InstantiationError.prototype.addKey = function (injector, key) {\n\t this.injectors.push(injector);\n\t this.keys.push(key);\n\t };\n\t Object.defineProperty(InstantiationError.prototype, \"message\", {\n\t get: function () {\n\t var first = stringify(this.keys[0].token);\n\t return this.originalError.message + \": Error during instantiation of \" + first + \"!\" + constructResolvingPath(this.keys) + \".\";\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(InstantiationError.prototype, \"causeKey\", {\n\t get: function () { return this.keys[0]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return InstantiationError;\n\t }(WrappedError));\n\t /**\n\t * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}\n\t * creation.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/YatCFbPAMCL0JSSQ4mvH?p=preview))\n\t *\n\t * ```typescript\n\t * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\n\t * ```\n\t * @stable\n\t */\n\t var InvalidProviderError = (function (_super) {\n\t __extends$1(InvalidProviderError, _super);\n\t function InvalidProviderError(provider) {\n\t _super.call(this, \"Invalid provider - only instances of Provider and Type are allowed, got: \" + provider);\n\t }\n\t return InvalidProviderError;\n\t }(BaseError));\n\t /**\n\t * Thrown when the class has no annotation information.\n\t *\n\t * Lack of annotation information prevents the {@link Injector} from determining which dependencies\n\t * need to be injected into the constructor.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/rHnZtlNS7vJOPQ6pcVkm?p=preview))\n\t *\n\t * ```typescript\n\t * class A {\n\t * constructor(b) {}\n\t * }\n\t *\n\t * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n\t * ```\n\t *\n\t * This error is also thrown when the class not marked with {@link Injectable} has parameter types.\n\t *\n\t * ```typescript\n\t * class B {}\n\t *\n\t * class A {\n\t * constructor(b:B) {} // no information about the parameter types of A is available at runtime.\n\t * }\n\t *\n\t * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\n\t * ```\n\t * @stable\n\t */\n\t var NoAnnotationError = (function (_super) {\n\t __extends$1(NoAnnotationError, _super);\n\t function NoAnnotationError(typeOrFunc, params) {\n\t _super.call(this, NoAnnotationError._genMessage(typeOrFunc, params));\n\t }\n\t NoAnnotationError._genMessage = function (typeOrFunc, params) {\n\t var signature = [];\n\t for (var i = 0, ii = params.length; i < ii; i++) {\n\t var parameter = params[i];\n\t if (!parameter || parameter.length == 0) {\n\t signature.push('?');\n\t }\n\t else {\n\t signature.push(parameter.map(stringify).join(' '));\n\t }\n\t }\n\t return 'Cannot resolve all parameters for \\'' + stringify(typeOrFunc) + '\\'(' +\n\t signature.join(', ') + '). ' +\n\t 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \\'' +\n\t stringify(typeOrFunc) + '\\' is decorated with Injectable.';\n\t };\n\t return NoAnnotationError;\n\t }(BaseError));\n\t /**\n\t * Thrown when getting an object by index.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/bRs0SX2OTQiJzqvjgl8P?p=preview))\n\t *\n\t * ```typescript\n\t * class A {}\n\t *\n\t * var injector = Injector.resolveAndCreate([A]);\n\t *\n\t * expect(() => injector.getAt(100)).toThrowError();\n\t * ```\n\t * @stable\n\t */\n\t var OutOfBoundsError = (function (_super) {\n\t __extends$1(OutOfBoundsError, _super);\n\t function OutOfBoundsError(index) {\n\t _super.call(this, \"Index \" + index + \" is out-of-bounds.\");\n\t }\n\t return OutOfBoundsError;\n\t }(BaseError));\n\t // TODO: add a working example after alpha38 is released\n\t /**\n\t * Thrown when a multi provider and a regular provider are bound to the same token.\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * expect(() => Injector.resolveAndCreate([\n\t * { provide: \"Strings\", useValue: \"string1\", multi: true},\n\t * { provide: \"Strings\", useValue: \"string2\", multi: false}\n\t * ])).toThrowError();\n\t * ```\n\t */\n\t var MixingMultiProvidersWithRegularProvidersError = (function (_super) {\n\t __extends$1(MixingMultiProvidersWithRegularProvidersError, _super);\n\t function MixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n\t _super.call(this, 'Cannot mix multi providers and regular providers, got: ' + provider1.toString() + ' ' +\n\t provider2.toString());\n\t }\n\t return MixingMultiProvidersWithRegularProvidersError;\n\t }(BaseError));\n\t\n\t /**\n\t * A unique object used for retrieving items from the {@link ReflectiveInjector}.\n\t *\n\t * Keys have:\n\t * - a system-wide unique `id`.\n\t * - a `token`.\n\t *\n\t * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows\n\t * the\n\t * injector to store created objects in a more efficient way.\n\t *\n\t * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when\n\t * resolving\n\t * providers.\n\t * @experimental\n\t */\n\t var ReflectiveKey = (function () {\n\t /**\n\t * Private\n\t */\n\t function ReflectiveKey(token, id) {\n\t this.token = token;\n\t this.id = id;\n\t if (!token) {\n\t throw new Error('Token must be defined!');\n\t }\n\t }\n\t Object.defineProperty(ReflectiveKey.prototype, \"displayName\", {\n\t /**\n\t * Returns a stringified token.\n\t */\n\t get: function () { return stringify(this.token); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Retrieves a `Key` for a token.\n\t */\n\t ReflectiveKey.get = function (token) {\n\t return _globalKeyRegistry.get(resolveForwardRef(token));\n\t };\n\t Object.defineProperty(ReflectiveKey, \"numberOfKeys\", {\n\t /**\n\t * @returns the number of keys registered in the system.\n\t */\n\t get: function () { return _globalKeyRegistry.numberOfKeys; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return ReflectiveKey;\n\t }());\n\t /**\n\t * @internal\n\t */\n\t var KeyRegistry = (function () {\n\t function KeyRegistry() {\n\t this._allKeys = new Map();\n\t }\n\t KeyRegistry.prototype.get = function (token) {\n\t if (token instanceof ReflectiveKey)\n\t return token;\n\t if (this._allKeys.has(token)) {\n\t return this._allKeys.get(token);\n\t }\n\t var newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n\t this._allKeys.set(token, newKey);\n\t return newKey;\n\t };\n\t Object.defineProperty(KeyRegistry.prototype, \"numberOfKeys\", {\n\t get: function () { return this._allKeys.size; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return KeyRegistry;\n\t }());\n\t var _globalKeyRegistry = new KeyRegistry();\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @whatItDoes Represents a type that a Component or other object is instances of.\n\t *\n\t * @description\n\t *\n\t * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by\n\t * the `MyCustomComponent` constructor function.\n\t *\n\t * @stable\n\t */\n\t var Type = Function;\n\t\n\t var ReflectionCapabilities = (function () {\n\t function ReflectionCapabilities(reflect) {\n\t this._reflect = reflect || global$1.Reflect;\n\t }\n\t ReflectionCapabilities.prototype.isReflectionEnabled = function () { return true; };\n\t ReflectionCapabilities.prototype.factory = function (t) { return function () {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t return new (t.bind.apply(t, [void 0].concat(args)))();\n\t }; };\n\t /** @internal */\n\t ReflectionCapabilities.prototype._zipTypesAndAnnotations = function (paramTypes, paramAnnotations) {\n\t var result;\n\t if (typeof paramTypes === 'undefined') {\n\t result = new Array(paramAnnotations.length);\n\t }\n\t else {\n\t result = new Array(paramTypes.length);\n\t }\n\t for (var i = 0; i < result.length; i++) {\n\t // TS outputs Object for parameters without types, while Traceur omits\n\t // the annotations. For now we preserve the Traceur behavior to aid\n\t // migration, but this can be revisited.\n\t if (typeof paramTypes === 'undefined') {\n\t result[i] = [];\n\t }\n\t else if (paramTypes[i] != Object) {\n\t result[i] = [paramTypes[i]];\n\t }\n\t else {\n\t result[i] = [];\n\t }\n\t if (paramAnnotations && isPresent(paramAnnotations[i])) {\n\t result[i] = result[i].concat(paramAnnotations[i]);\n\t }\n\t }\n\t return result;\n\t };\n\t ReflectionCapabilities.prototype.parameters = function (type) {\n\t // Prefer the direct API.\n\t if (type.parameters) {\n\t return type.parameters;\n\t }\n\t // API of tsickle for lowering decorators to properties on the class.\n\t var tsickleCtorParams = type.ctorParameters;\n\t if (tsickleCtorParams) {\n\t // Newer tsickle uses a function closure\n\t // Retain the non-function case for compatibility with older tsickle\n\t var ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n\t var paramTypes = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; });\n\t var paramAnnotations = ctorParameters.map(function (ctorParam) {\n\t return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators);\n\t });\n\t return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n\t }\n\t // API for metadata created by invoking the decorators.\n\t if (isPresent(this._reflect) && isPresent(this._reflect.getMetadata)) {\n\t var paramAnnotations = this._reflect.getMetadata('parameters', type);\n\t var paramTypes = this._reflect.getMetadata('design:paramtypes', type);\n\t if (paramTypes || paramAnnotations) {\n\t return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n\t }\n\t }\n\t // The array has to be filled with `undefined` because holes would be skipped by `some`\n\t return new Array(type.length).fill(undefined);\n\t };\n\t ReflectionCapabilities.prototype.annotations = function (typeOrFunc) {\n\t // Prefer the direct API.\n\t if (typeOrFunc.annotations) {\n\t var annotations = typeOrFunc.annotations;\n\t if (typeof annotations === 'function' && annotations.annotations) {\n\t annotations = annotations.annotations;\n\t }\n\t return annotations;\n\t }\n\t // API of tsickle for lowering decorators to properties on the class.\n\t if (typeOrFunc.decorators) {\n\t return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n\t }\n\t // API for metadata created by invoking the decorators.\n\t if (this._reflect && this._reflect.getMetadata) {\n\t var annotations = this._reflect.getMetadata('annotations', typeOrFunc);\n\t if (annotations)\n\t return annotations;\n\t }\n\t return [];\n\t };\n\t ReflectionCapabilities.prototype.propMetadata = function (typeOrFunc) {\n\t // Prefer the direct API.\n\t if (typeOrFunc.propMetadata) {\n\t var propMetadata = typeOrFunc.propMetadata;\n\t if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n\t propMetadata = propMetadata.propMetadata;\n\t }\n\t return propMetadata;\n\t }\n\t // API of tsickle for lowering decorators to properties on the class.\n\t if (typeOrFunc.propDecorators) {\n\t var propDecorators_1 = typeOrFunc.propDecorators;\n\t var propMetadata_1 = {};\n\t Object.keys(propDecorators_1).forEach(function (prop) {\n\t propMetadata_1[prop] = convertTsickleDecoratorIntoMetadata(propDecorators_1[prop]);\n\t });\n\t return propMetadata_1;\n\t }\n\t // API for metadata created by invoking the decorators.\n\t if (this._reflect && this._reflect.getMetadata) {\n\t var propMetadata = this._reflect.getMetadata('propMetadata', typeOrFunc);\n\t if (propMetadata)\n\t return propMetadata;\n\t }\n\t return {};\n\t };\n\t ReflectionCapabilities.prototype.hasLifecycleHook = function (type, lcProperty) {\n\t return type instanceof Type && lcProperty in type.prototype;\n\t };\n\t ReflectionCapabilities.prototype.getter = function (name) { return new Function('o', 'return o.' + name + ';'); };\n\t ReflectionCapabilities.prototype.setter = function (name) {\n\t return new Function('o', 'v', 'return o.' + name + ' = v;');\n\t };\n\t ReflectionCapabilities.prototype.method = function (name) {\n\t var functionBody = \"if (!o.\" + name + \") throw new Error('\\\"\" + name + \"\\\" is undefined');\\n return o.\" + name + \".apply(o, args);\";\n\t return new Function('o', 'args', functionBody);\n\t };\n\t // There is not a concept of import uri in Js, but this is useful in developing Dart applications.\n\t ReflectionCapabilities.prototype.importUri = function (type) {\n\t // StaticSymbol\n\t if (typeof type === 'object' && type['filePath']) {\n\t return type['filePath'];\n\t }\n\t // Runtime type\n\t return \"./\" + stringify(type);\n\t };\n\t ReflectionCapabilities.prototype.resolveIdentifier = function (name, moduleUrl, runtime) { return runtime; };\n\t ReflectionCapabilities.prototype.resolveEnum = function (enumIdentifier, name) { return enumIdentifier[name]; };\n\t return ReflectionCapabilities;\n\t }());\n\t function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n\t if (!decoratorInvocations) {\n\t return [];\n\t }\n\t return decoratorInvocations.map(function (decoratorInvocation) {\n\t var decoratorType = decoratorInvocation.type;\n\t var annotationCls = decoratorType.annotationCls;\n\t var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n\t return new (annotationCls.bind.apply(annotationCls, [void 0].concat(annotationArgs)))();\n\t });\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Provides read-only access to reflection data about symbols. Used internally by Angular\n\t * to power dependency injection and compilation.\n\t */\n\t var ReflectorReader = (function () {\n\t function ReflectorReader() {\n\t }\n\t return ReflectorReader;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Provides access to reflection data about symbols. Used internally by Angular\n\t * to power dependency injection and compilation.\n\t */\n\t var Reflector = (function (_super) {\n\t __extends$2(Reflector, _super);\n\t function Reflector(reflectionCapabilities) {\n\t _super.call(this);\n\t this.reflectionCapabilities = reflectionCapabilities;\n\t }\n\t Reflector.prototype.updateCapabilities = function (caps) { this.reflectionCapabilities = caps; };\n\t Reflector.prototype.factory = function (type) { return this.reflectionCapabilities.factory(type); };\n\t Reflector.prototype.parameters = function (typeOrFunc) {\n\t return this.reflectionCapabilities.parameters(typeOrFunc);\n\t };\n\t Reflector.prototype.annotations = function (typeOrFunc) {\n\t return this.reflectionCapabilities.annotations(typeOrFunc);\n\t };\n\t Reflector.prototype.propMetadata = function (typeOrFunc) {\n\t return this.reflectionCapabilities.propMetadata(typeOrFunc);\n\t };\n\t Reflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n\t return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n\t };\n\t Reflector.prototype.getter = function (name) { return this.reflectionCapabilities.getter(name); };\n\t Reflector.prototype.setter = function (name) { return this.reflectionCapabilities.setter(name); };\n\t Reflector.prototype.method = function (name) { return this.reflectionCapabilities.method(name); };\n\t Reflector.prototype.importUri = function (type) { return this.reflectionCapabilities.importUri(type); };\n\t Reflector.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n\t return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, runtime);\n\t };\n\t Reflector.prototype.resolveEnum = function (identifier, name) {\n\t return this.reflectionCapabilities.resolveEnum(identifier, name);\n\t };\n\t return Reflector;\n\t }(ReflectorReader));\n\t\n\t /**\n\t * The {@link Reflector} used internally in Angular to access metadata\n\t * about symbols.\n\t */\n\t var reflector = new Reflector(new ReflectionCapabilities());\n\t\n\t /**\n\t * `Dependency` is used by the framework to extend DI.\n\t * This is internal to Angular and should not be used directly.\n\t */\n\t var ReflectiveDependency = (function () {\n\t function ReflectiveDependency(key, optional, lowerBoundVisibility, upperBoundVisibility, properties) {\n\t this.key = key;\n\t this.optional = optional;\n\t this.lowerBoundVisibility = lowerBoundVisibility;\n\t this.upperBoundVisibility = upperBoundVisibility;\n\t this.properties = properties;\n\t }\n\t ReflectiveDependency.fromKey = function (key) {\n\t return new ReflectiveDependency(key, false, null, null, []);\n\t };\n\t return ReflectiveDependency;\n\t }());\n\t var _EMPTY_LIST = [];\n\t var ResolvedReflectiveProvider_ = (function () {\n\t function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) {\n\t this.key = key;\n\t this.resolvedFactories = resolvedFactories;\n\t this.multiProvider = multiProvider;\n\t }\n\t Object.defineProperty(ResolvedReflectiveProvider_.prototype, \"resolvedFactory\", {\n\t get: function () { return this.resolvedFactories[0]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return ResolvedReflectiveProvider_;\n\t }());\n\t /**\n\t * An internal resolved representation of a factory function created by resolving {@link\n\t * Provider}.\n\t * @experimental\n\t */\n\t var ResolvedReflectiveFactory = (function () {\n\t function ResolvedReflectiveFactory(\n\t /**\n\t * Factory function which can return an instance of an object represented by a key.\n\t */\n\t factory, \n\t /**\n\t * Arguments (dependencies) to the `factory` function.\n\t */\n\t dependencies) {\n\t this.factory = factory;\n\t this.dependencies = dependencies;\n\t }\n\t return ResolvedReflectiveFactory;\n\t }());\n\t /**\n\t * Resolve a single provider.\n\t */\n\t function resolveReflectiveFactory(provider) {\n\t var factoryFn;\n\t var resolvedDeps;\n\t if (provider.useClass) {\n\t var useClass = resolveForwardRef(provider.useClass);\n\t factoryFn = reflector.factory(useClass);\n\t resolvedDeps = _dependenciesFor(useClass);\n\t }\n\t else if (provider.useExisting) {\n\t factoryFn = function (aliasInstance) { return aliasInstance; };\n\t resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];\n\t }\n\t else if (provider.useFactory) {\n\t factoryFn = provider.useFactory;\n\t resolvedDeps = constructDependencies(provider.useFactory, provider.deps);\n\t }\n\t else {\n\t factoryFn = function () { return provider.useValue; };\n\t resolvedDeps = _EMPTY_LIST;\n\t }\n\t return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n\t }\n\t /**\n\t * Converts the {@link Provider} into {@link ResolvedProvider}.\n\t *\n\t * {@link Injector} internally only uses {@link ResolvedProvider}, {@link Provider} contains\n\t * convenience provider syntax.\n\t */\n\t function resolveReflectiveProvider(provider) {\n\t return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi);\n\t }\n\t /**\n\t * Resolve a list of Providers.\n\t */\n\t function resolveReflectiveProviders(providers) {\n\t var normalized = _normalizeProviders(providers, []);\n\t var resolved = normalized.map(resolveReflectiveProvider);\n\t var resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());\n\t return Array.from(resolvedProviderMap.values());\n\t }\n\t /**\n\t * Merges a list of ResolvedProviders into a list where\n\t * each key is contained exactly once and multi providers\n\t * have been merged.\n\t */\n\t function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n\t for (var i = 0; i < providers.length; i++) {\n\t var provider = providers[i];\n\t var existing = normalizedProvidersMap.get(provider.key.id);\n\t if (existing) {\n\t if (provider.multiProvider !== existing.multiProvider) {\n\t throw new MixingMultiProvidersWithRegularProvidersError(existing, provider);\n\t }\n\t if (provider.multiProvider) {\n\t for (var j = 0; j < provider.resolvedFactories.length; j++) {\n\t existing.resolvedFactories.push(provider.resolvedFactories[j]);\n\t }\n\t }\n\t else {\n\t normalizedProvidersMap.set(provider.key.id, provider);\n\t }\n\t }\n\t else {\n\t var resolvedProvider = void 0;\n\t if (provider.multiProvider) {\n\t resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);\n\t }\n\t else {\n\t resolvedProvider = provider;\n\t }\n\t normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n\t }\n\t }\n\t return normalizedProvidersMap;\n\t }\n\t function _normalizeProviders(providers, res) {\n\t providers.forEach(function (b) {\n\t if (b instanceof Type) {\n\t res.push({ provide: b, useClass: b });\n\t }\n\t else if (b && typeof b == 'object' && b.provide !== undefined) {\n\t res.push(b);\n\t }\n\t else if (b instanceof Array) {\n\t _normalizeProviders(b, res);\n\t }\n\t else {\n\t throw new InvalidProviderError(b);\n\t }\n\t });\n\t return res;\n\t }\n\t function constructDependencies(typeOrFunc, dependencies) {\n\t if (!dependencies) {\n\t return _dependenciesFor(typeOrFunc);\n\t }\n\t else {\n\t var params_1 = dependencies.map(function (t) { return [t]; });\n\t return dependencies.map(function (t) { return _extractToken(typeOrFunc, t, params_1); });\n\t }\n\t }\n\t function _dependenciesFor(typeOrFunc) {\n\t var params = reflector.parameters(typeOrFunc);\n\t if (!params)\n\t return [];\n\t if (params.some(function (p) { return p == null; })) {\n\t throw new NoAnnotationError(typeOrFunc, params);\n\t }\n\t return params.map(function (p) { return _extractToken(typeOrFunc, p, params); });\n\t }\n\t function _extractToken(typeOrFunc, metadata, params) {\n\t var depProps = [];\n\t var token = null;\n\t var optional = false;\n\t if (!Array.isArray(metadata)) {\n\t if (metadata instanceof Inject) {\n\t return _createDependency(metadata.token, optional, null, null, depProps);\n\t }\n\t else {\n\t return _createDependency(metadata, optional, null, null, depProps);\n\t }\n\t }\n\t var lowerBoundVisibility = null;\n\t var upperBoundVisibility = null;\n\t for (var i = 0; i < metadata.length; ++i) {\n\t var paramMetadata = metadata[i];\n\t if (paramMetadata instanceof Type) {\n\t token = paramMetadata;\n\t }\n\t else if (paramMetadata instanceof Inject) {\n\t token = paramMetadata.token;\n\t }\n\t else if (paramMetadata instanceof Optional) {\n\t optional = true;\n\t }\n\t else if (paramMetadata instanceof Self) {\n\t upperBoundVisibility = paramMetadata;\n\t }\n\t else if (paramMetadata instanceof Host) {\n\t upperBoundVisibility = paramMetadata;\n\t }\n\t else if (paramMetadata instanceof SkipSelf) {\n\t lowerBoundVisibility = paramMetadata;\n\t }\n\t }\n\t token = resolveForwardRef(token);\n\t if (token != null) {\n\t return _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n\t }\n\t else {\n\t throw new NoAnnotationError(typeOrFunc, params);\n\t }\n\t }\n\t function _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps) {\n\t return new ReflectiveDependency(ReflectiveKey.get(token), optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n\t }\n\t\n\t // Threshold for the dynamic version\n\t var _MAX_CONSTRUCTION_COUNTER = 10;\n\t var UNDEFINED = new Object();\n\t var ReflectiveProtoInjectorInlineStrategy = (function () {\n\t function ReflectiveProtoInjectorInlineStrategy(protoEI, providers) {\n\t this.provider0 = null;\n\t this.provider1 = null;\n\t this.provider2 = null;\n\t this.provider3 = null;\n\t this.provider4 = null;\n\t this.provider5 = null;\n\t this.provider6 = null;\n\t this.provider7 = null;\n\t this.provider8 = null;\n\t this.provider9 = null;\n\t this.keyId0 = null;\n\t this.keyId1 = null;\n\t this.keyId2 = null;\n\t this.keyId3 = null;\n\t this.keyId4 = null;\n\t this.keyId5 = null;\n\t this.keyId6 = null;\n\t this.keyId7 = null;\n\t this.keyId8 = null;\n\t this.keyId9 = null;\n\t var length = providers.length;\n\t if (length > 0) {\n\t this.provider0 = providers[0];\n\t this.keyId0 = providers[0].key.id;\n\t }\n\t if (length > 1) {\n\t this.provider1 = providers[1];\n\t this.keyId1 = providers[1].key.id;\n\t }\n\t if (length > 2) {\n\t this.provider2 = providers[2];\n\t this.keyId2 = providers[2].key.id;\n\t }\n\t if (length > 3) {\n\t this.provider3 = providers[3];\n\t this.keyId3 = providers[3].key.id;\n\t }\n\t if (length > 4) {\n\t this.provider4 = providers[4];\n\t this.keyId4 = providers[4].key.id;\n\t }\n\t if (length > 5) {\n\t this.provider5 = providers[5];\n\t this.keyId5 = providers[5].key.id;\n\t }\n\t if (length > 6) {\n\t this.provider6 = providers[6];\n\t this.keyId6 = providers[6].key.id;\n\t }\n\t if (length > 7) {\n\t this.provider7 = providers[7];\n\t this.keyId7 = providers[7].key.id;\n\t }\n\t if (length > 8) {\n\t this.provider8 = providers[8];\n\t this.keyId8 = providers[8].key.id;\n\t }\n\t if (length > 9) {\n\t this.provider9 = providers[9];\n\t this.keyId9 = providers[9].key.id;\n\t }\n\t }\n\t ReflectiveProtoInjectorInlineStrategy.prototype.getProviderAtIndex = function (index) {\n\t if (index == 0)\n\t return this.provider0;\n\t if (index == 1)\n\t return this.provider1;\n\t if (index == 2)\n\t return this.provider2;\n\t if (index == 3)\n\t return this.provider3;\n\t if (index == 4)\n\t return this.provider4;\n\t if (index == 5)\n\t return this.provider5;\n\t if (index == 6)\n\t return this.provider6;\n\t if (index == 7)\n\t return this.provider7;\n\t if (index == 8)\n\t return this.provider8;\n\t if (index == 9)\n\t return this.provider9;\n\t throw new OutOfBoundsError(index);\n\t };\n\t ReflectiveProtoInjectorInlineStrategy.prototype.createInjectorStrategy = function (injector) {\n\t return new ReflectiveInjectorInlineStrategy(injector, this);\n\t };\n\t return ReflectiveProtoInjectorInlineStrategy;\n\t }());\n\t var ReflectiveProtoInjectorDynamicStrategy = (function () {\n\t function ReflectiveProtoInjectorDynamicStrategy(protoInj, providers) {\n\t this.providers = providers;\n\t var len = providers.length;\n\t this.keyIds = new Array(len);\n\t for (var i = 0; i < len; i++) {\n\t this.keyIds[i] = providers[i].key.id;\n\t }\n\t }\n\t ReflectiveProtoInjectorDynamicStrategy.prototype.getProviderAtIndex = function (index) {\n\t if (index < 0 || index >= this.providers.length) {\n\t throw new OutOfBoundsError(index);\n\t }\n\t return this.providers[index];\n\t };\n\t ReflectiveProtoInjectorDynamicStrategy.prototype.createInjectorStrategy = function (ei) {\n\t return new ReflectiveInjectorDynamicStrategy(this, ei);\n\t };\n\t return ReflectiveProtoInjectorDynamicStrategy;\n\t }());\n\t var ReflectiveProtoInjector = (function () {\n\t function ReflectiveProtoInjector(providers) {\n\t this.numberOfProviders = providers.length;\n\t this._strategy = providers.length > _MAX_CONSTRUCTION_COUNTER ?\n\t new ReflectiveProtoInjectorDynamicStrategy(this, providers) :\n\t new ReflectiveProtoInjectorInlineStrategy(this, providers);\n\t }\n\t ReflectiveProtoInjector.fromResolvedProviders = function (providers) {\n\t return new ReflectiveProtoInjector(providers);\n\t };\n\t ReflectiveProtoInjector.prototype.getProviderAtIndex = function (index) {\n\t return this._strategy.getProviderAtIndex(index);\n\t };\n\t return ReflectiveProtoInjector;\n\t }());\n\t var ReflectiveInjectorInlineStrategy = (function () {\n\t function ReflectiveInjectorInlineStrategy(injector, protoStrategy) {\n\t this.injector = injector;\n\t this.protoStrategy = protoStrategy;\n\t this.obj0 = UNDEFINED;\n\t this.obj1 = UNDEFINED;\n\t this.obj2 = UNDEFINED;\n\t this.obj3 = UNDEFINED;\n\t this.obj4 = UNDEFINED;\n\t this.obj5 = UNDEFINED;\n\t this.obj6 = UNDEFINED;\n\t this.obj7 = UNDEFINED;\n\t this.obj8 = UNDEFINED;\n\t this.obj9 = UNDEFINED;\n\t }\n\t ReflectiveInjectorInlineStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\n\t ReflectiveInjectorInlineStrategy.prototype.instantiateProvider = function (provider) {\n\t return this.injector._new(provider);\n\t };\n\t ReflectiveInjectorInlineStrategy.prototype.getObjByKeyId = function (keyId) {\n\t var p = this.protoStrategy;\n\t var inj = this.injector;\n\t if (p.keyId0 === keyId) {\n\t if (this.obj0 === UNDEFINED) {\n\t this.obj0 = inj._new(p.provider0);\n\t }\n\t return this.obj0;\n\t }\n\t if (p.keyId1 === keyId) {\n\t if (this.obj1 === UNDEFINED) {\n\t this.obj1 = inj._new(p.provider1);\n\t }\n\t return this.obj1;\n\t }\n\t if (p.keyId2 === keyId) {\n\t if (this.obj2 === UNDEFINED) {\n\t this.obj2 = inj._new(p.provider2);\n\t }\n\t return this.obj2;\n\t }\n\t if (p.keyId3 === keyId) {\n\t if (this.obj3 === UNDEFINED) {\n\t this.obj3 = inj._new(p.provider3);\n\t }\n\t return this.obj3;\n\t }\n\t if (p.keyId4 === keyId) {\n\t if (this.obj4 === UNDEFINED) {\n\t this.obj4 = inj._new(p.provider4);\n\t }\n\t return this.obj4;\n\t }\n\t if (p.keyId5 === keyId) {\n\t if (this.obj5 === UNDEFINED) {\n\t this.obj5 = inj._new(p.provider5);\n\t }\n\t return this.obj5;\n\t }\n\t if (p.keyId6 === keyId) {\n\t if (this.obj6 === UNDEFINED) {\n\t this.obj6 = inj._new(p.provider6);\n\t }\n\t return this.obj6;\n\t }\n\t if (p.keyId7 === keyId) {\n\t if (this.obj7 === UNDEFINED) {\n\t this.obj7 = inj._new(p.provider7);\n\t }\n\t return this.obj7;\n\t }\n\t if (p.keyId8 === keyId) {\n\t if (this.obj8 === UNDEFINED) {\n\t this.obj8 = inj._new(p.provider8);\n\t }\n\t return this.obj8;\n\t }\n\t if (p.keyId9 === keyId) {\n\t if (this.obj9 === UNDEFINED) {\n\t this.obj9 = inj._new(p.provider9);\n\t }\n\t return this.obj9;\n\t }\n\t return UNDEFINED;\n\t };\n\t ReflectiveInjectorInlineStrategy.prototype.getObjAtIndex = function (index) {\n\t if (index == 0)\n\t return this.obj0;\n\t if (index == 1)\n\t return this.obj1;\n\t if (index == 2)\n\t return this.obj2;\n\t if (index == 3)\n\t return this.obj3;\n\t if (index == 4)\n\t return this.obj4;\n\t if (index == 5)\n\t return this.obj5;\n\t if (index == 6)\n\t return this.obj6;\n\t if (index == 7)\n\t return this.obj7;\n\t if (index == 8)\n\t return this.obj8;\n\t if (index == 9)\n\t return this.obj9;\n\t throw new OutOfBoundsError(index);\n\t };\n\t ReflectiveInjectorInlineStrategy.prototype.getMaxNumberOfObjects = function () { return _MAX_CONSTRUCTION_COUNTER; };\n\t return ReflectiveInjectorInlineStrategy;\n\t }());\n\t var ReflectiveInjectorDynamicStrategy = (function () {\n\t function ReflectiveInjectorDynamicStrategy(protoStrategy, injector) {\n\t this.protoStrategy = protoStrategy;\n\t this.injector = injector;\n\t this.objs = new Array(protoStrategy.providers.length).fill(UNDEFINED);\n\t }\n\t ReflectiveInjectorDynamicStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\n\t ReflectiveInjectorDynamicStrategy.prototype.instantiateProvider = function (provider) {\n\t return this.injector._new(provider);\n\t };\n\t ReflectiveInjectorDynamicStrategy.prototype.getObjByKeyId = function (keyId) {\n\t var p = this.protoStrategy;\n\t for (var i = 0; i < p.keyIds.length; i++) {\n\t if (p.keyIds[i] === keyId) {\n\t if (this.objs[i] === UNDEFINED) {\n\t this.objs[i] = this.injector._new(p.providers[i]);\n\t }\n\t return this.objs[i];\n\t }\n\t }\n\t return UNDEFINED;\n\t };\n\t ReflectiveInjectorDynamicStrategy.prototype.getObjAtIndex = function (index) {\n\t if (index < 0 || index >= this.objs.length) {\n\t throw new OutOfBoundsError(index);\n\t }\n\t return this.objs[index];\n\t };\n\t ReflectiveInjectorDynamicStrategy.prototype.getMaxNumberOfObjects = function () { return this.objs.length; };\n\t return ReflectiveInjectorDynamicStrategy;\n\t }());\n\t /**\n\t * A ReflectiveDependency injection container used for instantiating objects and resolving\n\t * dependencies.\n\t *\n\t * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\n\t * constructor dependencies.\n\t *\n\t * In typical use, application code asks for the dependencies in the constructor and they are\n\t * resolved by the `Injector`.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/jzjec0?p=preview))\n\t *\n\t * The following example creates an `Injector` configured to create `Engine` and `Car`.\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n\t * var car = injector.get(Car);\n\t * expect(car instanceof Car).toBe(true);\n\t * expect(car.engine instanceof Engine).toBe(true);\n\t * ```\n\t *\n\t * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\n\t * resolve all of the object's dependencies automatically.\n\t *\n\t * @stable\n\t */\n\t var ReflectiveInjector = (function () {\n\t function ReflectiveInjector() {\n\t }\n\t /**\n\t * Turns an array of provider definitions into an array of resolved providers.\n\t *\n\t * A resolution is a process of flattening multiple nested arrays and converting individual\n\t * providers into an array of {@link ResolvedReflectiveProvider}s.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview))\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\n\t *\n\t * expect(providers.length).toEqual(2);\n\t *\n\t * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\n\t * expect(providers[0].key.displayName).toBe(\"Car\");\n\t * expect(providers[0].dependencies.length).toEqual(1);\n\t * expect(providers[0].factory).toBeDefined();\n\t *\n\t * expect(providers[1].key.displayName).toBe(\"Engine\");\n\t * });\n\t * ```\n\t *\n\t * See {@link ReflectiveInjector#fromResolvedProviders} for more info.\n\t */\n\t ReflectiveInjector.resolve = function (providers) {\n\t return resolveReflectiveProviders(providers);\n\t };\n\t /**\n\t * Resolves an array of providers and creates an injector from those providers.\n\t *\n\t * The passed-in providers can be an array of `Type`, {@link Provider},\n\t * or a recursive array of more providers.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview))\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n\t * expect(injector.get(Car) instanceof Car).toBe(true);\n\t * ```\n\t *\n\t * This function is slower than the corresponding `fromResolvedProviders`\n\t * because it needs to resolve the passed-in providers first.\n\t * See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.\n\t */\n\t ReflectiveInjector.resolveAndCreate = function (providers, parent) {\n\t if (parent === void 0) { parent = null; }\n\t var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n\t return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n\t };\n\t /**\n\t * Creates an injector from previously resolved providers.\n\t *\n\t * This API is the recommended way to construct injectors in performance-sensitive parts.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview))\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var providers = ReflectiveInjector.resolve([Car, Engine]);\n\t * var injector = ReflectiveInjector.fromResolvedProviders(providers);\n\t * expect(injector.get(Car) instanceof Car).toBe(true);\n\t * ```\n\t * @experimental\n\t */\n\t ReflectiveInjector.fromResolvedProviders = function (providers, parent) {\n\t if (parent === void 0) { parent = null; }\n\t return new ReflectiveInjector_(ReflectiveProtoInjector.fromResolvedProviders(providers), parent);\n\t };\n\t Object.defineProperty(ReflectiveInjector.prototype, \"parent\", {\n\t /**\n\t * Parent of this injector.\n\t *\n\t * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n\t * -->\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/eosMGo?p=preview))\n\t *\n\t * ```typescript\n\t * var parent = ReflectiveInjector.resolveAndCreate([]);\n\t * var child = parent.resolveAndCreateChild([]);\n\t * expect(child.parent).toBe(parent);\n\t * ```\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Resolves an array of providers and creates a child injector from those providers.\n\t *\n\t * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n\t * -->\n\t *\n\t * The passed-in providers can be an array of `Type`, {@link Provider},\n\t * or a recursive array of more providers.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/opB3T4?p=preview))\n\t *\n\t * ```typescript\n\t * class ParentProvider {}\n\t * class ChildProvider {}\n\t *\n\t * var parent = ReflectiveInjector.resolveAndCreate([ParentProvider]);\n\t * var child = parent.resolveAndCreateChild([ChildProvider]);\n\t *\n\t * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\n\t * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\n\t * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\n\t * ```\n\t *\n\t * This function is slower than the corresponding `createChildFromResolved`\n\t * because it needs to resolve the passed-in providers first.\n\t * See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.\n\t */\n\t ReflectiveInjector.prototype.resolveAndCreateChild = function (providers) { return unimplemented(); };\n\t /**\n\t * Creates a child injector from previously resolved providers.\n\t *\n\t * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n\t * -->\n\t *\n\t * This API is the recommended way to construct injectors in performance-sensitive parts.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/VhyfjN?p=preview))\n\t *\n\t * ```typescript\n\t * class ParentProvider {}\n\t * class ChildProvider {}\n\t *\n\t * var parentProviders = ReflectiveInjector.resolve([ParentProvider]);\n\t * var childProviders = ReflectiveInjector.resolve([ChildProvider]);\n\t *\n\t * var parent = ReflectiveInjector.fromResolvedProviders(parentProviders);\n\t * var child = parent.createChildFromResolved(childProviders);\n\t *\n\t * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\n\t * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\n\t * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\n\t * ```\n\t */\n\t ReflectiveInjector.prototype.createChildFromResolved = function (providers) {\n\t return unimplemented();\n\t };\n\t /**\n\t * Resolves a provider and instantiates an object in the context of the injector.\n\t *\n\t * The created object does not get cached by the injector.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/yvVXoB?p=preview))\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\n\t *\n\t * var car = injector.resolveAndInstantiate(Car);\n\t * expect(car.engine).toBe(injector.get(Engine));\n\t * expect(car).not.toBe(injector.resolveAndInstantiate(Car));\n\t * ```\n\t */\n\t ReflectiveInjector.prototype.resolveAndInstantiate = function (provider) { return unimplemented(); };\n\t /**\n\t * Instantiates an object using a resolved provider in the context of the injector.\n\t *\n\t * The created object does not get cached by the injector.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/ptCImQ?p=preview))\n\t *\n\t * ```typescript\n\t * @Injectable()\n\t * class Engine {\n\t * }\n\t *\n\t * @Injectable()\n\t * class Car {\n\t * constructor(public engine:Engine) {}\n\t * }\n\t *\n\t * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\n\t * var carProvider = ReflectiveInjector.resolve([Car])[0];\n\t * var car = injector.instantiateResolved(carProvider);\n\t * expect(car.engine).toBe(injector.get(Engine));\n\t * expect(car).not.toBe(injector.instantiateResolved(carProvider));\n\t * ```\n\t */\n\t ReflectiveInjector.prototype.instantiateResolved = function (provider) { return unimplemented(); };\n\t return ReflectiveInjector;\n\t }());\n\t var ReflectiveInjector_ = (function () {\n\t /**\n\t * Private\n\t */\n\t function ReflectiveInjector_(_proto /* ProtoInjector */, _parent) {\n\t if (_parent === void 0) { _parent = null; }\n\t /** @internal */\n\t this._constructionCounter = 0;\n\t this._proto = _proto;\n\t this._parent = _parent;\n\t this._strategy = _proto._strategy.createInjectorStrategy(this);\n\t }\n\t ReflectiveInjector_.prototype.get = function (token, notFoundValue) {\n\t if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n\t return this._getByKey(ReflectiveKey.get(token), null, null, notFoundValue);\n\t };\n\t ReflectiveInjector_.prototype.getAt = function (index) { return this._strategy.getObjAtIndex(index); };\n\t Object.defineProperty(ReflectiveInjector_.prototype, \"parent\", {\n\t get: function () { return this._parent; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ReflectiveInjector_.prototype, \"internalStrategy\", {\n\t /**\n\t * @internal\n\t * Internal. Do not use.\n\t * We return `any` not to export the InjectorStrategy type.\n\t */\n\t get: function () { return this._strategy; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ReflectiveInjector_.prototype.resolveAndCreateChild = function (providers) {\n\t var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n\t return this.createChildFromResolved(ResolvedReflectiveProviders);\n\t };\n\t ReflectiveInjector_.prototype.createChildFromResolved = function (providers) {\n\t var proto = new ReflectiveProtoInjector(providers);\n\t var inj = new ReflectiveInjector_(proto);\n\t inj._parent = this;\n\t return inj;\n\t };\n\t ReflectiveInjector_.prototype.resolveAndInstantiate = function (provider) {\n\t return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n\t };\n\t ReflectiveInjector_.prototype.instantiateResolved = function (provider) {\n\t return this._instantiateProvider(provider);\n\t };\n\t /** @internal */\n\t ReflectiveInjector_.prototype._new = function (provider) {\n\t if (this._constructionCounter++ > this._strategy.getMaxNumberOfObjects()) {\n\t throw new CyclicDependencyError(this, provider.key);\n\t }\n\t return this._instantiateProvider(provider);\n\t };\n\t ReflectiveInjector_.prototype._instantiateProvider = function (provider) {\n\t if (provider.multiProvider) {\n\t var res = new Array(provider.resolvedFactories.length);\n\t for (var i = 0; i < provider.resolvedFactories.length; ++i) {\n\t res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n\t }\n\t return res;\n\t }\n\t else {\n\t return this._instantiate(provider, provider.resolvedFactories[0]);\n\t }\n\t };\n\t ReflectiveInjector_.prototype._instantiate = function (provider, ResolvedReflectiveFactory) {\n\t var factory = ResolvedReflectiveFactory.factory;\n\t var deps = ResolvedReflectiveFactory.dependencies;\n\t var length = deps.length;\n\t var d0;\n\t var d1;\n\t var d2;\n\t var d3;\n\t var d4;\n\t var d5;\n\t var d6;\n\t var d7;\n\t var d8;\n\t var d9;\n\t var d10;\n\t var d11;\n\t var d12;\n\t var d13;\n\t var d14;\n\t var d15;\n\t var d16;\n\t var d17;\n\t var d18;\n\t var d19;\n\t try {\n\t d0 = length > 0 ? this._getByReflectiveDependency(provider, deps[0]) : null;\n\t d1 = length > 1 ? this._getByReflectiveDependency(provider, deps[1]) : null;\n\t d2 = length > 2 ? this._getByReflectiveDependency(provider, deps[2]) : null;\n\t d3 = length > 3 ? this._getByReflectiveDependency(provider, deps[3]) : null;\n\t d4 = length > 4 ? this._getByReflectiveDependency(provider, deps[4]) : null;\n\t d5 = length > 5 ? this._getByReflectiveDependency(provider, deps[5]) : null;\n\t d6 = length > 6 ? this._getByReflectiveDependency(provider, deps[6]) : null;\n\t d7 = length > 7 ? this._getByReflectiveDependency(provider, deps[7]) : null;\n\t d8 = length > 8 ? this._getByReflectiveDependency(provider, deps[8]) : null;\n\t d9 = length > 9 ? this._getByReflectiveDependency(provider, deps[9]) : null;\n\t d10 = length > 10 ? this._getByReflectiveDependency(provider, deps[10]) : null;\n\t d11 = length > 11 ? this._getByReflectiveDependency(provider, deps[11]) : null;\n\t d12 = length > 12 ? this._getByReflectiveDependency(provider, deps[12]) : null;\n\t d13 = length > 13 ? this._getByReflectiveDependency(provider, deps[13]) : null;\n\t d14 = length > 14 ? this._getByReflectiveDependency(provider, deps[14]) : null;\n\t d15 = length > 15 ? this._getByReflectiveDependency(provider, deps[15]) : null;\n\t d16 = length > 16 ? this._getByReflectiveDependency(provider, deps[16]) : null;\n\t d17 = length > 17 ? this._getByReflectiveDependency(provider, deps[17]) : null;\n\t d18 = length > 18 ? this._getByReflectiveDependency(provider, deps[18]) : null;\n\t d19 = length > 19 ? this._getByReflectiveDependency(provider, deps[19]) : null;\n\t }\n\t catch (e) {\n\t if (e instanceof AbstractProviderError || e instanceof InstantiationError) {\n\t e.addKey(this, provider.key);\n\t }\n\t throw e;\n\t }\n\t var obj;\n\t try {\n\t switch (length) {\n\t case 0:\n\t obj = factory();\n\t break;\n\t case 1:\n\t obj = factory(d0);\n\t break;\n\t case 2:\n\t obj = factory(d0, d1);\n\t break;\n\t case 3:\n\t obj = factory(d0, d1, d2);\n\t break;\n\t case 4:\n\t obj = factory(d0, d1, d2, d3);\n\t break;\n\t case 5:\n\t obj = factory(d0, d1, d2, d3, d4);\n\t break;\n\t case 6:\n\t obj = factory(d0, d1, d2, d3, d4, d5);\n\t break;\n\t case 7:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6);\n\t break;\n\t case 8:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7);\n\t break;\n\t case 9:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8);\n\t break;\n\t case 10:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9);\n\t break;\n\t case 11:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10);\n\t break;\n\t case 12:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11);\n\t break;\n\t case 13:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12);\n\t break;\n\t case 14:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13);\n\t break;\n\t case 15:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14);\n\t break;\n\t case 16:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15);\n\t break;\n\t case 17:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16);\n\t break;\n\t case 18:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17);\n\t break;\n\t case 19:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18);\n\t break;\n\t case 20:\n\t obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19);\n\t break;\n\t default:\n\t throw new Error(\"Cannot instantiate '\" + provider.key.displayName + \"' because it has more than 20 dependencies\");\n\t }\n\t }\n\t catch (e) {\n\t throw new InstantiationError(this, e, e.stack, provider.key);\n\t }\n\t return obj;\n\t };\n\t ReflectiveInjector_.prototype._getByReflectiveDependency = function (provider, dep) {\n\t return this._getByKey(dep.key, dep.lowerBoundVisibility, dep.upperBoundVisibility, dep.optional ? null : THROW_IF_NOT_FOUND);\n\t };\n\t ReflectiveInjector_.prototype._getByKey = function (key, lowerBoundVisibility, upperBoundVisibility, notFoundValue) {\n\t if (key === INJECTOR_KEY) {\n\t return this;\n\t }\n\t if (upperBoundVisibility instanceof Self) {\n\t return this._getByKeySelf(key, notFoundValue);\n\t }\n\t else {\n\t return this._getByKeyDefault(key, notFoundValue, lowerBoundVisibility);\n\t }\n\t };\n\t /** @internal */\n\t ReflectiveInjector_.prototype._throwOrNull = function (key, notFoundValue) {\n\t if (notFoundValue !== THROW_IF_NOT_FOUND) {\n\t return notFoundValue;\n\t }\n\t else {\n\t throw new NoProviderError(this, key);\n\t }\n\t };\n\t /** @internal */\n\t ReflectiveInjector_.prototype._getByKeySelf = function (key, notFoundValue) {\n\t var obj = this._strategy.getObjByKeyId(key.id);\n\t return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\n\t };\n\t /** @internal */\n\t ReflectiveInjector_.prototype._getByKeyDefault = function (key, notFoundValue, lowerBoundVisibility) {\n\t var inj;\n\t if (lowerBoundVisibility instanceof SkipSelf) {\n\t inj = this._parent;\n\t }\n\t else {\n\t inj = this;\n\t }\n\t while (inj instanceof ReflectiveInjector_) {\n\t var inj_ = inj;\n\t var obj = inj_._strategy.getObjByKeyId(key.id);\n\t if (obj !== UNDEFINED)\n\t return obj;\n\t inj = inj_._parent;\n\t }\n\t if (inj !== null) {\n\t return inj.get(key.token, notFoundValue);\n\t }\n\t else {\n\t return this._throwOrNull(key, notFoundValue);\n\t }\n\t };\n\t Object.defineProperty(ReflectiveInjector_.prototype, \"displayName\", {\n\t get: function () {\n\t var providers = _mapProviders(this, function (b) { return ' \"' + b.key.displayName + '\" '; })\n\t .join(', ');\n\t return \"ReflectiveInjector(providers: [\" + providers + \"])\";\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ReflectiveInjector_.prototype.toString = function () { return this.displayName; };\n\t return ReflectiveInjector_;\n\t }());\n\t var INJECTOR_KEY = ReflectiveKey.get(Injector);\n\t function _mapProviders(injector, fn) {\n\t var res = new Array(injector._proto.numberOfProviders);\n\t for (var i = 0; i < injector._proto.numberOfProviders; ++i) {\n\t res[i] = fn(injector._proto.getProviderAtIndex(i));\n\t }\n\t return res;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @whatItDoes Provides a hook for centralized exception handling.\n\t *\n\t * @description\n\t *\n\t * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n\t * intercept error handling, write a custom exception handler that replaces this default as\n\t * appropriate for your app.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * class MyErrorHandler implements ErrorHandler {\n\t * handleError(error) {\n\t * // do something with the exception\n\t * }\n\t * }\n\t *\n\t * @NgModule({\n\t * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n\t * })\n\t * class MyModule {}\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var ErrorHandler = (function () {\n\t function ErrorHandler(rethrowError) {\n\t if (rethrowError === void 0) { rethrowError = true; }\n\t /**\n\t * @internal\n\t */\n\t this._console = console;\n\t this.rethrowError = rethrowError;\n\t }\n\t ErrorHandler.prototype.handleError = function (error) {\n\t var originalError = this._findOriginalError(error);\n\t var originalStack = this._findOriginalStack(error);\n\t var context = this._findContext(error);\n\t this._console.error(\"EXCEPTION: \" + this._extractMessage(error));\n\t if (originalError) {\n\t this._console.error(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalError));\n\t }\n\t if (originalStack) {\n\t this._console.error('ORIGINAL STACKTRACE:');\n\t this._console.error(originalStack);\n\t }\n\t if (context) {\n\t this._console.error('ERROR CONTEXT:');\n\t this._console.error(context);\n\t }\n\t // We rethrow exceptions, so operations like 'bootstrap' will result in an error\n\t // when an error happens. If we do not rethrow, bootstrap will always succeed.\n\t if (this.rethrowError)\n\t throw error;\n\t };\n\t /** @internal */\n\t ErrorHandler.prototype._extractMessage = function (error) {\n\t return error instanceof Error ? error.message : error.toString();\n\t };\n\t /** @internal */\n\t ErrorHandler.prototype._findContext = function (error) {\n\t if (error) {\n\t return error.context ? error.context :\n\t this._findContext(error.originalError);\n\t }\n\t return null;\n\t };\n\t /** @internal */\n\t ErrorHandler.prototype._findOriginalError = function (error) {\n\t var e = error.originalError;\n\t while (e && e.originalError) {\n\t e = e.originalError;\n\t }\n\t return e;\n\t };\n\t /** @internal */\n\t ErrorHandler.prototype._findOriginalStack = function (error) {\n\t if (!(error instanceof Error))\n\t return null;\n\t var e = error;\n\t var stack = e.stack;\n\t while (e instanceof Error && e.originalError) {\n\t e = e.originalError;\n\t if (e instanceof Error && e.stack) {\n\t stack = e.stack;\n\t }\n\t }\n\t return stack;\n\t };\n\t return ErrorHandler;\n\t }());\n\t\n\t /**\n\t * Wraps Javascript Objects\n\t */\n\t var StringMapWrapper = (function () {\n\t function StringMapWrapper() {\n\t }\n\t StringMapWrapper.merge = function (m1, m2) {\n\t var m = {};\n\t for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n\t var k = _a[_i];\n\t m[k] = m1[k];\n\t }\n\t for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n\t var k = _c[_b];\n\t m[k] = m2[k];\n\t }\n\t return m;\n\t };\n\t StringMapWrapper.equals = function (m1, m2) {\n\t var k1 = Object.keys(m1);\n\t var k2 = Object.keys(m2);\n\t if (k1.length != k2.length) {\n\t return false;\n\t }\n\t for (var i = 0; i < k1.length; i++) {\n\t var key = k1[i];\n\t if (m1[key] !== m2[key]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t return StringMapWrapper;\n\t }());\n\t var ListWrapper = (function () {\n\t function ListWrapper() {\n\t }\n\t ListWrapper.removeAll = function (list, items) {\n\t for (var i = 0; i < items.length; ++i) {\n\t var index = list.indexOf(items[i]);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t }\n\t }\n\t };\n\t ListWrapper.remove = function (list, el) {\n\t var index = list.indexOf(el);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t return true;\n\t }\n\t return false;\n\t };\n\t ListWrapper.equals = function (a, b) {\n\t if (a.length != b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (a[i] !== b[i])\n\t return false;\n\t }\n\t return true;\n\t };\n\t ListWrapper.flatten = function (list) {\n\t return list.reduce(function (flat, item) {\n\t var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n\t return flat.concat(flatItem);\n\t }, []);\n\t };\n\t return ListWrapper;\n\t }());\n\t function isListLikeIterable(obj) {\n\t if (!isJsObject(obj))\n\t return false;\n\t return Array.isArray(obj) ||\n\t (!(obj instanceof Map) &&\n\t getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n\t }\n\t function areIterablesEqual(a, b, comparator) {\n\t var iterator1 = a[getSymbolIterator()]();\n\t var iterator2 = b[getSymbolIterator()]();\n\t while (true) {\n\t var item1 = iterator1.next();\n\t var item2 = iterator2.next();\n\t if (item1.done && item2.done)\n\t return true;\n\t if (item1.done || item2.done)\n\t return false;\n\t if (!comparator(item1.value, item2.value))\n\t return false;\n\t }\n\t }\n\t function iterateListLike(obj, fn) {\n\t if (Array.isArray(obj)) {\n\t for (var i = 0; i < obj.length; i++) {\n\t fn(obj[i]);\n\t }\n\t }\n\t else {\n\t var iterator = obj[getSymbolIterator()]();\n\t var item = void 0;\n\t while (!((item = iterator.next()).done)) {\n\t fn(item.value);\n\t }\n\t }\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function isPromise(obj) {\n\t // allow any Promise/A+ compliant thenable.\n\t // It's up to the caller to ensure that obj.then conforms to the spec\n\t return !!obj && typeof obj.then === 'function';\n\t }\n\t\n\t /**\n\t * A function that will be executed when an application is initialized.\n\t * @experimental\n\t */\n\t var APP_INITIALIZER = new OpaqueToken('Application Initializer');\n\t /**\n\t * A class that reflects the state of running {@link APP_INITIALIZER}s.\n\t *\n\t * @experimental\n\t */\n\t var ApplicationInitStatus = (function () {\n\t function ApplicationInitStatus(appInits) {\n\t var _this = this;\n\t this._done = false;\n\t var asyncInitPromises = [];\n\t if (appInits) {\n\t for (var i = 0; i < appInits.length; i++) {\n\t var initResult = appInits[i]();\n\t if (isPromise(initResult)) {\n\t asyncInitPromises.push(initResult);\n\t }\n\t }\n\t }\n\t this._donePromise = Promise.all(asyncInitPromises).then(function () { _this._done = true; });\n\t if (asyncInitPromises.length === 0) {\n\t this._done = true;\n\t }\n\t }\n\t Object.defineProperty(ApplicationInitStatus.prototype, \"done\", {\n\t get: function () { return this._done; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ApplicationInitStatus.prototype, \"donePromise\", {\n\t get: function () { return this._donePromise; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ApplicationInitStatus.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t ApplicationInitStatus.ctorParameters = [\n\t { type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional },] },\n\t ];\n\t return ApplicationInitStatus;\n\t }());\n\t\n\t /**\n\t * A DI Token representing a unique string id assigned to the application by Angular and used\n\t * primarily for prefixing application attributes and CSS styles when\n\t * {@link ViewEncapsulation#Emulated} is being used.\n\t *\n\t * If you need to avoid randomly generated value to be used as an application id, you can provide\n\t * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}\n\t * using this token.\n\t * @experimental\n\t */\n\t var APP_ID = new OpaqueToken('AppId');\n\t function _appIdRandomProviderFactory() {\n\t return \"\" + _randomChar() + _randomChar() + _randomChar();\n\t }\n\t /**\n\t * Providers that will generate a random APP_ID_TOKEN.\n\t * @experimental\n\t */\n\t var APP_ID_RANDOM_PROVIDER = {\n\t provide: APP_ID,\n\t useFactory: _appIdRandomProviderFactory,\n\t deps: [],\n\t };\n\t function _randomChar() {\n\t return String.fromCharCode(97 + Math.floor(Math.random() * 25));\n\t }\n\t /**\n\t * A function that will be executed when a platform is initialized.\n\t * @experimental\n\t */\n\t var PLATFORM_INITIALIZER = new OpaqueToken('Platform Initializer');\n\t /**\n\t * All callbacks provided via this token will be called for every component that is bootstrapped.\n\t * Signature of the callback:\n\t *\n\t * `(componentRef: ComponentRef) => void`.\n\t *\n\t * @experimental\n\t */\n\t var APP_BOOTSTRAP_LISTENER = new OpaqueToken('appBootstrapListener');\n\t /**\n\t * A token which indicates the root directory of the application\n\t * @experimental\n\t */\n\t var PACKAGE_ROOT_URL = new OpaqueToken('Application Packages Root URL');\n\t\n\t var Console = (function () {\n\t function Console() {\n\t }\n\t Console.prototype.log = function (message) { print(message); };\n\t // Note: for reporting errors use `DOM.logError()` as it is platform specific\n\t Console.prototype.warn = function (message) { warn(message); };\n\t Console.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t Console.ctorParameters = [];\n\t return Console;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Indicates that a component is still being loaded in a synchronous compile.\n\t *\n\t * @stable\n\t */\n\t var ComponentStillLoadingError = (function (_super) {\n\t __extends$4(ComponentStillLoadingError, _super);\n\t function ComponentStillLoadingError(compType) {\n\t _super.call(this, \"Can't compile synchronously as \" + stringify(compType) + \" is still being loaded!\");\n\t this.compType = compType;\n\t }\n\t return ComponentStillLoadingError;\n\t }(BaseError));\n\t /**\n\t * Combination of NgModuleFactory and ComponentFactorys.\n\t *\n\t * @experimental\n\t */\n\t var ModuleWithComponentFactories = (function () {\n\t function ModuleWithComponentFactories(ngModuleFactory, componentFactories) {\n\t this.ngModuleFactory = ngModuleFactory;\n\t this.componentFactories = componentFactories;\n\t }\n\t return ModuleWithComponentFactories;\n\t }());\n\t function _throwError() {\n\t throw new Error(\"Runtime compiler is not loaded\");\n\t }\n\t /**\n\t * Low-level service for running the angular compiler during runtime\n\t * to create {@link ComponentFactory}s, which\n\t * can later be used to create and render a Component instance.\n\t *\n\t * Each `@NgModule` provides an own `Compiler` to its injector,\n\t * that will use the directives/pipes of the ng module for compilation\n\t * of components.\n\t * @stable\n\t */\n\t var Compiler = (function () {\n\t function Compiler() {\n\t }\n\t /**\n\t * Compiles the given NgModule and all of its components. All templates of the components listed\n\t * in `entryComponents`\n\t * have to be inlined. Otherwise throws a {@link ComponentStillLoadingError}.\n\t */\n\t Compiler.prototype.compileModuleSync = function (moduleType) { throw _throwError(); };\n\t /**\n\t * Compiles the given NgModule and all of its components\n\t */\n\t Compiler.prototype.compileModuleAsync = function (moduleType) { throw _throwError(); };\n\t /**\n\t * Same as {@link compileModuleSync} but also creates ComponentFactories for all components.\n\t */\n\t Compiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n\t throw _throwError();\n\t };\n\t /**\n\t * Same as {@link compileModuleAsync} but also creates ComponentFactories for all components.\n\t */\n\t Compiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n\t throw _throwError();\n\t };\n\t /**\n\t * Clears all caches.\n\t */\n\t Compiler.prototype.clearCache = function () { };\n\t /**\n\t * Clears the cache for the given component/ngModule.\n\t */\n\t Compiler.prototype.clearCacheFor = function (type) { };\n\t return Compiler;\n\t }());\n\t /**\n\t * Token to provide CompilerOptions in the platform injector.\n\t *\n\t * @experimental\n\t */\n\t var COMPILER_OPTIONS = new OpaqueToken('compilerOptions');\n\t /**\n\t * A factory for creating a Compiler\n\t *\n\t * @experimental\n\t */\n\t var CompilerFactory = (function () {\n\t function CompilerFactory() {\n\t }\n\t return CompilerFactory;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * A wrapper around a native element inside of a View.\n\t *\n\t * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n\t * element.\n\t *\n\t * @security Permitting direct access to the DOM can make your application more vulnerable to\n\t * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n\t * [Security Guide](http://g.co/ng/security).\n\t *\n\t * @stable\n\t */\n\t // Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n\t // i.e. users have to ask for what they need. With that, we can build better analysis tools\n\t // and could do better codegen in the future.\n\t var ElementRef = (function () {\n\t function ElementRef(nativeElement) {\n\t this.nativeElement = nativeElement;\n\t }\n\t return ElementRef;\n\t }());\n\t\n\t var DefaultIterableDifferFactory = (function () {\n\t function DefaultIterableDifferFactory() {\n\t }\n\t DefaultIterableDifferFactory.prototype.supports = function (obj) { return isListLikeIterable(obj); };\n\t DefaultIterableDifferFactory.prototype.create = function (cdRef, trackByFn) {\n\t return new DefaultIterableDiffer(trackByFn);\n\t };\n\t return DefaultIterableDifferFactory;\n\t }());\n\t var trackByIdentity = function (index, item) { return item; };\n\t /**\n\t * @stable\n\t */\n\t var DefaultIterableDiffer = (function () {\n\t function DefaultIterableDiffer(_trackByFn) {\n\t this._trackByFn = _trackByFn;\n\t this._length = null;\n\t this._collection = null;\n\t // Keeps track of the used records at any point in time (during & across `_check()` calls)\n\t this._linkedRecords = null;\n\t // Keeps track of the removed records at any point in time during `_check()` calls.\n\t this._unlinkedRecords = null;\n\t this._previousItHead = null;\n\t this._itHead = null;\n\t this._itTail = null;\n\t this._additionsHead = null;\n\t this._additionsTail = null;\n\t this._movesHead = null;\n\t this._movesTail = null;\n\t this._removalsHead = null;\n\t this._removalsTail = null;\n\t // Keeps track of records where custom track by is the same, but item identity has changed\n\t this._identityChangesHead = null;\n\t this._identityChangesTail = null;\n\t this._trackByFn = this._trackByFn || trackByIdentity;\n\t }\n\t Object.defineProperty(DefaultIterableDiffer.prototype, \"collection\", {\n\t get: function () { return this._collection; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DefaultIterableDiffer.prototype, \"length\", {\n\t get: function () { return this._length; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t DefaultIterableDiffer.prototype.forEachItem = function (fn) {\n\t var record;\n\t for (record = this._itHead; record !== null; record = record._next) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachOperation = function (fn) {\n\t var nextIt = this._itHead;\n\t var nextRemove = this._removalsHead;\n\t var addRemoveOffset = 0;\n\t var moveOffsets = null;\n\t while (nextIt || nextRemove) {\n\t // Figure out which is the next record to process\n\t // Order: remove, add, move\n\t var record = !nextRemove ||\n\t nextIt &&\n\t nextIt.currentIndex < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n\t nextIt :\n\t nextRemove;\n\t var adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n\t var currentIndex = record.currentIndex;\n\t // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n\t if (record === nextRemove) {\n\t addRemoveOffset--;\n\t nextRemove = nextRemove._nextRemoved;\n\t }\n\t else {\n\t nextIt = nextIt._next;\n\t if (record.previousIndex == null) {\n\t addRemoveOffset++;\n\t }\n\t else {\n\t // INVARIANT: currentIndex < previousIndex\n\t if (!moveOffsets)\n\t moveOffsets = [];\n\t var localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n\t var localCurrentIndex = currentIndex - addRemoveOffset;\n\t if (localMovePreviousIndex != localCurrentIndex) {\n\t for (var i = 0; i < localMovePreviousIndex; i++) {\n\t var offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0);\n\t var index = offset + i;\n\t if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n\t moveOffsets[i] = offset + 1;\n\t }\n\t }\n\t var previousIndex = record.previousIndex;\n\t moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n\t }\n\t }\n\t }\n\t if (adjPreviousIndex !== currentIndex) {\n\t fn(record, adjPreviousIndex, currentIndex);\n\t }\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachPreviousItem = function (fn) {\n\t var record;\n\t for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachAddedItem = function (fn) {\n\t var record;\n\t for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachMovedItem = function (fn) {\n\t var record;\n\t for (record = this._movesHead; record !== null; record = record._nextMoved) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachRemovedItem = function (fn) {\n\t var record;\n\t for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.forEachIdentityChange = function (fn) {\n\t var record;\n\t for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n\t fn(record);\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.diff = function (collection) {\n\t if (isBlank(collection))\n\t collection = [];\n\t if (!isListLikeIterable(collection)) {\n\t throw new Error(\"Error trying to diff '\" + collection + \"'\");\n\t }\n\t if (this.check(collection)) {\n\t return this;\n\t }\n\t else {\n\t return null;\n\t }\n\t };\n\t DefaultIterableDiffer.prototype.onDestroy = function () { };\n\t // todo(vicb): optim for UnmodifiableListView (frozen arrays)\n\t DefaultIterableDiffer.prototype.check = function (collection) {\n\t var _this = this;\n\t this._reset();\n\t var record = this._itHead;\n\t var mayBeDirty = false;\n\t var index;\n\t var item;\n\t var itemTrackBy;\n\t if (Array.isArray(collection)) {\n\t var list = collection;\n\t this._length = collection.length;\n\t for (var index_1 = 0; index_1 < this._length; index_1++) {\n\t item = list[index_1];\n\t itemTrackBy = this._trackByFn(index_1, item);\n\t if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n\t record = this._mismatch(record, item, itemTrackBy, index_1);\n\t mayBeDirty = true;\n\t }\n\t else {\n\t if (mayBeDirty) {\n\t // TODO(misko): can we limit this to duplicates only?\n\t record = this._verifyReinsertion(record, item, itemTrackBy, index_1);\n\t }\n\t if (!looseIdentical(record.item, item))\n\t this._addIdentityChange(record, item);\n\t }\n\t record = record._next;\n\t }\n\t }\n\t else {\n\t index = 0;\n\t iterateListLike(collection, function (item /** TODO #9100 */) {\n\t itemTrackBy = _this._trackByFn(index, item);\n\t if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n\t record = _this._mismatch(record, item, itemTrackBy, index);\n\t mayBeDirty = true;\n\t }\n\t else {\n\t if (mayBeDirty) {\n\t // TODO(misko): can we limit this to duplicates only?\n\t record = _this._verifyReinsertion(record, item, itemTrackBy, index);\n\t }\n\t if (!looseIdentical(record.item, item))\n\t _this._addIdentityChange(record, item);\n\t }\n\t record = record._next;\n\t index++;\n\t });\n\t this._length = index;\n\t }\n\t this._truncate(record);\n\t this._collection = collection;\n\t return this.isDirty;\n\t };\n\t Object.defineProperty(DefaultIterableDiffer.prototype, \"isDirty\", {\n\t /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n\t * changes.\n\t */\n\t get: function () {\n\t return this._additionsHead !== null || this._movesHead !== null ||\n\t this._removalsHead !== null || this._identityChangesHead !== null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Reset the state of the change objects to show no changes. This means set previousKey to\n\t * currentKey, and clear all of the queues (additions, moves, removals).\n\t * Set the previousIndexes of moved and added items to their currentIndexes\n\t * Reset the list of additions, moves and removals\n\t *\n\t * @internal\n\t */\n\t DefaultIterableDiffer.prototype._reset = function () {\n\t if (this.isDirty) {\n\t var record = void 0;\n\t var nextRecord = void 0;\n\t for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n\t record._nextPrevious = record._next;\n\t }\n\t for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n\t record.previousIndex = record.currentIndex;\n\t }\n\t this._additionsHead = this._additionsTail = null;\n\t for (record = this._movesHead; record !== null; record = nextRecord) {\n\t record.previousIndex = record.currentIndex;\n\t nextRecord = record._nextMoved;\n\t }\n\t this._movesHead = this._movesTail = null;\n\t this._removalsHead = this._removalsTail = null;\n\t this._identityChangesHead = this._identityChangesTail = null;\n\t }\n\t };\n\t /**\n\t * This is the core function which handles differences between collections.\n\t *\n\t * - `record` is the record which we saw at this position last time. If null then it is a new\n\t * item.\n\t * - `item` is the current item in the collection\n\t * - `index` is the position of the item in the collection\n\t *\n\t * @internal\n\t */\n\t DefaultIterableDiffer.prototype._mismatch = function (record, item, itemTrackBy, index) {\n\t // The previous record after which we will append the current one.\n\t var previousRecord;\n\t if (record === null) {\n\t previousRecord = this._itTail;\n\t }\n\t else {\n\t previousRecord = record._prev;\n\t // Remove the record from the collection since we know it does not match the item.\n\t this._remove(record);\n\t }\n\t // Attempt to see if we have seen the item before.\n\t record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n\t if (record !== null) {\n\t // We have seen this before, we need to move it forward in the collection.\n\t // But first we need to check if identity changed, so we can update in view if necessary\n\t if (!looseIdentical(record.item, item))\n\t this._addIdentityChange(record, item);\n\t this._moveAfter(record, previousRecord, index);\n\t }\n\t else {\n\t // Never seen it, check evicted list.\n\t record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n\t if (record !== null) {\n\t // It is an item which we have evicted earlier: reinsert it back into the list.\n\t // But first we need to check if identity changed, so we can update in view if necessary\n\t if (!looseIdentical(record.item, item))\n\t this._addIdentityChange(record, item);\n\t this._reinsertAfter(record, previousRecord, index);\n\t }\n\t else {\n\t // It is a new item: add it.\n\t record =\n\t this._addAfter(new CollectionChangeRecord(item, itemTrackBy), previousRecord, index);\n\t }\n\t }\n\t return record;\n\t };\n\t /**\n\t * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n\t *\n\t * Use case: `[a, a]` => `[b, a, a]`\n\t *\n\t * If we did not have this check then the insertion of `b` would:\n\t * 1) evict first `a`\n\t * 2) insert `b` at `0` index.\n\t * 3) leave `a` at index `1` as is. <-- this is wrong!\n\t * 3) reinsert `a` at index 2. <-- this is wrong!\n\t *\n\t * The correct behavior is:\n\t * 1) evict first `a`\n\t * 2) insert `b` at `0` index.\n\t * 3) reinsert `a` at index 1.\n\t * 3) move `a` at from `1` to `2`.\n\t *\n\t *\n\t * Double check that we have not evicted a duplicate item. We need to check if the item type may\n\t * have already been removed:\n\t * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n\t * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n\t * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n\t * at the end.\n\t *\n\t * @internal\n\t */\n\t DefaultIterableDiffer.prototype._verifyReinsertion = function (record, item, itemTrackBy, index) {\n\t var reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n\t if (reinsertRecord !== null) {\n\t record = this._reinsertAfter(reinsertRecord, record._prev, index);\n\t }\n\t else if (record.currentIndex != index) {\n\t record.currentIndex = index;\n\t this._addToMoves(record, index);\n\t }\n\t return record;\n\t };\n\t /**\n\t * Get rid of any excess {@link CollectionChangeRecord}s from the previous collection\n\t *\n\t * - `record` The first excess {@link CollectionChangeRecord}.\n\t *\n\t * @internal\n\t */\n\t DefaultIterableDiffer.prototype._truncate = function (record) {\n\t // Anything after that needs to be removed;\n\t while (record !== null) {\n\t var nextRecord = record._next;\n\t this._addToRemovals(this._unlink(record));\n\t record = nextRecord;\n\t }\n\t if (this._unlinkedRecords !== null) {\n\t this._unlinkedRecords.clear();\n\t }\n\t if (this._additionsTail !== null) {\n\t this._additionsTail._nextAdded = null;\n\t }\n\t if (this._movesTail !== null) {\n\t this._movesTail._nextMoved = null;\n\t }\n\t if (this._itTail !== null) {\n\t this._itTail._next = null;\n\t }\n\t if (this._removalsTail !== null) {\n\t this._removalsTail._nextRemoved = null;\n\t }\n\t if (this._identityChangesTail !== null) {\n\t this._identityChangesTail._nextIdentityChange = null;\n\t }\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._reinsertAfter = function (record, prevRecord, index) {\n\t if (this._unlinkedRecords !== null) {\n\t this._unlinkedRecords.remove(record);\n\t }\n\t var prev = record._prevRemoved;\n\t var next = record._nextRemoved;\n\t if (prev === null) {\n\t this._removalsHead = next;\n\t }\n\t else {\n\t prev._nextRemoved = next;\n\t }\n\t if (next === null) {\n\t this._removalsTail = prev;\n\t }\n\t else {\n\t next._prevRemoved = prev;\n\t }\n\t this._insertAfter(record, prevRecord, index);\n\t this._addToMoves(record, index);\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._moveAfter = function (record, prevRecord, index) {\n\t this._unlink(record);\n\t this._insertAfter(record, prevRecord, index);\n\t this._addToMoves(record, index);\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._addAfter = function (record, prevRecord, index) {\n\t this._insertAfter(record, prevRecord, index);\n\t if (this._additionsTail === null) {\n\t // todo(vicb)\n\t // assert(this._additionsHead === null);\n\t this._additionsTail = this._additionsHead = record;\n\t }\n\t else {\n\t // todo(vicb)\n\t // assert(_additionsTail._nextAdded === null);\n\t // assert(record._nextAdded === null);\n\t this._additionsTail = this._additionsTail._nextAdded = record;\n\t }\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._insertAfter = function (record, prevRecord, index) {\n\t // todo(vicb)\n\t // assert(record != prevRecord);\n\t // assert(record._next === null);\n\t // assert(record._prev === null);\n\t var next = prevRecord === null ? this._itHead : prevRecord._next;\n\t // todo(vicb)\n\t // assert(next != record);\n\t // assert(prevRecord != record);\n\t record._next = next;\n\t record._prev = prevRecord;\n\t if (next === null) {\n\t this._itTail = record;\n\t }\n\t else {\n\t next._prev = record;\n\t }\n\t if (prevRecord === null) {\n\t this._itHead = record;\n\t }\n\t else {\n\t prevRecord._next = record;\n\t }\n\t if (this._linkedRecords === null) {\n\t this._linkedRecords = new _DuplicateMap();\n\t }\n\t this._linkedRecords.put(record);\n\t record.currentIndex = index;\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._remove = function (record) {\n\t return this._addToRemovals(this._unlink(record));\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._unlink = function (record) {\n\t if (this._linkedRecords !== null) {\n\t this._linkedRecords.remove(record);\n\t }\n\t var prev = record._prev;\n\t var next = record._next;\n\t // todo(vicb)\n\t // assert((record._prev = null) === null);\n\t // assert((record._next = null) === null);\n\t if (prev === null) {\n\t this._itHead = next;\n\t }\n\t else {\n\t prev._next = next;\n\t }\n\t if (next === null) {\n\t this._itTail = prev;\n\t }\n\t else {\n\t next._prev = prev;\n\t }\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._addToMoves = function (record, toIndex) {\n\t // todo(vicb)\n\t // assert(record._nextMoved === null);\n\t if (record.previousIndex === toIndex) {\n\t return record;\n\t }\n\t if (this._movesTail === null) {\n\t // todo(vicb)\n\t // assert(_movesHead === null);\n\t this._movesTail = this._movesHead = record;\n\t }\n\t else {\n\t // todo(vicb)\n\t // assert(_movesTail._nextMoved === null);\n\t this._movesTail = this._movesTail._nextMoved = record;\n\t }\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._addToRemovals = function (record) {\n\t if (this._unlinkedRecords === null) {\n\t this._unlinkedRecords = new _DuplicateMap();\n\t }\n\t this._unlinkedRecords.put(record);\n\t record.currentIndex = null;\n\t record._nextRemoved = null;\n\t if (this._removalsTail === null) {\n\t // todo(vicb)\n\t // assert(_removalsHead === null);\n\t this._removalsTail = this._removalsHead = record;\n\t record._prevRemoved = null;\n\t }\n\t else {\n\t // todo(vicb)\n\t // assert(_removalsTail._nextRemoved === null);\n\t // assert(record._nextRemoved === null);\n\t record._prevRemoved = this._removalsTail;\n\t this._removalsTail = this._removalsTail._nextRemoved = record;\n\t }\n\t return record;\n\t };\n\t /** @internal */\n\t DefaultIterableDiffer.prototype._addIdentityChange = function (record, item) {\n\t record.item = item;\n\t if (this._identityChangesTail === null) {\n\t this._identityChangesTail = this._identityChangesHead = record;\n\t }\n\t else {\n\t this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n\t }\n\t return record;\n\t };\n\t DefaultIterableDiffer.prototype.toString = function () {\n\t var list = [];\n\t this.forEachItem(function (record /** TODO #9100 */) { return list.push(record); });\n\t var previous = [];\n\t this.forEachPreviousItem(function (record /** TODO #9100 */) { return previous.push(record); });\n\t var additions = [];\n\t this.forEachAddedItem(function (record /** TODO #9100 */) { return additions.push(record); });\n\t var moves = [];\n\t this.forEachMovedItem(function (record /** TODO #9100 */) { return moves.push(record); });\n\t var removals = [];\n\t this.forEachRemovedItem(function (record /** TODO #9100 */) { return removals.push(record); });\n\t var identityChanges = [];\n\t this.forEachIdentityChange(function (record /** TODO #9100 */) { return identityChanges.push(record); });\n\t return 'collection: ' + list.join(', ') + '\\n' +\n\t 'previous: ' + previous.join(', ') + '\\n' +\n\t 'additions: ' + additions.join(', ') + '\\n' +\n\t 'moves: ' + moves.join(', ') + '\\n' +\n\t 'removals: ' + removals.join(', ') + '\\n' +\n\t 'identityChanges: ' + identityChanges.join(', ') + '\\n';\n\t };\n\t return DefaultIterableDiffer;\n\t }());\n\t /**\n\t * @stable\n\t */\n\t var CollectionChangeRecord = (function () {\n\t function CollectionChangeRecord(item, trackById) {\n\t this.item = item;\n\t this.trackById = trackById;\n\t this.currentIndex = null;\n\t this.previousIndex = null;\n\t /** @internal */\n\t this._nextPrevious = null;\n\t /** @internal */\n\t this._prev = null;\n\t /** @internal */\n\t this._next = null;\n\t /** @internal */\n\t this._prevDup = null;\n\t /** @internal */\n\t this._nextDup = null;\n\t /** @internal */\n\t this._prevRemoved = null;\n\t /** @internal */\n\t this._nextRemoved = null;\n\t /** @internal */\n\t this._nextAdded = null;\n\t /** @internal */\n\t this._nextMoved = null;\n\t /** @internal */\n\t this._nextIdentityChange = null;\n\t }\n\t CollectionChangeRecord.prototype.toString = function () {\n\t return this.previousIndex === this.currentIndex ? stringify(this.item) :\n\t stringify(this.item) + '[' +\n\t stringify(this.previousIndex) + '->' + stringify(this.currentIndex) + ']';\n\t };\n\t return CollectionChangeRecord;\n\t }());\n\t // A linked list of CollectionChangeRecords with the same CollectionChangeRecord.item\n\t var _DuplicateItemRecordList = (function () {\n\t function _DuplicateItemRecordList() {\n\t /** @internal */\n\t this._head = null;\n\t /** @internal */\n\t this._tail = null;\n\t }\n\t /**\n\t * Append the record to the list of duplicates.\n\t *\n\t * Note: by design all records in the list of duplicates hold the same value in record.item.\n\t */\n\t _DuplicateItemRecordList.prototype.add = function (record) {\n\t if (this._head === null) {\n\t this._head = this._tail = record;\n\t record._nextDup = null;\n\t record._prevDup = null;\n\t }\n\t else {\n\t // todo(vicb)\n\t // assert(record.item == _head.item ||\n\t // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n\t this._tail._nextDup = record;\n\t record._prevDup = this._tail;\n\t record._nextDup = null;\n\t this._tail = record;\n\t }\n\t };\n\t // Returns a CollectionChangeRecord having CollectionChangeRecord.trackById == trackById and\n\t // CollectionChangeRecord.currentIndex >= afterIndex\n\t _DuplicateItemRecordList.prototype.get = function (trackById, afterIndex) {\n\t var record;\n\t for (record = this._head; record !== null; record = record._nextDup) {\n\t if ((afterIndex === null || afterIndex < record.currentIndex) &&\n\t looseIdentical(record.trackById, trackById)) {\n\t return record;\n\t }\n\t }\n\t return null;\n\t };\n\t /**\n\t * Remove one {@link CollectionChangeRecord} from the list of duplicates.\n\t *\n\t * Returns whether the list of duplicates is empty.\n\t */\n\t _DuplicateItemRecordList.prototype.remove = function (record) {\n\t // todo(vicb)\n\t // assert(() {\n\t // // verify that the record being removed is in the list.\n\t // for (CollectionChangeRecord cursor = _head; cursor != null; cursor = cursor._nextDup) {\n\t // if (identical(cursor, record)) return true;\n\t // }\n\t // return false;\n\t //});\n\t var prev = record._prevDup;\n\t var next = record._nextDup;\n\t if (prev === null) {\n\t this._head = next;\n\t }\n\t else {\n\t prev._nextDup = next;\n\t }\n\t if (next === null) {\n\t this._tail = prev;\n\t }\n\t else {\n\t next._prevDup = prev;\n\t }\n\t return this._head === null;\n\t };\n\t return _DuplicateItemRecordList;\n\t }());\n\t var _DuplicateMap = (function () {\n\t function _DuplicateMap() {\n\t this.map = new Map();\n\t }\n\t _DuplicateMap.prototype.put = function (record) {\n\t var key = record.trackById;\n\t var duplicates = this.map.get(key);\n\t if (!duplicates) {\n\t duplicates = new _DuplicateItemRecordList();\n\t this.map.set(key, duplicates);\n\t }\n\t duplicates.add(record);\n\t };\n\t /**\n\t * Retrieve the `value` using key. Because the CollectionChangeRecord value may be one which we\n\t * have already iterated over, we use the afterIndex to pretend it is not there.\n\t *\n\t * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n\t * have any more `a`s needs to return the last `a` not the first or second.\n\t */\n\t _DuplicateMap.prototype.get = function (trackById, afterIndex) {\n\t if (afterIndex === void 0) { afterIndex = null; }\n\t var key = trackById;\n\t var recordList = this.map.get(key);\n\t return recordList ? recordList.get(trackById, afterIndex) : null;\n\t };\n\t /**\n\t * Removes a {@link CollectionChangeRecord} from the list of duplicates.\n\t *\n\t * The list of duplicates also is removed from the map if it gets empty.\n\t */\n\t _DuplicateMap.prototype.remove = function (record) {\n\t var key = record.trackById;\n\t var recordList = this.map.get(key);\n\t // Remove the list of duplicates when it gets empty\n\t if (recordList.remove(record)) {\n\t this.map.delete(key);\n\t }\n\t return record;\n\t };\n\t Object.defineProperty(_DuplicateMap.prototype, \"isEmpty\", {\n\t get: function () { return this.map.size === 0; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t _DuplicateMap.prototype.clear = function () { this.map.clear(); };\n\t _DuplicateMap.prototype.toString = function () { return '_DuplicateMap(' + stringify(this.map) + ')'; };\n\t return _DuplicateMap;\n\t }());\n\t function getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n\t var previousIndex = item.previousIndex;\n\t if (previousIndex === null)\n\t return previousIndex;\n\t var moveOffset = 0;\n\t if (moveOffsets && previousIndex < moveOffsets.length) {\n\t moveOffset = moveOffsets[previousIndex];\n\t }\n\t return previousIndex + addRemoveOffset + moveOffset;\n\t }\n\t\n\t var DefaultKeyValueDifferFactory = (function () {\n\t function DefaultKeyValueDifferFactory() {\n\t }\n\t DefaultKeyValueDifferFactory.prototype.supports = function (obj) { return obj instanceof Map || isJsObject(obj); };\n\t DefaultKeyValueDifferFactory.prototype.create = function (cdRef) { return new DefaultKeyValueDiffer(); };\n\t return DefaultKeyValueDifferFactory;\n\t }());\n\t var DefaultKeyValueDiffer = (function () {\n\t function DefaultKeyValueDiffer() {\n\t this._records = new Map();\n\t this._mapHead = null;\n\t this._previousMapHead = null;\n\t this._changesHead = null;\n\t this._changesTail = null;\n\t this._additionsHead = null;\n\t this._additionsTail = null;\n\t this._removalsHead = null;\n\t this._removalsTail = null;\n\t }\n\t Object.defineProperty(DefaultKeyValueDiffer.prototype, \"isDirty\", {\n\t get: function () {\n\t return this._additionsHead !== null || this._changesHead !== null ||\n\t this._removalsHead !== null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t DefaultKeyValueDiffer.prototype.forEachItem = function (fn) {\n\t var record;\n\t for (record = this._mapHead; record !== null; record = record._next) {\n\t fn(record);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.forEachPreviousItem = function (fn) {\n\t var record;\n\t for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n\t fn(record);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.forEachChangedItem = function (fn) {\n\t var record;\n\t for (record = this._changesHead; record !== null; record = record._nextChanged) {\n\t fn(record);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.forEachAddedItem = function (fn) {\n\t var record;\n\t for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n\t fn(record);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.forEachRemovedItem = function (fn) {\n\t var record;\n\t for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n\t fn(record);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.diff = function (map) {\n\t if (!map) {\n\t map = new Map();\n\t }\n\t else if (!(map instanceof Map || isJsObject(map))) {\n\t throw new Error(\"Error trying to diff '\" + map + \"'\");\n\t }\n\t return this.check(map) ? this : null;\n\t };\n\t DefaultKeyValueDiffer.prototype.onDestroy = function () { };\n\t DefaultKeyValueDiffer.prototype.check = function (map) {\n\t var _this = this;\n\t this._reset();\n\t var records = this._records;\n\t var oldSeqRecord = this._mapHead;\n\t var lastOldSeqRecord = null;\n\t var lastNewSeqRecord = null;\n\t var seqChanged = false;\n\t this._forEach(map, function (value, key) {\n\t var newSeqRecord;\n\t if (oldSeqRecord && key === oldSeqRecord.key) {\n\t newSeqRecord = oldSeqRecord;\n\t _this._maybeAddToChanges(newSeqRecord, value);\n\t }\n\t else {\n\t seqChanged = true;\n\t if (oldSeqRecord !== null) {\n\t _this._removeFromSeq(lastOldSeqRecord, oldSeqRecord);\n\t _this._addToRemovals(oldSeqRecord);\n\t }\n\t if (records.has(key)) {\n\t newSeqRecord = records.get(key);\n\t _this._maybeAddToChanges(newSeqRecord, value);\n\t }\n\t else {\n\t newSeqRecord = new KeyValueChangeRecord(key);\n\t records.set(key, newSeqRecord);\n\t newSeqRecord.currentValue = value;\n\t _this._addToAdditions(newSeqRecord);\n\t }\n\t }\n\t if (seqChanged) {\n\t if (_this._isInRemovals(newSeqRecord)) {\n\t _this._removeFromRemovals(newSeqRecord);\n\t }\n\t if (lastNewSeqRecord == null) {\n\t _this._mapHead = newSeqRecord;\n\t }\n\t else {\n\t lastNewSeqRecord._next = newSeqRecord;\n\t }\n\t }\n\t lastOldSeqRecord = oldSeqRecord;\n\t lastNewSeqRecord = newSeqRecord;\n\t oldSeqRecord = oldSeqRecord && oldSeqRecord._next;\n\t });\n\t this._truncate(lastOldSeqRecord, oldSeqRecord);\n\t return this.isDirty;\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._reset = function () {\n\t if (this.isDirty) {\n\t var record = void 0;\n\t // Record the state of the mapping\n\t for (record = this._previousMapHead = this._mapHead; record !== null; record = record._next) {\n\t record._nextPrevious = record._next;\n\t }\n\t for (record = this._changesHead; record !== null; record = record._nextChanged) {\n\t record.previousValue = record.currentValue;\n\t }\n\t for (record = this._additionsHead; record != null; record = record._nextAdded) {\n\t record.previousValue = record.currentValue;\n\t }\n\t this._changesHead = this._changesTail = null;\n\t this._additionsHead = this._additionsTail = null;\n\t this._removalsHead = this._removalsTail = null;\n\t }\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._truncate = function (lastRecord, record) {\n\t while (record !== null) {\n\t if (lastRecord === null) {\n\t this._mapHead = null;\n\t }\n\t else {\n\t lastRecord._next = null;\n\t }\n\t var nextRecord = record._next;\n\t this._addToRemovals(record);\n\t lastRecord = record;\n\t record = nextRecord;\n\t }\n\t for (var rec = this._removalsHead; rec !== null; rec = rec._nextRemoved) {\n\t rec.previousValue = rec.currentValue;\n\t rec.currentValue = null;\n\t this._records.delete(rec.key);\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype._maybeAddToChanges = function (record, newValue) {\n\t if (!looseIdentical(newValue, record.currentValue)) {\n\t record.previousValue = record.currentValue;\n\t record.currentValue = newValue;\n\t this._addToChanges(record);\n\t }\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._isInRemovals = function (record) {\n\t return record === this._removalsHead || record._nextRemoved !== null ||\n\t record._prevRemoved !== null;\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._addToRemovals = function (record) {\n\t if (this._removalsHead === null) {\n\t this._removalsHead = this._removalsTail = record;\n\t }\n\t else {\n\t this._removalsTail._nextRemoved = record;\n\t record._prevRemoved = this._removalsTail;\n\t this._removalsTail = record;\n\t }\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._removeFromSeq = function (prev, record) {\n\t var next = record._next;\n\t if (prev === null) {\n\t this._mapHead = next;\n\t }\n\t else {\n\t prev._next = next;\n\t }\n\t record._next = null;\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._removeFromRemovals = function (record) {\n\t var prev = record._prevRemoved;\n\t var next = record._nextRemoved;\n\t if (prev === null) {\n\t this._removalsHead = next;\n\t }\n\t else {\n\t prev._nextRemoved = next;\n\t }\n\t if (next === null) {\n\t this._removalsTail = prev;\n\t }\n\t else {\n\t next._prevRemoved = prev;\n\t }\n\t record._prevRemoved = record._nextRemoved = null;\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._addToAdditions = function (record) {\n\t if (this._additionsHead === null) {\n\t this._additionsHead = this._additionsTail = record;\n\t }\n\t else {\n\t this._additionsTail._nextAdded = record;\n\t this._additionsTail = record;\n\t }\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._addToChanges = function (record) {\n\t if (this._changesHead === null) {\n\t this._changesHead = this._changesTail = record;\n\t }\n\t else {\n\t this._changesTail._nextChanged = record;\n\t this._changesTail = record;\n\t }\n\t };\n\t DefaultKeyValueDiffer.prototype.toString = function () {\n\t var items = [];\n\t var previous = [];\n\t var changes = [];\n\t var additions = [];\n\t var removals = [];\n\t var record;\n\t for (record = this._mapHead; record !== null; record = record._next) {\n\t items.push(stringify(record));\n\t }\n\t for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n\t previous.push(stringify(record));\n\t }\n\t for (record = this._changesHead; record !== null; record = record._nextChanged) {\n\t changes.push(stringify(record));\n\t }\n\t for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n\t additions.push(stringify(record));\n\t }\n\t for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n\t removals.push(stringify(record));\n\t }\n\t return 'map: ' + items.join(', ') + '\\n' +\n\t 'previous: ' + previous.join(', ') + '\\n' +\n\t 'additions: ' + additions.join(', ') + '\\n' +\n\t 'changes: ' + changes.join(', ') + '\\n' +\n\t 'removals: ' + removals.join(', ') + '\\n';\n\t };\n\t /** @internal */\n\t DefaultKeyValueDiffer.prototype._forEach = function (obj, fn) {\n\t if (obj instanceof Map) {\n\t obj.forEach(fn);\n\t }\n\t else {\n\t Object.keys(obj).forEach(function (k) { return fn(obj[k], k); });\n\t }\n\t };\n\t return DefaultKeyValueDiffer;\n\t }());\n\t /**\n\t * @stable\n\t */\n\t var KeyValueChangeRecord = (function () {\n\t function KeyValueChangeRecord(key) {\n\t this.key = key;\n\t this.previousValue = null;\n\t this.currentValue = null;\n\t /** @internal */\n\t this._nextPrevious = null;\n\t /** @internal */\n\t this._next = null;\n\t /** @internal */\n\t this._nextAdded = null;\n\t /** @internal */\n\t this._nextRemoved = null;\n\t /** @internal */\n\t this._prevRemoved = null;\n\t /** @internal */\n\t this._nextChanged = null;\n\t }\n\t KeyValueChangeRecord.prototype.toString = function () {\n\t return looseIdentical(this.previousValue, this.currentValue) ?\n\t stringify(this.key) :\n\t (stringify(this.key) + '[' + stringify(this.previousValue) + '->' +\n\t stringify(this.currentValue) + ']');\n\t };\n\t return KeyValueChangeRecord;\n\t }());\n\t\n\t /**\n\t * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n\t * @stable\n\t */\n\t var IterableDiffers = (function () {\n\t function IterableDiffers(factories) {\n\t this.factories = factories;\n\t }\n\t IterableDiffers.create = function (factories, parent) {\n\t if (isPresent(parent)) {\n\t var copied = parent.factories.slice();\n\t factories = factories.concat(copied);\n\t return new IterableDiffers(factories);\n\t }\n\t else {\n\t return new IterableDiffers(factories);\n\t }\n\t };\n\t /**\n\t * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the\n\t * inherited {@link IterableDiffers} instance with the provided factories and return a new\n\t * {@link IterableDiffers} instance.\n\t *\n\t * The following example shows how to extend an existing list of factories,\n\t * which will only be applied to the injector for this component and its children.\n\t * This step is all that's required to make a new {@link IterableDiffer} available.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * @Component({\n\t * viewProviders: [\n\t * IterableDiffers.extend([new ImmutableListDiffer()])\n\t * ]\n\t * })\n\t * ```\n\t */\n\t IterableDiffers.extend = function (factories) {\n\t return {\n\t provide: IterableDiffers,\n\t useFactory: function (parent) {\n\t if (!parent) {\n\t // Typically would occur when calling IterableDiffers.extend inside of dependencies passed\n\t // to\n\t // bootstrap(), which would override default pipes instead of extending them.\n\t throw new Error('Cannot extend IterableDiffers without a parent injector');\n\t }\n\t return IterableDiffers.create(factories, parent);\n\t },\n\t // Dependency technically isn't optional, but we can provide a better error message this way.\n\t deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n\t };\n\t };\n\t IterableDiffers.prototype.find = function (iterable) {\n\t var factory = this.factories.find(function (f) { return f.supports(iterable); });\n\t if (isPresent(factory)) {\n\t return factory;\n\t }\n\t else {\n\t throw new Error(\"Cannot find a differ supporting object '\" + iterable + \"' of type '\" + getTypeNameForDebugging(iterable) + \"'\");\n\t }\n\t };\n\t return IterableDiffers;\n\t }());\n\t\n\t /**\n\t * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n\t * @stable\n\t */\n\t var KeyValueDiffers = (function () {\n\t function KeyValueDiffers(factories) {\n\t this.factories = factories;\n\t }\n\t KeyValueDiffers.create = function (factories, parent) {\n\t if (isPresent(parent)) {\n\t var copied = parent.factories.slice();\n\t factories = factories.concat(copied);\n\t return new KeyValueDiffers(factories);\n\t }\n\t else {\n\t return new KeyValueDiffers(factories);\n\t }\n\t };\n\t /**\n\t * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the\n\t * inherited {@link KeyValueDiffers} instance with the provided factories and return a new\n\t * {@link KeyValueDiffers} instance.\n\t *\n\t * The following example shows how to extend an existing list of factories,\n\t * which will only be applied to the injector for this component and its children.\n\t * This step is all that's required to make a new {@link KeyValueDiffer} available.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * @Component({\n\t * viewProviders: [\n\t * KeyValueDiffers.extend([new ImmutableMapDiffer()])\n\t * ]\n\t * })\n\t * ```\n\t */\n\t KeyValueDiffers.extend = function (factories) {\n\t return {\n\t provide: KeyValueDiffers,\n\t useFactory: function (parent) {\n\t if (!parent) {\n\t // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed\n\t // to\n\t // bootstrap(), which would override default pipes instead of extending them.\n\t throw new Error('Cannot extend KeyValueDiffers without a parent injector');\n\t }\n\t return KeyValueDiffers.create(factories, parent);\n\t },\n\t // Dependency technically isn't optional, but we can provide a better error message this way.\n\t deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n\t };\n\t };\n\t KeyValueDiffers.prototype.find = function (kv) {\n\t var factory = this.factories.find(function (f) { return f.supports(kv); });\n\t if (isPresent(factory)) {\n\t return factory;\n\t }\n\t else {\n\t throw new Error(\"Cannot find a differ supporting object '\" + kv + \"'\");\n\t }\n\t };\n\t return KeyValueDiffers;\n\t }());\n\t\n\t var UNINITIALIZED = {\n\t toString: function () { return 'CD_INIT_VALUE'; }\n\t };\n\t function devModeEqual(a, b) {\n\t if (isListLikeIterable(a) && isListLikeIterable(b)) {\n\t return areIterablesEqual(a, b, devModeEqual);\n\t }\n\t else if (!isListLikeIterable(a) && !isPrimitive(a) && !isListLikeIterable(b) && !isPrimitive(b)) {\n\t return true;\n\t }\n\t else {\n\t return looseIdentical(a, b);\n\t }\n\t }\n\t /**\n\t * Indicates that the result of a {@link Pipe} transformation has changed even though the\n\t * reference\n\t * has not changed.\n\t *\n\t * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.\n\t *\n\t * Example:\n\t *\n\t * ```\n\t * if (this._latestValue === this._latestReturnedValue) {\n\t * return this._latestReturnedValue;\n\t * } else {\n\t * this._latestReturnedValue = this._latestValue;\n\t * return WrappedValue.wrap(this._latestValue); // this will force update\n\t * }\n\t * ```\n\t * @stable\n\t */\n\t var WrappedValue = (function () {\n\t function WrappedValue(wrapped) {\n\t this.wrapped = wrapped;\n\t }\n\t WrappedValue.wrap = function (value) { return new WrappedValue(value); };\n\t return WrappedValue;\n\t }());\n\t /**\n\t * Helper class for unwrapping WrappedValue s\n\t */\n\t var ValueUnwrapper = (function () {\n\t function ValueUnwrapper() {\n\t this.hasWrappedValue = false;\n\t }\n\t ValueUnwrapper.prototype.unwrap = function (value) {\n\t if (value instanceof WrappedValue) {\n\t this.hasWrappedValue = true;\n\t return value.wrapped;\n\t }\n\t return value;\n\t };\n\t ValueUnwrapper.prototype.reset = function () { this.hasWrappedValue = false; };\n\t return ValueUnwrapper;\n\t }());\n\t /**\n\t * Represents a basic change from a previous to a new value.\n\t * @stable\n\t */\n\t var SimpleChange = (function () {\n\t function SimpleChange(previousValue, currentValue) {\n\t this.previousValue = previousValue;\n\t this.currentValue = currentValue;\n\t }\n\t /**\n\t * Check whether the new value is the first value assigned.\n\t */\n\t SimpleChange.prototype.isFirstChange = function () { return this.previousValue === UNINITIALIZED; };\n\t return SimpleChange;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @stable\n\t */\n\t var ChangeDetectorRef = (function () {\n\t function ChangeDetectorRef() {\n\t }\n\t return ChangeDetectorRef;\n\t }());\n\t\n\t /**\n\t * Structural diffing for `Object`s and `Map`s.\n\t */\n\t var keyValDiff = [new DefaultKeyValueDifferFactory()];\n\t /**\n\t * Structural diffing for `Iterable` types such as `Array`s.\n\t */\n\t var iterableDiff = [new DefaultIterableDifferFactory()];\n\t var defaultIterableDiffers = new IterableDiffers(iterableDiff);\n\t var defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n\t\n\t /**\n\t * @experimental\n\t */\n\t // TODO (matsko): add typing for the animation function\n\t var RenderComponentType = (function () {\n\t function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles, animations) {\n\t this.id = id;\n\t this.templateUrl = templateUrl;\n\t this.slotCount = slotCount;\n\t this.encapsulation = encapsulation;\n\t this.styles = styles;\n\t this.animations = animations;\n\t }\n\t return RenderComponentType;\n\t }());\n\t var RenderDebugInfo = (function () {\n\t function RenderDebugInfo() {\n\t }\n\t Object.defineProperty(RenderDebugInfo.prototype, \"injector\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderDebugInfo.prototype, \"component\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderDebugInfo.prototype, \"providerTokens\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderDebugInfo.prototype, \"references\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderDebugInfo.prototype, \"context\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RenderDebugInfo.prototype, \"source\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return RenderDebugInfo;\n\t }());\n\t /**\n\t * @experimental\n\t */\n\t var Renderer = (function () {\n\t function Renderer() {\n\t }\n\t return Renderer;\n\t }());\n\t /**\n\t * Injectable service that provides a low-level interface for modifying the UI.\n\t *\n\t * Use this service to bypass Angular's templating and make custom UI changes that can't be\n\t * expressed declaratively. For example if you need to set a property or an attribute whose name is\n\t * not statically known, use {@link #setElementProperty} or {@link #setElementAttribute}\n\t * respectively.\n\t *\n\t * If you are implementing a custom renderer, you must implement this interface.\n\t *\n\t * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.\n\t * @experimental\n\t */\n\t var RootRenderer = (function () {\n\t function RootRenderer() {\n\t }\n\t return RootRenderer;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\n\t * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly\n\t * handled.\n\t *\n\t * See DomSanitizer for more details on security in Angular applications.\n\t *\n\t * @stable\n\t */\n\t exports.SecurityContext;\n\t (function (SecurityContext) {\n\t SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n\t SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n\t SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n\t SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n\t SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n\t SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n\t })(exports.SecurityContext || (exports.SecurityContext = {}));\n\t /**\n\t * Sanitizer is used by the views to sanitize potentially dangerous values.\n\t *\n\t * @stable\n\t */\n\t var Sanitizer = (function () {\n\t function Sanitizer() {\n\t }\n\t return Sanitizer;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$6 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * An error thrown if application changes model breaking the top-down data flow.\n\t *\n\t * This exception is only thrown in dev mode.\n\t *\n\t * <!-- TODO: Add a link once the dev mode option is configurable -->\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * @Component({\n\t * selector: 'parent',\n\t * template: '<child [prop]=\"parentProp\"></child>',\n\t * })\n\t * class Parent {\n\t * parentProp = 'init';\n\t * }\n\t *\n\t * @Directive({selector: 'child', inputs: ['prop']})\n\t * class Child {\n\t * constructor(public parent: Parent) {}\n\t *\n\t * set prop(v) {\n\t * // this updates the parent property, which is disallowed during change detection\n\t * // this will result in ExpressionChangedAfterItHasBeenCheckedError\n\t * this.parent.parentProp = 'updated';\n\t * }\n\t * }\n\t * ```\n\t * @stable\n\t */\n\t var ExpressionChangedAfterItHasBeenCheckedError = (function (_super) {\n\t __extends$6(ExpressionChangedAfterItHasBeenCheckedError, _super);\n\t function ExpressionChangedAfterItHasBeenCheckedError(oldValue, currValue) {\n\t var msg = \"Expression has changed after it was checked. Previous value: '\" + oldValue + \"'. Current value: '\" + currValue + \"'.\";\n\t if (oldValue === UNINITIALIZED) {\n\t msg +=\n\t \" It seems like the view has been created after its parent and its children have been dirty checked.\" +\n\t \" Has it been created in a change detection hook ?\";\n\t }\n\t _super.call(this, msg);\n\t }\n\t return ExpressionChangedAfterItHasBeenCheckedError;\n\t }(BaseError));\n\t /**\n\t * Thrown when an exception was raised during view creation, change detection or destruction.\n\t *\n\t * This error wraps the original exception to attach additional contextual information that can\n\t * be useful for debugging.\n\t * @stable\n\t */\n\t var ViewWrappedError = (function (_super) {\n\t __extends$6(ViewWrappedError, _super);\n\t function ViewWrappedError(originalError, context) {\n\t _super.call(this, \"Error in \" + context.source, originalError);\n\t this.context = context;\n\t }\n\t return ViewWrappedError;\n\t }(WrappedError));\n\t /**\n\t * Thrown when a destroyed view is used.\n\t *\n\t * This error indicates a bug in the framework.\n\t *\n\t * This is an internal Angular error.\n\t * @stable\n\t */\n\t var ViewDestroyedError = (function (_super) {\n\t __extends$6(ViewDestroyedError, _super);\n\t function ViewDestroyedError(details) {\n\t _super.call(this, \"Attempt to use a destroyed view: \" + details);\n\t }\n\t return ViewDestroyedError;\n\t }(BaseError));\n\t\n\t var ViewUtils = (function () {\n\t function ViewUtils(_renderer, sanitizer) {\n\t this._renderer = _renderer;\n\t this._nextCompTypeId = 0;\n\t this.sanitizer = sanitizer;\n\t }\n\t /** @internal */\n\t ViewUtils.prototype.renderComponent = function (renderComponentType) {\n\t return this._renderer.renderComponent(renderComponentType);\n\t };\n\t ViewUtils.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t ViewUtils.ctorParameters = [\n\t { type: RootRenderer, },\n\t { type: Sanitizer, },\n\t ];\n\t return ViewUtils;\n\t }());\n\t var nextRenderComponentTypeId = 0;\n\t function createRenderComponentType(templateUrl, slotCount, encapsulation, styles, animations) {\n\t return new RenderComponentType(\"\" + nextRenderComponentTypeId++, templateUrl, slotCount, encapsulation, styles, animations);\n\t }\n\t function addToArray(e, array) {\n\t array.push(e);\n\t }\n\t function interpolate(valueCount, constAndInterp) {\n\t var result = '';\n\t for (var i = 0; i < valueCount * 2; i = i + 2) {\n\t result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]);\n\t }\n\t return result + constAndInterp[valueCount * 2];\n\t }\n\t function inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\n\t switch (valueCount) {\n\t case 1:\n\t return c0 + _toStringWithNull(a1) + c1;\n\t case 2:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\n\t case 3:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3;\n\t case 4:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4;\n\t case 5:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\n\t case 6:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6;\n\t case 7:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n\t c6 + _toStringWithNull(a7) + c7;\n\t case 8:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n\t c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\n\t case 9:\n\t return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n\t c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n\t c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9;\n\t default:\n\t throw new Error(\"Does not support more than 9 expressions\");\n\t }\n\t }\n\t function _toStringWithNull(v) {\n\t return v != null ? v.toString() : '';\n\t }\n\t function checkBinding(throwOnChange, oldValue, newValue) {\n\t if (throwOnChange) {\n\t if (!devModeEqual(oldValue, newValue)) {\n\t throw new ExpressionChangedAfterItHasBeenCheckedError(oldValue, newValue);\n\t }\n\t return false;\n\t }\n\t else {\n\t return !looseIdentical(oldValue, newValue);\n\t }\n\t }\n\t function castByValue(input, value) {\n\t return input;\n\t }\n\t var EMPTY_ARRAY = [];\n\t var EMPTY_MAP = {};\n\t function pureProxy1(fn) {\n\t var result;\n\t var v0 = UNINITIALIZED;\n\t return function (p0) {\n\t if (!looseIdentical(v0, p0)) {\n\t v0 = p0;\n\t result = fn(p0);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy2(fn) {\n\t var result;\n\t var v0 = UNINITIALIZED;\n\t var v1 = UNINITIALIZED;\n\t return function (p0, p1) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1)) {\n\t v0 = p0;\n\t v1 = p1;\n\t result = fn(p0, p1);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy3(fn) {\n\t var result;\n\t var v0 = UNINITIALIZED;\n\t var v1 = UNINITIALIZED;\n\t var v2 = UNINITIALIZED;\n\t return function (p0, p1, p2) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t result = fn(p0, p1, p2);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy4(fn) {\n\t var result;\n\t var v0, v1, v2, v3;\n\t v0 = v1 = v2 = v3 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t result = fn(p0, p1, p2, p3);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy5(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4;\n\t v0 = v1 = v2 = v3 = v4 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t result = fn(p0, p1, p2, p3, p4);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy6(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4, v5;\n\t v0 = v1 = v2 = v3 = v4 = v5 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4, p5) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t v5 = p5;\n\t result = fn(p0, p1, p2, p3, p4, p5);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy7(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4, v5, v6;\n\t v0 = v1 = v2 = v3 = v4 = v5 = v6 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4, p5, p6) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n\t !looseIdentical(v6, p6)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t v5 = p5;\n\t v6 = p6;\n\t result = fn(p0, p1, p2, p3, p4, p5, p6);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy8(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4, v5, v6, v7;\n\t v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4, p5, p6, p7) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n\t !looseIdentical(v6, p6) || !looseIdentical(v7, p7)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t v5 = p5;\n\t v6 = p6;\n\t v7 = p7;\n\t result = fn(p0, p1, p2, p3, p4, p5, p6, p7);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy9(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4, v5, v6, v7, v8;\n\t v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4, p5, p6, p7, p8) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n\t !looseIdentical(v6, p6) || !looseIdentical(v7, p7) || !looseIdentical(v8, p8)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t v5 = p5;\n\t v6 = p6;\n\t v7 = p7;\n\t v8 = p8;\n\t result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8);\n\t }\n\t return result;\n\t };\n\t }\n\t function pureProxy10(fn) {\n\t var result;\n\t var v0, v1, v2, v3, v4, v5, v6, v7, v8, v9;\n\t v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = v9 = UNINITIALIZED;\n\t return function (p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) {\n\t if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n\t !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n\t !looseIdentical(v6, p6) || !looseIdentical(v7, p7) || !looseIdentical(v8, p8) ||\n\t !looseIdentical(v9, p9)) {\n\t v0 = p0;\n\t v1 = p1;\n\t v2 = p2;\n\t v3 = p3;\n\t v4 = p4;\n\t v5 = p5;\n\t v6 = p6;\n\t v7 = p7;\n\t v8 = p8;\n\t v9 = p9;\n\t result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);\n\t }\n\t return result;\n\t };\n\t }\n\t function setBindingDebugInfoForChanges(renderer, el, changes) {\n\t Object.keys(changes).forEach(function (propName) {\n\t setBindingDebugInfo(renderer, el, propName, changes[propName].currentValue);\n\t });\n\t }\n\t function setBindingDebugInfo(renderer, el, propName, value) {\n\t try {\n\t renderer.setBindingDebugInfo(el, \"ng-reflect-\" + camelCaseToDashCase(propName), value ? value.toString() : null);\n\t }\n\t catch (e) {\n\t renderer.setBindingDebugInfo(el, \"ng-reflect-\" + camelCaseToDashCase(propName), '[ERROR] Exception while trying to serialize the value');\n\t }\n\t }\n\t var CAMEL_CASE_REGEXP = /([A-Z])/g;\n\t function camelCaseToDashCase(input) {\n\t return input.replace(CAMEL_CASE_REGEXP, function () {\n\t var m = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t m[_i - 0] = arguments[_i];\n\t }\n\t return '-' + m[1].toLowerCase();\n\t });\n\t }\n\t function createRenderElement(renderer, parentElement, name, attrs, debugInfo) {\n\t var el = renderer.createElement(parentElement, name, debugInfo);\n\t for (var i = 0; i < attrs.length; i += 2) {\n\t renderer.setElementAttribute(el, attrs.get(i), attrs.get(i + 1));\n\t }\n\t return el;\n\t }\n\t function selectOrCreateRenderHostElement(renderer, elementName, attrs, rootSelectorOrNode, debugInfo) {\n\t var hostElement;\n\t if (isPresent(rootSelectorOrNode)) {\n\t hostElement = renderer.selectRootElement(rootSelectorOrNode, debugInfo);\n\t for (var i = 0; i < attrs.length; i += 2) {\n\t renderer.setElementAttribute(hostElement, attrs.get(i), attrs.get(i + 1));\n\t }\n\t }\n\t else {\n\t hostElement = createRenderElement(renderer, null, elementName, attrs, debugInfo);\n\t }\n\t return hostElement;\n\t }\n\t function subscribeToRenderElement(view, element, eventNamesAndTargets, listener) {\n\t var disposables = createEmptyInlineArray(eventNamesAndTargets.length / 2);\n\t for (var i = 0; i < eventNamesAndTargets.length; i += 2) {\n\t var eventName = eventNamesAndTargets.get(i);\n\t var eventTarget = eventNamesAndTargets.get(i + 1);\n\t var disposable = void 0;\n\t if (eventTarget) {\n\t disposable = view.renderer.listenGlobal(eventTarget, eventName, listener.bind(view, eventTarget + \":\" + eventName));\n\t }\n\t else {\n\t disposable = view.renderer.listen(element, eventName, listener.bind(view, eventName));\n\t }\n\t disposables.set(i / 2, disposable);\n\t }\n\t return disposeInlineArray.bind(null, disposables);\n\t }\n\t function disposeInlineArray(disposables) {\n\t for (var i = 0; i < disposables.length; i++) {\n\t disposables.get(i)();\n\t }\n\t }\n\t function noop() { }\n\t function createEmptyInlineArray(length) {\n\t var ctor;\n\t if (length <= 2) {\n\t ctor = InlineArray2;\n\t }\n\t else if (length <= 4) {\n\t ctor = InlineArray4;\n\t }\n\t else if (length <= 8) {\n\t ctor = InlineArray8;\n\t }\n\t else if (length <= 16) {\n\t ctor = InlineArray16;\n\t }\n\t else {\n\t ctor = InlineArrayDynamic;\n\t }\n\t return new ctor(length);\n\t }\n\t var InlineArray0 = (function () {\n\t function InlineArray0() {\n\t this.length = 0;\n\t }\n\t InlineArray0.prototype.get = function (index) { return undefined; };\n\t InlineArray0.prototype.set = function (index, value) { };\n\t return InlineArray0;\n\t }());\n\t var InlineArray2 = (function () {\n\t function InlineArray2(length, _v0, _v1) {\n\t this.length = length;\n\t this._v0 = _v0;\n\t this._v1 = _v1;\n\t }\n\t InlineArray2.prototype.get = function (index) {\n\t switch (index) {\n\t case 0:\n\t return this._v0;\n\t case 1:\n\t return this._v1;\n\t default:\n\t return undefined;\n\t }\n\t };\n\t InlineArray2.prototype.set = function (index, value) {\n\t switch (index) {\n\t case 0:\n\t this._v0 = value;\n\t break;\n\t case 1:\n\t this._v1 = value;\n\t break;\n\t }\n\t };\n\t return InlineArray2;\n\t }());\n\t var InlineArray4 = (function () {\n\t function InlineArray4(length, _v0, _v1, _v2, _v3) {\n\t this.length = length;\n\t this._v0 = _v0;\n\t this._v1 = _v1;\n\t this._v2 = _v2;\n\t this._v3 = _v3;\n\t }\n\t InlineArray4.prototype.get = function (index) {\n\t switch (index) {\n\t case 0:\n\t return this._v0;\n\t case 1:\n\t return this._v1;\n\t case 2:\n\t return this._v2;\n\t case 3:\n\t return this._v3;\n\t default:\n\t return undefined;\n\t }\n\t };\n\t InlineArray4.prototype.set = function (index, value) {\n\t switch (index) {\n\t case 0:\n\t this._v0 = value;\n\t break;\n\t case 1:\n\t this._v1 = value;\n\t break;\n\t case 2:\n\t this._v2 = value;\n\t break;\n\t case 3:\n\t this._v3 = value;\n\t break;\n\t }\n\t };\n\t return InlineArray4;\n\t }());\n\t var InlineArray8 = (function () {\n\t function InlineArray8(length, _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7) {\n\t this.length = length;\n\t this._v0 = _v0;\n\t this._v1 = _v1;\n\t this._v2 = _v2;\n\t this._v3 = _v3;\n\t this._v4 = _v4;\n\t this._v5 = _v5;\n\t this._v6 = _v6;\n\t this._v7 = _v7;\n\t }\n\t InlineArray8.prototype.get = function (index) {\n\t switch (index) {\n\t case 0:\n\t return this._v0;\n\t case 1:\n\t return this._v1;\n\t case 2:\n\t return this._v2;\n\t case 3:\n\t return this._v3;\n\t case 4:\n\t return this._v4;\n\t case 5:\n\t return this._v5;\n\t case 6:\n\t return this._v6;\n\t case 7:\n\t return this._v7;\n\t default:\n\t return undefined;\n\t }\n\t };\n\t InlineArray8.prototype.set = function (index, value) {\n\t switch (index) {\n\t case 0:\n\t this._v0 = value;\n\t break;\n\t case 1:\n\t this._v1 = value;\n\t break;\n\t case 2:\n\t this._v2 = value;\n\t break;\n\t case 3:\n\t this._v3 = value;\n\t break;\n\t case 4:\n\t this._v4 = value;\n\t break;\n\t case 5:\n\t this._v5 = value;\n\t break;\n\t case 6:\n\t this._v6 = value;\n\t break;\n\t case 7:\n\t this._v7 = value;\n\t break;\n\t }\n\t };\n\t return InlineArray8;\n\t }());\n\t var InlineArray16 = (function () {\n\t function InlineArray16(length, _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10, _v11, _v12, _v13, _v14, _v15) {\n\t this.length = length;\n\t this._v0 = _v0;\n\t this._v1 = _v1;\n\t this._v2 = _v2;\n\t this._v3 = _v3;\n\t this._v4 = _v4;\n\t this._v5 = _v5;\n\t this._v6 = _v6;\n\t this._v7 = _v7;\n\t this._v8 = _v8;\n\t this._v9 = _v9;\n\t this._v10 = _v10;\n\t this._v11 = _v11;\n\t this._v12 = _v12;\n\t this._v13 = _v13;\n\t this._v14 = _v14;\n\t this._v15 = _v15;\n\t }\n\t InlineArray16.prototype.get = function (index) {\n\t switch (index) {\n\t case 0:\n\t return this._v0;\n\t case 1:\n\t return this._v1;\n\t case 2:\n\t return this._v2;\n\t case 3:\n\t return this._v3;\n\t case 4:\n\t return this._v4;\n\t case 5:\n\t return this._v5;\n\t case 6:\n\t return this._v6;\n\t case 7:\n\t return this._v7;\n\t case 8:\n\t return this._v8;\n\t case 9:\n\t return this._v9;\n\t case 10:\n\t return this._v10;\n\t case 11:\n\t return this._v11;\n\t case 12:\n\t return this._v12;\n\t case 13:\n\t return this._v13;\n\t case 14:\n\t return this._v14;\n\t case 15:\n\t return this._v15;\n\t default:\n\t return undefined;\n\t }\n\t };\n\t InlineArray16.prototype.set = function (index, value) {\n\t switch (index) {\n\t case 0:\n\t this._v0 = value;\n\t break;\n\t case 1:\n\t this._v1 = value;\n\t break;\n\t case 2:\n\t this._v2 = value;\n\t break;\n\t case 3:\n\t this._v3 = value;\n\t break;\n\t case 4:\n\t this._v4 = value;\n\t break;\n\t case 5:\n\t this._v5 = value;\n\t break;\n\t case 6:\n\t this._v6 = value;\n\t break;\n\t case 7:\n\t this._v7 = value;\n\t break;\n\t case 8:\n\t this._v8 = value;\n\t break;\n\t case 9:\n\t this._v9 = value;\n\t break;\n\t case 10:\n\t this._v10 = value;\n\t break;\n\t case 11:\n\t this._v11 = value;\n\t break;\n\t case 12:\n\t this._v12 = value;\n\t break;\n\t case 13:\n\t this._v13 = value;\n\t break;\n\t case 14:\n\t this._v14 = value;\n\t break;\n\t case 15:\n\t this._v15 = value;\n\t break;\n\t }\n\t };\n\t return InlineArray16;\n\t }());\n\t var InlineArrayDynamic = (function () {\n\t // Note: We still take the length argument so this class can be created\n\t // in the same ways as the other classes!\n\t function InlineArrayDynamic(length) {\n\t var values = [];\n\t for (var _i = 1; _i < arguments.length; _i++) {\n\t values[_i - 1] = arguments[_i];\n\t }\n\t this.length = length;\n\t this._values = values;\n\t }\n\t InlineArrayDynamic.prototype.get = function (index) { return this._values[index]; };\n\t InlineArrayDynamic.prototype.set = function (index, value) { this._values[index] = value; };\n\t return InlineArrayDynamic;\n\t }());\n\t var EMPTY_INLINE_ARRAY = new InlineArray0();\n\t\n\t\n\t var view_utils = Object.freeze({\n\t ViewUtils: ViewUtils,\n\t createRenderComponentType: createRenderComponentType,\n\t addToArray: addToArray,\n\t interpolate: interpolate,\n\t inlineInterpolate: inlineInterpolate,\n\t checkBinding: checkBinding,\n\t castByValue: castByValue,\n\t EMPTY_ARRAY: EMPTY_ARRAY,\n\t EMPTY_MAP: EMPTY_MAP,\n\t pureProxy1: pureProxy1,\n\t pureProxy2: pureProxy2,\n\t pureProxy3: pureProxy3,\n\t pureProxy4: pureProxy4,\n\t pureProxy5: pureProxy5,\n\t pureProxy6: pureProxy6,\n\t pureProxy7: pureProxy7,\n\t pureProxy8: pureProxy8,\n\t pureProxy9: pureProxy9,\n\t pureProxy10: pureProxy10,\n\t setBindingDebugInfoForChanges: setBindingDebugInfoForChanges,\n\t setBindingDebugInfo: setBindingDebugInfo,\n\t createRenderElement: createRenderElement,\n\t selectOrCreateRenderHostElement: selectOrCreateRenderHostElement,\n\t subscribeToRenderElement: subscribeToRenderElement,\n\t noop: noop,\n\t InlineArray2: InlineArray2,\n\t InlineArray4: InlineArray4,\n\t InlineArray8: InlineArray8,\n\t InlineArray16: InlineArray16,\n\t InlineArrayDynamic: InlineArrayDynamic,\n\t EMPTY_INLINE_ARRAY: EMPTY_INLINE_ARRAY\n\t });\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Represents an instance of a Component created via a {@link ComponentFactory}.\n\t *\n\t * `ComponentRef` provides access to the Component Instance as well other objects related to this\n\t * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}\n\t * method.\n\t * @stable\n\t */\n\t var ComponentRef = (function () {\n\t function ComponentRef() {\n\t }\n\t Object.defineProperty(ComponentRef.prototype, \"location\", {\n\t /**\n\t * Location of the Host Element of this Component Instance.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ComponentRef.prototype, \"injector\", {\n\t /**\n\t * The injector on which the component instance exists.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ComponentRef.prototype, \"instance\", {\n\t /**\n\t * The instance of the Component.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ComponentRef.prototype, \"hostView\", {\n\t /**\n\t * The {@link ViewRef} of the Host View of this Component instance.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ComponentRef.prototype, \"changeDetectorRef\", {\n\t /**\n\t * The {@link ChangeDetectorRef} of the Component instance.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ComponentRef.prototype, \"componentType\", {\n\t /**\n\t * The component type.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return ComponentRef;\n\t }());\n\t var ComponentRef_ = (function (_super) {\n\t __extends$5(ComponentRef_, _super);\n\t function ComponentRef_(_index, _parentView, _nativeElement, _component) {\n\t _super.call(this);\n\t this._index = _index;\n\t this._parentView = _parentView;\n\t this._nativeElement = _nativeElement;\n\t this._component = _component;\n\t }\n\t Object.defineProperty(ComponentRef_.prototype, \"location\", {\n\t get: function () { return new ElementRef(this._nativeElement); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ComponentRef_.prototype, \"injector\", {\n\t get: function () { return this._parentView.injector(this._index); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ComponentRef_.prototype, \"instance\", {\n\t get: function () { return this._component; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ComponentRef_.prototype, \"hostView\", {\n\t get: function () { return this._parentView.ref; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ComponentRef_.prototype, \"changeDetectorRef\", {\n\t get: function () { return this._parentView.ref; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ComponentRef_.prototype, \"componentType\", {\n\t get: function () { return this._component.constructor; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ComponentRef_.prototype.destroy = function () { this._parentView.detachAndDestroy(); };\n\t ComponentRef_.prototype.onDestroy = function (callback) { this.hostView.onDestroy(callback); };\n\t return ComponentRef_;\n\t }(ComponentRef));\n\t /**\n\t * @stable\n\t */\n\t var ComponentFactory = (function () {\n\t function ComponentFactory(selector, _viewClass, _componentType) {\n\t this.selector = selector;\n\t this._viewClass = _viewClass;\n\t this._componentType = _componentType;\n\t }\n\t Object.defineProperty(ComponentFactory.prototype, \"componentType\", {\n\t get: function () { return this._componentType; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Creates a new component.\n\t */\n\t ComponentFactory.prototype.create = function (injector, projectableNodes, rootSelectorOrNode) {\n\t if (projectableNodes === void 0) { projectableNodes = null; }\n\t if (rootSelectorOrNode === void 0) { rootSelectorOrNode = null; }\n\t var vu = injector.get(ViewUtils);\n\t if (!projectableNodes) {\n\t projectableNodes = [];\n\t }\n\t var hostView = new this._viewClass(vu, null, null, null);\n\t return hostView.createHostView(rootSelectorOrNode, injector, projectableNodes);\n\t };\n\t return ComponentFactory;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$7 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @stable\n\t */\n\t var NoComponentFactoryError = (function (_super) {\n\t __extends$7(NoComponentFactoryError, _super);\n\t function NoComponentFactoryError(component) {\n\t _super.call(this, \"No component factory found for \" + stringify(component));\n\t this.component = component;\n\t }\n\t return NoComponentFactoryError;\n\t }(BaseError));\n\t var _NullComponentFactoryResolver = (function () {\n\t function _NullComponentFactoryResolver() {\n\t }\n\t _NullComponentFactoryResolver.prototype.resolveComponentFactory = function (component) {\n\t throw new NoComponentFactoryError(component);\n\t };\n\t return _NullComponentFactoryResolver;\n\t }());\n\t /**\n\t * @stable\n\t */\n\t var ComponentFactoryResolver = (function () {\n\t function ComponentFactoryResolver() {\n\t }\n\t ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();\n\t return ComponentFactoryResolver;\n\t }());\n\t var CodegenComponentFactoryResolver = (function () {\n\t function CodegenComponentFactoryResolver(factories, _parent) {\n\t this._parent = _parent;\n\t this._factories = new Map();\n\t for (var i = 0; i < factories.length; i++) {\n\t var factory = factories[i];\n\t this._factories.set(factory.componentType, factory);\n\t }\n\t }\n\t CodegenComponentFactoryResolver.prototype.resolveComponentFactory = function (component) {\n\t var result = this._factories.get(component);\n\t if (!result) {\n\t result = this._parent.resolveComponentFactory(component);\n\t }\n\t return result;\n\t };\n\t return CodegenComponentFactoryResolver;\n\t }());\n\t\n\t var trace;\n\t var events;\n\t function detectWTF() {\n\t var wtf = global$1['wtf'];\n\t if (wtf) {\n\t trace = wtf['trace'];\n\t if (trace) {\n\t events = trace['events'];\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t function createScope(signature, flags) {\n\t if (flags === void 0) { flags = null; }\n\t return events.createScope(signature, flags);\n\t }\n\t function leave(scope, returnValue) {\n\t trace.leaveScope(scope, returnValue);\n\t return returnValue;\n\t }\n\t function startTimeRange(rangeType, action) {\n\t return trace.beginTimeRange(rangeType, action);\n\t }\n\t function endTimeRange(range) {\n\t trace.endTimeRange(range);\n\t }\n\t\n\t /**\n\t * True if WTF is enabled.\n\t */\n\t var wtfEnabled = detectWTF();\n\t function noopScope(arg0, arg1) {\n\t return null;\n\t }\n\t /**\n\t * Create trace scope.\n\t *\n\t * Scopes must be strictly nested and are analogous to stack frames, but\n\t * do not have to follow the stack frames. Instead it is recommended that they follow logical\n\t * nesting. You may want to use\n\t * [Event\n\t * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events)\n\t * as they are defined in WTF.\n\t *\n\t * Used to mark scope entry. The return value is used to leave the scope.\n\t *\n\t * var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)');\n\t *\n\t * someMethod() {\n\t * var s = myScope('Foo'); // 'Foo' gets stored in tracing UI\n\t * // DO SOME WORK HERE\n\t * return wtfLeave(s, 123); // Return value 123\n\t * }\n\t *\n\t * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can\n\t * negatively impact the performance of your application. For this reason we recommend that\n\t * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and\n\t * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to\n\t * exception, will produce incorrect trace, but presence of exception signifies logic error which\n\t * needs to be fixed before the app should be profiled. Add try-finally only when you expect that\n\t * an exception is expected during normal execution while profiling.\n\t *\n\t * @experimental\n\t */\n\t var wtfCreateScope = wtfEnabled ? createScope : function (signature, flags) { return noopScope; };\n\t /**\n\t * Used to mark end of Scope.\n\t *\n\t * - `scope` to end.\n\t * - `returnValue` (optional) to be passed to the WTF.\n\t *\n\t * Returns the `returnValue for easy chaining.\n\t * @experimental\n\t */\n\t var wtfLeave = wtfEnabled ? leave : function (s, r) { return r; };\n\t /**\n\t * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested.\n\t * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been\n\t * enabled.\n\t *\n\t * someMethod() {\n\t * var s = wtfStartTimeRange('HTTP:GET', 'some.url');\n\t * var future = new Future.delay(5).then((_) {\n\t * wtfEndTimeRange(s);\n\t * });\n\t * }\n\t * @experimental\n\t */\n\t var wtfStartTimeRange = wtfEnabled ? startTimeRange : function (rangeType, action) { return null; };\n\t /**\n\t * Ends a async time range operation.\n\t * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been\n\t * enabled.\n\t * @experimental\n\t */\n\t var wtfEndTimeRange = wtfEnabled ? endTimeRange : function (r) { return null; };\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$8 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Use by directives and components to emit custom Events.\n\t *\n\t * ### Examples\n\t *\n\t * In the following example, `Zippy` alternatively emits `open` and `close` events when its\n\t * title gets clicked:\n\t *\n\t * ```\n\t * @Component({\n\t * selector: 'zippy',\n\t * template: `\n\t * <div class=\"zippy\">\n\t * <div (click)=\"toggle()\">Toggle</div>\n\t * <div [hidden]=\"!visible\">\n\t * <ng-content></ng-content>\n\t * </div>\n\t * </div>`})\n\t * export class Zippy {\n\t * visible: boolean = true;\n\t * @Output() open: EventEmitter<any> = new EventEmitter();\n\t * @Output() close: EventEmitter<any> = new EventEmitter();\n\t *\n\t * toggle() {\n\t * this.visible = !this.visible;\n\t * if (this.visible) {\n\t * this.open.emit(null);\n\t * } else {\n\t * this.close.emit(null);\n\t * }\n\t * }\n\t * }\n\t * ```\n\t *\n\t * The events payload can be accessed by the parameter `$event` on the components output event\n\t * handler:\n\t *\n\t * ```\n\t * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n\t * ```\n\t *\n\t * Uses Rx.Observable but provides an adapter to make it work as specified here:\n\t * https://github.com/jhusain/observable-spec\n\t *\n\t * Once a reference implementation of the spec is available, switch to it.\n\t * @stable\n\t */\n\t var EventEmitter = (function (_super) {\n\t __extends$8(EventEmitter, _super);\n\t /**\n\t * Creates an instance of [EventEmitter], which depending on [isAsync],\n\t * delivers events synchronously or asynchronously.\n\t */\n\t function EventEmitter(isAsync) {\n\t if (isAsync === void 0) { isAsync = false; }\n\t _super.call(this);\n\t this.__isAsync = isAsync;\n\t }\n\t EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\n\t EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\n\t var schedulerFn;\n\t var errorFn = function (err) { return null; };\n\t var completeFn = function () { return null; };\n\t if (generatorOrNext && typeof generatorOrNext === 'object') {\n\t schedulerFn = this.__isAsync ? function (value) {\n\t setTimeout(function () { return generatorOrNext.next(value); });\n\t } : function (value) { generatorOrNext.next(value); };\n\t if (generatorOrNext.error) {\n\t errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\n\t function (err) { generatorOrNext.error(err); };\n\t }\n\t if (generatorOrNext.complete) {\n\t completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\n\t function () { generatorOrNext.complete(); };\n\t }\n\t }\n\t else {\n\t schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\n\t function (value) { generatorOrNext(value); };\n\t if (error) {\n\t errorFn =\n\t this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\n\t }\n\t if (complete) {\n\t completeFn =\n\t this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\n\t }\n\t }\n\t return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n\t };\n\t return EventEmitter;\n\t }(rxjs_Subject.Subject));\n\t\n\t /**\n\t * An injectable service for executing work inside or outside of the Angular zone.\n\t *\n\t * The most common use of this service is to optimize performance when starting a work consisting of\n\t * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n\t * Angular. Such tasks can be kicked off via {@link runOutsideAngular} and if needed, these tasks\n\t * can reenter the Angular zone via {@link run}.\n\t *\n\t * <!-- TODO: add/fix links to:\n\t * - docs explaining zones and the use of zones in Angular and change-detection\n\t * - link to runOutsideAngular/run (throughout this file!)\n\t * -->\n\t *\n\t * ### Example\n\t * ```\n\t * import {Component, NgZone} from '@angular/core';\n\t * import {NgIf} from '@angular/common';\n\t *\n\t * @Component({\n\t * selector: 'ng-zone-demo'.\n\t * template: `\n\t * <h2>Demo: NgZone</h2>\n\t *\n\t * <p>Progress: {{progress}}%</p>\n\t * <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n\t *\n\t * <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n\t * <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n\t * `,\n\t * })\n\t * export class NgZoneDemo {\n\t * progress: number = 0;\n\t * label: string;\n\t *\n\t * constructor(private _ngZone: NgZone) {}\n\t *\n\t * // Loop inside the Angular zone\n\t * // so the UI DOES refresh after each setTimeout cycle\n\t * processWithinAngularZone() {\n\t * this.label = 'inside';\n\t * this.progress = 0;\n\t * this._increaseProgress(() => console.log('Inside Done!'));\n\t * }\n\t *\n\t * // Loop outside of the Angular zone\n\t * // so the UI DOES NOT refresh after each setTimeout cycle\n\t * processOutsideOfAngularZone() {\n\t * this.label = 'outside';\n\t * this.progress = 0;\n\t * this._ngZone.runOutsideAngular(() => {\n\t * this._increaseProgress(() => {\n\t * // reenter the Angular zone and display done\n\t * this._ngZone.run(() => {console.log('Outside Done!') });\n\t * }}));\n\t * }\n\t *\n\t * _increaseProgress(doneCallback: () => void) {\n\t * this.progress += 1;\n\t * console.log(`Current progress: ${this.progress}%`);\n\t *\n\t * if (this.progress < 100) {\n\t * window.setTimeout(() => this._increaseProgress(doneCallback)), 10)\n\t * } else {\n\t * doneCallback();\n\t * }\n\t * }\n\t * }\n\t * ```\n\t * @experimental\n\t */\n\t var NgZone = (function () {\n\t function NgZone(_a) {\n\t var _b = _a.enableLongStackTrace, enableLongStackTrace = _b === void 0 ? false : _b;\n\t this._hasPendingMicrotasks = false;\n\t this._hasPendingMacrotasks = false;\n\t this._isStable = true;\n\t this._nesting = 0;\n\t this._onUnstable = new EventEmitter(false);\n\t this._onMicrotaskEmpty = new EventEmitter(false);\n\t this._onStable = new EventEmitter(false);\n\t this._onErrorEvents = new EventEmitter(false);\n\t if (typeof Zone == 'undefined') {\n\t throw new Error('Angular requires Zone.js prolyfill.');\n\t }\n\t Zone.assertZonePatched();\n\t this.outer = this.inner = Zone.current;\n\t if (Zone['wtfZoneSpec']) {\n\t this.inner = this.inner.fork(Zone['wtfZoneSpec']);\n\t }\n\t if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {\n\t this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);\n\t }\n\t this.forkInnerZoneWithAngularBehavior();\n\t }\n\t NgZone.isInAngularZone = function () { return Zone.current.get('isAngularZone') === true; };\n\t NgZone.assertInAngularZone = function () {\n\t if (!NgZone.isInAngularZone()) {\n\t throw new Error('Expected to be in Angular Zone, but it is not!');\n\t }\n\t };\n\t NgZone.assertNotInAngularZone = function () {\n\t if (NgZone.isInAngularZone()) {\n\t throw new Error('Expected to not be in Angular Zone, but it is!');\n\t }\n\t };\n\t /**\n\t * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n\t * the function.\n\t *\n\t * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n\t * outside of the Angular zone (typically started via {@link runOutsideAngular}).\n\t *\n\t * Any future tasks or microtasks scheduled from within this function will continue executing from\n\t * within the Angular zone.\n\t *\n\t * If a synchronous error happens it will be rethrown and not reported via `onError`.\n\t */\n\t NgZone.prototype.run = function (fn) { return this.inner.run(fn); };\n\t /**\n\t * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n\t * rethrown.\n\t */\n\t NgZone.prototype.runGuarded = function (fn) { return this.inner.runGuarded(fn); };\n\t /**\n\t * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n\t * the function.\n\t *\n\t * Running functions via `runOutsideAngular` allows you to escape Angular's zone and do work that\n\t * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n\t *\n\t * Any future tasks or microtasks scheduled from within this function will continue executing from\n\t * outside of the Angular zone.\n\t *\n\t * Use {@link run} to reenter the Angular zone and do work that updates the application model.\n\t */\n\t NgZone.prototype.runOutsideAngular = function (fn) { return this.outer.run(fn); };\n\t Object.defineProperty(NgZone.prototype, \"onUnstable\", {\n\t /**\n\t * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n\t */\n\t get: function () { return this._onUnstable; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"onMicrotaskEmpty\", {\n\t /**\n\t * Notifies when there is no more microtasks enqueue in the current VM Turn.\n\t * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n\t * For this reason this event can fire multiple times per VM Turn.\n\t */\n\t get: function () { return this._onMicrotaskEmpty; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"onStable\", {\n\t /**\n\t * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n\t * implies we are about to relinquish VM turn.\n\t * This event gets called just once.\n\t */\n\t get: function () { return this._onStable; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"onError\", {\n\t /**\n\t * Notify that an error has been delivered.\n\t */\n\t get: function () { return this._onErrorEvents; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"isStable\", {\n\t /**\n\t * Whether there are no outstanding microtasks or macrotasks.\n\t */\n\t get: function () { return this._isStable; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"hasPendingMicrotasks\", {\n\t get: function () { return this._hasPendingMicrotasks; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgZone.prototype, \"hasPendingMacrotasks\", {\n\t get: function () { return this._hasPendingMacrotasks; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgZone.prototype.checkStable = function () {\n\t var _this = this;\n\t if (this._nesting == 0 && !this._hasPendingMicrotasks && !this._isStable) {\n\t try {\n\t this._nesting++;\n\t this._onMicrotaskEmpty.emit(null);\n\t }\n\t finally {\n\t this._nesting--;\n\t if (!this._hasPendingMicrotasks) {\n\t try {\n\t this.runOutsideAngular(function () { return _this._onStable.emit(null); });\n\t }\n\t finally {\n\t this._isStable = true;\n\t }\n\t }\n\t }\n\t }\n\t };\n\t NgZone.prototype.forkInnerZoneWithAngularBehavior = function () {\n\t var _this = this;\n\t this.inner = this.inner.fork({\n\t name: 'angular',\n\t properties: { 'isAngularZone': true },\n\t onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) {\n\t try {\n\t _this.onEnter();\n\t return delegate.invokeTask(target, task, applyThis, applyArgs);\n\t }\n\t finally {\n\t _this.onLeave();\n\t }\n\t },\n\t onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) {\n\t try {\n\t _this.onEnter();\n\t return delegate.invoke(target, callback, applyThis, applyArgs, source);\n\t }\n\t finally {\n\t _this.onLeave();\n\t }\n\t },\n\t onHasTask: function (delegate, current, target, hasTaskState) {\n\t delegate.hasTask(target, hasTaskState);\n\t if (current === target) {\n\t // We are only interested in hasTask events which originate from our zone\n\t // (A child hasTask event is not interesting to us)\n\t if (hasTaskState.change == 'microTask') {\n\t _this.setHasMicrotask(hasTaskState.microTask);\n\t }\n\t else if (hasTaskState.change == 'macroTask') {\n\t _this.setHasMacrotask(hasTaskState.macroTask);\n\t }\n\t }\n\t },\n\t onHandleError: function (delegate, current, target, error) {\n\t delegate.handleError(target, error);\n\t _this.triggerError(error);\n\t return false;\n\t }\n\t });\n\t };\n\t NgZone.prototype.onEnter = function () {\n\t this._nesting++;\n\t if (this._isStable) {\n\t this._isStable = false;\n\t this._onUnstable.emit(null);\n\t }\n\t };\n\t NgZone.prototype.onLeave = function () {\n\t this._nesting--;\n\t this.checkStable();\n\t };\n\t NgZone.prototype.setHasMicrotask = function (hasMicrotasks) {\n\t this._hasPendingMicrotasks = hasMicrotasks;\n\t this.checkStable();\n\t };\n\t NgZone.prototype.setHasMacrotask = function (hasMacrotasks) { this._hasPendingMacrotasks = hasMacrotasks; };\n\t NgZone.prototype.triggerError = function (error) { this._onErrorEvents.emit(error); };\n\t return NgZone;\n\t }());\n\t\n\t /**\n\t * The Testability service provides testing hooks that can be accessed from\n\t * the browser and by services such as Protractor. Each bootstrapped Angular\n\t * application on the page will have an instance of Testability.\n\t * @experimental\n\t */\n\t var Testability = (function () {\n\t function Testability(_ngZone) {\n\t this._ngZone = _ngZone;\n\t /** @internal */\n\t this._pendingCount = 0;\n\t /** @internal */\n\t this._isZoneStable = true;\n\t /**\n\t * Whether any work was done since the last 'whenStable' callback. This is\n\t * useful to detect if this could have potentially destabilized another\n\t * component while it is stabilizing.\n\t * @internal\n\t */\n\t this._didWork = false;\n\t /** @internal */\n\t this._callbacks = [];\n\t this._watchAngularEvents();\n\t }\n\t /** @internal */\n\t Testability.prototype._watchAngularEvents = function () {\n\t var _this = this;\n\t this._ngZone.onUnstable.subscribe({\n\t next: function () {\n\t _this._didWork = true;\n\t _this._isZoneStable = false;\n\t }\n\t });\n\t this._ngZone.runOutsideAngular(function () {\n\t _this._ngZone.onStable.subscribe({\n\t next: function () {\n\t NgZone.assertNotInAngularZone();\n\t scheduleMicroTask(function () {\n\t _this._isZoneStable = true;\n\t _this._runCallbacksIfReady();\n\t });\n\t }\n\t });\n\t });\n\t };\n\t Testability.prototype.increasePendingRequestCount = function () {\n\t this._pendingCount += 1;\n\t this._didWork = true;\n\t return this._pendingCount;\n\t };\n\t Testability.prototype.decreasePendingRequestCount = function () {\n\t this._pendingCount -= 1;\n\t if (this._pendingCount < 0) {\n\t throw new Error('pending async requests below zero');\n\t }\n\t this._runCallbacksIfReady();\n\t return this._pendingCount;\n\t };\n\t Testability.prototype.isStable = function () {\n\t return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks;\n\t };\n\t /** @internal */\n\t Testability.prototype._runCallbacksIfReady = function () {\n\t var _this = this;\n\t if (this.isStable()) {\n\t // Schedules the call backs in a new frame so that it is always async.\n\t scheduleMicroTask(function () {\n\t while (_this._callbacks.length !== 0) {\n\t (_this._callbacks.pop())(_this._didWork);\n\t }\n\t _this._didWork = false;\n\t });\n\t }\n\t else {\n\t // Not Ready\n\t this._didWork = true;\n\t }\n\t };\n\t Testability.prototype.whenStable = function (callback) {\n\t this._callbacks.push(callback);\n\t this._runCallbacksIfReady();\n\t };\n\t Testability.prototype.getPendingRequestCount = function () { return this._pendingCount; };\n\t /** @deprecated use findProviders */\n\t Testability.prototype.findBindings = function (using, provider, exactMatch) {\n\t // TODO(juliemr): implement.\n\t return [];\n\t };\n\t Testability.prototype.findProviders = function (using, provider, exactMatch) {\n\t // TODO(juliemr): implement.\n\t return [];\n\t };\n\t Testability.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t Testability.ctorParameters = [\n\t { type: NgZone, },\n\t ];\n\t return Testability;\n\t }());\n\t /**\n\t * A global registry of {@link Testability} instances for specific elements.\n\t * @experimental\n\t */\n\t var TestabilityRegistry = (function () {\n\t function TestabilityRegistry() {\n\t /** @internal */\n\t this._applications = new Map();\n\t _testabilityGetter.addToWindow(this);\n\t }\n\t TestabilityRegistry.prototype.registerApplication = function (token, testability) {\n\t this._applications.set(token, testability);\n\t };\n\t TestabilityRegistry.prototype.getTestability = function (elem) { return this._applications.get(elem); };\n\t TestabilityRegistry.prototype.getAllTestabilities = function () { return Array.from(this._applications.values()); };\n\t TestabilityRegistry.prototype.getAllRootElements = function () { return Array.from(this._applications.keys()); };\n\t TestabilityRegistry.prototype.findTestabilityInTree = function (elem, findInAncestors) {\n\t if (findInAncestors === void 0) { findInAncestors = true; }\n\t return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\n\t };\n\t TestabilityRegistry.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t TestabilityRegistry.ctorParameters = [];\n\t return TestabilityRegistry;\n\t }());\n\t var _NoopGetTestability = (function () {\n\t function _NoopGetTestability() {\n\t }\n\t _NoopGetTestability.prototype.addToWindow = function (registry) { };\n\t _NoopGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\n\t return null;\n\t };\n\t return _NoopGetTestability;\n\t }());\n\t /**\n\t * Set the {@link GetTestability} implementation used by the Angular testing framework.\n\t * @experimental\n\t */\n\t function setTestabilityGetter(getter) {\n\t _testabilityGetter = getter;\n\t }\n\t var _testabilityGetter = new _NoopGetTestability();\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _devMode = true;\n\t var _runModeLocked = false;\n\t var _platform;\n\t /**\n\t * Disable Angular's development mode, which turns off assertions and other\n\t * checks within the framework.\n\t *\n\t * One important assertion this disables verifies that a change detection pass\n\t * does not result in additional changes to any bindings (also known as\n\t * unidirectional data flow).\n\t *\n\t * @stable\n\t */\n\t function enableProdMode() {\n\t if (_runModeLocked) {\n\t throw new Error('Cannot enable prod mode after platform setup.');\n\t }\n\t _devMode = false;\n\t }\n\t /**\n\t * Returns whether Angular is in development mode. After called once,\n\t * the value is locked and won't change any more.\n\t *\n\t * By default, this is true, unless a user calls `enableProdMode` before calling this.\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function isDevMode() {\n\t _runModeLocked = true;\n\t return _devMode;\n\t }\n\t /**\n\t * Creates a platform.\n\t * Platforms have to be eagerly created via this function.\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function createPlatform(injector) {\n\t if (_platform && !_platform.destroyed) {\n\t throw new Error('There can be only one platform. Destroy the previous one to create a new one.');\n\t }\n\t _platform = injector.get(PlatformRef);\n\t var inits = injector.get(PLATFORM_INITIALIZER, null);\n\t if (inits)\n\t inits.forEach(function (init) { return init(); });\n\t return _platform;\n\t }\n\t /**\n\t * Creates a factory for a platform\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function createPlatformFactory(parentPlaformFactory, name, providers) {\n\t if (providers === void 0) { providers = []; }\n\t var marker = new OpaqueToken(\"Platform: \" + name);\n\t return function (extraProviders) {\n\t if (extraProviders === void 0) { extraProviders = []; }\n\t if (!getPlatform()) {\n\t if (parentPlaformFactory) {\n\t parentPlaformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true }));\n\t }\n\t else {\n\t createPlatform(ReflectiveInjector.resolveAndCreate(providers.concat(extraProviders).concat({ provide: marker, useValue: true })));\n\t }\n\t }\n\t return assertPlatform(marker);\n\t };\n\t }\n\t /**\n\t * Checks that there currently is a platform\n\t * which contains the given token as a provider.\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function assertPlatform(requiredToken) {\n\t var platform = getPlatform();\n\t if (!platform) {\n\t throw new Error('No platform exists!');\n\t }\n\t if (!platform.injector.get(requiredToken, null)) {\n\t throw new Error('A platform with a different configuration has been created. Please destroy it first.');\n\t }\n\t return platform;\n\t }\n\t /**\n\t * Destroy the existing platform.\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function destroyPlatform() {\n\t if (_platform && !_platform.destroyed) {\n\t _platform.destroy();\n\t }\n\t }\n\t /**\n\t * Returns the current platform.\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t function getPlatform() {\n\t return _platform && !_platform.destroyed ? _platform : null;\n\t }\n\t /**\n\t * The Angular platform is the entry point for Angular on a web page. Each page\n\t * has exactly one platform, and services (such as reflection) which are common\n\t * to every Angular application running on the page are bound in its scope.\n\t *\n\t * A page's platform is initialized implicitly when {@link bootstrap}() is called, or\n\t * explicitly by calling {@link createPlatform}().\n\t *\n\t * @stable\n\t */\n\t var PlatformRef = (function () {\n\t function PlatformRef() {\n\t }\n\t /**\n\t * Creates an instance of an `@NgModule` for the given platform\n\t * for offline compilation.\n\t *\n\t * ## Simple Example\n\t *\n\t * ```typescript\n\t * my_module.ts:\n\t *\n\t * @NgModule({\n\t * imports: [BrowserModule]\n\t * })\n\t * class MyModule {}\n\t *\n\t * main.ts:\n\t * import {MyModuleNgFactory} from './my_module.ngfactory';\n\t * import {platformBrowser} from '@angular/platform-browser';\n\t *\n\t * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);\n\t * ```\n\t *\n\t * @experimental APIs related to application bootstrap are currently under review.\n\t */\n\t PlatformRef.prototype.bootstrapModuleFactory = function (moduleFactory) {\n\t throw unimplemented();\n\t };\n\t /**\n\t * Creates an instance of an `@NgModule` for a given platform using the given runtime compiler.\n\t *\n\t * ## Simple Example\n\t *\n\t * ```typescript\n\t * @NgModule({\n\t * imports: [BrowserModule]\n\t * })\n\t * class MyModule {}\n\t *\n\t * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n\t * ```\n\t * @stable\n\t */\n\t PlatformRef.prototype.bootstrapModule = function (moduleType, compilerOptions) {\n\t if (compilerOptions === void 0) { compilerOptions = []; }\n\t throw unimplemented();\n\t };\n\t Object.defineProperty(PlatformRef.prototype, \"injector\", {\n\t /**\n\t * Retrieve the platform {@link Injector}, which is the parent injector for\n\t * every Angular application on the page and provides singleton providers.\n\t */\n\t get: function () { throw unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(PlatformRef.prototype, \"destroyed\", {\n\t get: function () { throw unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return PlatformRef;\n\t }());\n\t function _callAndReportToErrorHandler(errorHandler, callback) {\n\t try {\n\t var result = callback();\n\t if (isPromise(result)) {\n\t return result.catch(function (e) {\n\t errorHandler.handleError(e);\n\t // rethrow as the exception handler might not do it\n\t throw e;\n\t });\n\t }\n\t return result;\n\t }\n\t catch (e) {\n\t errorHandler.handleError(e);\n\t // rethrow as the exception handler might not do it\n\t throw e;\n\t }\n\t }\n\t var PlatformRef_ = (function (_super) {\n\t __extends$3(PlatformRef_, _super);\n\t function PlatformRef_(_injector) {\n\t _super.call(this);\n\t this._injector = _injector;\n\t this._modules = [];\n\t this._destroyListeners = [];\n\t this._destroyed = false;\n\t }\n\t PlatformRef_.prototype.onDestroy = function (callback) { this._destroyListeners.push(callback); };\n\t Object.defineProperty(PlatformRef_.prototype, \"injector\", {\n\t get: function () { return this._injector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(PlatformRef_.prototype, \"destroyed\", {\n\t get: function () { return this._destroyed; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t PlatformRef_.prototype.destroy = function () {\n\t if (this._destroyed) {\n\t throw new Error('The platform has already been destroyed!');\n\t }\n\t this._modules.slice().forEach(function (module) { return module.destroy(); });\n\t this._destroyListeners.forEach(function (listener) { return listener(); });\n\t this._destroyed = true;\n\t };\n\t PlatformRef_.prototype.bootstrapModuleFactory = function (moduleFactory) {\n\t return this._bootstrapModuleFactoryWithZone(moduleFactory, null);\n\t };\n\t PlatformRef_.prototype._bootstrapModuleFactoryWithZone = function (moduleFactory, ngZone) {\n\t var _this = this;\n\t // Note: We need to create the NgZone _before_ we instantiate the module,\n\t // as instantiating the module creates some providers eagerly.\n\t // So we create a mini parent injector that just contains the new NgZone and\n\t // pass that as parent to the NgModuleFactory.\n\t if (!ngZone)\n\t ngZone = new NgZone({ enableLongStackTrace: isDevMode() });\n\t // Attention: Don't use ApplicationRef.run here,\n\t // as we want to be sure that all possible constructor calls are inside `ngZone.run`!\n\t return ngZone.run(function () {\n\t var ngZoneInjector = ReflectiveInjector.resolveAndCreate([{ provide: NgZone, useValue: ngZone }], _this.injector);\n\t var moduleRef = moduleFactory.create(ngZoneInjector);\n\t var exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n\t if (!exceptionHandler) {\n\t throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?');\n\t }\n\t moduleRef.onDestroy(function () { return ListWrapper.remove(_this._modules, moduleRef); });\n\t ngZone.onError.subscribe({ next: function (error) { exceptionHandler.handleError(error); } });\n\t return _callAndReportToErrorHandler(exceptionHandler, function () {\n\t var initStatus = moduleRef.injector.get(ApplicationInitStatus);\n\t return initStatus.donePromise.then(function () {\n\t _this._moduleDoBootstrap(moduleRef);\n\t return moduleRef;\n\t });\n\t });\n\t });\n\t };\n\t PlatformRef_.prototype.bootstrapModule = function (moduleType, compilerOptions) {\n\t if (compilerOptions === void 0) { compilerOptions = []; }\n\t return this._bootstrapModuleWithZone(moduleType, compilerOptions, null);\n\t };\n\t PlatformRef_.prototype._bootstrapModuleWithZone = function (moduleType, compilerOptions, ngZone, componentFactoryCallback) {\n\t var _this = this;\n\t if (compilerOptions === void 0) { compilerOptions = []; }\n\t var compilerFactory = this.injector.get(CompilerFactory);\n\t var compiler = compilerFactory.createCompiler(Array.isArray(compilerOptions) ? compilerOptions : [compilerOptions]);\n\t // ugly internal api hack: generate host component factories for all declared components and\n\t // pass the factories into the callback - this is used by UpdateAdapter to get hold of all\n\t // factories.\n\t if (componentFactoryCallback) {\n\t return compiler.compileModuleAndAllComponentsAsync(moduleType)\n\t .then(function (_a) {\n\t var ngModuleFactory = _a.ngModuleFactory, componentFactories = _a.componentFactories;\n\t componentFactoryCallback(componentFactories);\n\t return _this._bootstrapModuleFactoryWithZone(ngModuleFactory, ngZone);\n\t });\n\t }\n\t return compiler.compileModuleAsync(moduleType)\n\t .then(function (moduleFactory) { return _this._bootstrapModuleFactoryWithZone(moduleFactory, ngZone); });\n\t };\n\t PlatformRef_.prototype._moduleDoBootstrap = function (moduleRef) {\n\t var appRef = moduleRef.injector.get(ApplicationRef);\n\t if (moduleRef.bootstrapFactories.length > 0) {\n\t moduleRef.bootstrapFactories.forEach(function (compFactory) { return appRef.bootstrap(compFactory); });\n\t }\n\t else if (moduleRef.instance.ngDoBootstrap) {\n\t moduleRef.instance.ngDoBootstrap(appRef);\n\t }\n\t else {\n\t throw new Error((\"The module \" + stringify(moduleRef.instance.constructor) + \" was bootstrapped, but it does not declare \\\"@NgModule.bootstrap\\\" components nor a \\\"ngDoBootstrap\\\" method. \") +\n\t \"Please define one of these.\");\n\t }\n\t };\n\t PlatformRef_.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t PlatformRef_.ctorParameters = [\n\t { type: Injector, },\n\t ];\n\t return PlatformRef_;\n\t }(PlatformRef));\n\t /**\n\t * A reference to an Angular application running on a page.\n\t *\n\t * For more about Angular applications, see the documentation for {@link bootstrap}.\n\t *\n\t * @stable\n\t */\n\t var ApplicationRef = (function () {\n\t function ApplicationRef() {\n\t }\n\t Object.defineProperty(ApplicationRef.prototype, \"componentTypes\", {\n\t /**\n\t * Get a list of component types registered to this application.\n\t * This list is populated even before the component is created.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t Object.defineProperty(ApplicationRef.prototype, \"components\", {\n\t /**\n\t * Get a list of components registered to this application.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t return ApplicationRef;\n\t }());\n\t var ApplicationRef_ = (function (_super) {\n\t __extends$3(ApplicationRef_, _super);\n\t function ApplicationRef_(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus, _testabilityRegistry, _testability) {\n\t var _this = this;\n\t _super.call(this);\n\t this._zone = _zone;\n\t this._console = _console;\n\t this._injector = _injector;\n\t this._exceptionHandler = _exceptionHandler;\n\t this._componentFactoryResolver = _componentFactoryResolver;\n\t this._initStatus = _initStatus;\n\t this._testabilityRegistry = _testabilityRegistry;\n\t this._testability = _testability;\n\t this._bootstrapListeners = [];\n\t this._rootComponents = [];\n\t this._rootComponentTypes = [];\n\t this._changeDetectorRefs = [];\n\t this._runningTick = false;\n\t this._enforceNoNewChanges = false;\n\t this._enforceNoNewChanges = isDevMode();\n\t this._zone.onMicrotaskEmpty.subscribe({ next: function () { _this._zone.run(function () { _this.tick(); }); } });\n\t }\n\t ApplicationRef_.prototype.registerChangeDetector = function (changeDetector) {\n\t this._changeDetectorRefs.push(changeDetector);\n\t };\n\t ApplicationRef_.prototype.unregisterChangeDetector = function (changeDetector) {\n\t ListWrapper.remove(this._changeDetectorRefs, changeDetector);\n\t };\n\t ApplicationRef_.prototype.bootstrap = function (componentOrFactory) {\n\t var _this = this;\n\t if (!this._initStatus.done) {\n\t throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.');\n\t }\n\t var componentFactory;\n\t if (componentOrFactory instanceof ComponentFactory) {\n\t componentFactory = componentOrFactory;\n\t }\n\t else {\n\t componentFactory = this._componentFactoryResolver.resolveComponentFactory(componentOrFactory);\n\t }\n\t this._rootComponentTypes.push(componentFactory.componentType);\n\t var compRef = componentFactory.create(this._injector, [], componentFactory.selector);\n\t compRef.onDestroy(function () { _this._unloadComponent(compRef); });\n\t var testability = compRef.injector.get(Testability, null);\n\t if (testability) {\n\t compRef.injector.get(TestabilityRegistry)\n\t .registerApplication(compRef.location.nativeElement, testability);\n\t }\n\t this._loadComponent(compRef);\n\t if (isDevMode()) {\n\t this._console.log(\"Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.\");\n\t }\n\t return compRef;\n\t };\n\t /** @internal */\n\t ApplicationRef_.prototype._loadComponent = function (componentRef) {\n\t this._changeDetectorRefs.push(componentRef.changeDetectorRef);\n\t this.tick();\n\t this._rootComponents.push(componentRef);\n\t // Get the listeners lazily to prevent DI cycles.\n\t var listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, [])\n\t .concat(this._bootstrapListeners);\n\t listeners.forEach(function (listener) { return listener(componentRef); });\n\t };\n\t /** @internal */\n\t ApplicationRef_.prototype._unloadComponent = function (componentRef) {\n\t if (this._rootComponents.indexOf(componentRef) == -1) {\n\t return;\n\t }\n\t this.unregisterChangeDetector(componentRef.changeDetectorRef);\n\t ListWrapper.remove(this._rootComponents, componentRef);\n\t };\n\t ApplicationRef_.prototype.tick = function () {\n\t if (this._runningTick) {\n\t throw new Error('ApplicationRef.tick is called recursively');\n\t }\n\t var scope = ApplicationRef_._tickScope();\n\t try {\n\t this._runningTick = true;\n\t this._changeDetectorRefs.forEach(function (detector) { return detector.detectChanges(); });\n\t if (this._enforceNoNewChanges) {\n\t this._changeDetectorRefs.forEach(function (detector) { return detector.checkNoChanges(); });\n\t }\n\t }\n\t finally {\n\t this._runningTick = false;\n\t wtfLeave(scope);\n\t }\n\t };\n\t ApplicationRef_.prototype.ngOnDestroy = function () {\n\t // TODO(alxhub): Dispose of the NgZone.\n\t this._rootComponents.slice().forEach(function (component) { return component.destroy(); });\n\t };\n\t Object.defineProperty(ApplicationRef_.prototype, \"componentTypes\", {\n\t get: function () { return this._rootComponentTypes; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ApplicationRef_.prototype, \"components\", {\n\t get: function () { return this._rootComponents; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t ApplicationRef_._tickScope = wtfCreateScope('ApplicationRef#tick()');\n\t ApplicationRef_.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t ApplicationRef_.ctorParameters = [\n\t { type: NgZone, },\n\t { type: Console, },\n\t { type: Injector, },\n\t { type: ErrorHandler, },\n\t { type: ComponentFactoryResolver, },\n\t { type: ApplicationInitStatus, },\n\t { type: TestabilityRegistry, decorators: [{ type: Optional },] },\n\t { type: Testability, decorators: [{ type: Optional },] },\n\t ];\n\t return ApplicationRef_;\n\t }(ApplicationRef));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$9 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Represents an instance of an NgModule created via a {@link NgModuleFactory}.\n\t *\n\t * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n\t * NgModule Instance.\n\t *\n\t * @stable\n\t */\n\t var NgModuleRef = (function () {\n\t function NgModuleRef() {\n\t }\n\t Object.defineProperty(NgModuleRef.prototype, \"injector\", {\n\t /**\n\t * The injector that contains all of the providers of the NgModule.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModuleRef.prototype, \"componentFactoryResolver\", {\n\t /**\n\t * The ComponentFactoryResolver to get hold of the ComponentFactories\n\t * declared in the `entryComponents` property of the module.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModuleRef.prototype, \"instance\", {\n\t /**\n\t * The NgModule instance.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return NgModuleRef;\n\t }());\n\t /**\n\t * @experimental\n\t */\n\t var NgModuleFactory = (function () {\n\t function NgModuleFactory(_injectorClass, _moduleType) {\n\t this._injectorClass = _injectorClass;\n\t this._moduleType = _moduleType;\n\t }\n\t Object.defineProperty(NgModuleFactory.prototype, \"moduleType\", {\n\t get: function () { return this._moduleType; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgModuleFactory.prototype.create = function (parentInjector) {\n\t if (!parentInjector) {\n\t parentInjector = Injector.NULL;\n\t }\n\t var instance = new this._injectorClass(parentInjector);\n\t instance.create();\n\t return instance;\n\t };\n\t return NgModuleFactory;\n\t }());\n\t var _UNDEFINED = new Object();\n\t var NgModuleInjector = (function (_super) {\n\t __extends$9(NgModuleInjector, _super);\n\t function NgModuleInjector(parent, factories, bootstrapFactories) {\n\t _super.call(this, factories, parent.get(ComponentFactoryResolver, ComponentFactoryResolver.NULL));\n\t this.parent = parent;\n\t this.bootstrapFactories = bootstrapFactories;\n\t this._destroyListeners = [];\n\t this._destroyed = false;\n\t }\n\t NgModuleInjector.prototype.create = function () { this.instance = this.createInternal(); };\n\t NgModuleInjector.prototype.get = function (token, notFoundValue) {\n\t if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n\t if (token === Injector || token === ComponentFactoryResolver) {\n\t return this;\n\t }\n\t var result = this.getInternal(token, _UNDEFINED);\n\t return result === _UNDEFINED ? this.parent.get(token, notFoundValue) : result;\n\t };\n\t Object.defineProperty(NgModuleInjector.prototype, \"injector\", {\n\t get: function () { return this; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModuleInjector.prototype, \"componentFactoryResolver\", {\n\t get: function () { return this; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgModuleInjector.prototype.destroy = function () {\n\t if (this._destroyed) {\n\t throw new Error(\"The ng module \" + stringify(this.instance.constructor) + \" has already been destroyed.\");\n\t }\n\t this._destroyed = true;\n\t this.destroyInternal();\n\t this._destroyListeners.forEach(function (listener) { return listener(); });\n\t };\n\t NgModuleInjector.prototype.onDestroy = function (callback) { this._destroyListeners.push(callback); };\n\t return NgModuleInjector;\n\t }(CodegenComponentFactoryResolver));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Used to load ng module factories.\n\t * @stable\n\t */\n\t var NgModuleFactoryLoader = (function () {\n\t function NgModuleFactoryLoader() {\n\t }\n\t return NgModuleFactoryLoader;\n\t }());\n\t var moduleFactories = new Map();\n\t /**\n\t * Registers a loaded module. Should only be called from generated NgModuleFactory code.\n\t * @experimental\n\t */\n\t function registerModuleFactory(id, factory) {\n\t var existing = moduleFactories.get(id);\n\t if (existing) {\n\t throw new Error(\"Duplicate module registered for \" + id + \" - \" + existing.moduleType.name + \" vs \" + factory.moduleType.name);\n\t }\n\t moduleFactories.set(id, factory);\n\t }\n\t /**\n\t * Returns the NgModuleFactory with the given id, if it exists and has been loaded.\n\t * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module\n\t * cannot be found.\n\t * @experimental\n\t */\n\t function getModuleFactory(id) {\n\t var factory = moduleFactories.get(id);\n\t if (!factory)\n\t throw new Error(\"No module with ID \" + id + \" loaded\");\n\t return factory;\n\t }\n\t\n\t /**\n\t * An unmodifiable list of items that Angular keeps up to date when the state\n\t * of the application changes.\n\t *\n\t * The type of object that {@link Query} and {@link ViewQueryMetadata} provide.\n\t *\n\t * Implements an iterable interface, therefore it can be used in both ES6\n\t * javascript `for (var i of items)` loops as well as in Angular templates with\n\t * `*ngFor=\"let i of myList\"`.\n\t *\n\t * Changes can be observed by subscribing to the changes `Observable`.\n\t *\n\t * NOTE: In the future this class will implement an `Observable` interface.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/RX8sJnQYl9FWuSCWme5z?p=preview))\n\t * ```typescript\n\t * @Component({...})\n\t * class Container {\n\t * @ViewChildren(Item) items:QueryList<Item>;\n\t * }\n\t * ```\n\t * @stable\n\t */\n\t var QueryList = (function () {\n\t function QueryList() {\n\t this._dirty = true;\n\t this._results = [];\n\t this._emitter = new EventEmitter();\n\t }\n\t Object.defineProperty(QueryList.prototype, \"changes\", {\n\t get: function () { return this._emitter; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(QueryList.prototype, \"length\", {\n\t get: function () { return this._results.length; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(QueryList.prototype, \"first\", {\n\t get: function () { return this._results[0]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(QueryList.prototype, \"last\", {\n\t get: function () { return this._results[this.length - 1]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * See\n\t * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n\t */\n\t QueryList.prototype.map = function (fn) { return this._results.map(fn); };\n\t /**\n\t * See\n\t * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)\n\t */\n\t QueryList.prototype.filter = function (fn) {\n\t return this._results.filter(fn);\n\t };\n\t /**\n\t * See\n\t * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n\t */\n\t QueryList.prototype.find = function (fn) { return this._results.find(fn); };\n\t /**\n\t * See\n\t * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n\t */\n\t QueryList.prototype.reduce = function (fn, init) {\n\t return this._results.reduce(fn, init);\n\t };\n\t /**\n\t * See\n\t * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n\t */\n\t QueryList.prototype.forEach = function (fn) { this._results.forEach(fn); };\n\t /**\n\t * See\n\t * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n\t */\n\t QueryList.prototype.some = function (fn) {\n\t return this._results.some(fn);\n\t };\n\t QueryList.prototype.toArray = function () { return this._results.slice(); };\n\t QueryList.prototype[getSymbolIterator()] = function () { return this._results[getSymbolIterator()](); };\n\t QueryList.prototype.toString = function () { return this._results.toString(); };\n\t QueryList.prototype.reset = function (res) {\n\t this._results = ListWrapper.flatten(res);\n\t this._dirty = false;\n\t };\n\t QueryList.prototype.notifyOnChanges = function () { this._emitter.emit(this); };\n\t /** internal */\n\t QueryList.prototype.setDirty = function () { this._dirty = true; };\n\t Object.defineProperty(QueryList.prototype, \"dirty\", {\n\t /** internal */\n\t get: function () { return this._dirty; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return QueryList;\n\t }());\n\t\n\t var _SEPARATOR = '#';\n\t var FACTORY_CLASS_SUFFIX = 'NgFactory';\n\t /**\n\t * Configuration for SystemJsNgModuleLoader.\n\t * token.\n\t *\n\t * @experimental\n\t */\n\t var SystemJsNgModuleLoaderConfig = (function () {\n\t function SystemJsNgModuleLoaderConfig() {\n\t }\n\t return SystemJsNgModuleLoaderConfig;\n\t }());\n\t var DEFAULT_CONFIG = {\n\t factoryPathPrefix: '',\n\t factoryPathSuffix: '.ngfactory',\n\t };\n\t /**\n\t * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory\n\t * @experimental\n\t */\n\t var SystemJsNgModuleLoader = (function () {\n\t function SystemJsNgModuleLoader(_compiler, config) {\n\t this._compiler = _compiler;\n\t this._config = config || DEFAULT_CONFIG;\n\t }\n\t SystemJsNgModuleLoader.prototype.load = function (path) {\n\t var offlineMode = this._compiler instanceof Compiler;\n\t return offlineMode ? this.loadFactory(path) : this.loadAndCompile(path);\n\t };\n\t SystemJsNgModuleLoader.prototype.loadAndCompile = function (path) {\n\t var _this = this;\n\t var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1];\n\t if (exportName === undefined) {\n\t exportName = 'default';\n\t }\n\t return System.import(module)\n\t .then(function (module) { return module[exportName]; })\n\t .then(function (type) { return checkNotEmpty(type, module, exportName); })\n\t .then(function (type) { return _this._compiler.compileModuleAsync(type); });\n\t };\n\t SystemJsNgModuleLoader.prototype.loadFactory = function (path) {\n\t var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1];\n\t var factoryClassSuffix = FACTORY_CLASS_SUFFIX;\n\t if (exportName === undefined) {\n\t exportName = 'default';\n\t factoryClassSuffix = '';\n\t }\n\t return System.import(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix)\n\t .then(function (module) { return module[exportName + factoryClassSuffix]; })\n\t .then(function (factory) { return checkNotEmpty(factory, module, exportName); });\n\t };\n\t SystemJsNgModuleLoader.decorators = [\n\t { type: Injectable },\n\t ];\n\t /** @nocollapse */\n\t SystemJsNgModuleLoader.ctorParameters = [\n\t { type: Compiler, },\n\t { type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional },] },\n\t ];\n\t return SystemJsNgModuleLoader;\n\t }());\n\t function checkNotEmpty(value, modulePath, exportName) {\n\t if (!value) {\n\t throw new Error(\"Cannot find '\" + exportName + \"' in '\" + modulePath + \"'\");\n\t }\n\t return value;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$10 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Represents an Embedded Template that can be used to instantiate Embedded Views.\n\t *\n\t * You can access a `TemplateRef`, in two ways. Via a directive placed on a `<template>` element (or\n\t * directive prefixed with `*`) and have the `TemplateRef` for this Embedded View injected into the\n\t * constructor of the directive using the `TemplateRef` Token. Alternatively you can query for the\n\t * `TemplateRef` from a Component or a Directive via {@link Query}.\n\t *\n\t * To instantiate Embedded Views based on a Template, use\n\t * {@link ViewContainerRef#createEmbeddedView}, which will create the View and attach it to the\n\t * View Container.\n\t * @stable\n\t */\n\t var TemplateRef = (function () {\n\t function TemplateRef() {\n\t }\n\t Object.defineProperty(TemplateRef.prototype, \"elementRef\", {\n\t /**\n\t * The location in the View where the Embedded View logically belongs to.\n\t *\n\t * The data-binding and injection contexts of Embedded Views created from this `TemplateRef`\n\t * inherit from the contexts of this location.\n\t *\n\t * Typically new Embedded Views are attached to the View Container of this location, but in\n\t * advanced use-cases, the View can be attached to a different container while keeping the\n\t * data-binding and injection context from the original location.\n\t *\n\t */\n\t // TODO(i): rename to anchor or location\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return TemplateRef;\n\t }());\n\t var TemplateRef_ = (function (_super) {\n\t __extends$10(TemplateRef_, _super);\n\t function TemplateRef_(_parentView, _nodeIndex, _nativeElement) {\n\t _super.call(this);\n\t this._parentView = _parentView;\n\t this._nodeIndex = _nodeIndex;\n\t this._nativeElement = _nativeElement;\n\t }\n\t TemplateRef_.prototype.createEmbeddedView = function (context) {\n\t var view = this._parentView.createEmbeddedViewInternal(this._nodeIndex);\n\t view.create(context || {});\n\t return view.ref;\n\t };\n\t Object.defineProperty(TemplateRef_.prototype, \"elementRef\", {\n\t get: function () { return new ElementRef(this._nativeElement); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return TemplateRef_;\n\t }(TemplateRef));\n\t\n\t /**\n\t * Represents a container where one or more Views can be attached.\n\t *\n\t * The container can contain two kinds of Views. Host Views, created by instantiating a\n\t * {@link Component} via {@link #createComponent}, and Embedded Views, created by instantiating an\n\t * {@link TemplateRef Embedded Template} via {@link #createEmbeddedView}.\n\t *\n\t * The location of the View Container within the containing View is specified by the Anchor\n\t * `element`. Each View Container can have only one Anchor Element and each Anchor Element can only\n\t * have a single View Container.\n\t *\n\t * Root elements of Views attached to this container become siblings of the Anchor Element in\n\t * the Rendered View.\n\t *\n\t * To access a `ViewContainerRef` of an Element, you can either place a {@link Directive} injected\n\t * with `ViewContainerRef` on the Element, or you obtain it via a {@link ViewChild} query.\n\t * @stable\n\t */\n\t var ViewContainerRef = (function () {\n\t function ViewContainerRef() {\n\t }\n\t Object.defineProperty(ViewContainerRef.prototype, \"element\", {\n\t /**\n\t * Anchor element that specifies the location of this container in the containing View.\n\t * <!-- TODO: rename to anchorElement -->\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef.prototype, \"injector\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef.prototype, \"parentInjector\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef.prototype, \"length\", {\n\t /**\n\t * Returns the number of Views currently attached to this container.\n\t */\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t return ViewContainerRef;\n\t }());\n\t var ViewContainerRef_ = (function () {\n\t function ViewContainerRef_(_element) {\n\t this._element = _element;\n\t /** @internal */\n\t this._createComponentInContainerScope = wtfCreateScope('ViewContainerRef#createComponent()');\n\t /** @internal */\n\t this._insertScope = wtfCreateScope('ViewContainerRef#insert()');\n\t /** @internal */\n\t this._removeScope = wtfCreateScope('ViewContainerRef#remove()');\n\t /** @internal */\n\t this._detachScope = wtfCreateScope('ViewContainerRef#detach()');\n\t }\n\t ViewContainerRef_.prototype.get = function (index) { return this._element.nestedViews[index].ref; };\n\t Object.defineProperty(ViewContainerRef_.prototype, \"length\", {\n\t get: function () {\n\t var views = this._element.nestedViews;\n\t return isPresent(views) ? views.length : 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef_.prototype, \"element\", {\n\t get: function () { return this._element.elementRef; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef_.prototype, \"injector\", {\n\t get: function () { return this._element.injector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainerRef_.prototype, \"parentInjector\", {\n\t get: function () { return this._element.parentInjector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t // TODO(rado): profile and decide whether bounds checks should be added\n\t // to the methods below.\n\t ViewContainerRef_.prototype.createEmbeddedView = function (templateRef, context, index) {\n\t if (context === void 0) { context = null; }\n\t if (index === void 0) { index = -1; }\n\t var viewRef = templateRef.createEmbeddedView(context);\n\t this.insert(viewRef, index);\n\t return viewRef;\n\t };\n\t ViewContainerRef_.prototype.createComponent = function (componentFactory, index, injector, projectableNodes) {\n\t if (index === void 0) { index = -1; }\n\t if (injector === void 0) { injector = null; }\n\t if (projectableNodes === void 0) { projectableNodes = null; }\n\t var s = this._createComponentInContainerScope();\n\t var contextInjector = injector || this._element.parentInjector;\n\t var componentRef = componentFactory.create(contextInjector, projectableNodes);\n\t this.insert(componentRef.hostView, index);\n\t return wtfLeave(s, componentRef);\n\t };\n\t // TODO(i): refactor insert+remove into move\n\t ViewContainerRef_.prototype.insert = function (viewRef, index) {\n\t if (index === void 0) { index = -1; }\n\t var s = this._insertScope();\n\t if (index == -1)\n\t index = this.length;\n\t var viewRef_ = viewRef;\n\t this._element.attachView(viewRef_.internalView, index);\n\t return wtfLeave(s, viewRef_);\n\t };\n\t ViewContainerRef_.prototype.move = function (viewRef, currentIndex) {\n\t var s = this._insertScope();\n\t if (currentIndex == -1)\n\t return;\n\t var viewRef_ = viewRef;\n\t this._element.moveView(viewRef_.internalView, currentIndex);\n\t return wtfLeave(s, viewRef_);\n\t };\n\t ViewContainerRef_.prototype.indexOf = function (viewRef) {\n\t return this._element.nestedViews.indexOf(viewRef.internalView);\n\t };\n\t // TODO(i): rename to destroy\n\t ViewContainerRef_.prototype.remove = function (index) {\n\t if (index === void 0) { index = -1; }\n\t var s = this._removeScope();\n\t if (index == -1)\n\t index = this.length - 1;\n\t var view = this._element.detachView(index);\n\t view.destroy();\n\t // view is intentionally not returned to the client.\n\t wtfLeave(s);\n\t };\n\t // TODO(i): refactor insert+remove into move\n\t ViewContainerRef_.prototype.detach = function (index) {\n\t if (index === void 0) { index = -1; }\n\t var s = this._detachScope();\n\t if (index == -1)\n\t index = this.length - 1;\n\t var view = this._element.detachView(index);\n\t return wtfLeave(s, view.ref);\n\t };\n\t ViewContainerRef_.prototype.clear = function () {\n\t for (var i = this.length - 1; i >= 0; i--) {\n\t this.remove(i);\n\t }\n\t };\n\t return ViewContainerRef_;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var _queuedAnimations = [];\n\t /** @internal */\n\t function queueAnimationGlobally(player) {\n\t _queuedAnimations.push(player);\n\t }\n\t /** @internal */\n\t function triggerQueuedAnimations() {\n\t // this code is wrapped into a single promise such that the\n\t // onStart and onDone player callbacks are triggered outside\n\t // of the digest cycle of animations\n\t if (_queuedAnimations.length) {\n\t Promise.resolve(null).then(_triggerAnimations);\n\t }\n\t }\n\t function _triggerAnimations() {\n\t for (var i = 0; i < _queuedAnimations.length; i++) {\n\t var player = _queuedAnimations[i];\n\t player.play();\n\t }\n\t _queuedAnimations = [];\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$11 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @stable\n\t */\n\t var ViewRef = (function () {\n\t function ViewRef() {\n\t }\n\t Object.defineProperty(ViewRef.prototype, \"destroyed\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return ViewRef;\n\t }());\n\t /**\n\t * Represents an Angular View.\n\t *\n\t * <!-- TODO: move the next two paragraphs to the dev guide -->\n\t * A View is a fundamental building block of the application UI. It is the smallest grouping of\n\t * Elements which are created and destroyed together.\n\t *\n\t * Properties of elements in a View can change, but the structure (number and order) of elements in\n\t * a View cannot. Changing the structure of Elements can only be done by inserting, moving or\n\t * removing nested Views via a {@link ViewContainerRef}. Each View can contain many View Containers.\n\t * <!-- /TODO -->\n\t *\n\t * ### Example\n\t *\n\t * Given this template...\n\t *\n\t * ```\n\t * Count: {{items.length}}\n\t * <ul>\n\t * <li *ngFor=\"let item of items\">{{item}}</li>\n\t * </ul>\n\t * ```\n\t *\n\t * We have two {@link TemplateRef}s:\n\t *\n\t * Outer {@link TemplateRef}:\n\t * ```\n\t * Count: {{items.length}}\n\t * <ul>\n\t * <template ngFor let-item [ngForOf]=\"items\"></template>\n\t * </ul>\n\t * ```\n\t *\n\t * Inner {@link TemplateRef}:\n\t * ```\n\t * <li>{{item}}</li>\n\t * ```\n\t *\n\t * Notice that the original template is broken down into two separate {@link TemplateRef}s.\n\t *\n\t * The outer/inner {@link TemplateRef}s are then assembled into views like so:\n\t *\n\t * ```\n\t * <!-- ViewRef: outer-0 -->\n\t * Count: 2\n\t * <ul>\n\t * <template view-container-ref></template>\n\t * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n\t * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n\t * </ul>\n\t * <!-- /ViewRef: outer-0 -->\n\t * ```\n\t * @experimental\n\t */\n\t var EmbeddedViewRef = (function (_super) {\n\t __extends$11(EmbeddedViewRef, _super);\n\t function EmbeddedViewRef() {\n\t _super.apply(this, arguments);\n\t }\n\t Object.defineProperty(EmbeddedViewRef.prototype, \"context\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(EmbeddedViewRef.prototype, \"rootNodes\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t return EmbeddedViewRef;\n\t }(ViewRef));\n\t var ViewRef_ = (function () {\n\t function ViewRef_(_view) {\n\t this._view = _view;\n\t this._view = _view;\n\t this._originalMode = this._view.cdMode;\n\t }\n\t Object.defineProperty(ViewRef_.prototype, \"internalView\", {\n\t get: function () { return this._view; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewRef_.prototype, \"rootNodes\", {\n\t get: function () { return this._view.flatRootNodes; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewRef_.prototype, \"context\", {\n\t get: function () { return this._view.context; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewRef_.prototype, \"destroyed\", {\n\t get: function () { return this._view.destroyed; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ViewRef_.prototype.markForCheck = function () { this._view.markPathToRootAsCheckOnce(); };\n\t ViewRef_.prototype.detach = function () { this._view.cdMode = ChangeDetectorStatus.Detached; };\n\t ViewRef_.prototype.detectChanges = function () {\n\t this._view.detectChanges(false);\n\t triggerQueuedAnimations();\n\t };\n\t ViewRef_.prototype.checkNoChanges = function () { this._view.detectChanges(true); };\n\t ViewRef_.prototype.reattach = function () {\n\t this._view.cdMode = this._originalMode;\n\t this.markForCheck();\n\t };\n\t ViewRef_.prototype.onDestroy = function (callback) {\n\t if (!this._view.disposables) {\n\t this._view.disposables = [];\n\t }\n\t this._view.disposables.push(callback);\n\t };\n\t ViewRef_.prototype.destroy = function () { this._view.detachAndDestroy(); };\n\t return ViewRef_;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$12 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var EventListener = (function () {\n\t function EventListener(name, callback) {\n\t this.name = name;\n\t this.callback = callback;\n\t }\n\t ;\n\t return EventListener;\n\t }());\n\t /**\n\t * @experimental All debugging apis are currently experimental.\n\t */\n\t var DebugNode = (function () {\n\t function DebugNode(nativeNode, parent, _debugInfo) {\n\t this._debugInfo = _debugInfo;\n\t this.nativeNode = nativeNode;\n\t if (parent && parent instanceof DebugElement) {\n\t parent.addChild(this);\n\t }\n\t else {\n\t this.parent = null;\n\t }\n\t this.listeners = [];\n\t }\n\t Object.defineProperty(DebugNode.prototype, \"injector\", {\n\t get: function () { return this._debugInfo ? this._debugInfo.injector : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugNode.prototype, \"componentInstance\", {\n\t get: function () { return this._debugInfo ? this._debugInfo.component : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugNode.prototype, \"context\", {\n\t get: function () { return this._debugInfo ? this._debugInfo.context : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugNode.prototype, \"references\", {\n\t get: function () {\n\t return this._debugInfo ? this._debugInfo.references : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugNode.prototype, \"providerTokens\", {\n\t get: function () { return this._debugInfo ? this._debugInfo.providerTokens : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugNode.prototype, \"source\", {\n\t get: function () { return this._debugInfo ? this._debugInfo.source : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return DebugNode;\n\t }());\n\t /**\n\t * @experimental All debugging apis are currently experimental.\n\t */\n\t var DebugElement = (function (_super) {\n\t __extends$12(DebugElement, _super);\n\t function DebugElement(nativeNode, parent, _debugInfo) {\n\t _super.call(this, nativeNode, parent, _debugInfo);\n\t this.properties = {};\n\t this.attributes = {};\n\t this.classes = {};\n\t this.styles = {};\n\t this.childNodes = [];\n\t this.nativeElement = nativeNode;\n\t }\n\t DebugElement.prototype.addChild = function (child) {\n\t if (child) {\n\t this.childNodes.push(child);\n\t child.parent = this;\n\t }\n\t };\n\t DebugElement.prototype.removeChild = function (child) {\n\t var childIndex = this.childNodes.indexOf(child);\n\t if (childIndex !== -1) {\n\t child.parent = null;\n\t this.childNodes.splice(childIndex, 1);\n\t }\n\t };\n\t DebugElement.prototype.insertChildrenAfter = function (child, newChildren) {\n\t var siblingIndex = this.childNodes.indexOf(child);\n\t if (siblingIndex !== -1) {\n\t var previousChildren = this.childNodes.slice(0, siblingIndex + 1);\n\t var nextChildren = this.childNodes.slice(siblingIndex + 1);\n\t this.childNodes = previousChildren.concat(newChildren, nextChildren);\n\t for (var i = 0; i < newChildren.length; ++i) {\n\t var newChild = newChildren[i];\n\t if (newChild.parent) {\n\t newChild.parent.removeChild(newChild);\n\t }\n\t newChild.parent = this;\n\t }\n\t }\n\t };\n\t DebugElement.prototype.query = function (predicate) {\n\t var results = this.queryAll(predicate);\n\t return results[0] || null;\n\t };\n\t DebugElement.prototype.queryAll = function (predicate) {\n\t var matches = [];\n\t _queryElementChildren(this, predicate, matches);\n\t return matches;\n\t };\n\t DebugElement.prototype.queryAllNodes = function (predicate) {\n\t var matches = [];\n\t _queryNodeChildren(this, predicate, matches);\n\t return matches;\n\t };\n\t Object.defineProperty(DebugElement.prototype, \"children\", {\n\t get: function () {\n\t return this.childNodes.filter(function (node) { return node instanceof DebugElement; });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t DebugElement.prototype.triggerEventHandler = function (eventName, eventObj) {\n\t this.listeners.forEach(function (listener) {\n\t if (listener.name == eventName) {\n\t listener.callback(eventObj);\n\t }\n\t });\n\t };\n\t return DebugElement;\n\t }(DebugNode));\n\t /**\n\t * @experimental\n\t */\n\t function asNativeElements(debugEls) {\n\t return debugEls.map(function (el) { return el.nativeElement; });\n\t }\n\t function _queryElementChildren(element, predicate, matches) {\n\t element.childNodes.forEach(function (node) {\n\t if (node instanceof DebugElement) {\n\t if (predicate(node)) {\n\t matches.push(node);\n\t }\n\t _queryElementChildren(node, predicate, matches);\n\t }\n\t });\n\t }\n\t function _queryNodeChildren(parentNode, predicate, matches) {\n\t if (parentNode instanceof DebugElement) {\n\t parentNode.childNodes.forEach(function (node) {\n\t if (predicate(node)) {\n\t matches.push(node);\n\t }\n\t if (node instanceof DebugElement) {\n\t _queryNodeChildren(node, predicate, matches);\n\t }\n\t });\n\t }\n\t }\n\t // Need to keep the nodes in a global Map so that multiple angular apps are supported.\n\t var _nativeNodeToDebugNode = new Map();\n\t /**\n\t * @experimental\n\t */\n\t function getDebugNode(nativeNode) {\n\t return _nativeNodeToDebugNode.get(nativeNode);\n\t }\n\t function indexDebugNode(node) {\n\t _nativeNodeToDebugNode.set(node.nativeNode, node);\n\t }\n\t function removeDebugNodeFromIndex(node) {\n\t _nativeNodeToDebugNode.delete(node.nativeNode);\n\t }\n\t\n\t function _reflector() {\n\t return reflector;\n\t }\n\t var _CORE_PLATFORM_PROVIDERS = [\n\t PlatformRef_,\n\t { provide: PlatformRef, useExisting: PlatformRef_ },\n\t { provide: Reflector, useFactory: _reflector, deps: [] },\n\t { provide: ReflectorReader, useExisting: Reflector },\n\t TestabilityRegistry,\n\t Console,\n\t ];\n\t /**\n\t * This platform has to be included in any other platform\n\t *\n\t * @experimental\n\t */\n\t var platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS);\n\t\n\t /**\n\t * @experimental i18n support is experimental.\n\t */\n\t var LOCALE_ID = new OpaqueToken('LocaleId');\n\t /**\n\t * @experimental i18n support is experimental.\n\t */\n\t var TRANSLATIONS = new OpaqueToken('Translations');\n\t /**\n\t * @experimental i18n support is experimental.\n\t */\n\t var TRANSLATIONS_FORMAT = new OpaqueToken('TranslationsFormat');\n\t\n\t function _iterableDiffersFactory() {\n\t return defaultIterableDiffers;\n\t }\n\t function _keyValueDiffersFactory() {\n\t return defaultKeyValueDiffers;\n\t }\n\t /**\n\t * This module includes the providers of @angular/core that are needed\n\t * to bootstrap components via `ApplicationRef`.\n\t *\n\t * @experimental\n\t */\n\t var ApplicationModule = (function () {\n\t function ApplicationModule() {\n\t }\n\t ApplicationModule.decorators = [\n\t { type: NgModule, args: [{\n\t providers: [\n\t ApplicationRef_,\n\t { provide: ApplicationRef, useExisting: ApplicationRef_ },\n\t ApplicationInitStatus,\n\t Compiler,\n\t APP_ID_RANDOM_PROVIDER,\n\t ViewUtils,\n\t { provide: IterableDiffers, useFactory: _iterableDiffersFactory },\n\t { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory },\n\t { provide: LOCALE_ID, useValue: 'en-US' },\n\t ]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t ApplicationModule.ctorParameters = [];\n\t return ApplicationModule;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var FILL_STYLE_FLAG = 'true'; // TODO (matsko): change to boolean\n\t var ANY_STATE = '*';\n\t var DEFAULT_STATE = '*';\n\t var EMPTY_STATE = 'void';\n\t\n\t var AnimationGroupPlayer = (function () {\n\t function AnimationGroupPlayer(_players) {\n\t var _this = this;\n\t this._players = _players;\n\t this._onDoneFns = [];\n\t this._onStartFns = [];\n\t this._finished = false;\n\t this._started = false;\n\t this._destroyed = false;\n\t this.parentPlayer = null;\n\t var count = 0;\n\t var total = this._players.length;\n\t if (total == 0) {\n\t scheduleMicroTask(function () { return _this._onFinish(); });\n\t }\n\t else {\n\t this._players.forEach(function (player) {\n\t player.parentPlayer = _this;\n\t player.onDone(function () {\n\t if (++count >= total) {\n\t _this._onFinish();\n\t }\n\t });\n\t });\n\t }\n\t }\n\t AnimationGroupPlayer.prototype._onFinish = function () {\n\t if (!this._finished) {\n\t this._finished = true;\n\t this._onDoneFns.forEach(function (fn) { return fn(); });\n\t this._onDoneFns = [];\n\t }\n\t };\n\t AnimationGroupPlayer.prototype.init = function () { this._players.forEach(function (player) { return player.init(); }); };\n\t AnimationGroupPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n\t AnimationGroupPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n\t AnimationGroupPlayer.prototype.hasStarted = function () { return this._started; };\n\t AnimationGroupPlayer.prototype.play = function () {\n\t if (!isPresent(this.parentPlayer)) {\n\t this.init();\n\t }\n\t if (!this.hasStarted()) {\n\t this._onStartFns.forEach(function (fn) { return fn(); });\n\t this._onStartFns = [];\n\t this._started = true;\n\t }\n\t this._players.forEach(function (player) { return player.play(); });\n\t };\n\t AnimationGroupPlayer.prototype.pause = function () { this._players.forEach(function (player) { return player.pause(); }); };\n\t AnimationGroupPlayer.prototype.restart = function () { this._players.forEach(function (player) { return player.restart(); }); };\n\t AnimationGroupPlayer.prototype.finish = function () {\n\t this._onFinish();\n\t this._players.forEach(function (player) { return player.finish(); });\n\t };\n\t AnimationGroupPlayer.prototype.destroy = function () {\n\t if (!this._destroyed) {\n\t this._onFinish();\n\t this._players.forEach(function (player) { return player.destroy(); });\n\t this._destroyed = true;\n\t }\n\t };\n\t AnimationGroupPlayer.prototype.reset = function () {\n\t this._players.forEach(function (player) { return player.reset(); });\n\t this._destroyed = false;\n\t this._finished = false;\n\t this._started = false;\n\t };\n\t AnimationGroupPlayer.prototype.setPosition = function (p) {\n\t this._players.forEach(function (player) { player.setPosition(p); });\n\t };\n\t AnimationGroupPlayer.prototype.getPosition = function () {\n\t var min = 0;\n\t this._players.forEach(function (player) {\n\t var p = player.getPosition();\n\t min = Math.min(p, min);\n\t });\n\t return min;\n\t };\n\t Object.defineProperty(AnimationGroupPlayer.prototype, \"players\", {\n\t get: function () { return this._players; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationGroupPlayer;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var AnimationKeyframe = (function () {\n\t function AnimationKeyframe(offset, styles) {\n\t this.offset = offset;\n\t this.styles = styles;\n\t }\n\t return AnimationKeyframe;\n\t }());\n\t\n\t /**\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationPlayer = (function () {\n\t function AnimationPlayer() {\n\t }\n\t Object.defineProperty(AnimationPlayer.prototype, \"parentPlayer\", {\n\t get: function () { throw new Error('NOT IMPLEMENTED: Base Class'); },\n\t set: function (player) { throw new Error('NOT IMPLEMENTED: Base Class'); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationPlayer;\n\t }());\n\t var NoOpAnimationPlayer = (function () {\n\t function NoOpAnimationPlayer() {\n\t var _this = this;\n\t this._onDoneFns = [];\n\t this._onStartFns = [];\n\t this._started = false;\n\t this.parentPlayer = null;\n\t scheduleMicroTask(function () { return _this._onFinish(); });\n\t }\n\t /** @internal */\n\t NoOpAnimationPlayer.prototype._onFinish = function () {\n\t this._onDoneFns.forEach(function (fn) { return fn(); });\n\t this._onDoneFns = [];\n\t };\n\t NoOpAnimationPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n\t NoOpAnimationPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n\t NoOpAnimationPlayer.prototype.hasStarted = function () { return this._started; };\n\t NoOpAnimationPlayer.prototype.init = function () { };\n\t NoOpAnimationPlayer.prototype.play = function () {\n\t if (!this.hasStarted()) {\n\t this._onStartFns.forEach(function (fn) { return fn(); });\n\t this._onStartFns = [];\n\t }\n\t this._started = true;\n\t };\n\t NoOpAnimationPlayer.prototype.pause = function () { };\n\t NoOpAnimationPlayer.prototype.restart = function () { };\n\t NoOpAnimationPlayer.prototype.finish = function () { this._onFinish(); };\n\t NoOpAnimationPlayer.prototype.destroy = function () { };\n\t NoOpAnimationPlayer.prototype.reset = function () { };\n\t NoOpAnimationPlayer.prototype.setPosition = function (p) { };\n\t NoOpAnimationPlayer.prototype.getPosition = function () { return 0; };\n\t return NoOpAnimationPlayer;\n\t }());\n\t\n\t var AnimationSequencePlayer = (function () {\n\t function AnimationSequencePlayer(_players) {\n\t var _this = this;\n\t this._players = _players;\n\t this._currentIndex = 0;\n\t this._onDoneFns = [];\n\t this._onStartFns = [];\n\t this._finished = false;\n\t this._started = false;\n\t this._destroyed = false;\n\t this.parentPlayer = null;\n\t this._players.forEach(function (player) { player.parentPlayer = _this; });\n\t this._onNext(false);\n\t }\n\t AnimationSequencePlayer.prototype._onNext = function (start) {\n\t var _this = this;\n\t if (this._finished)\n\t return;\n\t if (this._players.length == 0) {\n\t this._activePlayer = new NoOpAnimationPlayer();\n\t scheduleMicroTask(function () { return _this._onFinish(); });\n\t }\n\t else if (this._currentIndex >= this._players.length) {\n\t this._activePlayer = new NoOpAnimationPlayer();\n\t this._onFinish();\n\t }\n\t else {\n\t var player = this._players[this._currentIndex++];\n\t player.onDone(function () { return _this._onNext(true); });\n\t this._activePlayer = player;\n\t if (start) {\n\t player.play();\n\t }\n\t }\n\t };\n\t AnimationSequencePlayer.prototype._onFinish = function () {\n\t if (!this._finished) {\n\t this._finished = true;\n\t this._onDoneFns.forEach(function (fn) { return fn(); });\n\t this._onDoneFns = [];\n\t }\n\t };\n\t AnimationSequencePlayer.prototype.init = function () { this._players.forEach(function (player) { return player.init(); }); };\n\t AnimationSequencePlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n\t AnimationSequencePlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n\t AnimationSequencePlayer.prototype.hasStarted = function () { return this._started; };\n\t AnimationSequencePlayer.prototype.play = function () {\n\t if (!isPresent(this.parentPlayer)) {\n\t this.init();\n\t }\n\t if (!this.hasStarted()) {\n\t this._onStartFns.forEach(function (fn) { return fn(); });\n\t this._onStartFns = [];\n\t this._started = true;\n\t }\n\t this._activePlayer.play();\n\t };\n\t AnimationSequencePlayer.prototype.pause = function () { this._activePlayer.pause(); };\n\t AnimationSequencePlayer.prototype.restart = function () {\n\t this.reset();\n\t if (this._players.length > 0) {\n\t this._players[0].restart();\n\t }\n\t };\n\t AnimationSequencePlayer.prototype.reset = function () {\n\t this._players.forEach(function (player) { return player.reset(); });\n\t this._destroyed = false;\n\t this._finished = false;\n\t this._started = false;\n\t };\n\t AnimationSequencePlayer.prototype.finish = function () {\n\t this._onFinish();\n\t this._players.forEach(function (player) { return player.finish(); });\n\t };\n\t AnimationSequencePlayer.prototype.destroy = function () {\n\t if (!this._destroyed) {\n\t this._onFinish();\n\t this._players.forEach(function (player) { return player.destroy(); });\n\t this._destroyed = true;\n\t this._activePlayer = new NoOpAnimationPlayer();\n\t }\n\t };\n\t AnimationSequencePlayer.prototype.setPosition = function (p) { this._players[0].setPosition(p); };\n\t AnimationSequencePlayer.prototype.getPosition = function () { return this._players[0].getPosition(); };\n\t Object.defineProperty(AnimationSequencePlayer.prototype, \"players\", {\n\t get: function () { return this._players; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationSequencePlayer;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$13 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @experimental Animation support is experimental.\n\t */\n\t var AUTO_STYLE = '*';\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link trigger trigger\n\t * animation function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationEntryMetadata = (function () {\n\t function AnimationEntryMetadata(name, definitions) {\n\t this.name = name;\n\t this.definitions = definitions;\n\t }\n\t return AnimationEntryMetadata;\n\t }());\n\t /**\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationStateMetadata = (function () {\n\t function AnimationStateMetadata() {\n\t }\n\t return AnimationStateMetadata;\n\t }());\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link state state animation\n\t * function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationStateDeclarationMetadata = (function (_super) {\n\t __extends$13(AnimationStateDeclarationMetadata, _super);\n\t function AnimationStateDeclarationMetadata(stateNameExpr, styles) {\n\t _super.call(this);\n\t this.stateNameExpr = stateNameExpr;\n\t this.styles = styles;\n\t }\n\t return AnimationStateDeclarationMetadata;\n\t }(AnimationStateMetadata));\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the\n\t * {@link transition transition animation function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationStateTransitionMetadata = (function (_super) {\n\t __extends$13(AnimationStateTransitionMetadata, _super);\n\t function AnimationStateTransitionMetadata(stateChangeExpr, steps) {\n\t _super.call(this);\n\t this.stateChangeExpr = stateChangeExpr;\n\t this.steps = steps;\n\t }\n\t return AnimationStateTransitionMetadata;\n\t }(AnimationStateMetadata));\n\t /**\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationMetadata = (function () {\n\t function AnimationMetadata() {\n\t }\n\t return AnimationMetadata;\n\t }());\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link keyframes keyframes\n\t * animation function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationKeyframesSequenceMetadata = (function (_super) {\n\t __extends$13(AnimationKeyframesSequenceMetadata, _super);\n\t function AnimationKeyframesSequenceMetadata(steps) {\n\t _super.call(this);\n\t this.steps = steps;\n\t }\n\t return AnimationKeyframesSequenceMetadata;\n\t }(AnimationMetadata));\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link style style animation\n\t * function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationStyleMetadata = (function (_super) {\n\t __extends$13(AnimationStyleMetadata, _super);\n\t function AnimationStyleMetadata(styles, offset) {\n\t if (offset === void 0) { offset = null; }\n\t _super.call(this);\n\t this.styles = styles;\n\t this.offset = offset;\n\t }\n\t return AnimationStyleMetadata;\n\t }(AnimationMetadata));\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link animate animate\n\t * animation function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationAnimateMetadata = (function (_super) {\n\t __extends$13(AnimationAnimateMetadata, _super);\n\t function AnimationAnimateMetadata(timings, styles) {\n\t _super.call(this);\n\t this.timings = timings;\n\t this.styles = styles;\n\t }\n\t return AnimationAnimateMetadata;\n\t }(AnimationMetadata));\n\t /**\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationWithStepsMetadata = (function (_super) {\n\t __extends$13(AnimationWithStepsMetadata, _super);\n\t function AnimationWithStepsMetadata() {\n\t _super.call(this);\n\t }\n\t Object.defineProperty(AnimationWithStepsMetadata.prototype, \"steps\", {\n\t get: function () { throw new Error('NOT IMPLEMENTED: Base Class'); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationWithStepsMetadata;\n\t }(AnimationMetadata));\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link sequence sequence\n\t * animation function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationSequenceMetadata = (function (_super) {\n\t __extends$13(AnimationSequenceMetadata, _super);\n\t function AnimationSequenceMetadata(_steps) {\n\t _super.call(this);\n\t this._steps = _steps;\n\t }\n\t Object.defineProperty(AnimationSequenceMetadata.prototype, \"steps\", {\n\t get: function () { return this._steps; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationSequenceMetadata;\n\t }(AnimationWithStepsMetadata));\n\t /**\n\t * Metadata representing the entry of animations.\n\t * Instances of this class are provided via the animation DSL when the {@link group group animation\n\t * function} is called.\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationGroupMetadata = (function (_super) {\n\t __extends$13(AnimationGroupMetadata, _super);\n\t function AnimationGroupMetadata(_steps) {\n\t _super.call(this);\n\t this._steps = _steps;\n\t }\n\t Object.defineProperty(AnimationGroupMetadata.prototype, \"steps\", {\n\t get: function () { return this._steps; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AnimationGroupMetadata;\n\t }(AnimationWithStepsMetadata));\n\t /**\n\t * `animate` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `animate` specifies an animation step that will apply the provided `styles` data for a given\n\t * amount of\n\t * time based on the provided `timing` expression value. Calls to `animate` are expected to be\n\t * used within {@link sequence an animation sequence}, {@link group group}, or {@link transition\n\t * transition}.\n\t *\n\t * ### Usage\n\t *\n\t * The `animate` function accepts two input parameters: `timing` and `styles`:\n\t *\n\t * - `timing` is a string based value that can be a combination of a duration with optional\n\t * delay and easing values. The format for the expression breaks down to `duration delay easing`\n\t * (therefore a value such as `1s 100ms ease-out` will be parse itself into `duration=1000,\n\t * delay=100, easing=ease-out`.\n\t * If a numeric value is provided then that will be used as the `duration` value in millisecond\n\t * form.\n\t * - `styles` is the style input data which can either be a call to {@link style style} or {@link\n\t * keyframes keyframes}.\n\t * If left empty then the styles from the destination state will be collected and used (this is\n\t * useful when\n\t * describing an animation step that will complete an animation by {@link\n\t * transition#the-final-animate-call animating to the final state}).\n\t *\n\t * ```typescript\n\t * // various functions for specifying timing data\n\t * animate(500, style(...))\n\t * animate(\"1s\", style(...))\n\t * animate(\"100ms 0.5s\", style(...))\n\t * animate(\"5s ease\", style(...))\n\t * animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\", style(...))\n\t *\n\t * // either style() of keyframes() can be used\n\t * animate(500, style({ background: \"red\" }))\n\t * animate(500, keyframes([\n\t * style({ background: \"blue\" })),\n\t * style({ background: \"red\" }))\n\t * ])\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function animate(timing, styles) {\n\t if (styles === void 0) { styles = null; }\n\t var stylesEntry = styles;\n\t if (!isPresent(stylesEntry)) {\n\t var EMPTY_STYLE = {};\n\t stylesEntry = new AnimationStyleMetadata([EMPTY_STYLE], 1);\n\t }\n\t return new AnimationAnimateMetadata(timing, stylesEntry);\n\t }\n\t /**\n\t * `group` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `group` specifies a list of animation steps that are all run in parallel. Grouped animations\n\t * are useful when a series of styles must be animated/closed off\n\t * at different statrting/ending times.\n\t *\n\t * The `group` function can either be used within a {@link sequence sequence} or a {@link transition\n\t * transition}\n\t * and it will only continue to the next instruction once all of the inner animation steps\n\t * have completed.\n\t *\n\t * ### Usage\n\t *\n\t * The `steps` data that is passed into the `group` animation function can either consist\n\t * of {@link style style} or {@link animate animate} function calls. Each call to `style()` or\n\t * `animate()`\n\t * within a group will be executed instantly (use {@link keyframes keyframes} or a\n\t * {@link animate#usage animate() with a delay value} to offset styles to be applied at a later\n\t * time).\n\t *\n\t * ```typescript\n\t * group([\n\t * animate(\"1s\", { background: \"black\" }))\n\t * animate(\"2s\", { color: \"white\" }))\n\t * ])\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function group(steps) {\n\t return new AnimationGroupMetadata(steps);\n\t }\n\t /**\n\t * `sequence` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `sequence` Specifies a list of animation steps that are run one by one. (`sequence` is used\n\t * by default when an array is passed as animation data into {@link transition transition}.)\n\t *\n\t * The `sequence` function can either be used within a {@link group group} or a {@link transition\n\t * transition}\n\t * and it will only continue to the next instruction once each of the inner animation steps\n\t * have completed.\n\t *\n\t * To perform animation styling in parallel with other animation steps then\n\t * have a look at the {@link group group} animation function.\n\t *\n\t * ### Usage\n\t *\n\t * The `steps` data that is passed into the `sequence` animation function can either consist\n\t * of {@link style style} or {@link animate animate} function calls. A call to `style()` will apply\n\t * the\n\t * provided styling data immediately while a call to `animate()` will apply its styling\n\t * data over a given time depending on its timing data.\n\t *\n\t * ```typescript\n\t * sequence([\n\t * style({ opacity: 0 })),\n\t * animate(\"1s\", { opacity: 1 }))\n\t * ])\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function sequence(steps) {\n\t return new AnimationSequenceMetadata(steps);\n\t }\n\t /**\n\t * `style` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `style` declares a key/value object containing CSS properties/styles that can then\n\t * be used for {@link state animation states}, within an {@link sequence animation sequence}, or as\n\t * styling data for both {@link animate animate} and {@link keyframes keyframes}.\n\t *\n\t * ### Usage\n\t *\n\t * `style` takes in a key/value string map as data and expects one or more CSS property/value\n\t * pairs to be defined.\n\t *\n\t * ```typescript\n\t * // string values are used for css properties\n\t * style({ background: \"red\", color: \"blue\" })\n\t *\n\t * // numerical (pixel) values are also supported\n\t * style({ width: 100, height: 0 })\n\t * ```\n\t *\n\t * #### Auto-styles (using `*`)\n\t *\n\t * When an asterix (`*`) character is used as a value then it will be detected from the element\n\t * being animated\n\t * and applied as animation data when the animation starts.\n\t *\n\t * This feature proves useful for a state depending on layout and/or environment factors; in such\n\t * cases\n\t * the styles are calculated just before the animation starts.\n\t *\n\t * ```typescript\n\t * // the steps below will animate from 0 to the\n\t * // actual height of the element\n\t * style({ height: 0 }),\n\t * animate(\"1s\", style({ height: \"*\" }))\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function style(tokens) {\n\t var input;\n\t var offset = null;\n\t if (typeof tokens === 'string') {\n\t input = [tokens];\n\t }\n\t else {\n\t if (Array.isArray(tokens)) {\n\t input = tokens;\n\t }\n\t else {\n\t input = [tokens];\n\t }\n\t input.forEach(function (entry) {\n\t var entryOffset = entry['offset'];\n\t if (isPresent(entryOffset)) {\n\t offset = offset == null ? parseFloat(entryOffset) : offset;\n\t }\n\t });\n\t }\n\t return new AnimationStyleMetadata(input, offset);\n\t }\n\t /**\n\t * `state` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `state` declares an animation state within the given trigger. When a state is\n\t * active within a component then its associated styles will persist on\n\t * the element that the trigger is attached to (even when the animation ends).\n\t *\n\t * To animate between states, have a look at the animation {@link transition transition}\n\t * DSL function. To register states to an animation trigger please have a look\n\t * at the {@link trigger trigger} function.\n\t *\n\t * #### The `void` state\n\t *\n\t * The `void` state value is a reserved word that angular uses to determine when the element is not\n\t * apart\n\t * of the application anymore (e.g. when an `ngIf` evaluates to false then the state of the\n\t * associated element\n\t * is void).\n\t *\n\t * #### The `*` (default) state\n\t *\n\t * The `*` state (when styled) is a fallback state that will be used if\n\t * the state that is being animated is not declared within the trigger.\n\t *\n\t * ### Usage\n\t *\n\t * `state` will declare an animation state with its associated styles\n\t * within the given trigger.\n\t *\n\t * - `stateNameExpr` can be one or more state names separated by commas.\n\t * - `styles` refers to the {@link style styling data} that will be persisted on the element once\n\t * the state\n\t * has been reached.\n\t *\n\t * ```typescript\n\t * // \"void\" is a reserved name for a state and is used to represent\n\t * // the state in which an element is detached from from the application.\n\t * state(\"void\", style({ height: 0 }))\n\t *\n\t * // user-defined states\n\t * state(\"closed\", style({ height: 0 }))\n\t * state(\"open, visible\", style({ height: \"*\" }))\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function state(stateNameExpr, styles) {\n\t return new AnimationStateDeclarationMetadata(stateNameExpr, styles);\n\t }\n\t /**\n\t * `keyframes` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `keyframes` specifies a collection of {@link style style} entries each optionally characterized\n\t * by an `offset` value.\n\t *\n\t * ### Usage\n\t *\n\t * The `keyframes` animation function is designed to be used alongside the {@link animate animate}\n\t * animation function. Instead of applying animations from where they are\n\t * currently to their destination, keyframes can describe how each style entry is applied\n\t * and at what point within the animation arc (much like CSS Keyframe Animations do).\n\t *\n\t * For each `style()` entry an `offset` value can be set. Doing so allows to specifiy at\n\t * what percentage of the animate time the styles will be applied.\n\t *\n\t * ```typescript\n\t * // the provided offset values describe when each backgroundColor value is applied.\n\t * animate(\"5s\", keyframes([\n\t * style({ backgroundColor: \"red\", offset: 0 }),\n\t * style({ backgroundColor: \"blue\", offset: 0.2 }),\n\t * style({ backgroundColor: \"orange\", offset: 0.3 }),\n\t * style({ backgroundColor: \"black\", offset: 1 })\n\t * ]))\n\t * ```\n\t *\n\t * Alternatively, if there are no `offset` values used within the style entries then the offsets\n\t * will\n\t * be calculated automatically.\n\t *\n\t * ```typescript\n\t * animate(\"5s\", keyframes([\n\t * style({ backgroundColor: \"red\" }) // offset = 0\n\t * style({ backgroundColor: \"blue\" }) // offset = 0.33\n\t * style({ backgroundColor: \"orange\" }) // offset = 0.66\n\t * style({ backgroundColor: \"black\" }) // offset = 1\n\t * ]))\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function keyframes(steps) {\n\t return new AnimationKeyframesSequenceMetadata(steps);\n\t }\n\t /**\n\t * `transition` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `transition` declares the {@link sequence sequence of animation steps} that will be run when the\n\t * provided\n\t * `stateChangeExpr` value is satisfied. The `stateChangeExpr` consists of a `state1 => state2`\n\t * which consists\n\t * of two known states (use an asterix (`*`) to refer to a dynamic starting and/or ending state).\n\t *\n\t * Animation transitions are placed within an {@link trigger animation trigger}. For an transition\n\t * to animate to\n\t * a state value and persist its styles then one or more {@link state animation states} is expected\n\t * to be defined.\n\t *\n\t * ### Usage\n\t *\n\t * An animation transition is kicked off the `stateChangeExpr` predicate evaluates to true based on\n\t * what the\n\t * previous state is and what the current state has become. In other words, if a transition is\n\t * defined that\n\t * matches the old/current state criteria then the associated animation will be triggered.\n\t *\n\t * ```typescript\n\t * // all transition/state changes are defined within an animation trigger\n\t * trigger(\"myAnimationTrigger\", [\n\t * // if a state is defined then its styles will be persisted when the\n\t * // animation has fully completed itself\n\t * state(\"on\", style({ background: \"green\" })),\n\t * state(\"off\", style({ background: \"grey\" })),\n\t *\n\t * // a transition animation that will be kicked off when the state value\n\t * // bound to \"myAnimationTrigger\" changes from \"on\" to \"off\"\n\t * transition(\"on => off\", animate(500)),\n\t *\n\t * // it is also possible to do run the same animation for both directions\n\t * transition(\"on <=> off\", animate(500)),\n\t *\n\t * // or to define multiple states pairs separated by commas\n\t * transition(\"on => off, off => void\", animate(500)),\n\t *\n\t * // this is a catch-all state change for when an element is inserted into\n\t * // the page and the destination state is unknown\n\t * transition(\"void => *\", [\n\t * style({ opacity: 0 }),\n\t * animate(500)\n\t * ]),\n\t *\n\t * // this will capture a state change between any states\n\t * transition(\"* => *\", animate(\"1s 0s\")),\n\t * ])\n\t * ```\n\t *\n\t * The template associated with this component will make use of the `myAnimationTrigger`\n\t * animation trigger by binding to an element within its template code.\n\t *\n\t * ```html\n\t * <!-- somewhere inside of my-component-tpl.html -->\n\t * <div [@myAnimationTrigger]=\"myStatusExp\">...</div>\n\t * ```\n\t *\n\t * #### The final `animate` call\n\t *\n\t * If the final step within the transition steps is a call to `animate()` that **only**\n\t * uses a timing value with **no style data** then it will be automatically used as the final\n\t * animation\n\t * arc for the element to animate itself to the final state. This involves an automatic mix of\n\t * adding/removing CSS styles so that the element will be in the exact state it should be for the\n\t * applied state to be presented correctly.\n\t *\n\t * ```\n\t * // start off by hiding the element, but make sure that it animates properly to whatever state\n\t * // is currently active for \"myAnimationTrigger\"\n\t * transition(\"void => *\", [\n\t * style({ opacity: 0 }),\n\t * animate(500)\n\t * ])\n\t * ```\n\t *\n\t * ### Transition Aliases (`:enter` and `:leave`)\n\t *\n\t * Given that enter (insertion) and leave (removal) animations are so common,\n\t * the `transition` function accepts both `:enter` and `:leave` values which\n\t * are aliases for the `void => *` and `* => void` state changes.\n\t *\n\t * ```\n\t * transition(\":enter\", [\n\t * style({ opacity: 0 }),\n\t * animate(500, style({ opacity: 1 }))\n\t * ])\n\t * transition(\":leave\", [\n\t * animate(500, style({ opacity: 0 }))\n\t * ])\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function transition(stateChangeExpr, steps) {\n\t var animationData = Array.isArray(steps) ? new AnimationSequenceMetadata(steps) : steps;\n\t return new AnimationStateTransitionMetadata(stateChangeExpr, animationData);\n\t }\n\t /**\n\t * `trigger` is an animation-specific function that is designed to be used inside of Angular2's\n\t * animation\n\t * DSL language. If this information is new, please navigate to the\n\t * {@link Component#animations-anchor component animations metadata\n\t * page} to gain a better understanding of how animations in Angular2 are used.\n\t *\n\t * `trigger` Creates an animation trigger which will a list of {@link state state} and {@link\n\t * transition transition}\n\t * entries that will be evaluated when the expression bound to the trigger changes.\n\t *\n\t * Triggers are registered within the component annotation data under the\n\t * {@link Component#animations-anchor animations section}. An animation trigger can\n\t * be placed on an element within a template by referencing the name of the\n\t * trigger followed by the expression value that the trigger is bound to\n\t * (in the form of `[@triggerName]=\"expression\"`.\n\t *\n\t * ### Usage\n\t *\n\t * `trigger` will create an animation trigger reference based on the provided `name` value.\n\t * The provided `animation` value is expected to be an array consisting of {@link state state} and\n\t * {@link transition transition}\n\t * declarations.\n\t *\n\t * ```typescript\n\t * @Component({\n\t * selector: 'my-component',\n\t * templateUrl: 'my-component-tpl.html',\n\t * animations: [\n\t * trigger(\"myAnimationTrigger\", [\n\t * state(...),\n\t * state(...),\n\t * transition(...),\n\t * transition(...)\n\t * ])\n\t * ]\n\t * })\n\t * class MyComponent {\n\t * myStatusExp = \"something\";\n\t * }\n\t * ```\n\t *\n\t * The template associated with this component will make use of the `myAnimationTrigger`\n\t * animation trigger by binding to an element within its template code.\n\t *\n\t * ```html\n\t * <!-- somewhere inside of my-component-tpl.html -->\n\t * <div [@myAnimationTrigger]=\"myStatusExp\">...</div>\n\t * ```\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n\t *\n\t * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t function trigger(name, animation) {\n\t return new AnimationEntryMetadata(name, animation);\n\t }\n\t\n\t function prepareFinalAnimationStyles(previousStyles, newStyles, nullValue) {\n\t if (nullValue === void 0) { nullValue = null; }\n\t var finalStyles = {};\n\t Object.keys(newStyles).forEach(function (prop) {\n\t var value = newStyles[prop];\n\t finalStyles[prop] = value == AUTO_STYLE ? nullValue : value.toString();\n\t });\n\t Object.keys(previousStyles).forEach(function (prop) {\n\t if (!isPresent(finalStyles[prop])) {\n\t finalStyles[prop] = nullValue;\n\t }\n\t });\n\t return finalStyles;\n\t }\n\t function balanceAnimationKeyframes(collectedStyles, finalStateStyles, keyframes) {\n\t var limit = keyframes.length - 1;\n\t var firstKeyframe = keyframes[0];\n\t // phase 1: copy all the styles from the first keyframe into the lookup map\n\t var flatenedFirstKeyframeStyles = flattenStyles(firstKeyframe.styles.styles);\n\t var extraFirstKeyframeStyles = {};\n\t var hasExtraFirstStyles = false;\n\t Object.keys(collectedStyles).forEach(function (prop) {\n\t var value = collectedStyles[prop];\n\t // if the style is already defined in the first keyframe then\n\t // we do not replace it.\n\t if (!flatenedFirstKeyframeStyles[prop]) {\n\t flatenedFirstKeyframeStyles[prop] = value;\n\t extraFirstKeyframeStyles[prop] = value;\n\t hasExtraFirstStyles = true;\n\t }\n\t });\n\t var keyframeCollectedStyles = StringMapWrapper.merge({}, flatenedFirstKeyframeStyles);\n\t // phase 2: normalize the final keyframe\n\t var finalKeyframe = keyframes[limit];\n\t finalKeyframe.styles.styles.unshift(finalStateStyles);\n\t var flatenedFinalKeyframeStyles = flattenStyles(finalKeyframe.styles.styles);\n\t var extraFinalKeyframeStyles = {};\n\t var hasExtraFinalStyles = false;\n\t Object.keys(keyframeCollectedStyles).forEach(function (prop) {\n\t if (!isPresent(flatenedFinalKeyframeStyles[prop])) {\n\t extraFinalKeyframeStyles[prop] = AUTO_STYLE;\n\t hasExtraFinalStyles = true;\n\t }\n\t });\n\t if (hasExtraFinalStyles) {\n\t finalKeyframe.styles.styles.push(extraFinalKeyframeStyles);\n\t }\n\t Object.keys(flatenedFinalKeyframeStyles).forEach(function (prop) {\n\t if (!isPresent(flatenedFirstKeyframeStyles[prop])) {\n\t extraFirstKeyframeStyles[prop] = AUTO_STYLE;\n\t hasExtraFirstStyles = true;\n\t }\n\t });\n\t if (hasExtraFirstStyles) {\n\t firstKeyframe.styles.styles.push(extraFirstKeyframeStyles);\n\t }\n\t collectAndResolveStyles(collectedStyles, [finalStateStyles]);\n\t return keyframes;\n\t }\n\t function clearStyles(styles) {\n\t var finalStyles = {};\n\t Object.keys(styles).forEach(function (key) { finalStyles[key] = null; });\n\t return finalStyles;\n\t }\n\t function collectAndResolveStyles(collection, styles) {\n\t return styles.map(function (entry) {\n\t var stylesObj = {};\n\t Object.keys(entry).forEach(function (prop) {\n\t var value = entry[prop];\n\t if (value == FILL_STYLE_FLAG) {\n\t value = collection[prop];\n\t if (!isPresent(value)) {\n\t value = AUTO_STYLE;\n\t }\n\t }\n\t collection[prop] = value;\n\t stylesObj[prop] = value;\n\t });\n\t return stylesObj;\n\t });\n\t }\n\t function renderStyles(element, renderer, styles) {\n\t Object.keys(styles).forEach(function (prop) { renderer.setElementStyle(element, prop, styles[prop]); });\n\t }\n\t function flattenStyles(styles) {\n\t var finalStyles = {};\n\t styles.forEach(function (entry) {\n\t Object.keys(entry).forEach(function (prop) { finalStyles[prop] = entry[prop]; });\n\t });\n\t return finalStyles;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var AnimationStyles = (function () {\n\t function AnimationStyles(styles) {\n\t this.styles = styles;\n\t }\n\t return AnimationStyles;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * An instance of this class is returned as an event parameter when an animation\n\t * callback is captured for an animation either during the start or done phase.\n\t *\n\t * ```typescript\n\t * @Component({\n\t * host: {\n\t * '[@myAnimationTrigger]': 'someExpression',\n\t * '(@myAnimationTrigger.start)': 'captureStartEvent($event)',\n\t * '(@myAnimationTrigger.done)': 'captureDoneEvent($event)',\n\t * },\n\t * animations: [\n\t * trigger(\"myAnimationTrigger\", [\n\t * // ...\n\t * ])\n\t * ]\n\t * })\n\t * class MyComponent {\n\t * someExpression: any = false;\n\t * captureStartEvent(event: AnimationTransitionEvent) {\n\t * // the toState, fromState and totalTime data is accessible from the event variable\n\t * }\n\t *\n\t * captureDoneEvent(event: AnimationTransitionEvent) {\n\t * // the toState, fromState and totalTime data is accessible from the event variable\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @experimental Animation support is experimental.\n\t */\n\t var AnimationTransitionEvent = (function () {\n\t function AnimationTransitionEvent(_a) {\n\t var fromState = _a.fromState, toState = _a.toState, totalTime = _a.totalTime, phaseName = _a.phaseName;\n\t this.fromState = fromState;\n\t this.toState = toState;\n\t this.totalTime = totalTime;\n\t this.phaseName = phaseName;\n\t }\n\t return AnimationTransitionEvent;\n\t }());\n\t\n\t var AnimationTransition = (function () {\n\t function AnimationTransition(_player, _fromState, _toState, _totalTime) {\n\t this._player = _player;\n\t this._fromState = _fromState;\n\t this._toState = _toState;\n\t this._totalTime = _totalTime;\n\t }\n\t AnimationTransition.prototype._createEvent = function (phaseName) {\n\t return new AnimationTransitionEvent({\n\t fromState: this._fromState,\n\t toState: this._toState,\n\t totalTime: this._totalTime,\n\t phaseName: phaseName\n\t });\n\t };\n\t AnimationTransition.prototype.onStart = function (callback) {\n\t var event = this._createEvent('start');\n\t this._player.onStart(function () { return callback(event); });\n\t };\n\t AnimationTransition.prototype.onDone = function (callback) {\n\t var event = this._createEvent('done');\n\t this._player.onDone(function () { return callback(event); });\n\t };\n\t return AnimationTransition;\n\t }());\n\t\n\t var DebugDomRootRenderer = (function () {\n\t function DebugDomRootRenderer(_delegate) {\n\t this._delegate = _delegate;\n\t }\n\t DebugDomRootRenderer.prototype.renderComponent = function (componentProto) {\n\t return new DebugDomRenderer(this._delegate.renderComponent(componentProto));\n\t };\n\t return DebugDomRootRenderer;\n\t }());\n\t var DebugDomRenderer = (function () {\n\t function DebugDomRenderer(_delegate) {\n\t this._delegate = _delegate;\n\t }\n\t DebugDomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\n\t var nativeEl = this._delegate.selectRootElement(selectorOrNode, debugInfo);\n\t var debugEl = new DebugElement(nativeEl, null, debugInfo);\n\t indexDebugNode(debugEl);\n\t return nativeEl;\n\t };\n\t DebugDomRenderer.prototype.createElement = function (parentElement, name, debugInfo) {\n\t var nativeEl = this._delegate.createElement(parentElement, name, debugInfo);\n\t var debugEl = new DebugElement(nativeEl, getDebugNode(parentElement), debugInfo);\n\t debugEl.name = name;\n\t indexDebugNode(debugEl);\n\t return nativeEl;\n\t };\n\t DebugDomRenderer.prototype.createViewRoot = function (hostElement) { return this._delegate.createViewRoot(hostElement); };\n\t DebugDomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\n\t var comment = this._delegate.createTemplateAnchor(parentElement, debugInfo);\n\t var debugEl = new DebugNode(comment, getDebugNode(parentElement), debugInfo);\n\t indexDebugNode(debugEl);\n\t return comment;\n\t };\n\t DebugDomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\n\t var text = this._delegate.createText(parentElement, value, debugInfo);\n\t var debugEl = new DebugNode(text, getDebugNode(parentElement), debugInfo);\n\t indexDebugNode(debugEl);\n\t return text;\n\t };\n\t DebugDomRenderer.prototype.projectNodes = function (parentElement, nodes) {\n\t var debugParent = getDebugNode(parentElement);\n\t if (isPresent(debugParent) && debugParent instanceof DebugElement) {\n\t var debugElement_1 = debugParent;\n\t nodes.forEach(function (node) { debugElement_1.addChild(getDebugNode(node)); });\n\t }\n\t this._delegate.projectNodes(parentElement, nodes);\n\t };\n\t DebugDomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) {\n\t var debugNode = getDebugNode(node);\n\t if (isPresent(debugNode)) {\n\t var debugParent = debugNode.parent;\n\t if (viewRootNodes.length > 0 && isPresent(debugParent)) {\n\t var debugViewRootNodes_1 = [];\n\t viewRootNodes.forEach(function (rootNode) { return debugViewRootNodes_1.push(getDebugNode(rootNode)); });\n\t debugParent.insertChildrenAfter(debugNode, debugViewRootNodes_1);\n\t }\n\t }\n\t this._delegate.attachViewAfter(node, viewRootNodes);\n\t };\n\t DebugDomRenderer.prototype.detachView = function (viewRootNodes) {\n\t viewRootNodes.forEach(function (node) {\n\t var debugNode = getDebugNode(node);\n\t if (isPresent(debugNode) && isPresent(debugNode.parent)) {\n\t debugNode.parent.removeChild(debugNode);\n\t }\n\t });\n\t this._delegate.detachView(viewRootNodes);\n\t };\n\t DebugDomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\n\t viewAllNodes = viewAllNodes || [];\n\t viewAllNodes.forEach(function (node) { removeDebugNodeFromIndex(getDebugNode(node)); });\n\t this._delegate.destroyView(hostElement, viewAllNodes);\n\t };\n\t DebugDomRenderer.prototype.listen = function (renderElement, name, callback) {\n\t var debugEl = getDebugNode(renderElement);\n\t if (isPresent(debugEl)) {\n\t debugEl.listeners.push(new EventListener(name, callback));\n\t }\n\t return this._delegate.listen(renderElement, name, callback);\n\t };\n\t DebugDomRenderer.prototype.listenGlobal = function (target, name, callback) {\n\t return this._delegate.listenGlobal(target, name, callback);\n\t };\n\t DebugDomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\n\t var debugEl = getDebugNode(renderElement);\n\t if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n\t debugEl.properties[propertyName] = propertyValue;\n\t }\n\t this._delegate.setElementProperty(renderElement, propertyName, propertyValue);\n\t };\n\t DebugDomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\n\t var debugEl = getDebugNode(renderElement);\n\t if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n\t debugEl.attributes[attributeName] = attributeValue;\n\t }\n\t this._delegate.setElementAttribute(renderElement, attributeName, attributeValue);\n\t };\n\t DebugDomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\n\t this._delegate.setBindingDebugInfo(renderElement, propertyName, propertyValue);\n\t };\n\t DebugDomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\n\t var debugEl = getDebugNode(renderElement);\n\t if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n\t debugEl.classes[className] = isAdd;\n\t }\n\t this._delegate.setElementClass(renderElement, className, isAdd);\n\t };\n\t DebugDomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\n\t var debugEl = getDebugNode(renderElement);\n\t if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n\t debugEl.styles[styleName] = styleValue;\n\t }\n\t this._delegate.setElementStyle(renderElement, styleName, styleValue);\n\t };\n\t DebugDomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\n\t this._delegate.invokeElementMethod(renderElement, methodName, args);\n\t };\n\t DebugDomRenderer.prototype.setText = function (renderNode, text) { this._delegate.setText(renderNode, text); };\n\t DebugDomRenderer.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n\t if (previousPlayers === void 0) { previousPlayers = []; }\n\t return this._delegate.animate(element, startingStyles, keyframes, duration, delay, easing, previousPlayers);\n\t };\n\t return DebugDomRenderer;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var ViewType;\n\t (function (ViewType) {\n\t // A view that contains the host element with bound component directive.\n\t // Contains a COMPONENT view\n\t ViewType[ViewType[\"HOST\"] = 0] = \"HOST\";\n\t // The view of the component\n\t // Can contain 0 to n EMBEDDED views\n\t ViewType[ViewType[\"COMPONENT\"] = 1] = \"COMPONENT\";\n\t // A view that is embedded into another View via a <template> element\n\t // inside of a COMPONENT view\n\t ViewType[ViewType[\"EMBEDDED\"] = 2] = \"EMBEDDED\";\n\t })(ViewType || (ViewType = {}));\n\t\n\t var StaticNodeDebugInfo = (function () {\n\t function StaticNodeDebugInfo(providerTokens, componentToken, refTokens) {\n\t this.providerTokens = providerTokens;\n\t this.componentToken = componentToken;\n\t this.refTokens = refTokens;\n\t }\n\t return StaticNodeDebugInfo;\n\t }());\n\t var DebugContext = (function () {\n\t function DebugContext(_view, _nodeIndex, _tplRow, _tplCol) {\n\t this._view = _view;\n\t this._nodeIndex = _nodeIndex;\n\t this._tplRow = _tplRow;\n\t this._tplCol = _tplCol;\n\t }\n\t Object.defineProperty(DebugContext.prototype, \"_staticNodeInfo\", {\n\t get: function () {\n\t return isPresent(this._nodeIndex) ? this._view.staticNodeDebugInfos[this._nodeIndex] : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"context\", {\n\t get: function () { return this._view.context; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"component\", {\n\t get: function () {\n\t var staticNodeInfo = this._staticNodeInfo;\n\t if (isPresent(staticNodeInfo) && isPresent(staticNodeInfo.componentToken)) {\n\t return this.injector.get(staticNodeInfo.componentToken);\n\t }\n\t return null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"componentRenderElement\", {\n\t get: function () {\n\t var componentView = this._view;\n\t while (isPresent(componentView.parentView) && componentView.type !== ViewType.COMPONENT) {\n\t componentView = componentView.parentView;\n\t }\n\t return componentView.parentElement;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"injector\", {\n\t get: function () { return this._view.injector(this._nodeIndex); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"renderNode\", {\n\t get: function () {\n\t if (isPresent(this._nodeIndex) && this._view.allNodes) {\n\t return this._view.allNodes[this._nodeIndex];\n\t }\n\t else {\n\t return null;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"providerTokens\", {\n\t get: function () {\n\t var staticNodeInfo = this._staticNodeInfo;\n\t return isPresent(staticNodeInfo) ? staticNodeInfo.providerTokens : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"source\", {\n\t get: function () {\n\t return this._view.componentType.templateUrl + \":\" + this._tplRow + \":\" + this._tplCol;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(DebugContext.prototype, \"references\", {\n\t get: function () {\n\t var _this = this;\n\t var varValues = {};\n\t var staticNodeInfo = this._staticNodeInfo;\n\t if (isPresent(staticNodeInfo)) {\n\t var refs_1 = staticNodeInfo.refTokens;\n\t Object.keys(refs_1).forEach(function (refName) {\n\t var refToken = refs_1[refName];\n\t var varValue;\n\t if (isBlank(refToken)) {\n\t varValue = _this._view.allNodes ? _this._view.allNodes[_this._nodeIndex] : null;\n\t }\n\t else {\n\t varValue = _this._view.injectorGet(refToken, _this._nodeIndex, null);\n\t }\n\t varValues[refName] = varValue;\n\t });\n\t }\n\t return varValues;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return DebugContext;\n\t }());\n\t\n\t var ViewAnimationMap = (function () {\n\t function ViewAnimationMap() {\n\t this._map = new Map();\n\t this._allPlayers = [];\n\t }\n\t ViewAnimationMap.prototype.find = function (element, animationName) {\n\t var playersByAnimation = this._map.get(element);\n\t if (isPresent(playersByAnimation)) {\n\t return playersByAnimation[animationName];\n\t }\n\t };\n\t ViewAnimationMap.prototype.findAllPlayersByElement = function (element) {\n\t var el = this._map.get(element);\n\t return el ? Object.keys(el).map(function (k) { return el[k]; }) : [];\n\t };\n\t ViewAnimationMap.prototype.set = function (element, animationName, player) {\n\t var playersByAnimation = this._map.get(element);\n\t if (!isPresent(playersByAnimation)) {\n\t playersByAnimation = {};\n\t }\n\t var existingEntry = playersByAnimation[animationName];\n\t if (isPresent(existingEntry)) {\n\t this.remove(element, animationName);\n\t }\n\t playersByAnimation[animationName] = player;\n\t this._allPlayers.push(player);\n\t this._map.set(element, playersByAnimation);\n\t };\n\t ViewAnimationMap.prototype.getAllPlayers = function () { return this._allPlayers; };\n\t ViewAnimationMap.prototype.remove = function (element, animationName) {\n\t var playersByAnimation = this._map.get(element);\n\t if (playersByAnimation) {\n\t var player = playersByAnimation[animationName];\n\t delete playersByAnimation[animationName];\n\t var index = this._allPlayers.indexOf(player);\n\t this._allPlayers.splice(index, 1);\n\t if (Object.keys(playersByAnimation).length === 0) {\n\t this._map.delete(element);\n\t }\n\t }\n\t };\n\t return ViewAnimationMap;\n\t }());\n\t\n\t var AnimationViewContext = (function () {\n\t function AnimationViewContext() {\n\t this._players = new ViewAnimationMap();\n\t }\n\t AnimationViewContext.prototype.onAllActiveAnimationsDone = function (callback) {\n\t var activeAnimationPlayers = this._players.getAllPlayers();\n\t // we check for the length to avoid having GroupAnimationPlayer\n\t // issue an unnecessary microtask when zero players are passed in\n\t if (activeAnimationPlayers.length) {\n\t new AnimationGroupPlayer(activeAnimationPlayers).onDone(function () { return callback(); });\n\t }\n\t else {\n\t callback();\n\t }\n\t };\n\t AnimationViewContext.prototype.queueAnimation = function (element, animationName, player) {\n\t queueAnimationGlobally(player);\n\t this._players.set(element, animationName, player);\n\t };\n\t AnimationViewContext.prototype.getAnimationPlayers = function (element, animationName, removeAllAnimations) {\n\t if (removeAllAnimations === void 0) { removeAllAnimations = false; }\n\t var players = [];\n\t if (removeAllAnimations) {\n\t this._players.findAllPlayersByElement(element).forEach(function (player) { _recursePlayers(player, players); });\n\t }\n\t else {\n\t var currentPlayer = this._players.find(element, animationName);\n\t if (currentPlayer) {\n\t _recursePlayers(currentPlayer, players);\n\t }\n\t }\n\t return players;\n\t };\n\t return AnimationViewContext;\n\t }());\n\t function _recursePlayers(player, collectedPlayers) {\n\t if ((player instanceof AnimationGroupPlayer) || (player instanceof AnimationSequencePlayer)) {\n\t player.players.forEach(function (player) { return _recursePlayers(player, collectedPlayers); });\n\t }\n\t else {\n\t collectedPlayers.push(player);\n\t }\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$15 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var ElementInjector = (function (_super) {\n\t __extends$15(ElementInjector, _super);\n\t function ElementInjector(_view, _nodeIndex) {\n\t _super.call(this);\n\t this._view = _view;\n\t this._nodeIndex = _nodeIndex;\n\t }\n\t ElementInjector.prototype.get = function (token, notFoundValue) {\n\t if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n\t return this._view.injectorGet(token, this._nodeIndex, notFoundValue);\n\t };\n\t return ElementInjector;\n\t }(Injector));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$14 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _scope_check = wtfCreateScope(\"AppView#check(ascii id)\");\n\t /**\n\t * @experimental\n\t */\n\t var EMPTY_CONTEXT$1 = new Object();\n\t var UNDEFINED$1 = new Object();\n\t /**\n\t * Cost of making objects: http://jsperf.com/instantiate-size-of-object\n\t *\n\t */\n\t var AppView = (function () {\n\t function AppView(clazz, componentType, type, viewUtils, parentView, parentIndex, parentElement, cdMode, declaredViewContainer) {\n\t if (declaredViewContainer === void 0) { declaredViewContainer = null; }\n\t this.clazz = clazz;\n\t this.componentType = componentType;\n\t this.type = type;\n\t this.viewUtils = viewUtils;\n\t this.parentView = parentView;\n\t this.parentIndex = parentIndex;\n\t this.parentElement = parentElement;\n\t this.cdMode = cdMode;\n\t this.declaredViewContainer = declaredViewContainer;\n\t this.viewContainer = null;\n\t this.numberOfChecks = 0;\n\t this.ref = new ViewRef_(this);\n\t if (type === ViewType.COMPONENT || type === ViewType.HOST) {\n\t this.renderer = viewUtils.renderComponent(componentType);\n\t }\n\t else {\n\t this.renderer = parentView.renderer;\n\t }\n\t this._directRenderer = this.renderer.directRenderer;\n\t }\n\t Object.defineProperty(AppView.prototype, \"animationContext\", {\n\t get: function () {\n\t if (!this._animationContext) {\n\t this._animationContext = new AnimationViewContext();\n\t }\n\t return this._animationContext;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AppView.prototype, \"destroyed\", {\n\t get: function () { return this.cdMode === ChangeDetectorStatus.Destroyed; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t AppView.prototype.create = function (context) {\n\t this.context = context;\n\t return this.createInternal(null);\n\t };\n\t AppView.prototype.createHostView = function (rootSelectorOrNode, hostInjector, projectableNodes) {\n\t this.context = EMPTY_CONTEXT$1;\n\t this._hasExternalHostElement = isPresent(rootSelectorOrNode);\n\t this._hostInjector = hostInjector;\n\t this._hostProjectableNodes = projectableNodes;\n\t return this.createInternal(rootSelectorOrNode);\n\t };\n\t /**\n\t * Overwritten by implementations.\n\t * Returns the ComponentRef for the host element for ViewType.HOST.\n\t */\n\t AppView.prototype.createInternal = function (rootSelectorOrNode) { return null; };\n\t /**\n\t * Overwritten by implementations.\n\t */\n\t AppView.prototype.createEmbeddedViewInternal = function (templateNodeIndex) { return null; };\n\t AppView.prototype.init = function (lastRootNode, allNodes, disposables) {\n\t this.lastRootNode = lastRootNode;\n\t this.allNodes = allNodes;\n\t this.disposables = disposables;\n\t if (this.type === ViewType.COMPONENT) {\n\t this.dirtyParentQueriesInternal();\n\t }\n\t };\n\t AppView.prototype.injectorGet = function (token, nodeIndex, notFoundValue) {\n\t if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n\t var result = UNDEFINED$1;\n\t var view = this;\n\t while (result === UNDEFINED$1) {\n\t if (isPresent(nodeIndex)) {\n\t result = view.injectorGetInternal(token, nodeIndex, UNDEFINED$1);\n\t }\n\t if (result === UNDEFINED$1 && view.type === ViewType.HOST) {\n\t result = view._hostInjector.get(token, notFoundValue);\n\t }\n\t nodeIndex = view.parentIndex;\n\t view = view.parentView;\n\t }\n\t return result;\n\t };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.injectorGetInternal = function (token, nodeIndex, notFoundResult) {\n\t return notFoundResult;\n\t };\n\t AppView.prototype.injector = function (nodeIndex) { return new ElementInjector(this, nodeIndex); };\n\t AppView.prototype.detachAndDestroy = function () {\n\t if (this._hasExternalHostElement) {\n\t this.detach();\n\t }\n\t else if (isPresent(this.viewContainer)) {\n\t this.viewContainer.detachView(this.viewContainer.nestedViews.indexOf(this));\n\t }\n\t this.destroy();\n\t };\n\t AppView.prototype.destroy = function () {\n\t var _this = this;\n\t if (this.cdMode === ChangeDetectorStatus.Destroyed) {\n\t return;\n\t }\n\t var hostElement = this.type === ViewType.COMPONENT ? this.parentElement : null;\n\t if (this.disposables) {\n\t for (var i = 0; i < this.disposables.length; i++) {\n\t this.disposables[i]();\n\t }\n\t }\n\t this.destroyInternal();\n\t this.dirtyParentQueriesInternal();\n\t if (this._animationContext) {\n\t this._animationContext.onAllActiveAnimationsDone(function () { return _this.renderer.destroyView(hostElement, _this.allNodes); });\n\t }\n\t else {\n\t this.renderer.destroyView(hostElement, this.allNodes);\n\t }\n\t this.cdMode = ChangeDetectorStatus.Destroyed;\n\t };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.destroyInternal = function () { };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.detachInternal = function () { };\n\t AppView.prototype.detach = function () {\n\t var _this = this;\n\t this.detachInternal();\n\t if (this._animationContext) {\n\t this._animationContext.onAllActiveAnimationsDone(function () { return _this._renderDetach(); });\n\t }\n\t else {\n\t this._renderDetach();\n\t }\n\t if (this.declaredViewContainer && this.declaredViewContainer !== this.viewContainer) {\n\t var projectedViews = this.declaredViewContainer.projectedViews;\n\t var index = projectedViews.indexOf(this);\n\t // perf: pop is faster than splice!\n\t if (index >= projectedViews.length - 1) {\n\t projectedViews.pop();\n\t }\n\t else {\n\t projectedViews.splice(index, 1);\n\t }\n\t }\n\t this.viewContainer = null;\n\t this.dirtyParentQueriesInternal();\n\t };\n\t AppView.prototype._renderDetach = function () {\n\t if (this._directRenderer) {\n\t this.visitRootNodesInternal(this._directRenderer.remove, null);\n\t }\n\t else {\n\t this.renderer.detachView(this.flatRootNodes);\n\t }\n\t };\n\t AppView.prototype.attachAfter = function (viewContainer, prevView) {\n\t this._renderAttach(viewContainer, prevView);\n\t this.viewContainer = viewContainer;\n\t if (this.declaredViewContainer && this.declaredViewContainer !== viewContainer) {\n\t if (!this.declaredViewContainer.projectedViews) {\n\t this.declaredViewContainer.projectedViews = [];\n\t }\n\t this.declaredViewContainer.projectedViews.push(this);\n\t }\n\t this.dirtyParentQueriesInternal();\n\t };\n\t AppView.prototype.moveAfter = function (viewContainer, prevView) {\n\t this._renderAttach(viewContainer, prevView);\n\t this.dirtyParentQueriesInternal();\n\t };\n\t AppView.prototype._renderAttach = function (viewContainer, prevView) {\n\t var prevNode = prevView ? prevView.lastRootNode : viewContainer.nativeElement;\n\t if (this._directRenderer) {\n\t var nextSibling = this._directRenderer.nextSibling(prevNode);\n\t if (nextSibling) {\n\t this.visitRootNodesInternal(this._directRenderer.insertBefore, nextSibling);\n\t }\n\t else {\n\t var parentElement = this._directRenderer.parentElement(prevNode);\n\t if (parentElement) {\n\t this.visitRootNodesInternal(this._directRenderer.appendChild, parentElement);\n\t }\n\t }\n\t }\n\t else {\n\t this.renderer.attachViewAfter(prevNode, this.flatRootNodes);\n\t }\n\t };\n\t Object.defineProperty(AppView.prototype, \"changeDetectorRef\", {\n\t get: function () { return this.ref; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AppView.prototype, \"flatRootNodes\", {\n\t get: function () {\n\t var nodes = [];\n\t this.visitRootNodesInternal(addToArray, nodes);\n\t return nodes;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t AppView.prototype.projectNodes = function (parentElement, ngContentIndex) {\n\t if (this._directRenderer) {\n\t this.visitProjectedNodes(ngContentIndex, this._directRenderer.appendChild, parentElement);\n\t }\n\t else {\n\t var nodes = [];\n\t this.visitProjectedNodes(ngContentIndex, addToArray, nodes);\n\t this.renderer.projectNodes(parentElement, nodes);\n\t }\n\t };\n\t AppView.prototype.visitProjectedNodes = function (ngContentIndex, cb, c) {\n\t switch (this.type) {\n\t case ViewType.EMBEDDED:\n\t this.parentView.visitProjectedNodes(ngContentIndex, cb, c);\n\t break;\n\t case ViewType.COMPONENT:\n\t if (this.parentView.type === ViewType.HOST) {\n\t var nodes = this.parentView._hostProjectableNodes[ngContentIndex] || [];\n\t for (var i = 0; i < nodes.length; i++) {\n\t cb(nodes[i], c);\n\t }\n\t }\n\t else {\n\t this.parentView.visitProjectableNodesInternal(this.parentIndex, ngContentIndex, cb, c);\n\t }\n\t break;\n\t }\n\t };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.visitRootNodesInternal = function (cb, c) { };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.visitProjectableNodesInternal = function (nodeIndex, ngContentIndex, cb, c) { };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.dirtyParentQueriesInternal = function () { };\n\t AppView.prototype.detectChanges = function (throwOnChange) {\n\t var s = _scope_check(this.clazz);\n\t if (this.cdMode === ChangeDetectorStatus.Checked ||\n\t this.cdMode === ChangeDetectorStatus.Errored ||\n\t this.cdMode === ChangeDetectorStatus.Detached)\n\t return;\n\t if (this.cdMode === ChangeDetectorStatus.Destroyed) {\n\t this.throwDestroyedError('detectChanges');\n\t }\n\t this.detectChangesInternal(throwOnChange);\n\t if (this.cdMode === ChangeDetectorStatus.CheckOnce)\n\t this.cdMode = ChangeDetectorStatus.Checked;\n\t this.numberOfChecks++;\n\t wtfLeave(s);\n\t };\n\t /**\n\t * Overwritten by implementations\n\t */\n\t AppView.prototype.detectChangesInternal = function (throwOnChange) { };\n\t AppView.prototype.markAsCheckOnce = function () { this.cdMode = ChangeDetectorStatus.CheckOnce; };\n\t AppView.prototype.markPathToRootAsCheckOnce = function () {\n\t var c = this;\n\t while (isPresent(c) && c.cdMode !== ChangeDetectorStatus.Detached) {\n\t if (c.cdMode === ChangeDetectorStatus.Checked) {\n\t c.cdMode = ChangeDetectorStatus.CheckOnce;\n\t }\n\t if (c.type === ViewType.COMPONENT) {\n\t c = c.parentView;\n\t }\n\t else {\n\t c = c.viewContainer ? c.viewContainer.parentView : null;\n\t }\n\t }\n\t };\n\t AppView.prototype.eventHandler = function (cb) {\n\t return cb;\n\t };\n\t AppView.prototype.throwDestroyedError = function (details) { throw new ViewDestroyedError(details); };\n\t return AppView;\n\t }());\n\t var DebugAppView = (function (_super) {\n\t __extends$14(DebugAppView, _super);\n\t function DebugAppView(clazz, componentType, type, viewUtils, parentView, parentIndex, parentNode, cdMode, staticNodeDebugInfos, declaredViewContainer) {\n\t if (declaredViewContainer === void 0) { declaredViewContainer = null; }\n\t _super.call(this, clazz, componentType, type, viewUtils, parentView, parentIndex, parentNode, cdMode, declaredViewContainer);\n\t this.staticNodeDebugInfos = staticNodeDebugInfos;\n\t this._currentDebugContext = null;\n\t }\n\t DebugAppView.prototype.create = function (context) {\n\t this._resetDebug();\n\t try {\n\t return _super.prototype.create.call(this, context);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype.createHostView = function (rootSelectorOrNode, injector, projectableNodes) {\n\t if (projectableNodes === void 0) { projectableNodes = null; }\n\t this._resetDebug();\n\t try {\n\t return _super.prototype.createHostView.call(this, rootSelectorOrNode, injector, projectableNodes);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype.injectorGet = function (token, nodeIndex, notFoundResult) {\n\t this._resetDebug();\n\t try {\n\t return _super.prototype.injectorGet.call(this, token, nodeIndex, notFoundResult);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype.detach = function () {\n\t this._resetDebug();\n\t try {\n\t _super.prototype.detach.call(this);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype.destroy = function () {\n\t this._resetDebug();\n\t try {\n\t _super.prototype.destroy.call(this);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype.detectChanges = function (throwOnChange) {\n\t this._resetDebug();\n\t try {\n\t _super.prototype.detectChanges.call(this, throwOnChange);\n\t }\n\t catch (e) {\n\t this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t DebugAppView.prototype._resetDebug = function () { this._currentDebugContext = null; };\n\t DebugAppView.prototype.debug = function (nodeIndex, rowNum, colNum) {\n\t return this._currentDebugContext = new DebugContext(this, nodeIndex, rowNum, colNum);\n\t };\n\t DebugAppView.prototype._rethrowWithContext = function (e) {\n\t if (!(e instanceof ViewWrappedError)) {\n\t if (!(e instanceof ExpressionChangedAfterItHasBeenCheckedError)) {\n\t this.cdMode = ChangeDetectorStatus.Errored;\n\t }\n\t if (isPresent(this._currentDebugContext)) {\n\t throw new ViewWrappedError(e, this._currentDebugContext);\n\t }\n\t }\n\t };\n\t DebugAppView.prototype.eventHandler = function (cb) {\n\t var _this = this;\n\t var superHandler = _super.prototype.eventHandler.call(this, cb);\n\t return function (eventName, event) {\n\t _this._resetDebug();\n\t try {\n\t return superHandler.call(_this, eventName, event);\n\t }\n\t catch (e) {\n\t _this._rethrowWithContext(e);\n\t throw e;\n\t }\n\t };\n\t };\n\t return DebugAppView;\n\t }(AppView));\n\t\n\t /**\n\t * A ViewContainer is created for elements that have a ViewContainerRef\n\t * to keep track of the nested views.\n\t */\n\t var ViewContainer = (function () {\n\t function ViewContainer(index, parentIndex, parentView, nativeElement) {\n\t this.index = index;\n\t this.parentIndex = parentIndex;\n\t this.parentView = parentView;\n\t this.nativeElement = nativeElement;\n\t }\n\t Object.defineProperty(ViewContainer.prototype, \"elementRef\", {\n\t get: function () { return new ElementRef(this.nativeElement); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainer.prototype, \"vcRef\", {\n\t get: function () { return new ViewContainerRef_(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainer.prototype, \"parentInjector\", {\n\t get: function () { return this.parentView.injector(this.parentIndex); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ViewContainer.prototype, \"injector\", {\n\t get: function () { return this.parentView.injector(this.index); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ViewContainer.prototype.detectChangesInNestedViews = function (throwOnChange) {\n\t if (this.nestedViews) {\n\t for (var i = 0; i < this.nestedViews.length; i++) {\n\t this.nestedViews[i].detectChanges(throwOnChange);\n\t }\n\t }\n\t };\n\t ViewContainer.prototype.destroyNestedViews = function () {\n\t if (this.nestedViews) {\n\t for (var i = 0; i < this.nestedViews.length; i++) {\n\t this.nestedViews[i].destroy();\n\t }\n\t }\n\t };\n\t ViewContainer.prototype.visitNestedViewRootNodes = function (cb, c) {\n\t if (this.nestedViews) {\n\t for (var i = 0; i < this.nestedViews.length; i++) {\n\t this.nestedViews[i].visitRootNodesInternal(cb, c);\n\t }\n\t }\n\t };\n\t ViewContainer.prototype.mapNestedViews = function (nestedViewClass, callback) {\n\t var result = [];\n\t if (this.nestedViews) {\n\t for (var i = 0; i < this.nestedViews.length; i++) {\n\t var nestedView = this.nestedViews[i];\n\t if (nestedView.clazz === nestedViewClass) {\n\t result.push(callback(nestedView));\n\t }\n\t }\n\t }\n\t if (this.projectedViews) {\n\t for (var i = 0; i < this.projectedViews.length; i++) {\n\t var projectedView = this.projectedViews[i];\n\t if (projectedView.clazz === nestedViewClass) {\n\t result.push(callback(projectedView));\n\t }\n\t }\n\t }\n\t return result;\n\t };\n\t ViewContainer.prototype.moveView = function (view, currentIndex) {\n\t var previousIndex = this.nestedViews.indexOf(view);\n\t if (view.type === ViewType.COMPONENT) {\n\t throw new Error(\"Component views can't be moved!\");\n\t }\n\t var nestedViews = this.nestedViews;\n\t if (nestedViews == null) {\n\t nestedViews = [];\n\t this.nestedViews = nestedViews;\n\t }\n\t nestedViews.splice(previousIndex, 1);\n\t nestedViews.splice(currentIndex, 0, view);\n\t var prevView = currentIndex > 0 ? nestedViews[currentIndex - 1] : null;\n\t view.moveAfter(this, prevView);\n\t };\n\t ViewContainer.prototype.attachView = function (view, viewIndex) {\n\t if (view.type === ViewType.COMPONENT) {\n\t throw new Error(\"Component views can't be moved!\");\n\t }\n\t var nestedViews = this.nestedViews;\n\t if (nestedViews == null) {\n\t nestedViews = [];\n\t this.nestedViews = nestedViews;\n\t }\n\t // perf: array.push is faster than array.splice!\n\t if (viewIndex >= nestedViews.length) {\n\t nestedViews.push(view);\n\t }\n\t else {\n\t nestedViews.splice(viewIndex, 0, view);\n\t }\n\t var prevView = viewIndex > 0 ? nestedViews[viewIndex - 1] : null;\n\t view.attachAfter(this, prevView);\n\t };\n\t ViewContainer.prototype.detachView = function (viewIndex) {\n\t var view = this.nestedViews[viewIndex];\n\t // perf: array.pop is faster than array.splice!\n\t if (viewIndex >= this.nestedViews.length - 1) {\n\t this.nestedViews.pop();\n\t }\n\t else {\n\t this.nestedViews.splice(viewIndex, 1);\n\t }\n\t if (view.type === ViewType.COMPONENT) {\n\t throw new Error(\"Component views can't be moved!\");\n\t }\n\t view.detach();\n\t return view;\n\t };\n\t return ViewContainer;\n\t }());\n\t\n\t var __core_private__ = {\n\t isDefaultChangeDetectionStrategy: isDefaultChangeDetectionStrategy,\n\t ChangeDetectorStatus: ChangeDetectorStatus,\n\t constructDependencies: constructDependencies,\n\t LifecycleHooks: LifecycleHooks,\n\t LIFECYCLE_HOOKS_VALUES: LIFECYCLE_HOOKS_VALUES,\n\t ReflectorReader: ReflectorReader,\n\t CodegenComponentFactoryResolver: CodegenComponentFactoryResolver,\n\t ComponentRef_: ComponentRef_,\n\t ViewContainer: ViewContainer,\n\t AppView: AppView,\n\t DebugAppView: DebugAppView,\n\t NgModuleInjector: NgModuleInjector,\n\t registerModuleFactory: registerModuleFactory,\n\t ViewType: ViewType,\n\t view_utils: view_utils,\n\t ViewMetadata: ViewMetadata,\n\t DebugContext: DebugContext,\n\t StaticNodeDebugInfo: StaticNodeDebugInfo,\n\t devModeEqual: devModeEqual,\n\t UNINITIALIZED: UNINITIALIZED,\n\t ValueUnwrapper: ValueUnwrapper,\n\t RenderDebugInfo: RenderDebugInfo,\n\t TemplateRef_: TemplateRef_,\n\t ReflectionCapabilities: ReflectionCapabilities,\n\t makeDecorator: makeDecorator,\n\t DebugDomRootRenderer: DebugDomRootRenderer,\n\t Console: Console,\n\t reflector: reflector,\n\t Reflector: Reflector,\n\t NoOpAnimationPlayer: NoOpAnimationPlayer,\n\t AnimationPlayer: AnimationPlayer,\n\t AnimationSequencePlayer: AnimationSequencePlayer,\n\t AnimationGroupPlayer: AnimationGroupPlayer,\n\t AnimationKeyframe: AnimationKeyframe,\n\t prepareFinalAnimationStyles: prepareFinalAnimationStyles,\n\t balanceAnimationKeyframes: balanceAnimationKeyframes,\n\t flattenStyles: flattenStyles,\n\t clearStyles: clearStyles,\n\t renderStyles: renderStyles,\n\t collectAndResolveStyles: collectAndResolveStyles,\n\t APP_ID_RANDOM_PROVIDER: APP_ID_RANDOM_PROVIDER,\n\t AnimationStyles: AnimationStyles,\n\t ANY_STATE: ANY_STATE,\n\t DEFAULT_STATE: DEFAULT_STATE,\n\t EMPTY_STATE: EMPTY_STATE,\n\t FILL_STYLE_FLAG: FILL_STYLE_FLAG,\n\t ComponentStillLoadingError: ComponentStillLoadingError,\n\t isPromise: isPromise,\n\t AnimationTransition: AnimationTransition\n\t };\n\t\n\t exports.createPlatform = createPlatform;\n\t exports.assertPlatform = assertPlatform;\n\t exports.destroyPlatform = destroyPlatform;\n\t exports.getPlatform = getPlatform;\n\t exports.PlatformRef = PlatformRef;\n\t exports.ApplicationRef = ApplicationRef;\n\t exports.enableProdMode = enableProdMode;\n\t exports.isDevMode = isDevMode;\n\t exports.createPlatformFactory = createPlatformFactory;\n\t exports.APP_ID = APP_ID;\n\t exports.PACKAGE_ROOT_URL = PACKAGE_ROOT_URL;\n\t exports.PLATFORM_INITIALIZER = PLATFORM_INITIALIZER;\n\t exports.APP_BOOTSTRAP_LISTENER = APP_BOOTSTRAP_LISTENER;\n\t exports.APP_INITIALIZER = APP_INITIALIZER;\n\t exports.ApplicationInitStatus = ApplicationInitStatus;\n\t exports.DebugElement = DebugElement;\n\t exports.DebugNode = DebugNode;\n\t exports.asNativeElements = asNativeElements;\n\t exports.getDebugNode = getDebugNode;\n\t exports.Testability = Testability;\n\t exports.TestabilityRegistry = TestabilityRegistry;\n\t exports.setTestabilityGetter = setTestabilityGetter;\n\t exports.TRANSLATIONS = TRANSLATIONS;\n\t exports.TRANSLATIONS_FORMAT = TRANSLATIONS_FORMAT;\n\t exports.LOCALE_ID = LOCALE_ID;\n\t exports.ApplicationModule = ApplicationModule;\n\t exports.wtfCreateScope = wtfCreateScope;\n\t exports.wtfLeave = wtfLeave;\n\t exports.wtfStartTimeRange = wtfStartTimeRange;\n\t exports.wtfEndTimeRange = wtfEndTimeRange;\n\t exports.Type = Type;\n\t exports.EventEmitter = EventEmitter;\n\t exports.ErrorHandler = ErrorHandler;\n\t exports.AnimationTransitionEvent = AnimationTransitionEvent;\n\t exports.AnimationPlayer = AnimationPlayer;\n\t exports.Sanitizer = Sanitizer;\n\t exports.ANALYZE_FOR_ENTRY_COMPONENTS = ANALYZE_FOR_ENTRY_COMPONENTS;\n\t exports.Attribute = Attribute;\n\t exports.ContentChild = ContentChild;\n\t exports.ContentChildren = ContentChildren;\n\t exports.Query = Query;\n\t exports.ViewChild = ViewChild;\n\t exports.ViewChildren = ViewChildren;\n\t exports.Component = Component;\n\t exports.Directive = Directive;\n\t exports.HostBinding = HostBinding;\n\t exports.HostListener = HostListener;\n\t exports.Input = Input;\n\t exports.Output = Output;\n\t exports.Pipe = Pipe;\n\t exports.AfterContentChecked = AfterContentChecked;\n\t exports.AfterContentInit = AfterContentInit;\n\t exports.AfterViewChecked = AfterViewChecked;\n\t exports.AfterViewInit = AfterViewInit;\n\t exports.DoCheck = DoCheck;\n\t exports.OnChanges = OnChanges;\n\t exports.OnDestroy = OnDestroy;\n\t exports.OnInit = OnInit;\n\t exports.CUSTOM_ELEMENTS_SCHEMA = CUSTOM_ELEMENTS_SCHEMA;\n\t exports.NO_ERRORS_SCHEMA = NO_ERRORS_SCHEMA;\n\t exports.NgModule = NgModule;\n\t exports.Class = Class;\n\t exports.forwardRef = forwardRef;\n\t exports.resolveForwardRef = resolveForwardRef;\n\t exports.Injector = Injector;\n\t exports.ReflectiveInjector = ReflectiveInjector;\n\t exports.ResolvedReflectiveFactory = ResolvedReflectiveFactory;\n\t exports.ReflectiveKey = ReflectiveKey;\n\t exports.OpaqueToken = OpaqueToken;\n\t exports.Inject = Inject;\n\t exports.Optional = Optional;\n\t exports.Injectable = Injectable;\n\t exports.Self = Self;\n\t exports.SkipSelf = SkipSelf;\n\t exports.Host = Host;\n\t exports.NgZone = NgZone;\n\t exports.RenderComponentType = RenderComponentType;\n\t exports.Renderer = Renderer;\n\t exports.RootRenderer = RootRenderer;\n\t exports.COMPILER_OPTIONS = COMPILER_OPTIONS;\n\t exports.Compiler = Compiler;\n\t exports.CompilerFactory = CompilerFactory;\n\t exports.ModuleWithComponentFactories = ModuleWithComponentFactories;\n\t exports.ComponentFactory = ComponentFactory;\n\t exports.ComponentRef = ComponentRef;\n\t exports.ComponentFactoryResolver = ComponentFactoryResolver;\n\t exports.ElementRef = ElementRef;\n\t exports.NgModuleFactory = NgModuleFactory;\n\t exports.NgModuleRef = NgModuleRef;\n\t exports.NgModuleFactoryLoader = NgModuleFactoryLoader;\n\t exports.getModuleFactory = getModuleFactory;\n\t exports.QueryList = QueryList;\n\t exports.SystemJsNgModuleLoader = SystemJsNgModuleLoader;\n\t exports.SystemJsNgModuleLoaderConfig = SystemJsNgModuleLoaderConfig;\n\t exports.TemplateRef = TemplateRef;\n\t exports.ViewContainerRef = ViewContainerRef;\n\t exports.EmbeddedViewRef = EmbeddedViewRef;\n\t exports.ViewRef = ViewRef;\n\t exports.ChangeDetectorRef = ChangeDetectorRef;\n\t exports.CollectionChangeRecord = CollectionChangeRecord;\n\t exports.DefaultIterableDiffer = DefaultIterableDiffer;\n\t exports.IterableDiffers = IterableDiffers;\n\t exports.KeyValueChangeRecord = KeyValueChangeRecord;\n\t exports.KeyValueDiffers = KeyValueDiffers;\n\t exports.SimpleChange = SimpleChange;\n\t exports.WrappedValue = WrappedValue;\n\t exports.platformCore = platformCore;\n\t exports.__core_private__ = __core_private__;\n\t exports.AUTO_STYLE = AUTO_STYLE;\n\t exports.AnimationEntryMetadata = AnimationEntryMetadata;\n\t exports.AnimationStateMetadata = AnimationStateMetadata;\n\t exports.AnimationStateDeclarationMetadata = AnimationStateDeclarationMetadata;\n\t exports.AnimationStateTransitionMetadata = AnimationStateTransitionMetadata;\n\t exports.AnimationMetadata = AnimationMetadata;\n\t exports.AnimationKeyframesSequenceMetadata = AnimationKeyframesSequenceMetadata;\n\t exports.AnimationStyleMetadata = AnimationStyleMetadata;\n\t exports.AnimationAnimateMetadata = AnimationAnimateMetadata;\n\t exports.AnimationWithStepsMetadata = AnimationWithStepsMetadata;\n\t exports.AnimationSequenceMetadata = AnimationSequenceMetadata;\n\t exports.AnimationGroupMetadata = AnimationGroupMetadata;\n\t exports.animate = animate;\n\t exports.group = group;\n\t exports.sequence = sequence;\n\t exports.style = style;\n\t exports.state = state;\n\t exports.keyframes = keyframes;\n\t exports.transition = transition;\n\t exports.trigger = trigger;\n\t\n\t}));\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 264 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar Subscription_1 = __webpack_require__(270);\n\tvar ObjectUnsubscribedError_1 = __webpack_require__(279);\n\tvar SubjectSubscription_1 = __webpack_require__(280);\n\tvar rxSubscriber_1 = __webpack_require__(277);\n\t/**\n\t * @class SubjectSubscriber<T>\n\t */\n\tvar SubjectSubscriber = (function (_super) {\n\t __extends(SubjectSubscriber, _super);\n\t function SubjectSubscriber(destination) {\n\t _super.call(this, destination);\n\t this.destination = destination;\n\t }\n\t return SubjectSubscriber;\n\t}(Subscriber_1.Subscriber));\n\texports.SubjectSubscriber = SubjectSubscriber;\n\t/**\n\t * @class Subject<T>\n\t */\n\tvar Subject = (function (_super) {\n\t __extends(Subject, _super);\n\t function Subject() {\n\t _super.call(this);\n\t this.observers = [];\n\t this.closed = false;\n\t this.isStopped = false;\n\t this.hasError = false;\n\t this.thrownError = null;\n\t }\n\t Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function () {\n\t return new SubjectSubscriber(this);\n\t };\n\t Subject.prototype.lift = function (operator) {\n\t var subject = new AnonymousSubject(this, this);\n\t subject.operator = operator;\n\t return subject;\n\t };\n\t Subject.prototype.next = function (value) {\n\t if (this.closed) {\n\t throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n\t }\n\t if (!this.isStopped) {\n\t var observers = this.observers;\n\t var len = observers.length;\n\t var copy = observers.slice();\n\t for (var i = 0; i < len; i++) {\n\t copy[i].next(value);\n\t }\n\t }\n\t };\n\t Subject.prototype.error = function (err) {\n\t if (this.closed) {\n\t throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n\t }\n\t this.hasError = true;\n\t this.thrownError = err;\n\t this.isStopped = true;\n\t var observers = this.observers;\n\t var len = observers.length;\n\t var copy = observers.slice();\n\t for (var i = 0; i < len; i++) {\n\t copy[i].error(err);\n\t }\n\t this.observers.length = 0;\n\t };\n\t Subject.prototype.complete = function () {\n\t if (this.closed) {\n\t throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n\t }\n\t this.isStopped = true;\n\t var observers = this.observers;\n\t var len = observers.length;\n\t var copy = observers.slice();\n\t for (var i = 0; i < len; i++) {\n\t copy[i].complete();\n\t }\n\t this.observers.length = 0;\n\t };\n\t Subject.prototype.unsubscribe = function () {\n\t this.isStopped = true;\n\t this.closed = true;\n\t this.observers = null;\n\t };\n\t Subject.prototype._subscribe = function (subscriber) {\n\t if (this.closed) {\n\t throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n\t }\n\t else if (this.hasError) {\n\t subscriber.error(this.thrownError);\n\t return Subscription_1.Subscription.EMPTY;\n\t }\n\t else if (this.isStopped) {\n\t subscriber.complete();\n\t return Subscription_1.Subscription.EMPTY;\n\t }\n\t else {\n\t this.observers.push(subscriber);\n\t return new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n\t }\n\t };\n\t Subject.prototype.asObservable = function () {\n\t var observable = new Observable_1.Observable();\n\t observable.source = this;\n\t return observable;\n\t };\n\t Subject.create = function (destination, source) {\n\t return new AnonymousSubject(destination, source);\n\t };\n\t return Subject;\n\t}(Observable_1.Observable));\n\texports.Subject = Subject;\n\t/**\n\t * @class AnonymousSubject<T>\n\t */\n\tvar AnonymousSubject = (function (_super) {\n\t __extends(AnonymousSubject, _super);\n\t function AnonymousSubject(destination, source) {\n\t _super.call(this);\n\t this.destination = destination;\n\t this.source = source;\n\t }\n\t AnonymousSubject.prototype.next = function (value) {\n\t var destination = this.destination;\n\t if (destination && destination.next) {\n\t destination.next(value);\n\t }\n\t };\n\t AnonymousSubject.prototype.error = function (err) {\n\t var destination = this.destination;\n\t if (destination && destination.error) {\n\t this.destination.error(err);\n\t }\n\t };\n\t AnonymousSubject.prototype.complete = function () {\n\t var destination = this.destination;\n\t if (destination && destination.complete) {\n\t this.destination.complete();\n\t }\n\t };\n\t AnonymousSubject.prototype._subscribe = function (subscriber) {\n\t var source = this.source;\n\t if (source) {\n\t return this.source.subscribe(subscriber);\n\t }\n\t else {\n\t return Subscription_1.Subscription.EMPTY;\n\t }\n\t };\n\t return AnonymousSubject;\n\t}(Subject));\n\texports.AnonymousSubject = AnonymousSubject;\n\t//# sourceMappingURL=Subject.js.map\n\n/***/ },\n/* 265 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\tvar toSubscriber_1 = __webpack_require__(267);\n\tvar observable_1 = __webpack_require__(278);\n\t/**\n\t * A representation of any set of values over any amount of time. This the most basic building block\n\t * of RxJS.\n\t *\n\t * @class Observable<T>\n\t */\n\tvar Observable = (function () {\n\t /**\n\t * @constructor\n\t * @param {Function} subscribe the function that is called when the Observable is\n\t * initially subscribed to. This function is given a Subscriber, to which new values\n\t * can be `next`ed, or an `error` method can be called to raise an error, or\n\t * `complete` can be called to notify of a successful completion.\n\t */\n\t function Observable(subscribe) {\n\t this._isScalar = false;\n\t if (subscribe) {\n\t this._subscribe = subscribe;\n\t }\n\t }\n\t /**\n\t * Creates a new Observable, with this Observable as the source, and the passed\n\t * operator defined as the new observable's operator.\n\t * @method lift\n\t * @param {Operator} operator the operator defining the operation to take on the observable\n\t * @return {Observable} a new observable with the Operator applied\n\t */\n\t Observable.prototype.lift = function (operator) {\n\t var observable = new Observable();\n\t observable.source = this;\n\t observable.operator = operator;\n\t return observable;\n\t };\n\t /**\n\t * Registers handlers for handling emitted values, error and completions from the observable, and\n\t * executes the observable's subscriber function, which will take action to set up the underlying data stream\n\t * @method subscribe\n\t * @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,\n\t * or the first of three possible handlers, which is the handler for each value emitted from the observable.\n\t * @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,\n\t * the error will be thrown as unhandled\n\t * @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.\n\t * @return {ISubscription} a subscription reference to the registered handlers\n\t */\n\t Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n\t var operator = this.operator;\n\t var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n\t if (operator) {\n\t operator.call(sink, this);\n\t }\n\t else {\n\t sink.add(this._subscribe(sink));\n\t }\n\t if (sink.syncErrorThrowable) {\n\t sink.syncErrorThrowable = false;\n\t if (sink.syncErrorThrown) {\n\t throw sink.syncErrorValue;\n\t }\n\t }\n\t return sink;\n\t };\n\t /**\n\t * @method forEach\n\t * @param {Function} next a handler for each value emitted by the observable\n\t * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n\t * @return {Promise} a promise that either resolves on observable completion or\n\t * rejects with the handled error\n\t */\n\t Observable.prototype.forEach = function (next, PromiseCtor) {\n\t var _this = this;\n\t if (!PromiseCtor) {\n\t if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n\t PromiseCtor = root_1.root.Rx.config.Promise;\n\t }\n\t else if (root_1.root.Promise) {\n\t PromiseCtor = root_1.root.Promise;\n\t }\n\t }\n\t if (!PromiseCtor) {\n\t throw new Error('no Promise impl found');\n\t }\n\t return new PromiseCtor(function (resolve, reject) {\n\t var subscription = _this.subscribe(function (value) {\n\t if (subscription) {\n\t // if there is a subscription, then we can surmise\n\t // the next handling is asynchronous. Any errors thrown\n\t // need to be rejected explicitly and unsubscribe must be\n\t // called manually\n\t try {\n\t next(value);\n\t }\n\t catch (err) {\n\t reject(err);\n\t subscription.unsubscribe();\n\t }\n\t }\n\t else {\n\t // if there is NO subscription, then we're getting a nexted\n\t // value synchronously during subscription. We can just call it.\n\t // If it errors, Observable's `subscribe` will ensure the\n\t // unsubscription logic is called, then synchronously rethrow the error.\n\t // After that, Promise will trap the error and send it\n\t // down the rejection path.\n\t next(value);\n\t }\n\t }, reject, resolve);\n\t });\n\t };\n\t Observable.prototype._subscribe = function (subscriber) {\n\t return this.source.subscribe(subscriber);\n\t };\n\t /**\n\t * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n\t * @method Symbol.observable\n\t * @return {Observable} this instance of the observable\n\t */\n\t Observable.prototype[observable_1.$$observable] = function () {\n\t return this;\n\t };\n\t // HACK: Since TypeScript inherits static properties too, we have to\n\t // fight against TypeScript here so Subject can have a different static create signature\n\t /**\n\t * Creates a new cold Observable by calling the Observable constructor\n\t * @static true\n\t * @owner Observable\n\t * @method create\n\t * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n\t * @return {Observable} a new cold observable\n\t */\n\t Observable.create = function (subscribe) {\n\t return new Observable(subscribe);\n\t };\n\t return Observable;\n\t}());\n\texports.Observable = Observable;\n\t//# sourceMappingURL=Observable.js.map\n\n/***/ },\n/* 266 */\n/***/ function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\tvar objectTypes = {\n\t 'boolean': false,\n\t 'function': true,\n\t 'object': true,\n\t 'number': false,\n\t 'string': false,\n\t 'undefined': false\n\t};\n\texports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\n\tvar freeGlobal = objectTypes[typeof global] && global;\n\tif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n\t exports.root = freeGlobal;\n\t}\n\t//# sourceMappingURL=root.js.map\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 267 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar rxSubscriber_1 = __webpack_require__(277);\n\tfunction toSubscriber(nextOrObserver, error, complete) {\n\t if (nextOrObserver) {\n\t if (nextOrObserver instanceof Subscriber_1.Subscriber) {\n\t return nextOrObserver;\n\t }\n\t if (nextOrObserver[rxSubscriber_1.$$rxSubscriber]) {\n\t return nextOrObserver[rxSubscriber_1.$$rxSubscriber]();\n\t }\n\t }\n\t if (!nextOrObserver && !error && !complete) {\n\t return new Subscriber_1.Subscriber();\n\t }\n\t return new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n\t}\n\texports.toSubscriber = toSubscriber;\n\t//# sourceMappingURL=toSubscriber.js.map\n\n/***/ },\n/* 268 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar isFunction_1 = __webpack_require__(269);\n\tvar Subscription_1 = __webpack_require__(270);\n\tvar Observer_1 = __webpack_require__(276);\n\tvar rxSubscriber_1 = __webpack_require__(277);\n\t/**\n\t * Implements the {@link Observer} interface and extends the\n\t * {@link Subscription} class. While the {@link Observer} is the public API for\n\t * consuming the values of an {@link Observable}, all Observers get converted to\n\t * a Subscriber, in order to provide Subscription-like capabilities such as\n\t * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n\t * implementing operators, but it is rarely used as a public API.\n\t *\n\t * @class Subscriber<T>\n\t */\n\tvar Subscriber = (function (_super) {\n\t __extends(Subscriber, _super);\n\t /**\n\t * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n\t * defined Observer or a `next` callback function.\n\t * @param {function(e: ?any): void} [error] The `error` callback of an\n\t * Observer.\n\t * @param {function(): void} [complete] The `complete` callback of an\n\t * Observer.\n\t */\n\t function Subscriber(destinationOrNext, error, complete) {\n\t _super.call(this);\n\t this.syncErrorValue = null;\n\t this.syncErrorThrown = false;\n\t this.syncErrorThrowable = false;\n\t this.isStopped = false;\n\t switch (arguments.length) {\n\t case 0:\n\t this.destination = Observer_1.empty;\n\t break;\n\t case 1:\n\t if (!destinationOrNext) {\n\t this.destination = Observer_1.empty;\n\t break;\n\t }\n\t if (typeof destinationOrNext === 'object') {\n\t if (destinationOrNext instanceof Subscriber) {\n\t this.destination = destinationOrNext;\n\t this.destination.add(this);\n\t }\n\t else {\n\t this.syncErrorThrowable = true;\n\t this.destination = new SafeSubscriber(this, destinationOrNext);\n\t }\n\t break;\n\t }\n\t default:\n\t this.syncErrorThrowable = true;\n\t this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n\t break;\n\t }\n\t }\n\t Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return this; };\n\t /**\n\t * A static factory for a Subscriber, given a (potentially partial) definition\n\t * of an Observer.\n\t * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n\t * @param {function(e: ?any): void} [error] The `error` callback of an\n\t * Observer.\n\t * @param {function(): void} [complete] The `complete` callback of an\n\t * Observer.\n\t * @return {Subscriber<T>} A Subscriber wrapping the (partially defined)\n\t * Observer represented by the given arguments.\n\t */\n\t Subscriber.create = function (next, error, complete) {\n\t var subscriber = new Subscriber(next, error, complete);\n\t subscriber.syncErrorThrowable = false;\n\t return subscriber;\n\t };\n\t /**\n\t * The {@link Observer} callback to receive notifications of type `next` from\n\t * the Observable, with a value. The Observable may call this method 0 or more\n\t * times.\n\t * @param {T} [value] The `next` value.\n\t * @return {void}\n\t */\n\t Subscriber.prototype.next = function (value) {\n\t if (!this.isStopped) {\n\t this._next(value);\n\t }\n\t };\n\t /**\n\t * The {@link Observer} callback to receive notifications of type `error` from\n\t * the Observable, with an attached {@link Error}. Notifies the Observer that\n\t * the Observable has experienced an error condition.\n\t * @param {any} [err] The `error` exception.\n\t * @return {void}\n\t */\n\t Subscriber.prototype.error = function (err) {\n\t if (!this.isStopped) {\n\t this.isStopped = true;\n\t this._error(err);\n\t }\n\t };\n\t /**\n\t * The {@link Observer} callback to receive a valueless notification of type\n\t * `complete` from the Observable. Notifies the Observer that the Observable\n\t * has finished sending push-based notifications.\n\t * @return {void}\n\t */\n\t Subscriber.prototype.complete = function () {\n\t if (!this.isStopped) {\n\t this.isStopped = true;\n\t this._complete();\n\t }\n\t };\n\t Subscriber.prototype.unsubscribe = function () {\n\t if (this.closed) {\n\t return;\n\t }\n\t this.isStopped = true;\n\t _super.prototype.unsubscribe.call(this);\n\t };\n\t Subscriber.prototype._next = function (value) {\n\t this.destination.next(value);\n\t };\n\t Subscriber.prototype._error = function (err) {\n\t this.destination.error(err);\n\t this.unsubscribe();\n\t };\n\t Subscriber.prototype._complete = function () {\n\t this.destination.complete();\n\t this.unsubscribe();\n\t };\n\t return Subscriber;\n\t}(Subscription_1.Subscription));\n\texports.Subscriber = Subscriber;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar SafeSubscriber = (function (_super) {\n\t __extends(SafeSubscriber, _super);\n\t function SafeSubscriber(_parent, observerOrNext, error, complete) {\n\t _super.call(this);\n\t this._parent = _parent;\n\t var next;\n\t var context = this;\n\t if (isFunction_1.isFunction(observerOrNext)) {\n\t next = observerOrNext;\n\t }\n\t else if (observerOrNext) {\n\t context = observerOrNext;\n\t next = observerOrNext.next;\n\t error = observerOrNext.error;\n\t complete = observerOrNext.complete;\n\t if (isFunction_1.isFunction(context.unsubscribe)) {\n\t this.add(context.unsubscribe.bind(context));\n\t }\n\t context.unsubscribe = this.unsubscribe.bind(this);\n\t }\n\t this._context = context;\n\t this._next = next;\n\t this._error = error;\n\t this._complete = complete;\n\t }\n\t SafeSubscriber.prototype.next = function (value) {\n\t if (!this.isStopped && this._next) {\n\t var _parent = this._parent;\n\t if (!_parent.syncErrorThrowable) {\n\t this.__tryOrUnsub(this._next, value);\n\t }\n\t else if (this.__tryOrSetError(_parent, this._next, value)) {\n\t this.unsubscribe();\n\t }\n\t }\n\t };\n\t SafeSubscriber.prototype.error = function (err) {\n\t if (!this.isStopped) {\n\t var _parent = this._parent;\n\t if (this._error) {\n\t if (!_parent.syncErrorThrowable) {\n\t this.__tryOrUnsub(this._error, err);\n\t this.unsubscribe();\n\t }\n\t else {\n\t this.__tryOrSetError(_parent, this._error, err);\n\t this.unsubscribe();\n\t }\n\t }\n\t else if (!_parent.syncErrorThrowable) {\n\t this.unsubscribe();\n\t throw err;\n\t }\n\t else {\n\t _parent.syncErrorValue = err;\n\t _parent.syncErrorThrown = true;\n\t this.unsubscribe();\n\t }\n\t }\n\t };\n\t SafeSubscriber.prototype.complete = function () {\n\t if (!this.isStopped) {\n\t var _parent = this._parent;\n\t if (this._complete) {\n\t if (!_parent.syncErrorThrowable) {\n\t this.__tryOrUnsub(this._complete);\n\t this.unsubscribe();\n\t }\n\t else {\n\t this.__tryOrSetError(_parent, this._complete);\n\t this.unsubscribe();\n\t }\n\t }\n\t else {\n\t this.unsubscribe();\n\t }\n\t }\n\t };\n\t SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {\n\t try {\n\t fn.call(this._context, value);\n\t }\n\t catch (err) {\n\t this.unsubscribe();\n\t throw err;\n\t }\n\t };\n\t SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {\n\t try {\n\t fn.call(this._context, value);\n\t }\n\t catch (err) {\n\t parent.syncErrorValue = err;\n\t parent.syncErrorThrown = true;\n\t return true;\n\t }\n\t return false;\n\t };\n\t SafeSubscriber.prototype._unsubscribe = function () {\n\t var _parent = this._parent;\n\t this._context = null;\n\t this._parent = null;\n\t _parent.unsubscribe();\n\t };\n\t return SafeSubscriber;\n\t}(Subscriber));\n\t//# sourceMappingURL=Subscriber.js.map\n\n/***/ },\n/* 269 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction isFunction(x) {\n\t return typeof x === 'function';\n\t}\n\texports.isFunction = isFunction;\n\t//# sourceMappingURL=isFunction.js.map\n\n/***/ },\n/* 270 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar isArray_1 = __webpack_require__(271);\n\tvar isObject_1 = __webpack_require__(272);\n\tvar isFunction_1 = __webpack_require__(269);\n\tvar tryCatch_1 = __webpack_require__(273);\n\tvar errorObject_1 = __webpack_require__(274);\n\tvar UnsubscriptionError_1 = __webpack_require__(275);\n\t/**\n\t * Represents a disposable resource, such as the execution of an Observable. A\n\t * Subscription has one important method, `unsubscribe`, that takes no argument\n\t * and just disposes the resource held by the subscription.\n\t *\n\t * Additionally, subscriptions may be grouped together through the `add()`\n\t * method, which will attach a child Subscription to the current Subscription.\n\t * When a Subscription is unsubscribed, all its children (and its grandchildren)\n\t * will be unsubscribed as well.\n\t *\n\t * @class Subscription\n\t */\n\tvar Subscription = (function () {\n\t /**\n\t * @param {function(): void} [unsubscribe] A function describing how to\n\t * perform the disposal of resources when the `unsubscribe` method is called.\n\t */\n\t function Subscription(unsubscribe) {\n\t /**\n\t * A flag to indicate whether this Subscription has already been unsubscribed.\n\t * @type {boolean}\n\t */\n\t this.closed = false;\n\t if (unsubscribe) {\n\t this._unsubscribe = unsubscribe;\n\t }\n\t }\n\t /**\n\t * Disposes the resources held by the subscription. May, for instance, cancel\n\t * an ongoing Observable execution or cancel any other type of work that\n\t * started when the Subscription was created.\n\t * @return {void}\n\t */\n\t Subscription.prototype.unsubscribe = function () {\n\t var hasErrors = false;\n\t var errors;\n\t if (this.closed) {\n\t return;\n\t }\n\t this.closed = true;\n\t var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;\n\t this._subscriptions = null;\n\t if (isFunction_1.isFunction(_unsubscribe)) {\n\t var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n\t if (trial === errorObject_1.errorObject) {\n\t hasErrors = true;\n\t (errors = errors || []).push(errorObject_1.errorObject.e);\n\t }\n\t }\n\t if (isArray_1.isArray(_subscriptions)) {\n\t var index = -1;\n\t var len = _subscriptions.length;\n\t while (++index < len) {\n\t var sub = _subscriptions[index];\n\t if (isObject_1.isObject(sub)) {\n\t var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n\t if (trial === errorObject_1.errorObject) {\n\t hasErrors = true;\n\t errors = errors || [];\n\t var err = errorObject_1.errorObject.e;\n\t if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n\t errors = errors.concat(err.errors);\n\t }\n\t else {\n\t errors.push(err);\n\t }\n\t }\n\t }\n\t }\n\t }\n\t if (hasErrors) {\n\t throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n\t }\n\t };\n\t /**\n\t * Adds a tear down to be called during the unsubscribe() of this\n\t * Subscription.\n\t *\n\t * If the tear down being added is a subscription that is already\n\t * unsubscribed, is the same reference `add` is being called on, or is\n\t * `Subscription.EMPTY`, it will not be added.\n\t *\n\t * If this subscription is already in an `closed` state, the passed\n\t * tear down logic will be executed immediately.\n\t *\n\t * @param {TeardownLogic} teardown The additional logic to execute on\n\t * teardown.\n\t * @return {Subscription} Returns the Subscription used or created to be\n\t * added to the inner subscriptions list. This Subscription can be used with\n\t * `remove()` to remove the passed teardown logic from the inner subscriptions\n\t * list.\n\t */\n\t Subscription.prototype.add = function (teardown) {\n\t if (!teardown || (teardown === Subscription.EMPTY)) {\n\t return Subscription.EMPTY;\n\t }\n\t if (teardown === this) {\n\t return this;\n\t }\n\t var sub = teardown;\n\t switch (typeof teardown) {\n\t case 'function':\n\t sub = new Subscription(teardown);\n\t case 'object':\n\t if (sub.closed || typeof sub.unsubscribe !== 'function') {\n\t break;\n\t }\n\t else if (this.closed) {\n\t sub.unsubscribe();\n\t }\n\t else {\n\t (this._subscriptions || (this._subscriptions = [])).push(sub);\n\t }\n\t break;\n\t default:\n\t throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n\t }\n\t return sub;\n\t };\n\t /**\n\t * Removes a Subscription from the internal list of subscriptions that will\n\t * unsubscribe during the unsubscribe process of this Subscription.\n\t * @param {Subscription} subscription The subscription to remove.\n\t * @return {void}\n\t */\n\t Subscription.prototype.remove = function (subscription) {\n\t // HACK: This might be redundant because of the logic in `add()`\n\t if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n\t return;\n\t }\n\t var subscriptions = this._subscriptions;\n\t if (subscriptions) {\n\t var subscriptionIndex = subscriptions.indexOf(subscription);\n\t if (subscriptionIndex !== -1) {\n\t subscriptions.splice(subscriptionIndex, 1);\n\t }\n\t }\n\t };\n\t Subscription.EMPTY = (function (empty) {\n\t empty.closed = true;\n\t return empty;\n\t }(new Subscription()));\n\t return Subscription;\n\t}());\n\texports.Subscription = Subscription;\n\t//# sourceMappingURL=Subscription.js.map\n\n/***/ },\n/* 271 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\texports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n\t//# sourceMappingURL=isArray.js.map\n\n/***/ },\n/* 272 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction isObject(x) {\n\t return x != null && typeof x === 'object';\n\t}\n\texports.isObject = isObject;\n\t//# sourceMappingURL=isObject.js.map\n\n/***/ },\n/* 273 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar errorObject_1 = __webpack_require__(274);\n\tvar tryCatchTarget;\n\tfunction tryCatcher() {\n\t try {\n\t return tryCatchTarget.apply(this, arguments);\n\t }\n\t catch (e) {\n\t errorObject_1.errorObject.e = e;\n\t return errorObject_1.errorObject;\n\t }\n\t}\n\tfunction tryCatch(fn) {\n\t tryCatchTarget = fn;\n\t return tryCatcher;\n\t}\n\texports.tryCatch = tryCatch;\n\t;\n\t//# sourceMappingURL=tryCatch.js.map\n\n/***/ },\n/* 274 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t// typeof any so that it we don't have to cast when comparing a result to the error object\n\texports.errorObject = { e: {} };\n\t//# sourceMappingURL=errorObject.js.map\n\n/***/ },\n/* 275 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * An error thrown when one or more errors have occurred during the\n\t * `unsubscribe` of a {@link Subscription}.\n\t */\n\tvar UnsubscriptionError = (function (_super) {\n\t __extends(UnsubscriptionError, _super);\n\t function UnsubscriptionError(errors) {\n\t _super.call(this);\n\t this.errors = errors;\n\t var err = Error.call(this, errors ?\n\t errors.length + \" errors occurred during unsubscription:\\n \" + errors.map(function (err, i) { return ((i + 1) + \") \" + err.toString()); }).join('\\n ') : '');\n\t this.name = err.name = 'UnsubscriptionError';\n\t this.stack = err.stack;\n\t this.message = err.message;\n\t }\n\t return UnsubscriptionError;\n\t}(Error));\n\texports.UnsubscriptionError = UnsubscriptionError;\n\t//# sourceMappingURL=UnsubscriptionError.js.map\n\n/***/ },\n/* 276 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\texports.empty = {\n\t closed: true,\n\t next: function (value) { },\n\t error: function (err) { throw err; },\n\t complete: function () { }\n\t};\n\t//# sourceMappingURL=Observer.js.map\n\n/***/ },\n/* 277 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\tvar Symbol = root_1.root.Symbol;\n\texports.$$rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ?\n\t Symbol.for('rxSubscriber') : '@@rxSubscriber';\n\t//# sourceMappingURL=rxSubscriber.js.map\n\n/***/ },\n/* 278 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\tfunction getSymbolObservable(context) {\n\t var $$observable;\n\t var Symbol = context.Symbol;\n\t if (typeof Symbol === 'function') {\n\t if (Symbol.observable) {\n\t $$observable = Symbol.observable;\n\t }\n\t else {\n\t $$observable = Symbol('observable');\n\t Symbol.observable = $$observable;\n\t }\n\t }\n\t else {\n\t $$observable = '@@observable';\n\t }\n\t return $$observable;\n\t}\n\texports.getSymbolObservable = getSymbolObservable;\n\texports.$$observable = getSymbolObservable(root_1.root);\n\t//# sourceMappingURL=observable.js.map\n\n/***/ },\n/* 279 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * An error thrown when an action is invalid because the object has been\n\t * unsubscribed.\n\t *\n\t * @see {@link Subject}\n\t * @see {@link BehaviorSubject}\n\t *\n\t * @class ObjectUnsubscribedError\n\t */\n\tvar ObjectUnsubscribedError = (function (_super) {\n\t __extends(ObjectUnsubscribedError, _super);\n\t function ObjectUnsubscribedError() {\n\t var err = _super.call(this, 'object unsubscribed');\n\t this.name = err.name = 'ObjectUnsubscribedError';\n\t this.stack = err.stack;\n\t this.message = err.message;\n\t }\n\t return ObjectUnsubscribedError;\n\t}(Error));\n\texports.ObjectUnsubscribedError = ObjectUnsubscribedError;\n\t//# sourceMappingURL=ObjectUnsubscribedError.js.map\n\n/***/ },\n/* 280 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscription_1 = __webpack_require__(270);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar SubjectSubscription = (function (_super) {\n\t __extends(SubjectSubscription, _super);\n\t function SubjectSubscription(subject, subscriber) {\n\t _super.call(this);\n\t this.subject = subject;\n\t this.subscriber = subscriber;\n\t this.closed = false;\n\t }\n\t SubjectSubscription.prototype.unsubscribe = function () {\n\t if (this.closed) {\n\t return;\n\t }\n\t this.closed = true;\n\t var subject = this.subject;\n\t var observers = subject.observers;\n\t this.subject = null;\n\t if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n\t return;\n\t }\n\t var subscriberIndex = observers.indexOf(this.subscriber);\n\t if (subscriberIndex !== -1) {\n\t observers.splice(subscriberIndex, 1);\n\t }\n\t };\n\t return SubjectSubscription;\n\t}(Subscription_1.Subscription));\n\texports.SubjectSubscription = SubjectSubscription;\n\t//# sourceMappingURL=SubjectSubscription.js.map\n\n/***/ },\n/* 281 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(282), __webpack_require__(263)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/common', '@angular/core'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.platformBrowser = global.ng.platformBrowser || {}),global.ng.common,global.ng.core));\n\t}(this, function (exports,_angular_common,_angular_core) { 'use strict';\n\t\n\t var DebugDomRootRenderer = _angular_core.__core_private__.DebugDomRootRenderer;\n\t var NoOpAnimationPlayer = _angular_core.__core_private__.NoOpAnimationPlayer;\n\t\n\t var _NoOpAnimationDriver = (function () {\n\t function _NoOpAnimationDriver() {\n\t }\n\t _NoOpAnimationDriver.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n\t if (previousPlayers === void 0) { previousPlayers = []; }\n\t return new NoOpAnimationPlayer();\n\t };\n\t return _NoOpAnimationDriver;\n\t }());\n\t /**\n\t * @experimental\n\t */\n\t var AnimationDriver = (function () {\n\t function AnimationDriver() {\n\t }\n\t AnimationDriver.NOOP = new _NoOpAnimationDriver();\n\t return AnimationDriver;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var globalScope;\n\t if (typeof window === 'undefined') {\n\t if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n\t // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n\t globalScope = self;\n\t }\n\t else {\n\t globalScope = global;\n\t }\n\t }\n\t else {\n\t globalScope = window;\n\t }\n\t // Need to declare a new variable for global here since TypeScript\n\t // exports the original value of the symbol.\n\t var global$1 = globalScope;\n\t // TODO: remove calls to assert in production environment\n\t // Note: Can't just export this and import in in other files\n\t // as `assert` is a reserved keyword in Dart\n\t global$1.assert = function assert(condition) {\n\t // TODO: to be fixed properly via #2830, noop for now\n\t };\n\t function isPresent(obj) {\n\t return obj != null;\n\t }\n\t function isBlank(obj) {\n\t return obj == null;\n\t }\n\t function stringify(token) {\n\t if (typeof token === 'string') {\n\t return token;\n\t }\n\t if (token == null) {\n\t return '' + token;\n\t }\n\t if (token.overriddenName) {\n\t return token.overriddenName;\n\t }\n\t if (token.name) {\n\t return token.name;\n\t }\n\t var res = token.toString();\n\t var newLineIndex = res.indexOf('\\n');\n\t return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n\t }\n\t function setValueOnPath(global, path, value) {\n\t var parts = path.split('.');\n\t var obj = global;\n\t while (parts.length > 1) {\n\t var name_1 = parts.shift();\n\t if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n\t obj = obj[name_1];\n\t }\n\t else {\n\t obj = obj[name_1] = {};\n\t }\n\t }\n\t if (obj === undefined || obj === null) {\n\t obj = {};\n\t }\n\t obj[parts.shift()] = value;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var _DOM = null;\n\t function getDOM() {\n\t return _DOM;\n\t }\n\t function setRootDomAdapter(adapter) {\n\t if (!_DOM) {\n\t _DOM = adapter;\n\t }\n\t }\n\t /* tslint:disable:requireParameterType */\n\t /**\n\t * Provides DOM operations in an environment-agnostic way.\n\t *\n\t * @security Tread carefully! Interacting with the DOM directly is dangerous and\n\t * can introduce XSS risks.\n\t */\n\t var DomAdapter = (function () {\n\t function DomAdapter() {\n\t this.resourceLoaderType = null;\n\t }\n\t Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\n\t /**\n\t * Maps attribute names to their corresponding property names for cases\n\t * where attribute name doesn't match property name.\n\t */\n\t get: function () { return this._attrToPropMap; },\n\t set: function (value) { this._attrToPropMap = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ;\n\t ;\n\t return DomAdapter;\n\t }());\n\t\n\t var WebAnimationsPlayer = (function () {\n\t function WebAnimationsPlayer(element, keyframes, options, previousPlayers) {\n\t var _this = this;\n\t if (previousPlayers === void 0) { previousPlayers = []; }\n\t this.element = element;\n\t this.keyframes = keyframes;\n\t this.options = options;\n\t this._onDoneFns = [];\n\t this._onStartFns = [];\n\t this._initialized = false;\n\t this._finished = false;\n\t this._started = false;\n\t this._destroyed = false;\n\t this.parentPlayer = null;\n\t this._duration = options['duration'];\n\t this.previousStyles = {};\n\t previousPlayers.forEach(function (player) {\n\t var styles = player._captureStyles();\n\t Object.keys(styles).forEach(function (prop) { return _this.previousStyles[prop] = styles[prop]; });\n\t });\n\t }\n\t WebAnimationsPlayer.prototype._onFinish = function () {\n\t if (!this._finished) {\n\t this._finished = true;\n\t this._onDoneFns.forEach(function (fn) { return fn(); });\n\t this._onDoneFns = [];\n\t }\n\t };\n\t WebAnimationsPlayer.prototype.init = function () {\n\t var _this = this;\n\t if (this._initialized)\n\t return;\n\t this._initialized = true;\n\t var keyframes = this.keyframes.map(function (styles) {\n\t var formattedKeyframe = {};\n\t Object.keys(styles).forEach(function (prop, index) {\n\t var value = styles[prop];\n\t if (value == _angular_core.AUTO_STYLE) {\n\t value = _computeStyle(_this.element, prop);\n\t }\n\t if (value != undefined) {\n\t formattedKeyframe[prop] = value;\n\t }\n\t });\n\t return formattedKeyframe;\n\t });\n\t var previousStyleProps = Object.keys(this.previousStyles);\n\t if (previousStyleProps.length) {\n\t var startingKeyframe_1 = keyframes[0];\n\t var missingStyleProps_1 = [];\n\t previousStyleProps.forEach(function (prop) {\n\t if (!isPresent(startingKeyframe_1[prop])) {\n\t missingStyleProps_1.push(prop);\n\t }\n\t startingKeyframe_1[prop] = _this.previousStyles[prop];\n\t });\n\t if (missingStyleProps_1.length) {\n\t var _loop_1 = function(i) {\n\t var kf = keyframes[i];\n\t missingStyleProps_1.forEach(function (prop) { kf[prop] = _computeStyle(_this.element, prop); });\n\t };\n\t for (var i = 1; i < keyframes.length; i++) {\n\t _loop_1(i);\n\t }\n\t }\n\t }\n\t this._player = this._triggerWebAnimation(this.element, keyframes, this.options);\n\t this._finalKeyframe = _copyKeyframeStyles(keyframes[keyframes.length - 1]);\n\t // this is required so that the player doesn't start to animate right away\n\t this._resetDomPlayerState();\n\t this._player.addEventListener('finish', function () { return _this._onFinish(); });\n\t };\n\t /** @internal */\n\t WebAnimationsPlayer.prototype._triggerWebAnimation = function (element, keyframes, options) {\n\t return element.animate(keyframes, options);\n\t };\n\t Object.defineProperty(WebAnimationsPlayer.prototype, \"domPlayer\", {\n\t get: function () { return this._player; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t WebAnimationsPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n\t WebAnimationsPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n\t WebAnimationsPlayer.prototype.play = function () {\n\t this.init();\n\t if (!this.hasStarted()) {\n\t this._onStartFns.forEach(function (fn) { return fn(); });\n\t this._onStartFns = [];\n\t this._started = true;\n\t }\n\t this._player.play();\n\t };\n\t WebAnimationsPlayer.prototype.pause = function () {\n\t this.init();\n\t this._player.pause();\n\t };\n\t WebAnimationsPlayer.prototype.finish = function () {\n\t this.init();\n\t this._onFinish();\n\t this._player.finish();\n\t };\n\t WebAnimationsPlayer.prototype.reset = function () {\n\t this._resetDomPlayerState();\n\t this._destroyed = false;\n\t this._finished = false;\n\t this._started = false;\n\t };\n\t WebAnimationsPlayer.prototype._resetDomPlayerState = function () { this._player.cancel(); };\n\t WebAnimationsPlayer.prototype.restart = function () {\n\t this.reset();\n\t this.play();\n\t };\n\t WebAnimationsPlayer.prototype.hasStarted = function () { return this._started; };\n\t WebAnimationsPlayer.prototype.destroy = function () {\n\t if (!this._destroyed) {\n\t this._resetDomPlayerState();\n\t this._onFinish();\n\t this._destroyed = true;\n\t }\n\t };\n\t Object.defineProperty(WebAnimationsPlayer.prototype, \"totalTime\", {\n\t get: function () { return this._duration; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t WebAnimationsPlayer.prototype.setPosition = function (p) { this._player.currentTime = p * this.totalTime; };\n\t WebAnimationsPlayer.prototype.getPosition = function () { return this._player.currentTime / this.totalTime; };\n\t WebAnimationsPlayer.prototype._captureStyles = function () {\n\t var _this = this;\n\t var styles = {};\n\t if (this.hasStarted()) {\n\t Object.keys(this._finalKeyframe).forEach(function (prop) {\n\t if (prop != 'offset') {\n\t styles[prop] =\n\t _this._finished ? _this._finalKeyframe[prop] : _computeStyle(_this.element, prop);\n\t }\n\t });\n\t }\n\t return styles;\n\t };\n\t return WebAnimationsPlayer;\n\t }());\n\t function _computeStyle(element, prop) {\n\t return getDOM().getComputedStyle(element)[prop];\n\t }\n\t function _copyKeyframeStyles(styles) {\n\t var newStyles = {};\n\t Object.keys(styles).forEach(function (prop) {\n\t if (prop != 'offset') {\n\t newStyles[prop] = styles[prop];\n\t }\n\t });\n\t return newStyles;\n\t }\n\t\n\t var WebAnimationsDriver = (function () {\n\t function WebAnimationsDriver() {\n\t }\n\t WebAnimationsDriver.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n\t if (previousPlayers === void 0) { previousPlayers = []; }\n\t var formattedSteps = [];\n\t var startingStyleLookup = {};\n\t if (isPresent(startingStyles)) {\n\t startingStyleLookup = _populateStyles(startingStyles, {});\n\t }\n\t keyframes.forEach(function (keyframe) {\n\t var data = _populateStyles(keyframe.styles, startingStyleLookup);\n\t data['offset'] = keyframe.offset;\n\t formattedSteps.push(data);\n\t });\n\t // this is a special case when only styles are applied as an\n\t // animation. When this occurs we want to animate from start to\n\t // end with the same values. Removing the offset and having only\n\t // start/end values is suitable enough for the web-animations API\n\t if (formattedSteps.length == 1) {\n\t var start = formattedSteps[0];\n\t start['offset'] = null;\n\t formattedSteps = [start, start];\n\t }\n\t var playerOptions = {\n\t 'duration': duration,\n\t 'delay': delay,\n\t 'fill': 'both' // we use `both` because it allows for styling at 0% to work with `delay`\n\t };\n\t // we check for this to avoid having a null|undefined value be present\n\t // for the easing (which results in an error for certain browsers #9752)\n\t if (easing) {\n\t playerOptions['easing'] = easing;\n\t }\n\t // there may be a chance a NoOp player is returned depending\n\t // on when the previous animation was cancelled\n\t previousPlayers = previousPlayers.filter(filterWebAnimationPlayerFn);\n\t return new WebAnimationsPlayer(element, formattedSteps, playerOptions, previousPlayers);\n\t };\n\t return WebAnimationsDriver;\n\t }());\n\t function _populateStyles(styles, defaultStyles) {\n\t var data = {};\n\t styles.styles.forEach(function (entry) { Object.keys(entry).forEach(function (prop) { data[prop] = entry[prop]; }); });\n\t Object.keys(defaultStyles).forEach(function (prop) {\n\t if (!isPresent(data[prop])) {\n\t data[prop] = defaultStyles[prop];\n\t }\n\t });\n\t return data;\n\t }\n\t function filterWebAnimationPlayerFn(player) {\n\t return player instanceof WebAnimationsPlayer;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Provides DOM operations in any browser environment.\n\t *\n\t * @security Tread carefully! Interacting with the DOM directly is dangerous and\n\t * can introduce XSS risks.\n\t */\n\t var GenericBrowserDomAdapter = (function (_super) {\n\t __extends$1(GenericBrowserDomAdapter, _super);\n\t function GenericBrowserDomAdapter() {\n\t var _this = this;\n\t _super.call(this);\n\t this._animationPrefix = null;\n\t this._transitionEnd = null;\n\t try {\n\t var element_1 = this.createElement('div', this.defaultDoc());\n\t if (isPresent(this.getStyle(element_1, 'animationName'))) {\n\t this._animationPrefix = '';\n\t }\n\t else {\n\t var domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\n\t for (var i = 0; i < domPrefixes.length; i++) {\n\t if (isPresent(this.getStyle(element_1, domPrefixes[i] + 'AnimationName'))) {\n\t this._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\n\t break;\n\t }\n\t }\n\t }\n\t var transEndEventNames_1 = {\n\t WebkitTransition: 'webkitTransitionEnd',\n\t MozTransition: 'transitionend',\n\t OTransition: 'oTransitionEnd otransitionend',\n\t transition: 'transitionend'\n\t };\n\t Object.keys(transEndEventNames_1).forEach(function (key) {\n\t if (isPresent(_this.getStyle(element_1, key))) {\n\t _this._transitionEnd = transEndEventNames_1[key];\n\t }\n\t });\n\t }\n\t catch (e) {\n\t this._animationPrefix = null;\n\t this._transitionEnd = null;\n\t }\n\t }\n\t GenericBrowserDomAdapter.prototype.getDistributedNodes = function (el) { return el.getDistributedNodes(); };\n\t GenericBrowserDomAdapter.prototype.resolveAndSetHref = function (el, baseUrl, href) {\n\t el.href = href == null ? baseUrl : baseUrl + '/../' + href;\n\t };\n\t GenericBrowserDomAdapter.prototype.supportsDOMEvents = function () { return true; };\n\t GenericBrowserDomAdapter.prototype.supportsNativeShadowDOM = function () {\n\t return typeof this.defaultDoc().body.createShadowRoot === 'function';\n\t };\n\t GenericBrowserDomAdapter.prototype.getAnimationPrefix = function () { return this._animationPrefix ? this._animationPrefix : ''; };\n\t GenericBrowserDomAdapter.prototype.getTransitionEnd = function () { return this._transitionEnd ? this._transitionEnd : ''; };\n\t GenericBrowserDomAdapter.prototype.supportsAnimation = function () {\n\t return isPresent(this._animationPrefix) && isPresent(this._transitionEnd);\n\t };\n\t return GenericBrowserDomAdapter;\n\t }(DomAdapter));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var _attrToPropMap = {\n\t 'class': 'className',\n\t 'innerHtml': 'innerHTML',\n\t 'readonly': 'readOnly',\n\t 'tabindex': 'tabIndex',\n\t };\n\t var DOM_KEY_LOCATION_NUMPAD = 3;\n\t // Map to convert some key or keyIdentifier values to what will be returned by getEventKey\n\t var _keyMap = {\n\t // The following values are here for cross-browser compatibility and to match the W3C standard\n\t // cf http://www.w3.org/TR/DOM-Level-3-Events-key/\n\t '\\b': 'Backspace',\n\t '\\t': 'Tab',\n\t '\\x7F': 'Delete',\n\t '\\x1B': 'Escape',\n\t 'Del': 'Delete',\n\t 'Esc': 'Escape',\n\t 'Left': 'ArrowLeft',\n\t 'Right': 'ArrowRight',\n\t 'Up': 'ArrowUp',\n\t 'Down': 'ArrowDown',\n\t 'Menu': 'ContextMenu',\n\t 'Scroll': 'ScrollLock',\n\t 'Win': 'OS'\n\t };\n\t // There is a bug in Chrome for numeric keypad keys:\n\t // https://code.google.com/p/chromium/issues/detail?id=155654\n\t // 1, 2, 3 ... are reported as A, B, C ...\n\t var _chromeNumKeyPadMap = {\n\t 'A': '1',\n\t 'B': '2',\n\t 'C': '3',\n\t 'D': '4',\n\t 'E': '5',\n\t 'F': '6',\n\t 'G': '7',\n\t 'H': '8',\n\t 'I': '9',\n\t 'J': '*',\n\t 'K': '+',\n\t 'M': '-',\n\t 'N': '.',\n\t 'O': '/',\n\t '\\x60': '0',\n\t '\\x90': 'NumLock'\n\t };\n\t /**\n\t * A `DomAdapter` powered by full browser DOM APIs.\n\t *\n\t * @security Tread carefully! Interacting with the DOM directly is dangerous and\n\t * can introduce XSS risks.\n\t */\n\t /* tslint:disable:requireParameterType */\n\t var BrowserDomAdapter = (function (_super) {\n\t __extends(BrowserDomAdapter, _super);\n\t function BrowserDomAdapter() {\n\t _super.apply(this, arguments);\n\t }\n\t BrowserDomAdapter.prototype.parse = function (templateHtml) { throw new Error('parse not implemented'); };\n\t BrowserDomAdapter.makeCurrent = function () { setRootDomAdapter(new BrowserDomAdapter()); };\n\t BrowserDomAdapter.prototype.hasProperty = function (element, name) { return name in element; };\n\t BrowserDomAdapter.prototype.setProperty = function (el, name, value) { el[name] = value; };\n\t BrowserDomAdapter.prototype.getProperty = function (el, name) { return el[name]; };\n\t BrowserDomAdapter.prototype.invoke = function (el, methodName, args) { (_a = el)[methodName].apply(_a, args); var _a; };\n\t // TODO(tbosch): move this into a separate environment class once we have it\n\t BrowserDomAdapter.prototype.logError = function (error) {\n\t if (window.console) {\n\t (window.console.error || window.console.log)(error);\n\t }\n\t };\n\t BrowserDomAdapter.prototype.log = function (error) {\n\t if (window.console) {\n\t window.console.log && window.console.log(error);\n\t }\n\t };\n\t BrowserDomAdapter.prototype.logGroup = function (error) {\n\t if (window.console) {\n\t window.console.group && window.console.group(error);\n\t this.logError(error);\n\t }\n\t };\n\t BrowserDomAdapter.prototype.logGroupEnd = function () {\n\t if (window.console) {\n\t window.console.groupEnd && window.console.groupEnd();\n\t }\n\t };\n\t Object.defineProperty(BrowserDomAdapter.prototype, \"attrToPropMap\", {\n\t get: function () { return _attrToPropMap; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BrowserDomAdapter.prototype.query = function (selector) { return document.querySelector(selector); };\n\t BrowserDomAdapter.prototype.querySelector = function (el, selector) {\n\t return el.querySelector(selector);\n\t };\n\t BrowserDomAdapter.prototype.querySelectorAll = function (el, selector) { return el.querySelectorAll(selector); };\n\t BrowserDomAdapter.prototype.on = function (el, evt, listener) { el.addEventListener(evt, listener, false); };\n\t BrowserDomAdapter.prototype.onAndCancel = function (el, evt, listener) {\n\t el.addEventListener(evt, listener, false);\n\t // Needed to follow Dart's subscription semantic, until fix of\n\t // https://code.google.com/p/dart/issues/detail?id=17406\n\t return function () { el.removeEventListener(evt, listener, false); };\n\t };\n\t BrowserDomAdapter.prototype.dispatchEvent = function (el, evt) { el.dispatchEvent(evt); };\n\t BrowserDomAdapter.prototype.createMouseEvent = function (eventType) {\n\t var evt = document.createEvent('MouseEvent');\n\t evt.initEvent(eventType, true, true);\n\t return evt;\n\t };\n\t BrowserDomAdapter.prototype.createEvent = function (eventType) {\n\t var evt = document.createEvent('Event');\n\t evt.initEvent(eventType, true, true);\n\t return evt;\n\t };\n\t BrowserDomAdapter.prototype.preventDefault = function (evt) {\n\t evt.preventDefault();\n\t evt.returnValue = false;\n\t };\n\t BrowserDomAdapter.prototype.isPrevented = function (evt) {\n\t return evt.defaultPrevented || isPresent(evt.returnValue) && !evt.returnValue;\n\t };\n\t BrowserDomAdapter.prototype.getInnerHTML = function (el) { return el.innerHTML; };\n\t BrowserDomAdapter.prototype.getTemplateContent = function (el) {\n\t return 'content' in el && el instanceof HTMLTemplateElement ? el.content : null;\n\t };\n\t BrowserDomAdapter.prototype.getOuterHTML = function (el) { return el.outerHTML; };\n\t BrowserDomAdapter.prototype.nodeName = function (node) { return node.nodeName; };\n\t BrowserDomAdapter.prototype.nodeValue = function (node) { return node.nodeValue; };\n\t BrowserDomAdapter.prototype.type = function (node) { return node.type; };\n\t BrowserDomAdapter.prototype.content = function (node) {\n\t if (this.hasProperty(node, 'content')) {\n\t return node.content;\n\t }\n\t else {\n\t return node;\n\t }\n\t };\n\t BrowserDomAdapter.prototype.firstChild = function (el) { return el.firstChild; };\n\t BrowserDomAdapter.prototype.nextSibling = function (el) { return el.nextSibling; };\n\t BrowserDomAdapter.prototype.parentElement = function (el) { return el.parentNode; };\n\t BrowserDomAdapter.prototype.childNodes = function (el) { return el.childNodes; };\n\t BrowserDomAdapter.prototype.childNodesAsList = function (el) {\n\t var childNodes = el.childNodes;\n\t var res = new Array(childNodes.length);\n\t for (var i = 0; i < childNodes.length; i++) {\n\t res[i] = childNodes[i];\n\t }\n\t return res;\n\t };\n\t BrowserDomAdapter.prototype.clearNodes = function (el) {\n\t while (el.firstChild) {\n\t el.removeChild(el.firstChild);\n\t }\n\t };\n\t BrowserDomAdapter.prototype.appendChild = function (el, node) { el.appendChild(node); };\n\t BrowserDomAdapter.prototype.removeChild = function (el, node) { el.removeChild(node); };\n\t BrowserDomAdapter.prototype.replaceChild = function (el, newChild, oldChild) { el.replaceChild(newChild, oldChild); };\n\t BrowserDomAdapter.prototype.remove = function (node) {\n\t if (node.parentNode) {\n\t node.parentNode.removeChild(node);\n\t }\n\t return node;\n\t };\n\t BrowserDomAdapter.prototype.insertBefore = function (el, node) { el.parentNode.insertBefore(node, el); };\n\t BrowserDomAdapter.prototype.insertAllBefore = function (el, nodes) {\n\t nodes.forEach(function (n) { return el.parentNode.insertBefore(n, el); });\n\t };\n\t BrowserDomAdapter.prototype.insertAfter = function (el, node) { el.parentNode.insertBefore(node, el.nextSibling); };\n\t BrowserDomAdapter.prototype.setInnerHTML = function (el, value) { el.innerHTML = value; };\n\t BrowserDomAdapter.prototype.getText = function (el) { return el.textContent; };\n\t BrowserDomAdapter.prototype.setText = function (el, value) { el.textContent = value; };\n\t BrowserDomAdapter.prototype.getValue = function (el) { return el.value; };\n\t BrowserDomAdapter.prototype.setValue = function (el, value) { el.value = value; };\n\t BrowserDomAdapter.prototype.getChecked = function (el) { return el.checked; };\n\t BrowserDomAdapter.prototype.setChecked = function (el, value) { el.checked = value; };\n\t BrowserDomAdapter.prototype.createComment = function (text) { return document.createComment(text); };\n\t BrowserDomAdapter.prototype.createTemplate = function (html) {\n\t var t = document.createElement('template');\n\t t.innerHTML = html;\n\t return t;\n\t };\n\t BrowserDomAdapter.prototype.createElement = function (tagName, doc) {\n\t if (doc === void 0) { doc = document; }\n\t return doc.createElement(tagName);\n\t };\n\t BrowserDomAdapter.prototype.createElementNS = function (ns, tagName, doc) {\n\t if (doc === void 0) { doc = document; }\n\t return doc.createElementNS(ns, tagName);\n\t };\n\t BrowserDomAdapter.prototype.createTextNode = function (text, doc) {\n\t if (doc === void 0) { doc = document; }\n\t return doc.createTextNode(text);\n\t };\n\t BrowserDomAdapter.prototype.createScriptTag = function (attrName, attrValue, doc) {\n\t if (doc === void 0) { doc = document; }\n\t var el = doc.createElement('SCRIPT');\n\t el.setAttribute(attrName, attrValue);\n\t return el;\n\t };\n\t BrowserDomAdapter.prototype.createStyleElement = function (css, doc) {\n\t if (doc === void 0) { doc = document; }\n\t var style = doc.createElement('style');\n\t this.appendChild(style, this.createTextNode(css));\n\t return style;\n\t };\n\t BrowserDomAdapter.prototype.createShadowRoot = function (el) { return el.createShadowRoot(); };\n\t BrowserDomAdapter.prototype.getShadowRoot = function (el) { return el.shadowRoot; };\n\t BrowserDomAdapter.prototype.getHost = function (el) { return el.host; };\n\t BrowserDomAdapter.prototype.clone = function (node) { return node.cloneNode(true); };\n\t BrowserDomAdapter.prototype.getElementsByClassName = function (element, name) {\n\t return element.getElementsByClassName(name);\n\t };\n\t BrowserDomAdapter.prototype.getElementsByTagName = function (element, name) {\n\t return element.getElementsByTagName(name);\n\t };\n\t BrowserDomAdapter.prototype.classList = function (element) { return Array.prototype.slice.call(element.classList, 0); };\n\t BrowserDomAdapter.prototype.addClass = function (element, className) { element.classList.add(className); };\n\t BrowserDomAdapter.prototype.removeClass = function (element, className) { element.classList.remove(className); };\n\t BrowserDomAdapter.prototype.hasClass = function (element, className) {\n\t return element.classList.contains(className);\n\t };\n\t BrowserDomAdapter.prototype.setStyle = function (element, styleName, styleValue) {\n\t element.style[styleName] = styleValue;\n\t };\n\t BrowserDomAdapter.prototype.removeStyle = function (element, stylename) {\n\t // IE requires '' instead of null\n\t // see https://github.com/angular/angular/issues/7916\n\t element.style[stylename] = '';\n\t };\n\t BrowserDomAdapter.prototype.getStyle = function (element, stylename) { return element.style[stylename]; };\n\t BrowserDomAdapter.prototype.hasStyle = function (element, styleName, styleValue) {\n\t if (styleValue === void 0) { styleValue = null; }\n\t var value = this.getStyle(element, styleName) || '';\n\t return styleValue ? value == styleValue : value.length > 0;\n\t };\n\t BrowserDomAdapter.prototype.tagName = function (element) { return element.tagName; };\n\t BrowserDomAdapter.prototype.attributeMap = function (element) {\n\t var res = new Map();\n\t var elAttrs = element.attributes;\n\t for (var i = 0; i < elAttrs.length; i++) {\n\t var attrib = elAttrs[i];\n\t res.set(attrib.name, attrib.value);\n\t }\n\t return res;\n\t };\n\t BrowserDomAdapter.prototype.hasAttribute = function (element, attribute) {\n\t return element.hasAttribute(attribute);\n\t };\n\t BrowserDomAdapter.prototype.hasAttributeNS = function (element, ns, attribute) {\n\t return element.hasAttributeNS(ns, attribute);\n\t };\n\t BrowserDomAdapter.prototype.getAttribute = function (element, attribute) {\n\t return element.getAttribute(attribute);\n\t };\n\t BrowserDomAdapter.prototype.getAttributeNS = function (element, ns, name) {\n\t return element.getAttributeNS(ns, name);\n\t };\n\t BrowserDomAdapter.prototype.setAttribute = function (element, name, value) { element.setAttribute(name, value); };\n\t BrowserDomAdapter.prototype.setAttributeNS = function (element, ns, name, value) {\n\t element.setAttributeNS(ns, name, value);\n\t };\n\t BrowserDomAdapter.prototype.removeAttribute = function (element, attribute) { element.removeAttribute(attribute); };\n\t BrowserDomAdapter.prototype.removeAttributeNS = function (element, ns, name) {\n\t element.removeAttributeNS(ns, name);\n\t };\n\t BrowserDomAdapter.prototype.templateAwareRoot = function (el) { return this.isTemplateElement(el) ? this.content(el) : el; };\n\t BrowserDomAdapter.prototype.createHtmlDocument = function () {\n\t return document.implementation.createHTMLDocument('fakeTitle');\n\t };\n\t BrowserDomAdapter.prototype.defaultDoc = function () { return document; };\n\t BrowserDomAdapter.prototype.getBoundingClientRect = function (el) {\n\t try {\n\t return el.getBoundingClientRect();\n\t }\n\t catch (e) {\n\t return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 };\n\t }\n\t };\n\t BrowserDomAdapter.prototype.getTitle = function () { return document.title; };\n\t BrowserDomAdapter.prototype.setTitle = function (newTitle) { document.title = newTitle || ''; };\n\t BrowserDomAdapter.prototype.elementMatches = function (n, selector) {\n\t if (n instanceof HTMLElement) {\n\t return n.matches && n.matches(selector) ||\n\t n.msMatchesSelector && n.msMatchesSelector(selector) ||\n\t n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n\t }\n\t return false;\n\t };\n\t BrowserDomAdapter.prototype.isTemplateElement = function (el) {\n\t return el instanceof HTMLElement && el.nodeName == 'TEMPLATE';\n\t };\n\t BrowserDomAdapter.prototype.isTextNode = function (node) { return node.nodeType === Node.TEXT_NODE; };\n\t BrowserDomAdapter.prototype.isCommentNode = function (node) { return node.nodeType === Node.COMMENT_NODE; };\n\t BrowserDomAdapter.prototype.isElementNode = function (node) { return node.nodeType === Node.ELEMENT_NODE; };\n\t BrowserDomAdapter.prototype.hasShadowRoot = function (node) {\n\t return isPresent(node.shadowRoot) && node instanceof HTMLElement;\n\t };\n\t BrowserDomAdapter.prototype.isShadowRoot = function (node) { return node instanceof DocumentFragment; };\n\t BrowserDomAdapter.prototype.importIntoDoc = function (node) { return document.importNode(this.templateAwareRoot(node), true); };\n\t BrowserDomAdapter.prototype.adoptNode = function (node) { return document.adoptNode(node); };\n\t BrowserDomAdapter.prototype.getHref = function (el) { return el.href; };\n\t BrowserDomAdapter.prototype.getEventKey = function (event) {\n\t var key = event.key;\n\t if (isBlank(key)) {\n\t key = event.keyIdentifier;\n\t // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and\n\t // Safari cf\n\t // http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces\n\t if (isBlank(key)) {\n\t return 'Unidentified';\n\t }\n\t if (key.startsWith('U+')) {\n\t key = String.fromCharCode(parseInt(key.substring(2), 16));\n\t if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\n\t // There is a bug in Chrome for numeric keypad keys:\n\t // https://code.google.com/p/chromium/issues/detail?id=155654\n\t // 1, 2, 3 ... are reported as A, B, C ...\n\t key = _chromeNumKeyPadMap[key];\n\t }\n\t }\n\t }\n\t return _keyMap[key] || key;\n\t };\n\t BrowserDomAdapter.prototype.getGlobalEventTarget = function (target) {\n\t if (target === 'window') {\n\t return window;\n\t }\n\t if (target === 'document') {\n\t return document;\n\t }\n\t if (target === 'body') {\n\t return document.body;\n\t }\n\t };\n\t BrowserDomAdapter.prototype.getHistory = function () { return window.history; };\n\t BrowserDomAdapter.prototype.getLocation = function () { return window.location; };\n\t BrowserDomAdapter.prototype.getBaseHref = function () {\n\t var href = getBaseElementHref();\n\t return isBlank(href) ? null : relativePath(href);\n\t };\n\t BrowserDomAdapter.prototype.resetBaseElement = function () { baseElement = null; };\n\t BrowserDomAdapter.prototype.getUserAgent = function () { return window.navigator.userAgent; };\n\t BrowserDomAdapter.prototype.setData = function (element, name, value) {\n\t this.setAttribute(element, 'data-' + name, value);\n\t };\n\t BrowserDomAdapter.prototype.getData = function (element, name) {\n\t return this.getAttribute(element, 'data-' + name);\n\t };\n\t BrowserDomAdapter.prototype.getComputedStyle = function (element) { return getComputedStyle(element); };\n\t // TODO(tbosch): move this into a separate environment class once we have it\n\t BrowserDomAdapter.prototype.setGlobalVar = function (path, value) { setValueOnPath(global$1, path, value); };\n\t BrowserDomAdapter.prototype.supportsWebAnimation = function () {\n\t return typeof Element.prototype['animate'] === 'function';\n\t };\n\t BrowserDomAdapter.prototype.performanceNow = function () {\n\t // performance.now() is not available in all browsers, see\n\t // http://caniuse.com/#search=performance.now\n\t return window.performance && window.performance.now ? window.performance.now() :\n\t new Date().getTime();\n\t };\n\t BrowserDomAdapter.prototype.supportsCookies = function () { return true; };\n\t BrowserDomAdapter.prototype.getCookie = function (name) { return parseCookieValue(document.cookie, name); };\n\t BrowserDomAdapter.prototype.setCookie = function (name, value) {\n\t // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does\n\t // not clear other cookies.\n\t document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n\t };\n\t return BrowserDomAdapter;\n\t }(GenericBrowserDomAdapter));\n\t var baseElement = null;\n\t function getBaseElementHref() {\n\t if (!baseElement) {\n\t baseElement = document.querySelector('base');\n\t if (!baseElement) {\n\t return null;\n\t }\n\t }\n\t return baseElement.getAttribute('href');\n\t }\n\t // based on urlUtils.js in AngularJS 1\n\t var urlParsingNode;\n\t function relativePath(url) {\n\t if (!urlParsingNode) {\n\t urlParsingNode = document.createElement('a');\n\t }\n\t urlParsingNode.setAttribute('href', url);\n\t return (urlParsingNode.pathname.charAt(0) === '/') ? urlParsingNode.pathname :\n\t '/' + urlParsingNode.pathname;\n\t }\n\t function parseCookieValue(cookieStr, name) {\n\t name = encodeURIComponent(name);\n\t for (var _i = 0, _a = cookieStr.split(';'); _i < _a.length; _i++) {\n\t var cookie = _a[_i];\n\t var eqIndex = cookie.indexOf('=');\n\t var _b = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)], cookieName = _b[0], cookieValue = _b[1];\n\t if (cookieName.trim() === name) {\n\t return decodeURIComponent(cookieValue);\n\t }\n\t }\n\t return null;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function supportsState() {\n\t return !!window.history.pushState;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n\t * This class should not be used directly by an application developer. Instead, use\n\t * {@link Location}.\n\t */\n\t var BrowserPlatformLocation = (function (_super) {\n\t __extends$2(BrowserPlatformLocation, _super);\n\t function BrowserPlatformLocation() {\n\t _super.call(this);\n\t this._init();\n\t }\n\t // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n\t /** @internal */\n\t BrowserPlatformLocation.prototype._init = function () {\n\t this._location = getDOM().getLocation();\n\t this._history = getDOM().getHistory();\n\t };\n\t Object.defineProperty(BrowserPlatformLocation.prototype, \"location\", {\n\t get: function () { return this._location; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BrowserPlatformLocation.prototype.getBaseHrefFromDOM = function () { return getDOM().getBaseHref(); };\n\t BrowserPlatformLocation.prototype.onPopState = function (fn) {\n\t getDOM().getGlobalEventTarget('window').addEventListener('popstate', fn, false);\n\t };\n\t BrowserPlatformLocation.prototype.onHashChange = function (fn) {\n\t getDOM().getGlobalEventTarget('window').addEventListener('hashchange', fn, false);\n\t };\n\t Object.defineProperty(BrowserPlatformLocation.prototype, \"pathname\", {\n\t get: function () { return this._location.pathname; },\n\t set: function (newPath) { this._location.pathname = newPath; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BrowserPlatformLocation.prototype, \"search\", {\n\t get: function () { return this._location.search; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BrowserPlatformLocation.prototype, \"hash\", {\n\t get: function () { return this._location.hash; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BrowserPlatformLocation.prototype.pushState = function (state, title, url) {\n\t if (supportsState()) {\n\t this._history.pushState(state, title, url);\n\t }\n\t else {\n\t this._location.hash = url;\n\t }\n\t };\n\t BrowserPlatformLocation.prototype.replaceState = function (state, title, url) {\n\t if (supportsState()) {\n\t this._history.replaceState(state, title, url);\n\t }\n\t else {\n\t this._location.hash = url;\n\t }\n\t };\n\t BrowserPlatformLocation.prototype.forward = function () { this._history.forward(); };\n\t BrowserPlatformLocation.prototype.back = function () { this._history.back(); };\n\t BrowserPlatformLocation.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t BrowserPlatformLocation.ctorParameters = [];\n\t return BrowserPlatformLocation;\n\t }(_angular_common.PlatformLocation));\n\t\n\t var BrowserGetTestability = (function () {\n\t function BrowserGetTestability() {\n\t }\n\t BrowserGetTestability.init = function () { _angular_core.setTestabilityGetter(new BrowserGetTestability()); };\n\t BrowserGetTestability.prototype.addToWindow = function (registry) {\n\t global$1.getAngularTestability = function (elem, findInAncestors) {\n\t if (findInAncestors === void 0) { findInAncestors = true; }\n\t var testability = registry.findTestabilityInTree(elem, findInAncestors);\n\t if (testability == null) {\n\t throw new Error('Could not find testability for element.');\n\t }\n\t return testability;\n\t };\n\t global$1.getAllAngularTestabilities = function () { return registry.getAllTestabilities(); };\n\t global$1.getAllAngularRootElements = function () { return registry.getAllRootElements(); };\n\t var whenAllStable = function (callback /** TODO #9100 */) {\n\t var testabilities = global$1.getAllAngularTestabilities();\n\t var count = testabilities.length;\n\t var didWork = false;\n\t var decrement = function (didWork_ /** TODO #9100 */) {\n\t didWork = didWork || didWork_;\n\t count--;\n\t if (count == 0) {\n\t callback(didWork);\n\t }\n\t };\n\t testabilities.forEach(function (testability /** TODO #9100 */) {\n\t testability.whenStable(decrement);\n\t });\n\t };\n\t if (!global$1['frameworkStabilizers']) {\n\t global$1['frameworkStabilizers'] = [];\n\t }\n\t global$1['frameworkStabilizers'].push(whenAllStable);\n\t };\n\t BrowserGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\n\t if (elem == null) {\n\t return null;\n\t }\n\t var t = registry.getTestability(elem);\n\t if (isPresent(t)) {\n\t return t;\n\t }\n\t else if (!findInAncestors) {\n\t return null;\n\t }\n\t if (getDOM().isShadowRoot(elem)) {\n\t return this.findTestabilityInTree(registry, getDOM().getHost(elem), true);\n\t }\n\t return this.findTestabilityInTree(registry, getDOM().parentElement(elem), true);\n\t };\n\t return BrowserGetTestability;\n\t }());\n\t\n\t /**\n\t * A service that can be used to get and set the title of a current HTML document.\n\t *\n\t * Since an Angular 2 application can't be bootstrapped on the entire HTML document (`<html>` tag)\n\t * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n\t * (representing the `<title>` tag). Instead, this service can be used to set and get the current\n\t * title value.\n\t *\n\t * @experimental\n\t */\n\t var Title = (function () {\n\t function Title() {\n\t }\n\t /**\n\t * Get the title of the current HTML document.\n\t * @returns {string}\n\t */\n\t Title.prototype.getTitle = function () { return getDOM().getTitle(); };\n\t /**\n\t * Set the title of the current HTML document.\n\t * @param newTitle\n\t */\n\t Title.prototype.setTitle = function (newTitle) { getDOM().setTitle(newTitle); };\n\t return Title;\n\t }());\n\t\n\t /**\n\t * Wraps Javascript Objects\n\t */\n\t var StringMapWrapper = (function () {\n\t function StringMapWrapper() {\n\t }\n\t StringMapWrapper.merge = function (m1, m2) {\n\t var m = {};\n\t for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n\t var k = _a[_i];\n\t m[k] = m1[k];\n\t }\n\t for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n\t var k = _c[_b];\n\t m[k] = m2[k];\n\t }\n\t return m;\n\t };\n\t StringMapWrapper.equals = function (m1, m2) {\n\t var k1 = Object.keys(m1);\n\t var k2 = Object.keys(m2);\n\t if (k1.length != k2.length) {\n\t return false;\n\t }\n\t for (var i = 0; i < k1.length; i++) {\n\t var key = k1[i];\n\t if (m1[key] !== m2[key]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t return StringMapWrapper;\n\t }());\n\t\n\t /**\n\t * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n\t *\n\t * Note: Document might not be available in the Application Context when Application and Rendering\n\t * Contexts are not the same (e.g. when running the application into a Web Worker).\n\t *\n\t * @stable\n\t */\n\t var DOCUMENT = new _angular_core.OpaqueToken('DocumentToken');\n\t\n\t /**\n\t * @stable\n\t */\n\t var EVENT_MANAGER_PLUGINS = new _angular_core.OpaqueToken('EventManagerPlugins');\n\t /**\n\t * @stable\n\t */\n\t var EventManager = (function () {\n\t function EventManager(plugins, _zone) {\n\t var _this = this;\n\t this._zone = _zone;\n\t this._eventNameToPlugin = new Map();\n\t plugins.forEach(function (p) { return p.manager = _this; });\n\t this._plugins = plugins.slice().reverse();\n\t }\n\t EventManager.prototype.addEventListener = function (element, eventName, handler) {\n\t var plugin = this._findPluginFor(eventName);\n\t return plugin.addEventListener(element, eventName, handler);\n\t };\n\t EventManager.prototype.addGlobalEventListener = function (target, eventName, handler) {\n\t var plugin = this._findPluginFor(eventName);\n\t return plugin.addGlobalEventListener(target, eventName, handler);\n\t };\n\t EventManager.prototype.getZone = function () { return this._zone; };\n\t /** @internal */\n\t EventManager.prototype._findPluginFor = function (eventName) {\n\t var plugin = this._eventNameToPlugin.get(eventName);\n\t if (plugin) {\n\t return plugin;\n\t }\n\t var plugins = this._plugins;\n\t for (var i = 0; i < plugins.length; i++) {\n\t var plugin_1 = plugins[i];\n\t if (plugin_1.supports(eventName)) {\n\t this._eventNameToPlugin.set(eventName, plugin_1);\n\t return plugin_1;\n\t }\n\t }\n\t throw new Error(\"No event manager plugin found for event \" + eventName);\n\t };\n\t EventManager.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t EventManager.ctorParameters = [\n\t { type: Array, decorators: [{ type: _angular_core.Inject, args: [EVENT_MANAGER_PLUGINS,] },] },\n\t { type: _angular_core.NgZone, },\n\t ];\n\t return EventManager;\n\t }());\n\t var EventManagerPlugin = (function () {\n\t function EventManagerPlugin() {\n\t }\n\t EventManagerPlugin.prototype.addGlobalEventListener = function (element, eventName, handler) {\n\t var target = getDOM().getGlobalEventTarget(element);\n\t if (!target) {\n\t throw new Error(\"Unsupported event target \" + target + \" for event \" + eventName);\n\t }\n\t return this.addEventListener(target, eventName, handler);\n\t };\n\t ;\n\t return EventManagerPlugin;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var SharedStylesHost = (function () {\n\t function SharedStylesHost() {\n\t /** @internal */\n\t this._styles = [];\n\t /** @internal */\n\t this._stylesSet = new Set();\n\t }\n\t SharedStylesHost.prototype.addStyles = function (styles) {\n\t var _this = this;\n\t var additions = [];\n\t styles.forEach(function (style) {\n\t if (!_this._stylesSet.has(style)) {\n\t _this._stylesSet.add(style);\n\t _this._styles.push(style);\n\t additions.push(style);\n\t }\n\t });\n\t this.onStylesAdded(additions);\n\t };\n\t SharedStylesHost.prototype.onStylesAdded = function (additions) { };\n\t SharedStylesHost.prototype.getAllStyles = function () { return this._styles; };\n\t SharedStylesHost.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t SharedStylesHost.ctorParameters = [];\n\t return SharedStylesHost;\n\t }());\n\t var DomSharedStylesHost = (function (_super) {\n\t __extends$4(DomSharedStylesHost, _super);\n\t function DomSharedStylesHost(doc) {\n\t _super.call(this);\n\t this._hostNodes = new Set();\n\t this._hostNodes.add(doc.head);\n\t }\n\t /** @internal */\n\t DomSharedStylesHost.prototype._addStylesToHost = function (styles, host) {\n\t for (var i = 0; i < styles.length; i++) {\n\t var styleEl = document.createElement('style');\n\t styleEl.textContent = styles[i];\n\t host.appendChild(styleEl);\n\t }\n\t };\n\t DomSharedStylesHost.prototype.addHost = function (hostNode) {\n\t this._addStylesToHost(this._styles, hostNode);\n\t this._hostNodes.add(hostNode);\n\t };\n\t DomSharedStylesHost.prototype.removeHost = function (hostNode) { this._hostNodes.delete(hostNode); };\n\t DomSharedStylesHost.prototype.onStylesAdded = function (additions) {\n\t var _this = this;\n\t this._hostNodes.forEach(function (hostNode) { _this._addStylesToHost(additions, hostNode); });\n\t };\n\t DomSharedStylesHost.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DomSharedStylesHost.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [DOCUMENT,] },] },\n\t ];\n\t return DomSharedStylesHost;\n\t }(SharedStylesHost));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var NAMESPACE_URIS = {\n\t 'xlink': 'http://www.w3.org/1999/xlink',\n\t 'svg': 'http://www.w3.org/2000/svg',\n\t 'xhtml': 'http://www.w3.org/1999/xhtml'\n\t };\n\t var TEMPLATE_COMMENT_TEXT = 'template bindings={}';\n\t var TEMPLATE_BINDINGS_EXP = /^template bindings=(.*)$/;\n\t var DomRootRenderer = (function () {\n\t function DomRootRenderer(document, eventManager, sharedStylesHost, animationDriver, appId) {\n\t this.document = document;\n\t this.eventManager = eventManager;\n\t this.sharedStylesHost = sharedStylesHost;\n\t this.animationDriver = animationDriver;\n\t this.appId = appId;\n\t this.registeredComponents = new Map();\n\t }\n\t DomRootRenderer.prototype.renderComponent = function (componentProto) {\n\t var renderer = this.registeredComponents.get(componentProto.id);\n\t if (!renderer) {\n\t renderer = new DomRenderer(this, componentProto, this.animationDriver, this.appId + \"-\" + componentProto.id);\n\t this.registeredComponents.set(componentProto.id, renderer);\n\t }\n\t return renderer;\n\t };\n\t return DomRootRenderer;\n\t }());\n\t var DomRootRenderer_ = (function (_super) {\n\t __extends$3(DomRootRenderer_, _super);\n\t function DomRootRenderer_(_document, _eventManager, sharedStylesHost, animationDriver, appId) {\n\t _super.call(this, _document, _eventManager, sharedStylesHost, animationDriver, appId);\n\t }\n\t DomRootRenderer_.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DomRootRenderer_.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [DOCUMENT,] },] },\n\t { type: EventManager, },\n\t { type: DomSharedStylesHost, },\n\t { type: AnimationDriver, },\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.APP_ID,] },] },\n\t ];\n\t return DomRootRenderer_;\n\t }(DomRootRenderer));\n\t var DIRECT_DOM_RENDERER = {\n\t remove: function (node) {\n\t if (node.parentNode) {\n\t node.parentNode.removeChild(node);\n\t }\n\t },\n\t appendChild: function (node, parent) { parent.appendChild(node); },\n\t insertBefore: function (node, refNode) { refNode.parentNode.insertBefore(node, refNode); },\n\t nextSibling: function (node) { return node.nextSibling; },\n\t parentElement: function (node) { return node.parentNode; }\n\t };\n\t var DomRenderer = (function () {\n\t function DomRenderer(_rootRenderer, componentProto, _animationDriver, styleShimId) {\n\t this._rootRenderer = _rootRenderer;\n\t this.componentProto = componentProto;\n\t this._animationDriver = _animationDriver;\n\t this.directRenderer = DIRECT_DOM_RENDERER;\n\t this._styles = flattenStyles(styleShimId, componentProto.styles, []);\n\t if (componentProto.encapsulation !== _angular_core.ViewEncapsulation.Native) {\n\t this._rootRenderer.sharedStylesHost.addStyles(this._styles);\n\t }\n\t if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Emulated) {\n\t this._contentAttr = shimContentAttribute(styleShimId);\n\t this._hostAttr = shimHostAttribute(styleShimId);\n\t }\n\t else {\n\t this._contentAttr = null;\n\t this._hostAttr = null;\n\t }\n\t }\n\t DomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\n\t var el;\n\t if (typeof selectorOrNode === 'string') {\n\t el = this._rootRenderer.document.querySelector(selectorOrNode);\n\t if (!el) {\n\t throw new Error(\"The selector \\\"\" + selectorOrNode + \"\\\" did not match any elements\");\n\t }\n\t }\n\t else {\n\t el = selectorOrNode;\n\t }\n\t while (el.firstChild) {\n\t el.removeChild(el.firstChild);\n\t }\n\t return el;\n\t };\n\t DomRenderer.prototype.createElement = function (parent, name, debugInfo) {\n\t var el;\n\t if (isNamespaced(name)) {\n\t var nsAndName = splitNamespace(name);\n\t el = document.createElementNS((NAMESPACE_URIS)[nsAndName[0]], nsAndName[1]);\n\t }\n\t else {\n\t el = document.createElement(name);\n\t }\n\t if (this._contentAttr) {\n\t el.setAttribute(this._contentAttr, '');\n\t }\n\t if (parent) {\n\t parent.appendChild(el);\n\t }\n\t return el;\n\t };\n\t DomRenderer.prototype.createViewRoot = function (hostElement) {\n\t var nodesParent;\n\t if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Native) {\n\t nodesParent = hostElement.createShadowRoot();\n\t this._rootRenderer.sharedStylesHost.addHost(nodesParent);\n\t for (var i = 0; i < this._styles.length; i++) {\n\t var styleEl = document.createElement('style');\n\t styleEl.textContent = this._styles[i];\n\t nodesParent.appendChild(styleEl);\n\t }\n\t }\n\t else {\n\t if (this._hostAttr) {\n\t hostElement.setAttribute(this._hostAttr, '');\n\t }\n\t nodesParent = hostElement;\n\t }\n\t return nodesParent;\n\t };\n\t DomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\n\t var comment = document.createComment(TEMPLATE_COMMENT_TEXT);\n\t if (parentElement) {\n\t parentElement.appendChild(comment);\n\t }\n\t return comment;\n\t };\n\t DomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\n\t var node = document.createTextNode(value);\n\t if (parentElement) {\n\t parentElement.appendChild(node);\n\t }\n\t return node;\n\t };\n\t DomRenderer.prototype.projectNodes = function (parentElement, nodes) {\n\t if (!parentElement)\n\t return;\n\t appendNodes(parentElement, nodes);\n\t };\n\t DomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) { moveNodesAfterSibling(node, viewRootNodes); };\n\t DomRenderer.prototype.detachView = function (viewRootNodes) {\n\t for (var i = 0; i < viewRootNodes.length; i++) {\n\t var node = viewRootNodes[i];\n\t if (node.parentNode) {\n\t node.parentNode.removeChild(node);\n\t }\n\t }\n\t };\n\t DomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\n\t if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Native && hostElement) {\n\t this._rootRenderer.sharedStylesHost.removeHost(hostElement.shadowRoot);\n\t }\n\t };\n\t DomRenderer.prototype.listen = function (renderElement, name, callback) {\n\t return this._rootRenderer.eventManager.addEventListener(renderElement, name, decoratePreventDefault(callback));\n\t };\n\t DomRenderer.prototype.listenGlobal = function (target, name, callback) {\n\t return this._rootRenderer.eventManager.addGlobalEventListener(target, name, decoratePreventDefault(callback));\n\t };\n\t DomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\n\t renderElement[propertyName] = propertyValue;\n\t };\n\t DomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\n\t var attrNs;\n\t var attrNameWithoutNs = attributeName;\n\t if (isNamespaced(attributeName)) {\n\t var nsAndName = splitNamespace(attributeName);\n\t attrNameWithoutNs = nsAndName[1];\n\t attributeName = nsAndName[0] + ':' + nsAndName[1];\n\t attrNs = NAMESPACE_URIS[nsAndName[0]];\n\t }\n\t if (isPresent(attributeValue)) {\n\t if (attrNs) {\n\t renderElement.setAttributeNS(attrNs, attributeName, attributeValue);\n\t }\n\t else {\n\t renderElement.setAttribute(attributeName, attributeValue);\n\t }\n\t }\n\t else {\n\t if (isPresent(attrNs)) {\n\t renderElement.removeAttributeNS(attrNs, attrNameWithoutNs);\n\t }\n\t else {\n\t renderElement.removeAttribute(attributeName);\n\t }\n\t }\n\t };\n\t DomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\n\t if (renderElement.nodeType === Node.COMMENT_NODE) {\n\t var existingBindings = renderElement.nodeValue.replace(/\\n/g, '').match(TEMPLATE_BINDINGS_EXP);\n\t var parsedBindings = JSON.parse(existingBindings[1]);\n\t parsedBindings[propertyName] = propertyValue;\n\t renderElement.nodeValue =\n\t TEMPLATE_COMMENT_TEXT.replace('{}', JSON.stringify(parsedBindings, null, 2));\n\t }\n\t else {\n\t this.setElementAttribute(renderElement, propertyName, propertyValue);\n\t }\n\t };\n\t DomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\n\t if (isAdd) {\n\t renderElement.classList.add(className);\n\t }\n\t else {\n\t renderElement.classList.remove(className);\n\t }\n\t };\n\t DomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\n\t if (isPresent(styleValue)) {\n\t renderElement.style[styleName] = stringify(styleValue);\n\t }\n\t else {\n\t // IE requires '' instead of null\n\t // see https://github.com/angular/angular/issues/7916\n\t renderElement.style[styleName] = '';\n\t }\n\t };\n\t DomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\n\t renderElement[methodName].apply(renderElement, args);\n\t };\n\t DomRenderer.prototype.setText = function (renderNode, text) { renderNode.nodeValue = text; };\n\t DomRenderer.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n\t if (previousPlayers === void 0) { previousPlayers = []; }\n\t return this._animationDriver.animate(element, startingStyles, keyframes, duration, delay, easing, previousPlayers);\n\t };\n\t return DomRenderer;\n\t }());\n\t function moveNodesAfterSibling(sibling, nodes) {\n\t var parent = sibling.parentNode;\n\t if (nodes.length > 0 && parent) {\n\t var nextSibling = sibling.nextSibling;\n\t if (nextSibling) {\n\t for (var i = 0; i < nodes.length; i++) {\n\t parent.insertBefore(nodes[i], nextSibling);\n\t }\n\t }\n\t else {\n\t for (var i = 0; i < nodes.length; i++) {\n\t parent.appendChild(nodes[i]);\n\t }\n\t }\n\t }\n\t }\n\t function appendNodes(parent, nodes) {\n\t for (var i = 0; i < nodes.length; i++) {\n\t parent.appendChild(nodes[i]);\n\t }\n\t }\n\t function decoratePreventDefault(eventHandler) {\n\t return function (event) {\n\t var allowDefaultBehavior = eventHandler(event);\n\t if (allowDefaultBehavior === false) {\n\t // TODO(tbosch): move preventDefault into event plugins...\n\t event.preventDefault();\n\t event.returnValue = false;\n\t }\n\t };\n\t }\n\t var COMPONENT_REGEX = /%COMP%/g;\n\t var COMPONENT_VARIABLE = '%COMP%';\n\t var HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\n\t var CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\n\t function shimContentAttribute(componentShortId) {\n\t return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n\t }\n\t function shimHostAttribute(componentShortId) {\n\t return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n\t }\n\t function flattenStyles(compId, styles, target) {\n\t for (var i = 0; i < styles.length; i++) {\n\t var style = styles[i];\n\t if (Array.isArray(style)) {\n\t flattenStyles(compId, style, target);\n\t }\n\t else {\n\t style = style.replace(COMPONENT_REGEX, compId);\n\t target.push(style);\n\t }\n\t }\n\t return target;\n\t }\n\t var NS_PREFIX_RE = /^:([^:]+):(.+)$/;\n\t function isNamespaced(name) {\n\t return name[0] === ':';\n\t }\n\t function splitNamespace(name) {\n\t var match = name.match(NS_PREFIX_RE);\n\t return [match[1], match[2]];\n\t }\n\t\n\t var CORE_TOKENS = {\n\t 'ApplicationRef': _angular_core.ApplicationRef,\n\t 'NgZone': _angular_core.NgZone\n\t };\n\t var INSPECT_GLOBAL_NAME = 'ng.probe';\n\t var CORE_TOKENS_GLOBAL_NAME = 'ng.coreTokens';\n\t /**\n\t * Returns a {@link DebugElement} for the given native DOM element, or\n\t * null if the given native element does not have an Angular view associated\n\t * with it.\n\t */\n\t function inspectNativeElement(element /** TODO #9100 */) {\n\t return _angular_core.getDebugNode(element);\n\t }\n\t /**\n\t * @experimental\n\t */\n\t var NgProbeToken = (function () {\n\t function NgProbeToken(name, token) {\n\t this.name = name;\n\t this.token = token;\n\t }\n\t return NgProbeToken;\n\t }());\n\t function _createConditionalRootRenderer(rootRenderer /** TODO #9100 */, extraTokens) {\n\t if (_angular_core.isDevMode()) {\n\t return _createRootRenderer(rootRenderer, extraTokens);\n\t }\n\t return rootRenderer;\n\t }\n\t function _createRootRenderer(rootRenderer /** TODO #9100 */, extraTokens) {\n\t getDOM().setGlobalVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\n\t getDOM().setGlobalVar(CORE_TOKENS_GLOBAL_NAME, StringMapWrapper.merge(CORE_TOKENS, _ngProbeTokensToMap(extraTokens || [])));\n\t return new DebugDomRootRenderer(rootRenderer);\n\t }\n\t function _ngProbeTokensToMap(tokens) {\n\t return tokens.reduce(function (prev, t) { return (prev[t.name] = t.token, prev); }, {});\n\t }\n\t /**\n\t * Providers which support debugging Angular applications (e.g. via `ng.probe`).\n\t */\n\t var ELEMENT_PROBE_PROVIDERS = [{\n\t provide: _angular_core.RootRenderer,\n\t useFactory: _createConditionalRootRenderer,\n\t deps: [DomRootRenderer, [NgProbeToken, new _angular_core.Optional()]]\n\t }];\n\t var ELEMENT_PROBE_PROVIDERS_PROD_MODE = [{\n\t provide: _angular_core.RootRenderer,\n\t useFactory: _createRootRenderer,\n\t deps: [DomRootRenderer, [NgProbeToken, new _angular_core.Optional()]]\n\t }];\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var DomEventsPlugin = (function (_super) {\n\t __extends$5(DomEventsPlugin, _super);\n\t function DomEventsPlugin() {\n\t _super.apply(this, arguments);\n\t }\n\t // This plugin should come last in the list of plugins, because it accepts all\n\t // events.\n\t DomEventsPlugin.prototype.supports = function (eventName) { return true; };\n\t DomEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\n\t element.addEventListener(eventName, handler, false);\n\t return function () { return element.removeEventListener(eventName, handler, false); };\n\t };\n\t DomEventsPlugin.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DomEventsPlugin.ctorParameters = [];\n\t return DomEventsPlugin;\n\t }(EventManagerPlugin));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$6 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var EVENT_NAMES = {\n\t // pan\n\t 'pan': true,\n\t 'panstart': true,\n\t 'panmove': true,\n\t 'panend': true,\n\t 'pancancel': true,\n\t 'panleft': true,\n\t 'panright': true,\n\t 'panup': true,\n\t 'pandown': true,\n\t // pinch\n\t 'pinch': true,\n\t 'pinchstart': true,\n\t 'pinchmove': true,\n\t 'pinchend': true,\n\t 'pinchcancel': true,\n\t 'pinchin': true,\n\t 'pinchout': true,\n\t // press\n\t 'press': true,\n\t 'pressup': true,\n\t // rotate\n\t 'rotate': true,\n\t 'rotatestart': true,\n\t 'rotatemove': true,\n\t 'rotateend': true,\n\t 'rotatecancel': true,\n\t // swipe\n\t 'swipe': true,\n\t 'swipeleft': true,\n\t 'swiperight': true,\n\t 'swipeup': true,\n\t 'swipedown': true,\n\t // tap\n\t 'tap': true,\n\t };\n\t /**\n\t * A DI token that you can use to provide{@link HammerGestureConfig} to Angular. Use it to configure\n\t * Hammer gestures.\n\t *\n\t * @experimental\n\t */\n\t var HAMMER_GESTURE_CONFIG = new _angular_core.OpaqueToken('HammerGestureConfig');\n\t /**\n\t * @experimental\n\t */\n\t var HammerGestureConfig = (function () {\n\t function HammerGestureConfig() {\n\t this.events = [];\n\t this.overrides = {};\n\t }\n\t HammerGestureConfig.prototype.buildHammer = function (element) {\n\t var mc = new Hammer(element);\n\t mc.get('pinch').set({ enable: true });\n\t mc.get('rotate').set({ enable: true });\n\t for (var eventName in this.overrides) {\n\t mc.get(eventName).set(this.overrides[eventName]);\n\t }\n\t return mc;\n\t };\n\t HammerGestureConfig.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t HammerGestureConfig.ctorParameters = [];\n\t return HammerGestureConfig;\n\t }());\n\t var HammerGesturesPlugin = (function (_super) {\n\t __extends$6(HammerGesturesPlugin, _super);\n\t function HammerGesturesPlugin(_config) {\n\t _super.call(this);\n\t this._config = _config;\n\t }\n\t HammerGesturesPlugin.prototype.supports = function (eventName) {\n\t if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n\t return false;\n\t }\n\t if (!window.Hammer) {\n\t throw new Error(\"Hammer.js is not loaded, can not bind \" + eventName + \" event\");\n\t }\n\t return true;\n\t };\n\t HammerGesturesPlugin.prototype.addEventListener = function (element, eventName, handler) {\n\t var _this = this;\n\t var zone = this.manager.getZone();\n\t eventName = eventName.toLowerCase();\n\t return zone.runOutsideAngular(function () {\n\t // Creating the manager bind events, must be done outside of angular\n\t var mc = _this._config.buildHammer(element);\n\t var callback = function (eventObj) {\n\t zone.runGuarded(function () { handler(eventObj); });\n\t };\n\t mc.on(eventName, callback);\n\t return function () { return mc.off(eventName, callback); };\n\t });\n\t };\n\t HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };\n\t HammerGesturesPlugin.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t HammerGesturesPlugin.ctorParameters = [\n\t { type: HammerGestureConfig, decorators: [{ type: _angular_core.Inject, args: [HAMMER_GESTURE_CONFIG,] },] },\n\t ];\n\t return HammerGesturesPlugin;\n\t }(EventManagerPlugin));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$7 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n\t var MODIFIER_KEY_GETTERS = {\n\t 'alt': function (event) { return event.altKey; },\n\t 'control': function (event) { return event.ctrlKey; },\n\t 'meta': function (event) { return event.metaKey; },\n\t 'shift': function (event) { return event.shiftKey; }\n\t };\n\t /**\n\t * @experimental\n\t */\n\t var KeyEventsPlugin = (function (_super) {\n\t __extends$7(KeyEventsPlugin, _super);\n\t function KeyEventsPlugin() {\n\t _super.call(this);\n\t }\n\t KeyEventsPlugin.prototype.supports = function (eventName) { return KeyEventsPlugin.parseEventName(eventName) != null; };\n\t KeyEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\n\t var parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n\t var outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n\t return this.manager.getZone().runOutsideAngular(function () {\n\t return getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n\t });\n\t };\n\t KeyEventsPlugin.parseEventName = function (eventName) {\n\t var parts = eventName.toLowerCase().split('.');\n\t var domEventName = parts.shift();\n\t if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n\t return null;\n\t }\n\t var key = KeyEventsPlugin._normalizeKey(parts.pop());\n\t var fullKey = '';\n\t MODIFIER_KEYS.forEach(function (modifierName) {\n\t var index = parts.indexOf(modifierName);\n\t if (index > -1) {\n\t parts.splice(index, 1);\n\t fullKey += modifierName + '.';\n\t }\n\t });\n\t fullKey += key;\n\t if (parts.length != 0 || key.length === 0) {\n\t // returning null instead of throwing to let another plugin process the event\n\t return null;\n\t }\n\t var result = {};\n\t result['domEventName'] = domEventName;\n\t result['fullKey'] = fullKey;\n\t return result;\n\t };\n\t KeyEventsPlugin.getEventFullKey = function (event) {\n\t var fullKey = '';\n\t var key = getDOM().getEventKey(event);\n\t key = key.toLowerCase();\n\t if (key === ' ') {\n\t key = 'space'; // for readability\n\t }\n\t else if (key === '.') {\n\t key = 'dot'; // because '.' is used as a separator in event names\n\t }\n\t MODIFIER_KEYS.forEach(function (modifierName) {\n\t if (modifierName != key) {\n\t var modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n\t if (modifierGetter(event)) {\n\t fullKey += modifierName + '.';\n\t }\n\t }\n\t });\n\t fullKey += key;\n\t return fullKey;\n\t };\n\t KeyEventsPlugin.eventCallback = function (fullKey, handler, zone) {\n\t return function (event /** TODO #9100 */) {\n\t if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {\n\t zone.runGuarded(function () { return handler(event); });\n\t }\n\t };\n\t };\n\t /** @internal */\n\t KeyEventsPlugin._normalizeKey = function (keyName) {\n\t // TODO: switch to a Map if the mapping grows too much\n\t switch (keyName) {\n\t case 'esc':\n\t return 'escape';\n\t default:\n\t return keyName;\n\t }\n\t };\n\t KeyEventsPlugin.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t KeyEventsPlugin.ctorParameters = [];\n\t return KeyEventsPlugin;\n\t }(EventManagerPlugin));\n\t\n\t /**\n\t * A pattern that recognizes a commonly useful subset of URLs that are safe.\n\t *\n\t * This regular expression matches a subset of URLs that will not cause script\n\t * execution if used in URL context within a HTML document. Specifically, this\n\t * regular expression matches if (comment from here on and regex copied from\n\t * Soy's EscapingConventions):\n\t * (1) Either a protocol in a whitelist (http, https, mailto or ftp).\n\t * (2) or no protocol. A protocol must be followed by a colon. The below\n\t * allows that by allowing colons only after one of the characters [/?#].\n\t * A colon after a hash (#) must be in the fragment.\n\t * Otherwise, a colon after a (?) must be in a query.\n\t * Otherwise, a colon after a single solidus (/) must be in a path.\n\t * Otherwise, a colon after a double solidus (//) must be in the authority\n\t * (before port).\n\t *\n\t * The pattern disallows &, used in HTML entity declarations before\n\t * one of the characters in [/?#]. This disallows HTML entities used in the\n\t * protocol name, which should never happen, e.g. \"http\" for \"http\".\n\t * It also disallows HTML entities in the first path part of a relative path,\n\t * e.g. \"foo<bar/baz\". Our existing escaping functions should not produce\n\t * that. More importantly, it disallows masking of a colon,\n\t * e.g. \"javascript:...\".\n\t *\n\t * This regular expression was taken from the Closure sanitization library.\n\t */\n\t var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n\t /** A pattern that matches safe data URLs. Only matches image, video and audio types. */\n\t var DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;\n\t function sanitizeUrl(url) {\n\t url = String(url);\n\t if (url.match(SAFE_URL_PATTERN) || url.match(DATA_URL_PATTERN))\n\t return url;\n\t if (_angular_core.isDevMode()) {\n\t getDOM().log(\"WARNING: sanitizing unsafe URL value \" + url + \" (see http://g.co/ng/security#xss)\");\n\t }\n\t return 'unsafe:' + url;\n\t }\n\t function sanitizeSrcset(srcset) {\n\t srcset = String(srcset);\n\t return srcset.split(',').map(function (srcset) { return sanitizeUrl(srcset.trim()); }).join(', ');\n\t }\n\t\n\t /** A <body> element that can be safely used to parse untrusted HTML. Lazily initialized below. */\n\t var inertElement = null;\n\t /** Lazily initialized to make sure the DOM adapter gets set before use. */\n\t var DOM = null;\n\t /** Returns an HTML element that is guaranteed to not execute code when creating elements in it. */\n\t function getInertElement() {\n\t if (inertElement)\n\t return inertElement;\n\t DOM = getDOM();\n\t // Prefer using <template> element if supported.\n\t var templateEl = DOM.createElement('template');\n\t if ('content' in templateEl)\n\t return templateEl;\n\t var doc = DOM.createHtmlDocument();\n\t inertElement = DOM.querySelector(doc, 'body');\n\t if (inertElement == null) {\n\t // usually there should be only one body element in the document, but IE doesn't have any, so we\n\t // need to create one.\n\t var html = DOM.createElement('html', doc);\n\t inertElement = DOM.createElement('body', doc);\n\t DOM.appendChild(html, inertElement);\n\t DOM.appendChild(doc, html);\n\t }\n\t return inertElement;\n\t }\n\t function tagSet(tags) {\n\t var res = {};\n\t for (var _i = 0, _a = tags.split(','); _i < _a.length; _i++) {\n\t var t = _a[_i];\n\t res[t] = true;\n\t }\n\t return res;\n\t }\n\t function merge() {\n\t var sets = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t sets[_i - 0] = arguments[_i];\n\t }\n\t var res = {};\n\t for (var _a = 0, sets_1 = sets; _a < sets_1.length; _a++) {\n\t var s = sets_1[_a];\n\t for (var v in s) {\n\t if (s.hasOwnProperty(v))\n\t res[v] = true;\n\t }\n\t }\n\t return res;\n\t }\n\t // Good source of info about elements and attributes\n\t // http://dev.w3.org/html5/spec/Overview.html#semantics\n\t // http://simon.html5.org/html-elements\n\t // Safe Void Elements - HTML5\n\t // http://dev.w3.org/html5/spec/Overview.html#void-elements\n\t var VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr');\n\t // Elements that you can, intentionally, leave open (and which close themselves)\n\t // http://dev.w3.org/html5/spec/Overview.html#optional-tags\n\t var OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\n\t var OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\n\t var OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS);\n\t // Safe Block Elements - HTML5\n\t var BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' +\n\t 'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n\t 'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul'));\n\t // Inline Elements - HTML5\n\t var INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' +\n\t 'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' +\n\t 'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));\n\t var VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS);\n\t // Attributes that have href and hence need to be sanitized\n\t var URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');\n\t // Attributes that have special href set hence need to be sanitized\n\t var SRCSET_ATTRS = tagSet('srcset');\n\t var HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' +\n\t 'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' +\n\t 'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' +\n\t 'scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,' +\n\t 'valign,value,vspace,width');\n\t // NB: This currently conciously doesn't support SVG. SVG sanitization has had several security\n\t // issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n\t // innerHTML is required, SVG attributes should be added here.\n\t // NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n\t // can be sanitized, but they increase security surface area without a legitimate use case, so they\n\t // are left out here.\n\t var VALID_ATTRS = merge(URI_ATTRS, SRCSET_ATTRS, HTML_ATTRS);\n\t /**\n\t * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n\t * attributes.\n\t */\n\t var SanitizingHtmlSerializer = (function () {\n\t function SanitizingHtmlSerializer() {\n\t // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n\t // because characters were re-encoded.\n\t this.sanitizedSomething = false;\n\t this.buf = [];\n\t }\n\t SanitizingHtmlSerializer.prototype.sanitizeChildren = function (el) {\n\t // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n\t // However this code never accesses properties off of `document` before deleting its contents\n\t // again, so it shouldn't be vulnerable to DOM clobbering.\n\t var current = el.firstChild;\n\t while (current) {\n\t if (DOM.isElementNode(current)) {\n\t this.startElement(current);\n\t }\n\t else if (DOM.isTextNode(current)) {\n\t this.chars(DOM.nodeValue(current));\n\t }\n\t else {\n\t // Strip non-element, non-text nodes.\n\t this.sanitizedSomething = true;\n\t }\n\t if (DOM.firstChild(current)) {\n\t current = DOM.firstChild(current);\n\t continue;\n\t }\n\t while (current) {\n\t // Leaving the element. Walk up and to the right, closing tags as we go.\n\t if (DOM.isElementNode(current)) {\n\t this.endElement(current);\n\t }\n\t if (DOM.nextSibling(current)) {\n\t current = DOM.nextSibling(current);\n\t break;\n\t }\n\t current = DOM.parentElement(current);\n\t }\n\t }\n\t return this.buf.join('');\n\t };\n\t SanitizingHtmlSerializer.prototype.startElement = function (element) {\n\t var _this = this;\n\t var tagName = DOM.nodeName(element).toLowerCase();\n\t if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n\t this.sanitizedSomething = true;\n\t return;\n\t }\n\t this.buf.push('<');\n\t this.buf.push(tagName);\n\t DOM.attributeMap(element).forEach(function (value, attrName) {\n\t var lower = attrName.toLowerCase();\n\t if (!VALID_ATTRS.hasOwnProperty(lower)) {\n\t _this.sanitizedSomething = true;\n\t return;\n\t }\n\t // TODO(martinprobst): Special case image URIs for data:image/...\n\t if (URI_ATTRS[lower])\n\t value = sanitizeUrl(value);\n\t if (SRCSET_ATTRS[lower])\n\t value = sanitizeSrcset(value);\n\t _this.buf.push(' ');\n\t _this.buf.push(attrName);\n\t _this.buf.push('=\"');\n\t _this.buf.push(encodeEntities(value));\n\t _this.buf.push('\"');\n\t });\n\t this.buf.push('>');\n\t };\n\t SanitizingHtmlSerializer.prototype.endElement = function (current) {\n\t var tagName = DOM.nodeName(current).toLowerCase();\n\t if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n\t this.buf.push('</');\n\t this.buf.push(tagName);\n\t this.buf.push('>');\n\t }\n\t };\n\t SanitizingHtmlSerializer.prototype.chars = function (chars /** TODO #9100 */) { this.buf.push(encodeEntities(chars)); };\n\t return SanitizingHtmlSerializer;\n\t }());\n\t // Regular Expressions for parsing tags and attributes\n\t var SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n\t // ! to ~ is the ASCII range.\n\t var NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n\t /**\n\t * Escapes all potentially dangerous characters, so that the\n\t * resulting string can be safely inserted into attribute or\n\t * element text.\n\t * @param value\n\t * @returns {string} escaped text\n\t */\n\t function encodeEntities(value) {\n\t return value.replace(/&/g, '&')\n\t .replace(SURROGATE_PAIR_REGEXP, function (match) {\n\t var hi = match.charCodeAt(0);\n\t var low = match.charCodeAt(1);\n\t return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n\t })\n\t .replace(NON_ALPHANUMERIC_REGEXP, function (match) { return '&#' + match.charCodeAt(0) + ';'; })\n\t .replace(/</g, '<')\n\t .replace(/>/g, '>');\n\t }\n\t /**\n\t * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'\n\t * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g. 'ns1:xlink:foo').\n\t *\n\t * This is undesirable since we don't want to allow any of these custom attributes. This method\n\t * strips them all.\n\t */\n\t function stripCustomNsAttrs(el) {\n\t DOM.attributeMap(el).forEach(function (_, attrName) {\n\t if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {\n\t DOM.removeAttribute(el, attrName);\n\t }\n\t });\n\t for (var _i = 0, _a = DOM.childNodesAsList(el); _i < _a.length; _i++) {\n\t var n = _a[_i];\n\t if (DOM.isElementNode(n))\n\t stripCustomNsAttrs(n);\n\t }\n\t }\n\t /**\n\t * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n\t * the DOM in a browser environment.\n\t */\n\t function sanitizeHtml(unsafeHtmlInput) {\n\t try {\n\t var containerEl = getInertElement();\n\t // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n\t var unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n\t // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n\t // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n\t var mXSSAttempts = 5;\n\t var parsedHtml = unsafeHtml;\n\t do {\n\t if (mXSSAttempts === 0) {\n\t throw new Error('Failed to sanitize html because the input is unstable');\n\t }\n\t mXSSAttempts--;\n\t unsafeHtml = parsedHtml;\n\t DOM.setInnerHTML(containerEl, unsafeHtml);\n\t if (DOM.defaultDoc().documentMode) {\n\t // strip custom-namespaced attributes on IE<=11\n\t stripCustomNsAttrs(containerEl);\n\t }\n\t parsedHtml = DOM.getInnerHTML(containerEl);\n\t } while (unsafeHtml !== parsedHtml);\n\t var sanitizer = new SanitizingHtmlSerializer();\n\t var safeHtml = sanitizer.sanitizeChildren(DOM.getTemplateContent(containerEl) || containerEl);\n\t // Clear out the body element.\n\t var parent_1 = DOM.getTemplateContent(containerEl) || containerEl;\n\t for (var _i = 0, _a = DOM.childNodesAsList(parent_1); _i < _a.length; _i++) {\n\t var child = _a[_i];\n\t DOM.removeChild(parent_1, child);\n\t }\n\t if (_angular_core.isDevMode() && sanitizer.sanitizedSomething) {\n\t DOM.log('WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).');\n\t }\n\t return safeHtml;\n\t }\n\t catch (e) {\n\t // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n\t inertElement = null;\n\t throw e;\n\t }\n\t }\n\t\n\t /**\n\t * Regular expression for safe style values.\n\t *\n\t * Quotes (\" and ') are allowed, but a check must be done elsewhere to ensure they're balanced.\n\t *\n\t * ',' allows multiple values to be assigned to the same property (e.g. background-attachment or\n\t * font-family) and hence could allow multiple values to get injected, but that should pose no risk\n\t * of XSS.\n\t *\n\t * The function expression checks only for XSS safety, not for CSS validity.\n\t *\n\t * This regular expression was taken from the Closure sanitization library, and augmented for\n\t * transformation values.\n\t */\n\t var VALUES = '[-,.\"\\'%_!# a-zA-Z0-9]+';\n\t var TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?';\n\t var COLOR_FNS = '(?:rgb|hsl)a?';\n\t var FN_ARGS = '\\\\([-0-9.%, a-zA-Z]+\\\\)';\n\t var SAFE_STYLE_VALUE = new RegExp(\"^(\" + VALUES + \"|(?:\" + TRANSFORMATION_FNS + \"|\" + COLOR_FNS + \")\" + FN_ARGS + \")$\", 'g');\n\t /**\n\t * Matches a `url(...)` value with an arbitrary argument as long as it does\n\t * not contain parentheses.\n\t *\n\t * The URL value still needs to be sanitized separately.\n\t *\n\t * `url(...)` values are a very common use case, e.g. for `background-image`. With carefully crafted\n\t * CSS style rules, it is possible to construct an information leak with `url` values in CSS, e.g.\n\t * by observing whether scroll bars are displayed, or character ranges used by a font face\n\t * definition.\n\t *\n\t * Angular only allows binding CSS values (as opposed to entire CSS rules), so it is unlikely that\n\t * binding a URL value without further cooperation from the page will cause an information leak, and\n\t * if so, it is just a leak, not a full blown XSS vulnerability.\n\t *\n\t * Given the common use case, low likelihood of attack vector, and low impact of an attack, this\n\t * code is permissive and allows URLs that sanitize otherwise.\n\t */\n\t var URL_RE = /^url\\(([^)]+)\\)$/;\n\t /**\n\t * Checks that quotes (\" and ') are properly balanced inside a string. Assumes\n\t * that neither escape (\\) nor any other character that could result in\n\t * breaking out of a string parsing context are allowed;\n\t * see http://www.w3.org/TR/css3-syntax/#string-token-diagram.\n\t *\n\t * This code was taken from the Closure sanitization library.\n\t */\n\t function hasBalancedQuotes(value) {\n\t var outsideSingle = true;\n\t var outsideDouble = true;\n\t for (var i = 0; i < value.length; i++) {\n\t var c = value.charAt(i);\n\t if (c === '\\'' && outsideDouble) {\n\t outsideSingle = !outsideSingle;\n\t }\n\t else if (c === '\"' && outsideSingle) {\n\t outsideDouble = !outsideDouble;\n\t }\n\t }\n\t return outsideSingle && outsideDouble;\n\t }\n\t /**\n\t * Sanitizes the given untrusted CSS style property value (i.e. not an entire object, just a single\n\t * value) and returns a value that is safe to use in a browser environment.\n\t */\n\t function sanitizeStyle(value) {\n\t value = String(value).trim(); // Make sure it's actually a string.\n\t if (!value)\n\t return '';\n\t // Single url(...) values are supported, but only for URLs that sanitize cleanly. See above for\n\t // reasoning behind this.\n\t var urlMatch = value.match(URL_RE);\n\t if ((urlMatch && sanitizeUrl(urlMatch[1]) === urlMatch[1]) ||\n\t value.match(SAFE_STYLE_VALUE) && hasBalancedQuotes(value)) {\n\t return value; // Safe style values.\n\t }\n\t if (_angular_core.isDevMode()) {\n\t getDOM().log(\"WARNING: sanitizing unsafe style value \" + value + \" (see http://g.co/ng/security#xss).\");\n\t }\n\t return 'unsafe';\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$8 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n\t * values to be safe to use in the different DOM contexts.\n\t *\n\t * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n\t * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n\t * the website.\n\t *\n\t * In specific situations, it might be necessary to disable sanitization, for example if the\n\t * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n\t * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n\t * methods, and then binding to that value from the template.\n\t *\n\t * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n\t * Cross Site Scripting (XSS) security bug!\n\t *\n\t * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n\t * close as possible to the source of the value, to make it easy to verify no security bug is\n\t * created by its use.\n\t *\n\t * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n\t * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n\t * code. The sanitizer leaves safe values intact.\n\t *\n\t * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n\t * sanitization for the value passed in. Carefully check and audit all values and code paths going\n\t * into this call. Make sure any user data is appropriately escaped for this security context.\n\t * For more detail, see the [Security Guide](http://g.co/ng/security).\n\t *\n\t * @stable\n\t */\n\t var DomSanitizer = (function () {\n\t function DomSanitizer() {\n\t }\n\t return DomSanitizer;\n\t }());\n\t var DomSanitizerImpl = (function (_super) {\n\t __extends$8(DomSanitizerImpl, _super);\n\t function DomSanitizerImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t DomSanitizerImpl.prototype.sanitize = function (ctx, value) {\n\t if (value == null)\n\t return null;\n\t switch (ctx) {\n\t case _angular_core.SecurityContext.NONE:\n\t return value;\n\t case _angular_core.SecurityContext.HTML:\n\t if (value instanceof SafeHtmlImpl)\n\t return value.changingThisBreaksApplicationSecurity;\n\t this.checkNotSafeValue(value, 'HTML');\n\t return sanitizeHtml(String(value));\n\t case _angular_core.SecurityContext.STYLE:\n\t if (value instanceof SafeStyleImpl)\n\t return value.changingThisBreaksApplicationSecurity;\n\t this.checkNotSafeValue(value, 'Style');\n\t return sanitizeStyle(value);\n\t case _angular_core.SecurityContext.SCRIPT:\n\t if (value instanceof SafeScriptImpl)\n\t return value.changingThisBreaksApplicationSecurity;\n\t this.checkNotSafeValue(value, 'Script');\n\t throw new Error('unsafe value used in a script context');\n\t case _angular_core.SecurityContext.URL:\n\t if (value instanceof SafeResourceUrlImpl || value instanceof SafeUrlImpl) {\n\t // Allow resource URLs in URL contexts, they are strictly more trusted.\n\t return value.changingThisBreaksApplicationSecurity;\n\t }\n\t this.checkNotSafeValue(value, 'URL');\n\t return sanitizeUrl(String(value));\n\t case _angular_core.SecurityContext.RESOURCE_URL:\n\t if (value instanceof SafeResourceUrlImpl) {\n\t return value.changingThisBreaksApplicationSecurity;\n\t }\n\t this.checkNotSafeValue(value, 'ResourceURL');\n\t throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n\t default:\n\t throw new Error(\"Unexpected SecurityContext \" + ctx + \" (see http://g.co/ng/security#xss)\");\n\t }\n\t };\n\t DomSanitizerImpl.prototype.checkNotSafeValue = function (value, expectedType) {\n\t if (value instanceof SafeValueImpl) {\n\t throw new Error((\"Required a safe \" + expectedType + \", got a \" + value.getTypeName() + \" \") +\n\t \"(see http://g.co/ng/security#xss)\");\n\t }\n\t };\n\t DomSanitizerImpl.prototype.bypassSecurityTrustHtml = function (value) { return new SafeHtmlImpl(value); };\n\t DomSanitizerImpl.prototype.bypassSecurityTrustStyle = function (value) { return new SafeStyleImpl(value); };\n\t DomSanitizerImpl.prototype.bypassSecurityTrustScript = function (value) { return new SafeScriptImpl(value); };\n\t DomSanitizerImpl.prototype.bypassSecurityTrustUrl = function (value) { return new SafeUrlImpl(value); };\n\t DomSanitizerImpl.prototype.bypassSecurityTrustResourceUrl = function (value) {\n\t return new SafeResourceUrlImpl(value);\n\t };\n\t DomSanitizerImpl.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t DomSanitizerImpl.ctorParameters = [];\n\t return DomSanitizerImpl;\n\t }(DomSanitizer));\n\t var SafeValueImpl = (function () {\n\t function SafeValueImpl(changingThisBreaksApplicationSecurity) {\n\t this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n\t // empty\n\t }\n\t SafeValueImpl.prototype.toString = function () {\n\t return (\"SafeValue must use [property]=binding: \" + this.changingThisBreaksApplicationSecurity) +\n\t \" (see http://g.co/ng/security#xss)\";\n\t };\n\t return SafeValueImpl;\n\t }());\n\t var SafeHtmlImpl = (function (_super) {\n\t __extends$8(SafeHtmlImpl, _super);\n\t function SafeHtmlImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t SafeHtmlImpl.prototype.getTypeName = function () { return 'HTML'; };\n\t return SafeHtmlImpl;\n\t }(SafeValueImpl));\n\t var SafeStyleImpl = (function (_super) {\n\t __extends$8(SafeStyleImpl, _super);\n\t function SafeStyleImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t SafeStyleImpl.prototype.getTypeName = function () { return 'Style'; };\n\t return SafeStyleImpl;\n\t }(SafeValueImpl));\n\t var SafeScriptImpl = (function (_super) {\n\t __extends$8(SafeScriptImpl, _super);\n\t function SafeScriptImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t SafeScriptImpl.prototype.getTypeName = function () { return 'Script'; };\n\t return SafeScriptImpl;\n\t }(SafeValueImpl));\n\t var SafeUrlImpl = (function (_super) {\n\t __extends$8(SafeUrlImpl, _super);\n\t function SafeUrlImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t SafeUrlImpl.prototype.getTypeName = function () { return 'URL'; };\n\t return SafeUrlImpl;\n\t }(SafeValueImpl));\n\t var SafeResourceUrlImpl = (function (_super) {\n\t __extends$8(SafeResourceUrlImpl, _super);\n\t function SafeResourceUrlImpl() {\n\t _super.apply(this, arguments);\n\t }\n\t SafeResourceUrlImpl.prototype.getTypeName = function () { return 'ResourceURL'; };\n\t return SafeResourceUrlImpl;\n\t }(SafeValueImpl));\n\t\n\t var INTERNAL_BROWSER_PLATFORM_PROVIDERS = [\n\t { provide: _angular_core.PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },\n\t { provide: _angular_common.PlatformLocation, useClass: BrowserPlatformLocation }\n\t ];\n\t /**\n\t * @security Replacing built-in sanitization providers exposes the application to XSS risks.\n\t * Attacker-controlled data introduced by an unsanitized provider could expose your\n\t * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n\t * @experimental\n\t */\n\t var BROWSER_SANITIZATION_PROVIDERS = [\n\t { provide: _angular_core.Sanitizer, useExisting: DomSanitizer },\n\t { provide: DomSanitizer, useClass: DomSanitizerImpl },\n\t ];\n\t /**\n\t * @stable\n\t */\n\t var platformBrowser = _angular_core.createPlatformFactory(_angular_core.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n\t function initDomAdapter() {\n\t BrowserDomAdapter.makeCurrent();\n\t BrowserGetTestability.init();\n\t }\n\t function errorHandler() {\n\t return new _angular_core.ErrorHandler();\n\t }\n\t function _document() {\n\t return getDOM().defaultDoc();\n\t }\n\t function _resolveDefaultAnimationDriver() {\n\t if (getDOM().supportsWebAnimation()) {\n\t return new WebAnimationsDriver();\n\t }\n\t return AnimationDriver.NOOP;\n\t }\n\t /**\n\t * The ng module for the browser.\n\t *\n\t * @stable\n\t */\n\t var BrowserModule = (function () {\n\t function BrowserModule(parentModule) {\n\t if (parentModule) {\n\t throw new Error(\"BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.\");\n\t }\n\t }\n\t BrowserModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t providers: [\n\t BROWSER_SANITIZATION_PROVIDERS, { provide: _angular_core.ErrorHandler, useFactory: errorHandler, deps: [] },\n\t { provide: DOCUMENT, useFactory: _document, deps: [] },\n\t { provide: EVENT_MANAGER_PLUGINS, useClass: DomEventsPlugin, multi: true },\n\t { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true },\n\t { provide: EVENT_MANAGER_PLUGINS, useClass: HammerGesturesPlugin, multi: true },\n\t { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig },\n\t { provide: DomRootRenderer, useClass: DomRootRenderer_ },\n\t { provide: _angular_core.RootRenderer, useExisting: DomRootRenderer },\n\t { provide: SharedStylesHost, useExisting: DomSharedStylesHost },\n\t { provide: AnimationDriver, useFactory: _resolveDefaultAnimationDriver }, DomSharedStylesHost,\n\t _angular_core.Testability, EventManager, ELEMENT_PROBE_PROVIDERS, Title\n\t ],\n\t exports: [_angular_common.CommonModule, _angular_core.ApplicationModule]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t BrowserModule.ctorParameters = [\n\t { type: BrowserModule, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.SkipSelf },] },\n\t ];\n\t return BrowserModule;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * JS version of browser APIs. This library can only run in the browser.\n\t */\n\t var win = typeof window !== 'undefined' && window || {};\n\t\n\t var ChangeDetectionPerfRecord = (function () {\n\t function ChangeDetectionPerfRecord(msPerTick, numTicks) {\n\t this.msPerTick = msPerTick;\n\t this.numTicks = numTicks;\n\t }\n\t return ChangeDetectionPerfRecord;\n\t }());\n\t /**\n\t * Entry point for all Angular debug tools. This object corresponds to the `ng`\n\t * global variable accessible in the dev console.\n\t */\n\t var AngularTools = (function () {\n\t function AngularTools(ref) {\n\t this.profiler = new AngularProfiler(ref);\n\t }\n\t return AngularTools;\n\t }());\n\t /**\n\t * Entry point for all Angular profiling-related debug tools. This object\n\t * corresponds to the `ng.profiler` in the dev console.\n\t */\n\t var AngularProfiler = (function () {\n\t function AngularProfiler(ref) {\n\t this.appRef = ref.injector.get(_angular_core.ApplicationRef);\n\t }\n\t /**\n\t * Exercises change detection in a loop and then prints the average amount of\n\t * time in milliseconds how long a single round of change detection takes for\n\t * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n\t * of 500 milliseconds.\n\t *\n\t * Optionally, a user may pass a `config` parameter containing a map of\n\t * options. Supported options are:\n\t *\n\t * `record` (boolean) - causes the profiler to record a CPU profile while\n\t * it exercises the change detector. Example:\n\t *\n\t * ```\n\t * ng.profiler.timeChangeDetection({record: true})\n\t * ```\n\t */\n\t AngularProfiler.prototype.timeChangeDetection = function (config) {\n\t var record = config && config['record'];\n\t var profileName = 'Change Detection';\n\t // Profiler is not available in Android browsers, nor in IE 9 without dev tools opened\n\t var isProfilerAvailable = isPresent(win.console.profile);\n\t if (record && isProfilerAvailable) {\n\t win.console.profile(profileName);\n\t }\n\t var start = getDOM().performanceNow();\n\t var numTicks = 0;\n\t while (numTicks < 5 || (getDOM().performanceNow() - start) < 500) {\n\t this.appRef.tick();\n\t numTicks++;\n\t }\n\t var end = getDOM().performanceNow();\n\t if (record && isProfilerAvailable) {\n\t // need to cast to <any> because type checker thinks there's no argument\n\t // while in fact there is:\n\t //\n\t // https://developer.mozilla.org/en-US/docs/Web/API/Console/profileEnd\n\t win.console.profileEnd(profileName);\n\t }\n\t var msPerTick = (end - start) / numTicks;\n\t win.console.log(\"ran \" + numTicks + \" change detection cycles\");\n\t win.console.log(msPerTick.toFixed(2) + \" ms per check\");\n\t return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n\t };\n\t return AngularProfiler;\n\t }());\n\t\n\t var context = global$1;\n\t /**\n\t * Enabled Angular 2 debug tools that are accessible via your browser's\n\t * developer console.\n\t *\n\t * Usage:\n\t *\n\t * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n\t * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n\t * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n\t * then hit Enter.\n\t *\n\t * @experimental All debugging apis are currently experimental.\n\t */\n\t function enableDebugTools(ref) {\n\t Object.assign(context.ng, new AngularTools(ref));\n\t return ref;\n\t }\n\t /**\n\t * Disables Angular 2 tools.\n\t *\n\t * @experimental All debugging apis are currently experimental.\n\t */\n\t function disableDebugTools() {\n\t if (context.ng) {\n\t delete context.ng.profiler;\n\t }\n\t }\n\t\n\t /**\n\t * Predicates for use with {@link DebugElement}'s query functions.\n\t *\n\t * @experimental All debugging apis are currently experimental.\n\t */\n\t var By = (function () {\n\t function By() {\n\t }\n\t /**\n\t * Match all elements.\n\t *\n\t * ## Example\n\t *\n\t * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n\t */\n\t By.all = function () { return function (debugElement) { return true; }; };\n\t /**\n\t * Match elements by the given CSS selector.\n\t *\n\t * ## Example\n\t *\n\t * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n\t */\n\t By.css = function (selector) {\n\t return function (debugElement) {\n\t return isPresent(debugElement.nativeElement) ?\n\t getDOM().elementMatches(debugElement.nativeElement, selector) :\n\t false;\n\t };\n\t };\n\t /**\n\t * Match elements that have the given directive present.\n\t *\n\t * ## Example\n\t *\n\t * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n\t */\n\t By.directive = function (type) {\n\t return function (debugElement) { return debugElement.providerTokens.indexOf(type) !== -1; };\n\t };\n\t return By;\n\t }());\n\t\n\t var __platform_browser_private__ = {\n\t BrowserPlatformLocation: BrowserPlatformLocation,\n\t DomAdapter: DomAdapter,\n\t BrowserDomAdapter: BrowserDomAdapter,\n\t BrowserGetTestability: BrowserGetTestability,\n\t getDOM: getDOM,\n\t setRootDomAdapter: setRootDomAdapter,\n\t DomRootRenderer_: DomRootRenderer_,\n\t DomRootRenderer: DomRootRenderer,\n\t NAMESPACE_URIS: NAMESPACE_URIS,\n\t shimContentAttribute: shimContentAttribute,\n\t shimHostAttribute: shimHostAttribute,\n\t flattenStyles: flattenStyles,\n\t splitNamespace: splitNamespace,\n\t isNamespaced: isNamespaced,\n\t DomSharedStylesHost: DomSharedStylesHost,\n\t SharedStylesHost: SharedStylesHost,\n\t ELEMENT_PROBE_PROVIDERS: ELEMENT_PROBE_PROVIDERS,\n\t DomEventsPlugin: DomEventsPlugin,\n\t KeyEventsPlugin: KeyEventsPlugin,\n\t HammerGesturesPlugin: HammerGesturesPlugin,\n\t initDomAdapter: initDomAdapter,\n\t INTERNAL_BROWSER_PLATFORM_PROVIDERS: INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n\t BROWSER_SANITIZATION_PROVIDERS: BROWSER_SANITIZATION_PROVIDERS,\n\t WebAnimationsDriver: WebAnimationsDriver\n\t };\n\t\n\t exports.BrowserModule = BrowserModule;\n\t exports.platformBrowser = platformBrowser;\n\t exports.Title = Title;\n\t exports.disableDebugTools = disableDebugTools;\n\t exports.enableDebugTools = enableDebugTools;\n\t exports.AnimationDriver = AnimationDriver;\n\t exports.By = By;\n\t exports.NgProbeToken = NgProbeToken;\n\t exports.DOCUMENT = DOCUMENT;\n\t exports.EVENT_MANAGER_PLUGINS = EVENT_MANAGER_PLUGINS;\n\t exports.EventManager = EventManager;\n\t exports.HAMMER_GESTURE_CONFIG = HAMMER_GESTURE_CONFIG;\n\t exports.HammerGestureConfig = HammerGestureConfig;\n\t exports.DomSanitizer = DomSanitizer;\n\t exports.__platform_browser_private__ = __platform_browser_private__;\n\t\n\t}));\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 282 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(263)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.common = global.ng.common || {}),global.ng.core));\n\t}(this, function (exports,_angular_core) { 'use strict';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * This class should not be used directly by an application developer. Instead, use\n\t * {@link Location}.\n\t *\n\t * `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform\n\t * agnostic.\n\t * This means that we can have different implementation of `PlatformLocation` for the different\n\t * platforms\n\t * that angular supports. For example, the default `PlatformLocation` is {@link\n\t * BrowserPlatformLocation},\n\t * however when you run your app in a WebWorker you use {@link WebWorkerPlatformLocation}.\n\t *\n\t * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n\t * when\n\t * they need to interact with the DOM apis like pushState, popState, etc...\n\t *\n\t * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n\t * by\n\t * the {@link Router} in order to navigate between routes. Since all interactions between {@link\n\t * Router} /\n\t * {@link Location} / {@link LocationStrategy} and DOM apis flow through the `PlatformLocation`\n\t * class\n\t * they are all platform independent.\n\t *\n\t * @stable\n\t */\n\t var PlatformLocation = (function () {\n\t function PlatformLocation() {\n\t }\n\t Object.defineProperty(PlatformLocation.prototype, \"pathname\", {\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(PlatformLocation.prototype, \"search\", {\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(PlatformLocation.prototype, \"hash\", {\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return PlatformLocation;\n\t }());\n\t\n\t /**\n\t * `LocationStrategy` is responsible for representing and reading route state\n\t * from the browser's URL. Angular provides two strategies:\n\t * {@link HashLocationStrategy} and {@link PathLocationStrategy} (default).\n\t *\n\t * This is used under the hood of the {@link Location} service.\n\t *\n\t * Applications should use the {@link Router} or {@link Location} services to\n\t * interact with application route state.\n\t *\n\t * For instance, {@link HashLocationStrategy} produces URLs like\n\t * `http://example.com#/foo`, and {@link PathLocationStrategy} produces\n\t * `http://example.com/foo` as an equivalent URL.\n\t *\n\t * See these two classes for more.\n\t *\n\t * @stable\n\t */\n\t var LocationStrategy = (function () {\n\t function LocationStrategy() {\n\t }\n\t return LocationStrategy;\n\t }());\n\t /**\n\t * The `APP_BASE_HREF` token represents the base href to be used with the\n\t * {@link PathLocationStrategy}.\n\t *\n\t * If you're using {@link PathLocationStrategy}, you must provide a provider to a string\n\t * representing the URL prefix that should be preserved when generating and recognizing\n\t * URLs.\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * import {Component, NgModule} from '@angular/core';\n\t * import {APP_BASE_HREF} from '@angular/common';\n\t *\n\t * @NgModule({\n\t * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n\t * })\n\t * class AppModule {}\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var APP_BASE_HREF = new _angular_core.OpaqueToken('appBaseHref');\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var globalScope;\n\t if (typeof window === 'undefined') {\n\t if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n\t // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n\t globalScope = self;\n\t }\n\t else {\n\t globalScope = global;\n\t }\n\t }\n\t else {\n\t globalScope = window;\n\t }\n\t // Need to declare a new variable for global here since TypeScript\n\t // exports the original value of the symbol.\n\t var _global = globalScope;\n\t function getTypeNameForDebugging(type) {\n\t return type['name'] || typeof type;\n\t }\n\t // TODO: remove calls to assert in production environment\n\t // Note: Can't just export this and import in in other files\n\t // as `assert` is a reserved keyword in Dart\n\t _global.assert = function assert(condition) {\n\t // TODO: to be fixed properly via #2830, noop for now\n\t };\n\t function isPresent(obj) {\n\t return obj != null;\n\t }\n\t function isBlank(obj) {\n\t return obj == null;\n\t }\n\t function isDate(obj) {\n\t return obj instanceof Date && !isNaN(obj.valueOf());\n\t }\n\t function stringify(token) {\n\t if (typeof token === 'string') {\n\t return token;\n\t }\n\t if (token == null) {\n\t return '' + token;\n\t }\n\t if (token.overriddenName) {\n\t return token.overriddenName;\n\t }\n\t if (token.name) {\n\t return token.name;\n\t }\n\t var res = token.toString();\n\t var newLineIndex = res.indexOf('\\n');\n\t return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n\t }\n\t var NumberWrapper = (function () {\n\t function NumberWrapper() {\n\t }\n\t NumberWrapper.parseIntAutoRadix = function (text) {\n\t var result = parseInt(text);\n\t if (isNaN(result)) {\n\t throw new Error('Invalid integer literal when parsing ' + text);\n\t }\n\t return result;\n\t };\n\t NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n\t return NumberWrapper;\n\t }());\n\t function isJsObject(o) {\n\t return o !== null && (typeof o === 'function' || typeof o === 'object');\n\t }\n\t var _symbolIterator = null;\n\t function getSymbolIterator() {\n\t if (!_symbolIterator) {\n\t if (globalScope.Symbol && Symbol.iterator) {\n\t _symbolIterator = Symbol.iterator;\n\t }\n\t else {\n\t // es6-shim specific logic\n\t var keys = Object.getOwnPropertyNames(Map.prototype);\n\t for (var i = 0; i < keys.length; ++i) {\n\t var key = keys[i];\n\t if (key !== 'entries' && key !== 'size' &&\n\t Map.prototype[key] === Map.prototype['entries']) {\n\t _symbolIterator = key;\n\t }\n\t }\n\t }\n\t }\n\t return _symbolIterator;\n\t }\n\t\n\t /**\n\t * `Location` is a service that applications can use to interact with a browser's URL.\n\t * Depending on which {@link LocationStrategy} is used, `Location` will either persist\n\t * to the URL's path or the URL's hash segment.\n\t *\n\t * Note: it's better to use {@link Router#navigate} service to trigger route changes. Use\n\t * `Location` only if you need to interact with or create normalized URLs outside of\n\t * routing.\n\t *\n\t * `Location` is responsible for normalizing the URL against the application's base href.\n\t * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n\t * trailing slash:\n\t * - `/my/app/user/123` is normalized\n\t * - `my/app/user/123` **is not** normalized\n\t * - `/my/app/user/123/` **is not** normalized\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * import {Component} from '@angular/core';\n\t * import {Location} from '@angular/common';\n\t *\n\t * @Component({selector: 'app-component'})\n\t * class AppCmp {\n\t * constructor(location: Location) {\n\t * location.go('/foo');\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var Location = (function () {\n\t function Location(platformStrategy) {\n\t var _this = this;\n\t /** @internal */\n\t this._subject = new _angular_core.EventEmitter();\n\t this._platformStrategy = platformStrategy;\n\t var browserBaseHref = this._platformStrategy.getBaseHref();\n\t this._baseHref = Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n\t this._platformStrategy.onPopState(function (ev) {\n\t _this._subject.emit({\n\t 'url': _this.path(true),\n\t 'pop': true,\n\t 'type': ev.type,\n\t });\n\t });\n\t }\n\t /**\n\t * Returns the normalized URL path.\n\t */\n\t // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n\t // removed.\n\t Location.prototype.path = function (includeHash) {\n\t if (includeHash === void 0) { includeHash = false; }\n\t return this.normalize(this._platformStrategy.path(includeHash));\n\t };\n\t /**\n\t * Normalizes the given path and compares to the current normalized path.\n\t */\n\t Location.prototype.isCurrentPathEqualTo = function (path, query) {\n\t if (query === void 0) { query = ''; }\n\t return this.path() == this.normalize(path + Location.normalizeQueryParams(query));\n\t };\n\t /**\n\t * Given a string representing a URL, returns the normalized URL path without leading or\n\t * trailing slashes.\n\t */\n\t Location.prototype.normalize = function (url) {\n\t return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n\t };\n\t /**\n\t * Given a string representing a URL, returns the platform-specific external URL path.\n\t * If the given URL doesn't begin with a leading slash (`'/'`), this method adds one\n\t * before normalizing. This method will also add a hash if `HashLocationStrategy` is\n\t * used, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n\t */\n\t Location.prototype.prepareExternalUrl = function (url) {\n\t if (url.length > 0 && !url.startsWith('/')) {\n\t url = '/' + url;\n\t }\n\t return this._platformStrategy.prepareExternalUrl(url);\n\t };\n\t // TODO: rename this method to pushState\n\t /**\n\t * Changes the browsers URL to the normalized version of the given URL, and pushes a\n\t * new item onto the platform's history.\n\t */\n\t Location.prototype.go = function (path, query) {\n\t if (query === void 0) { query = ''; }\n\t this._platformStrategy.pushState(null, '', path, query);\n\t };\n\t /**\n\t * Changes the browsers URL to the normalized version of the given URL, and replaces\n\t * the top item on the platform's history stack.\n\t */\n\t Location.prototype.replaceState = function (path, query) {\n\t if (query === void 0) { query = ''; }\n\t this._platformStrategy.replaceState(null, '', path, query);\n\t };\n\t /**\n\t * Navigates forward in the platform's history.\n\t */\n\t Location.prototype.forward = function () { this._platformStrategy.forward(); };\n\t /**\n\t * Navigates back in the platform's history.\n\t */\n\t Location.prototype.back = function () { this._platformStrategy.back(); };\n\t /**\n\t * Subscribe to the platform's `popState` events.\n\t */\n\t Location.prototype.subscribe = function (onNext, onThrow, onReturn) {\n\t if (onThrow === void 0) { onThrow = null; }\n\t if (onReturn === void 0) { onReturn = null; }\n\t return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n\t };\n\t /**\n\t * Given a string of url parameters, prepend with '?' if needed, otherwise return parameters as\n\t * is.\n\t */\n\t Location.normalizeQueryParams = function (params) {\n\t return (params.length > 0 && params.substring(0, 1) != '?') ? ('?' + params) : params;\n\t };\n\t /**\n\t * Given 2 parts of a url, join them with a slash if needed.\n\t */\n\t Location.joinWithSlash = function (start, end) {\n\t if (start.length == 0) {\n\t return end;\n\t }\n\t if (end.length == 0) {\n\t return start;\n\t }\n\t var slashes = 0;\n\t if (start.endsWith('/')) {\n\t slashes++;\n\t }\n\t if (end.startsWith('/')) {\n\t slashes++;\n\t }\n\t if (slashes == 2) {\n\t return start + end.substring(1);\n\t }\n\t if (slashes == 1) {\n\t return start + end;\n\t }\n\t return start + '/' + end;\n\t };\n\t /**\n\t * If url has a trailing slash, remove it, otherwise return url as is.\n\t */\n\t Location.stripTrailingSlash = function (url) {\n\t if (/\\/$/g.test(url)) {\n\t url = url.substring(0, url.length - 1);\n\t }\n\t return url;\n\t };\n\t Location.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t Location.ctorParameters = [\n\t { type: LocationStrategy, },\n\t ];\n\t return Location;\n\t }());\n\t function _stripBaseHref(baseHref, url) {\n\t if (baseHref.length > 0 && url.startsWith(baseHref)) {\n\t return url.substring(baseHref.length);\n\t }\n\t return url;\n\t }\n\t function _stripIndexHtml(url) {\n\t if (/\\/index.html$/g.test(url)) {\n\t // '/index.html'.length == 11\n\t return url.substring(0, url.length - 11);\n\t }\n\t return url;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * `HashLocationStrategy` is a {@link LocationStrategy} used to configure the\n\t * {@link Location} service to represent its state in the\n\t * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n\t * of the browser's URL.\n\t *\n\t * For instance, if you call `location.go('/foo')`, the browser's URL will become\n\t * `example.com#/foo`.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * import {Component, NgModule} from '@angular/core';\n\t * import {\n\t * LocationStrategy,\n\t * HashLocationStrategy\n\t * } from '@angular/common';\n\t *\n\t * @NgModule({\n\t * providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}]\n\t * })\n\t * class AppModule {}\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var HashLocationStrategy = (function (_super) {\n\t __extends(HashLocationStrategy, _super);\n\t function HashLocationStrategy(_platformLocation, _baseHref) {\n\t _super.call(this);\n\t this._platformLocation = _platformLocation;\n\t this._baseHref = '';\n\t if (isPresent(_baseHref)) {\n\t this._baseHref = _baseHref;\n\t }\n\t }\n\t HashLocationStrategy.prototype.onPopState = function (fn) {\n\t this._platformLocation.onPopState(fn);\n\t this._platformLocation.onHashChange(fn);\n\t };\n\t HashLocationStrategy.prototype.getBaseHref = function () { return this._baseHref; };\n\t HashLocationStrategy.prototype.path = function (includeHash) {\n\t if (includeHash === void 0) { includeHash = false; }\n\t // the hash value is always prefixed with a `#`\n\t // and if it is empty then it will stay empty\n\t var path = this._platformLocation.hash;\n\t if (!isPresent(path))\n\t path = '#';\n\t return path.length > 0 ? path.substring(1) : path;\n\t };\n\t HashLocationStrategy.prototype.prepareExternalUrl = function (internal) {\n\t var url = Location.joinWithSlash(this._baseHref, internal);\n\t return url.length > 0 ? ('#' + url) : url;\n\t };\n\t HashLocationStrategy.prototype.pushState = function (state, title, path, queryParams) {\n\t var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n\t if (url.length == 0) {\n\t url = this._platformLocation.pathname;\n\t }\n\t this._platformLocation.pushState(state, title, url);\n\t };\n\t HashLocationStrategy.prototype.replaceState = function (state, title, path, queryParams) {\n\t var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n\t if (url.length == 0) {\n\t url = this._platformLocation.pathname;\n\t }\n\t this._platformLocation.replaceState(state, title, url);\n\t };\n\t HashLocationStrategy.prototype.forward = function () { this._platformLocation.forward(); };\n\t HashLocationStrategy.prototype.back = function () { this._platformLocation.back(); };\n\t HashLocationStrategy.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t HashLocationStrategy.ctorParameters = [\n\t { type: PlatformLocation, },\n\t { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [APP_BASE_HREF,] },] },\n\t ];\n\t return HashLocationStrategy;\n\t }(LocationStrategy));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * `PathLocationStrategy` is a {@link LocationStrategy} used to configure the\n\t * {@link Location} service to represent its state in the\n\t * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n\t * browser's URL.\n\t *\n\t * `PathLocationStrategy` is the default binding for {@link LocationStrategy}\n\t * provided in {@link ROUTER_PROVIDERS}.\n\t *\n\t * If you're using `PathLocationStrategy`, you must provide a {@link APP_BASE_HREF}\n\t * or add a base element to the document. This URL prefix that will be preserved\n\t * when generating and recognizing URLs.\n\t *\n\t * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n\t * `location.go('/foo')`, the browser's URL will become\n\t * `example.com/my/app/foo`.\n\t *\n\t * Similarly, if you add `<base href='/my/app'/>` to the document and call\n\t * `location.go('/foo')`, the browser's URL will become\n\t * `example.com/my/app/foo`.\n\t *\n\t * @stable\n\t */\n\t var PathLocationStrategy = (function (_super) {\n\t __extends$1(PathLocationStrategy, _super);\n\t function PathLocationStrategy(_platformLocation, href) {\n\t _super.call(this);\n\t this._platformLocation = _platformLocation;\n\t if (isBlank(href)) {\n\t href = this._platformLocation.getBaseHrefFromDOM();\n\t }\n\t if (isBlank(href)) {\n\t throw new Error(\"No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.\");\n\t }\n\t this._baseHref = href;\n\t }\n\t PathLocationStrategy.prototype.onPopState = function (fn) {\n\t this._platformLocation.onPopState(fn);\n\t this._platformLocation.onHashChange(fn);\n\t };\n\t PathLocationStrategy.prototype.getBaseHref = function () { return this._baseHref; };\n\t PathLocationStrategy.prototype.prepareExternalUrl = function (internal) {\n\t return Location.joinWithSlash(this._baseHref, internal);\n\t };\n\t PathLocationStrategy.prototype.path = function (includeHash) {\n\t if (includeHash === void 0) { includeHash = false; }\n\t var pathname = this._platformLocation.pathname +\n\t Location.normalizeQueryParams(this._platformLocation.search);\n\t var hash = this._platformLocation.hash;\n\t return hash && includeHash ? \"\" + pathname + hash : pathname;\n\t };\n\t PathLocationStrategy.prototype.pushState = function (state, title, url, queryParams) {\n\t var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n\t this._platformLocation.pushState(state, title, externalUrl);\n\t };\n\t PathLocationStrategy.prototype.replaceState = function (state, title, url, queryParams) {\n\t var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n\t this._platformLocation.replaceState(state, title, externalUrl);\n\t };\n\t PathLocationStrategy.prototype.forward = function () { this._platformLocation.forward(); };\n\t PathLocationStrategy.prototype.back = function () { this._platformLocation.back(); };\n\t PathLocationStrategy.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t PathLocationStrategy.ctorParameters = [\n\t { type: PlatformLocation, },\n\t { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [APP_BASE_HREF,] },] },\n\t ];\n\t return PathLocationStrategy;\n\t }(LocationStrategy));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @experimental\n\t */\n\t var NgLocalization = (function () {\n\t function NgLocalization() {\n\t }\n\t return NgLocalization;\n\t }());\n\t /**\n\t * Returns the plural category for a given value.\n\t * - \"=value\" when the case exists,\n\t * - the plural category otherwise\n\t *\n\t * @internal\n\t */\n\t function getPluralCategory(value, cases, ngLocalization) {\n\t var nbCase = \"=\" + value;\n\t return cases.indexOf(nbCase) > -1 ? nbCase : ngLocalization.getPluralCategory(value);\n\t }\n\t /**\n\t * Returns the plural case based on the locale\n\t *\n\t * @experimental\n\t */\n\t var NgLocaleLocalization = (function (_super) {\n\t __extends$2(NgLocaleLocalization, _super);\n\t function NgLocaleLocalization(_locale) {\n\t _super.call(this);\n\t this._locale = _locale;\n\t }\n\t NgLocaleLocalization.prototype.getPluralCategory = function (value) {\n\t var plural = getPluralCase(this._locale, value);\n\t switch (plural) {\n\t case Plural.Zero:\n\t return 'zero';\n\t case Plural.One:\n\t return 'one';\n\t case Plural.Two:\n\t return 'two';\n\t case Plural.Few:\n\t return 'few';\n\t case Plural.Many:\n\t return 'many';\n\t default:\n\t return 'other';\n\t }\n\t };\n\t NgLocaleLocalization.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t NgLocaleLocalization.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n\t ];\n\t return NgLocaleLocalization;\n\t }(NgLocalization));\n\t // This is generated code DO NOT MODIFY\n\t // see angular2/script/cldr/gen_plural_rules.js\n\t /** @experimental */\n\t var Plural;\n\t (function (Plural) {\n\t Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n\t Plural[Plural[\"One\"] = 1] = \"One\";\n\t Plural[Plural[\"Two\"] = 2] = \"Two\";\n\t Plural[Plural[\"Few\"] = 3] = \"Few\";\n\t Plural[Plural[\"Many\"] = 4] = \"Many\";\n\t Plural[Plural[\"Other\"] = 5] = \"Other\";\n\t })(Plural || (Plural = {}));\n\t /**\n\t * Returns the plural case based on the locale\n\t *\n\t * @experimental\n\t */\n\t function getPluralCase(locale, nLike) {\n\t // TODO(vicb): lazy compute\n\t if (typeof nLike === 'string') {\n\t nLike = parseInt(nLike, 10);\n\t }\n\t var n = nLike;\n\t var nDecimal = n.toString().replace(/^[^.]*\\.?/, '');\n\t var i = Math.floor(Math.abs(n));\n\t var v = nDecimal.length;\n\t var f = parseInt(nDecimal, 10);\n\t var t = parseInt(n.toString().replace(/^[^.]*\\.?|0+$/g, ''), 10) || 0;\n\t var lang = locale.split('-')[0].toLowerCase();\n\t switch (lang) {\n\t case 'af':\n\t case 'asa':\n\t case 'az':\n\t case 'bem':\n\t case 'bez':\n\t case 'bg':\n\t case 'brx':\n\t case 'ce':\n\t case 'cgg':\n\t case 'chr':\n\t case 'ckb':\n\t case 'ee':\n\t case 'el':\n\t case 'eo':\n\t case 'es':\n\t case 'eu':\n\t case 'fo':\n\t case 'fur':\n\t case 'gsw':\n\t case 'ha':\n\t case 'haw':\n\t case 'hu':\n\t case 'jgo':\n\t case 'jmc':\n\t case 'ka':\n\t case 'kk':\n\t case 'kkj':\n\t case 'kl':\n\t case 'ks':\n\t case 'ksb':\n\t case 'ky':\n\t case 'lb':\n\t case 'lg':\n\t case 'mas':\n\t case 'mgo':\n\t case 'ml':\n\t case 'mn':\n\t case 'nb':\n\t case 'nd':\n\t case 'ne':\n\t case 'nn':\n\t case 'nnh':\n\t case 'nyn':\n\t case 'om':\n\t case 'or':\n\t case 'os':\n\t case 'ps':\n\t case 'rm':\n\t case 'rof':\n\t case 'rwk':\n\t case 'saq':\n\t case 'seh':\n\t case 'sn':\n\t case 'so':\n\t case 'sq':\n\t case 'ta':\n\t case 'te':\n\t case 'teo':\n\t case 'tk':\n\t case 'tr':\n\t case 'ug':\n\t case 'uz':\n\t case 'vo':\n\t case 'vun':\n\t case 'wae':\n\t case 'xog':\n\t if (n === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'agq':\n\t case 'bas':\n\t case 'cu':\n\t case 'dav':\n\t case 'dje':\n\t case 'dua':\n\t case 'dyo':\n\t case 'ebu':\n\t case 'ewo':\n\t case 'guz':\n\t case 'kam':\n\t case 'khq':\n\t case 'ki':\n\t case 'kln':\n\t case 'kok':\n\t case 'ksf':\n\t case 'lrc':\n\t case 'lu':\n\t case 'luo':\n\t case 'luy':\n\t case 'mer':\n\t case 'mfe':\n\t case 'mgh':\n\t case 'mua':\n\t case 'mzn':\n\t case 'nmg':\n\t case 'nus':\n\t case 'qu':\n\t case 'rn':\n\t case 'rw':\n\t case 'sbp':\n\t case 'twq':\n\t case 'vai':\n\t case 'yav':\n\t case 'yue':\n\t case 'zgh':\n\t case 'ak':\n\t case 'ln':\n\t case 'mg':\n\t case 'pa':\n\t case 'ti':\n\t if (n === Math.floor(n) && n >= 0 && n <= 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'am':\n\t case 'as':\n\t case 'bn':\n\t case 'fa':\n\t case 'gu':\n\t case 'hi':\n\t case 'kn':\n\t case 'mr':\n\t case 'zu':\n\t if (i === 0 || n === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'ar':\n\t if (n === 0)\n\t return Plural.Zero;\n\t if (n === 1)\n\t return Plural.One;\n\t if (n === 2)\n\t return Plural.Two;\n\t if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10)\n\t return Plural.Few;\n\t if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'ast':\n\t case 'ca':\n\t case 'de':\n\t case 'en':\n\t case 'et':\n\t case 'fi':\n\t case 'fy':\n\t case 'gl':\n\t case 'it':\n\t case 'nl':\n\t case 'sv':\n\t case 'sw':\n\t case 'ur':\n\t case 'yi':\n\t if (i === 1 && v === 0)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'be':\n\t if (n % 10 === 1 && !(n % 100 === 11))\n\t return Plural.One;\n\t if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 &&\n\t !(n % 100 >= 12 && n % 100 <= 14))\n\t return Plural.Few;\n\t if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 ||\n\t n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'br':\n\t if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91))\n\t return Plural.One;\n\t if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92))\n\t return Plural.Two;\n\t if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) &&\n\t !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 ||\n\t n % 100 >= 90 && n % 100 <= 99))\n\t return Plural.Few;\n\t if (!(n === 0) && n % 1e6 === 0)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'bs':\n\t case 'hr':\n\t case 'sr':\n\t if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))\n\t return Plural.One;\n\t if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n\t !(i % 100 >= 12 && i % 100 <= 14) ||\n\t f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&\n\t !(f % 100 >= 12 && f % 100 <= 14))\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'cs':\n\t case 'sk':\n\t if (i === 1 && v === 0)\n\t return Plural.One;\n\t if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0)\n\t return Plural.Few;\n\t if (!(v === 0))\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'cy':\n\t if (n === 0)\n\t return Plural.Zero;\n\t if (n === 1)\n\t return Plural.One;\n\t if (n === 2)\n\t return Plural.Two;\n\t if (n === 3)\n\t return Plural.Few;\n\t if (n === 6)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'da':\n\t if (n === 1 || !(t === 0) && (i === 0 || i === 1))\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'dsb':\n\t case 'hsb':\n\t if (v === 0 && i % 100 === 1 || f % 100 === 1)\n\t return Plural.One;\n\t if (v === 0 && i % 100 === 2 || f % 100 === 2)\n\t return Plural.Two;\n\t if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 ||\n\t f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4)\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'ff':\n\t case 'fr':\n\t case 'hy':\n\t case 'kab':\n\t if (i === 0 || i === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'fil':\n\t if (v === 0 && (i === 1 || i === 2 || i === 3) ||\n\t v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) ||\n\t !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9))\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'ga':\n\t if (n === 1)\n\t return Plural.One;\n\t if (n === 2)\n\t return Plural.Two;\n\t if (n === Math.floor(n) && n >= 3 && n <= 6)\n\t return Plural.Few;\n\t if (n === Math.floor(n) && n >= 7 && n <= 10)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'gd':\n\t if (n === 1 || n === 11)\n\t return Plural.One;\n\t if (n === 2 || n === 12)\n\t return Plural.Two;\n\t if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19))\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'gv':\n\t if (v === 0 && i % 10 === 1)\n\t return Plural.One;\n\t if (v === 0 && i % 10 === 2)\n\t return Plural.Two;\n\t if (v === 0 &&\n\t (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80))\n\t return Plural.Few;\n\t if (!(v === 0))\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'he':\n\t if (i === 1 && v === 0)\n\t return Plural.One;\n\t if (i === 2 && v === 0)\n\t return Plural.Two;\n\t if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'is':\n\t if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0))\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'ksh':\n\t if (n === 0)\n\t return Plural.Zero;\n\t if (n === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'kw':\n\t case 'naq':\n\t case 'se':\n\t case 'smn':\n\t if (n === 1)\n\t return Plural.One;\n\t if (n === 2)\n\t return Plural.Two;\n\t return Plural.Other;\n\t case 'lag':\n\t if (n === 0)\n\t return Plural.Zero;\n\t if ((i === 0 || i === 1) && !(n === 0))\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'lt':\n\t if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19))\n\t return Plural.One;\n\t if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 &&\n\t !(n % 100 >= 11 && n % 100 <= 19))\n\t return Plural.Few;\n\t if (!(f === 0))\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'lv':\n\t case 'prg':\n\t if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 ||\n\t v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19)\n\t return Plural.Zero;\n\t if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) ||\n\t !(v === 2) && f % 10 === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'mk':\n\t if (v === 0 && i % 10 === 1 || f % 10 === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'mt':\n\t if (n === 1)\n\t return Plural.One;\n\t if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10)\n\t return Plural.Few;\n\t if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'pl':\n\t if (i === 1 && v === 0)\n\t return Plural.One;\n\t if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n\t !(i % 100 >= 12 && i % 100 <= 14))\n\t return Plural.Few;\n\t if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 ||\n\t v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n\t v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'pt':\n\t if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2))\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'ro':\n\t if (i === 1 && v === 0)\n\t return Plural.One;\n\t if (!(v === 0) || n === 0 ||\n\t !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19)\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'ru':\n\t case 'uk':\n\t if (v === 0 && i % 10 === 1 && !(i % 100 === 11))\n\t return Plural.One;\n\t if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n\t !(i % 100 >= 12 && i % 100 <= 14))\n\t return Plural.Few;\n\t if (v === 0 && i % 10 === 0 ||\n\t v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n\t v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14)\n\t return Plural.Many;\n\t return Plural.Other;\n\t case 'shi':\n\t if (i === 0 || n === 1)\n\t return Plural.One;\n\t if (n === Math.floor(n) && n >= 2 && n <= 10)\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'si':\n\t if (n === 0 || n === 1 || i === 0 && f === 1)\n\t return Plural.One;\n\t return Plural.Other;\n\t case 'sl':\n\t if (v === 0 && i % 100 === 1)\n\t return Plural.One;\n\t if (v === 0 && i % 100 === 2)\n\t return Plural.Two;\n\t if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0))\n\t return Plural.Few;\n\t return Plural.Other;\n\t case 'tzm':\n\t if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99)\n\t return Plural.One;\n\t return Plural.Other;\n\t default:\n\t return Plural.Other;\n\t }\n\t }\n\t\n\t function isListLikeIterable(obj) {\n\t if (!isJsObject(obj))\n\t return false;\n\t return Array.isArray(obj) ||\n\t (!(obj instanceof Map) &&\n\t getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n\t }\n\t\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Adds and removes CSS classes on an HTML element.\n\t *\n\t * @howToUse\n\t * ```\n\t * <some-element [ngClass]=\"'first second'\">...</some-element>\n\t *\n\t * <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n\t *\n\t * <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n\t *\n\t * <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n\t * - `string` - the CSS classes listed in the string (space delimited) are added,\n\t * - `Array` - the CSS classes declared as Array elements are added,\n\t * - `Object` - keys are CSS classes that get added when the expression given in the value\n\t * evaluates to a truthy value, otherwise they are removed.\n\t *\n\t * @stable\n\t */\n\t var NgClass = (function () {\n\t function NgClass(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n\t this._iterableDiffers = _iterableDiffers;\n\t this._keyValueDiffers = _keyValueDiffers;\n\t this._ngEl = _ngEl;\n\t this._renderer = _renderer;\n\t this._initialClasses = [];\n\t }\n\t Object.defineProperty(NgClass.prototype, \"klass\", {\n\t set: function (v) {\n\t this._applyInitialClasses(true);\n\t this._initialClasses = typeof v === 'string' ? v.split(/\\s+/) : [];\n\t this._applyInitialClasses(false);\n\t this._applyClasses(this._rawClass, false);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgClass.prototype, \"ngClass\", {\n\t set: function (v) {\n\t this._cleanupClasses(this._rawClass);\n\t this._iterableDiffer = null;\n\t this._keyValueDiffer = null;\n\t this._rawClass = typeof v === 'string' ? v.split(/\\s+/) : v;\n\t if (this._rawClass) {\n\t if (isListLikeIterable(this._rawClass)) {\n\t this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create(null);\n\t }\n\t else {\n\t this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create(null);\n\t }\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgClass.prototype.ngDoCheck = function () {\n\t if (this._iterableDiffer) {\n\t var changes = this._iterableDiffer.diff(this._rawClass);\n\t if (changes) {\n\t this._applyIterableChanges(changes);\n\t }\n\t }\n\t else if (this._keyValueDiffer) {\n\t var changes = this._keyValueDiffer.diff(this._rawClass);\n\t if (changes) {\n\t this._applyKeyValueChanges(changes);\n\t }\n\t }\n\t };\n\t NgClass.prototype._cleanupClasses = function (rawClassVal) {\n\t this._applyClasses(rawClassVal, true);\n\t this._applyInitialClasses(false);\n\t };\n\t NgClass.prototype._applyKeyValueChanges = function (changes) {\n\t var _this = this;\n\t changes.forEachAddedItem(function (record) { return _this._toggleClass(record.key, record.currentValue); });\n\t changes.forEachChangedItem(function (record) { return _this._toggleClass(record.key, record.currentValue); });\n\t changes.forEachRemovedItem(function (record) {\n\t if (record.previousValue) {\n\t _this._toggleClass(record.key, false);\n\t }\n\t });\n\t };\n\t NgClass.prototype._applyIterableChanges = function (changes) {\n\t var _this = this;\n\t changes.forEachAddedItem(function (record) {\n\t if (typeof record.item === 'string') {\n\t _this._toggleClass(record.item, true);\n\t }\n\t else {\n\t throw new Error(\"NgClass can only toggle CSS classes expressed as strings, got \" + stringify(record.item));\n\t }\n\t });\n\t changes.forEachRemovedItem(function (record) { return _this._toggleClass(record.item, false); });\n\t };\n\t NgClass.prototype._applyInitialClasses = function (isCleanup) {\n\t var _this = this;\n\t this._initialClasses.forEach(function (klass) { return _this._toggleClass(klass, !isCleanup); });\n\t };\n\t NgClass.prototype._applyClasses = function (rawClassVal, isCleanup) {\n\t var _this = this;\n\t if (rawClassVal) {\n\t if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n\t rawClassVal.forEach(function (klass) { return _this._toggleClass(klass, !isCleanup); });\n\t }\n\t else {\n\t Object.keys(rawClassVal).forEach(function (klass) {\n\t if (isPresent(rawClassVal[klass]))\n\t _this._toggleClass(klass, !isCleanup);\n\t });\n\t }\n\t }\n\t };\n\t NgClass.prototype._toggleClass = function (klass, enabled) {\n\t var _this = this;\n\t klass = klass.trim();\n\t if (klass) {\n\t klass.split(/\\s+/g).forEach(function (klass) { _this._renderer.setElementClass(_this._ngEl.nativeElement, klass, enabled); });\n\t }\n\t };\n\t NgClass.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngClass]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgClass.ctorParameters = [\n\t { type: _angular_core.IterableDiffers, },\n\t { type: _angular_core.KeyValueDiffers, },\n\t { type: _angular_core.ElementRef, },\n\t { type: _angular_core.Renderer, },\n\t ];\n\t NgClass.propDecorators = {\n\t 'klass': [{ type: _angular_core.Input, args: ['class',] },],\n\t 'ngClass': [{ type: _angular_core.Input },],\n\t };\n\t return NgClass;\n\t }());\n\t\n\t var NgForRow = (function () {\n\t function NgForRow($implicit, index, count) {\n\t this.$implicit = $implicit;\n\t this.index = index;\n\t this.count = count;\n\t }\n\t Object.defineProperty(NgForRow.prototype, \"first\", {\n\t get: function () { return this.index === 0; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForRow.prototype, \"last\", {\n\t get: function () { return this.index === this.count - 1; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForRow.prototype, \"even\", {\n\t get: function () { return this.index % 2 === 0; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForRow.prototype, \"odd\", {\n\t get: function () { return !this.even; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return NgForRow;\n\t }());\n\t /**\n\t * The `NgFor` directive instantiates a template once per item from an iterable. The context for\n\t * each instantiated template inherits from the outer context with the given loop variable set\n\t * to the current item from the iterable.\n\t *\n\t * ### Local Variables\n\t *\n\t * `NgFor` provides several exported values that can be aliased to local variables:\n\t *\n\t * * `index` will be set to the current loop iteration for each template context.\n\t * * `first` will be set to a boolean value indicating whether the item is the first one in the\n\t * iteration.\n\t * * `last` will be set to a boolean value indicating whether the item is the last one in the\n\t * iteration.\n\t * * `even` will be set to a boolean value indicating whether this item has an even index.\n\t * * `odd` will be set to a boolean value indicating whether this item has an odd index.\n\t *\n\t * ### Change Propagation\n\t *\n\t * When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:\n\t *\n\t * * When an item is added, a new instance of the template is added to the DOM.\n\t * * When an item is removed, its template instance is removed from the DOM.\n\t * * When items are reordered, their respective templates are reordered in the DOM.\n\t * * Otherwise, the DOM element for that item will remain the same.\n\t *\n\t * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n\t * those changes in the DOM. This has important implications for animations and any stateful\n\t * controls\n\t * (such as `<input>` elements which accept user input) that are present. Inserted rows can be\n\t * animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state such\n\t * as user input.\n\t *\n\t * It is possible for the identities of elements in the iterator to change while the data does not.\n\t * This can happen, for example, if the iterator produced from an RPC to the server, and that\n\t * RPC is re-run. Even if the data hasn't changed, the second response will produce objects with\n\t * different identities, and Angular will tear down the entire DOM and rebuild it (as if all old\n\t * elements were deleted and all new elements inserted). This is an expensive operation and should\n\t * be avoided if possible.\n\t *\n\t * To customize the default tracking algorithm, `NgFor` supports `trackBy` option.\n\t * `trackBy` takes a function which has two arguments: `index` and `item`.\n\t * If `trackBy` is given, Angular tracks changes by the return value of the function.\n\t *\n\t * ### Syntax\n\t *\n\t * - `<li *ngFor=\"let item of items; let i = index; trackBy: trackByFn\">...</li>`\n\t * - `<li template=\"ngFor let item of items; let i = index; trackBy: trackByFn\">...</li>`\n\t *\n\t * With `<template>` element:\n\t *\n\t * ```\n\t * <template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n\t * <li>...</li>\n\t * </template>\n\t * ```\n\t *\n\t * ### Example\n\t *\n\t * See a [live demo](http://plnkr.co/edit/KVuXxDp0qinGDyo307QW?p=preview) for a more detailed\n\t * example.\n\t *\n\t * @stable\n\t */\n\t var NgFor = (function () {\n\t function NgFor(_viewContainer, _template, _differs, _cdr) {\n\t this._viewContainer = _viewContainer;\n\t this._template = _template;\n\t this._differs = _differs;\n\t this._cdr = _cdr;\n\t this._differ = null;\n\t }\n\t Object.defineProperty(NgFor.prototype, \"ngForTemplate\", {\n\t set: function (value) {\n\t if (value) {\n\t this._template = value;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgFor.prototype.ngOnChanges = function (changes) {\n\t if ('ngForOf' in changes) {\n\t // React on ngForOf changes only once all inputs have been initialized\n\t var value = changes['ngForOf'].currentValue;\n\t if (!this._differ && value) {\n\t try {\n\t this._differ = this._differs.find(value).create(this._cdr, this.ngForTrackBy);\n\t }\n\t catch (e) {\n\t throw new Error(\"Cannot find a differ supporting object '\" + value + \"' of type '\" + getTypeNameForDebugging(value) + \"'. NgFor only supports binding to Iterables such as Arrays.\");\n\t }\n\t }\n\t }\n\t };\n\t NgFor.prototype.ngDoCheck = function () {\n\t if (this._differ) {\n\t var changes = this._differ.diff(this.ngForOf);\n\t if (changes)\n\t this._applyChanges(changes);\n\t }\n\t };\n\t NgFor.prototype._applyChanges = function (changes) {\n\t var _this = this;\n\t var insertTuples = [];\n\t changes.forEachOperation(function (item, adjustedPreviousIndex, currentIndex) {\n\t if (item.previousIndex == null) {\n\t var view = _this._viewContainer.createEmbeddedView(_this._template, new NgForRow(null, null, null), currentIndex);\n\t var tuple = new RecordViewTuple(item, view);\n\t insertTuples.push(tuple);\n\t }\n\t else if (currentIndex == null) {\n\t _this._viewContainer.remove(adjustedPreviousIndex);\n\t }\n\t else {\n\t var view = _this._viewContainer.get(adjustedPreviousIndex);\n\t _this._viewContainer.move(view, currentIndex);\n\t var tuple = new RecordViewTuple(item, view);\n\t insertTuples.push(tuple);\n\t }\n\t });\n\t for (var i = 0; i < insertTuples.length; i++) {\n\t this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n\t }\n\t for (var i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\n\t var viewRef = this._viewContainer.get(i);\n\t viewRef.context.index = i;\n\t viewRef.context.count = ilen;\n\t }\n\t changes.forEachIdentityChange(function (record) {\n\t var viewRef = _this._viewContainer.get(record.currentIndex);\n\t viewRef.context.$implicit = record.item;\n\t });\n\t };\n\t NgFor.prototype._perViewChange = function (view, record) {\n\t view.context.$implicit = record.item;\n\t };\n\t NgFor.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngFor][ngForOf]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgFor.ctorParameters = [\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: _angular_core.TemplateRef, },\n\t { type: _angular_core.IterableDiffers, },\n\t { type: _angular_core.ChangeDetectorRef, },\n\t ];\n\t NgFor.propDecorators = {\n\t 'ngForOf': [{ type: _angular_core.Input },],\n\t 'ngForTrackBy': [{ type: _angular_core.Input },],\n\t 'ngForTemplate': [{ type: _angular_core.Input },],\n\t };\n\t return NgFor;\n\t }());\n\t var RecordViewTuple = (function () {\n\t function RecordViewTuple(record, view) {\n\t this.record = record;\n\t this.view = view;\n\t }\n\t return RecordViewTuple;\n\t }());\n\t\n\t /**\n\t * Removes or recreates a portion of the DOM tree based on an {expression}.\n\t *\n\t * If the expression assigned to `ngIf` evaluates to a falsy value then the element\n\t * is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/fe0kgemFBtmQOY31b4tw?p=preview)):\n\t *\n\t * ```\n\t * <div *ngIf=\"errorCount > 0\" class=\"error\">\n\t * <!-- Error message displayed when the errorCount property in the current context is greater\n\t * than 0. -->\n\t * {{errorCount}} errors detected\n\t * </div>\n\t * ```\n\t *\n\t * ### Syntax\n\t *\n\t * - `<div *ngIf=\"condition\">...</div>`\n\t * - `<div template=\"ngIf condition\">...</div>`\n\t * - `<template [ngIf]=\"condition\"><div>...</div></template>`\n\t *\n\t * @stable\n\t */\n\t var NgIf = (function () {\n\t function NgIf(_viewContainer, _template) {\n\t this._viewContainer = _viewContainer;\n\t this._template = _template;\n\t this._hasView = false;\n\t }\n\t Object.defineProperty(NgIf.prototype, \"ngIf\", {\n\t set: function (condition) {\n\t if (condition && !this._hasView) {\n\t this._hasView = true;\n\t this._viewContainer.createEmbeddedView(this._template);\n\t }\n\t else if (!condition && this._hasView) {\n\t this._hasView = false;\n\t this._viewContainer.clear();\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgIf.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngIf]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgIf.ctorParameters = [\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: _angular_core.TemplateRef, },\n\t ];\n\t NgIf.propDecorators = {\n\t 'ngIf': [{ type: _angular_core.Input },],\n\t };\n\t return NgIf;\n\t }());\n\t\n\t var SwitchView = (function () {\n\t function SwitchView(_viewContainerRef, _templateRef) {\n\t this._viewContainerRef = _viewContainerRef;\n\t this._templateRef = _templateRef;\n\t this._created = false;\n\t }\n\t SwitchView.prototype.create = function () {\n\t this._created = true;\n\t this._viewContainerRef.createEmbeddedView(this._templateRef);\n\t };\n\t SwitchView.prototype.destroy = function () {\n\t this._created = false;\n\t this._viewContainerRef.clear();\n\t };\n\t SwitchView.prototype.enforceState = function (created) {\n\t if (created && !this._created) {\n\t this.create();\n\t }\n\t else if (!created && this._created) {\n\t this.destroy();\n\t }\n\t };\n\t return SwitchView;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Adds / removes DOM sub-trees when the nest match expressions matches the switch\n\t * expression.\n\t *\n\t * @howToUse\n\t * ```\n\t * <container-element [ngSwitch]=\"switch_expression\">\n\t * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n\t * <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n\t * <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n\t * <ng-container *ngSwitchCase=\"match_expression_3\">\n\t * <!-- use a ng-container to group multiple root nodes -->\n\t * <inner-element></inner-element>\n\t * <inner-other-element></inner-other-element>\n\t * </ng-container>\n\t * <some-element *ngSwitchDefault>...</some-element>\n\t * </container-element>\n\t * ```\n\t * @description\n\t *\n\t * `NgSwitch` stamps out nested views when their match expression value matches the value of the\n\t * switch expression.\n\t *\n\t * In other words:\n\t * - you define a container element (where you place the directive with a switch expression on the\n\t * `[ngSwitch]=\"...\"` attribute)\n\t * - you define inner views inside the `NgSwitch` and place a `*ngSwitchCase` attribute on the view\n\t * root elements.\n\t *\n\t * Elements within `NgSwitch` but outside of a `NgSwitchCase` or `NgSwitchDefault` directives will\n\t * be preserved at the location.\n\t *\n\t * The `ngSwitchCase` directive informs the parent `NgSwitch` of which view to display when the\n\t * expression is evaluated.\n\t * When no matching expression is found on a `ngSwitchCase` view, the `ngSwitchDefault` view is\n\t * stamped out.\n\t *\n\t * @stable\n\t */\n\t var NgSwitch = (function () {\n\t function NgSwitch() {\n\t this._defaultUsed = false;\n\t this._caseCount = 0;\n\t this._lastCaseCheckIndex = 0;\n\t this._lastCasesMatched = false;\n\t }\n\t Object.defineProperty(NgSwitch.prototype, \"ngSwitch\", {\n\t set: function (newValue) {\n\t this._ngSwitch = newValue;\n\t if (this._caseCount === 0) {\n\t this._updateDefaultCases(true);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t NgSwitch.prototype._addCase = function () { return this._caseCount++; };\n\t /** @internal */\n\t NgSwitch.prototype._addDefault = function (view) {\n\t if (!this._defaultViews) {\n\t this._defaultViews = [];\n\t }\n\t this._defaultViews.push(view);\n\t };\n\t /** @internal */\n\t NgSwitch.prototype._matchCase = function (value) {\n\t var matched = value == this._ngSwitch;\n\t this._lastCasesMatched = this._lastCasesMatched || matched;\n\t this._lastCaseCheckIndex++;\n\t if (this._lastCaseCheckIndex === this._caseCount) {\n\t this._updateDefaultCases(!this._lastCasesMatched);\n\t this._lastCaseCheckIndex = 0;\n\t this._lastCasesMatched = false;\n\t }\n\t return matched;\n\t };\n\t NgSwitch.prototype._updateDefaultCases = function (useDefault) {\n\t if (this._defaultViews && useDefault !== this._defaultUsed) {\n\t this._defaultUsed = useDefault;\n\t for (var i = 0; i < this._defaultViews.length; i++) {\n\t var defaultView = this._defaultViews[i];\n\t defaultView.enforceState(useDefault);\n\t }\n\t }\n\t };\n\t NgSwitch.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngSwitch]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgSwitch.ctorParameters = [];\n\t NgSwitch.propDecorators = {\n\t 'ngSwitch': [{ type: _angular_core.Input },],\n\t };\n\t return NgSwitch;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Creates a view that will be added/removed from the parent {@link NgSwitch} when the\n\t * given expression evaluate to respectively the same/different value as the switch\n\t * expression.\n\t *\n\t * @howToUse\n\t * ```\n\t * <container-element [ngSwitch]=\"switch_expression\">\n\t * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n\t * </container-element>\n\t *```\n\t * @description\n\t *\n\t * Insert the sub-tree when the expression evaluates to the same value as the enclosing switch\n\t * expression.\n\t *\n\t * If multiple match expressions match the switch expression value, all of them are displayed.\n\t *\n\t * See {@link NgSwitch} for more details and example.\n\t *\n\t * @stable\n\t */\n\t var NgSwitchCase = (function () {\n\t function NgSwitchCase(viewContainer, templateRef, ngSwitch) {\n\t this.ngSwitch = ngSwitch;\n\t ngSwitch._addCase();\n\t this._view = new SwitchView(viewContainer, templateRef);\n\t }\n\t NgSwitchCase.prototype.ngDoCheck = function () { this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase)); };\n\t NgSwitchCase.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngSwitchCase]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgSwitchCase.ctorParameters = [\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: _angular_core.TemplateRef, },\n\t { type: NgSwitch, decorators: [{ type: _angular_core.Host },] },\n\t ];\n\t NgSwitchCase.propDecorators = {\n\t 'ngSwitchCase': [{ type: _angular_core.Input },],\n\t };\n\t return NgSwitchCase;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Creates a view that is added to the parent {@link NgSwitch} when no case expressions\n\t * match the\n\t * switch expression.\n\t *\n\t * @howToUse\n\t * ```\n\t * <container-element [ngSwitch]=\"switch_expression\">\n\t * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n\t * <some-other-element *ngSwitchDefault>...</some-other-element>\n\t * </container-element>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * Insert the sub-tree when no case expressions evaluate to the same value as the enclosing switch\n\t * expression.\n\t *\n\t * See {@link NgSwitch} for more details and example.\n\t *\n\t * @stable\n\t */\n\t var NgSwitchDefault = (function () {\n\t function NgSwitchDefault(viewContainer, templateRef, ngSwitch) {\n\t ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n\t }\n\t NgSwitchDefault.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngSwitchDefault]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgSwitchDefault.ctorParameters = [\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: _angular_core.TemplateRef, },\n\t { type: NgSwitch, decorators: [{ type: _angular_core.Host },] },\n\t ];\n\t return NgSwitchDefault;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n\t *\n\t * @howToUse\n\t * ```\n\t * <some-element [ngPlural]=\"value\">\n\t * <ng-container *ngPluralCase=\"'=0'\">there is nothing</ng-container>\n\t * <ng-container *ngPluralCase=\"'=1'\">there is one</ng-container>\n\t * <ng-container *ngPluralCase=\"'few'\">there are a few</ng-container>\n\t * <ng-container *ngPluralCase=\"'other'\">there are exactly #</ng-container>\n\t * </some-element>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n\t * that match the switch expression's pluralization category.\n\t *\n\t * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n\t * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n\t * expression:\n\t * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n\t * matches the switch expression exactly,\n\t * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n\t * value matches aren't found and the value maps to its category for the defined locale.\n\t *\n\t * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n\t *\n\t * @experimental\n\t */\n\t var NgPlural = (function () {\n\t function NgPlural(_localization) {\n\t this._localization = _localization;\n\t this._caseViews = {};\n\t }\n\t Object.defineProperty(NgPlural.prototype, \"ngPlural\", {\n\t set: function (value) {\n\t this._switchValue = value;\n\t this._updateView();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgPlural.prototype.addCase = function (value, switchView) { this._caseViews[value] = switchView; };\n\t NgPlural.prototype._updateView = function () {\n\t this._clearViews();\n\t var cases = Object.keys(this._caseViews);\n\t var key = getPluralCategory(this._switchValue, cases, this._localization);\n\t this._activateView(this._caseViews[key]);\n\t };\n\t NgPlural.prototype._clearViews = function () {\n\t if (this._activeView)\n\t this._activeView.destroy();\n\t };\n\t NgPlural.prototype._activateView = function (view) {\n\t if (view) {\n\t this._activeView = view;\n\t this._activeView.create();\n\t }\n\t };\n\t NgPlural.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngPlural]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgPlural.ctorParameters = [\n\t { type: NgLocalization, },\n\t ];\n\t NgPlural.propDecorators = {\n\t 'ngPlural': [{ type: _angular_core.Input },],\n\t };\n\t return NgPlural;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Creates a view that will be added/removed from the parent {@link NgPlural} when the\n\t * given expression matches the plural expression according to CLDR rules.\n\t *\n\t * @howToUse\n\t * ```\n\t * <some-element [ngPlural]=\"value\">\n\t * <ng-container *ngPluralCase=\"'=0'\">...</ng-container>\n\t * <ng-container *ngPluralCase=\"'other'\">...</ng-container>\n\t * </some-element>\n\t *```\n\t *\n\t * See {@link NgPlural} for more details and example.\n\t *\n\t * @experimental\n\t */\n\t var NgPluralCase = (function () {\n\t function NgPluralCase(value, template, viewContainer, ngPlural) {\n\t this.value = value;\n\t ngPlural.addCase(value, new SwitchView(viewContainer, template));\n\t }\n\t NgPluralCase.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngPluralCase]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgPluralCase.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Attribute, args: ['ngPluralCase',] },] },\n\t { type: _angular_core.TemplateRef, },\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: NgPlural, decorators: [{ type: _angular_core.Host },] },\n\t ];\n\t return NgPluralCase;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Update an HTML element styles.\n\t *\n\t * @howToUse\n\t * ```\n\t * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n\t *\n\t * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n\t *\n\t * <some-element [ngStyle]=\"objExp\">...</some-element>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * The styles are updated according to the value of the expression evaluation:\n\t * - keys are style names with an optional `.<unit>` suffix (ie 'top.px', 'font-style.em'),\n\t * - values are the values assigned to those properties (expressed in the given unit).\n\t *\n\t * @stable\n\t */\n\t var NgStyle = (function () {\n\t function NgStyle(_differs, _ngEl, _renderer) {\n\t this._differs = _differs;\n\t this._ngEl = _ngEl;\n\t this._renderer = _renderer;\n\t }\n\t Object.defineProperty(NgStyle.prototype, \"ngStyle\", {\n\t set: function (v) {\n\t this._ngStyle = v;\n\t if (!this._differ && v) {\n\t this._differ = this._differs.find(v).create(null);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgStyle.prototype.ngDoCheck = function () {\n\t if (this._differ) {\n\t var changes = this._differ.diff(this._ngStyle);\n\t if (changes) {\n\t this._applyChanges(changes);\n\t }\n\t }\n\t };\n\t NgStyle.prototype._applyChanges = function (changes) {\n\t var _this = this;\n\t changes.forEachRemovedItem(function (record) { return _this._setStyle(record.key, null); });\n\t changes.forEachAddedItem(function (record) { return _this._setStyle(record.key, record.currentValue); });\n\t changes.forEachChangedItem(function (record) { return _this._setStyle(record.key, record.currentValue); });\n\t };\n\t NgStyle.prototype._setStyle = function (nameAndUnit, value) {\n\t var _a = nameAndUnit.split('.'), name = _a[0], unit = _a[1];\n\t value = value && unit ? \"\" + value + unit : value;\n\t this._renderer.setElementStyle(this._ngEl.nativeElement, name, value);\n\t };\n\t NgStyle.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngStyle]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgStyle.ctorParameters = [\n\t { type: _angular_core.KeyValueDiffers, },\n\t { type: _angular_core.ElementRef, },\n\t { type: _angular_core.Renderer, },\n\t ];\n\t NgStyle.propDecorators = {\n\t 'ngStyle': [{ type: _angular_core.Input },],\n\t };\n\t return NgStyle;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t *\n\t * @whatItDoes Inserts an embedded view from a prepared `TemplateRef`\n\t *\n\t * @howToUse\n\t * ```\n\t * <template [ngTemplateOutlet]=\"templateRefExpression\"\n\t * [ngOutletContext]=\"objectExpression\">\n\t * </template>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * You can attach a context object to the `EmbeddedViewRef` by setting `[ngOutletContext]`.\n\t * `[ngOutletContext]` should be an object, the object's keys will be the local template variables\n\t * available within the `TemplateRef`.\n\t *\n\t * Note: using the key `$implicit` in the context object will set it's value as default.\n\t *\n\t * @experimental\n\t */\n\t var NgTemplateOutlet = (function () {\n\t function NgTemplateOutlet(_viewContainerRef) {\n\t this._viewContainerRef = _viewContainerRef;\n\t }\n\t Object.defineProperty(NgTemplateOutlet.prototype, \"ngOutletContext\", {\n\t set: function (context) { this._context = context; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgTemplateOutlet.prototype, \"ngTemplateOutlet\", {\n\t set: function (templateRef) { this._templateRef = templateRef; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgTemplateOutlet.prototype.ngOnChanges = function (changes) {\n\t if (this._viewRef) {\n\t this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef));\n\t }\n\t if (this._templateRef) {\n\t this._viewRef = this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);\n\t }\n\t };\n\t NgTemplateOutlet.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngTemplateOutlet]' },] },\n\t ];\n\t /** @nocollapse */\n\t NgTemplateOutlet.ctorParameters = [\n\t { type: _angular_core.ViewContainerRef, },\n\t ];\n\t NgTemplateOutlet.propDecorators = {\n\t 'ngOutletContext': [{ type: _angular_core.Input },],\n\t 'ngTemplateOutlet': [{ type: _angular_core.Input },],\n\t };\n\t return NgTemplateOutlet;\n\t }());\n\t\n\t /**\n\t * A collection of Angular directives that are likely to be used in each and every Angular\n\t * application.\n\t */\n\t var COMMON_DIRECTIVES = [\n\t NgClass,\n\t NgFor,\n\t NgIf,\n\t NgTemplateOutlet,\n\t NgStyle,\n\t NgSwitch,\n\t NgSwitchCase,\n\t NgSwitchDefault,\n\t NgPlural,\n\t NgPluralCase,\n\t ];\n\t\n\t var isPromise = _angular_core.__core_private__.isPromise;\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @stable\n\t */\n\t var BaseError = (function (_super) {\n\t __extends$4(BaseError, _super);\n\t function BaseError(message) {\n\t // Errors don't use current this, instead they create a new instance.\n\t // We have to do forward all of our api to the nativeInstance.\n\t var nativeError = _super.call(this, message);\n\t this._nativeError = nativeError;\n\t }\n\t Object.defineProperty(BaseError.prototype, \"message\", {\n\t get: function () { return this._nativeError.message; },\n\t set: function (message) { this._nativeError.message = message; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BaseError.prototype, \"name\", {\n\t get: function () { return this._nativeError.name; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(BaseError.prototype, \"stack\", {\n\t get: function () { return this._nativeError.stack; },\n\t set: function (value) { this._nativeError.stack = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n\t return BaseError;\n\t }(Error));\n\t /**\n\t * @stable\n\t */\n\t var WrappedError = (function (_super) {\n\t __extends$4(WrappedError, _super);\n\t function WrappedError(message, error) {\n\t _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n\t this.originalError = error;\n\t }\n\t Object.defineProperty(WrappedError.prototype, \"stack\", {\n\t get: function () {\n\t return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n\t .stack;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return WrappedError;\n\t }(BaseError));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var InvalidPipeArgumentError = (function (_super) {\n\t __extends$3(InvalidPipeArgumentError, _super);\n\t function InvalidPipeArgumentError(type, value) {\n\t _super.call(this, \"Invalid argument '\" + value + \"' for pipe '\" + stringify(type) + \"'\");\n\t }\n\t return InvalidPipeArgumentError;\n\t }(BaseError));\n\t\n\t var ObservableStrategy = (function () {\n\t function ObservableStrategy() {\n\t }\n\t ObservableStrategy.prototype.createSubscription = function (async, updateLatestValue) {\n\t return async.subscribe({ next: updateLatestValue, error: function (e) { throw e; } });\n\t };\n\t ObservableStrategy.prototype.dispose = function (subscription) { subscription.unsubscribe(); };\n\t ObservableStrategy.prototype.onDestroy = function (subscription) { subscription.unsubscribe(); };\n\t return ObservableStrategy;\n\t }());\n\t var PromiseStrategy = (function () {\n\t function PromiseStrategy() {\n\t }\n\t PromiseStrategy.prototype.createSubscription = function (async, updateLatestValue) {\n\t return async.then(updateLatestValue, function (e) { throw e; });\n\t };\n\t PromiseStrategy.prototype.dispose = function (subscription) { };\n\t PromiseStrategy.prototype.onDestroy = function (subscription) { };\n\t return PromiseStrategy;\n\t }());\n\t var _promiseStrategy = new PromiseStrategy();\n\t var _observableStrategy = new ObservableStrategy();\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Unwraps a value from an asynchronous primitive.\n\t * @howToUse `observable_or_promise_expression | async`\n\t * @description\n\t * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n\t * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n\t * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n\t * potential memory leaks.\n\t *\n\t *\n\t * ## Examples\n\t *\n\t * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n\t * promise.\n\t *\n\t * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n\t *\n\t * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n\t * to the view. The Observable continuesly updates the view with the current time.\n\t *\n\t * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n\t *\n\t * @stable\n\t */\n\t var AsyncPipe = (function () {\n\t function AsyncPipe(_ref) {\n\t this._ref = _ref;\n\t this._latestValue = null;\n\t this._latestReturnedValue = null;\n\t this._subscription = null;\n\t this._obj = null;\n\t this._strategy = null;\n\t }\n\t AsyncPipe.prototype.ngOnDestroy = function () {\n\t if (this._subscription) {\n\t this._dispose();\n\t }\n\t };\n\t AsyncPipe.prototype.transform = function (obj) {\n\t if (!this._obj) {\n\t if (obj) {\n\t this._subscribe(obj);\n\t }\n\t this._latestReturnedValue = this._latestValue;\n\t return this._latestValue;\n\t }\n\t if (obj !== this._obj) {\n\t this._dispose();\n\t return this.transform(obj);\n\t }\n\t if (this._latestValue === this._latestReturnedValue) {\n\t return this._latestReturnedValue;\n\t }\n\t this._latestReturnedValue = this._latestValue;\n\t return _angular_core.WrappedValue.wrap(this._latestValue);\n\t };\n\t AsyncPipe.prototype._subscribe = function (obj) {\n\t var _this = this;\n\t this._obj = obj;\n\t this._strategy = this._selectStrategy(obj);\n\t this._subscription = this._strategy.createSubscription(obj, function (value) { return _this._updateLatestValue(obj, value); });\n\t };\n\t AsyncPipe.prototype._selectStrategy = function (obj) {\n\t if (isPromise(obj)) {\n\t return _promiseStrategy;\n\t }\n\t if (obj.subscribe) {\n\t return _observableStrategy;\n\t }\n\t throw new InvalidPipeArgumentError(AsyncPipe, obj);\n\t };\n\t AsyncPipe.prototype._dispose = function () {\n\t this._strategy.dispose(this._subscription);\n\t this._latestValue = null;\n\t this._latestReturnedValue = null;\n\t this._subscription = null;\n\t this._obj = null;\n\t };\n\t AsyncPipe.prototype._updateLatestValue = function (async, value) {\n\t if (async === this._obj) {\n\t this._latestValue = value;\n\t this._ref.markForCheck();\n\t }\n\t };\n\t AsyncPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'async', pure: false },] },\n\t ];\n\t /** @nocollapse */\n\t AsyncPipe.ctorParameters = [\n\t { type: _angular_core.ChangeDetectorRef, },\n\t ];\n\t return AsyncPipe;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var NumberFormatStyle;\n\t (function (NumberFormatStyle) {\n\t NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n\t NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n\t NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n\t })(NumberFormatStyle || (NumberFormatStyle = {}));\n\t var NumberFormatter = (function () {\n\t function NumberFormatter() {\n\t }\n\t NumberFormatter.format = function (num, locale, style, _a) {\n\t var _b = _a === void 0 ? {} : _a, minimumIntegerDigits = _b.minimumIntegerDigits, minimumFractionDigits = _b.minimumFractionDigits, maximumFractionDigits = _b.maximumFractionDigits, currency = _b.currency, _c = _b.currencyAsSymbol, currencyAsSymbol = _c === void 0 ? false : _c;\n\t var options = {\n\t minimumIntegerDigits: minimumIntegerDigits,\n\t minimumFractionDigits: minimumFractionDigits,\n\t maximumFractionDigits: maximumFractionDigits,\n\t style: NumberFormatStyle[style].toLowerCase()\n\t };\n\t if (style == NumberFormatStyle.Currency) {\n\t options.currency = currency;\n\t options.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\n\t }\n\t return new Intl.NumberFormat(locale, options).format(num);\n\t };\n\t return NumberFormatter;\n\t }());\n\t var DATE_FORMATS_SPLIT = /((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/;\n\t var PATTERN_ALIASES = {\n\t 'yMMMdjms': datePartGetterFactory(combine([\n\t digitCondition('year', 1),\n\t nameCondition('month', 3),\n\t digitCondition('day', 1),\n\t digitCondition('hour', 1),\n\t digitCondition('minute', 1),\n\t digitCondition('second', 1),\n\t ])),\n\t 'yMdjm': datePartGetterFactory(combine([\n\t digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1),\n\t digitCondition('hour', 1), digitCondition('minute', 1)\n\t ])),\n\t 'yMMMMEEEEd': datePartGetterFactory(combine([\n\t digitCondition('year', 1), nameCondition('month', 4), nameCondition('weekday', 4),\n\t digitCondition('day', 1)\n\t ])),\n\t 'yMMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 4), digitCondition('day', 1)])),\n\t 'yMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1)])),\n\t 'yMd': datePartGetterFactory(combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1)])),\n\t 'jms': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('second', 1), digitCondition('minute', 1)])),\n\t 'jm': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('minute', 1)]))\n\t };\n\t var DATE_FORMATS = {\n\t yyyy: datePartGetterFactory(digitCondition('year', 4)),\n\t yy: datePartGetterFactory(digitCondition('year', 2)),\n\t y: datePartGetterFactory(digitCondition('year', 1)),\n\t MMMM: datePartGetterFactory(nameCondition('month', 4)),\n\t MMM: datePartGetterFactory(nameCondition('month', 3)),\n\t MM: datePartGetterFactory(digitCondition('month', 2)),\n\t M: datePartGetterFactory(digitCondition('month', 1)),\n\t LLLL: datePartGetterFactory(nameCondition('month', 4)),\n\t L: datePartGetterFactory(nameCondition('month', 1)),\n\t dd: datePartGetterFactory(digitCondition('day', 2)),\n\t d: datePartGetterFactory(digitCondition('day', 1)),\n\t HH: digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), false)))),\n\t H: hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), false))),\n\t hh: digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), true)))),\n\t h: hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n\t jj: datePartGetterFactory(digitCondition('hour', 2)),\n\t j: datePartGetterFactory(digitCondition('hour', 1)),\n\t mm: digitModifier(datePartGetterFactory(digitCondition('minute', 2))),\n\t m: datePartGetterFactory(digitCondition('minute', 1)),\n\t ss: digitModifier(datePartGetterFactory(digitCondition('second', 2))),\n\t s: datePartGetterFactory(digitCondition('second', 1)),\n\t // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n\t // we can be just safely rely on using `sss` since we currently don't support single or two digit\n\t // fractions\n\t sss: datePartGetterFactory(digitCondition('second', 3)),\n\t EEEE: datePartGetterFactory(nameCondition('weekday', 4)),\n\t EEE: datePartGetterFactory(nameCondition('weekday', 3)),\n\t EE: datePartGetterFactory(nameCondition('weekday', 2)),\n\t E: datePartGetterFactory(nameCondition('weekday', 1)),\n\t a: hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n\t Z: timeZoneGetter('short'),\n\t z: timeZoneGetter('long'),\n\t ww: datePartGetterFactory({}),\n\t // first Thursday of the year. not support ?\n\t w: datePartGetterFactory({}),\n\t // of the year not support ?\n\t G: datePartGetterFactory(nameCondition('era', 1)),\n\t GG: datePartGetterFactory(nameCondition('era', 2)),\n\t GGG: datePartGetterFactory(nameCondition('era', 3)),\n\t GGGG: datePartGetterFactory(nameCondition('era', 4))\n\t };\n\t function digitModifier(inner) {\n\t return function (date, locale) {\n\t var result = inner(date, locale);\n\t return result.length == 1 ? '0' + result : result;\n\t };\n\t }\n\t function hourClockExtractor(inner) {\n\t return function (date, locale) { return inner(date, locale).split(' ')[1]; };\n\t }\n\t function hourExtractor(inner) {\n\t return function (date, locale) { return inner(date, locale).split(' ')[0]; };\n\t }\n\t function intlDateFormat(date, locale, options) {\n\t return new Intl.DateTimeFormat(locale, options).format(date).replace(/[\\u200e\\u200f]/g, '');\n\t }\n\t function timeZoneGetter(timezone) {\n\t // To workaround `Intl` API restriction for single timezone let format with 24 hours\n\t var options = { hour: '2-digit', hour12: false, timeZoneName: timezone };\n\t return function (date, locale) {\n\t var result = intlDateFormat(date, locale, options);\n\t // Then extract first 3 letters that related to hours\n\t return result ? result.substring(3) : '';\n\t };\n\t }\n\t function hour12Modify(options, value) {\n\t options.hour12 = value;\n\t return options;\n\t }\n\t function digitCondition(prop, len) {\n\t var result = {};\n\t result[prop] = len === 2 ? '2-digit' : 'numeric';\n\t return result;\n\t }\n\t function nameCondition(prop, len) {\n\t var result = {};\n\t if (len < 4) {\n\t result[prop] = len > 1 ? 'short' : 'narrow';\n\t }\n\t else {\n\t result[prop] = 'long';\n\t }\n\t return result;\n\t }\n\t function combine(options) {\n\t return (_a = Object).assign.apply(_a, [{}].concat(options));\n\t var _a;\n\t }\n\t function datePartGetterFactory(ret) {\n\t return function (date, locale) { return intlDateFormat(date, locale, ret); };\n\t }\n\t var DATE_FORMATTER_CACHE = new Map();\n\t function dateFormatter(format, date, locale) {\n\t var fn = PATTERN_ALIASES[format];\n\t if (fn)\n\t return fn(date, locale);\n\t var parts = DATE_FORMATTER_CACHE.get(format);\n\t if (!parts) {\n\t parts = [];\n\t var match = void 0;\n\t DATE_FORMATS_SPLIT.exec(format);\n\t while (format) {\n\t match = DATE_FORMATS_SPLIT.exec(format);\n\t if (match) {\n\t parts = parts.concat(match.slice(1));\n\t format = parts.pop();\n\t }\n\t else {\n\t parts.push(format);\n\t format = null;\n\t }\n\t }\n\t DATE_FORMATTER_CACHE.set(format, parts);\n\t }\n\t return parts.reduce(function (text, part) {\n\t var fn = DATE_FORMATS[part];\n\t return text + (fn ? fn(date, locale) : partToTime(part));\n\t }, '');\n\t }\n\t function partToTime(part) {\n\t return part === '\\'\\'' ? '\\'' : part.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n\t }\n\t var DateFormatter = (function () {\n\t function DateFormatter() {\n\t }\n\t DateFormatter.format = function (date, locale, pattern) {\n\t return dateFormatter(pattern, date, locale);\n\t };\n\t return DateFormatter;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Formats a date according to locale rules.\n\t * @howToUse `date_expression | date[:format]`\n\t * @description\n\t *\n\t * Where:\n\t * - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string\n\t * (https://www.w3.org/TR/NOTE-datetime).\n\t * - `format` indicates which date/time components to include. The format can be predifined as\n\t * shown below or custom as shown in the table.\n\t * - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)\n\t * - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)\n\t * - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. `Friday, September 3, 2010` for `en-US`)\n\t * - `'longDate'`: equivalent to `'yMMMMd'` (e.g. `September 3, 2010` for `en-US`)\n\t * - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. `Sep 3, 2010` for `en-US`)\n\t * - `'shortDate'`: equivalent to `'yMd'` (e.g. `9/3/2010` for `en-US`)\n\t * - `'mediumTime'`: equivalent to `'jms'` (e.g. `12:05:08 PM` for `en-US`)\n\t * - `'shortTime'`: equivalent to `'jm'` (e.g. `12:05 PM` for `en-US`)\n\t *\n\t *\n\t * | Component | Symbol | Narrow | Short Form | Long Form | Numeric | 2-digit |\n\t * |-----------|:------:|--------|--------------|-------------------|-----------|-----------|\n\t * | era | G | G (A) | GGG (AD) | GGGG (Anno Domini)| - | - |\n\t * | year | y | - | - | - | y (2015) | yy (15) |\n\t * | month | M | L (S) | MMM (Sep) | MMMM (September) | M (9) | MM (09) |\n\t * | day | d | - | - | - | d (3) | dd (03) |\n\t * | weekday | E | E (S) | EEE (Sun) | EEEE (Sunday) | - | - |\n\t * | hour | j | - | - | - | j (13) | jj (13) |\n\t * | hour12 | h | - | - | - | h (1 PM) | hh (01 PM)|\n\t * | hour24 | H | - | - | - | H (13) | HH (13) |\n\t * | minute | m | - | - | - | m (5) | mm (05) |\n\t * | second | s | - | - | - | s (9) | ss (09) |\n\t * | timezone | z | - | - | z (Pacific Standard Time)| - | - |\n\t * | timezone | Z | - | Z (GMT-8:00) | - | - | - |\n\t * | timezone | a | - | a (PM) | - | - | - |\n\t *\n\t * In javascript, only the components specified will be respected (not the ordering,\n\t * punctuations, ...) and details of the formatting will be dependent on the locale.\n\t *\n\t * Timezone of the formatted text will be the local system timezone of the end-user's machine.\n\t *\n\t * When the expression is a ISO string without time (e.g. 2016-09-19) the time zone offset is not\n\t * applied and the formatted text will have the same day, month and year of the expression.\n\t *\n\t * WARNINGS:\n\t * - this pipe is marked as pure hence it will not be re-evaluated when the input is mutated.\n\t * Instead users should treat the date as an immutable object and change the reference when the\n\t * pipe needs to re-run (this is to avoid reformatting the date on every change detection run\n\t * which would be an expensive operation).\n\t * - this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera\n\t * browsers.\n\t *\n\t * ### Examples\n\t *\n\t * Assuming `dateObj` is (year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11)\n\t * in the _local_ time and locale is 'en-US':\n\t *\n\t * ```\n\t * {{ dateObj | date }} // output is 'Jun 15, 2015'\n\t * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n\t * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n\t * {{ dateObj | date:'mmss' }} // output is '43:11'\n\t * ```\n\t *\n\t * {@example common/pipes/ts/date_pipe.ts region='DatePipe'}\n\t *\n\t * @stable\n\t */\n\t var DatePipe = (function () {\n\t function DatePipe(_locale) {\n\t this._locale = _locale;\n\t }\n\t DatePipe.prototype.transform = function (value, pattern) {\n\t if (pattern === void 0) { pattern = 'mediumDate'; }\n\t var date;\n\t if (isBlank$1(value))\n\t return null;\n\t if (typeof value === 'string') {\n\t value = value.trim();\n\t }\n\t if (isDate(value)) {\n\t date = value;\n\t }\n\t else if (NumberWrapper.isNumeric(value)) {\n\t date = new Date(parseFloat(value));\n\t }\n\t else if (typeof value === 'string' && /^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n\t /**\n\t * For ISO Strings without time the day, month and year must be extracted from the ISO String\n\t * before Date creation to avoid time offset and errors in the new Date.\n\t * If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n\t * date, some browsers (e.g. IE 9) will throw an invalid Date error\n\t * If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n\t * is applied\n\t * Note: ISO months are 0 for January, 1 for February, ...\n\t */\n\t var _a = value.split('-').map(function (val) { return parseInt(val, 10); }), y = _a[0], m = _a[1], d = _a[2];\n\t date = new Date(y, m - 1, d);\n\t }\n\t else {\n\t date = new Date(value);\n\t }\n\t if (!isDate(date)) {\n\t throw new InvalidPipeArgumentError(DatePipe, value);\n\t }\n\t return DateFormatter.format(date, this._locale, DatePipe._ALIASES[pattern] || pattern);\n\t };\n\t /** @internal */\n\t DatePipe._ALIASES = {\n\t 'medium': 'yMMMdjms',\n\t 'short': 'yMdjm',\n\t 'fullDate': 'yMMMMEEEEd',\n\t 'longDate': 'yMMMMd',\n\t 'mediumDate': 'yMMMd',\n\t 'shortDate': 'yMd',\n\t 'mediumTime': 'jms',\n\t 'shortTime': 'jm'\n\t };\n\t DatePipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'date', pure: true },] },\n\t ];\n\t /** @nocollapse */\n\t DatePipe.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n\t ];\n\t return DatePipe;\n\t }());\n\t function isBlank$1(obj) {\n\t return obj == null || obj === '';\n\t }\n\t\n\t var _INTERPOLATION_REGEXP = /#/g;\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Maps a value to a string that pluralizes the value according to locale rules.\n\t * @howToUse `expression | i18nPlural:mapping`\n\t * @description\n\t *\n\t * Where:\n\t * - `expression` is a number.\n\t * - `mapping` is an object that mimics the ICU format, see\n\t * http://userguide.icu-project.org/formatparse/messages\n\t *\n\t * ## Example\n\t *\n\t * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n\t *\n\t * @experimental\n\t */\n\t var I18nPluralPipe = (function () {\n\t function I18nPluralPipe(_localization) {\n\t this._localization = _localization;\n\t }\n\t I18nPluralPipe.prototype.transform = function (value, pluralMap) {\n\t if (isBlank(value))\n\t return '';\n\t if (typeof pluralMap !== 'object' || pluralMap === null) {\n\t throw new InvalidPipeArgumentError(I18nPluralPipe, pluralMap);\n\t }\n\t var key = getPluralCategory(value, Object.keys(pluralMap), this._localization);\n\t return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n\t };\n\t I18nPluralPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'i18nPlural', pure: true },] },\n\t ];\n\t /** @nocollapse */\n\t I18nPluralPipe.ctorParameters = [\n\t { type: NgLocalization, },\n\t ];\n\t return I18nPluralPipe;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Generic selector that displays the string that matches the current value.\n\t * @howToUse `expression | i18nSelect:mapping`\n\t * @description\n\t *\n\t * Where `mapping` is an object that indicates the text that should be displayed\n\t * for different values of the provided `expression`.\n\t * If none of the keys of the mapping match the value of the `expression`, then the content\n\t * of the `other` key is returned when present, otherwise an empty string is returned.\n\t *\n\t * ## Example\n\t *\n\t * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n\t *\n\t * @experimental\n\t */\n\t var I18nSelectPipe = (function () {\n\t function I18nSelectPipe() {\n\t }\n\t I18nSelectPipe.prototype.transform = function (value, mapping) {\n\t if (value == null)\n\t return '';\n\t if (typeof mapping !== 'object' || typeof value !== 'string') {\n\t throw new InvalidPipeArgumentError(I18nSelectPipe, mapping);\n\t }\n\t if (mapping.hasOwnProperty(value)) {\n\t return mapping[value];\n\t }\n\t if (mapping.hasOwnProperty('other')) {\n\t return mapping['other'];\n\t }\n\t return '';\n\t };\n\t I18nSelectPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'i18nSelect', pure: true },] },\n\t ];\n\t /** @nocollapse */\n\t I18nSelectPipe.ctorParameters = [];\n\t return I18nSelectPipe;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Converts value into JSON string.\n\t * @howToUse `expression | json`\n\t * @description\n\t *\n\t * Converts value into string using `JSON.stringify`. Useful for debugging.\n\t *\n\t * ### Example\n\t * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n\t *\n\t * @stable\n\t */\n\t var JsonPipe = (function () {\n\t function JsonPipe() {\n\t }\n\t JsonPipe.prototype.transform = function (value) { return JSON.stringify(value, null, 2); };\n\t JsonPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'json', pure: false },] },\n\t ];\n\t /** @nocollapse */\n\t JsonPipe.ctorParameters = [];\n\t return JsonPipe;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Transforms string to lowercase.\n\t * @howToUse `expression | lowercase`\n\t * @description\n\t *\n\t * Converts value into a lowercase string using `String.prototype.toLowerCase()`.\n\t *\n\t * ### Example\n\t *\n\t * {@example common/pipes/ts/lowerupper_pipe.ts region='LowerUpperPipe'}\n\t *\n\t * @stable\n\t */\n\t var LowerCasePipe = (function () {\n\t function LowerCasePipe() {\n\t }\n\t LowerCasePipe.prototype.transform = function (value) {\n\t if (isBlank(value))\n\t return value;\n\t if (typeof value !== 'string') {\n\t throw new InvalidPipeArgumentError(LowerCasePipe, value);\n\t }\n\t return value.toLowerCase();\n\t };\n\t LowerCasePipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'lowercase' },] },\n\t ];\n\t /** @nocollapse */\n\t LowerCasePipe.ctorParameters = [];\n\t return LowerCasePipe;\n\t }());\n\t\n\t var _NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n\t function formatNumber(pipe, locale, value, style, digits, currency, currencyAsSymbol) {\n\t if (currency === void 0) { currency = null; }\n\t if (currencyAsSymbol === void 0) { currencyAsSymbol = false; }\n\t if (isBlank(value))\n\t return null;\n\t // Convert strings to numbers\n\t value = typeof value === 'string' && NumberWrapper.isNumeric(value) ? +value : value;\n\t if (typeof value !== 'number') {\n\t throw new InvalidPipeArgumentError(pipe, value);\n\t }\n\t var minInt;\n\t var minFraction;\n\t var maxFraction;\n\t if (style !== NumberFormatStyle.Currency) {\n\t // rely on Intl default for currency\n\t minInt = 1;\n\t minFraction = 0;\n\t maxFraction = 3;\n\t }\n\t if (digits) {\n\t var parts = digits.match(_NUMBER_FORMAT_REGEXP);\n\t if (parts === null) {\n\t throw new Error(digits + \" is not a valid digit info for number pipes\");\n\t }\n\t if (isPresent(parts[1])) {\n\t minInt = NumberWrapper.parseIntAutoRadix(parts[1]);\n\t }\n\t if (isPresent(parts[3])) {\n\t minFraction = NumberWrapper.parseIntAutoRadix(parts[3]);\n\t }\n\t if (isPresent(parts[5])) {\n\t maxFraction = NumberWrapper.parseIntAutoRadix(parts[5]);\n\t }\n\t }\n\t return NumberFormatter.format(value, locale, style, {\n\t minimumIntegerDigits: minInt,\n\t minimumFractionDigits: minFraction,\n\t maximumFractionDigits: maxFraction,\n\t currency: currency,\n\t currencyAsSymbol: currencyAsSymbol,\n\t });\n\t }\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Formats a number according to locale rules.\n\t * @howToUse `number_expression | number[:digitInfo]`\n\t *\n\t * Formats a number as text. Group sizing and separator and other locale-specific\n\t * configurations are based on the active locale.\n\t *\n\t * where `expression` is a number:\n\t * - `digitInfo` is a `string` which has a following format: <br>\n\t * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>\n\t * - `minIntegerDigits` is the minimum number of integer digits to use. Defaults to `1`.\n\t * - `minFractionDigits` is the minimum number of digits after fraction. Defaults to `0`.\n\t * - `maxFractionDigits` is the maximum number of digits after fraction. Defaults to `3`.\n\t *\n\t * For more information on the acceptable range for each of these numbers and other\n\t * details see your native internationalization library.\n\t *\n\t * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n\t * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n\t *\n\t * ### Example\n\t *\n\t * {@example common/pipes/ts/number_pipe.ts region='NumberPipe'}\n\t *\n\t * @stable\n\t */\n\t var DecimalPipe = (function () {\n\t function DecimalPipe(_locale) {\n\t this._locale = _locale;\n\t }\n\t DecimalPipe.prototype.transform = function (value, digits) {\n\t if (digits === void 0) { digits = null; }\n\t return formatNumber(DecimalPipe, this._locale, value, NumberFormatStyle.Decimal, digits);\n\t };\n\t DecimalPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'number' },] },\n\t ];\n\t /** @nocollapse */\n\t DecimalPipe.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n\t ];\n\t return DecimalPipe;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Formats a number as a percentage according to locale rules.\n\t * @howToUse `number_expression | percent[:digitInfo]`\n\t *\n\t * @description\n\t *\n\t * Formats a number as percentage.\n\t *\n\t * - `digitInfo` See {@link DecimalPipe} for detailed description.\n\t *\n\t * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n\t * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n\t *\n\t * ### Example\n\t *\n\t * {@example common/pipes/ts/number_pipe.ts region='PercentPipe'}\n\t *\n\t * @stable\n\t */\n\t var PercentPipe = (function () {\n\t function PercentPipe(_locale) {\n\t this._locale = _locale;\n\t }\n\t PercentPipe.prototype.transform = function (value, digits) {\n\t if (digits === void 0) { digits = null; }\n\t return formatNumber(PercentPipe, this._locale, value, NumberFormatStyle.Percent, digits);\n\t };\n\t PercentPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'percent' },] },\n\t ];\n\t /** @nocollapse */\n\t PercentPipe.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n\t ];\n\t return PercentPipe;\n\t }());\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Formats a number as currency using locale rules.\n\t * @howToUse `number_expression | currency[:currencyCode[:symbolDisplay[:digitInfo]]]`\n\t * @description\n\t *\n\t * Use `currency` to format a number as currency.\n\t *\n\t * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such\n\t * as `USD` for the US dollar and `EUR` for the euro.\n\t * - `symbolDisplay` is a boolean indicating whether to use the currency symbol or code.\n\t * - `true`: use symbol (e.g. `$`).\n\t * - `false`(default): use code (e.g. `USD`).\n\t * - `digitInfo` See {@link DecimalPipe} for detailed description.\n\t *\n\t * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n\t * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n\t *\n\t * ### Example\n\t *\n\t * {@example common/pipes/ts/number_pipe.ts region='CurrencyPipe'}\n\t *\n\t * @stable\n\t */\n\t var CurrencyPipe = (function () {\n\t function CurrencyPipe(_locale) {\n\t this._locale = _locale;\n\t }\n\t CurrencyPipe.prototype.transform = function (value, currencyCode, symbolDisplay, digits) {\n\t if (currencyCode === void 0) { currencyCode = 'USD'; }\n\t if (symbolDisplay === void 0) { symbolDisplay = false; }\n\t if (digits === void 0) { digits = null; }\n\t return formatNumber(CurrencyPipe, this._locale, value, NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\n\t };\n\t CurrencyPipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'currency' },] },\n\t ];\n\t /** @nocollapse */\n\t CurrencyPipe.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n\t ];\n\t return CurrencyPipe;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Creates a new List or String containing a subset (slice) of the elements.\n\t * @howToUse `array_or_string_expression | slice:start[:end]`\n\t * @description\n\t *\n\t * Where the input expression is a `List` or `String`, and:\n\t * - `start`: The starting index of the subset to return.\n\t * - **a positive integer**: return the item at `start` index and all items after\n\t * in the list or string expression.\n\t * - **a negative integer**: return the item at `start` index from the end and all items after\n\t * in the list or string expression.\n\t * - **if positive and greater than the size of the expression**: return an empty list or string.\n\t * - **if negative and greater than the size of the expression**: return entire list or string.\n\t * - `end`: The ending index of the subset to return.\n\t * - **omitted**: return all items until the end.\n\t * - **if positive**: return all items before `end` index of the list or string.\n\t * - **if negative**: return all items before `end` index from the end of the list or string.\n\t *\n\t * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n\t * and `String.prototype.slice()`.\n\t *\n\t * When operating on a [List], the returned list is always a copy even when all\n\t * the elements are being returned.\n\t *\n\t * When operating on a blank value, the pipe returns the blank value.\n\t *\n\t * ## List Example\n\t *\n\t * This `ngFor` example:\n\t *\n\t * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n\t *\n\t * produces the following:\n\t *\n\t * <li>b</li>\n\t * <li>c</li>\n\t *\n\t * ## String Examples\n\t *\n\t * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n\t *\n\t * @stable\n\t */\n\t var SlicePipe = (function () {\n\t function SlicePipe() {\n\t }\n\t SlicePipe.prototype.transform = function (value, start, end) {\n\t if (isBlank(value))\n\t return value;\n\t if (!this.supports(value)) {\n\t throw new InvalidPipeArgumentError(SlicePipe, value);\n\t }\n\t return value.slice(start, end);\n\t };\n\t SlicePipe.prototype.supports = function (obj) { return typeof obj === 'string' || Array.isArray(obj); };\n\t SlicePipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'slice', pure: false },] },\n\t ];\n\t /** @nocollapse */\n\t SlicePipe.ctorParameters = [];\n\t return SlicePipe;\n\t }());\n\t\n\t /**\n\t * @ngModule CommonModule\n\t * @whatItDoes Transforms string to uppercase.\n\t * @howToUse `expression | uppercase`\n\t * @description\n\t *\n\t * Converts value into an uppercase string using `String.prototype.toUpperCase()`.\n\t *\n\t * ### Example\n\t *\n\t * {@example common/pipes/ts/lowerupper_pipe.ts region='LowerUpperPipe'}\n\t *\n\t * @stable\n\t */\n\t var UpperCasePipe = (function () {\n\t function UpperCasePipe() {\n\t }\n\t UpperCasePipe.prototype.transform = function (value) {\n\t if (isBlank(value))\n\t return value;\n\t if (typeof value !== 'string') {\n\t throw new InvalidPipeArgumentError(UpperCasePipe, value);\n\t }\n\t return value.toUpperCase();\n\t };\n\t UpperCasePipe.decorators = [\n\t { type: _angular_core.Pipe, args: [{ name: 'uppercase' },] },\n\t ];\n\t /** @nocollapse */\n\t UpperCasePipe.ctorParameters = [];\n\t return UpperCasePipe;\n\t }());\n\t\n\t /**\n\t * A collection of Angular pipes that are likely to be used in each and every application.\n\t */\n\t var COMMON_PIPES = [\n\t AsyncPipe,\n\t UpperCasePipe,\n\t LowerCasePipe,\n\t JsonPipe,\n\t SlicePipe,\n\t DecimalPipe,\n\t PercentPipe,\n\t CurrencyPipe,\n\t DatePipe,\n\t I18nPluralPipe,\n\t I18nSelectPipe,\n\t ];\n\t\n\t // Note: This does not contain the location providers,\n\t // as they need some platform specific implementations to work.\n\t /**\n\t * The module that includes all the basic Angular directives like {@link NgIf}, {@link NgFor}, ...\n\t *\n\t * @stable\n\t */\n\t var CommonModule = (function () {\n\t function CommonModule() {\n\t }\n\t CommonModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n\t exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n\t providers: [\n\t { provide: NgLocalization, useClass: NgLocaleLocalization },\n\t ],\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t CommonModule.ctorParameters = [];\n\t return CommonModule;\n\t }());\n\t\n\t exports.NgLocalization = NgLocalization;\n\t exports.CommonModule = CommonModule;\n\t exports.NgClass = NgClass;\n\t exports.NgFor = NgFor;\n\t exports.NgIf = NgIf;\n\t exports.NgPlural = NgPlural;\n\t exports.NgPluralCase = NgPluralCase;\n\t exports.NgStyle = NgStyle;\n\t exports.NgSwitch = NgSwitch;\n\t exports.NgSwitchCase = NgSwitchCase;\n\t exports.NgSwitchDefault = NgSwitchDefault;\n\t exports.NgTemplateOutlet = NgTemplateOutlet;\n\t exports.AsyncPipe = AsyncPipe;\n\t exports.DatePipe = DatePipe;\n\t exports.I18nPluralPipe = I18nPluralPipe;\n\t exports.I18nSelectPipe = I18nSelectPipe;\n\t exports.JsonPipe = JsonPipe;\n\t exports.LowerCasePipe = LowerCasePipe;\n\t exports.CurrencyPipe = CurrencyPipe;\n\t exports.DecimalPipe = DecimalPipe;\n\t exports.PercentPipe = PercentPipe;\n\t exports.SlicePipe = SlicePipe;\n\t exports.UpperCasePipe = UpperCasePipe;\n\t exports.PlatformLocation = PlatformLocation;\n\t exports.LocationStrategy = LocationStrategy;\n\t exports.APP_BASE_HREF = APP_BASE_HREF;\n\t exports.HashLocationStrategy = HashLocationStrategy;\n\t exports.PathLocationStrategy = PathLocationStrategy;\n\t exports.Location = Location;\n\t\n\t}));\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 283 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(263), __webpack_require__(284), __webpack_require__(264), __webpack_require__(265), __webpack_require__(285)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs/operator/toPromise', 'rxjs/Subject', 'rxjs/Observable', 'rxjs/observable/fromPromise'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.forms = global.ng.forms || {}),global.ng.core,global.Rx.Observable.prototype,global.Rx,global.Rx,global.Rx.Observable));\n\t}(this, function (exports,_angular_core,rxjs_operator_toPromise,rxjs_Subject,rxjs_Observable,rxjs_observable_fromPromise) { 'use strict';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Base class for control directives.\n\t *\n\t * Only used internally in the forms module.\n\t *\n\t * @stable\n\t */\n\t var AbstractControlDirective = (function () {\n\t function AbstractControlDirective() {\n\t }\n\t Object.defineProperty(AbstractControlDirective.prototype, \"control\", {\n\t get: function () { throw new Error('unimplemented'); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"value\", {\n\t get: function () { return this.control ? this.control.value : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"valid\", {\n\t get: function () { return this.control ? this.control.valid : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"invalid\", {\n\t get: function () { return this.control ? this.control.invalid : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"pending\", {\n\t get: function () { return this.control ? this.control.pending : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"errors\", {\n\t get: function () { return this.control ? this.control.errors : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"pristine\", {\n\t get: function () { return this.control ? this.control.pristine : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"dirty\", {\n\t get: function () { return this.control ? this.control.dirty : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"touched\", {\n\t get: function () { return this.control ? this.control.touched : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"untouched\", {\n\t get: function () { return this.control ? this.control.untouched : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"disabled\", {\n\t get: function () { return this.control ? this.control.disabled : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"enabled\", {\n\t get: function () { return this.control ? this.control.enabled : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"statusChanges\", {\n\t get: function () { return this.control ? this.control.statusChanges : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"valueChanges\", {\n\t get: function () { return this.control ? this.control.valueChanges : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlDirective.prototype, \"path\", {\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t AbstractControlDirective.prototype.reset = function (value) {\n\t if (value === void 0) { value = undefined; }\n\t if (this.control)\n\t this.control.reset(value);\n\t };\n\t AbstractControlDirective.prototype.hasError = function (errorCode, path) {\n\t if (path === void 0) { path = null; }\n\t return this.control ? this.control.hasError(errorCode, path) : false;\n\t };\n\t AbstractControlDirective.prototype.getError = function (errorCode, path) {\n\t if (path === void 0) { path = null; }\n\t return this.control ? this.control.getError(errorCode, path) : null;\n\t };\n\t return AbstractControlDirective;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * A directive that contains multiple {@link NgControl}s.\n\t *\n\t * Only used by the forms module.\n\t *\n\t * @stable\n\t */\n\t var ControlContainer = (function (_super) {\n\t __extends$1(ControlContainer, _super);\n\t function ControlContainer() {\n\t _super.apply(this, arguments);\n\t }\n\t Object.defineProperty(ControlContainer.prototype, \"formDirective\", {\n\t /**\n\t * Get the form to which this container belongs.\n\t */\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ControlContainer.prototype, \"path\", {\n\t /**\n\t * Get the path to this container.\n\t */\n\t get: function () { return null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return ControlContainer;\n\t }(AbstractControlDirective));\n\t\n\t function isPresent(obj) {\n\t return obj != null;\n\t }\n\t function isBlank(obj) {\n\t return obj == null;\n\t }\n\t // JS has NaN !== NaN\n\t function looseIdentical(a, b) {\n\t return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n\t }\n\t function isJsObject(o) {\n\t return o !== null && (typeof o === 'function' || typeof o === 'object');\n\t }\n\t function isPrimitive(obj) {\n\t return !isJsObject(obj);\n\t }\n\t\n\t /**\n\t * Wraps Javascript Objects\n\t */\n\t var StringMapWrapper = (function () {\n\t function StringMapWrapper() {\n\t }\n\t StringMapWrapper.merge = function (m1, m2) {\n\t var m = {};\n\t for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n\t var k = _a[_i];\n\t m[k] = m1[k];\n\t }\n\t for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n\t var k = _c[_b];\n\t m[k] = m2[k];\n\t }\n\t return m;\n\t };\n\t StringMapWrapper.equals = function (m1, m2) {\n\t var k1 = Object.keys(m1);\n\t var k2 = Object.keys(m2);\n\t if (k1.length != k2.length) {\n\t return false;\n\t }\n\t for (var i = 0; i < k1.length; i++) {\n\t var key = k1[i];\n\t if (m1[key] !== m2[key]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t return StringMapWrapper;\n\t }());\n\t var ListWrapper = (function () {\n\t function ListWrapper() {\n\t }\n\t ListWrapper.removeAll = function (list, items) {\n\t for (var i = 0; i < items.length; ++i) {\n\t var index = list.indexOf(items[i]);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t }\n\t }\n\t };\n\t ListWrapper.remove = function (list, el) {\n\t var index = list.indexOf(el);\n\t if (index > -1) {\n\t list.splice(index, 1);\n\t return true;\n\t }\n\t return false;\n\t };\n\t ListWrapper.equals = function (a, b) {\n\t if (a.length != b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (a[i] !== b[i])\n\t return false;\n\t }\n\t return true;\n\t };\n\t ListWrapper.flatten = function (list) {\n\t return list.reduce(function (flat, item) {\n\t var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n\t return flat.concat(flatItem);\n\t }, []);\n\t };\n\t return ListWrapper;\n\t }());\n\t\n\t var isPromise = _angular_core.__core_private__.isPromise;\n\t\n\t function isEmptyInputValue(value) {\n\t return value == null || typeof value === 'string' && value.length === 0;\n\t }\n\t /**\n\t * Providers for validators to be used for {@link FormControl}s in a form.\n\t *\n\t * Provide this using `multi: true` to add validators.\n\t *\n\t * ### Example\n\t *\n\t * {@example core/forms/ts/ng_validators/ng_validators.ts region='ng_validators'}\n\t * @stable\n\t */\n\t var NG_VALIDATORS = new _angular_core.OpaqueToken('NgValidators');\n\t /**\n\t * Providers for asynchronous validators to be used for {@link FormControl}s\n\t * in a form.\n\t *\n\t * Provide this using `multi: true` to add validators.\n\t *\n\t * See {@link NG_VALIDATORS} for more details.\n\t *\n\t * @stable\n\t */\n\t var NG_ASYNC_VALIDATORS = new _angular_core.OpaqueToken('NgAsyncValidators');\n\t /**\n\t * Provides a set of validators used by form controls.\n\t *\n\t * A validator is a function that processes a {@link FormControl} or collection of\n\t * controls and returns a map of errors. A null map means that validation has passed.\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * var loginControl = new FormControl(\"\", Validators.required)\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var Validators = (function () {\n\t function Validators() {\n\t }\n\t /**\n\t * Validator that requires controls to have a non-empty value.\n\t */\n\t Validators.required = function (control) {\n\t return isEmptyInputValue(control.value) ? { 'required': true } : null;\n\t };\n\t /**\n\t * Validator that requires controls to have a value of a minimum length.\n\t */\n\t Validators.minLength = function (minLength) {\n\t return function (control) {\n\t if (isEmptyInputValue(control.value)) {\n\t return null; // don't validate empty values to allow optional controls\n\t }\n\t var length = typeof control.value === 'string' ? control.value.length : 0;\n\t return length < minLength ?\n\t { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } :\n\t null;\n\t };\n\t };\n\t /**\n\t * Validator that requires controls to have a value of a maximum length.\n\t */\n\t Validators.maxLength = function (maxLength) {\n\t return function (control) {\n\t var length = typeof control.value === 'string' ? control.value.length : 0;\n\t return length > maxLength ?\n\t { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } :\n\t null;\n\t };\n\t };\n\t /**\n\t * Validator that requires a control to match a regex to its value.\n\t */\n\t Validators.pattern = function (pattern) {\n\t if (!pattern)\n\t return Validators.nullValidator;\n\t var regex;\n\t var regexStr;\n\t if (typeof pattern === 'string') {\n\t regexStr = \"^\" + pattern + \"$\";\n\t regex = new RegExp(regexStr);\n\t }\n\t else {\n\t regexStr = pattern.toString();\n\t regex = pattern;\n\t }\n\t return function (control) {\n\t if (isEmptyInputValue(control.value)) {\n\t return null; // don't validate empty values to allow optional controls\n\t }\n\t var value = control.value;\n\t return regex.test(value) ? null :\n\t { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n\t };\n\t };\n\t /**\n\t * No-op validator.\n\t */\n\t Validators.nullValidator = function (c) { return null; };\n\t /**\n\t * Compose multiple validators into a single function that returns the union\n\t * of the individual error maps.\n\t */\n\t Validators.compose = function (validators) {\n\t if (!validators)\n\t return null;\n\t var presentValidators = validators.filter(isPresent);\n\t if (presentValidators.length == 0)\n\t return null;\n\t return function (control) {\n\t return _mergeErrors(_executeValidators(control, presentValidators));\n\t };\n\t };\n\t Validators.composeAsync = function (validators) {\n\t if (!validators)\n\t return null;\n\t var presentValidators = validators.filter(isPresent);\n\t if (presentValidators.length == 0)\n\t return null;\n\t return function (control) {\n\t var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\n\t return Promise.all(promises).then(_mergeErrors);\n\t };\n\t };\n\t return Validators;\n\t }());\n\t function _convertToPromise(obj) {\n\t return isPromise(obj) ? obj : rxjs_operator_toPromise.toPromise.call(obj);\n\t }\n\t function _executeValidators(control, validators) {\n\t return validators.map(function (v) { return v(control); });\n\t }\n\t function _executeAsyncValidators(control, validators) {\n\t return validators.map(function (v) { return v(control); });\n\t }\n\t function _mergeErrors(arrayOfErrors) {\n\t var res = arrayOfErrors.reduce(function (res, errors) {\n\t return isPresent(errors) ? StringMapWrapper.merge(res, errors) : res;\n\t }, {});\n\t return Object.keys(res).length === 0 ? null : res;\n\t }\n\t\n\t /**\n\t * Used to provide a {@link ControlValueAccessor} for form controls.\n\t *\n\t * See {@link DefaultValueAccessor} for how to implement one.\n\t * @stable\n\t */\n\t var NG_VALUE_ACCESSOR = new _angular_core.OpaqueToken('NgValueAccessor');\n\t\n\t var CHECKBOX_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return CheckboxControlValueAccessor; }),\n\t multi: true,\n\t };\n\t /**\n\t * The accessor for writing a value and listening to changes on a checkbox input element.\n\t *\n\t * ### Example\n\t * ```\n\t * <input type=\"checkbox\" name=\"rememberLogin\" ngModel>\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var CheckboxControlValueAccessor = (function () {\n\t function CheckboxControlValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t CheckboxControlValueAccessor.prototype.writeValue = function (value) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', value);\n\t };\n\t CheckboxControlValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\n\t CheckboxControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t CheckboxControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t CheckboxControlValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n\t host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\n\t providers: [CHECKBOX_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t CheckboxControlValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return CheckboxControlValueAccessor;\n\t }());\n\t\n\t var DEFAULT_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return DefaultValueAccessor; }),\n\t multi: true\n\t };\n\t /**\n\t * The default accessor for writing a value and listening to changes that is used by the\n\t * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n\t *\n\t * ### Example\n\t * ```\n\t * <input type=\"text\" name=\"searchQuery\" ngModel>\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var DefaultValueAccessor = (function () {\n\t function DefaultValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t DefaultValueAccessor.prototype.writeValue = function (value) {\n\t var normalizedValue = value == null ? '' : value;\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n\t };\n\t DefaultValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\n\t DefaultValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t DefaultValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t DefaultValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n\t // TODO: vsavkin replace the above selector with the one below it once\n\t // https://github.com/angular/angular/issues/3011 is implemented\n\t // selector: '[ngControl],[ngModel],[ngFormControl]',\n\t host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n\t providers: [DEFAULT_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t DefaultValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return DefaultValueAccessor;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function normalizeValidator(validator) {\n\t if (validator.validate) {\n\t return function (c) { return validator.validate(c); };\n\t }\n\t else {\n\t return validator;\n\t }\n\t }\n\t function normalizeAsyncValidator(validator) {\n\t if (validator.validate) {\n\t return function (c) { return validator.validate(c); };\n\t }\n\t else {\n\t return validator;\n\t }\n\t }\n\t\n\t var NUMBER_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return NumberValueAccessor; }),\n\t multi: true\n\t };\n\t /**\n\t * The accessor for writing a number value and listening to changes that is used by the\n\t * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n\t *\n\t * ### Example\n\t * ```\n\t * <input type=\"number\" [(ngModel)]=\"age\">\n\t * ```\n\t */\n\t var NumberValueAccessor = (function () {\n\t function NumberValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t NumberValueAccessor.prototype.writeValue = function (value) {\n\t // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n\t var normalizedValue = value == null ? '' : value;\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n\t };\n\t NumberValueAccessor.prototype.registerOnChange = function (fn) {\n\t this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); };\n\t };\n\t NumberValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t NumberValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t NumberValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n\t host: {\n\t '(change)': 'onChange($event.target.value)',\n\t '(input)': 'onChange($event.target.value)',\n\t '(blur)': 'onTouched()'\n\t },\n\t providers: [NUMBER_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t NumberValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return NumberValueAccessor;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function unimplemented() {\n\t throw new Error('unimplemented');\n\t }\n\t /**\n\t * A base class that all control directive extend.\n\t * It binds a {@link FormControl} object to a DOM element.\n\t *\n\t * Used internally by Angular forms.\n\t *\n\t * @stable\n\t */\n\t var NgControl = (function (_super) {\n\t __extends$2(NgControl, _super);\n\t function NgControl() {\n\t _super.apply(this, arguments);\n\t /** @internal */\n\t this._parent = null;\n\t this.name = null;\n\t this.valueAccessor = null;\n\t /** @internal */\n\t this._rawValidators = [];\n\t /** @internal */\n\t this._rawAsyncValidators = [];\n\t }\n\t Object.defineProperty(NgControl.prototype, \"validator\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgControl.prototype, \"asyncValidator\", {\n\t get: function () { return unimplemented(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return NgControl;\n\t }(AbstractControlDirective));\n\t\n\t var RADIO_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return RadioControlValueAccessor; }),\n\t multi: true\n\t };\n\t /**\n\t * Internal class used by Angular to uncheck radio buttons with the matching name.\n\t */\n\t var RadioControlRegistry = (function () {\n\t function RadioControlRegistry() {\n\t this._accessors = [];\n\t }\n\t RadioControlRegistry.prototype.add = function (control, accessor) {\n\t this._accessors.push([control, accessor]);\n\t };\n\t RadioControlRegistry.prototype.remove = function (accessor) {\n\t for (var i = this._accessors.length - 1; i >= 0; --i) {\n\t if (this._accessors[i][1] === accessor) {\n\t this._accessors.splice(i, 1);\n\t return;\n\t }\n\t }\n\t };\n\t RadioControlRegistry.prototype.select = function (accessor) {\n\t var _this = this;\n\t this._accessors.forEach(function (c) {\n\t if (_this._isSameGroup(c, accessor) && c[1] !== accessor) {\n\t c[1].fireUncheck(accessor.value);\n\t }\n\t });\n\t };\n\t RadioControlRegistry.prototype._isSameGroup = function (controlPair, accessor) {\n\t if (!controlPair[0].control)\n\t return false;\n\t return controlPair[0]._parent === accessor._control._parent &&\n\t controlPair[1].name === accessor.name;\n\t };\n\t RadioControlRegistry.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t RadioControlRegistry.ctorParameters = [];\n\t return RadioControlRegistry;\n\t }());\n\t /**\n\t * @whatItDoes Writes radio control values and listens to radio control changes.\n\t *\n\t * Used by {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName}\n\t * to keep the view synced with the {@link FormControl} model.\n\t *\n\t * @howToUse\n\t *\n\t * If you have imported the {@link FormsModule} or the {@link ReactiveFormsModule}, this\n\t * value accessor will be active on any radio control that has a form directive. You do\n\t * **not** need to add a special selector to activate it.\n\t *\n\t * ### How to use radio buttons with form directives\n\t *\n\t * To use radio buttons in a template-driven form, you'll want to ensure that radio buttons\n\t * in the same group have the same `name` attribute. Radio buttons with different `name`\n\t * attributes do not affect each other.\n\t *\n\t * {@example forms/ts/radioButtons/radio_button_example.ts region='TemplateDriven'}\n\t *\n\t * When using radio buttons in a reactive form, radio buttons in the same group should have the\n\t * same `formControlName`. You can also add a `name` attribute, but it's optional.\n\t *\n\t * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * @stable\n\t */\n\t var RadioControlValueAccessor = (function () {\n\t function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this._registry = _registry;\n\t this._injector = _injector;\n\t this.onChange = function () { };\n\t this.onTouched = function () { };\n\t }\n\t RadioControlValueAccessor.prototype.ngOnInit = function () {\n\t this._control = this._injector.get(NgControl);\n\t this._checkName();\n\t this._registry.add(this._control, this);\n\t };\n\t RadioControlValueAccessor.prototype.ngOnDestroy = function () { this._registry.remove(this); };\n\t RadioControlValueAccessor.prototype.writeValue = function (value) {\n\t this._state = value === this.value;\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', this._state);\n\t };\n\t RadioControlValueAccessor.prototype.registerOnChange = function (fn) {\n\t var _this = this;\n\t this._fn = fn;\n\t this.onChange = function () {\n\t fn(_this.value);\n\t _this._registry.select(_this);\n\t };\n\t };\n\t RadioControlValueAccessor.prototype.fireUncheck = function (value) { this.writeValue(value); };\n\t RadioControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t RadioControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t RadioControlValueAccessor.prototype._checkName = function () {\n\t if (this.name && this.formControlName && this.name !== this.formControlName) {\n\t this._throwNameError();\n\t }\n\t if (!this.name && this.formControlName)\n\t this.name = this.formControlName;\n\t };\n\t RadioControlValueAccessor.prototype._throwNameError = function () {\n\t throw new Error(\"\\n If you define both a name and a formControlName attribute on your radio button, their values\\n must match. Ex: <input type=\\\"radio\\\" formControlName=\\\"food\\\" name=\\\"food\\\">\\n \");\n\t };\n\t RadioControlValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n\t host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\n\t providers: [RADIO_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t RadioControlValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t { type: RadioControlRegistry, },\n\t { type: _angular_core.Injector, },\n\t ];\n\t RadioControlValueAccessor.propDecorators = {\n\t 'name': [{ type: _angular_core.Input },],\n\t 'formControlName': [{ type: _angular_core.Input },],\n\t 'value': [{ type: _angular_core.Input },],\n\t };\n\t return RadioControlValueAccessor;\n\t }());\n\t\n\t var RANGE_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return RangeValueAccessor; }),\n\t multi: true\n\t };\n\t /**\n\t * The accessor for writing a range value and listening to changes that is used by the\n\t * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n\t *\n\t * ### Example\n\t * ```\n\t * <input type=\"range\" [(ngModel)]=\"age\" >\n\t * ```\n\t */\n\t var RangeValueAccessor = (function () {\n\t function RangeValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t RangeValueAccessor.prototype.writeValue = function (value) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', parseFloat(value));\n\t };\n\t RangeValueAccessor.prototype.registerOnChange = function (fn) {\n\t this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); };\n\t };\n\t RangeValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t RangeValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t RangeValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n\t host: {\n\t '(change)': 'onChange($event.target.value)',\n\t '(input)': 'onChange($event.target.value)',\n\t '(blur)': 'onTouched()'\n\t },\n\t providers: [RANGE_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t RangeValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return RangeValueAccessor;\n\t }());\n\t\n\t var SELECT_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return SelectControlValueAccessor; }),\n\t multi: true\n\t };\n\t function _buildValueString(id, value) {\n\t if (id == null)\n\t return \"\" + value;\n\t if (!isPrimitive(value))\n\t value = 'Object';\n\t return (id + \": \" + value).slice(0, 50);\n\t }\n\t function _extractId(valueString) {\n\t return valueString.split(':')[0];\n\t }\n\t /**\n\t * @whatItDoes Writes values and listens to changes on a select element.\n\t *\n\t * Used by {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName}\n\t * to keep the view synced with the {@link FormControl} model.\n\t *\n\t * @howToUse\n\t *\n\t * If you have imported the {@link FormsModule} or the {@link ReactiveFormsModule}, this\n\t * value accessor will be active on any select control that has a form directive. You do\n\t * **not** need to add a special selector to activate it.\n\t *\n\t * ### How to use select controls with form directives\n\t *\n\t * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n\t * attribute to the main `<select>` tag.\n\t *\n\t * If your option values are simple strings, you can bind to the normal `value` property\n\t * on the option. If your option values happen to be objects (and you'd like to save the\n\t * selection in your form as an object), use `ngValue` instead:\n\t *\n\t * {@example forms/ts/selectControl/select_control_example.ts region='Component'}\n\t *\n\t * In reactive forms, you'll also want to add your form directive (`formControlName` or\n\t * `formControl`) on the main `<select>` tag. Like in the former example, you have the\n\t * choice of binding to the `value` or `ngValue` property on the select's options.\n\t *\n\t * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n\t *\n\t * Note: We listen to the 'change' event because 'input' events aren't fired\n\t * for selects in Firefox and IE:\n\t * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350\n\t * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * @stable\n\t */\n\t var SelectControlValueAccessor = (function () {\n\t function SelectControlValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t /** @internal */\n\t this._optionMap = new Map();\n\t /** @internal */\n\t this._idCounter = 0;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t SelectControlValueAccessor.prototype.writeValue = function (value) {\n\t this.value = value;\n\t var valueString = _buildValueString(this._getOptionId(value), value);\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', valueString);\n\t };\n\t SelectControlValueAccessor.prototype.registerOnChange = function (fn) {\n\t var _this = this;\n\t this.onChange = function (valueString) {\n\t _this.value = valueString;\n\t fn(_this._getOptionValue(valueString));\n\t };\n\t };\n\t SelectControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t SelectControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t /** @internal */\n\t SelectControlValueAccessor.prototype._registerOption = function () { return (this._idCounter++).toString(); };\n\t /** @internal */\n\t SelectControlValueAccessor.prototype._getOptionId = function (value) {\n\t for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) {\n\t var id = _a[_i];\n\t if (looseIdentical(this._optionMap.get(id), value))\n\t return id;\n\t }\n\t return null;\n\t };\n\t /** @internal */\n\t SelectControlValueAccessor.prototype._getOptionValue = function (valueString) {\n\t var id = _extractId(valueString);\n\t return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n\t };\n\t SelectControlValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n\t host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n\t providers: [SELECT_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t SelectControlValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return SelectControlValueAccessor;\n\t }());\n\t /**\n\t * @whatItDoes Marks `<option>` as dynamic, so Angular can be notified when options change.\n\t *\n\t * @howToUse\n\t *\n\t * See docs for {@link SelectControlValueAccessor} for usage examples.\n\t *\n\t * @stable\n\t */\n\t var NgSelectOption = (function () {\n\t function NgSelectOption(_element, _renderer, _select) {\n\t this._element = _element;\n\t this._renderer = _renderer;\n\t this._select = _select;\n\t if (this._select)\n\t this.id = this._select._registerOption();\n\t }\n\t Object.defineProperty(NgSelectOption.prototype, \"ngValue\", {\n\t set: function (value) {\n\t if (this._select == null)\n\t return;\n\t this._select._optionMap.set(this.id, value);\n\t this._setElementValue(_buildValueString(this.id, value));\n\t this._select.writeValue(this._select.value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgSelectOption.prototype, \"value\", {\n\t set: function (value) {\n\t this._setElementValue(value);\n\t if (this._select)\n\t this._select.writeValue(this._select.value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t NgSelectOption.prototype._setElementValue = function (value) {\n\t this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\n\t };\n\t NgSelectOption.prototype.ngOnDestroy = function () {\n\t if (this._select) {\n\t this._select._optionMap.delete(this.id);\n\t this._select.writeValue(this._select.value);\n\t }\n\t };\n\t NgSelectOption.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: 'option' },] },\n\t ];\n\t /** @nocollapse */\n\t NgSelectOption.ctorParameters = [\n\t { type: _angular_core.ElementRef, },\n\t { type: _angular_core.Renderer, },\n\t { type: SelectControlValueAccessor, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n\t ];\n\t NgSelectOption.propDecorators = {\n\t 'ngValue': [{ type: _angular_core.Input, args: ['ngValue',] },],\n\t 'value': [{ type: _angular_core.Input, args: ['value',] },],\n\t };\n\t return NgSelectOption;\n\t }());\n\t\n\t var SELECT_MULTIPLE_VALUE_ACCESSOR = {\n\t provide: NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return SelectMultipleControlValueAccessor; }),\n\t multi: true\n\t };\n\t function _buildValueString$1(id, value) {\n\t if (id == null)\n\t return \"\" + value;\n\t if (typeof value === 'string')\n\t value = \"'\" + value + \"'\";\n\t if (!isPrimitive(value))\n\t value = 'Object';\n\t return (id + \": \" + value).slice(0, 50);\n\t }\n\t function _extractId$1(valueString) {\n\t return valueString.split(':')[0];\n\t }\n\t /**\n\t * The accessor for writing a value and listening to changes on a select element.\n\t *\n\t * @stable\n\t */\n\t var SelectMultipleControlValueAccessor = (function () {\n\t function SelectMultipleControlValueAccessor(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t /** @internal */\n\t this._optionMap = new Map();\n\t /** @internal */\n\t this._idCounter = 0;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t }\n\t SelectMultipleControlValueAccessor.prototype.writeValue = function (value) {\n\t var _this = this;\n\t this.value = value;\n\t if (value == null)\n\t return;\n\t var values = value;\n\t // convert values to ids\n\t var ids = values.map(function (v) { return _this._getOptionId(v); });\n\t this._optionMap.forEach(function (opt, o) { opt._setSelected(ids.indexOf(o.toString()) > -1); });\n\t };\n\t SelectMultipleControlValueAccessor.prototype.registerOnChange = function (fn) {\n\t var _this = this;\n\t this.onChange = function (_) {\n\t var selected = [];\n\t if (_.hasOwnProperty('selectedOptions')) {\n\t var options = _.selectedOptions;\n\t for (var i = 0; i < options.length; i++) {\n\t var opt = options.item(i);\n\t var val = _this._getOptionValue(opt.value);\n\t selected.push(val);\n\t }\n\t }\n\t else {\n\t var options = _.options;\n\t for (var i = 0; i < options.length; i++) {\n\t var opt = options.item(i);\n\t if (opt.selected) {\n\t var val = _this._getOptionValue(opt.value);\n\t selected.push(val);\n\t }\n\t }\n\t }\n\t fn(selected);\n\t };\n\t };\n\t SelectMultipleControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n\t SelectMultipleControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n\t };\n\t /** @internal */\n\t SelectMultipleControlValueAccessor.prototype._registerOption = function (value) {\n\t var id = (this._idCounter++).toString();\n\t this._optionMap.set(id, value);\n\t return id;\n\t };\n\t /** @internal */\n\t SelectMultipleControlValueAccessor.prototype._getOptionId = function (value) {\n\t for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) {\n\t var id = _a[_i];\n\t if (looseIdentical(this._optionMap.get(id)._value, value))\n\t return id;\n\t }\n\t return null;\n\t };\n\t /** @internal */\n\t SelectMultipleControlValueAccessor.prototype._getOptionValue = function (valueString) {\n\t var id = _extractId$1(valueString);\n\t return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;\n\t };\n\t SelectMultipleControlValueAccessor.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n\t host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' },\n\t providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t SelectMultipleControlValueAccessor.ctorParameters = [\n\t { type: _angular_core.Renderer, },\n\t { type: _angular_core.ElementRef, },\n\t ];\n\t return SelectMultipleControlValueAccessor;\n\t }());\n\t /**\n\t * Marks `<option>` as dynamic, so Angular can be notified when options change.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * <select multiple name=\"city\" ngModel>\n\t * <option *ngFor=\"let c of cities\" [value]=\"c\"></option>\n\t * </select>\n\t * ```\n\t */\n\t var NgSelectMultipleOption = (function () {\n\t function NgSelectMultipleOption(_element, _renderer, _select) {\n\t this._element = _element;\n\t this._renderer = _renderer;\n\t this._select = _select;\n\t if (this._select) {\n\t this.id = this._select._registerOption(this);\n\t }\n\t }\n\t Object.defineProperty(NgSelectMultipleOption.prototype, \"ngValue\", {\n\t set: function (value) {\n\t if (this._select == null)\n\t return;\n\t this._value = value;\n\t this._setElementValue(_buildValueString$1(this.id, value));\n\t this._select.writeValue(this._select.value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgSelectMultipleOption.prototype, \"value\", {\n\t set: function (value) {\n\t if (this._select) {\n\t this._value = value;\n\t this._setElementValue(_buildValueString$1(this.id, value));\n\t this._select.writeValue(this._select.value);\n\t }\n\t else {\n\t this._setElementValue(value);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t NgSelectMultipleOption.prototype._setElementValue = function (value) {\n\t this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\n\t };\n\t /** @internal */\n\t NgSelectMultipleOption.prototype._setSelected = function (selected) {\n\t this._renderer.setElementProperty(this._element.nativeElement, 'selected', selected);\n\t };\n\t NgSelectMultipleOption.prototype.ngOnDestroy = function () {\n\t if (this._select) {\n\t this._select._optionMap.delete(this.id);\n\t this._select.writeValue(this._select.value);\n\t }\n\t };\n\t NgSelectMultipleOption.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: 'option' },] },\n\t ];\n\t /** @nocollapse */\n\t NgSelectMultipleOption.ctorParameters = [\n\t { type: _angular_core.ElementRef, },\n\t { type: _angular_core.Renderer, },\n\t { type: SelectMultipleControlValueAccessor, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n\t ];\n\t NgSelectMultipleOption.propDecorators = {\n\t 'ngValue': [{ type: _angular_core.Input, args: ['ngValue',] },],\n\t 'value': [{ type: _angular_core.Input, args: ['value',] },],\n\t };\n\t return NgSelectMultipleOption;\n\t }());\n\t\n\t function controlPath(name, parent) {\n\t return parent.path.concat([name]);\n\t }\n\t function setUpControl(control, dir) {\n\t if (!control)\n\t _throwError(dir, 'Cannot find control with');\n\t if (!dir.valueAccessor)\n\t _throwError(dir, 'No value accessor for form control with');\n\t control.validator = Validators.compose([control.validator, dir.validator]);\n\t control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n\t dir.valueAccessor.writeValue(control.value);\n\t // view -> model\n\t dir.valueAccessor.registerOnChange(function (newValue) {\n\t dir.viewToModelUpdate(newValue);\n\t control.markAsDirty();\n\t control.setValue(newValue, { emitModelToViewChange: false });\n\t });\n\t // touched\n\t dir.valueAccessor.registerOnTouched(function () { return control.markAsTouched(); });\n\t control.registerOnChange(function (newValue, emitModelEvent) {\n\t // control -> view\n\t dir.valueAccessor.writeValue(newValue);\n\t // control -> ngModel\n\t if (emitModelEvent)\n\t dir.viewToModelUpdate(newValue);\n\t });\n\t if (dir.valueAccessor.setDisabledState) {\n\t control.registerOnDisabledChange(function (isDisabled) { dir.valueAccessor.setDisabledState(isDisabled); });\n\t }\n\t // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n\t dir._rawValidators.forEach(function (validator) {\n\t if (validator.registerOnValidatorChange)\n\t validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n\t });\n\t dir._rawAsyncValidators.forEach(function (validator) {\n\t if (validator.registerOnValidatorChange)\n\t validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n\t });\n\t }\n\t function cleanUpControl(control, dir) {\n\t dir.valueAccessor.registerOnChange(function () { return _noControlError(dir); });\n\t dir.valueAccessor.registerOnTouched(function () { return _noControlError(dir); });\n\t dir._rawValidators.forEach(function (validator) {\n\t if (validator.registerOnValidatorChange) {\n\t validator.registerOnValidatorChange(null);\n\t }\n\t });\n\t dir._rawAsyncValidators.forEach(function (validator) {\n\t if (validator.registerOnValidatorChange) {\n\t validator.registerOnValidatorChange(null);\n\t }\n\t });\n\t if (control)\n\t control._clearChangeFns();\n\t }\n\t function setUpFormContainer(control, dir) {\n\t if (isBlank(control))\n\t _throwError(dir, 'Cannot find control with');\n\t control.validator = Validators.compose([control.validator, dir.validator]);\n\t control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n\t }\n\t function _noControlError(dir) {\n\t return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n\t }\n\t function _throwError(dir, message) {\n\t var messageEnd;\n\t if (dir.path.length > 1) {\n\t messageEnd = \"path: '\" + dir.path.join(' -> ') + \"'\";\n\t }\n\t else if (dir.path[0]) {\n\t messageEnd = \"name: '\" + dir.path + \"'\";\n\t }\n\t else {\n\t messageEnd = 'unspecified name attribute';\n\t }\n\t throw new Error(message + \" \" + messageEnd);\n\t }\n\t function composeValidators(validators) {\n\t return isPresent(validators) ? Validators.compose(validators.map(normalizeValidator)) : null;\n\t }\n\t function composeAsyncValidators(validators) {\n\t return isPresent(validators) ? Validators.composeAsync(validators.map(normalizeAsyncValidator)) :\n\t null;\n\t }\n\t function isPropertyUpdated(changes, viewModel) {\n\t if (!changes.hasOwnProperty('model'))\n\t return false;\n\t var change = changes['model'];\n\t if (change.isFirstChange())\n\t return true;\n\t return !looseIdentical(viewModel, change.currentValue);\n\t }\n\t var BUILTIN_ACCESSORS = [\n\t CheckboxControlValueAccessor,\n\t RangeValueAccessor,\n\t NumberValueAccessor,\n\t SelectControlValueAccessor,\n\t SelectMultipleControlValueAccessor,\n\t RadioControlValueAccessor,\n\t ];\n\t function isBuiltInAccessor(valueAccessor) {\n\t return BUILTIN_ACCESSORS.some(function (a) { return valueAccessor.constructor === a; });\n\t }\n\t // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\n\t function selectValueAccessor(dir, valueAccessors) {\n\t if (!valueAccessors)\n\t return null;\n\t var defaultAccessor;\n\t var builtinAccessor;\n\t var customAccessor;\n\t valueAccessors.forEach(function (v) {\n\t if (v.constructor === DefaultValueAccessor) {\n\t defaultAccessor = v;\n\t }\n\t else if (isBuiltInAccessor(v)) {\n\t if (builtinAccessor)\n\t _throwError(dir, 'More than one built-in value accessor matches form control with');\n\t builtinAccessor = v;\n\t }\n\t else {\n\t if (customAccessor)\n\t _throwError(dir, 'More than one custom value accessor matches form control with');\n\t customAccessor = v;\n\t }\n\t });\n\t if (customAccessor)\n\t return customAccessor;\n\t if (builtinAccessor)\n\t return builtinAccessor;\n\t if (defaultAccessor)\n\t return defaultAccessor;\n\t _throwError(dir, 'No valid value accessor for form control with');\n\t return null;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * This is a base class for code shared between {@link NgModelGroup} and {@link FormGroupName}.\n\t *\n\t * @stable\n\t */\n\t var AbstractFormGroupDirective = (function (_super) {\n\t __extends(AbstractFormGroupDirective, _super);\n\t function AbstractFormGroupDirective() {\n\t _super.apply(this, arguments);\n\t }\n\t AbstractFormGroupDirective.prototype.ngOnInit = function () {\n\t this._checkParentType();\n\t this.formDirective.addFormGroup(this);\n\t };\n\t AbstractFormGroupDirective.prototype.ngOnDestroy = function () {\n\t if (this.formDirective) {\n\t this.formDirective.removeFormGroup(this);\n\t }\n\t };\n\t Object.defineProperty(AbstractFormGroupDirective.prototype, \"control\", {\n\t /**\n\t * Get the {@link FormGroup} backing this binding.\n\t */\n\t get: function () { return this.formDirective.getFormGroup(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractFormGroupDirective.prototype, \"path\", {\n\t /**\n\t * Get the path to this control group.\n\t */\n\t get: function () { return controlPath(this.name, this._parent); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractFormGroupDirective.prototype, \"formDirective\", {\n\t /**\n\t * Get the {@link Form} to which this group belongs.\n\t */\n\t get: function () { return this._parent ? this._parent.formDirective : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractFormGroupDirective.prototype, \"validator\", {\n\t get: function () { return composeValidators(this._validators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractFormGroupDirective.prototype, \"asyncValidator\", {\n\t get: function () { return composeAsyncValidators(this._asyncValidators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t AbstractFormGroupDirective.prototype._checkParentType = function () { };\n\t return AbstractFormGroupDirective;\n\t }(ControlContainer));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var AbstractControlStatus = (function () {\n\t function AbstractControlStatus(cd) {\n\t this._cd = cd;\n\t }\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassUntouched\", {\n\t get: function () { return this._cd.control ? this._cd.control.untouched : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassTouched\", {\n\t get: function () { return this._cd.control ? this._cd.control.touched : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassPristine\", {\n\t get: function () { return this._cd.control ? this._cd.control.pristine : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassDirty\", {\n\t get: function () { return this._cd.control ? this._cd.control.dirty : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassValid\", {\n\t get: function () { return this._cd.control ? this._cd.control.valid : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassInvalid\", {\n\t get: function () { return this._cd.control ? this._cd.control.invalid : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControlStatus.prototype, \"ngClassPending\", {\n\t get: function () { return this._cd.control ? this._cd.control.pending : false; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return AbstractControlStatus;\n\t }());\n\t var ngControlStatusHost = {\n\t '[class.ng-untouched]': 'ngClassUntouched',\n\t '[class.ng-touched]': 'ngClassTouched',\n\t '[class.ng-pristine]': 'ngClassPristine',\n\t '[class.ng-dirty]': 'ngClassDirty',\n\t '[class.ng-valid]': 'ngClassValid',\n\t '[class.ng-invalid]': 'ngClassInvalid',\n\t '[class.ng-pending]': 'ngClassPending',\n\t };\n\t /**\n\t * Directive automatically applied to Angular form controls that sets CSS classes\n\t * based on control status (valid/invalid/dirty/etc).\n\t *\n\t * @stable\n\t */\n\t var NgControlStatus = (function (_super) {\n\t __extends$3(NgControlStatus, _super);\n\t function NgControlStatus(cd) {\n\t _super.call(this, cd);\n\t }\n\t NgControlStatus.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost },] },\n\t ];\n\t /** @nocollapse */\n\t NgControlStatus.ctorParameters = [\n\t { type: NgControl, decorators: [{ type: _angular_core.Self },] },\n\t ];\n\t return NgControlStatus;\n\t }(AbstractControlStatus));\n\t /**\n\t * Directive automatically applied to Angular form groups that sets CSS classes\n\t * based on control status (valid/invalid/dirty/etc).\n\t *\n\t * @stable\n\t */\n\t var NgControlStatusGroup = (function (_super) {\n\t __extends$3(NgControlStatusGroup, _super);\n\t function NgControlStatusGroup(cd) {\n\t _super.call(this, cd);\n\t }\n\t NgControlStatusGroup.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n\t host: ngControlStatusHost\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t NgControlStatusGroup.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Self },] },\n\t ];\n\t return NgControlStatusGroup;\n\t }(AbstractControlStatus));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Use by directives and components to emit custom Events.\n\t *\n\t * ### Examples\n\t *\n\t * In the following example, `Zippy` alternatively emits `open` and `close` events when its\n\t * title gets clicked:\n\t *\n\t * ```\n\t * @Component({\n\t * selector: 'zippy',\n\t * template: `\n\t * <div class=\"zippy\">\n\t * <div (click)=\"toggle()\">Toggle</div>\n\t * <div [hidden]=\"!visible\">\n\t * <ng-content></ng-content>\n\t * </div>\n\t * </div>`})\n\t * export class Zippy {\n\t * visible: boolean = true;\n\t * @Output() open: EventEmitter<any> = new EventEmitter();\n\t * @Output() close: EventEmitter<any> = new EventEmitter();\n\t *\n\t * toggle() {\n\t * this.visible = !this.visible;\n\t * if (this.visible) {\n\t * this.open.emit(null);\n\t * } else {\n\t * this.close.emit(null);\n\t * }\n\t * }\n\t * }\n\t * ```\n\t *\n\t * The events payload can be accessed by the parameter `$event` on the components output event\n\t * handler:\n\t *\n\t * ```\n\t * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n\t * ```\n\t *\n\t * Uses Rx.Observable but provides an adapter to make it work as specified here:\n\t * https://github.com/jhusain/observable-spec\n\t *\n\t * Once a reference implementation of the spec is available, switch to it.\n\t * @stable\n\t */\n\t var EventEmitter = (function (_super) {\n\t __extends$5(EventEmitter, _super);\n\t /**\n\t * Creates an instance of [EventEmitter], which depending on [isAsync],\n\t * delivers events synchronously or asynchronously.\n\t */\n\t function EventEmitter(isAsync) {\n\t if (isAsync === void 0) { isAsync = false; }\n\t _super.call(this);\n\t this.__isAsync = isAsync;\n\t }\n\t EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\n\t EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\n\t var schedulerFn;\n\t var errorFn = function (err) { return null; };\n\t var completeFn = function () { return null; };\n\t if (generatorOrNext && typeof generatorOrNext === 'object') {\n\t schedulerFn = this.__isAsync ? function (value) {\n\t setTimeout(function () { return generatorOrNext.next(value); });\n\t } : function (value) { generatorOrNext.next(value); };\n\t if (generatorOrNext.error) {\n\t errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\n\t function (err) { generatorOrNext.error(err); };\n\t }\n\t if (generatorOrNext.complete) {\n\t completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\n\t function () { generatorOrNext.complete(); };\n\t }\n\t }\n\t else {\n\t schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\n\t function (value) { generatorOrNext(value); };\n\t if (error) {\n\t errorFn =\n\t this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\n\t }\n\t if (complete) {\n\t completeFn =\n\t this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\n\t }\n\t }\n\t return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n\t };\n\t return EventEmitter;\n\t }(rxjs_Subject.Subject));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$6 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Indicates that a FormControl is valid, i.e. that no errors exist in the input value.\n\t */\n\t var VALID = 'VALID';\n\t /**\n\t * Indicates that a FormControl is invalid, i.e. that an error exists in the input value.\n\t */\n\t var INVALID = 'INVALID';\n\t /**\n\t * Indicates that a FormControl is pending, i.e. that async validation is occurring and\n\t * errors are not yet available for the input value.\n\t */\n\t var PENDING = 'PENDING';\n\t /**\n\t * Indicates that a FormControl is disabled, i.e. that the control is exempt from ancestor\n\t * calculations of validity or value.\n\t */\n\t var DISABLED = 'DISABLED';\n\t function _find(control, path, delimiter) {\n\t if (path == null)\n\t return null;\n\t if (!(path instanceof Array)) {\n\t path = path.split(delimiter);\n\t }\n\t if (path instanceof Array && (path.length === 0))\n\t return null;\n\t return path.reduce(function (v, name) {\n\t if (v instanceof FormGroup) {\n\t return v.controls[name] || null;\n\t }\n\t if (v instanceof FormArray) {\n\t return v.at(name) || null;\n\t }\n\t return null;\n\t }, control);\n\t }\n\t function toObservable(r) {\n\t return isPromise(r) ? rxjs_observable_fromPromise.fromPromise(r) : r;\n\t }\n\t function coerceToValidator(validator) {\n\t return Array.isArray(validator) ? composeValidators(validator) : validator;\n\t }\n\t function coerceToAsyncValidator(asyncValidator) {\n\t return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) : asyncValidator;\n\t }\n\t /**\n\t * @whatItDoes This is the base class for {@link FormControl}, {@link FormGroup}, and\n\t * {@link FormArray}.\n\t *\n\t * It provides some of the shared behavior that all controls and groups of controls have, like\n\t * running validators, calculating status, and resetting state. It also defines the properties\n\t * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n\t * instantiated directly.\n\t *\n\t * @stable\n\t */\n\t var AbstractControl = (function () {\n\t function AbstractControl(validator, asyncValidator) {\n\t this.validator = validator;\n\t this.asyncValidator = asyncValidator;\n\t /** @internal */\n\t this._onCollectionChange = function () { };\n\t this._pristine = true;\n\t this._touched = false;\n\t /** @internal */\n\t this._onDisabledChange = [];\n\t }\n\t Object.defineProperty(AbstractControl.prototype, \"value\", {\n\t /**\n\t * The value of the control.\n\t */\n\t get: function () { return this._value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"parent\", {\n\t /**\n\t * The parent control.\n\t */\n\t get: function () { return this._parent; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"status\", {\n\t /**\n\t * The validation status of the control. There are four possible\n\t * validation statuses:\n\t *\n\t * * **VALID**: control has passed all validation checks\n\t * * **INVALID**: control has failed at least one validation check\n\t * * **PENDING**: control is in the midst of conducting a validation check\n\t * * **DISABLED**: control is exempt from validation checks\n\t *\n\t * These statuses are mutually exclusive, so a control cannot be\n\t * both valid AND invalid or invalid AND disabled.\n\t */\n\t get: function () { return this._status; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"valid\", {\n\t /**\n\t * A control is `valid` when its `status === VALID`.\n\t *\n\t * In order to have this status, the control must have passed all its\n\t * validation checks.\n\t */\n\t get: function () { return this._status === VALID; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"invalid\", {\n\t /**\n\t * A control is `invalid` when its `status === INVALID`.\n\t *\n\t * In order to have this status, the control must have failed\n\t * at least one of its validation checks.\n\t */\n\t get: function () { return this._status === INVALID; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"pending\", {\n\t /**\n\t * A control is `pending` when its `status === PENDING`.\n\t *\n\t * In order to have this status, the control must be in the\n\t * middle of conducting a validation check.\n\t */\n\t get: function () { return this._status == PENDING; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"disabled\", {\n\t /**\n\t * A control is `disabled` when its `status === DISABLED`.\n\t *\n\t * Disabled controls are exempt from validation checks and\n\t * are not included in the aggregate value of their ancestor\n\t * controls.\n\t */\n\t get: function () { return this._status === DISABLED; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"enabled\", {\n\t /**\n\t * A control is `enabled` as long as its `status !== DISABLED`.\n\t *\n\t * In other words, it has a status of `VALID`, `INVALID`, or\n\t * `PENDING`.\n\t */\n\t get: function () { return this._status !== DISABLED; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"errors\", {\n\t /**\n\t * Returns any errors generated by failing validation. If there\n\t * are no errors, it will return null.\n\t */\n\t get: function () { return this._errors; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"pristine\", {\n\t /**\n\t * A control is `pristine` if the user has not yet changed\n\t * the value in the UI.\n\t *\n\t * Note that programmatic changes to a control's value will\n\t * *not* mark it dirty.\n\t */\n\t get: function () { return this._pristine; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"dirty\", {\n\t /**\n\t * A control is `dirty` if the user has changed the value\n\t * in the UI.\n\t *\n\t * Note that programmatic changes to a control's value will\n\t * *not* mark it dirty.\n\t */\n\t get: function () { return !this.pristine; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"touched\", {\n\t /**\n\t * A control is marked `touched` once the user has triggered\n\t * a `blur` event on it.\n\t */\n\t get: function () { return this._touched; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"untouched\", {\n\t /**\n\t * A control is `untouched` if the user has not yet triggered\n\t * a `blur` event on it.\n\t */\n\t get: function () { return !this._touched; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"valueChanges\", {\n\t /**\n\t * Emits an event every time the value of the control changes, in\n\t * the UI or programmatically.\n\t */\n\t get: function () { return this._valueChanges; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(AbstractControl.prototype, \"statusChanges\", {\n\t /**\n\t * Emits an event every time the validation status of the control\n\t * is re-calculated.\n\t */\n\t get: function () { return this._statusChanges; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Sets the synchronous validators that are active on this control. Calling\n\t * this will overwrite any existing sync validators.\n\t */\n\t AbstractControl.prototype.setValidators = function (newValidator) {\n\t this.validator = coerceToValidator(newValidator);\n\t };\n\t /**\n\t * Sets the async validators that are active on this control. Calling this\n\t * will overwrite any existing async validators.\n\t */\n\t AbstractControl.prototype.setAsyncValidators = function (newValidator) {\n\t this.asyncValidator = coerceToAsyncValidator(newValidator);\n\t };\n\t /**\n\t * Empties out the sync validator list.\n\t */\n\t AbstractControl.prototype.clearValidators = function () { this.validator = null; };\n\t /**\n\t * Empties out the async validator list.\n\t */\n\t AbstractControl.prototype.clearAsyncValidators = function () { this.asyncValidator = null; };\n\t /**\n\t * Marks the control as `touched`.\n\t *\n\t * This will also mark all direct ancestors as `touched` to maintain\n\t * the model.\n\t */\n\t AbstractControl.prototype.markAsTouched = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._touched = true;\n\t if (this._parent && !onlySelf) {\n\t this._parent.markAsTouched({ onlySelf: onlySelf });\n\t }\n\t };\n\t /**\n\t * Marks the control as `untouched`.\n\t *\n\t * If the control has any children, it will also mark all children as `untouched`\n\t * to maintain the model, and re-calculate the `touched` status of all parent\n\t * controls.\n\t */\n\t AbstractControl.prototype.markAsUntouched = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._touched = false;\n\t this._forEachChild(function (control) { control.markAsUntouched({ onlySelf: true }); });\n\t if (this._parent && !onlySelf) {\n\t this._parent._updateTouched({ onlySelf: onlySelf });\n\t }\n\t };\n\t /**\n\t * Marks the control as `dirty`.\n\t *\n\t * This will also mark all direct ancestors as `dirty` to maintain\n\t * the model.\n\t */\n\t AbstractControl.prototype.markAsDirty = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._pristine = false;\n\t if (this._parent && !onlySelf) {\n\t this._parent.markAsDirty({ onlySelf: onlySelf });\n\t }\n\t };\n\t /**\n\t * Marks the control as `pristine`.\n\t *\n\t * If the control has any children, it will also mark all children as `pristine`\n\t * to maintain the model, and re-calculate the `pristine` status of all parent\n\t * controls.\n\t */\n\t AbstractControl.prototype.markAsPristine = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._pristine = true;\n\t this._forEachChild(function (control) { control.markAsPristine({ onlySelf: true }); });\n\t if (this._parent && !onlySelf) {\n\t this._parent._updatePristine({ onlySelf: onlySelf });\n\t }\n\t };\n\t /**\n\t * Marks the control as `pending`.\n\t */\n\t AbstractControl.prototype.markAsPending = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._status = PENDING;\n\t if (this._parent && !onlySelf) {\n\t this._parent.markAsPending({ onlySelf: onlySelf });\n\t }\n\t };\n\t /**\n\t * Disables the control. This means the control will be exempt from validation checks and\n\t * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n\t *\n\t * If the control has children, all children will be disabled to maintain the model.\n\t */\n\t AbstractControl.prototype.disable = function (_a) {\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._status = DISABLED;\n\t this._errors = null;\n\t this._forEachChild(function (control) { control.disable({ onlySelf: true }); });\n\t this._updateValue();\n\t if (emitEvent !== false) {\n\t this._valueChanges.emit(this._value);\n\t this._statusChanges.emit(this._status);\n\t }\n\t this._updateAncestors(onlySelf);\n\t this._onDisabledChange.forEach(function (changeFn) { return changeFn(true); });\n\t };\n\t /**\n\t * Enables the control. This means the control will be included in validation checks and\n\t * the aggregate value of its parent. Its status is re-calculated based on its value and\n\t * its validators.\n\t *\n\t * If the control has children, all children will be enabled.\n\t */\n\t AbstractControl.prototype.enable = function (_a) {\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._status = VALID;\n\t this._forEachChild(function (control) { control.enable({ onlySelf: true }); });\n\t this.updateValueAndValidity({ onlySelf: true, emitEvent: emitEvent });\n\t this._updateAncestors(onlySelf);\n\t this._onDisabledChange.forEach(function (changeFn) { return changeFn(false); });\n\t };\n\t AbstractControl.prototype._updateAncestors = function (onlySelf) {\n\t if (this._parent && !onlySelf) {\n\t this._parent.updateValueAndValidity();\n\t this._parent._updatePristine();\n\t this._parent._updateTouched();\n\t }\n\t };\n\t AbstractControl.prototype.setParent = function (parent) { this._parent = parent; };\n\t /**\n\t * Re-calculates the value and validation status of the control.\n\t *\n\t * By default, it will also update the value and validity of its ancestors.\n\t */\n\t AbstractControl.prototype.updateValueAndValidity = function (_a) {\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._setInitialStatus();\n\t this._updateValue();\n\t if (this.enabled) {\n\t this._errors = this._runValidator();\n\t this._status = this._calculateStatus();\n\t if (this._status === VALID || this._status === PENDING) {\n\t this._runAsyncValidator(emitEvent);\n\t }\n\t }\n\t if (emitEvent !== false) {\n\t this._valueChanges.emit(this._value);\n\t this._statusChanges.emit(this._status);\n\t }\n\t if (this._parent && !onlySelf) {\n\t this._parent.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t }\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._updateTreeValidity = function (_a) {\n\t var emitEvent = (_a === void 0 ? { emitEvent: true } : _a).emitEvent;\n\t this._forEachChild(function (ctrl) { return ctrl._updateTreeValidity({ emitEvent: emitEvent }); });\n\t this.updateValueAndValidity({ onlySelf: true, emitEvent: emitEvent });\n\t };\n\t AbstractControl.prototype._setInitialStatus = function () { this._status = this._allControlsDisabled() ? DISABLED : VALID; };\n\t AbstractControl.prototype._runValidator = function () {\n\t return this.validator ? this.validator(this) : null;\n\t };\n\t AbstractControl.prototype._runAsyncValidator = function (emitEvent) {\n\t var _this = this;\n\t if (this.asyncValidator) {\n\t this._status = PENDING;\n\t this._cancelExistingSubscription();\n\t var obs = toObservable(this.asyncValidator(this));\n\t this._asyncValidationSubscription =\n\t obs.subscribe({ next: function (res) { return _this.setErrors(res, { emitEvent: emitEvent }); } });\n\t }\n\t };\n\t AbstractControl.prototype._cancelExistingSubscription = function () {\n\t if (this._asyncValidationSubscription) {\n\t this._asyncValidationSubscription.unsubscribe();\n\t }\n\t };\n\t /**\n\t * Sets errors on a form control.\n\t *\n\t * This is used when validations are run manually by the user, rather than automatically.\n\t *\n\t * Calling `setErrors` will also update the validity of the parent control.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const login = new FormControl(\"someLogin\");\n\t * login.setErrors({\n\t * \"notUnique\": true\n\t * });\n\t *\n\t * expect(login.valid).toEqual(false);\n\t * expect(login.errors).toEqual({\"notUnique\": true});\n\t *\n\t * login.setValue(\"someOtherLogin\");\n\t *\n\t * expect(login.valid).toEqual(true);\n\t * ```\n\t */\n\t AbstractControl.prototype.setErrors = function (errors, _a) {\n\t var emitEvent = (_a === void 0 ? {} : _a).emitEvent;\n\t this._errors = errors;\n\t this._updateControlsErrors(emitEvent !== false);\n\t };\n\t /**\n\t * Retrieves a child control given the control's name or path.\n\t *\n\t * Paths can be passed in as an array or a string delimited by a dot.\n\t *\n\t * To get a control nested within a `person` sub-group:\n\t *\n\t * * `this.form.get('person.name');`\n\t *\n\t * -OR-\n\t *\n\t * * `this.form.get(['person', 'name']);`\n\t */\n\t AbstractControl.prototype.get = function (path) { return _find(this, path, '.'); };\n\t /**\n\t * Returns true if the control with the given path has the error specified. Otherwise\n\t * returns null or undefined.\n\t *\n\t * If no path is given, it checks for the error on the present control.\n\t */\n\t AbstractControl.prototype.getError = function (errorCode, path) {\n\t if (path === void 0) { path = null; }\n\t var control = path ? this.get(path) : this;\n\t return control && control._errors ? control._errors[errorCode] : null;\n\t };\n\t /**\n\t * Returns true if the control with the given path has the error specified. Otherwise\n\t * returns false.\n\t *\n\t * If no path is given, it checks for the error on the present control.\n\t */\n\t AbstractControl.prototype.hasError = function (errorCode, path) {\n\t if (path === void 0) { path = null; }\n\t return !!this.getError(errorCode, path);\n\t };\n\t Object.defineProperty(AbstractControl.prototype, \"root\", {\n\t /**\n\t * Retrieves the top-level ancestor of this control.\n\t */\n\t get: function () {\n\t var x = this;\n\t while (x._parent) {\n\t x = x._parent;\n\t }\n\t return x;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** @internal */\n\t AbstractControl.prototype._updateControlsErrors = function (emitEvent) {\n\t this._status = this._calculateStatus();\n\t if (emitEvent) {\n\t this._statusChanges.emit(this._status);\n\t }\n\t if (this._parent) {\n\t this._parent._updateControlsErrors(emitEvent);\n\t }\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._initObservables = function () {\n\t this._valueChanges = new EventEmitter();\n\t this._statusChanges = new EventEmitter();\n\t };\n\t AbstractControl.prototype._calculateStatus = function () {\n\t if (this._allControlsDisabled())\n\t return DISABLED;\n\t if (this._errors)\n\t return INVALID;\n\t if (this._anyControlsHaveStatus(PENDING))\n\t return PENDING;\n\t if (this._anyControlsHaveStatus(INVALID))\n\t return INVALID;\n\t return VALID;\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._anyControlsHaveStatus = function (status) {\n\t return this._anyControls(function (control) { return control.status === status; });\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._anyControlsDirty = function () {\n\t return this._anyControls(function (control) { return control.dirty; });\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._anyControlsTouched = function () {\n\t return this._anyControls(function (control) { return control.touched; });\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._updatePristine = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._pristine = !this._anyControlsDirty();\n\t if (this._parent && !onlySelf) {\n\t this._parent._updatePristine({ onlySelf: onlySelf });\n\t }\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._updateTouched = function (_a) {\n\t var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n\t this._touched = this._anyControlsTouched();\n\t if (this._parent && !onlySelf) {\n\t this._parent._updateTouched({ onlySelf: onlySelf });\n\t }\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._isBoxedValue = function (formState) {\n\t return typeof formState === 'object' && formState !== null &&\n\t Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n\t };\n\t /** @internal */\n\t AbstractControl.prototype._registerOnCollectionChange = function (fn) { this._onCollectionChange = fn; };\n\t return AbstractControl;\n\t }());\n\t /**\n\t * @whatItDoes Tracks the value and validation status of an individual form control.\n\t *\n\t * It is one of the three fundamental building blocks of Angular forms, along with\n\t * {@link FormGroup} and {@link FormArray}.\n\t *\n\t * @howToUse\n\t *\n\t * When instantiating a {@link FormControl}, you can pass in an initial value as the\n\t * first argument. Example:\n\t *\n\t * ```ts\n\t * const ctrl = new FormControl('some value');\n\t * console.log(ctrl.value); // 'some value'\n\t *```\n\t *\n\t * You can also initialize the control with a form state object on instantiation,\n\t * which includes both the value and whether or not the control is disabled.\n\t * You can't use the value key without the disabled key; both are required\n\t * to use this way of initialization.\n\t *\n\t * ```ts\n\t * const ctrl = new FormControl({value: 'n/a', disabled: true});\n\t * console.log(ctrl.value); // 'n/a'\n\t * console.log(ctrl.status); // 'DISABLED'\n\t * ```\n\t *\n\t * To include a sync validator (or an array of sync validators) with the control,\n\t * pass it in as the second argument. Async validators are also supported, but\n\t * have to be passed in separately as the third arg.\n\t *\n\t * ```ts\n\t * const ctrl = new FormControl('', Validators.required);\n\t * console.log(ctrl.value); // ''\n\t * console.log(ctrl.status); // 'INVALID'\n\t * ```\n\t *\n\t * See its superclass, {@link AbstractControl}, for more properties and methods.\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * @stable\n\t */\n\t var FormControl = (function (_super) {\n\t __extends$6(FormControl, _super);\n\t function FormControl(formState, validator, asyncValidator) {\n\t if (formState === void 0) { formState = null; }\n\t if (validator === void 0) { validator = null; }\n\t if (asyncValidator === void 0) { asyncValidator = null; }\n\t _super.call(this, coerceToValidator(validator), coerceToAsyncValidator(asyncValidator));\n\t /** @internal */\n\t this._onChange = [];\n\t this._applyFormState(formState);\n\t this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n\t this._initObservables();\n\t }\n\t /**\n\t * Set the value of the form control to `value`.\n\t *\n\t * If `onlySelf` is `true`, this change will only affect the validation of this `FormControl`\n\t * and not its parent component. This defaults to false.\n\t *\n\t * If `emitEvent` is `true`, this\n\t * change will cause a `valueChanges` event on the `FormControl` to be emitted. This defaults\n\t * to true (as it falls through to `updateValueAndValidity`).\n\t *\n\t * If `emitModelToViewChange` is `true`, the view will be notified about the new value\n\t * via an `onChange` event. This is the default behavior if `emitModelToViewChange` is not\n\t * specified.\n\t *\n\t * If `emitViewToModelChange` is `true`, an ngModelChange event will be fired to update the\n\t * model. This is the default behavior if `emitViewToModelChange` is not specified.\n\t */\n\t FormControl.prototype.setValue = function (value, _a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent, emitModelToViewChange = _b.emitModelToViewChange, emitViewToModelChange = _b.emitViewToModelChange;\n\t this._value = value;\n\t if (this._onChange.length && emitModelToViewChange !== false) {\n\t this._onChange.forEach(function (changeFn) { return changeFn(_this._value, emitViewToModelChange !== false); });\n\t }\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * Patches the value of a control.\n\t *\n\t * This function is functionally the same as {@link FormControl.setValue} at this level.\n\t * It exists for symmetry with {@link FormGroup.patchValue} on `FormGroups` and `FormArrays`,\n\t * where it does behave differently.\n\t */\n\t FormControl.prototype.patchValue = function (value, options) {\n\t if (options === void 0) { options = {}; }\n\t this.setValue(value, options);\n\t };\n\t /**\n\t * Resets the form control. This means by default:\n\t *\n\t * * it is marked as `pristine`\n\t * * it is marked as `untouched`\n\t * * value is set to null\n\t *\n\t * You can also reset to a specific form state by passing through a standalone\n\t * value or a form state object that contains both a value and a disabled state\n\t * (these are the only two properties that cannot be calculated).\n\t *\n\t * Ex:\n\t *\n\t * ```ts\n\t * this.control.reset('Nancy');\n\t *\n\t * console.log(this.control.value); // 'Nancy'\n\t * ```\n\t *\n\t * OR\n\t *\n\t * ```\n\t * this.control.reset({value: 'Nancy', disabled: true});\n\t *\n\t * console.log(this.control.value); // 'Nancy'\n\t * console.log(this.control.status); // 'DISABLED'\n\t * ```\n\t */\n\t FormControl.prototype.reset = function (formState, _a) {\n\t if (formState === void 0) { formState = null; }\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._applyFormState(formState);\n\t this.markAsPristine({ onlySelf: onlySelf });\n\t this.markAsUntouched({ onlySelf: onlySelf });\n\t this.setValue(this._value, { onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * @internal\n\t */\n\t FormControl.prototype._updateValue = function () { };\n\t /**\n\t * @internal\n\t */\n\t FormControl.prototype._anyControls = function (condition) { return false; };\n\t /**\n\t * @internal\n\t */\n\t FormControl.prototype._allControlsDisabled = function () { return this.disabled; };\n\t /**\n\t * Register a listener for change events.\n\t */\n\t FormControl.prototype.registerOnChange = function (fn) { this._onChange.push(fn); };\n\t /**\n\t * @internal\n\t */\n\t FormControl.prototype._clearChangeFns = function () {\n\t this._onChange = [];\n\t this._onDisabledChange = [];\n\t this._onCollectionChange = function () { };\n\t };\n\t /**\n\t * Register a listener for disabled events.\n\t */\n\t FormControl.prototype.registerOnDisabledChange = function (fn) {\n\t this._onDisabledChange.push(fn);\n\t };\n\t /**\n\t * @internal\n\t */\n\t FormControl.prototype._forEachChild = function (cb) { };\n\t FormControl.prototype._applyFormState = function (formState) {\n\t if (this._isBoxedValue(formState)) {\n\t this._value = formState.value;\n\t formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) :\n\t this.enable({ onlySelf: true, emitEvent: false });\n\t }\n\t else {\n\t this._value = formState;\n\t }\n\t };\n\t return FormControl;\n\t }(AbstractControl));\n\t /**\n\t * @whatItDoes Tracks the value and validity state of a group of {@link FormControl}\n\t * instances.\n\t *\n\t * A `FormGroup` aggregates the values of each child {@link FormControl} into one object,\n\t * with each control name as the key. It calculates its status by reducing the statuses\n\t * of its children. For example, if one of the controls in a group is invalid, the entire\n\t * group becomes invalid.\n\t *\n\t * `FormGroup` is one of the three fundamental building blocks used to define forms in Angular,\n\t * along with {@link FormControl} and {@link FormArray}.\n\t *\n\t * @howToUse\n\t *\n\t * When instantiating a {@link FormGroup}, pass in a collection of child controls as the first\n\t * argument. The key for each child will be the name under which it is registered.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const form = new FormGroup({\n\t * first: new FormControl('Nancy', Validators.minLength(2)),\n\t * last: new FormControl('Drew'),\n\t * });\n\t *\n\t * console.log(form.value); // {first: 'Nancy', last; 'Drew'}\n\t * console.log(form.status); // 'VALID'\n\t * ```\n\t *\n\t * You can also include group-level validators as the second arg, or group-level async\n\t * validators as the third arg. These come in handy when you want to perform validation\n\t * that considers the value of more than one child control.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const form = new FormGroup({\n\t * password: new FormControl('', Validators.minLength(2)),\n\t * passwordConfirm: new FormControl('', Validators.minLength(2)),\n\t * }, passwordMatchValidator);\n\t *\n\t *\n\t * function passwordMatchValidator(g: FormGroup) {\n\t * return g.get('password').value === g.get('passwordConfirm').value\n\t * ? null : {'mismatch': true};\n\t * }\n\t * ```\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * @stable\n\t */\n\t var FormGroup = (function (_super) {\n\t __extends$6(FormGroup, _super);\n\t function FormGroup(controls, validator, asyncValidator) {\n\t if (validator === void 0) { validator = null; }\n\t if (asyncValidator === void 0) { asyncValidator = null; }\n\t _super.call(this, validator, asyncValidator);\n\t this.controls = controls;\n\t this._initObservables();\n\t this._setUpControls();\n\t this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n\t }\n\t /**\n\t * Registers a control with the group's list of controls.\n\t *\n\t * This method does not update value or validity of the control, so for\n\t * most cases you'll want to use {@link FormGroup.addControl} instead.\n\t */\n\t FormGroup.prototype.registerControl = function (name, control) {\n\t if (this.controls[name])\n\t return this.controls[name];\n\t this.controls[name] = control;\n\t control.setParent(this);\n\t control._registerOnCollectionChange(this._onCollectionChange);\n\t return control;\n\t };\n\t /**\n\t * Add a control to this group.\n\t */\n\t FormGroup.prototype.addControl = function (name, control) {\n\t this.registerControl(name, control);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Remove a control from this group.\n\t */\n\t FormGroup.prototype.removeControl = function (name) {\n\t if (this.controls[name])\n\t this.controls[name]._registerOnCollectionChange(function () { });\n\t delete (this.controls[name]);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Replace an existing control.\n\t */\n\t FormGroup.prototype.setControl = function (name, control) {\n\t if (this.controls[name])\n\t this.controls[name]._registerOnCollectionChange(function () { });\n\t delete (this.controls[name]);\n\t if (control)\n\t this.registerControl(name, control);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Check whether there is an enabled control with the given name in the group.\n\t *\n\t * It will return false for disabled controls. If you'd like to check for\n\t * existence in the group only, use {@link AbstractControl.get} instead.\n\t */\n\t FormGroup.prototype.contains = function (controlName) {\n\t return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n\t };\n\t /**\n\t * Sets the value of the {@link FormGroup}. It accepts an object that matches\n\t * the structure of the group, with control names as keys.\n\t *\n\t * This method performs strict checks, so it will throw an error if you try\n\t * to set the value of a control that doesn't exist or if you exclude the\n\t * value of a control.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const form = new FormGroup({\n\t * first: new FormControl(),\n\t * last: new FormControl()\n\t * });\n\t * console.log(form.value); // {first: null, last: null}\n\t *\n\t * form.setValue({first: 'Nancy', last: 'Drew'});\n\t * console.log(form.value); // {first: 'Nancy', last: 'Drew'}\n\t *\n\t * ```\n\t */\n\t FormGroup.prototype.setValue = function (value, _a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._checkAllValuesPresent(value);\n\t Object.keys(value).forEach(function (name) {\n\t _this._throwIfControlMissing(name);\n\t _this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: emitEvent });\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * Patches the value of the {@link FormGroup}. It accepts an object with control\n\t * names as keys, and will do its best to match the values to the correct controls\n\t * in the group.\n\t *\n\t * It accepts both super-sets and sub-sets of the group without throwing an error.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const form = new FormGroup({\n\t * first: new FormControl(),\n\t * last: new FormControl()\n\t * });\n\t * console.log(form.value); // {first: null, last: null}\n\t *\n\t * form.patchValue({first: 'Nancy'});\n\t * console.log(form.value); // {first: 'Nancy', last: null}\n\t *\n\t * ```\n\t */\n\t FormGroup.prototype.patchValue = function (value, _a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t Object.keys(value).forEach(function (name) {\n\t if (_this.controls[name]) {\n\t _this.controls[name].patchValue(value[name], { onlySelf: true, emitEvent: emitEvent });\n\t }\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * Resets the {@link FormGroup}. This means by default:\n\t *\n\t * * The group and all descendants are marked `pristine`\n\t * * The group and all descendants are marked `untouched`\n\t * * The value of all descendants will be null or null maps\n\t *\n\t * You can also reset to a specific form state by passing in a map of states\n\t * that matches the structure of your form, with control names as keys. The state\n\t * can be a standalone value or a form state object with both a value and a disabled\n\t * status.\n\t *\n\t * ### Example\n\t *\n\t * ```ts\n\t * this.form.reset({first: 'name', last: 'last name'});\n\t *\n\t * console.log(this.form.value); // {first: 'name', last: 'last name'}\n\t * ```\n\t *\n\t * - OR -\n\t *\n\t * ```\n\t * this.form.reset({\n\t * first: {value: 'name', disabled: true},\n\t * last: 'last'\n\t * });\n\t *\n\t * console.log(this.form.value); // {first: 'name', last: 'last name'}\n\t * console.log(this.form.get('first').status); // 'DISABLED'\n\t * ```\n\t */\n\t FormGroup.prototype.reset = function (value, _a) {\n\t if (value === void 0) { value = {}; }\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._forEachChild(function (control, name) {\n\t control.reset(value[name], { onlySelf: true, emitEvent: emitEvent });\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t this._updatePristine({ onlySelf: onlySelf });\n\t this._updateTouched({ onlySelf: onlySelf });\n\t };\n\t /**\n\t * The aggregate value of the {@link FormGroup}, including any disabled controls.\n\t *\n\t * If you'd like to include all values regardless of disabled status, use this method.\n\t * Otherwise, the `value` property is the best way to get the value of the group.\n\t */\n\t FormGroup.prototype.getRawValue = function () {\n\t return this._reduceChildren({}, function (acc, control, name) {\n\t acc[name] = control.value;\n\t return acc;\n\t });\n\t };\n\t /** @internal */\n\t FormGroup.prototype._throwIfControlMissing = function (name) {\n\t if (!Object.keys(this.controls).length) {\n\t 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 \");\n\t }\n\t if (!this.controls[name]) {\n\t throw new Error(\"Cannot find form control with name: \" + name + \".\");\n\t }\n\t };\n\t /** @internal */\n\t FormGroup.prototype._forEachChild = function (cb) {\n\t var _this = this;\n\t Object.keys(this.controls).forEach(function (k) { return cb(_this.controls[k], k); });\n\t };\n\t /** @internal */\n\t FormGroup.prototype._setUpControls = function () {\n\t var _this = this;\n\t this._forEachChild(function (control) {\n\t control.setParent(_this);\n\t control._registerOnCollectionChange(_this._onCollectionChange);\n\t });\n\t };\n\t /** @internal */\n\t FormGroup.prototype._updateValue = function () { this._value = this._reduceValue(); };\n\t /** @internal */\n\t FormGroup.prototype._anyControls = function (condition) {\n\t var _this = this;\n\t var res = false;\n\t this._forEachChild(function (control, name) {\n\t res = res || (_this.contains(name) && condition(control));\n\t });\n\t return res;\n\t };\n\t /** @internal */\n\t FormGroup.prototype._reduceValue = function () {\n\t var _this = this;\n\t return this._reduceChildren({}, function (acc, control, name) {\n\t if (control.enabled || _this.disabled) {\n\t acc[name] = control.value;\n\t }\n\t return acc;\n\t });\n\t };\n\t /** @internal */\n\t FormGroup.prototype._reduceChildren = function (initValue, fn) {\n\t var res = initValue;\n\t this._forEachChild(function (control, name) { res = fn(res, control, name); });\n\t return res;\n\t };\n\t /** @internal */\n\t FormGroup.prototype._allControlsDisabled = function () {\n\t for (var _i = 0, _a = Object.keys(this.controls); _i < _a.length; _i++) {\n\t var controlName = _a[_i];\n\t if (this.controls[controlName].enabled) {\n\t return false;\n\t }\n\t }\n\t return Object.keys(this.controls).length > 0 || this.disabled;\n\t };\n\t /** @internal */\n\t FormGroup.prototype._checkAllValuesPresent = function (value) {\n\t this._forEachChild(function (control, name) {\n\t if (value[name] === undefined) {\n\t throw new Error(\"Must supply a value for form control with name: '\" + name + \"'.\");\n\t }\n\t });\n\t };\n\t return FormGroup;\n\t }(AbstractControl));\n\t /**\n\t * @whatItDoes Tracks the value and validity state of an array of {@link FormControl}\n\t * instances.\n\t *\n\t * A `FormArray` aggregates the values of each child {@link FormControl} into an array.\n\t * It calculates its status by reducing the statuses of its children. For example, if one of\n\t * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n\t *\n\t * `FormArray` is one of the three fundamental building blocks used to define forms in Angular,\n\t * along with {@link FormControl} and {@link FormGroup}.\n\t *\n\t * @howToUse\n\t *\n\t * When instantiating a {@link FormArray}, pass in an array of child controls as the first\n\t * argument.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const arr = new FormArray([\n\t * new FormControl('Nancy', Validators.minLength(2)),\n\t * new FormControl('Drew'),\n\t * ]);\n\t *\n\t * console.log(arr.value); // ['Nancy', 'Drew']\n\t * console.log(arr.status); // 'VALID'\n\t * ```\n\t *\n\t * You can also include array-level validators as the second arg, or array-level async\n\t * validators as the third arg. These come in handy when you want to perform validation\n\t * that considers the value of more than one child control.\n\t *\n\t * ### Adding or removing controls\n\t *\n\t * To change the controls in the array, use the `push`, `insert`, or `removeAt` methods\n\t * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n\t * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n\t * the `FormArray` directly, as that will result in strange and unexpected behavior such\n\t * as broken change detection.\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * @stable\n\t */\n\t var FormArray = (function (_super) {\n\t __extends$6(FormArray, _super);\n\t function FormArray(controls, validator, asyncValidator) {\n\t if (validator === void 0) { validator = null; }\n\t if (asyncValidator === void 0) { asyncValidator = null; }\n\t _super.call(this, validator, asyncValidator);\n\t this.controls = controls;\n\t this._initObservables();\n\t this._setUpControls();\n\t this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n\t }\n\t /**\n\t * Get the {@link AbstractControl} at the given `index` in the array.\n\t */\n\t FormArray.prototype.at = function (index) { return this.controls[index]; };\n\t /**\n\t * Insert a new {@link AbstractControl} at the end of the array.\n\t */\n\t FormArray.prototype.push = function (control) {\n\t this.controls.push(control);\n\t this._registerControl(control);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Insert a new {@link AbstractControl} at the given `index` in the array.\n\t */\n\t FormArray.prototype.insert = function (index, control) {\n\t this.controls.splice(index, 0, control);\n\t this._registerControl(control);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Remove the control at the given `index` in the array.\n\t */\n\t FormArray.prototype.removeAt = function (index) {\n\t if (this.controls[index])\n\t this.controls[index]._registerOnCollectionChange(function () { });\n\t this.controls.splice(index, 1);\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t /**\n\t * Replace an existing control.\n\t */\n\t FormArray.prototype.setControl = function (index, control) {\n\t if (this.controls[index])\n\t this.controls[index]._registerOnCollectionChange(function () { });\n\t this.controls.splice(index, 1);\n\t if (control) {\n\t this.controls.splice(index, 0, control);\n\t this._registerControl(control);\n\t }\n\t this.updateValueAndValidity();\n\t this._onCollectionChange();\n\t };\n\t Object.defineProperty(FormArray.prototype, \"length\", {\n\t /**\n\t * Length of the control array.\n\t */\n\t get: function () { return this.controls.length; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Sets the value of the {@link FormArray}. It accepts an array that matches\n\t * the structure of the control.\n\t *\n\t * This method performs strict checks, so it will throw an error if you try\n\t * to set the value of a control that doesn't exist or if you exclude the\n\t * value of a control.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const arr = new FormArray([\n\t * new FormControl(),\n\t * new FormControl()\n\t * ]);\n\t * console.log(arr.value); // [null, null]\n\t *\n\t * arr.setValue(['Nancy', 'Drew']);\n\t * console.log(arr.value); // ['Nancy', 'Drew']\n\t * ```\n\t */\n\t FormArray.prototype.setValue = function (value, _a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._checkAllValuesPresent(value);\n\t value.forEach(function (newValue, index) {\n\t _this._throwIfControlMissing(index);\n\t _this.at(index).setValue(newValue, { onlySelf: true, emitEvent: emitEvent });\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * Patches the value of the {@link FormArray}. It accepts an array that matches the\n\t * structure of the control, and will do its best to match the values to the correct\n\t * controls in the group.\n\t *\n\t * It accepts both super-sets and sub-sets of the array without throwing an error.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * const arr = new FormArray([\n\t * new FormControl(),\n\t * new FormControl()\n\t * ]);\n\t * console.log(arr.value); // [null, null]\n\t *\n\t * arr.patchValue(['Nancy']);\n\t * console.log(arr.value); // ['Nancy', null]\n\t * ```\n\t */\n\t FormArray.prototype.patchValue = function (value, _a) {\n\t var _this = this;\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t value.forEach(function (newValue, index) {\n\t if (_this.at(index)) {\n\t _this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: emitEvent });\n\t }\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t };\n\t /**\n\t * Resets the {@link FormArray}. This means by default:\n\t *\n\t * * The array and all descendants are marked `pristine`\n\t * * The array and all descendants are marked `untouched`\n\t * * The value of all descendants will be null or null maps\n\t *\n\t * You can also reset to a specific form state by passing in an array of states\n\t * that matches the structure of the control. The state can be a standalone value\n\t * or a form state object with both a value and a disabled status.\n\t *\n\t * ### Example\n\t *\n\t * ```ts\n\t * this.arr.reset(['name', 'last name']);\n\t *\n\t * console.log(this.arr.value); // ['name', 'last name']\n\t * ```\n\t *\n\t * - OR -\n\t *\n\t * ```\n\t * this.arr.reset([\n\t * {value: 'name', disabled: true},\n\t * 'last'\n\t * ]);\n\t *\n\t * console.log(this.arr.value); // ['name', 'last name']\n\t * console.log(this.arr.get(0).status); // 'DISABLED'\n\t * ```\n\t */\n\t FormArray.prototype.reset = function (value, _a) {\n\t if (value === void 0) { value = []; }\n\t var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n\t this._forEachChild(function (control, index) {\n\t control.reset(value[index], { onlySelf: true, emitEvent: emitEvent });\n\t });\n\t this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n\t this._updatePristine({ onlySelf: onlySelf });\n\t this._updateTouched({ onlySelf: onlySelf });\n\t };\n\t /**\n\t * The aggregate value of the array, including any disabled controls.\n\t *\n\t * If you'd like to include all values regardless of disabled status, use this method.\n\t * Otherwise, the `value` property is the best way to get the value of the array.\n\t */\n\t FormArray.prototype.getRawValue = function () { return this.controls.map(function (control) { return control.value; }); };\n\t /** @internal */\n\t FormArray.prototype._throwIfControlMissing = function (index) {\n\t if (!this.controls.length) {\n\t 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 \");\n\t }\n\t if (!this.at(index)) {\n\t throw new Error(\"Cannot find form control at index \" + index);\n\t }\n\t };\n\t /** @internal */\n\t FormArray.prototype._forEachChild = function (cb) {\n\t this.controls.forEach(function (control, index) { cb(control, index); });\n\t };\n\t /** @internal */\n\t FormArray.prototype._updateValue = function () {\n\t var _this = this;\n\t this._value = this.controls.filter(function (control) { return control.enabled || _this.disabled; })\n\t .map(function (control) { return control.value; });\n\t };\n\t /** @internal */\n\t FormArray.prototype._anyControls = function (condition) {\n\t return this.controls.some(function (control) { return control.enabled && condition(control); });\n\t };\n\t /** @internal */\n\t FormArray.prototype._setUpControls = function () {\n\t var _this = this;\n\t this._forEachChild(function (control) { return _this._registerControl(control); });\n\t };\n\t /** @internal */\n\t FormArray.prototype._checkAllValuesPresent = function (value) {\n\t this._forEachChild(function (control, i) {\n\t if (value[i] === undefined) {\n\t throw new Error(\"Must supply a value for form control at index: \" + i + \".\");\n\t }\n\t });\n\t };\n\t /** @internal */\n\t FormArray.prototype._allControlsDisabled = function () {\n\t for (var _i = 0, _a = this.controls; _i < _a.length; _i++) {\n\t var control = _a[_i];\n\t if (control.enabled)\n\t return false;\n\t }\n\t return this.controls.length > 0 || this.disabled;\n\t };\n\t FormArray.prototype._registerControl = function (control) {\n\t control.setParent(this);\n\t control._registerOnCollectionChange(this._onCollectionChange);\n\t };\n\t return FormArray;\n\t }(AbstractControl));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var formDirectiveProvider = {\n\t provide: ControlContainer,\n\t useExisting: _angular_core.forwardRef(function () { return NgForm; })\n\t };\n\t var resolvedPromise = Promise.resolve(null);\n\t /**\n\t * @whatItDoes Creates a top-level {@link FormGroup} instance and binds it to a form\n\t * to track aggregate form value and validation status.\n\t *\n\t * @howToUse\n\t *\n\t * As soon as you import the `FormsModule`, this directive becomes active by default on\n\t * all `<form>` tags. You don't need to add a special selector.\n\t *\n\t * You can export the directive into a local template variable using `ngForm` as the key\n\t * (ex: `#myForm=\"ngForm\"`). This is optional, but useful. Many properties from the underlying\n\t * {@link FormGroup} instance are duplicated on the directive itself, so a reference to it\n\t * will give you access to the aggregate value and validity status of the form, as well as\n\t * user interaction properties like `dirty` and `touched`.\n\t *\n\t * To register child controls with the form, you'll want to use {@link NgModel} with a\n\t * `name` attribute. You can also use {@link NgModelGroup} if you'd like to create\n\t * sub-groups within the form.\n\t *\n\t * You can listen to the directive's `ngSubmit` event to be notified when the user has\n\t * triggered a form submission. The `ngSubmit` event will be emitted with the original form\n\t * submission event.\n\t *\n\t * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: `FormsModule`\n\t *\n\t * @stable\n\t */\n\t var NgForm = (function (_super) {\n\t __extends$4(NgForm, _super);\n\t function NgForm(validators, asyncValidators) {\n\t _super.call(this);\n\t this._submitted = false;\n\t this.ngSubmit = new EventEmitter();\n\t this.form =\n\t new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n\t }\n\t Object.defineProperty(NgForm.prototype, \"submitted\", {\n\t get: function () { return this._submitted; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForm.prototype, \"formDirective\", {\n\t get: function () { return this; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForm.prototype, \"control\", {\n\t get: function () { return this.form; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForm.prototype, \"path\", {\n\t get: function () { return []; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgForm.prototype, \"controls\", {\n\t get: function () { return this.form.controls; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgForm.prototype.addControl = function (dir) {\n\t var _this = this;\n\t resolvedPromise.then(function () {\n\t var container = _this._findContainer(dir.path);\n\t dir._control = container.registerControl(dir.name, dir.control);\n\t setUpControl(dir.control, dir);\n\t dir.control.updateValueAndValidity({ emitEvent: false });\n\t });\n\t };\n\t NgForm.prototype.getControl = function (dir) { return this.form.get(dir.path); };\n\t NgForm.prototype.removeControl = function (dir) {\n\t var _this = this;\n\t resolvedPromise.then(function () {\n\t var container = _this._findContainer(dir.path);\n\t if (container) {\n\t container.removeControl(dir.name);\n\t }\n\t });\n\t };\n\t NgForm.prototype.addFormGroup = function (dir) {\n\t var _this = this;\n\t resolvedPromise.then(function () {\n\t var container = _this._findContainer(dir.path);\n\t var group = new FormGroup({});\n\t setUpFormContainer(group, dir);\n\t container.registerControl(dir.name, group);\n\t group.updateValueAndValidity({ emitEvent: false });\n\t });\n\t };\n\t NgForm.prototype.removeFormGroup = function (dir) {\n\t var _this = this;\n\t resolvedPromise.then(function () {\n\t var container = _this._findContainer(dir.path);\n\t if (container) {\n\t container.removeControl(dir.name);\n\t }\n\t });\n\t };\n\t NgForm.prototype.getFormGroup = function (dir) { return this.form.get(dir.path); };\n\t NgForm.prototype.updateModel = function (dir, value) {\n\t var _this = this;\n\t resolvedPromise.then(function () {\n\t var ctrl = _this.form.get(dir.path);\n\t ctrl.setValue(value);\n\t });\n\t };\n\t NgForm.prototype.setValue = function (value) { this.control.setValue(value); };\n\t NgForm.prototype.onSubmit = function ($event) {\n\t this._submitted = true;\n\t this.ngSubmit.emit($event);\n\t return false;\n\t };\n\t NgForm.prototype.onReset = function () { this.resetForm(); };\n\t NgForm.prototype.resetForm = function (value) {\n\t if (value === void 0) { value = undefined; }\n\t this.form.reset(value);\n\t this._submitted = false;\n\t };\n\t /** @internal */\n\t NgForm.prototype._findContainer = function (path) {\n\t path.pop();\n\t return path.length ? this.form.get(path) : this.form;\n\t };\n\t NgForm.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: 'form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]',\n\t providers: [formDirectiveProvider],\n\t host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n\t outputs: ['ngSubmit'],\n\t exportAs: 'ngForm'\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t NgForm.ctorParameters = [\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t ];\n\t return NgForm;\n\t }(ControlContainer));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var Examples = {\n\t formControlName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <input formControlName=\\\"firstName\\\">\\n </div>\\n\\n In your class:\\n\\n this.myGroup = new FormGroup({\\n firstName: new FormControl()\\n });\",\n\t formGroupName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <div formGroupName=\\\"person\\\">\\n <input formControlName=\\\"firstName\\\">\\n </div>\\n </div>\\n\\n In your class:\\n\\n this.myGroup = new FormGroup({\\n person: new FormGroup({ firstName: new FormControl() })\\n });\",\n\t formArrayName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <div formArrayName=\\\"cities\\\">\\n <div *ngFor=\\\"let city of cityArray.controls; let i=index\\\">\\n <input [formControlName]=\\\"i\\\">\\n </div>\\n </div>\\n </div>\\n\\n In your class:\\n\\n this.cityArray = new FormArray([new FormControl('SF')]);\\n this.myGroup = new FormGroup({\\n cities: this.cityArray\\n });\",\n\t ngModelGroup: \"\\n <form>\\n <div ngModelGroup=\\\"person\\\">\\n <input [(ngModel)]=\\\"person.name\\\" name=\\\"firstName\\\">\\n </div>\\n </form>\",\n\t ngModelWithFormGroup: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <input formControlName=\\\"firstName\\\">\\n <input [(ngModel)]=\\\"showMoreControls\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\\n </div>\\n \"\n\t };\n\t\n\t var TemplateDrivenErrors = (function () {\n\t function TemplateDrivenErrors() {\n\t }\n\t TemplateDrivenErrors.modelParentException = function () {\n\t 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 \" + Examples.formControlName + \"\\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 \" + Examples.ngModelWithFormGroup);\n\t };\n\t TemplateDrivenErrors.formGroupNameException = function () {\n\t 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\\n\\n \" + Examples.ngModelGroup);\n\t };\n\t TemplateDrivenErrors.missingNameException = function () {\n\t throw new Error(\"If ngModel is used within a form tag, either the name attribute must be set or the form\\n control must be defined as 'standalone' in ngModelOptions.\\n\\n Example 1: <input [(ngModel)]=\\\"person.firstName\\\" name=\\\"first\\\">\\n Example 2: <input [(ngModel)]=\\\"person.firstName\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\");\n\t };\n\t TemplateDrivenErrors.modelGroupParentException = function () {\n\t 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\\n\\n \" + Examples.ngModelGroup);\n\t };\n\t return TemplateDrivenErrors;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$8 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var modelGroupProvider = {\n\t provide: ControlContainer,\n\t useExisting: _angular_core.forwardRef(function () { return NgModelGroup; })\n\t };\n\t /**\n\t * @whatItDoes Creates and binds a {@link FormGroup} instance to a DOM element.\n\t *\n\t * @howToUse\n\t *\n\t * This directive can only be used as a child of {@link NgForm} (or in other words,\n\t * within `<form>` tags).\n\t *\n\t * Use this directive if you'd like to create a sub-group within a form. This can\n\t * come in handy if you want to validate a sub-group of your form separately from\n\t * the rest of your form, or if some values in your domain model make more sense to\n\t * consume together in a nested object.\n\t *\n\t * Pass in the name you'd like this sub-group to have and it will become the key\n\t * for the sub-group in the form's full value. You can also export the directive into\n\t * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n\t *\n\t * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: `FormsModule`\n\t *\n\t * @stable\n\t */\n\t var NgModelGroup = (function (_super) {\n\t __extends$8(NgModelGroup, _super);\n\t function NgModelGroup(parent, validators, asyncValidators) {\n\t _super.call(this);\n\t this._parent = parent;\n\t this._validators = validators;\n\t this._asyncValidators = asyncValidators;\n\t }\n\t /** @internal */\n\t NgModelGroup.prototype._checkParentType = function () {\n\t if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n\t TemplateDrivenErrors.modelGroupParentException();\n\t }\n\t };\n\t NgModelGroup.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' },] },\n\t ];\n\t /** @nocollapse */\n\t NgModelGroup.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t ];\n\t NgModelGroup.propDecorators = {\n\t 'name': [{ type: _angular_core.Input, args: ['ngModelGroup',] },],\n\t };\n\t return NgModelGroup;\n\t }(AbstractFormGroupDirective));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$7 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var formControlBinding = {\n\t provide: NgControl,\n\t useExisting: _angular_core.forwardRef(function () { return NgModel; })\n\t };\n\t /**\n\t * `ngModel` forces an additional change detection run when its inputs change:\n\t * E.g.:\n\t * ```\n\t * <div>{{myModel.valid}}</div>\n\t * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n\t * ```\n\t * I.e. `ngModel` can export itself on the element and then be used in the template.\n\t * Normally, this would result in expressions before the `input` that use the exported directive\n\t * to have and old value as they have been\n\t * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n\t * detection run.\n\t *\n\t * Notes:\n\t * - this is just one extra run no matter how many `ngModel` have been changed.\n\t * - this is a general problem when using `exportAs` for directives!\n\t */\n\t var resolvedPromise$1 = Promise.resolve(null);\n\t /**\n\t * @whatItDoes Creates a {@link FormControl} instance from a domain model and binds it\n\t * to a form control element.\n\t *\n\t * The {@link FormControl} instance will track the value, user interaction, and\n\t * validation status of the control and keep the view synced with the model. If used\n\t * within a parent form, the directive will also register itself with the form as a child\n\t * control.\n\t *\n\t * @howToUse\n\t *\n\t * This directive can be used by itself or as part of a larger form. All you need is the\n\t * `ngModel` selector to activate it.\n\t *\n\t * It accepts a domain model as an optional {@link @Input}. If you have a one-way binding\n\t * to `ngModel` with `[]` syntax, changing the value of the domain model in the component\n\t * class will set the value in the view. If you have a two-way binding with `[()]` syntax\n\t * (also known as 'banana-box syntax'), the value in the UI will always be synced back to\n\t * the domain model in your class as well.\n\t *\n\t * If you wish to inspect the properties of the associated {@link FormControl} (like\n\t * validity state), you can also export the directive into a local template variable using\n\t * `ngModel` as the key (ex: `#myVar=\"ngModel\"`). You can then access the control using the\n\t * directive's `control` property, but most properties you'll need (like `valid` and `dirty`)\n\t * will fall through to the control anyway, so you can access them directly. You can see a\n\t * full list of properties directly available in {@link AbstractControlDirective}.\n\t *\n\t * The following is an example of a simple standalone control using `ngModel`:\n\t *\n\t * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n\t *\n\t * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n\t * so that the control can be registered with the parent form under that name.\n\t *\n\t * It's worth noting that in the context of a parent form, you often can skip one-way or\n\t * two-way binding because the parent form will sync the value for you. You can access\n\t * its properties by exporting it into a local template variable using `ngForm` (ex:\n\t * `#f=\"ngForm\"`). Then you can pass it where it needs to go on submit.\n\t *\n\t * If you do need to populate initial values into your form, using a one-way binding for\n\t * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n\t * than the domain model's value on submit.\n\t *\n\t * Take a look at an example of using `ngModel` within a form:\n\t *\n\t * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n\t *\n\t * To see `ngModel` examples with different form control types, see:\n\t *\n\t * * Radio buttons: {@link RadioControlValueAccessor}\n\t * * Selects: {@link SelectControlValueAccessor}\n\t *\n\t * **npm package**: `@angular/forms`\n\t *\n\t * **NgModule**: `FormsModule`\n\t *\n\t * @stable\n\t */\n\t var NgModel = (function (_super) {\n\t __extends$7(NgModel, _super);\n\t function NgModel(parent, validators, asyncValidators, valueAccessors) {\n\t _super.call(this);\n\t /** @internal */\n\t this._control = new FormControl();\n\t /** @internal */\n\t this._registered = false;\n\t this.update = new EventEmitter();\n\t this._parent = parent;\n\t this._rawValidators = validators || [];\n\t this._rawAsyncValidators = asyncValidators || [];\n\t this.valueAccessor = selectValueAccessor(this, valueAccessors);\n\t }\n\t NgModel.prototype.ngOnChanges = function (changes) {\n\t this._checkForErrors();\n\t if (!this._registered)\n\t this._setUpControl();\n\t if ('isDisabled' in changes) {\n\t this._updateDisabled(changes);\n\t }\n\t if (isPropertyUpdated(changes, this.viewModel)) {\n\t this._updateValue(this.model);\n\t this.viewModel = this.model;\n\t }\n\t };\n\t NgModel.prototype.ngOnDestroy = function () { this.formDirective && this.formDirective.removeControl(this); };\n\t Object.defineProperty(NgModel.prototype, \"control\", {\n\t get: function () { return this._control; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModel.prototype, \"path\", {\n\t get: function () {\n\t return this._parent ? controlPath(this.name, this._parent) : [this.name];\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModel.prototype, \"formDirective\", {\n\t get: function () { return this._parent ? this._parent.formDirective : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModel.prototype, \"validator\", {\n\t get: function () { return composeValidators(this._rawValidators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NgModel.prototype, \"asyncValidator\", {\n\t get: function () {\n\t return composeAsyncValidators(this._rawAsyncValidators);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NgModel.prototype.viewToModelUpdate = function (newValue) {\n\t this.viewModel = newValue;\n\t this.update.emit(newValue);\n\t };\n\t NgModel.prototype._setUpControl = function () {\n\t this._isStandalone() ? this._setUpStandalone() :\n\t this.formDirective.addControl(this);\n\t this._registered = true;\n\t };\n\t NgModel.prototype._isStandalone = function () {\n\t return !this._parent || (this.options && this.options.standalone);\n\t };\n\t NgModel.prototype._setUpStandalone = function () {\n\t setUpControl(this._control, this);\n\t this._control.updateValueAndValidity({ emitEvent: false });\n\t };\n\t NgModel.prototype._checkForErrors = function () {\n\t if (!this._isStandalone()) {\n\t this._checkParentType();\n\t }\n\t this._checkName();\n\t };\n\t NgModel.prototype._checkParentType = function () {\n\t if (!(this._parent instanceof NgModelGroup) &&\n\t this._parent instanceof AbstractFormGroupDirective) {\n\t TemplateDrivenErrors.formGroupNameException();\n\t }\n\t else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n\t TemplateDrivenErrors.modelParentException();\n\t }\n\t };\n\t NgModel.prototype._checkName = function () {\n\t if (this.options && this.options.name)\n\t this.name = this.options.name;\n\t if (!this._isStandalone() && !this.name) {\n\t TemplateDrivenErrors.missingNameException();\n\t }\n\t };\n\t NgModel.prototype._updateValue = function (value) {\n\t var _this = this;\n\t resolvedPromise$1.then(function () { _this.control.setValue(value, { emitViewToModelChange: false }); });\n\t };\n\t NgModel.prototype._updateDisabled = function (changes) {\n\t var _this = this;\n\t var disabledValue = changes['isDisabled'].currentValue;\n\t var isDisabled = disabledValue === '' || (disabledValue && disabledValue !== 'false');\n\t resolvedPromise$1.then(function () {\n\t if (isDisabled && !_this.control.disabled) {\n\t _this.control.disable();\n\t }\n\t else if (!isDisabled && _this.control.disabled) {\n\t _this.control.enable();\n\t }\n\t });\n\t };\n\t NgModel.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[ngModel]:not([formControlName]):not([formControl])',\n\t providers: [formControlBinding],\n\t exportAs: 'ngModel'\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t NgModel.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n\t ];\n\t NgModel.propDecorators = {\n\t 'name': [{ type: _angular_core.Input },],\n\t 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n\t 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n\t 'options': [{ type: _angular_core.Input, args: ['ngModelOptions',] },],\n\t 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n\t };\n\t return NgModel;\n\t }(NgControl));\n\t\n\t var ReactiveErrors = (function () {\n\t function ReactiveErrors() {\n\t }\n\t ReactiveErrors.controlParentException = function () {\n\t 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 \" + Examples.formControlName);\n\t };\n\t ReactiveErrors.ngModelGroupException = function () {\n\t 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\\n\\n \" + Examples.ngModelGroup);\n\t };\n\t ReactiveErrors.missingFormException = function () {\n\t throw new Error(\"formGroup expects a FormGroup instance. Please pass one in.\\n\\n Example:\\n\\n \" + Examples.formControlName);\n\t };\n\t ReactiveErrors.groupParentException = function () {\n\t 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 \" + Examples.formGroupName);\n\t };\n\t ReactiveErrors.arrayParentException = function () {\n\t 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 \" + Examples.formArrayName);\n\t };\n\t ReactiveErrors.disabledAttrWarning = function () {\n\t 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 \");\n\t };\n\t return ReactiveErrors;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$9 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var formControlBinding$1 = {\n\t provide: NgControl,\n\t useExisting: _angular_core.forwardRef(function () { return FormControlDirective; })\n\t };\n\t /**\n\t * @whatItDoes Syncs a standalone {@link FormControl} instance to a form control element.\n\t *\n\t * In other words, this directive ensures that any values written to the {@link FormControl}\n\t * instance programmatically will be written to the DOM element (model -> view). Conversely,\n\t * any values written to the DOM element through user input will be reflected in the\n\t * {@link FormControl} instance (view -> model).\n\t *\n\t * @howToUse\n\t *\n\t * Use this directive if you'd like to create and manage a {@link FormControl} instance directly.\n\t * Simply create a {@link FormControl}, save it to your component class, and pass it into the\n\t * {@link FormControlDirective}.\n\t *\n\t * This directive is designed to be used as a standalone control. Unlike {@link FormControlName},\n\t * it does not require that your {@link FormControl} instance be part of any parent\n\t * {@link FormGroup}, and it won't be registered to any {@link FormGroupDirective} that\n\t * exists above it.\n\t *\n\t * **Get the value**: the `value` property is always synced and available on the\n\t * {@link FormControl} instance. See a full list of available properties in\n\t * {@link AbstractControl}.\n\t *\n\t * **Set the value**: You can pass in an initial value when instantiating the {@link FormControl},\n\t * or you can set it programmatically later using {@link AbstractControl.setValue} or\n\t * {@link AbstractControl.patchValue}.\n\t *\n\t * **Listen to value**: If you want to listen to changes in the value of the control, you can\n\t * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n\t * {@link AbstractControl.statusChanges} to be notified when the validation status is\n\t * re-calculated.\n\t *\n\t * ### Example\n\t *\n\t * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: `ReactiveFormsModule`\n\t *\n\t * @stable\n\t */\n\t var FormControlDirective = (function (_super) {\n\t __extends$9(FormControlDirective, _super);\n\t function FormControlDirective(validators, asyncValidators, valueAccessors) {\n\t _super.call(this);\n\t this.update = new EventEmitter();\n\t this._rawValidators = validators || [];\n\t this._rawAsyncValidators = asyncValidators || [];\n\t this.valueAccessor = selectValueAccessor(this, valueAccessors);\n\t }\n\t Object.defineProperty(FormControlDirective.prototype, \"isDisabled\", {\n\t set: function (isDisabled) { ReactiveErrors.disabledAttrWarning(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormControlDirective.prototype.ngOnChanges = function (changes) {\n\t if (this._isControlChanged(changes)) {\n\t setUpControl(this.form, this);\n\t if (this.control.disabled && this.valueAccessor.setDisabledState) {\n\t this.valueAccessor.setDisabledState(true);\n\t }\n\t this.form.updateValueAndValidity({ emitEvent: false });\n\t }\n\t if (isPropertyUpdated(changes, this.viewModel)) {\n\t this.form.setValue(this.model);\n\t this.viewModel = this.model;\n\t }\n\t };\n\t Object.defineProperty(FormControlDirective.prototype, \"path\", {\n\t get: function () { return []; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlDirective.prototype, \"validator\", {\n\t get: function () { return composeValidators(this._rawValidators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlDirective.prototype, \"asyncValidator\", {\n\t get: function () {\n\t return composeAsyncValidators(this._rawAsyncValidators);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlDirective.prototype, \"control\", {\n\t get: function () { return this.form; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormControlDirective.prototype.viewToModelUpdate = function (newValue) {\n\t this.viewModel = newValue;\n\t this.update.emit(newValue);\n\t };\n\t FormControlDirective.prototype._isControlChanged = function (changes) {\n\t return changes.hasOwnProperty('form');\n\t };\n\t FormControlDirective.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[formControl]', providers: [formControlBinding$1], exportAs: 'ngForm' },] },\n\t ];\n\t /** @nocollapse */\n\t FormControlDirective.ctorParameters = [\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n\t ];\n\t FormControlDirective.propDecorators = {\n\t 'form': [{ type: _angular_core.Input, args: ['formControl',] },],\n\t 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n\t 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n\t 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n\t };\n\t return FormControlDirective;\n\t }(NgControl));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$11 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var formDirectiveProvider$1 = {\n\t provide: ControlContainer,\n\t useExisting: _angular_core.forwardRef(function () { return FormGroupDirective; })\n\t };\n\t /**\n\t * @whatItDoes Binds an existing {@link FormGroup} to a DOM element.\n\t *\n\t * @howToUse\n\t *\n\t * This directive accepts an existing {@link FormGroup} instance. It will then use this\n\t * {@link FormGroup} instance to match any child {@link FormControl}, {@link FormGroup},\n\t * and {@link FormArray} instances to child {@link FormControlName}, {@link FormGroupName},\n\t * and {@link FormArrayName} directives.\n\t *\n\t * **Set value**: You can set the form's initial value when instantiating the\n\t * {@link FormGroup}, or you can set it programmatically later using the {@link FormGroup}'s\n\t * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue} methods.\n\t *\n\t * **Listen to value**: If you want to listen to changes in the value of the form, you can subscribe\n\t * to the {@link FormGroup}'s {@link AbstractControl.valueChanges} event. You can also listen to\n\t * its {@link AbstractControl.statusChanges} event to be notified when the validation status is\n\t * re-calculated.\n\t *\n\t * Furthermore, you can listen to the directive's `ngSubmit` event to be notified when the user has\n\t * triggered a form submission. The `ngSubmit` event will be emitted with the original form\n\t * submission event.\n\t *\n\t * ### Example\n\t *\n\t * In this example, we create form controls for first name and last name.\n\t *\n\t * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n\t *\n\t * **npm package**: `@angular/forms`\n\t *\n\t * **NgModule**: {@link ReactiveFormsModule}\n\t *\n\t * @stable\n\t */\n\t var FormGroupDirective = (function (_super) {\n\t __extends$11(FormGroupDirective, _super);\n\t function FormGroupDirective(_validators, _asyncValidators) {\n\t _super.call(this);\n\t this._validators = _validators;\n\t this._asyncValidators = _asyncValidators;\n\t this._submitted = false;\n\t this.directives = [];\n\t this.form = null;\n\t this.ngSubmit = new EventEmitter();\n\t }\n\t FormGroupDirective.prototype.ngOnChanges = function (changes) {\n\t this._checkFormPresent();\n\t if (changes.hasOwnProperty('form')) {\n\t this._updateValidators();\n\t this._updateDomValue();\n\t this._updateRegistrations();\n\t }\n\t };\n\t Object.defineProperty(FormGroupDirective.prototype, \"submitted\", {\n\t get: function () { return this._submitted; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormGroupDirective.prototype, \"formDirective\", {\n\t get: function () { return this; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormGroupDirective.prototype, \"control\", {\n\t get: function () { return this.form; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormGroupDirective.prototype, \"path\", {\n\t get: function () { return []; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormGroupDirective.prototype.addControl = function (dir) {\n\t var ctrl = this.form.get(dir.path);\n\t setUpControl(ctrl, dir);\n\t ctrl.updateValueAndValidity({ emitEvent: false });\n\t this.directives.push(dir);\n\t return ctrl;\n\t };\n\t FormGroupDirective.prototype.getControl = function (dir) { return this.form.get(dir.path); };\n\t FormGroupDirective.prototype.removeControl = function (dir) { ListWrapper.remove(this.directives, dir); };\n\t FormGroupDirective.prototype.addFormGroup = function (dir) {\n\t var ctrl = this.form.get(dir.path);\n\t setUpFormContainer(ctrl, dir);\n\t ctrl.updateValueAndValidity({ emitEvent: false });\n\t };\n\t FormGroupDirective.prototype.removeFormGroup = function (dir) { };\n\t FormGroupDirective.prototype.getFormGroup = function (dir) { return this.form.get(dir.path); };\n\t FormGroupDirective.prototype.addFormArray = function (dir) {\n\t var ctrl = this.form.get(dir.path);\n\t setUpFormContainer(ctrl, dir);\n\t ctrl.updateValueAndValidity({ emitEvent: false });\n\t };\n\t FormGroupDirective.prototype.removeFormArray = function (dir) { };\n\t FormGroupDirective.prototype.getFormArray = function (dir) { return this.form.get(dir.path); };\n\t FormGroupDirective.prototype.updateModel = function (dir, value) {\n\t var ctrl = this.form.get(dir.path);\n\t ctrl.setValue(value);\n\t };\n\t FormGroupDirective.prototype.onSubmit = function ($event) {\n\t this._submitted = true;\n\t this.ngSubmit.emit($event);\n\t return false;\n\t };\n\t FormGroupDirective.prototype.onReset = function () { this.resetForm(); };\n\t FormGroupDirective.prototype.resetForm = function (value) {\n\t if (value === void 0) { value = undefined; }\n\t this.form.reset(value);\n\t this._submitted = false;\n\t };\n\t /** @internal */\n\t FormGroupDirective.prototype._updateDomValue = function () {\n\t var _this = this;\n\t this.directives.forEach(function (dir) {\n\t var newCtrl = _this.form.get(dir.path);\n\t if (dir._control !== newCtrl) {\n\t cleanUpControl(dir._control, dir);\n\t if (newCtrl)\n\t setUpControl(newCtrl, dir);\n\t dir._control = newCtrl;\n\t }\n\t });\n\t this.form._updateTreeValidity({ emitEvent: false });\n\t };\n\t FormGroupDirective.prototype._updateRegistrations = function () {\n\t var _this = this;\n\t this.form._registerOnCollectionChange(function () { return _this._updateDomValue(); });\n\t if (this._oldForm)\n\t this._oldForm._registerOnCollectionChange(function () { });\n\t this._oldForm = this.form;\n\t };\n\t FormGroupDirective.prototype._updateValidators = function () {\n\t var sync = composeValidators(this._validators);\n\t this.form.validator = Validators.compose([this.form.validator, sync]);\n\t var async = composeAsyncValidators(this._asyncValidators);\n\t this.form.asyncValidator = Validators.composeAsync([this.form.asyncValidator, async]);\n\t };\n\t FormGroupDirective.prototype._checkFormPresent = function () {\n\t if (!this.form) {\n\t ReactiveErrors.missingFormException();\n\t }\n\t };\n\t FormGroupDirective.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[formGroup]',\n\t providers: [formDirectiveProvider$1],\n\t host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n\t exportAs: 'ngForm'\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t FormGroupDirective.ctorParameters = [\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t ];\n\t FormGroupDirective.propDecorators = {\n\t 'form': [{ type: _angular_core.Input, args: ['formGroup',] },],\n\t 'ngSubmit': [{ type: _angular_core.Output },],\n\t };\n\t return FormGroupDirective;\n\t }(ControlContainer));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$12 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var formGroupNameProvider = {\n\t provide: ControlContainer,\n\t useExisting: _angular_core.forwardRef(function () { return FormGroupName; })\n\t };\n\t /**\n\t * @whatItDoes Syncs a nested {@link FormGroup} to a DOM element.\n\t *\n\t * @howToUse\n\t *\n\t * This directive can only be used with a parent {@link FormGroupDirective} (selector:\n\t * `[formGroup]`).\n\t *\n\t * It accepts the string name of the nested {@link FormGroup} you want to link, and\n\t * will look for a {@link FormGroup} registered with that name in the parent\n\t * {@link FormGroup} instance you passed into {@link FormGroupDirective}.\n\t *\n\t * Nested form groups can come in handy when you want to validate a sub-group of a\n\t * form separately from the rest or when you'd like to group the values of certain\n\t * controls into their own nested object.\n\t *\n\t * **Access the group**: You can access the associated {@link FormGroup} using the\n\t * {@link AbstractControl.get} method. Ex: `this.form.get('name')`.\n\t *\n\t * You can also access individual controls within the group using dot syntax.\n\t * Ex: `this.form.get('name.first')`\n\t *\n\t * **Get the value**: the `value` property is always synced and available on the\n\t * {@link FormGroup}. See a full list of available properties in {@link AbstractControl}.\n\t *\n\t * **Set the value**: You can set an initial value for each child control when instantiating\n\t * the {@link FormGroup}, or you can set it programmatically later using\n\t * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}.\n\t *\n\t * **Listen to value**: If you want to listen to changes in the value of the group, you can\n\t * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n\t * {@link AbstractControl.statusChanges} to be notified when the validation status is\n\t * re-calculated.\n\t *\n\t * ### Example\n\t *\n\t * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: `ReactiveFormsModule`\n\t *\n\t * @stable\n\t */\n\t var FormGroupName = (function (_super) {\n\t __extends$12(FormGroupName, _super);\n\t function FormGroupName(parent, validators, asyncValidators) {\n\t _super.call(this);\n\t this._parent = parent;\n\t this._validators = validators;\n\t this._asyncValidators = asyncValidators;\n\t }\n\t /** @internal */\n\t FormGroupName.prototype._checkParentType = function () {\n\t if (_hasInvalidParent(this._parent)) {\n\t ReactiveErrors.groupParentException();\n\t }\n\t };\n\t FormGroupName.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] },] },\n\t ];\n\t /** @nocollapse */\n\t FormGroupName.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t ];\n\t FormGroupName.propDecorators = {\n\t 'name': [{ type: _angular_core.Input, args: ['formGroupName',] },],\n\t };\n\t return FormGroupName;\n\t }(AbstractFormGroupDirective));\n\t var formArrayNameProvider = {\n\t provide: ControlContainer,\n\t useExisting: _angular_core.forwardRef(function () { return FormArrayName; })\n\t };\n\t /**\n\t * @whatItDoes Syncs a nested {@link FormArray} to a DOM element.\n\t *\n\t * @howToUse\n\t *\n\t * This directive is designed to be used with a parent {@link FormGroupDirective} (selector:\n\t * `[formGroup]`).\n\t *\n\t * It accepts the string name of the nested {@link FormArray} you want to link, and\n\t * will look for a {@link FormArray} registered with that name in the parent\n\t * {@link FormGroup} instance you passed into {@link FormGroupDirective}.\n\t *\n\t * Nested form arrays can come in handy when you have a group of form controls but\n\t * you're not sure how many there will be. Form arrays allow you to create new\n\t * form controls dynamically.\n\t *\n\t * **Access the array**: You can access the associated {@link FormArray} using the\n\t * {@link AbstractControl.get} method on the parent {@link FormGroup}.\n\t * Ex: `this.form.get('cities')`.\n\t *\n\t * **Get the value**: the `value` property is always synced and available on the\n\t * {@link FormArray}. See a full list of available properties in {@link AbstractControl}.\n\t *\n\t * **Set the value**: You can set an initial value for each child control when instantiating\n\t * the {@link FormArray}, or you can set the value programmatically later using the\n\t * {@link FormArray}'s {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}\n\t * methods.\n\t *\n\t * **Listen to value**: If you want to listen to changes in the value of the array, you can\n\t * subscribe to the {@link FormArray}'s {@link AbstractControl.valueChanges} event. You can also\n\t * listen to its {@link AbstractControl.statusChanges} event to be notified when the validation\n\t * status is re-calculated.\n\t *\n\t * **Add new controls**: You can add new controls to the {@link FormArray} dynamically by\n\t * calling its {@link FormArray.push} method.\n\t * Ex: `this.form.get('cities').push(new FormControl());`\n\t *\n\t * ### Example\n\t *\n\t * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: `ReactiveFormsModule`\n\t *\n\t * @stable\n\t */\n\t var FormArrayName = (function (_super) {\n\t __extends$12(FormArrayName, _super);\n\t function FormArrayName(parent, validators, asyncValidators) {\n\t _super.call(this);\n\t this._parent = parent;\n\t this._validators = validators;\n\t this._asyncValidators = asyncValidators;\n\t }\n\t FormArrayName.prototype.ngOnInit = function () {\n\t this._checkParentType();\n\t this.formDirective.addFormArray(this);\n\t };\n\t FormArrayName.prototype.ngOnDestroy = function () {\n\t if (this.formDirective) {\n\t this.formDirective.removeFormArray(this);\n\t }\n\t };\n\t Object.defineProperty(FormArrayName.prototype, \"control\", {\n\t get: function () { return this.formDirective.getFormArray(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormArrayName.prototype, \"formDirective\", {\n\t get: function () {\n\t return this._parent ? this._parent.formDirective : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormArrayName.prototype, \"path\", {\n\t get: function () { return controlPath(this.name, this._parent); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormArrayName.prototype, \"validator\", {\n\t get: function () { return composeValidators(this._validators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormArrayName.prototype, \"asyncValidator\", {\n\t get: function () { return composeAsyncValidators(this._asyncValidators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormArrayName.prototype._checkParentType = function () {\n\t if (_hasInvalidParent(this._parent)) {\n\t ReactiveErrors.arrayParentException();\n\t }\n\t };\n\t FormArrayName.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] },] },\n\t ];\n\t /** @nocollapse */\n\t FormArrayName.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t ];\n\t FormArrayName.propDecorators = {\n\t 'name': [{ type: _angular_core.Input, args: ['formArrayName',] },],\n\t };\n\t return FormArrayName;\n\t }(ControlContainer));\n\t function _hasInvalidParent(parent) {\n\t return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) &&\n\t !(parent instanceof FormArrayName);\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$10 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var controlNameBinding = {\n\t provide: NgControl,\n\t useExisting: _angular_core.forwardRef(function () { return FormControlName; })\n\t };\n\t /**\n\t * @whatItDoes Syncs a {@link FormControl} in an existing {@link FormGroup} to a form control\n\t * element by name.\n\t *\n\t * In other words, this directive ensures that any values written to the {@link FormControl}\n\t * instance programmatically will be written to the DOM element (model -> view). Conversely,\n\t * any values written to the DOM element through user input will be reflected in the\n\t * {@link FormControl} instance (view -> model).\n\t *\n\t * @howToUse\n\t *\n\t * This directive is designed to be used with a parent {@link FormGroupDirective} (selector:\n\t * `[formGroup]`).\n\t *\n\t * It accepts the string name of the {@link FormControl} instance you want to\n\t * link, and will look for a {@link FormControl} registered with that name in the\n\t * closest {@link FormGroup} or {@link FormArray} above it.\n\t *\n\t * **Access the control**: You can access the {@link FormControl} associated with\n\t * this directive by using the {@link AbstractControl.get} method.\n\t * Ex: `this.form.get('first');`\n\t *\n\t * **Get value**: the `value` property is always synced and available on the {@link FormControl}.\n\t * See a full list of available properties in {@link AbstractControl}.\n\t *\n\t * **Set value**: You can set an initial value for the control when instantiating the\n\t * {@link FormControl}, or you can set it programmatically later using\n\t * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}.\n\t *\n\t * **Listen to value**: If you want to listen to changes in the value of the control, you can\n\t * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n\t * {@link AbstractControl.statusChanges} to be notified when the validation status is\n\t * re-calculated.\n\t *\n\t * ### Example\n\t *\n\t * In this example, we create form controls for first name and last name.\n\t *\n\t * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n\t *\n\t * To see `formControlName` examples with different form control types, see:\n\t *\n\t * * Radio buttons: {@link RadioControlValueAccessor}\n\t * * Selects: {@link SelectControlValueAccessor}\n\t *\n\t * **npm package**: `@angular/forms`\n\t *\n\t * **NgModule**: {@link ReactiveFormsModule}\n\t *\n\t * @stable\n\t */\n\t var FormControlName = (function (_super) {\n\t __extends$10(FormControlName, _super);\n\t function FormControlName(parent, validators, asyncValidators, valueAccessors) {\n\t _super.call(this);\n\t this._added = false;\n\t this.update = new EventEmitter();\n\t this._parent = parent;\n\t this._rawValidators = validators || [];\n\t this._rawAsyncValidators = asyncValidators || [];\n\t this.valueAccessor = selectValueAccessor(this, valueAccessors);\n\t }\n\t Object.defineProperty(FormControlName.prototype, \"isDisabled\", {\n\t set: function (isDisabled) { ReactiveErrors.disabledAttrWarning(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormControlName.prototype.ngOnChanges = function (changes) {\n\t if (!this._added)\n\t this._setUpControl();\n\t if (isPropertyUpdated(changes, this.viewModel)) {\n\t this.viewModel = this.model;\n\t this.formDirective.updateModel(this, this.model);\n\t }\n\t };\n\t FormControlName.prototype.ngOnDestroy = function () {\n\t if (this.formDirective) {\n\t this.formDirective.removeControl(this);\n\t }\n\t };\n\t FormControlName.prototype.viewToModelUpdate = function (newValue) {\n\t this.viewModel = newValue;\n\t this.update.emit(newValue);\n\t };\n\t Object.defineProperty(FormControlName.prototype, \"path\", {\n\t get: function () { return controlPath(this.name, this._parent); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlName.prototype, \"formDirective\", {\n\t get: function () { return this._parent ? this._parent.formDirective : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlName.prototype, \"validator\", {\n\t get: function () { return composeValidators(this._rawValidators); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlName.prototype, \"asyncValidator\", {\n\t get: function () {\n\t return composeAsyncValidators(this._rawAsyncValidators);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(FormControlName.prototype, \"control\", {\n\t get: function () { return this._control; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t FormControlName.prototype._checkParentType = function () {\n\t if (!(this._parent instanceof FormGroupName) &&\n\t this._parent instanceof AbstractFormGroupDirective) {\n\t ReactiveErrors.ngModelGroupException();\n\t }\n\t else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) &&\n\t !(this._parent instanceof FormArrayName)) {\n\t ReactiveErrors.controlParentException();\n\t }\n\t };\n\t FormControlName.prototype._setUpControl = function () {\n\t this._checkParentType();\n\t this._control = this.formDirective.addControl(this);\n\t if (this.control.disabled && this.valueAccessor.setDisabledState) {\n\t this.valueAccessor.setDisabledState(true);\n\t }\n\t this._added = true;\n\t };\n\t FormControlName.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: '[formControlName]', providers: [controlNameBinding] },] },\n\t ];\n\t /** @nocollapse */\n\t FormControlName.ctorParameters = [\n\t { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n\t { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n\t ];\n\t FormControlName.propDecorators = {\n\t 'name': [{ type: _angular_core.Input, args: ['formControlName',] },],\n\t 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n\t 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n\t 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n\t };\n\t return FormControlName;\n\t }(NgControl));\n\t\n\t var REQUIRED_VALIDATOR = {\n\t provide: NG_VALIDATORS,\n\t useExisting: _angular_core.forwardRef(function () { return RequiredValidator; }),\n\t multi: true\n\t };\n\t /**\n\t * A Directive that adds the `required` validator to any controls marked with the\n\t * `required` attribute, via the {@link NG_VALIDATORS} binding.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * <input name=\"fullName\" ngModel required>\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var RequiredValidator = (function () {\n\t function RequiredValidator() {\n\t }\n\t Object.defineProperty(RequiredValidator.prototype, \"required\", {\n\t get: function () { return this._required; },\n\t set: function (value) {\n\t this._required = value != null && value !== false && \"\" + value !== 'false';\n\t if (this._onChange)\n\t this._onChange();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RequiredValidator.prototype.validate = function (c) {\n\t return this.required ? Validators.required(c) : null;\n\t };\n\t RequiredValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n\t RequiredValidator.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[required][formControlName],[required][formControl],[required][ngModel]',\n\t providers: [REQUIRED_VALIDATOR],\n\t host: { '[attr.required]': 'required ? \"\" : null' }\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t RequiredValidator.ctorParameters = [];\n\t RequiredValidator.propDecorators = {\n\t 'required': [{ type: _angular_core.Input },],\n\t };\n\t return RequiredValidator;\n\t }());\n\t /**\n\t * Provider which adds {@link MinLengthValidator} to {@link NG_VALIDATORS}.\n\t *\n\t * ## Example:\n\t *\n\t * {@example common/forms/ts/validators/validators.ts region='min'}\n\t */\n\t var MIN_LENGTH_VALIDATOR = {\n\t provide: NG_VALIDATORS,\n\t useExisting: _angular_core.forwardRef(function () { return MinLengthValidator; }),\n\t multi: true\n\t };\n\t /**\n\t * A directive which installs the {@link MinLengthValidator} for any `formControlName`,\n\t * `formControl`, or control with `ngModel` that also has a `minlength` attribute.\n\t *\n\t * @stable\n\t */\n\t var MinLengthValidator = (function () {\n\t function MinLengthValidator() {\n\t }\n\t MinLengthValidator.prototype.ngOnChanges = function (changes) {\n\t if ('minlength' in changes) {\n\t this._createValidator();\n\t if (this._onChange)\n\t this._onChange();\n\t }\n\t };\n\t MinLengthValidator.prototype.validate = function (c) {\n\t return this.minlength == null ? null : this._validator(c);\n\t };\n\t MinLengthValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n\t MinLengthValidator.prototype._createValidator = function () {\n\t this._validator = Validators.minLength(parseInt(this.minlength, 10));\n\t };\n\t MinLengthValidator.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n\t providers: [MIN_LENGTH_VALIDATOR],\n\t host: { '[attr.minlength]': 'minlength ? minlength : null' }\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t MinLengthValidator.ctorParameters = [];\n\t MinLengthValidator.propDecorators = {\n\t 'minlength': [{ type: _angular_core.Input },],\n\t };\n\t return MinLengthValidator;\n\t }());\n\t /**\n\t * Provider which adds {@link MaxLengthValidator} to {@link NG_VALIDATORS}.\n\t *\n\t * ## Example:\n\t *\n\t * {@example common/forms/ts/validators/validators.ts region='max'}\n\t */\n\t var MAX_LENGTH_VALIDATOR = {\n\t provide: NG_VALIDATORS,\n\t useExisting: _angular_core.forwardRef(function () { return MaxLengthValidator; }),\n\t multi: true\n\t };\n\t /**\n\t * A directive which installs the {@link MaxLengthValidator} for any `formControlName,\n\t * `formControl`,\n\t * or control with `ngModel` that also has a `maxlength` attribute.\n\t *\n\t * @stable\n\t */\n\t var MaxLengthValidator = (function () {\n\t function MaxLengthValidator() {\n\t }\n\t MaxLengthValidator.prototype.ngOnChanges = function (changes) {\n\t if ('maxlength' in changes) {\n\t this._createValidator();\n\t if (this._onChange)\n\t this._onChange();\n\t }\n\t };\n\t MaxLengthValidator.prototype.validate = function (c) {\n\t return this.maxlength != null ? this._validator(c) : null;\n\t };\n\t MaxLengthValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n\t MaxLengthValidator.prototype._createValidator = function () {\n\t this._validator = Validators.maxLength(parseInt(this.maxlength, 10));\n\t };\n\t MaxLengthValidator.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n\t providers: [MAX_LENGTH_VALIDATOR],\n\t host: { '[attr.maxlength]': 'maxlength ? maxlength : null' }\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t MaxLengthValidator.ctorParameters = [];\n\t MaxLengthValidator.propDecorators = {\n\t 'maxlength': [{ type: _angular_core.Input },],\n\t };\n\t return MaxLengthValidator;\n\t }());\n\t var PATTERN_VALIDATOR = {\n\t provide: NG_VALIDATORS,\n\t useExisting: _angular_core.forwardRef(function () { return PatternValidator; }),\n\t multi: true\n\t };\n\t /**\n\t * A Directive that adds the `pattern` validator to any controls marked with the\n\t * `pattern` attribute, via the {@link NG_VALIDATORS} binding. Uses attribute value\n\t * as the regex to validate Control value against. Follows pattern attribute\n\t * semantics; i.e. regex must match entire Control value.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * <input [name]=\"fullName\" pattern=\"[a-zA-Z ]*\" ngModel>\n\t * ```\n\t * @stable\n\t */\n\t var PatternValidator = (function () {\n\t function PatternValidator() {\n\t }\n\t PatternValidator.prototype.ngOnChanges = function (changes) {\n\t if ('pattern' in changes) {\n\t this._createValidator();\n\t if (this._onChange)\n\t this._onChange();\n\t }\n\t };\n\t PatternValidator.prototype.validate = function (c) { return this._validator(c); };\n\t PatternValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n\t PatternValidator.prototype._createValidator = function () { this._validator = Validators.pattern(this.pattern); };\n\t PatternValidator.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n\t providers: [PATTERN_VALIDATOR],\n\t host: { '[attr.pattern]': 'pattern ? pattern : null' }\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t PatternValidator.ctorParameters = [];\n\t PatternValidator.propDecorators = {\n\t 'pattern': [{ type: _angular_core.Input },],\n\t };\n\t return PatternValidator;\n\t }());\n\t\n\t /**\n\t * @whatItDoes Creates an {@link AbstractControl} from a user-specified configuration.\n\t *\n\t * It is essentially syntactic sugar that shortens the `new FormGroup()`,\n\t * `new FormControl()`, and `new FormArray()` boilerplate that can build up in larger\n\t * forms.\n\t *\n\t * @howToUse\n\t *\n\t * To use, inject `FormBuilder` into your component class. You can then call its methods\n\t * directly.\n\t *\n\t * {@example forms/ts/formBuilder/form_builder_example.ts region='Component'}\n\t *\n\t * * **npm package**: `@angular/forms`\n\t *\n\t * * **NgModule**: {@link ReactiveFormsModule}\n\t *\n\t * @stable\n\t */\n\t var FormBuilder = (function () {\n\t function FormBuilder() {\n\t }\n\t /**\n\t * Construct a new {@link FormGroup} with the given map of configuration.\n\t * Valid keys for the `extra` parameter map are `validator` and `asyncValidator`.\n\t *\n\t * See the {@link FormGroup} constructor for more details.\n\t */\n\t FormBuilder.prototype.group = function (controlsConfig, extra) {\n\t if (extra === void 0) { extra = null; }\n\t var controls = this._reduceControls(controlsConfig);\n\t var validator = isPresent(extra) ? extra['validator'] : null;\n\t var asyncValidator = isPresent(extra) ? extra['asyncValidator'] : null;\n\t return new FormGroup(controls, validator, asyncValidator);\n\t };\n\t /**\n\t * Construct a new {@link FormControl} with the given `formState`,`validator`, and\n\t * `asyncValidator`.\n\t *\n\t * `formState` can either be a standalone value for the form control or an object\n\t * that contains both a value and a disabled status.\n\t *\n\t */\n\t FormBuilder.prototype.control = function (formState, validator, asyncValidator) {\n\t if (validator === void 0) { validator = null; }\n\t if (asyncValidator === void 0) { asyncValidator = null; }\n\t return new FormControl(formState, validator, asyncValidator);\n\t };\n\t /**\n\t * Construct a {@link FormArray} from the given `controlsConfig` array of\n\t * configuration, with the given optional `validator` and `asyncValidator`.\n\t */\n\t FormBuilder.prototype.array = function (controlsConfig, validator, asyncValidator) {\n\t var _this = this;\n\t if (validator === void 0) { validator = null; }\n\t if (asyncValidator === void 0) { asyncValidator = null; }\n\t var controls = controlsConfig.map(function (c) { return _this._createControl(c); });\n\t return new FormArray(controls, validator, asyncValidator);\n\t };\n\t /** @internal */\n\t FormBuilder.prototype._reduceControls = function (controlsConfig) {\n\t var _this = this;\n\t var controls = {};\n\t Object.keys(controlsConfig).forEach(function (controlName) {\n\t controls[controlName] = _this._createControl(controlsConfig[controlName]);\n\t });\n\t return controls;\n\t };\n\t /** @internal */\n\t FormBuilder.prototype._createControl = function (controlConfig) {\n\t if (controlConfig instanceof FormControl || controlConfig instanceof FormGroup ||\n\t controlConfig instanceof FormArray) {\n\t return controlConfig;\n\t }\n\t else if (Array.isArray(controlConfig)) {\n\t var value = controlConfig[0];\n\t var validator = controlConfig.length > 1 ? controlConfig[1] : null;\n\t var asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\n\t return this.control(value, validator, asyncValidator);\n\t }\n\t else {\n\t return this.control(controlConfig);\n\t }\n\t };\n\t FormBuilder.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t FormBuilder.ctorParameters = [];\n\t return FormBuilder;\n\t }());\n\t\n\t var SHARED_FORM_DIRECTIVES = [\n\t NgSelectOption, NgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor,\n\t RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor,\n\t SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus,\n\t NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator\n\t ];\n\t var TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];\n\t var REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n\t /**\n\t * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n\t */\n\t var InternalFormsSharedModule = (function () {\n\t function InternalFormsSharedModule() {\n\t }\n\t InternalFormsSharedModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t declarations: SHARED_FORM_DIRECTIVES,\n\t exports: SHARED_FORM_DIRECTIVES,\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t InternalFormsSharedModule.ctorParameters = [];\n\t return InternalFormsSharedModule;\n\t }());\n\t\n\t /**\n\t * The ng module for forms.\n\t * @stable\n\t */\n\t var FormsModule = (function () {\n\t function FormsModule() {\n\t }\n\t FormsModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n\t providers: [RadioControlRegistry],\n\t exports: [InternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t FormsModule.ctorParameters = [];\n\t return FormsModule;\n\t }());\n\t /**\n\t * The ng module for reactive forms.\n\t * @stable\n\t */\n\t var ReactiveFormsModule = (function () {\n\t function ReactiveFormsModule() {\n\t }\n\t ReactiveFormsModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n\t providers: [FormBuilder, RadioControlRegistry],\n\t exports: [InternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t ReactiveFormsModule.ctorParameters = [];\n\t return ReactiveFormsModule;\n\t }());\n\t\n\t exports.AbstractControlDirective = AbstractControlDirective;\n\t exports.AbstractFormGroupDirective = AbstractFormGroupDirective;\n\t exports.CheckboxControlValueAccessor = CheckboxControlValueAccessor;\n\t exports.ControlContainer = ControlContainer;\n\t exports.NG_VALUE_ACCESSOR = NG_VALUE_ACCESSOR;\n\t exports.DefaultValueAccessor = DefaultValueAccessor;\n\t exports.NgControl = NgControl;\n\t exports.NgControlStatus = NgControlStatus;\n\t exports.NgControlStatusGroup = NgControlStatusGroup;\n\t exports.NgForm = NgForm;\n\t exports.NgModel = NgModel;\n\t exports.NgModelGroup = NgModelGroup;\n\t exports.RadioControlValueAccessor = RadioControlValueAccessor;\n\t exports.FormControlDirective = FormControlDirective;\n\t exports.FormControlName = FormControlName;\n\t exports.FormGroupDirective = FormGroupDirective;\n\t exports.FormArrayName = FormArrayName;\n\t exports.FormGroupName = FormGroupName;\n\t exports.NgSelectOption = NgSelectOption;\n\t exports.SelectControlValueAccessor = SelectControlValueAccessor;\n\t exports.SelectMultipleControlValueAccessor = SelectMultipleControlValueAccessor;\n\t exports.MaxLengthValidator = MaxLengthValidator;\n\t exports.MinLengthValidator = MinLengthValidator;\n\t exports.PatternValidator = PatternValidator;\n\t exports.RequiredValidator = RequiredValidator;\n\t exports.FormBuilder = FormBuilder;\n\t exports.AbstractControl = AbstractControl;\n\t exports.FormArray = FormArray;\n\t exports.FormControl = FormControl;\n\t exports.FormGroup = FormGroup;\n\t exports.NG_ASYNC_VALIDATORS = NG_ASYNC_VALIDATORS;\n\t exports.NG_VALIDATORS = NG_VALIDATORS;\n\t exports.Validators = Validators;\n\t exports.FormsModule = FormsModule;\n\t exports.ReactiveFormsModule = ReactiveFormsModule;\n\t\n\t}));\n\n/***/ },\n/* 284 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\t/**\n\t * @param PromiseCtor\n\t * @return {Promise<T>}\n\t * @method toPromise\n\t * @owner Observable\n\t */\n\tfunction toPromise(PromiseCtor) {\n\t var _this = this;\n\t if (!PromiseCtor) {\n\t if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n\t PromiseCtor = root_1.root.Rx.config.Promise;\n\t }\n\t else if (root_1.root.Promise) {\n\t PromiseCtor = root_1.root.Promise;\n\t }\n\t }\n\t if (!PromiseCtor) {\n\t throw new Error('no Promise impl found');\n\t }\n\t return new PromiseCtor(function (resolve, reject) {\n\t var value;\n\t _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); });\n\t });\n\t}\n\texports.toPromise = toPromise;\n\t//# sourceMappingURL=toPromise.js.map\n\n/***/ },\n/* 285 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar PromiseObservable_1 = __webpack_require__(286);\n\texports.fromPromise = PromiseObservable_1.PromiseObservable.create;\n\t//# sourceMappingURL=fromPromise.js.map\n\n/***/ },\n/* 286 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar root_1 = __webpack_require__(266);\n\tvar Observable_1 = __webpack_require__(265);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar PromiseObservable = (function (_super) {\n\t __extends(PromiseObservable, _super);\n\t function PromiseObservable(promise, scheduler) {\n\t _super.call(this);\n\t this.promise = promise;\n\t this.scheduler = scheduler;\n\t }\n\t /**\n\t * Converts a Promise to an Observable.\n\t *\n\t * <span class=\"informal\">Returns an Observable that just emits the Promise's\n\t * resolved value, then completes.</span>\n\t *\n\t * Converts an ES2015 Promise or a Promises/A+ spec compliant Promise to an\n\t * Observable. If the Promise resolves with a value, the output Observable\n\t * emits that resolved value as a `next`, and then completes. If the Promise\n\t * is rejected, then the output Observable emits the corresponding Error.\n\t *\n\t * @example <caption>Convert the Promise returned by Fetch to an Observable</caption>\n\t * var result = Rx.Observable.fromPromise(fetch('http://myserver.com/'));\n\t * result.subscribe(x => console.log(x), e => console.error(e));\n\t *\n\t * @see {@link bindCallback}\n\t * @see {@link from}\n\t *\n\t * @param {Promise<T>} promise The promise to be converted.\n\t * @param {Scheduler} [scheduler] An optional Scheduler to use for scheduling\n\t * the delivery of the resolved value (or the rejection).\n\t * @return {Observable<T>} An Observable which wraps the Promise.\n\t * @static true\n\t * @name fromPromise\n\t * @owner Observable\n\t */\n\t PromiseObservable.create = function (promise, scheduler) {\n\t return new PromiseObservable(promise, scheduler);\n\t };\n\t PromiseObservable.prototype._subscribe = function (subscriber) {\n\t var _this = this;\n\t var promise = this.promise;\n\t var scheduler = this.scheduler;\n\t if (scheduler == null) {\n\t if (this._isScalar) {\n\t if (!subscriber.closed) {\n\t subscriber.next(this.value);\n\t subscriber.complete();\n\t }\n\t }\n\t else {\n\t promise.then(function (value) {\n\t _this.value = value;\n\t _this._isScalar = true;\n\t if (!subscriber.closed) {\n\t subscriber.next(value);\n\t subscriber.complete();\n\t }\n\t }, function (err) {\n\t if (!subscriber.closed) {\n\t subscriber.error(err);\n\t }\n\t })\n\t .then(null, function (err) {\n\t // escape the promise trap, throw unhandled errors\n\t root_1.root.setTimeout(function () { throw err; });\n\t });\n\t }\n\t }\n\t else {\n\t if (this._isScalar) {\n\t if (!subscriber.closed) {\n\t return scheduler.schedule(dispatchNext, 0, { value: this.value, subscriber: subscriber });\n\t }\n\t }\n\t else {\n\t promise.then(function (value) {\n\t _this.value = value;\n\t _this._isScalar = true;\n\t if (!subscriber.closed) {\n\t subscriber.add(scheduler.schedule(dispatchNext, 0, { value: value, subscriber: subscriber }));\n\t }\n\t }, function (err) {\n\t if (!subscriber.closed) {\n\t subscriber.add(scheduler.schedule(dispatchError, 0, { err: err, subscriber: subscriber }));\n\t }\n\t })\n\t .then(null, function (err) {\n\t // escape the promise trap, throw unhandled errors\n\t root_1.root.setTimeout(function () { throw err; });\n\t });\n\t }\n\t }\n\t };\n\t return PromiseObservable;\n\t}(Observable_1.Observable));\n\texports.PromiseObservable = PromiseObservable;\n\tfunction dispatchNext(arg) {\n\t var value = arg.value, subscriber = arg.subscriber;\n\t if (!subscriber.closed) {\n\t subscriber.next(value);\n\t subscriber.complete();\n\t }\n\t}\n\tfunction dispatchError(arg) {\n\t var err = arg.err, subscriber = arg.subscriber;\n\t if (!subscriber.closed) {\n\t subscriber.error(err);\n\t }\n\t}\n\t//# sourceMappingURL=PromiseObservable.js.map\n\n/***/ },\n/* 287 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license Angular Material v2.0.0-beta.2\n\t * Copyright (c) 2017 Google, Inc. https://material.angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(263), __webpack_require__(282), __webpack_require__(264), __webpack_require__(265), __webpack_require__(288), __webpack_require__(291), __webpack_require__(281), __webpack_require__(283), __webpack_require__(298), __webpack_require__(311), __webpack_require__(314), __webpack_require__(315), __webpack_require__(318), __webpack_require__(320), __webpack_require__(322), __webpack_require__(324), __webpack_require__(326), __webpack_require__(331), __webpack_require__(333), __webpack_require__(335), __webpack_require__(338)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', 'rxjs/Subject', 'rxjs/Observable', 'rxjs/add/observable/fromEvent', 'rxjs/add/operator/auditTime', '@angular/platform-browser', '@angular/forms', 'rxjs/add/operator/startWith', 'rxjs/add/operator/first', '@angular/http', 'rxjs/add/observable/forkJoin', 'rxjs/add/observable/of', 'rxjs/add/operator/map', 'rxjs/add/operator/filter', 'rxjs/add/operator/do', 'rxjs/add/operator/share', 'rxjs/add/operator/finally', 'rxjs/add/operator/catch', 'rxjs/add/observable/merge', 'rxjs/add/operator/switchMap'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}),global.ng.core,global.ng.common,global.Rx,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.ng.platformBrowser,global.ng.forms,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.ng.http,global.Rx.Observable,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable,global.Rx.Observable.prototype));\n\t}(this, (function (exports,_angular_core,_angular_common,rxjs_Subject,rxjs_Observable,rxjs_add_observable_fromEvent,rxjs_add_operator_auditTime,_angular_platformBrowser,_angular_forms,rxjs_add_operator_startWith,rxjs_add_operator_first,_angular_http,rxjs_add_observable_forkJoin,rxjs_add_observable_of,rxjs_add_operator_map,rxjs_add_operator_filter,rxjs_add_operator_do,rxjs_add_operator_share,rxjs_add_operator_finally,rxjs_add_operator_catch,rxjs_add_observable_merge,rxjs_add_operator_switchMap) { 'use strict';\n\t\n\tvar __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$2 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tvar MATERIAL_COMPATIBILITY_MODE = new _angular_core.OpaqueToken('md-compatibility-mode');\n\t/** Selector that matches all elements that may have style collisions with AngularJS Material. */\n\tvar MAT_ELEMENTS_SELECTOR = \"\\n [mat-button],\\n [mat-dialog-actions],\\n [mat-dialog-close],\\n [mat-dialog-content],\\n [mat-dialog-title],\\n [mat-fab],\\n [mat-icon-button],\\n [mat-menu-trigger-for],\\n [mat-mini-fab],\\n [mat-raised-button],\\n [mat-tab-label],\\n [mat-tab-link],\\n [mat-tab-nav-bar],\\n [matTooltip],\\n mat-autocomplete,\\n mat-button-toggle,\\n mat-button-toggle-group,\\n mat-button-toggle,\\n mat-card,\\n mat-card-actions,\\n mat-card-content,\\n mat-card-footer,\\n mat-card-header,\\n mat-card-subtitle,\\n mat-card-title,\\n mat-card-title-group,\\n mat-checkbox,\\n mat-chip,\\n mat-dialog-actions,\\n mat-dialog-container,\\n mat-dialog-content,\\n mat-divider,\\n mat-grid-list,\\n mat-grid-tile,\\n mat-grid-tile-footer,\\n mat-grid-tile-header,\\n mat-hint,\\n mat-icon,\\n mat-ink-bar,\\n mat-list,\\n mat-list-item,\\n mat-menu,\\n mat-nav-list,\\n mat-option,\\n mat-placeholder,\\n mat-progress-bar,\\n mat-progress-circle,\\n mat-pseudo-checkbox,\\n mat-radio-button,\\n mat-radio-group,\\n mat-select,\\n mat-sidenav,\\n mat-sidenav-container,\\n mat-slider,\\n mat-spinner,\\n mat-tab,\\n mat-tab-body,\\n mat-tab-header,\\n mat-tab-group,\\n mat-toolbar\";\n\t/** Selector that matches all elements that may have style collisions with AngularJS Material. */\n\tvar MD_ELEMENTS_SELECTOR = \" \\n [md-button],\\n [md-dialog-actions],\\n [md-dialog-close],\\n [md-dialog-content],\\n [md-dialog-title],\\n [md-fab],\\n [md-icon-button],\\n [md-menu-trigger-for],\\n [md-mini-fab],\\n [md-raised-button],\\n [md-tab-label],\\n [md-tab-link],\\n [md-tab-nav-bar],\\n [mdTooltip],\\n md-autocomplete,\\n md-button-toggle,\\n md-button-toggle-group,\\n md-button-toggle,\\n md-card,\\n md-card-actions,\\n md-card-content,\\n md-card-footer,\\n md-card-header,\\n md-card-subtitle,\\n md-card-title,\\n md-card-title-group,\\n md-checkbox,\\n md-chip,\\n md-dialog-actions,\\n md-dialog-container,\\n md-dialog-content,\\n md-divider,\\n md-grid-list,\\n md-grid-tile,\\n md-grid-tile-footer,\\n md-grid-tile-header,\\n md-hint,\\n md-icon,\\n md-ink-bar,\\n md-list,\\n md-list-item,\\n md-menu,\\n md-nav-list,\\n md-option,\\n md-placeholder,\\n md-progress-bar,\\n md-progress-circle,\\n md-pseudo-checkbox,\\n md-radio-button,\\n md-radio-group,\\n md-select,\\n md-sidenav,\\n md-sidenav-container,\\n md-slider,\\n md-spinner,\\n md-tab,\\n md-tab-body,\\n md-tab-header,\\n md-tab-group,\\n md-toolbar\";\n\t/** Directive that enforces that the `mat-` prefix cannot be used. */\n\tvar MatPrefixRejector = (function () {\n\t function MatPrefixRejector(isCompatibilityMode) {\n\t if (!isCompatibilityMode) {\n\t throw Error('The \"mat-\" prefix cannot be used out of ng-material v1 compatibility mode.');\n\t }\n\t }\n\t MatPrefixRejector = __decorate$2([\n\t _angular_core.Directive({ selector: MAT_ELEMENTS_SELECTOR }),\n\t __param(0, _angular_core.Optional()),\n\t __param(0, _angular_core.Inject(MATERIAL_COMPATIBILITY_MODE)), \n\t __metadata$2('design:paramtypes', [Boolean])\n\t ], MatPrefixRejector);\n\t return MatPrefixRejector;\n\t}());\n\t/** Directive that enforces that the `md-` prefix cannot be used. */\n\tvar MdPrefixRejector = (function () {\n\t function MdPrefixRejector(isCompatibilityMode) {\n\t if (isCompatibilityMode) {\n\t throw Error('The \"md-\" prefix cannot be used in ng-material v1 compatibility mode.');\n\t }\n\t }\n\t MdPrefixRejector = __decorate$2([\n\t _angular_core.Directive({ selector: MD_ELEMENTS_SELECTOR }),\n\t __param(0, _angular_core.Optional()),\n\t __param(0, _angular_core.Inject(MATERIAL_COMPATIBILITY_MODE)), \n\t __metadata$2('design:paramtypes', [Boolean])\n\t ], MdPrefixRejector);\n\t return MdPrefixRejector;\n\t}());\n\t/**\n\t * Module that enforces the default compatibility mode settings. When this module is loaded\n\t * without NoConflictStyleCompatibilityMode also being imported, it will throw an error if\n\t * there are any uses of the `mat-` prefix.\n\t */\n\tvar CompatibilityModule = (function () {\n\t function CompatibilityModule() {\n\t }\n\t CompatibilityModule.forRoot = function () {\n\t return {\n\t ngModule: CompatibilityModule,\n\t providers: [],\n\t };\n\t };\n\t CompatibilityModule = __decorate$2([\n\t _angular_core.NgModule({\n\t declarations: [MatPrefixRejector, MdPrefixRejector],\n\t exports: [MatPrefixRejector, MdPrefixRejector],\n\t }), \n\t __metadata$2('design:paramtypes', [])\n\t ], CompatibilityModule);\n\t return CompatibilityModule;\n\t}());\n\t/**\n\t * Module that enforces \"no-conflict\" compatibility mode settings. When this module is loaded,\n\t * it will throw an error if there are any uses of the `md-` prefix.\n\t */\n\tvar NoConflictStyleCompatibilityMode = (function () {\n\t function NoConflictStyleCompatibilityMode() {\n\t }\n\t NoConflictStyleCompatibilityMode = __decorate$2([\n\t _angular_core.NgModule({\n\t providers: [{\n\t provide: MATERIAL_COMPATIBILITY_MODE, useValue: true,\n\t }],\n\t }), \n\t __metadata$2('design:paramtypes', [])\n\t ], NoConflictStyleCompatibilityMode);\n\t return NoConflictStyleCompatibilityMode;\n\t}());\n\t\n\tvar __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$1 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Shared directive to count lines inside a text area, such as a list item.\n\t * Line elements can be extracted with a @ContentChildren(MdLine) query, then\n\t * counted by checking the query list's length.\n\t */\n\tvar MdLine = (function () {\n\t function MdLine() {\n\t }\n\t MdLine = __decorate$1([\n\t _angular_core.Directive({\n\t selector: '[md-line], [mat-line]',\n\t host: {\n\t '[class.mat-line]': 'true'\n\t }\n\t }), \n\t __metadata$1('design:paramtypes', [])\n\t ], MdLine);\n\t return MdLine;\n\t}());\n\t/**\n\t * Helper that takes a query list of lines and sets the correct class on the host.\n\t * @docs-private\n\t */\n\tvar MdLineSetter = (function () {\n\t function MdLineSetter(_lines, _renderer, _element) {\n\t var _this = this;\n\t this._lines = _lines;\n\t this._renderer = _renderer;\n\t this._element = _element;\n\t this._setLineClass(this._lines.length);\n\t this._lines.changes.subscribe(function () {\n\t _this._setLineClass(_this._lines.length);\n\t });\n\t }\n\t MdLineSetter.prototype._setLineClass = function (count) {\n\t this._resetClasses();\n\t if (count === 2 || count === 3) {\n\t this._setClass(\"mat-\" + count + \"-line\", true);\n\t }\n\t else if (count > 3) {\n\t this._setClass(\"mat-multi-line\", true);\n\t }\n\t };\n\t MdLineSetter.prototype._resetClasses = function () {\n\t this._setClass('mat-2-line', false);\n\t this._setClass('mat-3-line', false);\n\t this._setClass('mat-multi-line', false);\n\t };\n\t MdLineSetter.prototype._setClass = function (className, bool) {\n\t this._renderer.setElementClass(this._element.nativeElement, className, bool);\n\t };\n\t return MdLineSetter;\n\t}());\n\tvar MdLineModule = (function () {\n\t function MdLineModule() {\n\t }\n\t MdLineModule = __decorate$1([\n\t _angular_core.NgModule({\n\t imports: [CompatibilityModule],\n\t exports: [MdLine, CompatibilityModule],\n\t declarations: [MdLine],\n\t }), \n\t __metadata$1('design:paramtypes', [])\n\t ], MdLineModule);\n\t return MdLineModule;\n\t}());\n\t\n\tvar __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$3 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Directive to listen for changes of direction of part of the DOM.\n\t *\n\t * Applications should use this directive instead of the native attribute so that Material\n\t * components can listen on changes of direction.\n\t */\n\tvar Dir = (function () {\n\t function Dir() {\n\t /** Layout direction of the element. */\n\t this._dir = 'ltr';\n\t /** Event emitted when the direction changes. */\n\t this.dirChange = new _angular_core.EventEmitter();\n\t }\n\t Object.defineProperty(Dir.prototype, \"dir\", {\n\t /** @docs-private */\n\t get: function () {\n\t return this._dir;\n\t },\n\t set: function (v) {\n\t var old = this._dir;\n\t this._dir = v;\n\t if (old != this._dir) {\n\t this.dirChange.emit();\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(Dir.prototype, \"value\", {\n\t /** Current layout direction of the element. */\n\t get: function () { return this.dir; },\n\t set: function (v) { this.dir = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t __decorate$3([\n\t _angular_core.Input('dir'), \n\t __metadata$3('design:type', String)\n\t ], Dir.prototype, \"_dir\", void 0);\n\t __decorate$3([\n\t _angular_core.Output(), \n\t __metadata$3('design:type', Object)\n\t ], Dir.prototype, \"dirChange\", void 0);\n\t __decorate$3([\n\t _angular_core.HostBinding('attr.dir'), \n\t __metadata$3('design:type', String)\n\t ], Dir.prototype, \"dir\", null);\n\t Dir = __decorate$3([\n\t _angular_core.Directive({\n\t selector: '[dir]',\n\t // TODO(hansl): maybe `$implicit` isn't the best option here, but for now that's the best we got.\n\t exportAs: '$implicit'\n\t }), \n\t __metadata$3('design:paramtypes', [])\n\t ], Dir);\n\t return Dir;\n\t}());\n\tvar RtlModule = (function () {\n\t function RtlModule() {\n\t }\n\t /** @deprecated */\n\t RtlModule.forRoot = function () {\n\t return {\n\t ngModule: RtlModule,\n\t providers: []\n\t };\n\t };\n\t RtlModule = __decorate$3([\n\t _angular_core.NgModule({\n\t exports: [Dir],\n\t declarations: [Dir]\n\t }), \n\t __metadata$3('design:paramtypes', [])\n\t ], RtlModule);\n\t return RtlModule;\n\t}());\n\t\n\tvar __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$4 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Directive that triggers a callback whenever the content of\n\t * its associated element has changed.\n\t */\n\tvar ObserveContent = (function () {\n\t function ObserveContent(_elementRef) {\n\t this._elementRef = _elementRef;\n\t /** Event emitted for each change in the element's content. */\n\t this.event = new _angular_core.EventEmitter();\n\t }\n\t ObserveContent.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t this._observer = new MutationObserver(function (mutations) { return mutations.forEach(function () { return _this.event.emit(); }); });\n\t this._observer.observe(this._elementRef.nativeElement, {\n\t characterData: true,\n\t childList: true,\n\t subtree: true\n\t });\n\t };\n\t ObserveContent.prototype.ngOnDestroy = function () {\n\t if (this._observer) {\n\t this._observer.disconnect();\n\t }\n\t };\n\t __decorate$4([\n\t _angular_core.Output('cdkObserveContent'), \n\t __metadata$4('design:type', Object)\n\t ], ObserveContent.prototype, \"event\", void 0);\n\t ObserveContent = __decorate$4([\n\t _angular_core.Directive({\n\t selector: '[cdkObserveContent]'\n\t }), \n\t __metadata$4('design:paramtypes', [_angular_core.ElementRef])\n\t ], ObserveContent);\n\t return ObserveContent;\n\t}());\n\tvar ObserveContentModule = (function () {\n\t function ObserveContentModule() {\n\t }\n\t /** @deprecated */\n\t ObserveContentModule.forRoot = function () {\n\t return {\n\t ngModule: ObserveContentModule,\n\t providers: []\n\t };\n\t };\n\t ObserveContentModule = __decorate$4([\n\t _angular_core.NgModule({\n\t exports: [ObserveContent],\n\t declarations: [ObserveContent]\n\t }), \n\t __metadata$4('design:paramtypes', [])\n\t ], ObserveContentModule);\n\t return ObserveContentModule;\n\t}());\n\t\n\t// Due to a bug in the ChromeDriver, Angular keyboard events are not triggered by `sendKeys`\n\t// during E2E tests when using dot notation such as `(keydown.rightArrow)`. To get around this,\n\t// we are temporarily using a single (keydown) handler.\n\t// See: https://github.com/angular/angular/issues/9419\n\tvar UP_ARROW = 38;\n\tvar DOWN_ARROW = 40;\n\tvar RIGHT_ARROW = 39;\n\tvar LEFT_ARROW = 37;\n\tvar PAGE_UP = 33;\n\tvar PAGE_DOWN = 34;\n\tvar HOME = 36;\n\tvar END = 35;\n\tvar ENTER = 13;\n\tvar SPACE = 32;\n\tvar TAB = 9;\n\tvar ESCAPE = 27;\n\tvar BACKSPACE = 8;\n\tvar DELETE = 46;\n\t\n\t/** Coerces a data-bound value (typically a string) to a boolean. */\n\tfunction coerceBooleanProperty(value) {\n\t return value != null && \"\" + value !== 'false';\n\t}\n\t\n\t/** Fade-in speed in pixels per second. Can be modified with the speedFactor option. */\n\tvar RIPPLE_SPEED_PX_PER_SECOND = 170;\n\t/** Fade-out speed for the ripples in milliseconds. This can't be modified by the speedFactor. */\n\tvar RIPPLE_FADE_OUT_DURATION = 600;\n\t/**\n\t * Returns the distance from the point (x, y) to the furthest corner of a rectangle.\n\t */\n\tvar distanceToFurthestCorner = function (x, y, rect) {\n\t var distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));\n\t var distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));\n\t return Math.sqrt(distX * distX + distY * distY);\n\t};\n\t/**\n\t * Helper service that performs DOM manipulations. Not intended to be used outside this module.\n\t * The constructor takes a reference to the ripple directive's host element and a map of DOM\n\t * event handlers to be installed on the element that triggers ripple animations.\n\t * This will eventually become a custom renderer once Angular support exists.\n\t * @docs-private\n\t */\n\tvar RippleRenderer = (function () {\n\t function RippleRenderer(_elementRef, _ngZone, _ruler) {\n\t this._ngZone = _ngZone;\n\t this._ruler = _ruler;\n\t /** Whether the mouse is currently down or not. */\n\t this._isMousedown = false;\n\t /** Currently active ripples that will be closed on mouseup. */\n\t this._activeRipples = [];\n\t /** Events to be registered on the trigger element. */\n\t this._triggerEvents = new Map();\n\t /** Ripple config for all ripples created by events. */\n\t this.rippleConfig = {};\n\t /** Whether mouse ripples should be created or not. */\n\t this.rippleDisabled = false;\n\t this._containerElement = _elementRef.nativeElement;\n\t // Specify events which need to be registered on the trigger.\n\t this._triggerEvents.set('mousedown', this.onMousedown.bind(this));\n\t this._triggerEvents.set('mouseup', this.onMouseup.bind(this));\n\t this._triggerEvents.set('mouseleave', this.onMouseLeave.bind(this));\n\t // By default use the host element as trigger element.\n\t this.setTriggerElement(this._containerElement);\n\t }\n\t /** Fades in a ripple at the given coordinates. */\n\t RippleRenderer.prototype.fadeInRipple = function (pageX, pageY, config) {\n\t var _this = this;\n\t if (config === void 0) { config = {}; }\n\t var containerRect = this._containerElement.getBoundingClientRect();\n\t if (config.centered) {\n\t pageX = containerRect.left + containerRect.width / 2;\n\t pageY = containerRect.top + containerRect.height / 2;\n\t }\n\t else {\n\t // Subtract scroll values from the coordinates because calculations below\n\t // are always relative to the viewport rectangle.\n\t var scrollPosition = this._ruler.getViewportScrollPosition();\n\t pageX -= scrollPosition.left;\n\t pageY -= scrollPosition.top;\n\t }\n\t var radius = config.radius || distanceToFurthestCorner(pageX, pageY, containerRect);\n\t var duration = 1 / (config.speedFactor || 1) * (radius / RIPPLE_SPEED_PX_PER_SECOND);\n\t var offsetX = pageX - containerRect.left;\n\t var offsetY = pageY - containerRect.top;\n\t var ripple = document.createElement('div');\n\t ripple.classList.add('mat-ripple-element');\n\t ripple.style.left = (offsetX - radius) + \"px\";\n\t ripple.style.top = (offsetY - radius) + \"px\";\n\t ripple.style.height = radius * 2 + \"px\";\n\t ripple.style.width = radius * 2 + \"px\";\n\t // If the color is not set, the default CSS color will be used.\n\t ripple.style.backgroundColor = config.color;\n\t ripple.style.transitionDuration = duration + \"s\";\n\t this._containerElement.appendChild(ripple);\n\t // By default the browser does not recalculate the styles of dynamically created\n\t // ripple elements. This is critical because then the `scale` would not animate properly.\n\t this._enforceStyleRecalculation(ripple);\n\t ripple.style.transform = 'scale(1)';\n\t // Wait for the ripple to be faded in. Once it's faded in, the ripple can be hidden immediately\n\t // if the mouse is released.\n\t this.runTimeoutOutsideZone(function () {\n\t _this._isMousedown ? _this._activeRipples.push(ripple) : _this.fadeOutRipple(ripple);\n\t }, duration * 1000);\n\t };\n\t /** Fades out a ripple element. */\n\t RippleRenderer.prototype.fadeOutRipple = function (ripple) {\n\t ripple.style.transitionDuration = RIPPLE_FADE_OUT_DURATION + \"ms\";\n\t ripple.style.opacity = '0';\n\t // Once the ripple faded out, the ripple can be safely removed from the DOM.\n\t this.runTimeoutOutsideZone(function () {\n\t ripple.parentNode.removeChild(ripple);\n\t }, RIPPLE_FADE_OUT_DURATION);\n\t };\n\t /** Sets the trigger element and registers the mouse events. */\n\t RippleRenderer.prototype.setTriggerElement = function (element) {\n\t var _this = this;\n\t // Remove all previously register event listeners from the trigger element.\n\t if (this._triggerElement) {\n\t this._triggerEvents.forEach(function (fn, type) { return _this._triggerElement.removeEventListener(type, fn); });\n\t }\n\t if (element) {\n\t // If the element is not null, register all event listeners on the trigger element.\n\t this._triggerEvents.forEach(function (fn, type) { return element.addEventListener(type, fn); });\n\t }\n\t this._triggerElement = element;\n\t };\n\t /** Listener being called on mousedown event. */\n\t RippleRenderer.prototype.onMousedown = function (event) {\n\t if (this.rippleDisabled) {\n\t return;\n\t }\n\t this._isMousedown = true;\n\t this.fadeInRipple(event.pageX, event.pageY, this.rippleConfig);\n\t };\n\t /** Listener being called on mouseup event. */\n\t RippleRenderer.prototype.onMouseup = function () {\n\t var _this = this;\n\t this._isMousedown = false;\n\t this._activeRipples.forEach(function (ripple) { return _this.fadeOutRipple(ripple); });\n\t this._activeRipples = [];\n\t };\n\t /** Listener being called on mouseleave event. */\n\t RippleRenderer.prototype.onMouseLeave = function () {\n\t if (this._isMousedown) {\n\t this.onMouseup();\n\t }\n\t };\n\t /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */\n\t RippleRenderer.prototype.runTimeoutOutsideZone = function (fn, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t this._ngZone.runOutsideAngular(function () { return setTimeout(fn, delay); });\n\t };\n\t /** Enforces a style recalculation of a DOM element by computing its styles. */\n\t // TODO(devversion): Move into global utility function.\n\t RippleRenderer.prototype._enforceStyleRecalculation = function (element) {\n\t // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.\n\t // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.\n\t // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a\n\t window.getComputedStyle(element).getPropertyValue('opacity');\n\t };\n\t return RippleRenderer;\n\t}());\n\t\n\tvar __decorate$8 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$8 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Time in ms to throttle the scrolling events by default. */\n\tvar DEFAULT_SCROLL_TIME = 20;\n\t/**\n\t * Service contained all registered Scrollable references and emits an event when any one of the\n\t * Scrollable references emit a scrolled event.\n\t */\n\tvar ScrollDispatcher = (function () {\n\t function ScrollDispatcher() {\n\t var _this = this;\n\t /** Subject for notifying that a registered scrollable reference element has been scrolled. */\n\t this._scrolled = new rxjs_Subject.Subject();\n\t /**\n\t * Map of all the scrollable references that are registered with the service and their\n\t * scroll event subscriptions.\n\t */\n\t this.scrollableReferences = new Map();\n\t // By default, notify a scroll event when the document is scrolled or the window is resized.\n\t rxjs_Observable.Observable.fromEvent(window.document, 'scroll').subscribe(function () { return _this._notify(); });\n\t rxjs_Observable.Observable.fromEvent(window, 'resize').subscribe(function () { return _this._notify(); });\n\t }\n\t /**\n\t * Registers a Scrollable with the service and listens for its scrolled events. When the\n\t * scrollable is scrolled, the service emits the event in its scrolled observable.\n\t *\n\t * @param scrollable Scrollable instance to be registered.\n\t */\n\t ScrollDispatcher.prototype.register = function (scrollable) {\n\t var _this = this;\n\t var scrollSubscription = scrollable.elementScrolled().subscribe(function () { return _this._notify(); });\n\t this.scrollableReferences.set(scrollable, scrollSubscription);\n\t };\n\t /**\n\t * Deregisters a Scrollable reference and unsubscribes from its scroll event observable.\n\t *\n\t * @param scrollable Scrollable instance to be deregistered.\n\t */\n\t ScrollDispatcher.prototype.deregister = function (scrollable) {\n\t this.scrollableReferences.get(scrollable).unsubscribe();\n\t this.scrollableReferences.delete(scrollable);\n\t };\n\t /**\n\t * Returns an observable that emits an event whenever any of the registered Scrollable\n\t * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n\t * to override the default \"throttle\" time.\n\t */\n\t ScrollDispatcher.prototype.scrolled = function (auditTimeInMs) {\n\t if (auditTimeInMs === void 0) { auditTimeInMs = DEFAULT_SCROLL_TIME; }\n\t // In the case of a 0ms delay, return the observable without auditTime since it does add\n\t // a perceptible delay in processing overhead.\n\t if (auditTimeInMs == 0) {\n\t return this._scrolled.asObservable();\n\t }\n\t return this._scrolled.asObservable().auditTime(auditTimeInMs);\n\t };\n\t /** Returns all registered Scrollables that contain the provided element. */\n\t ScrollDispatcher.prototype.getScrollContainers = function (elementRef) {\n\t var _this = this;\n\t var scrollingContainers = [];\n\t this.scrollableReferences.forEach(function (subscription, scrollable) {\n\t if (_this.scrollableContainsElement(scrollable, elementRef)) {\n\t scrollingContainers.push(scrollable);\n\t }\n\t });\n\t return scrollingContainers;\n\t };\n\t /** Returns true if the element is contained within the provided Scrollable. */\n\t ScrollDispatcher.prototype.scrollableContainsElement = function (scrollable, elementRef) {\n\t var element = elementRef.nativeElement;\n\t var scrollableElement = scrollable.getElementRef().nativeElement;\n\t // Traverse through the element parents until we reach null, checking if any of the elements\n\t // are the scrollable's element.\n\t do {\n\t if (element == scrollableElement) {\n\t return true;\n\t }\n\t } while (element = element.parentElement);\n\t };\n\t /** Sends a notification that a scroll event has been fired. */\n\t ScrollDispatcher.prototype._notify = function () {\n\t this._scrolled.next();\n\t };\n\t ScrollDispatcher = __decorate$8([\n\t _angular_core.Injectable(), \n\t __metadata$8('design:paramtypes', [])\n\t ], ScrollDispatcher);\n\t return ScrollDispatcher;\n\t}());\n\tfunction SCROLL_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) {\n\t return parentDispatcher || new ScrollDispatcher();\n\t}\n\tvar SCROLL_DISPATCHER_PROVIDER = {\n\t // If there is already a ScrollDispatcher available, use that. Otherwise, provide a new one.\n\t provide: ScrollDispatcher,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), ScrollDispatcher]],\n\t useFactory: SCROLL_DISPATCHER_PROVIDER_FACTORY\n\t};\n\t\n\tvar __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$7 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Simple utility for getting the bounds of the browser viewport.\n\t * @docs-private\n\t */\n\tvar ViewportRuler = (function () {\n\t function ViewportRuler(scrollDispatcher) {\n\t var _this = this;\n\t // Initially cache the document rectangle.\n\t this._cacheViewportGeometry();\n\t // Subscribe to scroll and resize events and update the document rectangle on changes.\n\t scrollDispatcher.scrolled().subscribe(function () { return _this._cacheViewportGeometry(); });\n\t }\n\t /** Gets a ClientRect for the viewport's bounds. */\n\t ViewportRuler.prototype.getViewportRect = function (documentRect) {\n\t if (documentRect === void 0) { documentRect = this._documentRect; }\n\t // Use the document element's bounding rect rather than the window scroll properties\n\t // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n\t // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n\t // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n\t // can disagree when the page is pinch-zoomed (on devices that support touch).\n\t // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n\t // We use the documentElement instead of the body because, by default (without a css reset)\n\t // browsers typically give the document body an 8px margin, which is not included in\n\t // getBoundingClientRect().\n\t var scrollPosition = this.getViewportScrollPosition(documentRect);\n\t var height = window.innerHeight;\n\t var width = window.innerWidth;\n\t return {\n\t top: scrollPosition.top,\n\t left: scrollPosition.left,\n\t bottom: scrollPosition.top + height,\n\t right: scrollPosition.left + width,\n\t height: height,\n\t width: width,\n\t };\n\t };\n\t /**\n\t * Gets the (top, left) scroll position of the viewport.\n\t * @param documentRect\n\t */\n\t ViewportRuler.prototype.getViewportScrollPosition = function (documentRect) {\n\t if (documentRect === void 0) { documentRect = this._documentRect; }\n\t // The top-left-corner of the viewport is determined by the scroll position of the document\n\t // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n\t // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n\t // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n\t // `document.documentElement` works consistently, where the `top` and `left` values will\n\t // equal negative the scroll position.\n\t var top = -documentRect.top || document.body.scrollTop || window.scrollY || 0;\n\t var left = -documentRect.left || document.body.scrollLeft || window.scrollX || 0;\n\t return { top: top, left: left };\n\t };\n\t /** Caches the latest client rectangle of the document element. */\n\t ViewportRuler.prototype._cacheViewportGeometry = function () {\n\t this._documentRect = document.documentElement.getBoundingClientRect();\n\t };\n\t ViewportRuler = __decorate$7([\n\t _angular_core.Injectable(), \n\t __metadata$7('design:paramtypes', [ScrollDispatcher])\n\t ], ViewportRuler);\n\t return ViewportRuler;\n\t}());\n\tfunction VIEWPORT_RULER_PROVIDER_FACTORY(parentRuler, scrollDispatcher) {\n\t return parentRuler || new ViewportRuler(scrollDispatcher);\n\t}\n\tvar VIEWPORT_RULER_PROVIDER = {\n\t // If there is already a ViewportRuler available, use that. Otherwise, provide a new one.\n\t provide: ViewportRuler,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), ViewportRuler], ScrollDispatcher],\n\t useFactory: VIEWPORT_RULER_PROVIDER_FACTORY\n\t};\n\t\n\tvar __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$6 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdRipple = (function () {\n\t function MdRipple(elementRef, ngZone, ruler) {\n\t /**\n\t * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius\n\t * will be the distance from the center of the ripple to the furthest corner of the host element's\n\t * bounding rectangle.\n\t */\n\t this.radius = 0;\n\t /**\n\t * If set, the normal duration of ripple animations is divided by this value. For example,\n\t * setting it to 0.5 will cause the animations to take twice as long.\n\t * A changed speedFactor will not modify the fade-out duration of the ripples.\n\t */\n\t this.speedFactor = 1;\n\t this._rippleRenderer = new RippleRenderer(elementRef, ngZone, ruler);\n\t }\n\t MdRipple.prototype.ngOnChanges = function (changes) {\n\t if (changes['trigger'] && this.trigger) {\n\t this._rippleRenderer.setTriggerElement(this.trigger);\n\t }\n\t this._rippleRenderer.rippleDisabled = this.disabled;\n\t this._updateRippleConfig();\n\t };\n\t MdRipple.prototype.ngOnDestroy = function () {\n\t // Set the trigger element to null to cleanup all listeners.\n\t this._rippleRenderer.setTriggerElement(null);\n\t };\n\t /** Launches a manual ripple at the specified position. */\n\t MdRipple.prototype.launch = function (pageX, pageY, config) {\n\t this._rippleRenderer.fadeInRipple(pageX, pageY, config);\n\t };\n\t /** Updates the ripple configuration with the input values. */\n\t MdRipple.prototype._updateRippleConfig = function () {\n\t this._rippleRenderer.rippleConfig = {\n\t centered: this.centered,\n\t speedFactor: this.speedFactor,\n\t radius: this.radius,\n\t color: this.color\n\t };\n\t };\n\t __decorate$6([\n\t _angular_core.Input('mdRippleTrigger'), \n\t __metadata$6('design:type', Object)\n\t ], MdRipple.prototype, \"trigger\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleCentered'), \n\t __metadata$6('design:type', Boolean)\n\t ], MdRipple.prototype, \"centered\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleDisabled'), \n\t __metadata$6('design:type', Boolean)\n\t ], MdRipple.prototype, \"disabled\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleRadius'), \n\t __metadata$6('design:type', Number)\n\t ], MdRipple.prototype, \"radius\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleSpeedFactor'), \n\t __metadata$6('design:type', Number)\n\t ], MdRipple.prototype, \"speedFactor\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleColor'), \n\t __metadata$6('design:type', String)\n\t ], MdRipple.prototype, \"color\", void 0);\n\t __decorate$6([\n\t _angular_core.Input('mdRippleUnbounded'), \n\t __metadata$6('design:type', Boolean)\n\t ], MdRipple.prototype, \"unbounded\", void 0);\n\t MdRipple = __decorate$6([\n\t _angular_core.Directive({\n\t selector: '[md-ripple], [mat-ripple]',\n\t host: {\n\t '[class.mat-ripple]': 'true',\n\t '[class.mat-ripple-unbounded]': 'unbounded'\n\t }\n\t }), \n\t __metadata$6('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, ViewportRuler])\n\t ], MdRipple);\n\t return MdRipple;\n\t}());\n\tvar MdRippleModule = (function () {\n\t function MdRippleModule() {\n\t }\n\t /** @deprecated */\n\t MdRippleModule.forRoot = function () {\n\t return {\n\t ngModule: MdRippleModule,\n\t providers: []\n\t };\n\t };\n\t MdRippleModule = __decorate$6([\n\t _angular_core.NgModule({\n\t imports: [CompatibilityModule],\n\t exports: [MdRipple, CompatibilityModule],\n\t declarations: [MdRipple],\n\t providers: [VIEWPORT_RULER_PROVIDER, SCROLL_DISPATCHER_PROVIDER],\n\t }), \n\t __metadata$6('design:paramtypes', [])\n\t ], MdRippleModule);\n\t return MdRippleModule;\n\t}());\n\t\n\tvar __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$5 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Option IDs need to be unique across components, so this counter exists outside of\n\t * the component definition.\n\t */\n\tvar _uniqueIdCounter = 0;\n\t/** Event object emitted by MdOption when selected. */\n\tvar MdOptionSelectEvent = (function () {\n\t function MdOptionSelectEvent(source, isUserInput) {\n\t if (isUserInput === void 0) { isUserInput = false; }\n\t this.source = source;\n\t this.isUserInput = isUserInput;\n\t }\n\t return MdOptionSelectEvent;\n\t}());\n\t/**\n\t * Single option inside of a `<md-select>` element.\n\t */\n\tvar MdOption = (function () {\n\t function MdOption(_element, _renderer) {\n\t this._element = _element;\n\t this._renderer = _renderer;\n\t this._selected = false;\n\t this._active = false;\n\t /** Whether the option is disabled. */\n\t this._disabled = false;\n\t this._id = \"md-option-\" + _uniqueIdCounter++;\n\t /** Event emitted when the option is selected. */\n\t this.onSelect = new _angular_core.EventEmitter();\n\t }\n\t Object.defineProperty(MdOption.prototype, \"id\", {\n\t /** The unique ID of the option. */\n\t get: function () { return this._id; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdOption.prototype, \"disabled\", {\n\t /** Whether the option is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdOption.prototype, \"selected\", {\n\t /** Whether or not the option is currently selected. */\n\t get: function () {\n\t return this._selected;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdOption.prototype, \"active\", {\n\t /**\n\t * Whether or not the option is currently active and ready to be selected.\n\t * An active option displays styles as if it is focused, but the\n\t * focus is actually retained somewhere else. This comes in handy\n\t * for components like autocomplete where focus must remain on the input.\n\t */\n\t get: function () {\n\t return this._active;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdOption.prototype, \"viewValue\", {\n\t /**\n\t * The displayed value of the option. It is necessary to show the selected option in the\n\t * select's trigger.\n\t */\n\t get: function () {\n\t // TODO(kara): Add input property alternative for node envs.\n\t return this._getHostElement().textContent.trim();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Selects the option. */\n\t MdOption.prototype.select = function () {\n\t this._selected = true;\n\t this.onSelect.emit(new MdOptionSelectEvent(this, false));\n\t };\n\t /** Deselects the option. */\n\t MdOption.prototype.deselect = function () {\n\t this._selected = false;\n\t };\n\t /** Sets focus onto this option. */\n\t MdOption.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._getHostElement(), 'focus');\n\t };\n\t /**\n\t * This method sets display styles on the option to make it appear\n\t * active. This is used by the ActiveDescendantKeyManager so key\n\t * events will display the proper options as active on arrow key events.\n\t */\n\t MdOption.prototype.setActiveStyles = function () {\n\t var _this = this;\n\t Promise.resolve(null).then(function () { return _this._active = true; });\n\t };\n\t /**\n\t * This method removes display styles on the option that made it appear\n\t * active. This is used by the ActiveDescendantKeyManager so key\n\t * events will display the proper options as active on arrow key events.\n\t */\n\t MdOption.prototype.setInactiveStyles = function () {\n\t var _this = this;\n\t Promise.resolve(null).then(function () { return _this._active = false; });\n\t };\n\t /** Ensures the option is selected when activated from the keyboard. */\n\t MdOption.prototype._handleKeydown = function (event) {\n\t if (event.keyCode === ENTER || event.keyCode === SPACE) {\n\t this._selectViaInteraction();\n\t }\n\t };\n\t /**\n\t * Selects the option while indicating the selection came from the user. Used to\n\t * determine if the select's view -> model callback should be invoked.\n\t */\n\t MdOption.prototype._selectViaInteraction = function () {\n\t if (!this.disabled) {\n\t this._selected = true;\n\t this.onSelect.emit(new MdOptionSelectEvent(this, true));\n\t }\n\t };\n\t /** Returns the correct tabindex for the option depending on disabled state. */\n\t MdOption.prototype._getTabIndex = function () {\n\t return this.disabled ? '-1' : '0';\n\t };\n\t MdOption.prototype._getHostElement = function () {\n\t return this._element.nativeElement;\n\t };\n\t __decorate$5([\n\t _angular_core.Input(), \n\t __metadata$5('design:type', Object)\n\t ], MdOption.prototype, \"value\", void 0);\n\t __decorate$5([\n\t _angular_core.Input(), \n\t __metadata$5('design:type', Object)\n\t ], MdOption.prototype, \"disabled\", null);\n\t __decorate$5([\n\t _angular_core.Output(), \n\t __metadata$5('design:type', Object)\n\t ], MdOption.prototype, \"onSelect\", void 0);\n\t MdOption = __decorate$5([\n\t _angular_core.Component({selector: 'md-option, mat-option',\n\t host: {\n\t 'role': 'option',\n\t '[attr.tabindex]': '_getTabIndex()',\n\t '[class.mat-selected]': 'selected',\n\t '[class.mat-active]': 'active',\n\t '[id]': 'id',\n\t '[attr.aria-selected]': 'selected.toString()',\n\t '[attr.aria-disabled]': 'disabled.toString()',\n\t '[class.mat-option-disabled]': 'disabled',\n\t '(click)': '_selectViaInteraction()',\n\t '(keydown)': '_handleKeydown($event)',\n\t '[class.mat-option]': 'true',\n\t },\n\t template: \"<ng-content></ng-content><div class=\\\"mat-option-ripple\\\" *ngIf=\\\"!disabled\\\" md-ripple [mdRippleTrigger]=\\\"_getHostElement()\\\"></div>\",\n\t encapsulation: _angular_core.ViewEncapsulation.None\n\t }), \n\t __metadata$5('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdOption);\n\t return MdOption;\n\t}());\n\tvar MdOptionModule = (function () {\n\t function MdOptionModule() {\n\t }\n\t MdOptionModule.forRoot = function () {\n\t return {\n\t ngModule: MdOptionModule,\n\t providers: []\n\t };\n\t };\n\t MdOptionModule = __decorate$5([\n\t _angular_core.NgModule({\n\t imports: [MdRippleModule, _angular_common.CommonModule],\n\t exports: [MdOption],\n\t declarations: [MdOption]\n\t }), \n\t __metadata$5('design:paramtypes', [])\n\t ], MdOptionModule);\n\t return MdOptionModule;\n\t}());\n\t\n\t// TODO(kara): Revisit why error messages are not being properly set.\n\tvar __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Wrapper around Error that sets the error message.\n\t * @docs-private\n\t */\n\tvar MdError = (function (_super) {\n\t __extends$3(MdError, _super);\n\t function MdError(value) {\n\t _super.call(this);\n\t this.message = value;\n\t }\n\t return MdError;\n\t}(Error));\n\t\n\tvar __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Exception thrown when attempting to attach a null portal to a host.\n\t * @docs-private\n\t */\n\tvar NullPortalError = (function (_super) {\n\t __extends$2(NullPortalError, _super);\n\t function NullPortalError() {\n\t _super.call(this, 'Must provide a portal to attach');\n\t }\n\t return NullPortalError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to attach a portal to a host that is already attached.\n\t * @docs-private\n\t */\n\tvar PortalAlreadyAttachedError = (function (_super) {\n\t __extends$2(PortalAlreadyAttachedError, _super);\n\t function PortalAlreadyAttachedError() {\n\t _super.call(this, 'Host already has a portal attached');\n\t }\n\t return PortalAlreadyAttachedError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to attach a portal to an already-disposed host.\n\t * @docs-private\n\t */\n\tvar PortalHostAlreadyDisposedError = (function (_super) {\n\t __extends$2(PortalHostAlreadyDisposedError, _super);\n\t function PortalHostAlreadyDisposedError() {\n\t _super.call(this, 'This PortalHost has already been disposed');\n\t }\n\t return PortalHostAlreadyDisposedError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to attach an unknown portal type.\n\t * @docs-private\n\t */\n\tvar UnknownPortalTypeError = (function (_super) {\n\t __extends$2(UnknownPortalTypeError, _super);\n\t function UnknownPortalTypeError() {\n\t _super.call(this, 'Attempting to attach an unknown Portal type. ' +\n\t 'BasePortalHost accepts either a ComponentPortal or a TemplatePortal.');\n\t }\n\t return UnknownPortalTypeError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to attach a portal to a null host.\n\t * @docs-private\n\t */\n\tvar NullPortalHostError = (function (_super) {\n\t __extends$2(NullPortalHostError, _super);\n\t function NullPortalHostError() {\n\t _super.call(this, 'Attempting to attach a portal to a null PortalHost');\n\t }\n\t return NullPortalHostError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to detach a portal that is not attached.\n\t * @docs-private\n\t */\n\tvar NoPortalAttachedError = (function (_super) {\n\t __extends$2(NoPortalAttachedError, _super);\n\t function NoPortalAttachedError() {\n\t _super.call(this, 'Attempting to detach a portal that is not attached to a host');\n\t }\n\t return NoPortalAttachedError;\n\t}(MdError));\n\t\n\tvar __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * A `Portal` is something that you want to render somewhere else.\n\t * It can be attach to / detached from a `PortalHost`.\n\t */\n\tvar Portal = (function () {\n\t function Portal() {\n\t }\n\t /** Attach this portal to a host. */\n\t Portal.prototype.attach = function (host) {\n\t if (host == null) {\n\t throw new NullPortalHostError();\n\t }\n\t if (host.hasAttached()) {\n\t throw new PortalAlreadyAttachedError();\n\t }\n\t this._attachedHost = host;\n\t return host.attach(this);\n\t };\n\t /** Detach this portal from its host */\n\t Portal.prototype.detach = function () {\n\t var host = this._attachedHost;\n\t if (host == null) {\n\t throw new NoPortalAttachedError();\n\t }\n\t this._attachedHost = null;\n\t return host.detach();\n\t };\n\t Object.defineProperty(Portal.prototype, \"isAttached\", {\n\t /** Whether this portal is attached to a host. */\n\t get: function () {\n\t return this._attachedHost != null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Sets the PortalHost reference without performing `attach()`. This is used directly by\n\t * the PortalHost when it is performing an `attach()` or `detach()`.\n\t */\n\t Portal.prototype.setAttachedHost = function (host) {\n\t this._attachedHost = host;\n\t };\n\t return Portal;\n\t}());\n\t/**\n\t * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n\t */\n\tvar ComponentPortal = (function (_super) {\n\t __extends$1(ComponentPortal, _super);\n\t function ComponentPortal(component, viewContainerRef, injector) {\n\t if (viewContainerRef === void 0) { viewContainerRef = null; }\n\t if (injector === void 0) { injector = null; }\n\t _super.call(this);\n\t this.component = component;\n\t this.viewContainerRef = viewContainerRef;\n\t this.injector = injector;\n\t }\n\t return ComponentPortal;\n\t}(Portal));\n\t/**\n\t * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n\t */\n\tvar TemplatePortal = (function (_super) {\n\t __extends$1(TemplatePortal, _super);\n\t function TemplatePortal(template, viewContainerRef) {\n\t _super.call(this);\n\t /**\n\t * Additional locals for the instantiated embedded view.\n\t * These locals can be seen as \"exports\" for the template, such as how ngFor has\n\t * index / event / odd.\n\t * See https://angular.io/docs/ts/latest/api/core/EmbeddedViewRef-class.html\n\t */\n\t this.locals = new Map();\n\t this.templateRef = template;\n\t this.viewContainerRef = viewContainerRef;\n\t }\n\t Object.defineProperty(TemplatePortal.prototype, \"origin\", {\n\t get: function () {\n\t return this.templateRef.elementRef;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t TemplatePortal.prototype.attach = function (host, locals) {\n\t this.locals = locals == null ? new Map() : locals;\n\t return _super.prototype.attach.call(this, host);\n\t };\n\t TemplatePortal.prototype.detach = function () {\n\t this.locals = new Map();\n\t return _super.prototype.detach.call(this);\n\t };\n\t return TemplatePortal;\n\t}(Portal));\n\t/**\n\t * Partial implementation of PortalHost that only deals with attaching either a\n\t * ComponentPortal or a TemplatePortal.\n\t */\n\tvar BasePortalHost = (function () {\n\t function BasePortalHost() {\n\t /** Whether this host has already been permanently disposed. */\n\t this._isDisposed = false;\n\t }\n\t /** Whether this host has an attached portal. */\n\t BasePortalHost.prototype.hasAttached = function () {\n\t return this._attachedPortal != null;\n\t };\n\t BasePortalHost.prototype.attach = function (portal) {\n\t if (portal == null) {\n\t throw new NullPortalError();\n\t }\n\t if (this.hasAttached()) {\n\t throw new PortalAlreadyAttachedError();\n\t }\n\t if (this._isDisposed) {\n\t throw new PortalHostAlreadyDisposedError();\n\t }\n\t if (portal instanceof ComponentPortal) {\n\t this._attachedPortal = portal;\n\t return this.attachComponentPortal(portal);\n\t }\n\t else if (portal instanceof TemplatePortal) {\n\t this._attachedPortal = portal;\n\t return this.attachTemplatePortal(portal);\n\t }\n\t throw new UnknownPortalTypeError();\n\t };\n\t BasePortalHost.prototype.detach = function () {\n\t if (this._attachedPortal) {\n\t this._attachedPortal.setAttachedHost(null);\n\t }\n\t this._attachedPortal = null;\n\t if (this._disposeFn != null) {\n\t this._disposeFn();\n\t this._disposeFn = null;\n\t }\n\t };\n\t BasePortalHost.prototype.dispose = function () {\n\t if (this.hasAttached()) {\n\t this.detach();\n\t }\n\t this._isDisposed = true;\n\t };\n\t BasePortalHost.prototype.setDisposeFn = function (fn) {\n\t this._disposeFn = fn;\n\t };\n\t return BasePortalHost;\n\t}());\n\t\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$9 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$9 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n\t * the directive instance itself can be attached to a host, enabling declarative use of portals.\n\t *\n\t * Usage:\n\t * <template portal #greeting>\n\t * <p> Hello {{name}} </p>\n\t * </template>\n\t */\n\tvar TemplatePortalDirective = (function (_super) {\n\t __extends(TemplatePortalDirective, _super);\n\t function TemplatePortalDirective(templateRef, viewContainerRef) {\n\t _super.call(this, templateRef, viewContainerRef);\n\t }\n\t TemplatePortalDirective = __decorate$9([\n\t _angular_core.Directive({\n\t selector: '[cdk-portal], [portal]',\n\t exportAs: 'cdkPortal',\n\t }), \n\t __metadata$9('design:paramtypes', [_angular_core.TemplateRef, _angular_core.ViewContainerRef])\n\t ], TemplatePortalDirective);\n\t return TemplatePortalDirective;\n\t}(TemplatePortal));\n\t/**\n\t * Directive version of a PortalHost. Because the directive *is* a PortalHost, portals can be\n\t * directly attached to it, enabling declarative use.\n\t *\n\t * Usage:\n\t * <template [cdkPortalHost]=\"greeting\"></template>\n\t */\n\tvar PortalHostDirective = (function (_super) {\n\t __extends(PortalHostDirective, _super);\n\t function PortalHostDirective(_componentFactoryResolver, _viewContainerRef) {\n\t _super.call(this);\n\t this._componentFactoryResolver = _componentFactoryResolver;\n\t this._viewContainerRef = _viewContainerRef;\n\t }\n\t Object.defineProperty(PortalHostDirective.prototype, \"_deprecatedPortal\", {\n\t /** @deprecated */\n\t get: function () { return this.portal; },\n\t set: function (v) { this.portal = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(PortalHostDirective.prototype, \"portal\", {\n\t /** Portal associated with the Portal host. */\n\t get: function () {\n\t return this._portal;\n\t },\n\t set: function (p) {\n\t if (p) {\n\t this._replaceAttachedPortal(p);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t PortalHostDirective.prototype.ngOnDestroy = function () {\n\t this.dispose();\n\t };\n\t /**\n\t * Attach the given ComponentPortal to this PortalHost using the ComponentFactoryResolver.\n\t *\n\t * @param portal Portal to be attached to the portal host.\n\t */\n\t PortalHostDirective.prototype.attachComponentPortal = function (portal) {\n\t portal.setAttachedHost(this);\n\t // If the portal specifies an origin, use that as the logical location of the component\n\t // in the application tree. Otherwise use the location of this PortalHost.\n\t var viewContainerRef = portal.viewContainerRef != null ?\n\t portal.viewContainerRef :\n\t this._viewContainerRef;\n\t var componentFactory = this._componentFactoryResolver.resolveComponentFactory(portal.component);\n\t var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.parentInjector);\n\t this.setDisposeFn(function () { return ref.destroy(); });\n\t return ref;\n\t };\n\t /**\n\t * Attach the given TemplatePortal to this PortlHost as an embedded View.\n\t * @param portal Portal to be attached.\n\t */\n\t PortalHostDirective.prototype.attachTemplatePortal = function (portal) {\n\t var _this = this;\n\t portal.setAttachedHost(this);\n\t this._viewContainerRef.createEmbeddedView(portal.templateRef);\n\t this.setDisposeFn(function () { return _this._viewContainerRef.clear(); });\n\t // TODO(jelbourn): return locals from view\n\t return new Map();\n\t };\n\t /** Detaches the currently attached Portal (if there is one) and attaches the given Portal. */\n\t PortalHostDirective.prototype._replaceAttachedPortal = function (p) {\n\t if (this.hasAttached()) {\n\t this.detach();\n\t }\n\t if (p) {\n\t this.attach(p);\n\t this._portal = p;\n\t }\n\t };\n\t __decorate$9([\n\t _angular_core.Input('portalHost'), \n\t __metadata$9('design:type', Object)\n\t ], PortalHostDirective.prototype, \"_deprecatedPortal\", null);\n\t PortalHostDirective = __decorate$9([\n\t _angular_core.Directive({\n\t selector: '[cdkPortalHost], [portalHost]',\n\t inputs: ['portal: cdkPortalHost']\n\t }), \n\t __metadata$9('design:paramtypes', [_angular_core.ComponentFactoryResolver, _angular_core.ViewContainerRef])\n\t ], PortalHostDirective);\n\t return PortalHostDirective;\n\t}(BasePortalHost));\n\tvar PortalModule = (function () {\n\t function PortalModule() {\n\t }\n\t /** @deprecated */\n\t PortalModule.forRoot = function () {\n\t return {\n\t ngModule: PortalModule,\n\t providers: []\n\t };\n\t };\n\t PortalModule = __decorate$9([\n\t _angular_core.NgModule({\n\t exports: [TemplatePortalDirective, PortalHostDirective],\n\t declarations: [TemplatePortalDirective, PortalHostDirective],\n\t }), \n\t __metadata$9('design:paramtypes', [])\n\t ], PortalModule);\n\t return PortalModule;\n\t}());\n\t\n\t/**\n\t * OverlayState is a bag of values for either the initial configuration or current state of an\n\t * overlay.\n\t */\n\tvar OverlayState = (function () {\n\t function OverlayState() {\n\t /** Whether the overlay has a backdrop. */\n\t this.hasBackdrop = false;\n\t /** Custom class to add to the backdrop **/\n\t this.backdropClass = 'cdk-overlay-dark-backdrop';\n\t /** The direction of the text in the overlay panel. */\n\t this.direction = 'ltr';\n\t }\n\t return OverlayState;\n\t}());\n\t\n\tvar __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * A PortalHost for attaching portals to an arbitrary DOM element outside of the Angular\n\t * application context.\n\t *\n\t * This is the only part of the portal core that directly touches the DOM.\n\t */\n\tvar DomPortalHost = (function (_super) {\n\t __extends$4(DomPortalHost, _super);\n\t function DomPortalHost(_hostDomElement, _componentFactoryResolver, _appRef, _defaultInjector) {\n\t _super.call(this);\n\t this._hostDomElement = _hostDomElement;\n\t this._componentFactoryResolver = _componentFactoryResolver;\n\t this._appRef = _appRef;\n\t this._defaultInjector = _defaultInjector;\n\t }\n\t /**\n\t * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n\t * @param portal Portal to be attached\n\t */\n\t DomPortalHost.prototype.attachComponentPortal = function (portal) {\n\t var _this = this;\n\t var componentFactory = this._componentFactoryResolver.resolveComponentFactory(portal.component);\n\t var componentRef;\n\t // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n\t // for the component (in terms of Angular's component tree, not rendering).\n\t // When the ViewContainerRef is missing, we use the factory to create the component directly\n\t // and then manually attach the view to the application.\n\t if (portal.viewContainerRef) {\n\t componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.parentInjector);\n\t this.setDisposeFn(function () { return componentRef.destroy(); });\n\t }\n\t else {\n\t componentRef = componentFactory.create(portal.injector || this._defaultInjector);\n\t this._appRef.attachView(componentRef.hostView);\n\t this.setDisposeFn(function () {\n\t _this._appRef.detachView(componentRef.hostView);\n\t componentRef.destroy();\n\t });\n\t }\n\t // At this point the component has been instantiated, so we move it to the location in the DOM\n\t // where we want it to be rendered.\n\t this._hostDomElement.appendChild(this._getComponentRootNode(componentRef));\n\t return componentRef;\n\t };\n\t /**\n\t * Attaches a template portal to the DOM as an embedded view.\n\t * @param portal Portal to be attached.\n\t */\n\t DomPortalHost.prototype.attachTemplatePortal = function (portal) {\n\t var _this = this;\n\t var viewContainer = portal.viewContainerRef;\n\t var viewRef = viewContainer.createEmbeddedView(portal.templateRef);\n\t // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n\t // But for the DomPortalHost the view can be added everywhere in the DOM (e.g Overlay Container)\n\t // To move the view to the specified host element. We just re-append the existing root nodes.\n\t viewRef.rootNodes.forEach(function (rootNode) { return _this._hostDomElement.appendChild(rootNode); });\n\t this.setDisposeFn((function () {\n\t var index = viewContainer.indexOf(viewRef);\n\t if (index !== -1) {\n\t viewContainer.remove(index);\n\t }\n\t }));\n\t // TODO(jelbourn): Return locals from view.\n\t return new Map();\n\t };\n\t /**\n\t * Clears out a portal from the DOM.\n\t */\n\t DomPortalHost.prototype.dispose = function () {\n\t _super.prototype.dispose.call(this);\n\t if (this._hostDomElement.parentNode != null) {\n\t this._hostDomElement.parentNode.removeChild(this._hostDomElement);\n\t }\n\t };\n\t /** Gets the root HTMLElement for an instantiated component. */\n\t DomPortalHost.prototype._getComponentRootNode = function (componentRef) {\n\t return componentRef.hostView.rootNodes[0];\n\t };\n\t return DomPortalHost;\n\t}(BasePortalHost));\n\t\n\t/**\n\t * Reference to an overlay that has been created with the Overlay service.\n\t * Used to manipulate or dispose of said overlay.\n\t */\n\tvar OverlayRef = (function () {\n\t function OverlayRef(_portalHost, _pane, _state, _ngZone) {\n\t this._portalHost = _portalHost;\n\t this._pane = _pane;\n\t this._state = _state;\n\t this._ngZone = _ngZone;\n\t this._backdropElement = null;\n\t this._backdropClick = new rxjs_Subject.Subject();\n\t }\n\t Object.defineProperty(OverlayRef.prototype, \"overlayElement\", {\n\t /** The overlay's HTML element */\n\t get: function () {\n\t return this._pane;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Attaches the overlay to a portal instance and adds the backdrop.\n\t * @param portal Portal instance to which to attach the overlay.\n\t * @returns The portal attachment result.\n\t */\n\t OverlayRef.prototype.attach = function (portal) {\n\t if (this._state.hasBackdrop) {\n\t this._attachBackdrop();\n\t }\n\t var attachResult = this._portalHost.attach(portal);\n\t // Update the pane element with the given state configuration.\n\t this.updateSize();\n\t this.updateDirection();\n\t this.updatePosition();\n\t // Enable pointer events for the overlay pane element.\n\t this._togglePointerEvents(true);\n\t return attachResult;\n\t };\n\t /**\n\t * Detaches an overlay from a portal.\n\t * @returns Resolves when the overlay has been detached.\n\t */\n\t OverlayRef.prototype.detach = function () {\n\t this._detachBackdrop();\n\t // When the overlay is detached, the pane element should disable pointer events.\n\t // This is necessary because otherwise the pane element will cover the page and disable\n\t // pointer events therefore. Depends on the position strategy and the applied pane boundaries.\n\t this._togglePointerEvents(false);\n\t return this._portalHost.detach();\n\t };\n\t /**\n\t * Cleans up the overlay from the DOM.\n\t */\n\t OverlayRef.prototype.dispose = function () {\n\t if (this._state.positionStrategy) {\n\t this._state.positionStrategy.dispose();\n\t }\n\t this._detachBackdrop();\n\t this._portalHost.dispose();\n\t };\n\t /**\n\t * Checks whether the overlay has been attached.\n\t */\n\t OverlayRef.prototype.hasAttached = function () {\n\t return this._portalHost.hasAttached();\n\t };\n\t /**\n\t * Returns an observable that emits when the backdrop has been clicked.\n\t */\n\t OverlayRef.prototype.backdropClick = function () {\n\t return this._backdropClick.asObservable();\n\t };\n\t /**\n\t * Gets the current state config of the overlay.\n\t */\n\t OverlayRef.prototype.getState = function () {\n\t return this._state;\n\t };\n\t /** Updates the position of the overlay based on the position strategy. */\n\t OverlayRef.prototype.updatePosition = function () {\n\t if (this._state.positionStrategy) {\n\t this._state.positionStrategy.apply(this._pane);\n\t }\n\t };\n\t /** Updates the text direction of the overlay panel. **/\n\t OverlayRef.prototype.updateDirection = function () {\n\t this._pane.setAttribute('dir', this._state.direction);\n\t };\n\t /** Updates the size of the overlay based on the overlay config. */\n\t OverlayRef.prototype.updateSize = function () {\n\t if (this._state.width || this._state.width === 0) {\n\t this._pane.style.width = formatCssUnit(this._state.width);\n\t }\n\t if (this._state.height || this._state.height === 0) {\n\t this._pane.style.height = formatCssUnit(this._state.height);\n\t }\n\t if (this._state.minWidth || this._state.minWidth === 0) {\n\t this._pane.style.minWidth = formatCssUnit(this._state.minWidth);\n\t }\n\t if (this._state.minHeight || this._state.minHeight === 0) {\n\t this._pane.style.minHeight = formatCssUnit(this._state.minHeight);\n\t }\n\t };\n\t /** Toggles the pointer events for the overlay pane element. */\n\t OverlayRef.prototype._togglePointerEvents = function (enablePointer) {\n\t this._pane.style.pointerEvents = enablePointer ? 'auto' : 'none';\n\t };\n\t /** Attaches a backdrop for this overlay. */\n\t OverlayRef.prototype._attachBackdrop = function () {\n\t var _this = this;\n\t this._backdropElement = document.createElement('div');\n\t this._backdropElement.classList.add('cdk-overlay-backdrop');\n\t this._backdropElement.classList.add(this._state.backdropClass);\n\t // Insert the backdrop before the pane in the DOM order,\n\t // in order to handle stacked overlays properly.\n\t this._pane.parentElement.insertBefore(this._backdropElement, this._pane);\n\t // Forward backdrop clicks such that the consumer of the overlay can perform whatever\n\t // action desired when such a click occurs (usually closing the overlay).\n\t this._backdropElement.addEventListener('click', function () { return _this._backdropClick.next(null); });\n\t // Add class to fade-in the backdrop after one frame.\n\t requestAnimationFrame(function () {\n\t if (_this._backdropElement) {\n\t _this._backdropElement.classList.add('cdk-overlay-backdrop-showing');\n\t }\n\t });\n\t };\n\t /** Detaches the backdrop (if any) associated with the overlay. */\n\t OverlayRef.prototype._detachBackdrop = function () {\n\t var _this = this;\n\t var backdropToDetach = this._backdropElement;\n\t if (backdropToDetach) {\n\t var finishDetach_1 = function () {\n\t // It may not be attached to anything in certain cases (e.g. unit tests).\n\t if (backdropToDetach && backdropToDetach.parentNode) {\n\t backdropToDetach.parentNode.removeChild(backdropToDetach);\n\t }\n\t // It is possible that a new portal has been attached to this overlay since we started\n\t // removing the backdrop. If that is the case, only clear the backdrop reference if it\n\t // is still the same instance that we started to remove.\n\t if (_this._backdropElement == backdropToDetach) {\n\t _this._backdropElement = null;\n\t }\n\t };\n\t backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');\n\t backdropToDetach.classList.remove(this._state.backdropClass);\n\t backdropToDetach.addEventListener('transitionend', finishDetach_1);\n\t // If the backdrop doesn't have a transition, the `transitionend` event won't fire.\n\t // In this case we make it unclickable and we try to remove it after a delay.\n\t backdropToDetach.style.pointerEvents = 'none';\n\t // Run this outside the Angular zone because there's nothing that Angular cares about.\n\t // If it were to run inside the Angular zone, every test that used Overlay would have to be\n\t // either async or fakeAsync.\n\t this._ngZone.runOutsideAngular(function () {\n\t setTimeout(finishDetach_1, 500);\n\t });\n\t }\n\t };\n\t return OverlayRef;\n\t}());\n\tfunction formatCssUnit(value) {\n\t return typeof value === 'string' ? value : value + \"px\";\n\t}\n\t\n\tvar __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$13 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$2 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/** The points of the origin element and the overlay element to connect. */\n\tvar ConnectionPositionPair = (function () {\n\t function ConnectionPositionPair(origin, overlay) {\n\t this.originX = origin.originX;\n\t this.originY = origin.originY;\n\t this.overlayX = overlay.overlayX;\n\t this.overlayY = overlay.overlayY;\n\t }\n\t return ConnectionPositionPair;\n\t}());\n\t/**\n\t * Set of properties regarding the position of the origin and overlay relative to the viewport\n\t * with respect to the containing Scrollable elements.\n\t *\n\t * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the\n\t * bounds of any one of the strategy's Scrollable's bounding client rectangle.\n\t *\n\t * The overlay and origin are outside view if there is no overlap between their bounding client\n\t * rectangle and any one of the strategy's Scrollable's bounding client rectangle.\n\t *\n\t * ----------- -----------\n\t * | outside | | clipped |\n\t * | view | --------------------------\n\t * | | | | | |\n\t * ---------- | ----------- |\n\t * -------------------------- | |\n\t * | | | Scrollable |\n\t * | | | |\n\t * | | --------------------------\n\t * | Scrollable |\n\t * | |\n\t * --------------------------\n\t */\n\tvar ScrollableViewProperties = (function () {\n\t function ScrollableViewProperties() {\n\t }\n\t return ScrollableViewProperties;\n\t}());\n\t/** The change event emitted by the strategy when a fallback position is used. */\n\tvar ConnectedOverlayPositionChange = (function () {\n\t function ConnectedOverlayPositionChange(connectionPair, scrollableViewProperties) {\n\t this.connectionPair = connectionPair;\n\t this.scrollableViewProperties = scrollableViewProperties;\n\t }\n\t ConnectedOverlayPositionChange = __decorate$13([\n\t __param$2(1, _angular_core.Optional()), \n\t __metadata$13('design:paramtypes', [ConnectionPositionPair, ScrollableViewProperties])\n\t ], ConnectedOverlayPositionChange);\n\t return ConnectedOverlayPositionChange;\n\t}());\n\t\n\t/**\n\t * A strategy for positioning overlays. Using this strategy, an overlay is given an\n\t * implicit position relative some origin element. The relative position is defined in terms of\n\t * a point on the origin element that is connected to a point on the overlay element. For example,\n\t * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n\t * of the overlay.\n\t */\n\tvar ConnectedPositionStrategy = (function () {\n\t function ConnectedPositionStrategy(_connectedTo, _originPos, _overlayPos, _viewportRuler) {\n\t this._connectedTo = _connectedTo;\n\t this._originPos = _originPos;\n\t this._overlayPos = _overlayPos;\n\t this._viewportRuler = _viewportRuler;\n\t this._dir = 'ltr';\n\t /** The offset in pixels for the overlay connection point on the x-axis */\n\t this._offsetX = 0;\n\t /** The offset in pixels for the overlay connection point on the y-axis */\n\t this._offsetY = 0;\n\t /** The Scrollable containers used to check scrollable view properties on position change. */\n\t this.scrollables = [];\n\t /** Ordered list of preferred positions, from most to least desirable. */\n\t this._preferredPositions = [];\n\t this._onPositionChange = new rxjs_Subject.Subject();\n\t this._origin = this._connectedTo.nativeElement;\n\t this.withFallbackPosition(_originPos, _overlayPos);\n\t }\n\t Object.defineProperty(ConnectedPositionStrategy.prototype, \"_isRtl\", {\n\t /** Whether the we're dealing with an RTL context */\n\t get: function () {\n\t return this._dir === 'rtl';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedPositionStrategy.prototype, \"onPositionChange\", {\n\t /** Emits an event when the connection point changes. */\n\t get: function () {\n\t return this._onPositionChange.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedPositionStrategy.prototype, \"positions\", {\n\t /** Ordered list of preferred positions, from most to least desirable. */\n\t get: function () {\n\t return this._preferredPositions;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * To be used to for any cleanup after the element gets destroyed.\n\t */\n\t ConnectedPositionStrategy.prototype.dispose = function () { };\n\t /**\n\t * Updates the position of the overlay element, using whichever preferred position relative\n\t * to the origin fits on-screen.\n\t * @docs-private\n\t *\n\t * @param element Element to which to apply the CSS styles.\n\t * @returns Resolves when the styles have been applied.\n\t */\n\t ConnectedPositionStrategy.prototype.apply = function (element) {\n\t // Cache the overlay pane element in case re-calculating position is necessary\n\t this._pane = element;\n\t // We need the bounding rects for the origin and the overlay to determine how to position\n\t // the overlay relative to the origin.\n\t var originRect = this._origin.getBoundingClientRect();\n\t var overlayRect = element.getBoundingClientRect();\n\t // We use the viewport rect to determine whether a position would go off-screen.\n\t var viewportRect = this._viewportRuler.getViewportRect();\n\t // Fallback point if none of the fallbacks fit into the viewport.\n\t var fallbackPoint = null;\n\t // We want to place the overlay in the first of the preferred positions such that the\n\t // overlay fits on-screen.\n\t for (var _i = 0, _a = this._preferredPositions; _i < _a.length; _i++) {\n\t var pos = _a[_i];\n\t // Get the (x, y) point of connection on the origin, and then use that to get the\n\t // (top, left) coordinate for the overlay at `pos`.\n\t var originPoint = this._getOriginConnectionPoint(originRect, pos);\n\t var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, viewportRect, pos);\n\t // If the overlay in the calculated position fits on-screen, put it there and we're done.\n\t if (overlayPoint.fitsInViewport) {\n\t this._setElementPosition(element, overlayPoint);\n\t // Save the last connected position in case the position needs to be re-calculated.\n\t this._lastConnectedPosition = pos;\n\t // Notify that the position has been changed along with its change properties.\n\t var scrollableViewProperties = this.getScrollableViewProperties(element);\n\t var positionChange = new ConnectedOverlayPositionChange(pos, scrollableViewProperties);\n\t this._onPositionChange.next(positionChange);\n\t return Promise.resolve(null);\n\t }\n\t else if (!fallbackPoint || fallbackPoint.visibleArea < overlayPoint.visibleArea) {\n\t fallbackPoint = overlayPoint;\n\t }\n\t }\n\t // If none of the preferred positions were in the viewport, take the one\n\t // with the largest visible area.\n\t this._setElementPosition(element, fallbackPoint);\n\t return Promise.resolve(null);\n\t };\n\t /**\n\t * This re-aligns the overlay element with the trigger in its last calculated position,\n\t * even if a position higher in the \"preferred positions\" list would now fit. This\n\t * allows one to re-align the panel without changing the orientation of the panel.\n\t */\n\t ConnectedPositionStrategy.prototype.recalculateLastPosition = function () {\n\t var originRect = this._origin.getBoundingClientRect();\n\t var overlayRect = this._pane.getBoundingClientRect();\n\t var viewportRect = this._viewportRuler.getViewportRect();\n\t var originPoint = this._getOriginConnectionPoint(originRect, this._lastConnectedPosition);\n\t var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, viewportRect, this._lastConnectedPosition);\n\t this._setElementPosition(this._pane, overlayPoint);\n\t };\n\t /**\n\t * Sets the list of Scrollable containers that host the origin element so that\n\t * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n\t * Scrollable must be an ancestor element of the strategy's origin element.\n\t */\n\t ConnectedPositionStrategy.prototype.withScrollableContainers = function (scrollables) {\n\t this.scrollables = scrollables;\n\t };\n\t /**\n\t * Adds a new preferred fallback position.\n\t * @param originPos\n\t * @param overlayPos\n\t */\n\t ConnectedPositionStrategy.prototype.withFallbackPosition = function (originPos, overlayPos) {\n\t this._preferredPositions.push(new ConnectionPositionPair(originPos, overlayPos));\n\t return this;\n\t };\n\t /**\n\t * Sets the layout direction so the overlay's position can be adjusted to match.\n\t * @param dir New layout direction.\n\t */\n\t ConnectedPositionStrategy.prototype.withDirection = function (dir) {\n\t this._dir = dir;\n\t return this;\n\t };\n\t /**\n\t * Sets an offset for the overlay's connection point on the x-axis\n\t * @param offset New offset in the X axis.\n\t */\n\t ConnectedPositionStrategy.prototype.withOffsetX = function (offset) {\n\t this._offsetX = offset;\n\t return this;\n\t };\n\t /**\n\t * Sets an offset for the overlay's connection point on the y-axis\n\t * @param offset New offset in the Y axis.\n\t */\n\t ConnectedPositionStrategy.prototype.withOffsetY = function (offset) {\n\t this._offsetY = offset;\n\t return this;\n\t };\n\t /**\n\t * Gets the horizontal (x) \"start\" dimension based on whether the overlay is in an RTL context.\n\t * @param rect\n\t */\n\t ConnectedPositionStrategy.prototype._getStartX = function (rect) {\n\t return this._isRtl ? rect.right : rect.left;\n\t };\n\t /**\n\t * Gets the horizontal (x) \"end\" dimension based on whether the overlay is in an RTL context.\n\t * @param rect\n\t */\n\t ConnectedPositionStrategy.prototype._getEndX = function (rect) {\n\t return this._isRtl ? rect.left : rect.right;\n\t };\n\t /**\n\t * Gets the (x, y) coordinate of a connection point on the origin based on a relative position.\n\t * @param originRect\n\t * @param pos\n\t */\n\t ConnectedPositionStrategy.prototype._getOriginConnectionPoint = function (originRect, pos) {\n\t var originStartX = this._getStartX(originRect);\n\t var originEndX = this._getEndX(originRect);\n\t var x;\n\t if (pos.originX == 'center') {\n\t x = originStartX + (originRect.width / 2);\n\t }\n\t else {\n\t x = pos.originX == 'start' ? originStartX : originEndX;\n\t }\n\t var y;\n\t if (pos.originY == 'center') {\n\t y = originRect.top + (originRect.height / 2);\n\t }\n\t else {\n\t y = pos.originY == 'top' ? originRect.top : originRect.bottom;\n\t }\n\t return { x: x, y: y };\n\t };\n\t /**\n\t * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and\n\t * origin point to which the overlay should be connected, as well as how much of the element\n\t * would be inside the viewport at that position.\n\t */\n\t ConnectedPositionStrategy.prototype._getOverlayPoint = function (originPoint, overlayRect, viewportRect, pos) {\n\t // Calculate the (overlayStartX, overlayStartY), the start of the potential overlay position\n\t // relative to the origin point.\n\t var overlayStartX;\n\t if (pos.overlayX == 'center') {\n\t overlayStartX = -overlayRect.width / 2;\n\t }\n\t else if (pos.overlayX === 'start') {\n\t overlayStartX = this._isRtl ? -overlayRect.width : 0;\n\t }\n\t else {\n\t overlayStartX = this._isRtl ? 0 : -overlayRect.width;\n\t }\n\t var overlayStartY;\n\t if (pos.overlayY == 'center') {\n\t overlayStartY = -overlayRect.height / 2;\n\t }\n\t else {\n\t overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height;\n\t }\n\t // The (x, y) coordinates of the overlay.\n\t var x = originPoint.x + overlayStartX + this._offsetX;\n\t var y = originPoint.y + overlayStartY + this._offsetY;\n\t // How much the overlay would overflow at this position, on each side.\n\t var leftOverflow = 0 - x;\n\t var rightOverflow = (x + overlayRect.width) - viewportRect.width;\n\t var topOverflow = 0 - y;\n\t var bottomOverflow = (y + overlayRect.height) - viewportRect.height;\n\t // Visible parts of the element on each axis.\n\t var visibleWidth = this._subtractOverflows(overlayRect.width, leftOverflow, rightOverflow);\n\t var visibleHeight = this._subtractOverflows(overlayRect.height, topOverflow, bottomOverflow);\n\t // The area of the element that's within the viewport.\n\t var visibleArea = visibleWidth * visibleHeight;\n\t var fitsInViewport = (overlayRect.width * overlayRect.height) === visibleArea;\n\t return { x: x, y: y, fitsInViewport: fitsInViewport, visibleArea: visibleArea };\n\t };\n\t /**\n\t * Gets the view properties of the trigger and overlay, including whether they are clipped\n\t * or completely outside the view of any of the strategy's scrollables.\n\t */\n\t ConnectedPositionStrategy.prototype.getScrollableViewProperties = function (overlay) {\n\t var _this = this;\n\t var originBounds = this._getElementBounds(this._origin);\n\t var overlayBounds = this._getElementBounds(overlay);\n\t var scrollContainerBounds = this.scrollables.map(function (scrollable) {\n\t return _this._getElementBounds(scrollable.getElementRef().nativeElement);\n\t });\n\t return {\n\t isOriginClipped: this.isElementClipped(originBounds, scrollContainerBounds),\n\t isOriginOutsideView: this.isElementOutsideView(originBounds, scrollContainerBounds),\n\t isOverlayClipped: this.isElementClipped(overlayBounds, scrollContainerBounds),\n\t isOverlayOutsideView: this.isElementOutsideView(overlayBounds, scrollContainerBounds),\n\t };\n\t };\n\t /** Whether the element is completely out of the view of any of the containers. */\n\t ConnectedPositionStrategy.prototype.isElementOutsideView = function (elementBounds, containersBounds) {\n\t return containersBounds.some(function (containerBounds) {\n\t var outsideAbove = elementBounds.bottom < containerBounds.top;\n\t var outsideBelow = elementBounds.top > containerBounds.bottom;\n\t var outsideLeft = elementBounds.right < containerBounds.left;\n\t var outsideRight = elementBounds.left > containerBounds.right;\n\t return outsideAbove || outsideBelow || outsideLeft || outsideRight;\n\t });\n\t };\n\t /** Whether the element is clipped by any of the containers. */\n\t ConnectedPositionStrategy.prototype.isElementClipped = function (elementBounds, containersBounds) {\n\t return containersBounds.some(function (containerBounds) {\n\t var clippedAbove = elementBounds.top < containerBounds.top;\n\t var clippedBelow = elementBounds.bottom > containerBounds.bottom;\n\t var clippedLeft = elementBounds.left < containerBounds.left;\n\t var clippedRight = elementBounds.right > containerBounds.right;\n\t return clippedAbove || clippedBelow || clippedLeft || clippedRight;\n\t });\n\t };\n\t /**\n\t * Physically positions the overlay element to the given coordinate.\n\t * @param element\n\t * @param overlayPoint\n\t */\n\t ConnectedPositionStrategy.prototype._setElementPosition = function (element, overlayPoint) {\n\t element.style.left = overlayPoint.x + 'px';\n\t element.style.top = overlayPoint.y + 'px';\n\t };\n\t /** Returns the bounding positions of the provided element with respect to the viewport. */\n\t ConnectedPositionStrategy.prototype._getElementBounds = function (element) {\n\t var boundingClientRect = element.getBoundingClientRect();\n\t return {\n\t top: boundingClientRect.top,\n\t right: boundingClientRect.left + boundingClientRect.width,\n\t bottom: boundingClientRect.top + boundingClientRect.height,\n\t left: boundingClientRect.left\n\t };\n\t };\n\t /**\n\t * Subtracts the amount that an element is overflowing on an axis from it's length.\n\t */\n\t ConnectedPositionStrategy.prototype._subtractOverflows = function (length) {\n\t var overflows = [];\n\t for (var _i = 1; _i < arguments.length; _i++) {\n\t overflows[_i - 1] = arguments[_i];\n\t }\n\t return overflows.reduce(function (currentValue, currentOverflow) {\n\t return currentValue - Math.max(currentOverflow, 0);\n\t }, length);\n\t };\n\t return ConnectedPositionStrategy;\n\t}());\n\t\n\t/**\n\t * A strategy for positioning overlays. Using this strategy, an overlay is given an\n\t * explicit position relative to the browser's viewport. We use flexbox, instead of\n\t * transforms, in order to avoid issues with subpixel rendering which can cause the\n\t * element to become blurry.\n\t */\n\tvar GlobalPositionStrategy = (function () {\n\t function GlobalPositionStrategy() {\n\t this._cssPosition = 'static';\n\t this._topOffset = '';\n\t this._bottomOffset = '';\n\t this._leftOffset = '';\n\t this._rightOffset = '';\n\t this._alignItems = '';\n\t this._justifyContent = '';\n\t this._width = '';\n\t this._height = '';\n\t }\n\t /**\n\t * Sets the top position of the overlay. Clears any previously set vertical position.\n\t * @param value New top offset.\n\t */\n\t GlobalPositionStrategy.prototype.top = function (value) {\n\t this._bottomOffset = '';\n\t this._topOffset = value;\n\t this._alignItems = 'flex-start';\n\t return this;\n\t };\n\t /**\n\t * Sets the left position of the overlay. Clears any previously set horizontal position.\n\t * @param value New left offset.\n\t */\n\t GlobalPositionStrategy.prototype.left = function (value) {\n\t this._rightOffset = '';\n\t this._leftOffset = value;\n\t this._justifyContent = 'flex-start';\n\t return this;\n\t };\n\t /**\n\t * Sets the bottom position of the overlay. Clears any previously set vertical position.\n\t * @param value New bottom offset.\n\t */\n\t GlobalPositionStrategy.prototype.bottom = function (value) {\n\t this._topOffset = '';\n\t this._bottomOffset = value;\n\t this._alignItems = 'flex-end';\n\t return this;\n\t };\n\t /**\n\t * Sets the right position of the overlay. Clears any previously set horizontal position.\n\t * @param value New right offset.\n\t */\n\t GlobalPositionStrategy.prototype.right = function (value) {\n\t this._leftOffset = '';\n\t this._rightOffset = value;\n\t this._justifyContent = 'flex-end';\n\t return this;\n\t };\n\t /**\n\t * Sets the overlay width and clears any previously set width.\n\t * @param value New width for the overlay\n\t */\n\t GlobalPositionStrategy.prototype.width = function (value) {\n\t this._width = value;\n\t // When the width is 100%, we should reset the `left` and the offset,\n\t // in order to ensure that the element is flush against the viewport edge.\n\t if (value === '100%') {\n\t this.left('0px');\n\t }\n\t return this;\n\t };\n\t /**\n\t * Sets the overlay height and clears any previously set height.\n\t * @param value New height for the overlay\n\t */\n\t GlobalPositionStrategy.prototype.height = function (value) {\n\t this._height = value;\n\t // When the height is 100%, we should reset the `top` and the offset,\n\t // in order to ensure that the element is flush against the viewport edge.\n\t if (value === '100%') {\n\t this.top('0px');\n\t }\n\t return this;\n\t };\n\t /**\n\t * Centers the overlay horizontally with an optional offset.\n\t * Clears any previously set horizontal position.\n\t *\n\t * @param offset Overlay offset from the horizontal center.\n\t */\n\t GlobalPositionStrategy.prototype.centerHorizontally = function (offset) {\n\t if (offset === void 0) { offset = ''; }\n\t this.left(offset);\n\t this._justifyContent = 'center';\n\t return this;\n\t };\n\t /**\n\t * Centers the overlay vertically with an optional offset.\n\t * Clears any previously set vertical position.\n\t *\n\t * @param offset Overlay offset from the vertical center.\n\t */\n\t GlobalPositionStrategy.prototype.centerVertically = function (offset) {\n\t if (offset === void 0) { offset = ''; }\n\t this.top(offset);\n\t this._alignItems = 'center';\n\t return this;\n\t };\n\t /**\n\t * Apply the position to the element.\n\t * @docs-private\n\t *\n\t * @param element Element to which to apply the CSS.\n\t * @returns Resolved when the styles have been applied.\n\t */\n\t GlobalPositionStrategy.prototype.apply = function (element) {\n\t if (!this._wrapper) {\n\t this._wrapper = document.createElement('div');\n\t this._wrapper.classList.add('cdk-global-overlay-wrapper');\n\t element.parentNode.insertBefore(this._wrapper, element);\n\t this._wrapper.appendChild(element);\n\t }\n\t var styles = element.style;\n\t var parentStyles = element.parentNode.style;\n\t styles.position = this._cssPosition;\n\t styles.marginTop = this._topOffset;\n\t styles.marginLeft = this._leftOffset;\n\t styles.marginBottom = this._bottomOffset;\n\t styles.marginRight = this._rightOffset;\n\t styles.width = this._width;\n\t styles.height = this._height;\n\t parentStyles.justifyContent = this._justifyContent;\n\t parentStyles.alignItems = this._alignItems;\n\t return Promise.resolve(null);\n\t };\n\t /**\n\t * Removes the wrapper element from the DOM.\n\t */\n\t GlobalPositionStrategy.prototype.dispose = function () {\n\t if (this._wrapper && this._wrapper.parentNode) {\n\t this._wrapper.parentNode.removeChild(this._wrapper);\n\t this._wrapper = null;\n\t }\n\t };\n\t return GlobalPositionStrategy;\n\t}());\n\t\n\tvar __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$12 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Builder for overlay position strategy. */\n\tvar OverlayPositionBuilder = (function () {\n\t function OverlayPositionBuilder(_viewportRuler) {\n\t this._viewportRuler = _viewportRuler;\n\t }\n\t /**\n\t * Creates a global position strategy.\n\t */\n\t OverlayPositionBuilder.prototype.global = function () {\n\t return new GlobalPositionStrategy();\n\t };\n\t /**\n\t * Creates a relative position strategy.\n\t * @param elementRef\n\t * @param originPos\n\t * @param overlayPos\n\t */\n\t OverlayPositionBuilder.prototype.connectedTo = function (elementRef, originPos, overlayPos) {\n\t return new ConnectedPositionStrategy(elementRef, originPos, overlayPos, this._viewportRuler);\n\t };\n\t OverlayPositionBuilder = __decorate$12([\n\t _angular_core.Injectable(), \n\t __metadata$12('design:paramtypes', [ViewportRuler])\n\t ], OverlayPositionBuilder);\n\t return OverlayPositionBuilder;\n\t}());\n\t\n\tvar __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$14 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * The OverlayContainer is the container in which all overlays will load.\n\t * It should be provided in the root component to ensure it is properly shared.\n\t */\n\tvar OverlayContainer = (function () {\n\t function OverlayContainer() {\n\t }\n\t /**\n\t * This method returns the overlay container element. It will lazily\n\t * create the element the first time it is called to facilitate using\n\t * the container in non-browser environments.\n\t * @returns the container element\n\t */\n\t OverlayContainer.prototype.getContainerElement = function () {\n\t if (!this._containerElement) {\n\t this._createContainer();\n\t }\n\t return this._containerElement;\n\t };\n\t /**\n\t * Create the overlay container element, which is simply a div\n\t * with the 'cdk-overlay-container' class on the document body.\n\t */\n\t OverlayContainer.prototype._createContainer = function () {\n\t var container = document.createElement('div');\n\t container.classList.add('cdk-overlay-container');\n\t document.body.appendChild(container);\n\t this._containerElement = container;\n\t };\n\t OverlayContainer = __decorate$14([\n\t _angular_core.Injectable(), \n\t __metadata$14('design:paramtypes', [])\n\t ], OverlayContainer);\n\t return OverlayContainer;\n\t}());\n\tfunction OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer) {\n\t return parentContainer || new OverlayContainer();\n\t}\n\t\n\tvar OVERLAY_CONTAINER_PROVIDER = {\n\t // If there is already an OverlayContainer available, use that. Otherwise, provide a new one.\n\t provide: OverlayContainer,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), OverlayContainer]],\n\t useFactory: OVERLAY_CONTAINER_PROVIDER_FACTORY\n\t};\n\t\n\tvar __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$11 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Next overlay unique ID. */\n\tvar nextUniqueId = 0;\n\t/** The default state for newly created overlays. */\n\tvar defaultState = new OverlayState();\n\t/**\n\t * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n\t * used as a low-level building building block for other components. Dialogs, tooltips, menus,\n\t * selects, etc. can all be built using overlays. The service should primarily be used by authors\n\t * of re-usable components rather than developers building end-user applications.\n\t *\n\t * An overlay *is* a PortalHost, so any kind of Portal can be loaded into one.\n\t */\n\tvar Overlay = (function () {\n\t function Overlay(_overlayContainer, _componentFactoryResolver, _positionBuilder, _appRef, _injector, _ngZone) {\n\t this._overlayContainer = _overlayContainer;\n\t this._componentFactoryResolver = _componentFactoryResolver;\n\t this._positionBuilder = _positionBuilder;\n\t this._appRef = _appRef;\n\t this._injector = _injector;\n\t this._ngZone = _ngZone;\n\t }\n\t /**\n\t * Creates an overlay.\n\t * @param state State to apply to the overlay.\n\t * @returns Reference to the created overlay.\n\t */\n\t Overlay.prototype.create = function (state$$1) {\n\t if (state$$1 === void 0) { state$$1 = defaultState; }\n\t return this._createOverlayRef(this._createPaneElement(), state$$1);\n\t };\n\t /**\n\t * Returns a position builder that can be used, via fluent API,\n\t * to construct and configure a position strategy.\n\t */\n\t Overlay.prototype.position = function () {\n\t return this._positionBuilder;\n\t };\n\t /**\n\t * Creates the DOM element for an overlay and appends it to the overlay container.\n\t * @returns Newly-created pane element\n\t */\n\t Overlay.prototype._createPaneElement = function () {\n\t var pane = document.createElement('div');\n\t pane.id = \"cdk-overlay-\" + nextUniqueId++;\n\t pane.classList.add('cdk-overlay-pane');\n\t this._overlayContainer.getContainerElement().appendChild(pane);\n\t return pane;\n\t };\n\t /**\n\t * Create a DomPortalHost into which the overlay content can be loaded.\n\t * @param pane The DOM element to turn into a portal host.\n\t * @returns A portal host for the given DOM element.\n\t */\n\t Overlay.prototype._createPortalHost = function (pane) {\n\t return new DomPortalHost(pane, this._componentFactoryResolver, this._appRef, this._injector);\n\t };\n\t /**\n\t * Creates an OverlayRef for an overlay in the given DOM element.\n\t * @param pane DOM element for the overlay\n\t * @param state\n\t */\n\t Overlay.prototype._createOverlayRef = function (pane, state$$1) {\n\t return new OverlayRef(this._createPortalHost(pane), pane, state$$1, this._ngZone);\n\t };\n\t Overlay = __decorate$11([\n\t _angular_core.Injectable(), \n\t __metadata$11('design:paramtypes', [OverlayContainer, _angular_core.ComponentFactoryResolver, OverlayPositionBuilder, _angular_core.ApplicationRef, _angular_core.Injector, _angular_core.NgZone])\n\t ], Overlay);\n\t return Overlay;\n\t}());\n\t/** Providers for Overlay and its related injectables. */\n\tvar OVERLAY_PROVIDERS = [\n\t Overlay,\n\t OverlayPositionBuilder,\n\t VIEWPORT_RULER_PROVIDER,\n\t SCROLL_DISPATCHER_PROVIDER,\n\t OVERLAY_CONTAINER_PROVIDER,\n\t];\n\t\n\tvar __decorate$15 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$15 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Sends an event when the directive's element is scrolled. Registers itself with the\n\t * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n\t * can be listened to through the service.\n\t */\n\tvar Scrollable = (function () {\n\t function Scrollable(_elementRef, _scroll) {\n\t this._elementRef = _elementRef;\n\t this._scroll = _scroll;\n\t }\n\t Scrollable.prototype.ngOnInit = function () {\n\t this._scroll.register(this);\n\t };\n\t Scrollable.prototype.ngOnDestroy = function () {\n\t this._scroll.deregister(this);\n\t };\n\t /**\n\t * Returns observable that emits when a scroll event is fired on the host element.\n\t */\n\t Scrollable.prototype.elementScrolled = function () {\n\t return rxjs_Observable.Observable.fromEvent(this._elementRef.nativeElement, 'scroll');\n\t };\n\t Scrollable.prototype.getElementRef = function () {\n\t return this._elementRef;\n\t };\n\t Scrollable = __decorate$15([\n\t _angular_core.Directive({\n\t selector: '[cdk-scrollable]'\n\t }), \n\t __metadata$15('design:paramtypes', [_angular_core.ElementRef, ScrollDispatcher])\n\t ], Scrollable);\n\t return Scrollable;\n\t}());\n\t\n\tvar __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$10 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$1 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/** Default set of positions for the overlay. Follows the behavior of a dropdown. */\n\tvar defaultPositionList = [\n\t new ConnectionPositionPair({ originX: 'start', originY: 'bottom' }, { overlayX: 'start', overlayY: 'top' }),\n\t new ConnectionPositionPair({ originX: 'start', originY: 'top' }, { overlayX: 'start', overlayY: 'bottom' }),\n\t];\n\t/**\n\t * Directive applied to an element to make it usable as an origin for an Overlay using a\n\t * ConnectedPositionStrategy.\n\t */\n\tvar OverlayOrigin = (function () {\n\t function OverlayOrigin(elementRef) {\n\t this.elementRef = elementRef;\n\t }\n\t OverlayOrigin = __decorate$10([\n\t _angular_core.Directive({\n\t selector: '[cdk-overlay-origin], [overlay-origin]',\n\t exportAs: 'cdkOverlayOrigin',\n\t }), \n\t __metadata$10('design:paramtypes', [_angular_core.ElementRef])\n\t ], OverlayOrigin);\n\t return OverlayOrigin;\n\t}());\n\t/**\n\t * Directive to facilitate declarative creation of an Overlay using a ConnectedPositionStrategy.\n\t */\n\tvar ConnectedOverlayDirective = (function () {\n\t // TODO(jelbourn): inputs for size, scroll behavior, animation, etc.\n\t function ConnectedOverlayDirective(_overlay, templateRef, viewContainerRef, _dir) {\n\t this._overlay = _overlay;\n\t this._dir = _dir;\n\t this._open = false;\n\t this._hasBackdrop = false;\n\t this._offsetX = 0;\n\t this._offsetY = 0;\n\t /** Event emitted when the backdrop is clicked. */\n\t this.backdropClick = new _angular_core.EventEmitter();\n\t /** Event emitted when the position has changed. */\n\t this.positionChange = new _angular_core.EventEmitter();\n\t /** Event emitted when the overlay has been attached. */\n\t this.attach = new _angular_core.EventEmitter();\n\t /** Event emitted when the overlay has been detached. */\n\t this.detach = new _angular_core.EventEmitter();\n\t this._templatePortal = new TemplatePortal(templateRef, viewContainerRef);\n\t }\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"offsetX\", {\n\t /** The offset in pixels for the overlay connection point on the x-axis */\n\t get: function () {\n\t return this._offsetX;\n\t },\n\t set: function (offsetX) {\n\t this._offsetX = offsetX;\n\t if (this._position) {\n\t this._position.withOffsetX(offsetX);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"offsetY\", {\n\t /** The offset in pixels for the overlay connection point on the y-axis */\n\t get: function () {\n\t return this._offsetY;\n\t },\n\t set: function (offsetY) {\n\t this._offsetY = offsetY;\n\t if (this._position) {\n\t this._position.withOffsetY(offsetY);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"hasBackdrop\", {\n\t /** Whether or not the overlay should attach a backdrop. */\n\t get: function () {\n\t return this._hasBackdrop;\n\t },\n\t set: function (value) {\n\t this._hasBackdrop = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"open\", {\n\t get: function () {\n\t return this._open;\n\t },\n\t set: function (value) {\n\t value ? this._attachOverlay() : this._detachOverlay();\n\t this._open = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"overlayRef\", {\n\t /** The associated overlay reference. */\n\t get: function () {\n\t return this._overlayRef;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ConnectedOverlayDirective.prototype, \"dir\", {\n\t /** The element's layout direction. */\n\t get: function () {\n\t return this._dir ? this._dir.value : 'ltr';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t ConnectedOverlayDirective.prototype.ngOnDestroy = function () {\n\t this._destroyOverlay();\n\t };\n\t /** Creates an overlay */\n\t ConnectedOverlayDirective.prototype._createOverlay = function () {\n\t if (!this.positions || !this.positions.length) {\n\t this.positions = defaultPositionList;\n\t }\n\t this._overlayRef = this._overlay.create(this._buildConfig());\n\t };\n\t /** Builds the overlay config based on the directive's inputs */\n\t ConnectedOverlayDirective.prototype._buildConfig = function () {\n\t var overlayConfig = new OverlayState();\n\t if (this.width || this.width === 0) {\n\t overlayConfig.width = this.width;\n\t }\n\t if (this.height || this.height === 0) {\n\t overlayConfig.height = this.height;\n\t }\n\t if (this.minWidth || this.minWidth === 0) {\n\t overlayConfig.minWidth = this.minWidth;\n\t }\n\t if (this.minHeight || this.minHeight === 0) {\n\t overlayConfig.minHeight = this.minHeight;\n\t }\n\t overlayConfig.hasBackdrop = this.hasBackdrop;\n\t if (this.backdropClass) {\n\t overlayConfig.backdropClass = this.backdropClass;\n\t }\n\t this._position = this._createPositionStrategy();\n\t overlayConfig.positionStrategy = this._position;\n\t overlayConfig.direction = this.dir;\n\t return overlayConfig;\n\t };\n\t /** Returns the position strategy of the overlay to be set on the overlay config */\n\t ConnectedOverlayDirective.prototype._createPositionStrategy = function () {\n\t var pos = this.positions[0];\n\t var originPoint = { originX: pos.originX, originY: pos.originY };\n\t var overlayPoint = { overlayX: pos.overlayX, overlayY: pos.overlayY };\n\t var strategy = this._overlay.position()\n\t .connectedTo(this.origin.elementRef, originPoint, overlayPoint)\n\t .withDirection(this.dir)\n\t .withOffsetX(this.offsetX)\n\t .withOffsetY(this.offsetY);\n\t this._handlePositionChanges(strategy);\n\t return strategy;\n\t };\n\t ConnectedOverlayDirective.prototype._handlePositionChanges = function (strategy) {\n\t var _this = this;\n\t for (var i = 1; i < this.positions.length; i++) {\n\t strategy.withFallbackPosition({ originX: this.positions[i].originX, originY: this.positions[i].originY }, { overlayX: this.positions[i].overlayX, overlayY: this.positions[i].overlayY });\n\t }\n\t this._positionSubscription =\n\t strategy.onPositionChange.subscribe(function (pos) { return _this.positionChange.emit(pos); });\n\t };\n\t /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */\n\t ConnectedOverlayDirective.prototype._attachOverlay = function () {\n\t var _this = this;\n\t if (!this._overlayRef) {\n\t this._createOverlay();\n\t }\n\t if (!this._overlayRef.hasAttached()) {\n\t this._overlayRef.attach(this._templatePortal);\n\t this.attach.emit();\n\t }\n\t if (this.hasBackdrop) {\n\t this._backdropSubscription = this._overlayRef.backdropClick().subscribe(function () {\n\t _this.backdropClick.emit();\n\t });\n\t }\n\t };\n\t /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */\n\t ConnectedOverlayDirective.prototype._detachOverlay = function () {\n\t if (this._overlayRef) {\n\t this._overlayRef.detach();\n\t this.detach.emit();\n\t }\n\t if (this._backdropSubscription) {\n\t this._backdropSubscription.unsubscribe();\n\t this._backdropSubscription = null;\n\t }\n\t };\n\t /** Destroys the overlay created by this directive. */\n\t ConnectedOverlayDirective.prototype._destroyOverlay = function () {\n\t if (this._overlayRef) {\n\t this._overlayRef.dispose();\n\t }\n\t if (this._backdropSubscription) {\n\t this._backdropSubscription.unsubscribe();\n\t }\n\t if (this._positionSubscription) {\n\t this._positionSubscription.unsubscribe();\n\t }\n\t };\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', OverlayOrigin)\n\t ], ConnectedOverlayDirective.prototype, \"origin\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Array)\n\t ], ConnectedOverlayDirective.prototype, \"positions\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Number)\n\t ], ConnectedOverlayDirective.prototype, \"offsetX\", null);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"offsetY\", null);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"width\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"height\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"minWidth\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"minHeight\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', String)\n\t ], ConnectedOverlayDirective.prototype, \"backdropClass\", void 0);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"hasBackdrop\", null);\n\t __decorate$10([\n\t _angular_core.Input(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"open\", null);\n\t __decorate$10([\n\t _angular_core.Output(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"backdropClick\", void 0);\n\t __decorate$10([\n\t _angular_core.Output(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"positionChange\", void 0);\n\t __decorate$10([\n\t _angular_core.Output(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"attach\", void 0);\n\t __decorate$10([\n\t _angular_core.Output(), \n\t __metadata$10('design:type', Object)\n\t ], ConnectedOverlayDirective.prototype, \"detach\", void 0);\n\t ConnectedOverlayDirective = __decorate$10([\n\t _angular_core.Directive({\n\t selector: '[cdk-connected-overlay], [connected-overlay]',\n\t exportAs: 'cdkConnectedOverlay'\n\t }),\n\t __param$1(3, _angular_core.Optional()), \n\t __metadata$10('design:paramtypes', [Overlay, _angular_core.TemplateRef, _angular_core.ViewContainerRef, Dir])\n\t ], ConnectedOverlayDirective);\n\t return ConnectedOverlayDirective;\n\t}());\n\tvar OverlayModule = (function () {\n\t function OverlayModule() {\n\t }\n\t /** @deprecated */\n\t OverlayModule.forRoot = function () {\n\t return {\n\t ngModule: OverlayModule,\n\t providers: [],\n\t };\n\t };\n\t OverlayModule = __decorate$10([\n\t _angular_core.NgModule({\n\t imports: [PortalModule],\n\t exports: [ConnectedOverlayDirective, OverlayOrigin, Scrollable],\n\t declarations: [ConnectedOverlayDirective, OverlayOrigin, Scrollable],\n\t providers: [OVERLAY_PROVIDERS],\n\t }), \n\t __metadata$10('design:paramtypes', [])\n\t ], OverlayModule);\n\t return OverlayModule;\n\t}());\n\t\n\tvar __decorate$19 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$19 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// Whether the current platform supports the V8 Break Iterator. The V8 check\n\t// is necessary to detect all Blink based browsers.\n\tvar hasV8BreakIterator = typeof (window) !== 'undefined' ?\n\t (window.Intl && window.Intl.v8BreakIterator) :\n\t (typeof (Intl) !== 'undefined' && Intl.v8BreakIterator);\n\t/**\n\t * Service to detect the current platform by comparing the userAgent strings and\n\t * checking browser-specific global properties.\n\t * @docs-private\n\t */\n\tvar Platform = (function () {\n\t function Platform() {\n\t /** Layout Engines */\n\t this.EDGE = /(edge)/i.test(navigator.userAgent);\n\t this.TRIDENT = /(msie|trident)/i.test(navigator.userAgent);\n\t // EdgeHTML and Trident mock Blink specific things and need to excluded from this check.\n\t this.BLINK = !!(window.chrome || hasV8BreakIterator) && !!CSS && !this.EDGE && !this.TRIDENT;\n\t // Webkit is part of the userAgent in EdgeHTML Blink and Trident, so we need to\n\t // ensure that Webkit runs standalone and is not use as another engines base.\n\t this.WEBKIT = /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;\n\t /** Browsers and Platform Types */\n\t this.IOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n\t // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n\t // them self as Gecko-like browsers and modify the userAgent's according to that.\n\t // Since we only cover one explicit Firefox case, we can simply check for Firefox\n\t // instead of having an unstable check for Gecko.\n\t this.FIREFOX = /(firefox|minefield)/i.test(navigator.userAgent);\n\t // Trident on mobile adds the android platform to the userAgent to trick detections.\n\t this.ANDROID = /android/i.test(navigator.userAgent) && !this.TRIDENT;\n\t }\n\t Platform = __decorate$19([\n\t _angular_core.Injectable(), \n\t __metadata$19('design:paramtypes', [])\n\t ], Platform);\n\t return Platform;\n\t}());\n\t\n\tvar __decorate$18 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$18 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n\t * Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n\t * supported.\n\t */\n\t/**\n\t * Utility for checking the interactivity of an element, such as whether is is focusable or\n\t * tabbable.\n\t */\n\tvar InteractivityChecker = (function () {\n\t function InteractivityChecker(_platform) {\n\t this._platform = _platform;\n\t }\n\t /**\n\t * Gets whether an element is disabled.\n\t *\n\t * @param element Element to be checked.\n\t * @returns Whether the element is disabled.\n\t */\n\t InteractivityChecker.prototype.isDisabled = function (element) {\n\t // This does not capture some cases, such as a non-form control with a disabled attribute or\n\t // a form control inside of a disabled form, but should capture the most common cases.\n\t return element.hasAttribute('disabled');\n\t };\n\t /**\n\t * Gets whether an element is visible for the purposes of interactivity.\n\t *\n\t * This will capture states like `display: none` and `visibility: hidden`, but not things like\n\t * being clipped by an `overflow: hidden` parent or being outside the viewport.\n\t *\n\t * @returns Whether the element is visible.\n\t */\n\t InteractivityChecker.prototype.isVisible = function (element) {\n\t return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n\t };\n\t /**\n\t * Gets whether an element can be reached via Tab key.\n\t * Assumes that the element has already been checked with isFocusable.\n\t *\n\t * @param element Element to be checked.\n\t * @returns Whether the element is tabbable.\n\t */\n\t InteractivityChecker.prototype.isTabbable = function (element) {\n\t var frameElement = getWindow(element).frameElement;\n\t if (frameElement) {\n\t var frameType = frameElement && frameElement.nodeName.toLowerCase();\n\t // Frame elements inherit their tabindex onto all child elements.\n\t if (getTabIndexValue(frameElement) === -1) {\n\t return false;\n\t }\n\t // Webkit and Blink consider anything inside of an <object> element as non-tabbable.\n\t if ((this._platform.BLINK || this._platform.WEBKIT) && frameType === 'object') {\n\t return false;\n\t }\n\t // Webkit and Blink disable tabbing to an element inside of an invisible frame.\n\t if ((this._platform.BLINK || this._platform.WEBKIT) && !this.isVisible(frameElement)) {\n\t return false;\n\t }\n\t }\n\t var nodeName = element.nodeName.toLowerCase();\n\t var tabIndexValue = getTabIndexValue(element);\n\t if (element.hasAttribute('contenteditable')) {\n\t return tabIndexValue !== -1;\n\t }\n\t if (nodeName === 'iframe') {\n\t // The frames may be tabbable depending on content, but it's not possibly to reliably\n\t // investigate the content of the frames.\n\t return false;\n\t }\n\t if (nodeName === 'audio') {\n\t if (!element.hasAttribute('controls')) {\n\t // By default an <audio> element without the controls enabled is not tabbable.\n\t return false;\n\t }\n\t else if (this._platform.BLINK) {\n\t // In Blink <audio controls> elements are always tabbable.\n\t return true;\n\t }\n\t }\n\t if (nodeName === 'video') {\n\t if (!element.hasAttribute('controls') && this._platform.TRIDENT) {\n\t // In Trident a <video> element without the controls enabled is not tabbable.\n\t return false;\n\t }\n\t else if (this._platform.BLINK || this._platform.FIREFOX) {\n\t // In Chrome and Firefox <video controls> elements are always tabbable.\n\t return true;\n\t }\n\t }\n\t if (nodeName === 'object' && (this._platform.BLINK || this._platform.WEBKIT)) {\n\t // In all Blink and WebKit based browsers <object> elements are never tabbable.\n\t return false;\n\t }\n\t // In iOS the browser only considers some specific elements as tabbable.\n\t if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n\t return false;\n\t }\n\t return element.tabIndex >= 0;\n\t };\n\t /**\n\t * Gets whether an element can be focused by the user.\n\t *\n\t * @param element Element to be checked.\n\t * @returns Whether the element is focusable.\n\t */\n\t InteractivityChecker.prototype.isFocusable = function (element) {\n\t // Perform checks in order of left to most expensive.\n\t // Again, naive approach that does not capture many edge cases and browser quirks.\n\t return isPotentiallyFocusable(element) && !this.isDisabled(element) && this.isVisible(element);\n\t };\n\t InteractivityChecker = __decorate$18([\n\t _angular_core.Injectable(), \n\t __metadata$18('design:paramtypes', [Platform])\n\t ], InteractivityChecker);\n\t return InteractivityChecker;\n\t}());\n\t/** Checks whether the specified element has any geometry / rectangles. */\n\tfunction hasGeometry(element) {\n\t // Use logic from jQuery to check for an invisible element.\n\t // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n\t return !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length);\n\t}\n\t/** Gets whether an element's */\n\tfunction isNativeFormElement(element) {\n\t var nodeName = element.nodeName.toLowerCase();\n\t return nodeName === 'input' ||\n\t nodeName === 'select' ||\n\t nodeName === 'button' ||\n\t nodeName === 'textarea';\n\t}\n\t/** Gets whether an element is an <input type=\"hidden\">. */\n\tfunction isHiddenInput(element) {\n\t return isInputElement(element) && element.type == 'hidden';\n\t}\n\t/** Gets whether an element is an anchor that has an href attribute. */\n\tfunction isAnchorWithHref(element) {\n\t return isAnchorElement(element) && element.hasAttribute('href');\n\t}\n\t/** Gets whether an element is an input element. */\n\tfunction isInputElement(element) {\n\t return element.nodeName == 'input';\n\t}\n\t/** Gets whether an element is an anchor element. */\n\tfunction isAnchorElement(element) {\n\t return element.nodeName.toLowerCase() == 'a';\n\t}\n\t/** Gets whether an element has a valid tabindex. */\n\tfunction hasValidTabIndex(element) {\n\t if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n\t return false;\n\t }\n\t var tabIndex = element.getAttribute('tabindex');\n\t // IE11 parses tabindex=\"\" as the value \"-32768\"\n\t if (tabIndex == '-32768') {\n\t return false;\n\t }\n\t return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n\t}\n\t/**\n\t * Returns the parsed tabindex from the element attributes instead of returning the\n\t * evaluated tabindex from the browsers defaults.\n\t */\n\tfunction getTabIndexValue(element) {\n\t if (!hasValidTabIndex(element)) {\n\t return null;\n\t }\n\t // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n\t var tabIndex = parseInt(element.getAttribute('tabindex'), 10);\n\t return isNaN(tabIndex) ? -1 : tabIndex;\n\t}\n\t/** Checks whether the specified element is potentially tabbable on iOS */\n\tfunction isPotentiallyTabbableIOS(element) {\n\t var nodeName = element.nodeName.toLowerCase();\n\t var inputType = nodeName === 'input' && element.type;\n\t return inputType === 'text'\n\t || inputType === 'password'\n\t || nodeName === 'select'\n\t || nodeName === 'textarea';\n\t}\n\t/**\n\t * Gets whether an element is potentially focusable without taking current visible/disabled state\n\t * into account.\n\t */\n\tfunction isPotentiallyFocusable(element) {\n\t // Inputs are potentially focusable *unless* they're type=\"hidden\".\n\t if (isHiddenInput(element)) {\n\t return false;\n\t }\n\t return isNativeFormElement(element) ||\n\t isAnchorWithHref(element) ||\n\t element.hasAttribute('contenteditable') ||\n\t hasValidTabIndex(element);\n\t}\n\t/** Gets the parent window of a DOM node with regards of being inside of an iframe. */\n\tfunction getWindow(node) {\n\t return node.ownerDocument.defaultView || window;\n\t}\n\t\n\tvar __decorate$17 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$17 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Directive for trapping focus within a region.\n\t *\n\t * NOTE: This directive currently uses a very simple (naive) approach to focus trapping.\n\t * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n\t * Things like tabIndex > 0, flex `order`, and shadow roots can cause to two to misalign.\n\t * This will be replaced with a more intelligent solution before the library is considered stable.\n\t */\n\tvar FocusTrap = (function () {\n\t function FocusTrap(_checker, _ngZone) {\n\t this._checker = _checker;\n\t this._ngZone = _ngZone;\n\t this._disabled = false;\n\t }\n\t Object.defineProperty(FocusTrap.prototype, \"disabled\", {\n\t /** Whether the focus trap is active. */\n\t get: function () { return this._disabled; },\n\t set: function (val) { this._disabled = coerceBooleanProperty(val); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Waits for microtask queue to empty, then focuses the first tabbable element within the focus\n\t * trap region.\n\t */\n\t FocusTrap.prototype.focusFirstTabbableElementWhenReady = function () {\n\t var _this = this;\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t _this.focusFirstTabbableElement();\n\t });\n\t };\n\t /**\n\t * Waits for microtask queue to empty, then focuses the last tabbable element within the focus\n\t * trap region.\n\t */\n\t FocusTrap.prototype.focusLastTabbableElementWhenReady = function () {\n\t var _this = this;\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t _this.focusLastTabbableElement();\n\t });\n\t };\n\t /**\n\t * Focuses the first tabbable element within the focus trap region.\n\t */\n\t FocusTrap.prototype.focusFirstTabbableElement = function () {\n\t var rootElement = this.trappedContent.nativeElement;\n\t var redirectToElement = rootElement.querySelector('[cdk-focus-start]') ||\n\t this._getFirstTabbableElement(rootElement);\n\t if (redirectToElement) {\n\t redirectToElement.focus();\n\t }\n\t };\n\t /**\n\t * Focuses the last tabbable element within the focus trap region.\n\t */\n\t FocusTrap.prototype.focusLastTabbableElement = function () {\n\t var rootElement = this.trappedContent.nativeElement;\n\t var focusTargets = rootElement.querySelectorAll('[cdk-focus-end]');\n\t var redirectToElement = null;\n\t if (focusTargets.length) {\n\t redirectToElement = focusTargets[focusTargets.length - 1];\n\t }\n\t else {\n\t redirectToElement = this._getLastTabbableElement(rootElement);\n\t }\n\t if (redirectToElement) {\n\t redirectToElement.focus();\n\t }\n\t };\n\t /** Get the first tabbable element from a DOM subtree (inclusive). */\n\t FocusTrap.prototype._getFirstTabbableElement = function (root) {\n\t if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n\t return root;\n\t }\n\t // Iterate in DOM order.\n\t var childCount = root.children.length;\n\t for (var i = 0; i < childCount; i++) {\n\t var tabbableChild = this._getFirstTabbableElement(root.children[i]);\n\t if (tabbableChild) {\n\t return tabbableChild;\n\t }\n\t }\n\t return null;\n\t };\n\t /** Get the last tabbable element from a DOM subtree (inclusive). */\n\t FocusTrap.prototype._getLastTabbableElement = function (root) {\n\t if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n\t return root;\n\t }\n\t // Iterate in reverse DOM order.\n\t for (var i = root.children.length - 1; i >= 0; i--) {\n\t var tabbableChild = this._getLastTabbableElement(root.children[i]);\n\t if (tabbableChild) {\n\t return tabbableChild;\n\t }\n\t }\n\t return null;\n\t };\n\t __decorate$17([\n\t _angular_core.ViewChild('trappedContent'), \n\t __metadata$17('design:type', _angular_core.ElementRef)\n\t ], FocusTrap.prototype, \"trappedContent\", void 0);\n\t __decorate$17([\n\t _angular_core.Input(), \n\t __metadata$17('design:type', Boolean)\n\t ], FocusTrap.prototype, \"disabled\", null);\n\t FocusTrap = __decorate$17([\n\t _angular_core.Component({selector: 'cdk-focus-trap, focus-trap',\n\t template: \"<div *ngIf=\\\"!disabled\\\" tabindex=\\\"0\\\" (focus)=\\\"focusLastTabbableElement()\\\"></div><div #trappedContent class=\\\"cdk-focus-trap-content\\\"><ng-content></ng-content></div><div *ngIf=\\\"!disabled\\\" tabindex=\\\"0\\\" (focus)=\\\"focusFirstTabbableElement()\\\"></div>\",\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$17('design:paramtypes', [InteractivityChecker, _angular_core.NgZone])\n\t ], FocusTrap);\n\t return FocusTrap;\n\t}());\n\t\n\tvar __decorate$20 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$20 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$3 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tvar LIVE_ANNOUNCER_ELEMENT_TOKEN = new _angular_core.OpaqueToken('liveAnnouncerElement');\n\tvar LiveAnnouncer = (function () {\n\t function LiveAnnouncer(elementToken) {\n\t // We inject the live element as `any` because the constructor signature cannot reference\n\t // browser globals (HTMLElement) on non-browser environments, since having a class decorator\n\t // causes TypeScript to preserve the constructor signature types.\n\t this._liveElement = elementToken || this._createLiveElement();\n\t }\n\t /**\n\t * Announces a message to screenreaders.\n\t * @param message Message to be announced to the screenreader\n\t * @param politeness The politeness of the announcer element\n\t */\n\t LiveAnnouncer.prototype.announce = function (message, politeness) {\n\t var _this = this;\n\t if (politeness === void 0) { politeness = 'polite'; }\n\t this._liveElement.textContent = '';\n\t // TODO: ensure changing the politeness works on all environments we support.\n\t this._liveElement.setAttribute('aria-live', politeness);\n\t // This 100ms timeout is necessary for some browser + screen-reader combinations:\n\t // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n\t // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n\t // second time without clearing and then using a non-zero delay.\n\t // (using JAWS 17 at time of this writing).\n\t setTimeout(function () { return _this._liveElement.textContent = message; }, 100);\n\t };\n\t /** Removes the aria-live element from the DOM. */\n\t LiveAnnouncer.prototype._removeLiveElement = function () {\n\t if (this._liveElement && this._liveElement.parentNode) {\n\t this._liveElement.parentNode.removeChild(this._liveElement);\n\t }\n\t };\n\t LiveAnnouncer.prototype._createLiveElement = function () {\n\t var liveEl = document.createElement('div');\n\t liveEl.classList.add('cdk-visually-hidden');\n\t liveEl.setAttribute('aria-atomic', 'true');\n\t liveEl.setAttribute('aria-live', 'polite');\n\t document.body.appendChild(liveEl);\n\t return liveEl;\n\t };\n\t LiveAnnouncer = __decorate$20([\n\t _angular_core.Injectable(),\n\t __param$3(0, _angular_core.Optional()),\n\t __param$3(0, _angular_core.Inject(LIVE_ANNOUNCER_ELEMENT_TOKEN)), \n\t __metadata$20('design:paramtypes', [Object])\n\t ], LiveAnnouncer);\n\t return LiveAnnouncer;\n\t}());\n\tfunction LIVE_ANNOUNCER_PROVIDER_FACTORY(parentDispatcher, liveElement) {\n\t return parentDispatcher || new LiveAnnouncer(liveElement);\n\t}\n\t\n\tvar LIVE_ANNOUNCER_PROVIDER = {\n\t // If there is already a LiveAnnouncer available, use that. Otherwise, provide a new one.\n\t provide: LiveAnnouncer,\n\t deps: [\n\t [new _angular_core.Optional(), new _angular_core.SkipSelf(), LiveAnnouncer],\n\t [new _angular_core.Optional(), new _angular_core.Inject(LIVE_ANNOUNCER_ELEMENT_TOKEN)]\n\t ],\n\t useFactory: LIVE_ANNOUNCER_PROVIDER_FACTORY\n\t};\n\t\n\tvar supportedInputTypes;\n\t/** @returns The input types supported by this browser. */\n\tfunction getSupportedInputTypes() {\n\t if (!supportedInputTypes) {\n\t var featureTestInput_1 = document.createElement('input');\n\t supportedInputTypes = new Set([\n\t // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n\t // first changing it to something else:\n\t // The specified value \"\" does not conform to the required format.\n\t // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n\t 'color',\n\t 'button',\n\t 'checkbox',\n\t 'date',\n\t 'datetime-local',\n\t 'email',\n\t 'file',\n\t 'hidden',\n\t 'image',\n\t 'month',\n\t 'number',\n\t 'password',\n\t 'radio',\n\t 'range',\n\t 'reset',\n\t 'search',\n\t 'submit',\n\t 'tel',\n\t 'text',\n\t 'time',\n\t 'url',\n\t 'week',\n\t ].filter(function (value) {\n\t featureTestInput_1.setAttribute('type', value);\n\t return featureTestInput_1.type === value;\n\t }));\n\t }\n\t return supportedInputTypes;\n\t}\n\t\n\tvar __decorate$21 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$21 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar PlatformModule = (function () {\n\t function PlatformModule() {\n\t }\n\t /** @deprecated */\n\t PlatformModule.forRoot = function () {\n\t return {\n\t ngModule: PlatformModule,\n\t providers: [],\n\t };\n\t };\n\t PlatformModule = __decorate$21([\n\t _angular_core.NgModule({\n\t providers: [Platform]\n\t }), \n\t __metadata$21('design:paramtypes', [])\n\t ], PlatformModule);\n\t return PlatformModule;\n\t}());\n\t\n\tvar __decorate$16 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$16 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar A11yModule = (function () {\n\t function A11yModule() {\n\t }\n\t /** @deprecated */\n\t A11yModule.forRoot = function () {\n\t return {\n\t ngModule: A11yModule,\n\t providers: [],\n\t };\n\t };\n\t A11yModule = __decorate$16([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, PlatformModule],\n\t declarations: [FocusTrap],\n\t exports: [FocusTrap],\n\t providers: [InteractivityChecker, LIVE_ANNOUNCER_PROVIDER]\n\t }), \n\t __metadata$16('design:paramtypes', [])\n\t ], A11yModule);\n\t return A11yModule;\n\t}());\n\t\n\tvar __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$23 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Component that shows a simplified checkbox without including any kind of \"real\" checkbox.\n\t * Meant to be used when the checkbox is purely decorative and a large number of them will be\n\t * included, such as for the options in a multi-select. Uses no SVGs or complex animations.\n\t *\n\t * Note that this component will be completely invisible to screen-reader users. This is *not*\n\t * interchangeable with <md-checkbox> and should *not* be used if the user would directly interact\n\t * with the checkbox. The pseudo-checkbox should only be used as an implementation detail of\n\t * more complex components that appropriately handle selected / checked state.\n\t * @docs-private\n\t */\n\tvar MdPseudoCheckbox = (function () {\n\t function MdPseudoCheckbox(_elementRef, _renderer) {\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t /** Display state of the checkbox. */\n\t this.state = 'unchecked';\n\t /** Whether the checkbox is disabled. */\n\t this.disabled = false;\n\t this.color = 'accent';\n\t }\n\t Object.defineProperty(MdPseudoCheckbox.prototype, \"color\", {\n\t /** Color of the checkbox. */\n\t get: function () { return this._color; },\n\t set: function (value) {\n\t if (value) {\n\t var nativeElement = this._elementRef.nativeElement;\n\t this._renderer.setElementClass(nativeElement, \"mat-\" + this.color, false);\n\t this._renderer.setElementClass(nativeElement, \"mat-\" + value, true);\n\t this._color = value;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t __decorate$23([\n\t _angular_core.Input(), \n\t __metadata$23('design:type', String)\n\t ], MdPseudoCheckbox.prototype, \"state\", void 0);\n\t __decorate$23([\n\t _angular_core.Input(), \n\t __metadata$23('design:type', Boolean)\n\t ], MdPseudoCheckbox.prototype, \"disabled\", void 0);\n\t __decorate$23([\n\t _angular_core.Input(), \n\t __metadata$23('design:type', String)\n\t ], MdPseudoCheckbox.prototype, \"color\", null);\n\t MdPseudoCheckbox = __decorate$23([\n\t _angular_core.Component({encapsulation: _angular_core.ViewEncapsulation.None,\n\t selector: 'md-pseudo-checkbox, mat-pseudo-checkbox',\n\t styles: [\".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}\"],\n\t template: '',\n\t host: {\n\t '[class.mat-pseudo-checkbox]': 'true',\n\t '[class.mat-pseudo-checkbox-indeterminate]': 'state === \"indeterminate\"',\n\t '[class.mat-pseudo-checkbox-checked]': 'state === \"checked\"',\n\t '[class.mat-pseudo-checkbox-disabled]': 'disabled',\n\t },\n\t }), \n\t __metadata$23('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdPseudoCheckbox);\n\t return MdPseudoCheckbox;\n\t}());\n\t\n\tvar __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$22 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdSelectionModule = (function () {\n\t function MdSelectionModule() {\n\t }\n\t MdSelectionModule = __decorate$22([\n\t _angular_core.NgModule({\n\t exports: [MdPseudoCheckbox],\n\t declarations: [MdPseudoCheckbox]\n\t }), \n\t __metadata$22('design:paramtypes', [])\n\t ], MdSelectionModule);\n\t return MdSelectionModule;\n\t}());\n\t\n\tvar __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$24 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// \"Polyfill\" for `Node.replaceWith()`.\n\t// cf. https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith\n\tfunction _replaceWith(toReplaceEl, otherEl) {\n\t toReplaceEl.parentElement.replaceChild(otherEl, toReplaceEl);\n\t}\n\t/** @docs-private */\n\tvar DomProjectionHost = (function () {\n\t function DomProjectionHost(ref) {\n\t this.ref = ref;\n\t }\n\t DomProjectionHost = __decorate$24([\n\t _angular_core.Directive({\n\t selector: 'cdk-dom-projection-host'\n\t }), \n\t __metadata$24('design:paramtypes', [_angular_core.ElementRef])\n\t ], DomProjectionHost);\n\t return DomProjectionHost;\n\t}());\n\t/** @docs-private */\n\tvar DomProjection = (function () {\n\t function DomProjection() {\n\t }\n\t /**\n\t * Project an element into a host element.\n\t * Replace a host element by another element. This also replaces the children of the element\n\t * by the children of the host.\n\t *\n\t * It should be used like this:\n\t *\n\t * ```\n\t * @Component({\n\t * template: `<div>\n\t * <cdk-dom-projection-host>\n\t * <div>other</div>\n\t * <ng-content></ng-content>\n\t * </cdk-dom-projection-host>\n\t * </div>`\n\t * })\n\t * class Cmpt {\n\t * constructor(private _projector: DomProjection, private _el: ElementRef) {}\n\t * ngOnInit() { this._projector.project(this._el, this._projector); }\n\t * }\n\t * ```\n\t *\n\t * This component will move the content of the element it's applied to in the outer div. Because\n\t * `project()` also move the children of the host inside the projected element, the element will\n\t * contain the `<div>other</div>` HTML as well as its own children.\n\t *\n\t * Note: without `<ng-content></ng-content>` the projection will project an empty element.\n\t *\n\t * @param ref ElementRef to be projected.\n\t * @param host Projection host into which to project the `ElementRef`.\n\t */\n\t DomProjection.prototype.project = function (ref, host) {\n\t var projectedEl = ref.nativeElement;\n\t var hostEl = host.ref.nativeElement;\n\t var childNodes = projectedEl.childNodes;\n\t var child = childNodes[0];\n\t // We hoist all of the projected element's children out into the projected elements position\n\t // because we *only* want to move the projected element and not its children.\n\t _replaceWith(projectedEl, child);\n\t var l = childNodes.length;\n\t while (l--) {\n\t child.parentNode.insertBefore(childNodes[0], child.nextSibling);\n\t child = child.nextSibling; // nextSibling is now the childNodes[0].\n\t }\n\t // Insert all host children under the projectedEl, then replace host by component.\n\t l = hostEl.childNodes.length;\n\t while (l--) {\n\t projectedEl.appendChild(hostEl.childNodes[0]);\n\t }\n\t _replaceWith(hostEl, projectedEl);\n\t // At this point the host is replaced by the component. Nothing else to be done.\n\t };\n\t DomProjection = __decorate$24([\n\t _angular_core.Injectable(), \n\t __metadata$24('design:paramtypes', [])\n\t ], DomProjection);\n\t return DomProjection;\n\t}());\n\t/** @docs-private */\n\tvar ProjectionModule = (function () {\n\t function ProjectionModule() {\n\t }\n\t /** @deprecated */\n\t ProjectionModule.forRoot = function () {\n\t return {\n\t ngModule: ProjectionModule,\n\t };\n\t };\n\t ProjectionModule = __decorate$24([\n\t _angular_core.NgModule({\n\t exports: [DomProjectionHost],\n\t declarations: [DomProjectionHost],\n\t providers: [DomProjection],\n\t }), \n\t __metadata$24('design:paramtypes', [])\n\t ], ProjectionModule);\n\t return ProjectionModule;\n\t}());\n\t\n\tvar __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$25 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * The FullscreenOverlayContainer is the alternative to OverlayContainer\n\t * that supports correct displaying of overlay elements in Fullscreen mode\n\t * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n\t * It should be provided in the root component that way:\n\t * providers: [\n\t * {provide: OverlayContainer, useClass: FullscreenOverlayContainer}\n\t * ],\n\t */\n\tvar FullscreenOverlayContainer = (function (_super) {\n\t __extends$5(FullscreenOverlayContainer, _super);\n\t function FullscreenOverlayContainer() {\n\t _super.apply(this, arguments);\n\t }\n\t FullscreenOverlayContainer.prototype._createContainer = function () {\n\t var _this = this;\n\t _super.prototype._createContainer.call(this);\n\t this._adjustParentForFullscreenChange();\n\t this._addFullscreenChangeListener(function () { return _this._adjustParentForFullscreenChange(); });\n\t };\n\t FullscreenOverlayContainer.prototype._adjustParentForFullscreenChange = function () {\n\t if (!this._containerElement) {\n\t return;\n\t }\n\t var fullscreenElement = this.getFullscreenElement();\n\t var parent = fullscreenElement || document.body;\n\t parent.appendChild(this._containerElement);\n\t };\n\t FullscreenOverlayContainer.prototype._addFullscreenChangeListener = function (fn) {\n\t if (document.fullscreenEnabled) {\n\t document.addEventListener('fullscreenchange', fn);\n\t }\n\t else if (document.webkitFullscreenEnabled) {\n\t document.addEventListener('webkitfullscreenchange', fn);\n\t }\n\t else if (document.mozFullScreenEnabled) {\n\t document.addEventListener('mozfullscreenchange', fn);\n\t }\n\t else if (document.msFullscreenEnabled) {\n\t document.addEventListener('MSFullscreenChange', fn);\n\t }\n\t };\n\t /**\n\t * When the page is put into fullscreen mode, a specific element is specified.\n\t * Only that element and its children are visible when in fullscreen mode.\n\t */\n\t FullscreenOverlayContainer.prototype.getFullscreenElement = function () {\n\t return document.fullscreenElement ||\n\t document.webkitFullscreenElement ||\n\t document.mozFullScreenElement ||\n\t document.msFullscreenElement ||\n\t null;\n\t };\n\t FullscreenOverlayContainer = __decorate$25([\n\t _angular_core.Injectable(), \n\t __metadata$25('design:paramtypes', [])\n\t ], FullscreenOverlayContainer);\n\t return FullscreenOverlayContainer;\n\t}(OverlayContainer));\n\t\n\tvar __extends$6 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$26 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/* Adjusts configuration of our gesture library, Hammer. */\n\tvar GestureConfig = (function (_super) {\n\t __extends$6(GestureConfig, _super);\n\t function GestureConfig() {\n\t _super.call(this);\n\t this._hammer = typeof window !== 'undefined' ? window.Hammer : null;\n\t /* List of new event names to add to the gesture support list */\n\t this.events = this._hammer ? [\n\t 'longpress',\n\t 'slide',\n\t 'slidestart',\n\t 'slideend',\n\t 'slideright',\n\t 'slideleft'\n\t ] : [];\n\t if (!this._hammer && _angular_core.isDevMode()) {\n\t console.warn('Could not find HammerJS. Certain Angular Material ' +\n\t 'components may not work correctly.');\n\t }\n\t }\n\t /**\n\t * Builds Hammer instance manually to add custom recognizers that match the Material Design spec.\n\t *\n\t * Our gesture names come from the Material Design gestures spec:\n\t * https://www.google.com/design/spec/patterns/gestures.html#gestures-touch-mechanics\n\t *\n\t * More information on default recognizers can be found in Hammer docs:\n\t * http://hammerjs.github.io/recognizer-pan/\n\t * http://hammerjs.github.io/recognizer-press/\n\t *\n\t * @param element Element to which to assign the new HammerJS gestures.\n\t * @returns Newly-created HammerJS instance.\n\t */\n\t GestureConfig.prototype.buildHammer = function (element) {\n\t var mc = new this._hammer(element);\n\t // Default Hammer Recognizers.\n\t var pan = new this._hammer.Pan();\n\t var swipe = new this._hammer.Swipe();\n\t var press = new this._hammer.Press();\n\t // Notice that a HammerJS recognizer can only depend on one other recognizer once.\n\t // Otherwise the previous `recognizeWith` will be dropped.\n\t // TODO: Confirm threshold numbers with Material Design UX Team\n\t var slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);\n\t var longpress = this._createRecognizer(press, { event: 'longpress', time: 500 });\n\t // Overwrite the default `pan` event to use the swipe event.\n\t pan.recognizeWith(swipe);\n\t // Add customized gestures to Hammer manager\n\t mc.add([swipe, press, pan, slide, longpress]);\n\t return mc;\n\t };\n\t /** Creates a new recognizer, without affecting the default recognizers of HammerJS */\n\t GestureConfig.prototype._createRecognizer = function (base, options) {\n\t var inheritances = [];\n\t for (var _i = 2; _i < arguments.length; _i++) {\n\t inheritances[_i - 2] = arguments[_i];\n\t }\n\t var recognizer = new base.constructor(options);\n\t inheritances.push(base);\n\t inheritances.forEach(function (item) { return recognizer.recognizeWith(item); });\n\t return recognizer;\n\t };\n\t GestureConfig = __decorate$26([\n\t _angular_core.Injectable(), \n\t __metadata$26('design:paramtypes', [])\n\t ], GestureConfig);\n\t return GestureConfig;\n\t}(_angular_platformBrowser.HammerGestureConfig));\n\t\n\t/**\n\t * Class to be used to power selecting one or more options from a list.\n\t * @docs-private\n\t */\n\tvar SelectionModel = (function () {\n\t function SelectionModel(_isMulti, initiallySelectedValues) {\n\t var _this = this;\n\t if (_isMulti === void 0) { _isMulti = false; }\n\t this._isMulti = _isMulti;\n\t /** Currently-selected values. */\n\t this._selection = new Set();\n\t /** Keeps track of the deselected options that haven't been emitted by the change event. */\n\t this._deselectedToEmit = [];\n\t /** Keeps track of the selected option that haven't been emitted by the change event. */\n\t this._selectedToEmit = [];\n\t /** Event emitted when the value has changed. */\n\t this.onChange = new rxjs_Subject.Subject();\n\t if (initiallySelectedValues) {\n\t if (_isMulti) {\n\t initiallySelectedValues.forEach(function (value) { return _this._markSelected(value); });\n\t }\n\t else {\n\t this._markSelected(initiallySelectedValues[0]);\n\t }\n\t // Clear the array in order to avoid firing the change event for preselected values.\n\t this._selectedToEmit.length = 0;\n\t }\n\t }\n\t Object.defineProperty(SelectionModel.prototype, \"selected\", {\n\t /** Selected value(s). */\n\t get: function () {\n\t if (!this._selected) {\n\t this._selected = Array.from(this._selection.values());\n\t }\n\t return this._selected;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Selects a value or an array of values.\n\t */\n\t SelectionModel.prototype.select = function (value) {\n\t this._markSelected(value);\n\t this._emitChangeEvent();\n\t };\n\t /**\n\t * Deselects a value or an array of values.\n\t */\n\t SelectionModel.prototype.deselect = function (value) {\n\t this._unmarkSelected(value);\n\t this._emitChangeEvent();\n\t };\n\t /**\n\t * Clears all of the selected values.\n\t */\n\t SelectionModel.prototype.clear = function () {\n\t this._unmarkAll();\n\t this._emitChangeEvent();\n\t };\n\t /**\n\t * Determines whether a value is selected.\n\t */\n\t SelectionModel.prototype.isSelected = function (value) {\n\t return this._selection.has(value);\n\t };\n\t /**\n\t * Determines whether the model has a value.\n\t */\n\t SelectionModel.prototype.isEmpty = function () {\n\t return this._selection.size === 0;\n\t };\n\t /** Emits a change event and clears the records of selected and deselected values. */\n\t SelectionModel.prototype._emitChangeEvent = function () {\n\t if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n\t var eventData = new SelectionChange(this._selectedToEmit, this._deselectedToEmit);\n\t this.onChange.next(eventData);\n\t this._deselectedToEmit = [];\n\t this._selectedToEmit = [];\n\t this._selected = null;\n\t }\n\t };\n\t /** Selects a value. */\n\t SelectionModel.prototype._markSelected = function (value) {\n\t if (!this.isSelected(value)) {\n\t if (!this._isMulti) {\n\t this._unmarkAll();\n\t }\n\t this._selection.add(value);\n\t this._selectedToEmit.push(value);\n\t }\n\t };\n\t /** Deselects a value. */\n\t SelectionModel.prototype._unmarkSelected = function (value) {\n\t if (this.isSelected(value)) {\n\t this._selection.delete(value);\n\t this._deselectedToEmit.push(value);\n\t }\n\t };\n\t /** Clears out the selected values. */\n\t SelectionModel.prototype._unmarkAll = function () {\n\t var _this = this;\n\t if (!this.isEmpty()) {\n\t this._selection.forEach(function (value) { return _this._unmarkSelected(value); });\n\t }\n\t };\n\t return SelectionModel;\n\t}());\n\t/**\n\t * Describes an event emitted when the value of a MdSelectionModel has changed.\n\t * @docs-private\n\t */\n\tvar SelectionChange = (function () {\n\t function SelectionChange(added, removed) {\n\t this.added = added;\n\t this.removed = removed;\n\t }\n\t return SelectionChange;\n\t}());\n\t\n\t/**\n\t * Screenreaders will often fire fake mousedown events when a focusable element\n\t * is activated using the keyboard. We can typically distinguish between these faked\n\t * mousedown events and real mousedown events using the \"buttons\" property. While\n\t * real mousedowns will indicate the mouse button that was pressed (e.g. \"1\" for\n\t * the left mouse button), faked mousedowns will usually set the property value to 0.\n\t */\n\tfunction isFakeMousedownFromScreenReader(event) {\n\t return event.buttons === 0;\n\t}\n\t\n\tvar __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$27 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Class to coordinate unique selection based on name.\n\t * Intended to be consumed as an Angular service.\n\t * This service is needed because native radio change events are only fired on the item currently\n\t * being selected, and we still need to uncheck the previous selection.\n\t *\n\t * This service does not *store* any IDs and names because they may change at any time, so it is\n\t * less error-prone if they are simply passed through when the events occur.\n\t */\n\tvar UniqueSelectionDispatcher = (function () {\n\t function UniqueSelectionDispatcher() {\n\t this._listeners = [];\n\t }\n\t /**\n\t * Notify other items that selection for the given name has been set.\n\t * @param id ID of the item.\n\t * @param name Name of the item.\n\t */\n\t UniqueSelectionDispatcher.prototype.notify = function (id, name) {\n\t for (var _i = 0, _a = this._listeners; _i < _a.length; _i++) {\n\t var listener = _a[_i];\n\t listener(id, name);\n\t }\n\t };\n\t /** Listen for future changes to item selection. */\n\t UniqueSelectionDispatcher.prototype.listen = function (listener) {\n\t this._listeners.push(listener);\n\t };\n\t UniqueSelectionDispatcher = __decorate$27([\n\t _angular_core.Injectable(), \n\t __metadata$27('design:paramtypes', [])\n\t ], UniqueSelectionDispatcher);\n\t return UniqueSelectionDispatcher;\n\t}());\n\tfunction UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) {\n\t return parentDispatcher || new UniqueSelectionDispatcher();\n\t}\n\tvar UNIQUE_SELECTION_DISPATCHER_PROVIDER = {\n\t // If there is already a dispatcher available, use that. Otherwise, provide a new one.\n\t provide: UniqueSelectionDispatcher,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), UniqueSelectionDispatcher]],\n\t useFactory: UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY\n\t};\n\t\n\tvar __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$29 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n\t// that a value of around 650ms seems appropriate.\n\tvar TOUCH_BUFFER_MS = 650;\n\t/** Monitors mouse and keyboard events to determine the cause of focus events. */\n\tvar FocusOriginMonitor = (function () {\n\t function FocusOriginMonitor() {\n\t // Note: we listen to events in the capture phase so we can detect them even if the user stops\n\t // propagation.\n\t var _this = this;\n\t /** The focus origin that the next focus event is a result of. */\n\t this._origin = null;\n\t /** Whether the window has just been focused. */\n\t this._windowFocused = false;\n\t // On keydown record the origin and clear any touch event that may be in progress.\n\t document.addEventListener('keydown', function () {\n\t _this._lastTouchTarget = null;\n\t _this._setOriginForCurrentEventQueue('keyboard');\n\t }, true);\n\t // On mousedown record the origin only if there is not touch target, since a mousedown can\n\t // happen as a result of a touch event.\n\t document.addEventListener('mousedown', function () {\n\t if (!_this._lastTouchTarget) {\n\t _this._setOriginForCurrentEventQueue('mouse');\n\t }\n\t }, true);\n\t // When the touchstart event fires the focus event is not yet in the event queue. This means we\n\t // can't rely on the trick used above (setting timeout of 0ms). Instead we wait 650ms to see if\n\t // a focus happens.\n\t document.addEventListener('touchstart', function (event) {\n\t if (_this._touchTimeout != null) {\n\t clearTimeout(_this._touchTimeout);\n\t }\n\t _this._lastTouchTarget = event.target;\n\t _this._touchTimeout = setTimeout(function () { return _this._lastTouchTarget = null; }, TOUCH_BUFFER_MS);\n\t }, true);\n\t // Make a note of when the window regains focus, so we can restore the origin info for the\n\t // focused element.\n\t window.addEventListener('focus', function () {\n\t _this._windowFocused = true;\n\t setTimeout(function () { return _this._windowFocused = false; }, 0);\n\t });\n\t }\n\t /** Register an element to receive focus classes. */\n\t FocusOriginMonitor.prototype.registerElementForFocusClasses = function (element, renderer) {\n\t var _this = this;\n\t var subject = new rxjs_Subject.Subject();\n\t renderer.listen(element, 'focus', function (event) { return _this._onFocus(event, element, renderer, subject); });\n\t renderer.listen(element, 'blur', function () { return _this._onBlur(element, renderer, subject); });\n\t return subject.asObservable();\n\t };\n\t /** Focuses the element via the specified focus origin. */\n\t FocusOriginMonitor.prototype.focusVia = function (element, renderer, origin) {\n\t this._setOriginForCurrentEventQueue(origin);\n\t renderer.invokeElementMethod(element, 'focus');\n\t };\n\t /** Sets the origin and schedules an async function to clear it at the end of the event queue. */\n\t FocusOriginMonitor.prototype._setOriginForCurrentEventQueue = function (origin) {\n\t var _this = this;\n\t this._origin = origin;\n\t setTimeout(function () { return _this._origin = null; }, 0);\n\t };\n\t /** Checks whether the given focus event was caused by a touchstart event. */\n\t FocusOriginMonitor.prototype._wasCausedByTouch = function (event) {\n\t // Note(mmalerba): This implementation is not quite perfect, there is a small edge case.\n\t // Consider the following dom structure:\n\t //\n\t // <div #parent tabindex=\"0\" cdkFocusClasses>\n\t // <div #child (click)=\"#parent.focus()\"></div>\n\t // </div>\n\t //\n\t // If the user touches the #child element and the #parent is programmatically focused as a\n\t // result, this code will still consider it to have been caused by the touch event and will\n\t // apply the cdk-touch-focused class rather than the cdk-program-focused class. This is a\n\t // relatively small edge-case that can be worked around by using\n\t // focusVia(parentEl, renderer, 'program') to focus the parent element.\n\t //\n\t // If we decide that we absolutely must handle this case correctly, we can do so by listening\n\t // for the first focus event after the touchstart, and then the first blur event after that\n\t // focus event. When that blur event fires we know that whatever follows is not a result of the\n\t // touchstart.\n\t var focusTarget = event.target;\n\t return this._lastTouchTarget instanceof Node && focusTarget instanceof Node &&\n\t (focusTarget == this._lastTouchTarget || focusTarget.contains(this._lastTouchTarget));\n\t };\n\t /** Handles focus events on a registered element. */\n\t FocusOriginMonitor.prototype._onFocus = function (event, element, renderer, subject) {\n\t // If we couldn't detect a cause for the focus event, it's due to one of two reasons:\n\t // 1) The window has just regained focus, in which case we want to restore the focused state of\n\t // the element from before the window blurred.\n\t // 2) It was caused by a touch event, in which case we mark the origin as 'touch'.\n\t // 3) The element was programmatically focused, in which case we should mark the origin as\n\t // 'program'.\n\t if (!this._origin) {\n\t if (this._windowFocused && this._lastFocusOrigin) {\n\t this._origin = this._lastFocusOrigin;\n\t }\n\t else if (this._wasCausedByTouch(event)) {\n\t this._origin = 'touch';\n\t }\n\t else {\n\t this._origin = 'program';\n\t }\n\t }\n\t renderer.setElementClass(element, 'cdk-focused', true);\n\t renderer.setElementClass(element, 'cdk-touch-focused', this._origin == 'touch');\n\t renderer.setElementClass(element, 'cdk-keyboard-focused', this._origin == 'keyboard');\n\t renderer.setElementClass(element, 'cdk-mouse-focused', this._origin == 'mouse');\n\t renderer.setElementClass(element, 'cdk-program-focused', this._origin == 'program');\n\t subject.next(this._origin);\n\t this._lastFocusOrigin = this._origin;\n\t this._origin = null;\n\t };\n\t /** Handles blur events on a registered element. */\n\t FocusOriginMonitor.prototype._onBlur = function (element, renderer, subject) {\n\t renderer.setElementClass(element, 'cdk-focused', false);\n\t renderer.setElementClass(element, 'cdk-touch-focused', false);\n\t renderer.setElementClass(element, 'cdk-keyboard-focused', false);\n\t renderer.setElementClass(element, 'cdk-mouse-focused', false);\n\t renderer.setElementClass(element, 'cdk-program-focused', false);\n\t subject.next(null);\n\t };\n\t FocusOriginMonitor = __decorate$29([\n\t _angular_core.Injectable(), \n\t __metadata$29('design:paramtypes', [])\n\t ], FocusOriginMonitor);\n\t return FocusOriginMonitor;\n\t}());\n\t/**\n\t * Directive that determines how a particular element was focused (via keyboard, mouse, or\n\t * programmatically) and adds corresponding classes to the element.\n\t */\n\tvar CdkFocusClasses = (function () {\n\t function CdkFocusClasses(elementRef, focusOriginMonitor, renderer) {\n\t this.changes =\n\t focusOriginMonitor.registerElementForFocusClasses(elementRef.nativeElement, renderer);\n\t }\n\t CdkFocusClasses = __decorate$29([\n\t _angular_core.Directive({\n\t selector: '[cdkFocusClasses]',\n\t }), \n\t __metadata$29('design:paramtypes', [_angular_core.ElementRef, FocusOriginMonitor, _angular_core.Renderer])\n\t ], CdkFocusClasses);\n\t return CdkFocusClasses;\n\t}());\n\tfunction FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY(parentDispatcher) {\n\t return parentDispatcher || new FocusOriginMonitor();\n\t}\n\tvar FOCUS_ORIGIN_MONITOR_PROVIDER = {\n\t // If there is already a FocusOriginMonitor available, use that. Otherwise, provide a new one.\n\t provide: FocusOriginMonitor,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), FocusOriginMonitor]],\n\t useFactory: FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY\n\t};\n\t\n\t/**\n\t * Applies a CSS transform to an element, including browser-prefixed properties.\n\t * @param element\n\t * @param transformValue\n\t */\n\tfunction applyCssTransform(element, transformValue) {\n\t // It's important to trim the result, because the browser will ignore the set operation\n\t // if the string contains only whitespace.\n\t var value = transformValue.trim();\n\t element.style.transform = value;\n\t element.style.webkitTransform = value;\n\t}\n\t\n\tvar __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$28 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar StyleModule = (function () {\n\t function StyleModule() {\n\t }\n\t StyleModule = __decorate$28([\n\t _angular_core.NgModule({\n\t declarations: [CdkFocusClasses],\n\t exports: [CdkFocusClasses],\n\t providers: [FOCUS_ORIGIN_MONITOR_PROVIDER],\n\t }), \n\t __metadata$28('design:paramtypes', [])\n\t ], StyleModule);\n\t return StyleModule;\n\t}());\n\t\n\t/** @docs-private */\n\tvar AnimationCurves = (function () {\n\t function AnimationCurves() {\n\t }\n\t AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n\t AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n\t AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n\t AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n\t return AnimationCurves;\n\t}());\n\t/** @docs-private */\n\tvar AnimationDurations = (function () {\n\t function AnimationDurations() {\n\t }\n\t AnimationDurations.COMPLEX = '375ms';\n\t AnimationDurations.ENTERING = '225ms';\n\t AnimationDurations.EXITING = '195ms';\n\t return AnimationDurations;\n\t}());\n\t\n\t/** Coerces a data-bound value (typically a string) to a number. */\n\tfunction coerceNumberProperty(value, fallbackValue) {\n\t if (fallbackValue === void 0) { fallbackValue = 0; }\n\t // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n\t // and other non-number values as NaN, where Number just uses 0) but it considers the string\n\t // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n\t return isNaN(parseFloat(value)) || isNaN(Number(value)) ? fallbackValue : Number(value);\n\t}\n\t\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdCoreModule = (function () {\n\t function MdCoreModule() {\n\t }\n\t /** @deprecated */\n\t MdCoreModule.forRoot = function () {\n\t return {\n\t ngModule: MdCoreModule,\n\t providers: [],\n\t };\n\t };\n\t MdCoreModule = __decorate([\n\t _angular_core.NgModule({\n\t imports: [\n\t MdLineModule,\n\t RtlModule,\n\t MdRippleModule,\n\t ObserveContentModule,\n\t PortalModule,\n\t OverlayModule,\n\t A11yModule,\n\t MdOptionModule,\n\t MdSelectionModule,\n\t ],\n\t exports: [\n\t MdLineModule,\n\t RtlModule,\n\t MdRippleModule,\n\t ObserveContentModule,\n\t PortalModule,\n\t OverlayModule,\n\t A11yModule,\n\t MdOptionModule,\n\t MdSelectionModule,\n\t ],\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], MdCoreModule);\n\t return MdCoreModule;\n\t}());\n\t\n\tvar __decorate$31 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$31 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$4 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * Provider Expression that allows md-button-toggle-group to register as a ControlValueAccessor.\n\t * This allows it to support [(ngModel)].\n\t * @docs-private\n\t */\n\tvar MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdButtonToggleGroup; }),\n\t multi: true\n\t};\n\tvar _uniqueIdCounter$1 = 0;\n\t/** Change event object emitted by MdButtonToggle. */\n\tvar MdButtonToggleChange = (function () {\n\t function MdButtonToggleChange() {\n\t }\n\t return MdButtonToggleChange;\n\t}());\n\t/** Exclusive selection button toggle group that behaves like a radio-button group. */\n\tvar MdButtonToggleGroup = (function () {\n\t function MdButtonToggleGroup() {\n\t /** The value for the button toggle group. Should match currently selected button toggle. */\n\t this._value = null;\n\t /** The HTML name attribute applied to toggles in this group. */\n\t this._name = \"md-button-toggle-group-\" + _uniqueIdCounter$1++;\n\t /** Disables all toggles in the group. */\n\t this._disabled = null;\n\t /** Whether the button toggle group should be vertical. */\n\t this._vertical = false;\n\t /** The currently selected button toggle, should match the value. */\n\t this._selected = null;\n\t /** Whether the button toggle group is initialized or not. */\n\t this._isInitialized = false;\n\t /**\n\t * The method to be called in order to update ngModel.\n\t * Now `ngModel` binding is not supported in multiple selection mode.\n\t */\n\t this._controlValueAccessorChangeFn = function (value) { };\n\t /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n\t this.onTouched = function () { };\n\t /** Event emitted when the group's value changes. */\n\t this._change = new _angular_core.EventEmitter();\n\t /** Child button toggle buttons. */\n\t this._buttonToggles = null;\n\t }\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"change\", {\n\t get: function () {\n\t return this._change.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdButtonToggleGroup.prototype.ngAfterViewInit = function () {\n\t this._isInitialized = true;\n\t };\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"name\", {\n\t /** `name` attribute for the underlying `input` element. */\n\t get: function () {\n\t return this._name;\n\t },\n\t set: function (value) {\n\t this._name = value;\n\t this._updateButtonToggleNames();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"disabled\", {\n\t /** Whether the toggle group is disabled. */\n\t get: function () {\n\t return this._disabled;\n\t },\n\t set: function (value) {\n\t this._disabled = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"vertical\", {\n\t /** Whether the toggle group is vertical. */\n\t get: function () {\n\t return this._vertical;\n\t },\n\t set: function (value) {\n\t this._vertical = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"value\", {\n\t /** Value of the toggle group. */\n\t get: function () {\n\t return this._value;\n\t },\n\t set: function (newValue) {\n\t if (this._value != newValue) {\n\t this._value = newValue;\n\t this._updateSelectedButtonToggleFromValue();\n\t // Only emit a change event if the view is completely initialized.\n\t // We don't want to emit a change event for the initial values.\n\t if (this._isInitialized) {\n\t this._emitChangeEvent();\n\t }\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggleGroup.prototype, \"selected\", {\n\t /** Whether the toggle group is selected. */\n\t get: function () {\n\t return this._selected;\n\t },\n\t set: function (selected) {\n\t this._selected = selected;\n\t this.value = selected ? selected.value : null;\n\t if (selected && !selected.checked) {\n\t selected.checked = true;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdButtonToggleGroup.prototype._updateButtonToggleNames = function () {\n\t var _this = this;\n\t if (this._buttonToggles) {\n\t this._buttonToggles.forEach(function (toggle) {\n\t toggle.name = _this._name;\n\t });\n\t }\n\t };\n\t // TODO: Refactor into shared code with radio.\n\t MdButtonToggleGroup.prototype._updateSelectedButtonToggleFromValue = function () {\n\t var _this = this;\n\t var isAlreadySelected = this._selected != null && this._selected.value == this._value;\n\t if (this._buttonToggles != null && !isAlreadySelected) {\n\t var matchingButtonToggle = this._buttonToggles.filter(function (buttonToggle) { return buttonToggle.value == _this._value; })[0];\n\t if (matchingButtonToggle) {\n\t this.selected = matchingButtonToggle;\n\t }\n\t else if (this.value == null) {\n\t this.selected = null;\n\t this._buttonToggles.forEach(function (buttonToggle) {\n\t buttonToggle.checked = false;\n\t });\n\t }\n\t }\n\t };\n\t /** Dispatch change event with current selection and group value. */\n\t MdButtonToggleGroup.prototype._emitChangeEvent = function () {\n\t var event = new MdButtonToggleChange();\n\t event.source = this._selected;\n\t event.value = this._value;\n\t this._controlValueAccessorChangeFn(event.value);\n\t this._change.emit(event);\n\t };\n\t /**\n\t * Sets the model value. Implemented as part of ControlValueAccessor.\n\t * @param value Value to be set to the model.\n\t */\n\t MdButtonToggleGroup.prototype.writeValue = function (value) {\n\t this.value = value;\n\t };\n\t /**\n\t * Registers a callback that will be triggered when the value has changed.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn On change callback function.\n\t */\n\t MdButtonToggleGroup.prototype.registerOnChange = function (fn) {\n\t this._controlValueAccessorChangeFn = fn;\n\t };\n\t /**\n\t * Registers a callback that will be triggered when the control has been touched.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn On touch callback function.\n\t */\n\t MdButtonToggleGroup.prototype.registerOnTouched = function (fn) {\n\t this.onTouched = fn;\n\t };\n\t /**\n\t * Toggles the disabled state of the component. Implemented as part of ControlValueAccessor.\n\t * @param isDisabled Whether the component should be disabled.\n\t */\n\t MdButtonToggleGroup.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t __decorate$31([\n\t _angular_core.Output(), \n\t __metadata$31('design:type', rxjs_Observable.Observable)\n\t ], MdButtonToggleGroup.prototype, \"change\", null);\n\t __decorate$31([\n\t _angular_core.ContentChildren(_angular_core.forwardRef(function () { return MdButtonToggle; })), \n\t __metadata$31('design:type', _angular_core.QueryList)\n\t ], MdButtonToggleGroup.prototype, \"_buttonToggles\", void 0);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', String)\n\t ], MdButtonToggleGroup.prototype, \"name\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggleGroup.prototype, \"disabled\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggleGroup.prototype, \"vertical\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Object)\n\t ], MdButtonToggleGroup.prototype, \"value\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Object)\n\t ], MdButtonToggleGroup.prototype, \"selected\", null);\n\t MdButtonToggleGroup = __decorate$31([\n\t _angular_core.Directive({\n\t selector: 'md-button-toggle-group:not([multiple]), mat-button-toggle-group:not([multiple])',\n\t providers: [MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR],\n\t host: {\n\t '[class.mat-button-toggle-group]': 'true',\n\t 'role': 'radiogroup',\n\t '[class.mat-button-toggle-vertical]': 'vertical'\n\t },\n\t exportAs: 'mdButtonToggleGroup',\n\t }), \n\t __metadata$31('design:paramtypes', [])\n\t ], MdButtonToggleGroup);\n\t return MdButtonToggleGroup;\n\t}());\n\t/** Multiple selection button-toggle group. `ngModel` is not supported in this mode. */\n\tvar MdButtonToggleGroupMultiple = (function () {\n\t function MdButtonToggleGroupMultiple() {\n\t /** Disables all toggles in the group. */\n\t this._disabled = null;\n\t /** Whether the button toggle group should be vertical. */\n\t this._vertical = false;\n\t }\n\t Object.defineProperty(MdButtonToggleGroupMultiple.prototype, \"disabled\", {\n\t /** Whether the toggle group is disabled. */\n\t get: function () {\n\t return this._disabled;\n\t },\n\t set: function (value) {\n\t this._disabled = (value != null && value !== false) ? true : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggleGroupMultiple.prototype, \"vertical\", {\n\t /** Whether the toggle group is vertical. */\n\t get: function () {\n\t return this._vertical;\n\t },\n\t set: function (value) {\n\t this._vertical = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggleGroupMultiple.prototype, \"disabled\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggleGroupMultiple.prototype, \"vertical\", null);\n\t MdButtonToggleGroupMultiple = __decorate$31([\n\t _angular_core.Directive({\n\t selector: 'md-button-toggle-group[multiple], mat-button-toggle-group[multiple]',\n\t exportAs: 'mdButtonToggleGroup',\n\t host: {\n\t '[class.mat-button-toggle-group]': 'true',\n\t '[class.mat-button-toggle-vertical]': 'vertical'\n\t }\n\t }), \n\t __metadata$31('design:paramtypes', [])\n\t ], MdButtonToggleGroupMultiple);\n\t return MdButtonToggleGroupMultiple;\n\t}());\n\t/** Single button inside of a toggle group. */\n\tvar MdButtonToggle = (function () {\n\t function MdButtonToggle(toggleGroup, toggleGroupMultiple, buttonToggleDispatcher, _renderer) {\n\t var _this = this;\n\t this.buttonToggleDispatcher = buttonToggleDispatcher;\n\t this._renderer = _renderer;\n\t /** Whether or not this button toggle is checked. */\n\t this._checked = false;\n\t /** Whether or not this button toggle is disabled. */\n\t this._disabled = null;\n\t /** Value assigned to this button toggle. */\n\t this._value = null;\n\t /** Whether or not the button toggle is a single selection. */\n\t this._isSingleSelector = null;\n\t /** Event emitted when the group value changes. */\n\t this._change = new _angular_core.EventEmitter();\n\t this.buttonToggleGroup = toggleGroup;\n\t this.buttonToggleGroupMultiple = toggleGroupMultiple;\n\t if (this.buttonToggleGroup) {\n\t buttonToggleDispatcher.listen(function (id, name) {\n\t if (id != _this.id && name == _this.name) {\n\t _this.checked = false;\n\t }\n\t });\n\t this._type = 'radio';\n\t this.name = this.buttonToggleGroup.name;\n\t this._isSingleSelector = true;\n\t }\n\t else {\n\t // Even if there is no group at all, treat the button toggle as a checkbox so it can be\n\t // toggled on or off.\n\t this._type = 'checkbox';\n\t this._isSingleSelector = false;\n\t }\n\t }\n\t Object.defineProperty(MdButtonToggle.prototype, \"change\", {\n\t get: function () {\n\t return this._change.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdButtonToggle.prototype.ngOnInit = function () {\n\t if (this.id == null) {\n\t this.id = \"md-button-toggle-\" + _uniqueIdCounter$1++;\n\t }\n\t if (this.buttonToggleGroup && this._value == this.buttonToggleGroup.value) {\n\t this._checked = true;\n\t }\n\t };\n\t Object.defineProperty(MdButtonToggle.prototype, \"inputId\", {\n\t /** Unique ID for the underlying `input` element. */\n\t get: function () {\n\t return this.id + \"-input\";\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggle.prototype, \"checked\", {\n\t /** Whether the button is checked. */\n\t get: function () {\n\t return this._checked;\n\t },\n\t set: function (newCheckedState) {\n\t if (this._isSingleSelector) {\n\t if (newCheckedState) {\n\t // Notify all button toggles with the same name (in the same group) to un-check.\n\t this.buttonToggleDispatcher.notify(this.id, this.name);\n\t }\n\t }\n\t this._checked = newCheckedState;\n\t if (newCheckedState && this._isSingleSelector && this.buttonToggleGroup.value != this.value) {\n\t this.buttonToggleGroup.selected = this;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButtonToggle.prototype, \"value\", {\n\t /** MdButtonToggleGroup reads this to assign its own value. */\n\t get: function () {\n\t return this._value;\n\t },\n\t set: function (value) {\n\t if (this._value != value) {\n\t if (this.buttonToggleGroup != null && this.checked) {\n\t this.buttonToggleGroup.value = value;\n\t }\n\t this._value = value;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Dispatch change event with current value. */\n\t MdButtonToggle.prototype._emitChangeEvent = function () {\n\t var event = new MdButtonToggleChange();\n\t event.source = this;\n\t event.value = this._value;\n\t this._change.emit(event);\n\t };\n\t Object.defineProperty(MdButtonToggle.prototype, \"disabled\", {\n\t /** Whether the button is disabled. */\n\t get: function () {\n\t return this._disabled || (this.buttonToggleGroup != null && this.buttonToggleGroup.disabled) ||\n\t (this.buttonToggleGroupMultiple != null && this.buttonToggleGroupMultiple.disabled);\n\t },\n\t set: function (value) {\n\t this._disabled = (value != null && value !== false) ? true : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Toggle the state of the current button toggle. */\n\t MdButtonToggle.prototype._toggle = function () {\n\t this.checked = !this.checked;\n\t };\n\t /** Checks the button toggle due to an interaction with the underlying native input. */\n\t MdButtonToggle.prototype._onInputChange = function (event) {\n\t event.stopPropagation();\n\t if (this._isSingleSelector) {\n\t // Propagate the change one-way via the group, which will in turn mark this\n\t // button toggle as checked.\n\t this.checked = true;\n\t this.buttonToggleGroup.selected = this;\n\t this.buttonToggleGroup.onTouched();\n\t }\n\t else {\n\t this._toggle();\n\t }\n\t // Emit a change event when the native input does.\n\t this._emitChangeEvent();\n\t };\n\t MdButtonToggle.prototype._onInputClick = function (event) {\n\t // We have to stop propagation for click events on the visual hidden input element.\n\t // By default, when a user clicks on a label element, a generated click event will be\n\t // dispatched on the associated input element. Since we are using a label element as our\n\t // root container, the click event on the `slide-toggle` will be executed twice.\n\t // The real click event will bubble up, and the generated click event also tries to bubble up.\n\t // This will lead to multiple click events.\n\t // Preventing bubbling for the second event will solve that issue.\n\t event.stopPropagation();\n\t };\n\t /** Focuses the button. */\n\t MdButtonToggle.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n\t };\n\t __decorate$31([\n\t _angular_core.HostBinding(),\n\t _angular_core.Input(), \n\t __metadata$31('design:type', String)\n\t ], MdButtonToggle.prototype, \"id\", void 0);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', String)\n\t ], MdButtonToggle.prototype, \"name\", void 0);\n\t __decorate$31([\n\t _angular_core.Output(), \n\t __metadata$31('design:type', rxjs_Observable.Observable)\n\t ], MdButtonToggle.prototype, \"change\", null);\n\t __decorate$31([\n\t _angular_core.ViewChild('input'), \n\t __metadata$31('design:type', _angular_core.ElementRef)\n\t ], MdButtonToggle.prototype, \"_inputElement\", void 0);\n\t __decorate$31([\n\t _angular_core.HostBinding('class.mat-button-toggle-checked'),\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggle.prototype, \"checked\", null);\n\t __decorate$31([\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Object)\n\t ], MdButtonToggle.prototype, \"value\", null);\n\t __decorate$31([\n\t _angular_core.HostBinding('class.mat-button-toggle-disabled'),\n\t _angular_core.Input(), \n\t __metadata$31('design:type', Boolean)\n\t ], MdButtonToggle.prototype, \"disabled\", null);\n\t MdButtonToggle = __decorate$31([\n\t _angular_core.Component({selector: 'md-button-toggle, mat-button-toggle',\n\t template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-button-toggle-label\\\"><input #input class=\\\"mat-button-toggle-input cdk-visually-hidden\\\" [type]=\\\"_type\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" (change)=\\\"_onInputChange($event)\\\" (click)=\\\"_onInputClick($event)\\\"><div class=\\\"mat-button-toggle-label-content\\\"><ng-content></ng-content></div></label>\",\n\t styles: [\".mat-button-toggle-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);position:relative;display:inline-flex;flex-direction:row;border-radius:2px;cursor:pointer;white-space:nowrap}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle-disabled .mat-button-toggle-label-content{cursor:default}.mat-button-toggle{white-space:nowrap;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-button-toggle-label-content{display:inline-block;line-height:36px;padding:0 16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mat-button-toggle-label-content>*{vertical-align:middle}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t host: {\n\t '[class.mat-button-toggle]': 'true'\n\t }\n\t }),\n\t __param$4(0, _angular_core.Optional()),\n\t __param$4(1, _angular_core.Optional()), \n\t __metadata$31('design:paramtypes', [MdButtonToggleGroup, MdButtonToggleGroupMultiple, UniqueSelectionDispatcher, _angular_core.Renderer])\n\t ], MdButtonToggle);\n\t return MdButtonToggle;\n\t}());\n\tvar MdButtonToggleModule = (function () {\n\t function MdButtonToggleModule() {\n\t }\n\t /** @deprecated */\n\t MdButtonToggleModule.forRoot = function () {\n\t return {\n\t ngModule: MdButtonToggleModule,\n\t providers: []\n\t };\n\t };\n\t MdButtonToggleModule = __decorate$31([\n\t _angular_core.NgModule({\n\t imports: [_angular_forms.FormsModule, CompatibilityModule],\n\t exports: [\n\t MdButtonToggleGroup,\n\t MdButtonToggleGroupMultiple,\n\t MdButtonToggle,\n\t CompatibilityModule,\n\t ],\n\t declarations: [MdButtonToggleGroup, MdButtonToggleGroupMultiple, MdButtonToggle],\n\t providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER]\n\t }), \n\t __metadata$31('design:paramtypes', [])\n\t ], MdButtonToggleModule);\n\t return MdButtonToggleModule;\n\t}());\n\t\n\tvar __extends$7 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$32 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$32 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// TODO(jelbourn): Make the `isMouseDown` stuff done with one global listener.\n\t// TODO(kara): Convert attribute selectors to classes when attr maps become available\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdButtonCssMatStyler = (function () {\n\t function MdButtonCssMatStyler() {\n\t }\n\t MdButtonCssMatStyler = __decorate$32([\n\t _angular_core.Directive({\n\t selector: 'button[md-button], button[mat-button], a[md-button], a[mat-button]',\n\t host: {\n\t '[class.mat-button]': 'true'\n\t }\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdButtonCssMatStyler);\n\t return MdButtonCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdRaisedButtonCssMatStyler = (function () {\n\t function MdRaisedButtonCssMatStyler() {\n\t }\n\t MdRaisedButtonCssMatStyler = __decorate$32([\n\t _angular_core.Directive({\n\t selector: 'button[md-raised-button], button[mat-raised-button], ' +\n\t 'a[md-raised-button], a[mat-raised-button]',\n\t host: {\n\t '[class.mat-raised-button]': 'true'\n\t }\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdRaisedButtonCssMatStyler);\n\t return MdRaisedButtonCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdIconButtonCssMatStyler = (function () {\n\t function MdIconButtonCssMatStyler() {\n\t }\n\t MdIconButtonCssMatStyler = __decorate$32([\n\t _angular_core.Directive({\n\t selector: 'button[md-icon-button], button[mat-icon-button], a[md-icon-button], a[mat-icon-button]',\n\t host: {\n\t '[class.mat-icon-button]': 'true',\n\t }\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdIconButtonCssMatStyler);\n\t return MdIconButtonCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdFabCssMatStyler = (function () {\n\t function MdFabCssMatStyler() {\n\t }\n\t MdFabCssMatStyler = __decorate$32([\n\t _angular_core.Directive({\n\t selector: 'button[md-fab], button[mat-fab], a[md-fab], a[mat-fab]',\n\t host: {\n\t '[class.mat-fab]': 'true'\n\t }\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdFabCssMatStyler);\n\t return MdFabCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdMiniFabCssMatStyler = (function () {\n\t function MdMiniFabCssMatStyler() {\n\t }\n\t MdMiniFabCssMatStyler = __decorate$32([\n\t _angular_core.Directive({\n\t selector: 'button[md-mini-fab], button[mat-mini-fab], a[md-mini-fab], a[mat-mini-fab]',\n\t host: {\n\t '[class.mat-mini-fab]': 'true'\n\t }\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdMiniFabCssMatStyler);\n\t return MdMiniFabCssMatStyler;\n\t}());\n\t/**\n\t * Material design button.\n\t */\n\tvar MdButton = (function () {\n\t function MdButton(_elementRef, _renderer) {\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t /** Whether the button has focus from the keyboard (not the mouse). Used for class binding. */\n\t this._isKeyboardFocused = false;\n\t /** Whether a mousedown has occurred on this element in the last 100ms. */\n\t this._isMouseDown = false;\n\t /** Whether the ripple effect on click should be disabled. */\n\t this._disableRipple = false;\n\t this._disabled = null;\n\t }\n\t Object.defineProperty(MdButton.prototype, \"disableRipple\", {\n\t /** Whether the ripple effect for this button is disabled. */\n\t get: function () { return this._disableRipple; },\n\t set: function (v) { this._disableRipple = coerceBooleanProperty(v); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButton.prototype, \"disabled\", {\n\t /** Whether the button is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value) ? true : null; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdButton.prototype, \"color\", {\n\t /** The color of the button. Can be `primary`, `accent`, or `warn`. */\n\t get: function () { return this._color; },\n\t set: function (value) { this._updateColor(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdButton.prototype._setMousedown = function () {\n\t var _this = this;\n\t // We only *show* the focus style when focus has come to the button via the keyboard.\n\t // The Material Design spec is silent on this topic, and without doing this, the\n\t // button continues to look :active after clicking.\n\t // @see http://marcysutton.com/button-focus-hell/\n\t this._isMouseDown = true;\n\t setTimeout(function () { _this._isMouseDown = false; }, 100);\n\t };\n\t MdButton.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t MdButton.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._getHostElement(), \"mat-\" + color, isAdd);\n\t }\n\t };\n\t MdButton.prototype._setKeyboardFocus = function () {\n\t this._isKeyboardFocused = !this._isMouseDown;\n\t };\n\t MdButton.prototype._removeKeyboardFocus = function () {\n\t this._isKeyboardFocused = false;\n\t };\n\t /** Focuses the button. */\n\t MdButton.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._getHostElement(), 'focus');\n\t };\n\t MdButton.prototype._getHostElement = function () {\n\t return this._elementRef.nativeElement;\n\t };\n\t MdButton.prototype._isRoundButton = function () {\n\t var el = this._getHostElement();\n\t return el.hasAttribute('md-icon-button') ||\n\t el.hasAttribute('md-fab') ||\n\t el.hasAttribute('md-mini-fab');\n\t };\n\t MdButton.prototype._isRippleDisabled = function () {\n\t return this.disableRipple || this.disabled;\n\t };\n\t __decorate$32([\n\t _angular_core.Input(), \n\t __metadata$32('design:type', Object)\n\t ], MdButton.prototype, \"disableRipple\", null);\n\t __decorate$32([\n\t _angular_core.Input(), \n\t __metadata$32('design:type', Object)\n\t ], MdButton.prototype, \"disabled\", null);\n\t __decorate$32([\n\t _angular_core.Input(), \n\t __metadata$32('design:type', String)\n\t ], MdButton.prototype, \"color\", null);\n\t MdButton = __decorate$32([\n\t _angular_core.Component({selector: 'button[md-button], button[md-raised-button], button[md-icon-button],' +\n\t 'button[md-fab], button[md-mini-fab],' +\n\t 'button[mat-button], button[mat-raised-button], button[mat-icon-button],' +\n\t 'button[mat-fab], button[mat-mini-fab]',\n\t host: {\n\t '[disabled]': 'disabled',\n\t '[class.mat-button-focus]': '_isKeyboardFocused',\n\t '(mousedown)': '_setMousedown()',\n\t '(focus)': '_setKeyboardFocus()',\n\t '(blur)': '_removeKeyboardFocus()',\n\t },\n\t template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"_isRoundButton()\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\" (touchstart)=\\\"$event.preventDefault()\\\"></div>\",\n\t styles: [\".mat-button-focus.mat-button .mat-button-focus-overlay,.mat-button-focus.mat-fab .mat-button-focus-overlay,.mat-button-focus.mat-icon-button .mat-button-focus-overlay,.mat-button-focus.mat-mini-fab .mat-button-focus-overlay,.mat-button-focus.mat-raised-button .mat-button-focus-overlay,.mat-button:hover .mat-button-focus-overlay,.mat-icon-button:hover .mat-button-focus-overlay{opacity:1}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button[disabled]:hover .mat-button-focus-overlay,.mat-button[disabled]:hover.mat-accent,.mat-button[disabled]:hover.mat-primary,.mat-button[disabled]:hover.mat-warn,.mat-icon-button[disabled]:hover .mat-button-focus-overlay,.mat-icon-button[disabled]:hover.mat-accent,.mat-icon-button[disabled]:hover.mat-primary,.mat-icon-button[disabled]:hover.mat-warn{background-color:transparent}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-icon-button,.mat-mini-fab{min-width:0;width:40px;height:40px;border-radius:50%}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-icon,.mat-fab i{padding:16px 0;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-icon,.mat-mini-fab i{padding:8px 0;line-height:24px}.mat-icon-button{padding:0;flex-shrink:0;line-height:40px}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{position:absolute;top:0;left:0;bottom:0;right:0}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;pointer-events:none;opacity:0}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t }), \n\t __metadata$32('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdButton);\n\t return MdButton;\n\t}());\n\t/**\n\t * Raised Material design button.\n\t */\n\tvar MdAnchor = (function (_super) {\n\t __extends$7(MdAnchor, _super);\n\t function MdAnchor(elementRef, renderer) {\n\t _super.call(this, elementRef, renderer);\n\t }\n\t Object.defineProperty(MdAnchor.prototype, \"tabIndex\", {\n\t /** @docs-private */\n\t get: function () {\n\t return this.disabled ? -1 : 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdAnchor.prototype, \"_isAriaDisabled\", {\n\t get: function () {\n\t return this.disabled ? 'true' : 'false';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdAnchor.prototype._haltDisabledEvents = function (event) {\n\t // A disabled button shouldn't apply any actions\n\t if (this.disabled) {\n\t event.preventDefault();\n\t event.stopImmediatePropagation();\n\t }\n\t };\n\t __decorate$32([\n\t _angular_core.HostBinding('tabIndex'), \n\t __metadata$32('design:type', Number)\n\t ], MdAnchor.prototype, \"tabIndex\", null);\n\t MdAnchor = __decorate$32([\n\t _angular_core.Component({selector: \"a[md-button], a[md-raised-button], a[md-icon-button], a[md-fab], a[md-mini-fab],\\n a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab]\",\n\t host: {\n\t '[attr.disabled]': 'disabled',\n\t '[attr.aria-disabled]': '_isAriaDisabled',\n\t '[class.mat-button-focus]': '_isKeyboardFocused',\n\t '(mousedown)': '_setMousedown()',\n\t '(focus)': '_setKeyboardFocus()',\n\t '(blur)': '_removeKeyboardFocus()',\n\t '(click)': '_haltDisabledEvents($event)',\n\t },\n\t template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"_isRoundButton()\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\" (touchstart)=\\\"$event.preventDefault()\\\"></div>\",\n\t styles: [\".mat-button-focus.mat-button .mat-button-focus-overlay,.mat-button-focus.mat-fab .mat-button-focus-overlay,.mat-button-focus.mat-icon-button .mat-button-focus-overlay,.mat-button-focus.mat-mini-fab .mat-button-focus-overlay,.mat-button-focus.mat-raised-button .mat-button-focus-overlay,.mat-button:hover .mat-button-focus-overlay,.mat-icon-button:hover .mat-button-focus-overlay{opacity:1}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button[disabled]:hover .mat-button-focus-overlay,.mat-button[disabled]:hover.mat-accent,.mat-button[disabled]:hover.mat-primary,.mat-button[disabled]:hover.mat-warn,.mat-icon-button[disabled]:hover .mat-button-focus-overlay,.mat-icon-button[disabled]:hover.mat-accent,.mat-icon-button[disabled]:hover.mat-primary,.mat-icon-button[disabled]:hover.mat-warn{background-color:transparent}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-icon-button,.mat-mini-fab{min-width:0;width:40px;height:40px;border-radius:50%}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-icon,.mat-fab i{padding:16px 0;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-icon,.mat-mini-fab i{padding:8px 0;line-height:24px}.mat-icon-button{padding:0;flex-shrink:0;line-height:40px}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{position:absolute;top:0;left:0;bottom:0;right:0}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;pointer-events:none;opacity:0}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None\n\t }), \n\t __metadata$32('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdAnchor);\n\t return MdAnchor;\n\t}(MdButton));\n\tvar MdButtonModule = (function () {\n\t function MdButtonModule() {\n\t }\n\t /** @deprecated */\n\t MdButtonModule.forRoot = function () {\n\t return {\n\t ngModule: MdButtonModule,\n\t providers: []\n\t };\n\t };\n\t MdButtonModule = __decorate$32([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n\t exports: [\n\t MdButton, MdAnchor,\n\t CompatibilityModule,\n\t MdButtonCssMatStyler,\n\t MdRaisedButtonCssMatStyler,\n\t MdIconButtonCssMatStyler,\n\t MdFabCssMatStyler,\n\t MdMiniFabCssMatStyler\n\t ],\n\t declarations: [\n\t MdButton,\n\t MdAnchor,\n\t MdButtonCssMatStyler,\n\t MdRaisedButtonCssMatStyler,\n\t MdIconButtonCssMatStyler,\n\t MdFabCssMatStyler,\n\t MdMiniFabCssMatStyler\n\t ],\n\t }), \n\t __metadata$32('design:paramtypes', [])\n\t ], MdButtonModule);\n\t return MdButtonModule;\n\t}());\n\t\n\tvar __decorate$33 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$33 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Monotonically increasing integer used to auto-generate unique ids for checkbox components. */\n\tvar nextId = 0;\n\t/**\n\t * Provider Expression that allows md-checkbox to register as a ControlValueAccessor.\n\t * This allows it to support [(ngModel)].\n\t * @docs-private\n\t */\n\tvar MD_CHECKBOX_CONTROL_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdCheckbox; }),\n\t multi: true\n\t};\n\t/**\n\t * Represents the different states that require custom transitions between them.\n\t * @docs-private\n\t */\n\t\n\t(function (TransitionCheckState) {\n\t /** The initial state of the component before any user interaction. */\n\t TransitionCheckState[TransitionCheckState[\"Init\"] = 0] = \"Init\";\n\t /** The state representing the component when it's becoming checked. */\n\t TransitionCheckState[TransitionCheckState[\"Checked\"] = 1] = \"Checked\";\n\t /** The state representing the component when it's becoming unchecked. */\n\t TransitionCheckState[TransitionCheckState[\"Unchecked\"] = 2] = \"Unchecked\";\n\t /** The state representing the component when it's becoming indeterminate. */\n\t TransitionCheckState[TransitionCheckState[\"Indeterminate\"] = 3] = \"Indeterminate\";\n\t})(exports.TransitionCheckState || (exports.TransitionCheckState = {}));\n\t/** Change event object emitted by MdCheckbox. */\n\tvar MdCheckboxChange = (function () {\n\t function MdCheckboxChange() {\n\t }\n\t return MdCheckboxChange;\n\t}());\n\t/**\n\t * A material design checkbox component. Supports all of the functionality of an HTML5 checkbox,\n\t * and exposes a similar API. A MdCheckbox can be either checked, unchecked, indeterminate, or\n\t * disabled. Note that all additional accessibility attributes are taken care of by the component,\n\t * so there is no need to provide them yourself. However, if you want to omit a label and still\n\t * have the checkbox be accessible, you may supply an [aria-label] input.\n\t * See: https://www.google.com/design/spec/components/selection-controls.html\n\t */\n\tvar MdCheckbox = (function () {\n\t function MdCheckbox(_renderer, _elementRef, _changeDetectorRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t this._changeDetectorRef = _changeDetectorRef;\n\t /**\n\t * Attached to the aria-label attribute of the host element. In most cases, arial-labelledby will\n\t * take precedence so this may be omitted.\n\t */\n\t this.ariaLabel = '';\n\t /**\n\t * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element\n\t */\n\t this.ariaLabelledby = null;\n\t /** A unique id for the checkbox. If one is not supplied, it is auto-generated. */\n\t this.id = \"md-checkbox-\" + ++nextId;\n\t /** Whether the label should appear after or before the checkbox. Defaults to 'after' */\n\t this.labelPosition = 'after';\n\t this._disabled = false;\n\t /** Tabindex value that is passed to the underlying input element. */\n\t this.tabIndex = 0;\n\t /** Name value will be applied to the input element if present */\n\t this.name = null;\n\t /** Event emitted when the checkbox's `checked` value changes. */\n\t this.change = new _angular_core.EventEmitter();\n\t /** Event emitted when the checkbox's `indeterminate` value changes. */\n\t this.indeterminateChange = new _angular_core.EventEmitter();\n\t /**\n\t * Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.\n\t * @docs-private\n\t */\n\t this.onTouched = function () { };\n\t this._currentAnimationClass = '';\n\t this._currentCheckState = exports.TransitionCheckState.Init;\n\t this._checked = false;\n\t this._indeterminate = false;\n\t this._controlValueAccessorChangeFn = function (value) { };\n\t this._hasFocus = false;\n\t this.color = 'accent';\n\t }\n\t Object.defineProperty(MdCheckbox.prototype, \"disableRipple\", {\n\t /** Whether the ripple effect for this checkbox is disabled. */\n\t get: function () { return this._disableRipple; },\n\t set: function (value) { this._disableRipple = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"inputId\", {\n\t /** ID of the native input element inside `<md-checkbox>` */\n\t get: function () {\n\t return \"input-\" + this.id;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"required\", {\n\t /** Whether the checkbox is required. */\n\t get: function () { return this._required; },\n\t set: function (value) { this._required = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"align\", {\n\t /**\n\t * Whether or not the checkbox should appear before or after the label.\n\t * @deprecated\n\t */\n\t get: function () {\n\t // align refers to the checkbox relative to the label, while labelPosition refers to the\n\t // label relative to the checkbox. As such, they are inverted.\n\t return this.labelPosition == 'after' ? 'start' : 'end';\n\t },\n\t set: function (v) {\n\t this.labelPosition = (v == 'start') ? 'after' : 'before';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"disabled\", {\n\t /** Whether the checkbox is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"checked\", {\n\t /**\n\t * Whether the checkbox is checked. Note that setting `checked` will immediately set\n\t * `indeterminate` to false.\n\t */\n\t get: function () {\n\t return this._checked;\n\t },\n\t set: function (checked) {\n\t if (checked != this.checked) {\n\t if (this._indeterminate) {\n\t this._indeterminate = false;\n\t this.indeterminateChange.emit(this._indeterminate);\n\t }\n\t this._checked = checked;\n\t this._transitionCheckState(this._checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);\n\t this._changeDetectorRef.markForCheck();\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"indeterminate\", {\n\t /**\n\t * Whether the checkbox is indeterminate. This is also known as \"mixed\" mode and can be used to\n\t * represent a checkbox with three states, e.g. a checkbox that represents a nested list of\n\t * checkable items. Note that whenever `checked` is set, indeterminate is immediately set to\n\t * false. This differs from the web platform in that indeterminate state on native\n\t * checkboxes is only remove when the user manually checks the checkbox (rather than setting the\n\t * `checked` property programmatically). However, we feel that this behavior is more accommodating\n\t * to the way consumers would envision using this component.\n\t */\n\t get: function () {\n\t return this._indeterminate;\n\t },\n\t set: function (indeterminate) {\n\t var changed = indeterminate != this._indeterminate;\n\t this._indeterminate = indeterminate;\n\t if (this._indeterminate) {\n\t this._transitionCheckState(exports.TransitionCheckState.Indeterminate);\n\t }\n\t else {\n\t this._transitionCheckState(this.checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);\n\t }\n\t if (changed) {\n\t this.indeterminateChange.emit(this._indeterminate);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdCheckbox.prototype, \"color\", {\n\t /** The color of the button. Can be `primary`, `accent`, or `warn`. */\n\t get: function () { return this._color; },\n\t set: function (value) { this._updateColor(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdCheckbox.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t MdCheckbox.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t MdCheckbox.prototype._isRippleDisabled = function () {\n\t return this.disableRipple || this.disabled;\n\t };\n\t /**\n\t * Sets the model value. Implemented as part of ControlValueAccessor.\n\t * @param value Value to be set to the model.\n\t */\n\t MdCheckbox.prototype.writeValue = function (value) {\n\t this.checked = !!value;\n\t };\n\t /**\n\t * Registers a callback to be triggered when the value has changed.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Function to be called on change.\n\t */\n\t MdCheckbox.prototype.registerOnChange = function (fn) {\n\t this._controlValueAccessorChangeFn = fn;\n\t };\n\t /**\n\t * Registers a callback to be triggered when the control has been touched.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Callback to be triggered when the checkbox is touched.\n\t */\n\t MdCheckbox.prototype.registerOnTouched = function (fn) {\n\t this.onTouched = fn;\n\t };\n\t /**\n\t * Sets the checkbox's disabled state. Implemented as a part of ControlValueAccessor.\n\t * @param isDisabled Whether the checkbox should be disabled.\n\t */\n\t MdCheckbox.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t MdCheckbox.prototype._transitionCheckState = function (newState) {\n\t var oldState = this._currentCheckState;\n\t var renderer = this._renderer;\n\t var elementRef = this._elementRef;\n\t if (oldState === newState) {\n\t return;\n\t }\n\t if (this._currentAnimationClass.length > 0) {\n\t renderer.setElementClass(elementRef.nativeElement, this._currentAnimationClass, false);\n\t }\n\t this._currentAnimationClass = this._getAnimationClassForCheckStateTransition(oldState, newState);\n\t this._currentCheckState = newState;\n\t if (this._currentAnimationClass.length > 0) {\n\t renderer.setElementClass(elementRef.nativeElement, this._currentAnimationClass, true);\n\t }\n\t };\n\t MdCheckbox.prototype._emitChangeEvent = function () {\n\t var event = new MdCheckboxChange();\n\t event.source = this;\n\t event.checked = this.checked;\n\t this._controlValueAccessorChangeFn(this.checked);\n\t this.change.emit(event);\n\t };\n\t /** Informs the component when the input has focus so that we can style accordingly */\n\t MdCheckbox.prototype._onInputFocus = function () {\n\t this._hasFocus = true;\n\t };\n\t /** Informs the component when we lose focus in order to style accordingly */\n\t MdCheckbox.prototype._onInputBlur = function () {\n\t this._hasFocus = false;\n\t this.onTouched();\n\t };\n\t /** Toggles the `checked` state of the checkbox. */\n\t MdCheckbox.prototype.toggle = function () {\n\t this.checked = !this.checked;\n\t };\n\t /**\n\t * Event handler for checkbox input element.\n\t * Toggles checked state if element is not disabled.\n\t * @param event\n\t */\n\t MdCheckbox.prototype._onInteractionEvent = function (event) {\n\t // We always have to stop propagation on the change event.\n\t // Otherwise the change event, from the input element, will bubble up and\n\t // emit its event object to the `change` output.\n\t event.stopPropagation();\n\t if (!this.disabled) {\n\t this.toggle();\n\t // Emit our custom change event if the native input emitted one.\n\t // It is important to only emit it, if the native input triggered one, because\n\t // we don't want to trigger a change event, when the `checked` variable changes for example.\n\t this._emitChangeEvent();\n\t }\n\t };\n\t /** Focuses the checkbox. */\n\t MdCheckbox.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n\t this._onInputFocus();\n\t };\n\t MdCheckbox.prototype._onInputClick = function (event) {\n\t // We have to stop propagation for click events on the visual hidden input element.\n\t // By default, when a user clicks on a label element, a generated click event will be\n\t // dispatched on the associated input element. Since we are using a label element as our\n\t // root container, the click event on the `checkbox` will be executed twice.\n\t // The real click event will bubble up, and the generated click event also tries to bubble up.\n\t // This will lead to multiple click events.\n\t // Preventing bubbling for the second event will solve that issue.\n\t event.stopPropagation();\n\t };\n\t MdCheckbox.prototype._getAnimationClassForCheckStateTransition = function (oldState, newState) {\n\t var animSuffix;\n\t switch (oldState) {\n\t case exports.TransitionCheckState.Init:\n\t // Handle edge case where user interacts with checkbox that does not have [(ngModel)] or\n\t // [checked] bound to it.\n\t if (newState === exports.TransitionCheckState.Checked) {\n\t animSuffix = 'unchecked-checked';\n\t }\n\t else {\n\t return '';\n\t }\n\t break;\n\t case exports.TransitionCheckState.Unchecked:\n\t animSuffix = newState === exports.TransitionCheckState.Checked ?\n\t 'unchecked-checked' : 'unchecked-indeterminate';\n\t break;\n\t case exports.TransitionCheckState.Checked:\n\t animSuffix = newState === exports.TransitionCheckState.Unchecked ?\n\t 'checked-unchecked' : 'checked-indeterminate';\n\t break;\n\t case exports.TransitionCheckState.Indeterminate:\n\t animSuffix = newState === exports.TransitionCheckState.Checked ?\n\t 'indeterminate-checked' : 'indeterminate-unchecked';\n\t }\n\t return \"mat-checkbox-anim-\" + animSuffix;\n\t };\n\t MdCheckbox.prototype._getHostElement = function () {\n\t return this._elementRef.nativeElement;\n\t };\n\t __decorate$33([\n\t _angular_core.Input('aria-label'), \n\t __metadata$33('design:type', String)\n\t ], MdCheckbox.prototype, \"ariaLabel\", void 0);\n\t __decorate$33([\n\t _angular_core.Input('aria-labelledby'), \n\t __metadata$33('design:type', String)\n\t ], MdCheckbox.prototype, \"ariaLabelledby\", void 0);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', String)\n\t ], MdCheckbox.prototype, \"id\", void 0);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Boolean)\n\t ], MdCheckbox.prototype, \"disableRipple\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Boolean)\n\t ], MdCheckbox.prototype, \"required\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Object)\n\t ], MdCheckbox.prototype, \"align\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Object)\n\t ], MdCheckbox.prototype, \"labelPosition\", void 0);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Boolean)\n\t ], MdCheckbox.prototype, \"disabled\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Number)\n\t ], MdCheckbox.prototype, \"tabIndex\", void 0);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', String)\n\t ], MdCheckbox.prototype, \"name\", void 0);\n\t __decorate$33([\n\t _angular_core.Output(), \n\t __metadata$33('design:type', _angular_core.EventEmitter)\n\t ], MdCheckbox.prototype, \"change\", void 0);\n\t __decorate$33([\n\t _angular_core.Output(), \n\t __metadata$33('design:type', _angular_core.EventEmitter)\n\t ], MdCheckbox.prototype, \"indeterminateChange\", void 0);\n\t __decorate$33([\n\t _angular_core.ViewChild('input'), \n\t __metadata$33('design:type', _angular_core.ElementRef)\n\t ], MdCheckbox.prototype, \"_inputElement\", void 0);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Object)\n\t ], MdCheckbox.prototype, \"checked\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', Object)\n\t ], MdCheckbox.prototype, \"indeterminate\", null);\n\t __decorate$33([\n\t _angular_core.Input(), \n\t __metadata$33('design:type', String)\n\t ], MdCheckbox.prototype, \"color\", null);\n\t MdCheckbox = __decorate$33([\n\t _angular_core.Component({selector: 'md-checkbox, mat-checkbox',\n\t template: \"<label class=\\\"mat-checkbox-layout\\\"><div class=\\\"mat-checkbox-inner-container\\\"><input #input class=\\\"mat-checkbox-input cdk-visually-hidden\\\" type=\\\"checkbox\\\" [id]=\\\"inputId\\\" [required]=\\\"required\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" [tabIndex]=\\\"tabIndex\\\" [indeterminate]=\\\"indeterminate\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (focus)=\\\"_onInputFocus()\\\" (blur)=\\\"_onInputBlur()\\\" (change)=\\\"_onInteractionEvent($event)\\\" (click)=\\\"_onInputClick($event)\\\"><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-checkbox-ripple\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\" [mdRippleCentered]=\\\"true\\\" [mdRippleSpeedFactor]=\\\"0.3\\\"></div><div class=\\\"mat-checkbox-frame\\\"></div><div class=\\\"mat-checkbox-background\\\"><svg version=\\\"1.1\\\" class=\\\"mat-checkbox-checkmark\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\"><path class=\\\"mat-checkbox-checkmark-path\\\" fill=\\\"none\\\" stroke=\\\"white\\\" d=\\\"M4.1,12.7 9,17.6 20.3,6.3\\\"/></svg><div class=\\\"mat-checkbox-mixedmark\\\"></div></div></div><span class=\\\"mat-checkbox-label\\\"><ng-content></ng-content></span></label>\",\n\t styles: [\".mat-checkbox-frame,.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-checkmark,.mat-checkbox-frame{bottom:0;left:0;position:absolute;right:0;top:0}.mat-checkbox-checkmark,.mat-checkbox-mixedmark{width:calc(100% - 4px)}.mat-checkbox-background,.mat-checkbox-frame{border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{cursor:pointer;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex}.mat-checkbox-inner-container{display:inline-block;height:20px;line-height:0;margin:auto 8px auto auto;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:20px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-checkbox-frame{transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-checkbox-checkmark{width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.67px}.mat-checkbox-checked .mat-checkbox-checkmark-path,.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-mixedmark{height:2px;opacity:0;transform:scaleX(0) rotate(0)}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-ripple{position:absolute;left:-15px;top:-15px;right:-15px;bottom:-15px;border-radius:50%;z-index:1;pointer-events:none}\"],\n\t host: {\n\t '[class.mat-checkbox]': 'true',\n\t '[class.mat-checkbox-indeterminate]': 'indeterminate',\n\t '[class.mat-checkbox-checked]': 'checked',\n\t '[class.mat-checkbox-disabled]': 'disabled',\n\t '[class.mat-checkbox-label-before]': 'labelPosition == \"before\"',\n\t '[class.mat-checkbox-focused]': '_hasFocus',\n\t },\n\t providers: [MD_CHECKBOX_CONTROL_VALUE_ACCESSOR],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n\t }), \n\t __metadata$33('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef, _angular_core.ChangeDetectorRef])\n\t ], MdCheckbox);\n\t return MdCheckbox;\n\t}());\n\tvar MdCheckboxModule = (function () {\n\t function MdCheckboxModule() {\n\t }\n\t /** @deprecated */\n\t MdCheckboxModule.forRoot = function () {\n\t return {\n\t ngModule: MdCheckboxModule,\n\t providers: []\n\t };\n\t };\n\t MdCheckboxModule = __decorate$33([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n\t exports: [MdCheckbox, CompatibilityModule],\n\t declarations: [MdCheckbox],\n\t }), \n\t __metadata$33('design:paramtypes', [])\n\t ], MdCheckboxModule);\n\t return MdCheckboxModule;\n\t}());\n\t\n\tvar __decorate$34 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$34 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$5 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * Provider Expression that allows md-radio-group to register as a ControlValueAccessor. This\n\t * allows it to support [(ngModel)] and ngControl.\n\t * @docs-private\n\t */\n\tvar MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdRadioGroup; }),\n\t multi: true\n\t};\n\tvar _uniqueIdCounter$2 = 0;\n\t/** Change event object emitted by MdRadio and MdRadioGroup. */\n\tvar MdRadioChange = (function () {\n\t function MdRadioChange() {\n\t }\n\t return MdRadioChange;\n\t}());\n\t/**\n\t * A group of radio buttons. May contain one or more `<md-radio-button>` elements.\n\t */\n\tvar MdRadioGroup = (function () {\n\t function MdRadioGroup() {\n\t /**\n\t * Selected value for group. Should equal the value of the selected radio button if there *is*\n\t * a corresponding radio button with a matching value. If there is *not* such a corresponding\n\t * radio button, this value persists to be applied in case a new radio button is added with a\n\t * matching value.\n\t */\n\t this._value = null;\n\t /** The HTML name attribute applied to radio buttons in this group. */\n\t this._name = \"md-radio-group-\" + _uniqueIdCounter$2++;\n\t /** Disables all individual radio buttons assigned to this group. */\n\t this._disabled = false;\n\t /** The currently selected radio button. Should match value. */\n\t this._selected = null;\n\t /** Whether the `value` has been set to its initial value. */\n\t this._isInitialized = false;\n\t /** The method to be called in order to update ngModel */\n\t this._controlValueAccessorChangeFn = function (value) { };\n\t /**\n\t * onTouch function registered via registerOnTouch (ControlValueAccessor).\n\t * @docs-private\n\t */\n\t this.onTouched = function () { };\n\t /**\n\t * Event emitted when the group value changes.\n\t * Change events are only emitted when the value changes due to user interaction with\n\t * a radio button (the same behavior as `<input type-\"radio\">`).\n\t */\n\t this.change = new _angular_core.EventEmitter();\n\t /** Child radio buttons. */\n\t this._radios = null;\n\t /** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */\n\t this.labelPosition = 'after';\n\t }\n\t Object.defineProperty(MdRadioGroup.prototype, \"name\", {\n\t /** Name of the radio button group. All radio buttons inside this group will use this name. */\n\t get: function () { return this._name; },\n\t set: function (value) {\n\t this._name = value;\n\t this._updateRadioButtonNames();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioGroup.prototype, \"align\", {\n\t /**\n\t * Alignment of the radio-buttons relative to their labels. Can be 'before' or 'after'.\n\t * @deprecated\n\t */\n\t get: function () {\n\t // align refers to the checkbox relative to the label, while labelPosition refers to the\n\t // label relative to the checkbox. As such, they are inverted.\n\t return this.labelPosition == 'after' ? 'start' : 'end';\n\t },\n\t set: function (v) {\n\t this.labelPosition = (v == 'start') ? 'after' : 'before';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioGroup.prototype, \"disabled\", {\n\t /** Whether the radio button is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) {\n\t // The presence of *any* disabled value makes the component disabled, *except* for false.\n\t this._disabled = (value != null && value !== false) ? true : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioGroup.prototype, \"value\", {\n\t /** Value of the radio button. */\n\t get: function () { return this._value; },\n\t set: function (newValue) {\n\t if (this._value != newValue) {\n\t // Set this before proceeding to ensure no circular loop occurs with selection.\n\t this._value = newValue;\n\t this._updateSelectedRadioFromValue();\n\t this._checkSelectedRadioButton();\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdRadioGroup.prototype._checkSelectedRadioButton = function () {\n\t if (this.selected && !this._selected.checked) {\n\t this._selected.checked = true;\n\t }\n\t };\n\t Object.defineProperty(MdRadioGroup.prototype, \"selected\", {\n\t /** Whether the radio button is selected. */\n\t get: function () { return this._selected; },\n\t set: function (selected) {\n\t this._selected = selected;\n\t this.value = selected ? selected.value : null;\n\t this._checkSelectedRadioButton();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Initialize properties once content children are available.\n\t * This allows us to propagate relevant attributes to associated buttons.\n\t */\n\t MdRadioGroup.prototype.ngAfterContentInit = function () {\n\t // Mark this component as initialized in AfterContentInit because the initial value can\n\t // possibly be set by NgModel on MdRadioGroup, and it is possible that the OnInit of the\n\t // NgModel occurs *after* the OnInit of the MdRadioGroup.\n\t this._isInitialized = true;\n\t };\n\t /**\n\t * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n\t * radio buttons upon their blur.\n\t */\n\t MdRadioGroup.prototype._touch = function () {\n\t if (this.onTouched) {\n\t this.onTouched();\n\t }\n\t };\n\t MdRadioGroup.prototype._updateRadioButtonNames = function () {\n\t var _this = this;\n\t if (this._radios) {\n\t this._radios.forEach(function (radio) {\n\t radio.name = _this.name;\n\t });\n\t }\n\t };\n\t /** Updates the `selected` radio button from the internal _value state. */\n\t MdRadioGroup.prototype._updateSelectedRadioFromValue = function () {\n\t var _this = this;\n\t // If the value already matches the selected radio, do nothing.\n\t var isAlreadySelected = this._selected != null && this._selected.value == this._value;\n\t if (this._radios != null && !isAlreadySelected) {\n\t this._selected = null;\n\t this._radios.forEach(function (radio) {\n\t radio.checked = _this.value == radio.value;\n\t if (radio.checked) {\n\t _this._selected = radio;\n\t }\n\t });\n\t }\n\t };\n\t /** Dispatch change event with current selection and group value. */\n\t MdRadioGroup.prototype._emitChangeEvent = function () {\n\t if (this._isInitialized) {\n\t var event_1 = new MdRadioChange();\n\t event_1.source = this._selected;\n\t event_1.value = this._value;\n\t this.change.emit(event_1);\n\t }\n\t };\n\t /**\n\t * Sets the model value. Implemented as part of ControlValueAccessor.\n\t * @param value\n\t */\n\t MdRadioGroup.prototype.writeValue = function (value) {\n\t this.value = value;\n\t };\n\t /**\n\t * Registers a callback to be triggered when the model value changes.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Callback to be registered.\n\t */\n\t MdRadioGroup.prototype.registerOnChange = function (fn) {\n\t this._controlValueAccessorChangeFn = fn;\n\t };\n\t /**\n\t * Registers a callback to be triggered when the control is touched.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Callback to be registered.\n\t */\n\t MdRadioGroup.prototype.registerOnTouched = function (fn) {\n\t this.onTouched = fn;\n\t };\n\t /**\n\t * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n\t * @param isDisabled Whether the control should be disabled.\n\t */\n\t MdRadioGroup.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t __decorate$34([\n\t _angular_core.Output(), \n\t __metadata$34('design:type', _angular_core.EventEmitter)\n\t ], MdRadioGroup.prototype, \"change\", void 0);\n\t __decorate$34([\n\t _angular_core.ContentChildren(_angular_core.forwardRef(function () { return MdRadioButton; })), \n\t __metadata$34('design:type', _angular_core.QueryList)\n\t ], MdRadioGroup.prototype, \"_radios\", void 0);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', String)\n\t ], MdRadioGroup.prototype, \"name\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioGroup.prototype, \"align\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioGroup.prototype, \"labelPosition\", void 0);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Boolean)\n\t ], MdRadioGroup.prototype, \"disabled\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioGroup.prototype, \"value\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioGroup.prototype, \"selected\", null);\n\t MdRadioGroup = __decorate$34([\n\t _angular_core.Directive({\n\t selector: 'md-radio-group, mat-radio-group',\n\t providers: [MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR],\n\t host: {\n\t 'role': 'radiogroup',\n\t '[class.mat-radio-group]': 'true',\n\t },\n\t }), \n\t __metadata$34('design:paramtypes', [])\n\t ], MdRadioGroup);\n\t return MdRadioGroup;\n\t}());\n\t/**\n\t * A radio-button. May be inside of\n\t */\n\tvar MdRadioButton = (function () {\n\t function MdRadioButton(radioGroup, _elementRef, _renderer, radioDispatcher) {\n\t // Assertions. Ideally these should be stripped out by the compiler.\n\t // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n\t var _this = this;\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t this.radioDispatcher = radioDispatcher;\n\t /** Whether this radio is checked. */\n\t this._checked = false;\n\t /** The unique ID for the radio button. */\n\t this.id = \"md-radio-\" + _uniqueIdCounter$2++;\n\t /** Value assigned to this radio.*/\n\t this._value = null;\n\t /**\n\t * Event emitted when the checked state of this radio button changes.\n\t * Change events are only emitted when the value changes due to user interaction with\n\t * the radio button (the same behavior as `<input type-\"radio\">`).\n\t */\n\t this.change = new _angular_core.EventEmitter();\n\t this.radioGroup = radioGroup;\n\t radioDispatcher.listen(function (id, name) {\n\t if (id != _this.id && name == _this.name) {\n\t _this.checked = false;\n\t }\n\t });\n\t }\n\t Object.defineProperty(MdRadioButton.prototype, \"disableRipple\", {\n\t /** Whether the ripple effect for this radio button is disabled. */\n\t get: function () { return this._disableRipple; },\n\t set: function (value) { this._disableRipple = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"inputId\", {\n\t /** ID of the native input element inside `<md-radio-button>` */\n\t get: function () {\n\t return this.id + \"-input\";\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"checked\", {\n\t /** Whether this radio button is checked. */\n\t get: function () {\n\t return this._checked;\n\t },\n\t set: function (newCheckedState) {\n\t if (this._checked != newCheckedState) {\n\t this._checked = newCheckedState;\n\t if (newCheckedState && this.radioGroup && this.radioGroup.value != this.value) {\n\t this.radioGroup.selected = this;\n\t }\n\t else if (!newCheckedState && this.radioGroup && this.radioGroup.value == this.value) {\n\t // When unchecking the selected radio button, update the selected radio\n\t // property on the group.\n\t this.radioGroup.selected = null;\n\t }\n\t if (newCheckedState) {\n\t // Notify all radio buttons with the same name to un-check.\n\t this.radioDispatcher.notify(this.id, this.name);\n\t }\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"value\", {\n\t /** The value of this radio button. */\n\t get: function () {\n\t return this._value;\n\t },\n\t set: function (value) {\n\t if (this._value != value) {\n\t this._value = value;\n\t if (this.radioGroup != null) {\n\t if (!this.checked) {\n\t // Update checked when the value changed to match the radio group's value\n\t this.checked = this.radioGroup.value == value;\n\t }\n\t if (this.checked) {\n\t this.radioGroup.selected = this;\n\t }\n\t }\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"align\", {\n\t /**\n\t * Whether or not the radio-button should appear before or after the label.\n\t * @deprecated\n\t */\n\t get: function () {\n\t // align refers to the checkbox relative to the label, while labelPosition refers to the\n\t // label relative to the checkbox. As such, they are inverted.\n\t return this.labelPosition == 'after' ? 'start' : 'end';\n\t },\n\t set: function (v) {\n\t this.labelPosition = (v == 'start') ? 'after' : 'before';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"labelPosition\", {\n\t /** Whether the label should appear after or before the radio button. Defaults to 'after' */\n\t get: function () {\n\t return this._labelPosition || (this.radioGroup && this.radioGroup.labelPosition) || 'after';\n\t },\n\t set: function (value) {\n\t this._labelPosition = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdRadioButton.prototype, \"disabled\", {\n\t /** Whether the radio button is disabled. */\n\t get: function () {\n\t return this._disabled || (this.radioGroup != null && this.radioGroup.disabled);\n\t },\n\t set: function (value) {\n\t // The presence of *any* disabled value makes the component disabled, *except* for false.\n\t this._disabled = (value != null && value !== false) ? true : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdRadioButton.prototype.ngOnInit = function () {\n\t if (this.radioGroup) {\n\t // If the radio is inside a radio group, determine if it should be checked\n\t this.checked = this.radioGroup.value === this._value;\n\t // Copy name from parent radio group\n\t this.name = this.radioGroup.name;\n\t }\n\t };\n\t /** Dispatch change event with current value. */\n\t MdRadioButton.prototype._emitChangeEvent = function () {\n\t var event = new MdRadioChange();\n\t event.source = this;\n\t event.value = this._value;\n\t this.change.emit(event);\n\t };\n\t MdRadioButton.prototype._isRippleDisabled = function () {\n\t return this.disableRipple || this.disabled;\n\t };\n\t /**\n\t * We use a hidden native input field to handle changes to focus state via keyboard navigation,\n\t * with visual rendering done separately. The native element is kept in sync with the overall\n\t * state of the component.\n\t */\n\t MdRadioButton.prototype._onInputFocus = function () {\n\t this._isFocused = true;\n\t };\n\t /** Focuses the radio button. */\n\t MdRadioButton.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n\t this._onInputFocus();\n\t };\n\t MdRadioButton.prototype._onInputBlur = function () {\n\t this._isFocused = false;\n\t if (this.radioGroup) {\n\t this.radioGroup._touch();\n\t }\n\t };\n\t MdRadioButton.prototype._onInputClick = function (event) {\n\t // We have to stop propagation for click events on the visual hidden input element.\n\t // By default, when a user clicks on a label element, a generated click event will be\n\t // dispatched on the associated input element. Since we are using a label element as our\n\t // root container, the click event on the `radio-button` will be executed twice.\n\t // The real click event will bubble up, and the generated click event also tries to bubble up.\n\t // This will lead to multiple click events.\n\t // Preventing bubbling for the second event will solve that issue.\n\t event.stopPropagation();\n\t };\n\t /**\n\t * Triggered when the radio button received a click or the input recognized any change.\n\t * Clicking on a label element, will trigger a change event on the associated input.\n\t */\n\t MdRadioButton.prototype._onInputChange = function (event) {\n\t // We always have to stop propagation on the change event.\n\t // Otherwise the change event, from the input element, will bubble up and\n\t // emit its event object to the `change` output.\n\t event.stopPropagation();\n\t var groupValueChanged = this.radioGroup && this.value != this.radioGroup.value;\n\t this.checked = true;\n\t this._emitChangeEvent();\n\t if (this.radioGroup) {\n\t this.radioGroup._controlValueAccessorChangeFn(this.value);\n\t this.radioGroup._touch();\n\t if (groupValueChanged) {\n\t this.radioGroup._emitChangeEvent();\n\t }\n\t }\n\t };\n\t __decorate$34([\n\t _angular_core.HostBinding('class.mat-radio-focused'), \n\t __metadata$34('design:type', Boolean)\n\t ], MdRadioButton.prototype, \"_isFocused\", void 0);\n\t __decorate$34([\n\t _angular_core.HostBinding('id'),\n\t _angular_core.Input(), \n\t __metadata$34('design:type', String)\n\t ], MdRadioButton.prototype, \"id\", void 0);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', String)\n\t ], MdRadioButton.prototype, \"name\", void 0);\n\t __decorate$34([\n\t _angular_core.Input('aria-label'), \n\t __metadata$34('design:type', String)\n\t ], MdRadioButton.prototype, \"ariaLabel\", void 0);\n\t __decorate$34([\n\t _angular_core.Input('aria-labelledby'), \n\t __metadata$34('design:type', String)\n\t ], MdRadioButton.prototype, \"ariaLabelledby\", void 0);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Boolean)\n\t ], MdRadioButton.prototype, \"disableRipple\", null);\n\t __decorate$34([\n\t _angular_core.Output(), \n\t __metadata$34('design:type', _angular_core.EventEmitter)\n\t ], MdRadioButton.prototype, \"change\", void 0);\n\t __decorate$34([\n\t _angular_core.ViewChild('input'), \n\t __metadata$34('design:type', _angular_core.ElementRef)\n\t ], MdRadioButton.prototype, \"_inputElement\", void 0);\n\t __decorate$34([\n\t _angular_core.HostBinding('class.mat-radio-checked'),\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Boolean)\n\t ], MdRadioButton.prototype, \"checked\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioButton.prototype, \"value\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioButton.prototype, \"align\", null);\n\t __decorate$34([\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Object)\n\t ], MdRadioButton.prototype, \"labelPosition\", null);\n\t __decorate$34([\n\t _angular_core.HostBinding('class.mat-radio-disabled'),\n\t _angular_core.Input(), \n\t __metadata$34('design:type', Boolean)\n\t ], MdRadioButton.prototype, \"disabled\", null);\n\t MdRadioButton = __decorate$34([\n\t _angular_core.Component({selector: 'md-radio-button, mat-radio-button',\n\t template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label><div class=\\\"mat-radio-container\\\"><div class=\\\"mat-radio-outer-circle\\\"></div><div class=\\\"mat-radio-inner-circle\\\"></div><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-radio-ripple\\\" [mdRippleTrigger]=\\\"label\\\" [mdRippleCentered]=\\\"true\\\" [mdRippleSpeedFactor]=\\\"0.3\\\"></div></div><input #input class=\\\"mat-radio-input cdk-visually-hidden\\\" type=\\\"radio\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (change)=\\\"_onInputChange($event)\\\" (focus)=\\\"_onInputFocus()\\\" (blur)=\\\"_onInputBlur()\\\" (click)=\\\"_onInputClick($event)\\\"><div class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\"><ng-content></ng-content></div></label>\",\n\t styles: [\".mat-radio-button{display:inline-block;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-radio-label{cursor:pointer;display:inline-flex;align-items:baseline;white-space:nowrap}.mat-radio-container{box-sizing:border-box;display:inline-block;height:20px;position:relative;width:20px;top:2px}.mat-radio-inner-circle,.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;top:0;width:20px;position:absolute;border-radius:50%}.mat-radio-outer-circle{transition:border-color ease 280ms;border-width:2px;border-style:solid}.mat-radio-inner-circle{transition:transform ease 280ms,background-color ease 280ms;transform:scale(0)}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}.mat-radio-label-content{display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-ripple{position:absolute;left:-15px;top:-15px;right:-15px;bottom:-15px;border-radius:50%;z-index:1;pointer-events:none}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t host: {\n\t '[class.mat-radio-button]': 'true',\n\t }\n\t }),\n\t __param$5(0, _angular_core.Optional()), \n\t __metadata$34('design:paramtypes', [MdRadioGroup, _angular_core.ElementRef, _angular_core.Renderer, UniqueSelectionDispatcher])\n\t ], MdRadioButton);\n\t return MdRadioButton;\n\t}());\n\tvar MdRadioModule = (function () {\n\t function MdRadioModule() {\n\t }\n\t /** @deprecated */\n\t MdRadioModule.forRoot = function () {\n\t return {\n\t ngModule: MdRadioModule,\n\t providers: [],\n\t };\n\t };\n\t MdRadioModule = __decorate$34([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n\t exports: [MdRadioGroup, MdRadioButton, CompatibilityModule],\n\t providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER, VIEWPORT_RULER_PROVIDER],\n\t declarations: [MdRadioGroup, MdRadioButton],\n\t }), \n\t __metadata$34('design:paramtypes', [])\n\t ], MdRadioModule);\n\t return MdRadioModule;\n\t}());\n\t\n\t/**\n\t * This class manages keyboard events for selectable lists. If you pass it a query list\n\t * of items, it will set the active item correctly when arrow events occur.\n\t */\n\tvar ListKeyManager = (function () {\n\t function ListKeyManager(_items) {\n\t this._items = _items;\n\t this._tabOut = new rxjs_Subject.Subject();\n\t this._wrap = false;\n\t }\n\t /**\n\t * Turns on wrapping mode, which ensures that the active item will wrap to\n\t * the other end of list when there are no more items in the given direction.\n\t *\n\t * @returns The ListKeyManager that the method was called on.\n\t */\n\t ListKeyManager.prototype.withWrap = function () {\n\t this._wrap = true;\n\t return this;\n\t };\n\t /**\n\t * Sets the active item to the item at the index specified.\n\t *\n\t * @param index The index of the item to be set as active.\n\t */\n\t ListKeyManager.prototype.setActiveItem = function (index) {\n\t this._activeItemIndex = index;\n\t this._activeItem = this._items.toArray()[index];\n\t };\n\t /**\n\t * Sets the active item depending on the key event passed in.\n\t * @param event Keyboard event to be used for determining which element should be active.\n\t */\n\t ListKeyManager.prototype.onKeydown = function (event) {\n\t switch (event.keyCode) {\n\t case DOWN_ARROW:\n\t this.setNextItemActive();\n\t break;\n\t case UP_ARROW:\n\t this.setPreviousItemActive();\n\t break;\n\t case HOME:\n\t this.setFirstItemActive();\n\t break;\n\t case END:\n\t this.setLastItemActive();\n\t break;\n\t case TAB:\n\t // Note that we shouldn't prevent the default action on tab.\n\t this._tabOut.next(null);\n\t return;\n\t default:\n\t return;\n\t }\n\t event.preventDefault();\n\t };\n\t Object.defineProperty(ListKeyManager.prototype, \"activeItemIndex\", {\n\t /** Returns the index of the currently active item. */\n\t get: function () {\n\t return this._activeItemIndex;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ListKeyManager.prototype, \"activeItem\", {\n\t /** Returns the currently active item. */\n\t get: function () {\n\t return this._activeItem;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Sets the active item to the first enabled item in the list. */\n\t ListKeyManager.prototype.setFirstItemActive = function () {\n\t this._setActiveItemByIndex(0, 1);\n\t };\n\t /** Sets the active item to the last enabled item in the list. */\n\t ListKeyManager.prototype.setLastItemActive = function () {\n\t this._setActiveItemByIndex(this._items.length - 1, -1);\n\t };\n\t /** Sets the active item to the next enabled item in the list. */\n\t ListKeyManager.prototype.setNextItemActive = function () {\n\t this._activeItemIndex === null ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n\t };\n\t /** Sets the active item to a previous enabled item in the list. */\n\t ListKeyManager.prototype.setPreviousItemActive = function () {\n\t this._activeItemIndex === null && this._wrap ? this.setLastItemActive()\n\t : this._setActiveItemByDelta(-1);\n\t };\n\t /**\n\t * Allows setting of the activeItemIndex without any other effects.\n\t * @param index The new activeItemIndex.\n\t */\n\t ListKeyManager.prototype.updateActiveItemIndex = function (index) {\n\t this._activeItemIndex = index;\n\t };\n\t Object.defineProperty(ListKeyManager.prototype, \"tabOut\", {\n\t /**\n\t * Observable that emits any time the TAB key is pressed, so components can react\n\t * when focus is shifted off of the list.\n\t */\n\t get: function () {\n\t return this._tabOut.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * This method sets the active item, given a list of items and the delta between the\n\t * currently active item and the new active item. It will calculate differently\n\t * depending on whether wrap mode is turned on.\n\t */\n\t ListKeyManager.prototype._setActiveItemByDelta = function (delta, items) {\n\t if (items === void 0) { items = this._items.toArray(); }\n\t this._wrap ? this._setActiveInWrapMode(delta, items)\n\t : this._setActiveInDefaultMode(delta, items);\n\t };\n\t /**\n\t * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n\t * down the list until it finds an item that is not disabled, and it will wrap if it\n\t * encounters either end of the list.\n\t */\n\t ListKeyManager.prototype._setActiveInWrapMode = function (delta, items) {\n\t // when active item would leave menu, wrap to beginning or end\n\t this._activeItemIndex =\n\t (this._activeItemIndex + delta + items.length) % items.length;\n\t // skip all disabled menu items recursively until an enabled one is reached\n\t if (items[this._activeItemIndex].disabled) {\n\t this._setActiveInWrapMode(delta, items);\n\t }\n\t else {\n\t this.setActiveItem(this._activeItemIndex);\n\t }\n\t };\n\t /**\n\t * Sets the active item properly given the default mode. In other words, it will\n\t * continue to move down the list until it finds an item that is not disabled. If\n\t * it encounters either end of the list, it will stop and not wrap.\n\t */\n\t ListKeyManager.prototype._setActiveInDefaultMode = function (delta, items) {\n\t this._setActiveItemByIndex(this._activeItemIndex + delta, delta, items);\n\t };\n\t /**\n\t * Sets the active item to the first enabled item starting at the index specified. If the\n\t * item is disabled, it will move in the fallbackDelta direction until it either\n\t * finds an enabled item or encounters the end of the list.\n\t */\n\t ListKeyManager.prototype._setActiveItemByIndex = function (index, fallbackDelta, items) {\n\t if (items === void 0) { items = this._items.toArray(); }\n\t if (!items[index]) {\n\t return;\n\t }\n\t while (items[index].disabled) {\n\t index += fallbackDelta;\n\t if (!items[index]) {\n\t return;\n\t }\n\t }\n\t this.setActiveItem(index);\n\t };\n\t return ListKeyManager;\n\t}());\n\t\n\tvar __extends$8 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar FocusKeyManager = (function (_super) {\n\t __extends$8(FocusKeyManager, _super);\n\t function FocusKeyManager(items) {\n\t _super.call(this, items);\n\t }\n\t /**\n\t * This method sets the active item to the item at the specified index.\n\t * It also adds focuses the newly active item.\n\t */\n\t FocusKeyManager.prototype.setActiveItem = function (index) {\n\t _super.prototype.setActiveItem.call(this, index);\n\t this.activeItem.focus();\n\t };\n\t return FocusKeyManager;\n\t}(ListKeyManager));\n\t\n\t/**\n\t * The following are all the animations for the md-select component, with each\n\t * const containing the metadata for one animation.\n\t *\n\t * The values below match the implementation of the AngularJS Material md-select animation.\n\t */\n\t/**\n\t * This animation shrinks the placeholder text to 75% of its normal size and translates\n\t * it to either the top left corner (ltr) or top right corner (rtl) of the trigger,\n\t * depending on the text direction of the application.\n\t */\n\tvar transformPlaceholder = _angular_core.trigger('transformPlaceholder', [\n\t _angular_core.state('floating-ltr', _angular_core.style({\n\t top: '-22px',\n\t left: '-2px',\n\t transform: \"scale(0.75)\"\n\t })),\n\t _angular_core.state('floating-rtl', _angular_core.style({\n\t top: '-22px',\n\t left: '2px',\n\t transform: \"scale(0.75)\"\n\t })),\n\t _angular_core.transition('* => *', _angular_core.animate(\"400ms cubic-bezier(0.25, 0.8, 0.25, 1)\"))\n\t]);\n\t/**\n\t * This animation transforms the select's overlay panel on and off the page.\n\t *\n\t * When the panel is attached to the DOM, it expands its width 32px, scales it up to\n\t * 100% on the Y axis, fades in its border, and translates slightly up and to the\n\t * side to ensure the option text correctly overlaps the trigger text.\n\t *\n\t * When the panel is removed from the DOM, it simply fades out linearly.\n\t */\n\tvar transformPanel = _angular_core.trigger('transformPanel', [\n\t _angular_core.state('showing', _angular_core.style({\n\t opacity: 1,\n\t minWidth: 'calc(100% + 32px)',\n\t transform: \"translate3d(0,0,0) scaleY(1)\"\n\t })),\n\t _angular_core.transition('void => *', [\n\t _angular_core.style({\n\t opacity: 0,\n\t minWidth: '100%',\n\t transform: \"translate3d(0, 0, 0) scaleY(0)\"\n\t }),\n\t _angular_core.animate(\"150ms cubic-bezier(0.25, 0.8, 0.25, 1)\")\n\t ]),\n\t _angular_core.transition('* => void', [\n\t _angular_core.animate('250ms 100ms linear', _angular_core.style({ opacity: 0 }))\n\t ])\n\t]);\n\t/**\n\t * This animation fades in the background color and text content of the\n\t * select's options. It is time delayed to occur 100ms after the overlay\n\t * panel has transformed in.\n\t */\n\tvar fadeInContent = _angular_core.trigger('fadeInContent', [\n\t _angular_core.state('showing', _angular_core.style({ opacity: 1 })),\n\t _angular_core.transition('void => showing', [\n\t _angular_core.style({ opacity: 0 }),\n\t _angular_core.animate(\"150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")\n\t ])\n\t]);\n\t\n\tvar __decorate$36 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$36 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$6 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * The following style constants are necessary to save here in order\n\t * to properly calculate the alignment of the selected option over\n\t * the trigger element.\n\t */\n\t/** The fixed height of every option element. */\n\tvar SELECT_OPTION_HEIGHT = 48;\n\t/** The max height of the select's overlay panel */\n\tvar SELECT_PANEL_MAX_HEIGHT = 256;\n\t/** The max number of options visible at once in the select panel. */\n\tvar SELECT_MAX_OPTIONS_DISPLAYED = 5;\n\t/** The fixed height of the select's trigger element. */\n\tvar SELECT_TRIGGER_HEIGHT = 30;\n\t/**\n\t * Must adjust for the difference in height between the option and the trigger,\n\t * so the text will align on the y axis.\n\t * (SELECT_OPTION_HEIGHT (48) - SELECT_TRIGGER_HEIGHT (30)) / 2 = 9\n\t */\n\tvar SELECT_OPTION_HEIGHT_ADJUSTMENT = 9;\n\t/** The panel's padding on the x-axis */\n\tvar SELECT_PANEL_PADDING_X = 16;\n\t/**\n\t * The panel's padding on the y-axis. This padding indicates there are more\n\t * options available if you scroll.\n\t */\n\tvar SELECT_PANEL_PADDING_Y = 16;\n\t/**\n\t * The select panel will only \"fit\" inside the viewport if it is positioned at\n\t * this value or more away from the viewport boundary.\n\t */\n\tvar SELECT_PANEL_VIEWPORT_PADDING = 8;\n\t/** Change event object that is emitted when the select value has changed. */\n\tvar MdSelectChange = (function () {\n\t function MdSelectChange(source, value) {\n\t this.source = source;\n\t this.value = value;\n\t }\n\t return MdSelectChange;\n\t}());\n\tvar MdSelect = (function () {\n\t function MdSelect(_element, _renderer, _viewportRuler, _changeDetectorRef, _dir, _control) {\n\t this._element = _element;\n\t this._renderer = _renderer;\n\t this._viewportRuler = _viewportRuler;\n\t this._changeDetectorRef = _changeDetectorRef;\n\t this._dir = _dir;\n\t this._control = _control;\n\t /** Whether or not the overlay panel is open. */\n\t this._panelOpen = false;\n\t /** Subscriptions to option events. */\n\t this._subscriptions = [];\n\t /** Whether filling out the select is required in the form. */\n\t this._required = false;\n\t /** Whether the select is disabled. */\n\t this._disabled = false;\n\t /** The scroll position of the overlay panel, calculated to center the selected option. */\n\t this._scrollTop = 0;\n\t /** The animation state of the placeholder. */\n\t this._placeholderState = '';\n\t /** View -> model callback called when value changes */\n\t this._onChange = function (value) { };\n\t /** View -> model callback called when select has been touched */\n\t this._onTouched = function () { };\n\t /** The IDs of child options to be passed to the aria-owns attribute. */\n\t this._optionIds = '';\n\t /** The value of the select panel's transform-origin property. */\n\t this._transformOrigin = 'top';\n\t /** Whether the panel's animation is done. */\n\t this._panelDoneAnimating = false;\n\t /**\n\t * The x-offset of the overlay panel in relation to the trigger's top start corner.\n\t * This must be adjusted to align the selected option text over the trigger text when\n\t * the panel opens. Will change based on LTR or RTL text direction.\n\t */\n\t this._offsetX = 0;\n\t /**\n\t * The y-offset of the overlay panel in relation to the trigger's top start corner.\n\t * This must be adjusted to align the selected option text over the trigger text.\n\t * when the panel opens. Will change based on the y-position of the selected option.\n\t */\n\t this._offsetY = 0;\n\t /**\n\t * This position config ensures that the top \"start\" corner of the overlay\n\t * is aligned with with the top \"start\" of the origin by default (overlapping\n\t * the trigger completely). If the panel cannot fit below the trigger, it\n\t * will fall back to a position above the trigger.\n\t */\n\t this._positions = [\n\t {\n\t originX: 'start',\n\t originY: 'top',\n\t overlayX: 'start',\n\t overlayY: 'top',\n\t },\n\t {\n\t originX: 'start',\n\t originY: 'bottom',\n\t overlayX: 'start',\n\t overlayY: 'bottom',\n\t },\n\t ];\n\t /** Event emitted when the select has been opened. */\n\t this.onOpen = new _angular_core.EventEmitter();\n\t /** Event emitted when the select has been closed. */\n\t this.onClose = new _angular_core.EventEmitter();\n\t /** Event emitted when the selected value has been changed by the user. */\n\t this.change = new _angular_core.EventEmitter();\n\t if (this._control) {\n\t this._control.valueAccessor = this;\n\t }\n\t }\n\t Object.defineProperty(MdSelect.prototype, \"placeholder\", {\n\t /** Placeholder to be shown if no value has been selected. */\n\t get: function () { return this._placeholder; },\n\t set: function (value) {\n\t var _this = this;\n\t this._placeholder = value;\n\t // Must wait to record the trigger width to ensure placeholder width is included.\n\t Promise.resolve(null).then(function () { return _this._triggerWidth = _this._getWidth(); });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSelect.prototype, \"disabled\", {\n\t /** Whether the component is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) {\n\t this._disabled = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSelect.prototype, \"required\", {\n\t /** Whether the component is required. */\n\t get: function () { return this._required; },\n\t set: function (value) { this._required = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSelect.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t this._initKeyManager();\n\t this._changeSubscription = this.options.changes.startWith(null).subscribe(function () {\n\t _this._resetOptions();\n\t if (_this._control) {\n\t // Defer setting the value in order to avoid the \"Expression\n\t // has changed after it was checked\" errors from Angular.\n\t Promise.resolve(null).then(function () { return _this._setSelectionByValue(_this._control.value); });\n\t }\n\t });\n\t };\n\t MdSelect.prototype.ngOnDestroy = function () {\n\t this._dropSubscriptions();\n\t if (this._changeSubscription) {\n\t this._changeSubscription.unsubscribe();\n\t }\n\t if (this._tabSubscription) {\n\t this._tabSubscription.unsubscribe();\n\t }\n\t };\n\t /** Toggles the overlay panel open or closed. */\n\t MdSelect.prototype.toggle = function () {\n\t this.panelOpen ? this.close() : this.open();\n\t };\n\t /** Opens the overlay panel. */\n\t MdSelect.prototype.open = function () {\n\t if (this.disabled || !this.options.length) {\n\t return;\n\t }\n\t this._calculateOverlayPosition();\n\t this._placeholderState = this._isRtl() ? 'floating-rtl' : 'floating-ltr';\n\t this._panelOpen = true;\n\t };\n\t /** Closes the overlay panel and focuses the host element. */\n\t MdSelect.prototype.close = function () {\n\t this._panelOpen = false;\n\t if (!this._selected) {\n\t this._placeholderState = '';\n\t }\n\t this._focusHost();\n\t };\n\t /**\n\t * Sets the select's value. Part of the ControlValueAccessor interface\n\t * required to integrate with Angular's core forms API.\n\t *\n\t * @param value New value to be written to the model.\n\t */\n\t MdSelect.prototype.writeValue = function (value) {\n\t if (this.options) {\n\t this._setSelectionByValue(value);\n\t this._changeDetectorRef.markForCheck();\n\t }\n\t };\n\t /**\n\t * Saves a callback function to be invoked when the select's value\n\t * changes from user input. Part of the ControlValueAccessor interface\n\t * required to integrate with Angular's core forms API.\n\t *\n\t * @param fn Callback to be triggered when the value changes.\n\t */\n\t MdSelect.prototype.registerOnChange = function (fn) {\n\t this._onChange = fn;\n\t };\n\t /**\n\t * Saves a callback function to be invoked when the select is blurred\n\t * by the user. Part of the ControlValueAccessor interface required\n\t * to integrate with Angular's core forms API.\n\t *\n\t * @param fn Callback to be triggered when the component has been touched.\n\t */\n\t MdSelect.prototype.registerOnTouched = function (fn) {\n\t this._onTouched = fn;\n\t };\n\t /**\n\t * Disables the select. Part of the ControlValueAccessor interface required\n\t * to integrate with Angular's core forms API.\n\t *\n\t * @param isDisabled Sets whether the component is disabled.\n\t */\n\t MdSelect.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t Object.defineProperty(MdSelect.prototype, \"panelOpen\", {\n\t /** Whether or not the overlay panel is open. */\n\t get: function () {\n\t return this._panelOpen;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSelect.prototype, \"selected\", {\n\t /** The currently selected option. */\n\t get: function () {\n\t return this._selected;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSelect.prototype._isRtl = function () {\n\t return this._dir ? this._dir.value === 'rtl' : false;\n\t };\n\t /** The width of the trigger element. This is necessary to match\n\t * the overlay width to the trigger width.\n\t */\n\t MdSelect.prototype._getWidth = function () {\n\t return this._getTriggerRect().width;\n\t };\n\t /** Ensures the panel opens if activated by the keyboard. */\n\t MdSelect.prototype._handleKeydown = function (event) {\n\t if (event.keyCode === ENTER || event.keyCode === SPACE) {\n\t this.open();\n\t }\n\t };\n\t /**\n\t * When the panel element is finished transforming in (though not fading in), it\n\t * emits an event and focuses an option if the panel is open.\n\t */\n\t MdSelect.prototype._onPanelDone = function () {\n\t if (this.panelOpen) {\n\t this._focusCorrectOption();\n\t this.onOpen.emit();\n\t }\n\t else {\n\t this.onClose.emit();\n\t }\n\t };\n\t /**\n\t * When the panel content is done fading in, the _panelDoneAnimating property is\n\t * set so the proper class can be added to the panel.\n\t */\n\t MdSelect.prototype._onFadeInDone = function () {\n\t this._panelDoneAnimating = this.panelOpen;\n\t };\n\t /**\n\t * Calls the touched callback only if the panel is closed. Otherwise, the trigger will\n\t * \"blur\" to the panel when it opens, causing a false positive.\n\t */\n\t MdSelect.prototype._onBlur = function () {\n\t if (!this.panelOpen) {\n\t this._onTouched();\n\t }\n\t };\n\t /** Returns the correct tabindex for the select depending on disabled state. */\n\t MdSelect.prototype._getTabIndex = function () {\n\t return this.disabled ? '-1' : '0';\n\t };\n\t /**\n\t * Sets the scroll position of the scroll container. This must be called after\n\t * the overlay pane is attached or the scroll container element will not yet be\n\t * present in the DOM.\n\t */\n\t MdSelect.prototype._setScrollTop = function () {\n\t var scrollContainer = this.overlayDir.overlayRef.overlayElement.querySelector('.mat-select-panel');\n\t scrollContainer.scrollTop = this._scrollTop;\n\t };\n\t /**\n\t * Sets the selected option based on a value. If no option can be\n\t * found with the designated value, the select trigger is cleared.\n\t */\n\t MdSelect.prototype._setSelectionByValue = function (value) {\n\t var options = this.options.toArray();\n\t for (var i = 0; i < this.options.length; i++) {\n\t if (options[i].value === value) {\n\t options[i].select();\n\t return;\n\t }\n\t }\n\t // Clear selection if no item was selected.\n\t this._clearSelection();\n\t };\n\t /** Clears the select trigger and deselects every option in the list. */\n\t MdSelect.prototype._clearSelection = function () {\n\t this._selected = null;\n\t this._updateOptions();\n\t };\n\t MdSelect.prototype._getTriggerRect = function () {\n\t return this.trigger.nativeElement.getBoundingClientRect();\n\t };\n\t /** Sets up a key manager to listen to keyboard events on the overlay panel. */\n\t MdSelect.prototype._initKeyManager = function () {\n\t var _this = this;\n\t this._keyManager = new FocusKeyManager(this.options);\n\t this._tabSubscription = this._keyManager.tabOut.subscribe(function () {\n\t _this.close();\n\t });\n\t };\n\t /** Drops current option subscriptions and IDs and resets from scratch. */\n\t MdSelect.prototype._resetOptions = function () {\n\t this._dropSubscriptions();\n\t this._listenToOptions();\n\t this._setOptionIds();\n\t };\n\t /** Listens to selection events on each option. */\n\t MdSelect.prototype._listenToOptions = function () {\n\t var _this = this;\n\t this.options.forEach(function (option) {\n\t var sub = option.onSelect.subscribe(function (event) {\n\t if (event.isUserInput && _this._selected !== option) {\n\t _this._emitChangeEvent(option);\n\t }\n\t _this._onSelect(option);\n\t });\n\t _this._subscriptions.push(sub);\n\t });\n\t };\n\t /** Unsubscribes from all option subscriptions. */\n\t MdSelect.prototype._dropSubscriptions = function () {\n\t this._subscriptions.forEach(function (sub) { return sub.unsubscribe(); });\n\t this._subscriptions = [];\n\t };\n\t /** Emits an event when the user selects an option. */\n\t MdSelect.prototype._emitChangeEvent = function (option) {\n\t this._onChange(option.value);\n\t this.change.emit(new MdSelectChange(this, option.value));\n\t };\n\t /** Records option IDs to pass to the aria-owns property. */\n\t MdSelect.prototype._setOptionIds = function () {\n\t this._optionIds = this.options.map(function (option) { return option.id; }).join(' ');\n\t };\n\t /** When a new option is selected, deselects the others and closes the panel. */\n\t MdSelect.prototype._onSelect = function (option) {\n\t this._selected = option;\n\t this._updateOptions();\n\t this._setValueWidth();\n\t this._placeholderState = '';\n\t if (this.panelOpen) {\n\t this.close();\n\t }\n\t };\n\t /** Deselect each option that doesn't match the current selection. */\n\t MdSelect.prototype._updateOptions = function () {\n\t var _this = this;\n\t this.options.forEach(function (option) {\n\t if (option !== _this.selected) {\n\t option.deselect();\n\t }\n\t });\n\t };\n\t /**\n\t * Must set the width of the selected option's value programmatically\n\t * because it is absolutely positioned and otherwise will not clip\n\t * overflow. The selection arrow is 9px wide, add 4px of padding = 13\n\t */\n\t MdSelect.prototype._setValueWidth = function () {\n\t this._selectedValueWidth = this._triggerWidth - 13;\n\t };\n\t /** Focuses the selected item. If no option is selected, it will focus\n\t * the first item instead.\n\t */\n\t MdSelect.prototype._focusCorrectOption = function () {\n\t if (this.selected) {\n\t this._keyManager.setActiveItem(this._getOptionIndex(this.selected));\n\t }\n\t else {\n\t this._keyManager.setFirstItemActive();\n\t }\n\t };\n\t /** Focuses the host element when the panel closes. */\n\t MdSelect.prototype._focusHost = function () {\n\t this._renderer.invokeElementMethod(this._element.nativeElement, 'focus');\n\t };\n\t /** Gets the index of the provided option in the option list. */\n\t MdSelect.prototype._getOptionIndex = function (option) {\n\t return this.options.reduce(function (result, current, index) {\n\t return result === undefined ? (option === current ? index : undefined) : result;\n\t }, undefined);\n\t };\n\t /** Calculates the scroll position and x- and y-offsets of the overlay panel. */\n\t MdSelect.prototype._calculateOverlayPosition = function () {\n\t this._offsetX = this._isRtl() ? SELECT_PANEL_PADDING_X : -SELECT_PANEL_PADDING_X;\n\t var panelHeight = Math.min(this.options.length * SELECT_OPTION_HEIGHT, SELECT_PANEL_MAX_HEIGHT);\n\t var scrollContainerHeight = this.options.length * SELECT_OPTION_HEIGHT;\n\t // The farthest the panel can be scrolled before it hits the bottom\n\t var maxScroll = scrollContainerHeight - panelHeight;\n\t if (this.selected) {\n\t var selectedIndex = this._getOptionIndex(this.selected);\n\t // We must maintain a scroll buffer so the selected option will be scrolled to the\n\t // center of the overlay panel rather than the top.\n\t var scrollBuffer = panelHeight / 2;\n\t this._scrollTop = this._calculateOverlayScroll(selectedIndex, scrollBuffer, maxScroll);\n\t this._offsetY = this._calculateOverlayOffset(selectedIndex, scrollBuffer, maxScroll);\n\t }\n\t else {\n\t // If no option is selected, the panel centers on the first option. In this case,\n\t // we must only adjust for the height difference between the option element\n\t // and the trigger element, then multiply it by -1 to ensure the panel moves\n\t // in the correct direction up the page.\n\t this._offsetY = (SELECT_OPTION_HEIGHT - SELECT_TRIGGER_HEIGHT) / 2 * -1;\n\t }\n\t this._checkOverlayWithinViewport(maxScroll);\n\t };\n\t /**\n\t * Calculates the scroll position of the select's overlay panel.\n\t *\n\t * Attempts to center the selected option in the panel. If the option is\n\t * too high or too low in the panel to be scrolled to the center, it clamps the\n\t * scroll position to the min or max scroll positions respectively.\n\t */\n\t MdSelect.prototype._calculateOverlayScroll = function (selectedIndex, scrollBuffer, maxScroll) {\n\t var optionOffsetFromScrollTop = SELECT_OPTION_HEIGHT * selectedIndex;\n\t var halfOptionHeight = SELECT_OPTION_HEIGHT / 2;\n\t // Starts at the optionOffsetFromScrollTop, which scrolls the option to the top of the\n\t // scroll container, then subtracts the scroll buffer to scroll the option down to\n\t // the center of the overlay panel. Half the option height must be re-added to the\n\t // scrollTop so the option is centered based on its middle, not its top edge.\n\t var optimalScrollPosition = optionOffsetFromScrollTop - scrollBuffer + halfOptionHeight;\n\t return clampValue(0, optimalScrollPosition, maxScroll);\n\t };\n\t /**\n\t * Calculates the y-offset of the select's overlay panel in relation to the\n\t * top start corner of the trigger. It has to be adjusted in order for the\n\t * selected option to be aligned over the trigger when the panel opens.\n\t */\n\t MdSelect.prototype._calculateOverlayOffset = function (selectedIndex, scrollBuffer, maxScroll) {\n\t var optionOffsetFromPanelTop;\n\t if (this._scrollTop === 0) {\n\t optionOffsetFromPanelTop = selectedIndex * SELECT_OPTION_HEIGHT;\n\t }\n\t else if (this._scrollTop === maxScroll) {\n\t var firstDisplayedIndex = this.options.length - SELECT_MAX_OPTIONS_DISPLAYED;\n\t var selectedDisplayIndex = selectedIndex - firstDisplayedIndex;\n\t // Because the panel height is longer than the height of the options alone,\n\t // there is always extra padding at the top or bottom of the panel. When\n\t // scrolled to the very bottom, this padding is at the top of the panel and\n\t // must be added to the offset.\n\t optionOffsetFromPanelTop =\n\t selectedDisplayIndex * SELECT_OPTION_HEIGHT + SELECT_PANEL_PADDING_Y;\n\t }\n\t else {\n\t // If the option was scrolled to the middle of the panel using a scroll buffer,\n\t // its offset will be the scroll buffer minus the half height that was added to\n\t // center it.\n\t optionOffsetFromPanelTop = scrollBuffer - SELECT_OPTION_HEIGHT / 2;\n\t }\n\t // The final offset is the option's offset from the top, adjusted for the height\n\t // difference, multiplied by -1 to ensure that the overlay moves in the correct\n\t // direction up the page.\n\t return optionOffsetFromPanelTop * -1 - SELECT_OPTION_HEIGHT_ADJUSTMENT;\n\t };\n\t /**\n\t * Checks that the attempted overlay position will fit within the viewport.\n\t * If it will not fit, tries to adjust the scroll position and the associated\n\t * y-offset so the panel can open fully on-screen. If it still won't fit,\n\t * sets the offset back to 0 to allow the fallback position to take over.\n\t */\n\t MdSelect.prototype._checkOverlayWithinViewport = function (maxScroll) {\n\t var viewportRect = this._viewportRuler.getViewportRect();\n\t var triggerRect = this._getTriggerRect();\n\t var topSpaceAvailable = triggerRect.top - SELECT_PANEL_VIEWPORT_PADDING;\n\t var bottomSpaceAvailable = viewportRect.height - triggerRect.bottom - SELECT_PANEL_VIEWPORT_PADDING;\n\t var panelHeightTop = Math.abs(this._offsetY);\n\t var totalPanelHeight = Math.min(this.options.length * SELECT_OPTION_HEIGHT, SELECT_PANEL_MAX_HEIGHT);\n\t var panelHeightBottom = totalPanelHeight - panelHeightTop - triggerRect.height;\n\t if (panelHeightBottom > bottomSpaceAvailable) {\n\t this._adjustPanelUp(panelHeightBottom, bottomSpaceAvailable);\n\t }\n\t else if (panelHeightTop > topSpaceAvailable) {\n\t this._adjustPanelDown(panelHeightTop, topSpaceAvailable, maxScroll);\n\t }\n\t else {\n\t this._transformOrigin = this._getOriginBasedOnOption();\n\t }\n\t };\n\t /** Adjusts the overlay panel up to fit in the viewport. */\n\t MdSelect.prototype._adjustPanelUp = function (panelHeightBottom, bottomSpaceAvailable) {\n\t var distanceBelowViewport = panelHeightBottom - bottomSpaceAvailable;\n\t // Scrolls the panel up by the distance it was extending past the boundary, then\n\t // adjusts the offset by that amount to move the panel up into the viewport.\n\t this._scrollTop -= distanceBelowViewport;\n\t this._offsetY -= distanceBelowViewport;\n\t this._transformOrigin = this._getOriginBasedOnOption();\n\t // If the panel is scrolled to the very top, it won't be able to fit the panel\n\t // by scrolling, so set the offset to 0 to allow the fallback position to take\n\t // effect.\n\t if (this._scrollTop <= 0) {\n\t this._scrollTop = 0;\n\t this._offsetY = 0;\n\t this._transformOrigin = \"50% bottom 0px\";\n\t }\n\t };\n\t /** Adjusts the overlay panel down to fit in the viewport. */\n\t MdSelect.prototype._adjustPanelDown = function (panelHeightTop, topSpaceAvailable, maxScroll) {\n\t var distanceAboveViewport = panelHeightTop - topSpaceAvailable;\n\t // Scrolls the panel down by the distance it was extending past the boundary, then\n\t // adjusts the offset by that amount to move the panel down into the viewport.\n\t this._scrollTop += distanceAboveViewport;\n\t this._offsetY += distanceAboveViewport;\n\t this._transformOrigin = this._getOriginBasedOnOption();\n\t // If the panel is scrolled to the very bottom, it won't be able to fit the\n\t // panel by scrolling, so set the offset to 0 to allow the fallback position\n\t // to take effect.\n\t if (this._scrollTop >= maxScroll) {\n\t this._scrollTop = maxScroll;\n\t this._offsetY = 0;\n\t this._transformOrigin = \"50% top 0px\";\n\t return;\n\t }\n\t };\n\t /** Sets the transform origin point based on the selected option. */\n\t MdSelect.prototype._getOriginBasedOnOption = function () {\n\t var originY = Math.abs(this._offsetY) - SELECT_OPTION_HEIGHT_ADJUSTMENT + SELECT_OPTION_HEIGHT / 2;\n\t return \"50% \" + originY + \"px 0px\";\n\t };\n\t __decorate$36([\n\t _angular_core.ViewChild('trigger'), \n\t __metadata$36('design:type', _angular_core.ElementRef)\n\t ], MdSelect.prototype, \"trigger\", void 0);\n\t __decorate$36([\n\t _angular_core.ViewChild(ConnectedOverlayDirective), \n\t __metadata$36('design:type', ConnectedOverlayDirective)\n\t ], MdSelect.prototype, \"overlayDir\", void 0);\n\t __decorate$36([\n\t _angular_core.ContentChildren(MdOption), \n\t __metadata$36('design:type', _angular_core.QueryList)\n\t ], MdSelect.prototype, \"options\", void 0);\n\t __decorate$36([\n\t _angular_core.Input(), \n\t __metadata$36('design:type', Object)\n\t ], MdSelect.prototype, \"placeholder\", null);\n\t __decorate$36([\n\t _angular_core.Input(), \n\t __metadata$36('design:type', Object)\n\t ], MdSelect.prototype, \"disabled\", null);\n\t __decorate$36([\n\t _angular_core.Input(), \n\t __metadata$36('design:type', Object)\n\t ], MdSelect.prototype, \"required\", null);\n\t __decorate$36([\n\t _angular_core.Output(), \n\t __metadata$36('design:type', _angular_core.EventEmitter)\n\t ], MdSelect.prototype, \"onOpen\", void 0);\n\t __decorate$36([\n\t _angular_core.Output(), \n\t __metadata$36('design:type', _angular_core.EventEmitter)\n\t ], MdSelect.prototype, \"onClose\", void 0);\n\t __decorate$36([\n\t _angular_core.Output(), \n\t __metadata$36('design:type', _angular_core.EventEmitter)\n\t ], MdSelect.prototype, \"change\", void 0);\n\t MdSelect = __decorate$36([\n\t _angular_core.Component({selector: 'md-select, mat-select',\n\t template: \"<div class=\\\"mat-select-trigger\\\" cdk-overlay-origin (click)=\\\"toggle()\\\" #origin=\\\"cdkOverlayOrigin\\\" #trigger><span class=\\\"mat-select-placeholder\\\" [class.mat-floating-placeholder]=\\\"this.selected\\\" [@transformPlaceholder]=\\\"_placeholderState\\\" [style.width.px]=\\\"_selectedValueWidth\\\">{{ placeholder }} </span><span class=\\\"mat-select-value\\\" *ngIf=\\\"selected\\\"><span class=\\\"mat-select-value-text\\\">{{ selected?.viewValue }}</span> </span><span class=\\\"mat-select-arrow\\\"></span> <span class=\\\"mat-select-underline\\\"></span></div><template cdk-connected-overlay [origin]=\\\"origin\\\" [open]=\\\"panelOpen\\\" hasBackdrop (backdropClick)=\\\"close()\\\" backdropClass=\\\"cdk-overlay-transparent-backdrop\\\" [positions]=\\\"_positions\\\" [minWidth]=\\\"_triggerWidth\\\" [offsetY]=\\\"_offsetY\\\" [offsetX]=\\\"_offsetX\\\" (attach)=\\\"_setScrollTop()\\\"><div class=\\\"mat-select-panel\\\" [@transformPanel]=\\\"'showing'\\\" (@transformPanel.done)=\\\"_onPanelDone()\\\" (keydown)=\\\"_keyManager.onKeydown($event)\\\" [style.transformOrigin]=\\\"_transformOrigin\\\" [class.mat-select-panel-done-animating]=\\\"_panelDoneAnimating\\\"><div class=\\\"mat-select-content\\\" [@fadeInContent]=\\\"'showing'\\\" (@fadeInContent.done)=\\\"_onFadeInDone()\\\"><ng-content></ng-content></div></div></template>\",\n\t styles: [\".mat-select{display:inline-block;outline:0;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-select-trigger{display:flex;align-items:center;height:30px;min-width:112px;cursor:pointer;position:relative;box-sizing:border-box;font-size:16px}[aria-disabled=true] .mat-select-trigger{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mat-select-underline{position:absolute;bottom:0;left:0;right:0;height:1px}[aria-disabled=true] .mat-select-underline{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}.mat-select-placeholder{position:relative;padding:0 2px;transform-origin:left top;flex-grow:1}.mat-select-placeholder.mat-floating-placeholder{top:-22px;left:-2px;text-align:left;transform:scale(.75)}[dir=rtl] .mat-select-placeholder{transform-origin:right top}[dir=rtl] .mat-select-placeholder.mat-floating-placeholder{left:2px;text-align:right}[aria-required=true] .mat-select-placeholder::after{content:'*'}.mat-select-value{position:absolute;max-width:calc(100% - 18px);flex-grow:1;top:0;left:0;bottom:0;display:flex;align-items:center}[dir=rtl] .mat-select-value{left:auto;right:0}.mat-select-value-text{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;line-height:30px}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t host: {\n\t 'role': 'listbox',\n\t '[attr.tabindex]': '_getTabIndex()',\n\t '[attr.aria-label]': 'placeholder',\n\t '[attr.aria-required]': 'required.toString()',\n\t '[attr.aria-disabled]': 'disabled.toString()',\n\t '[attr.aria-invalid]': '_control?.invalid || \"false\"',\n\t '[attr.aria-owns]': '_optionIds',\n\t '[class.mat-select-disabled]': 'disabled',\n\t '[class.mat-select]': 'true',\n\t '(keydown)': '_handleKeydown($event)',\n\t '(blur)': '_onBlur()'\n\t },\n\t animations: [\n\t transformPlaceholder,\n\t transformPanel,\n\t fadeInContent\n\t ],\n\t exportAs: 'mdSelect',\n\t }),\n\t __param$6(4, _angular_core.Optional()),\n\t __param$6(5, _angular_core.Self()),\n\t __param$6(5, _angular_core.Optional()), \n\t __metadata$36('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, ViewportRuler, _angular_core.ChangeDetectorRef, Dir, _angular_forms.NgControl])\n\t ], MdSelect);\n\t return MdSelect;\n\t}());\n\t/** Clamps a value n between min and max values. */\n\tfunction clampValue(min, n, max) {\n\t return Math.min(Math.max(min, n), max);\n\t}\n\t\n\tvar __decorate$35 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$35 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdSelectModule = (function () {\n\t function MdSelectModule() {\n\t }\n\t /** @deprecated */\n\t MdSelectModule.forRoot = function () {\n\t return {\n\t ngModule: MdSelectModule,\n\t providers: []\n\t };\n\t };\n\t MdSelectModule = __decorate$35([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, OverlayModule, MdOptionModule, CompatibilityModule],\n\t exports: [MdSelect, MdOptionModule, CompatibilityModule],\n\t declarations: [MdSelect],\n\t }), \n\t __metadata$35('design:paramtypes', [])\n\t ], MdSelectModule);\n\t return MdSelectModule;\n\t}());\n\t\n\tvar __decorate$37 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$37 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MD_SLIDE_TOGGLE_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdSlideToggle; }),\n\t multi: true\n\t};\n\t// A simple change event emitted by the MdSlideToggle component.\n\tvar MdSlideToggleChange = (function () {\n\t function MdSlideToggleChange() {\n\t }\n\t return MdSlideToggleChange;\n\t}());\n\t// Increasing integer for generating unique ids for slide-toggle components.\n\tvar nextId$1 = 0;\n\t/**\n\t * Two-state control, which can be also called `switch`.\n\t */\n\tvar MdSlideToggle = (function () {\n\t function MdSlideToggle(_elementRef, _renderer) {\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t this.onChange = function (_) { };\n\t this.onTouched = function () { };\n\t // A unique id for the slide-toggle. By default the id is auto-generated.\n\t this._uniqueId = \"md-slide-toggle-\" + ++nextId$1;\n\t this._checked = false;\n\t this._isMousedown = false;\n\t this._slideRenderer = null;\n\t this._disabled = false;\n\t this._required = false;\n\t // Needs to be public to support AOT compilation (as host binding).\n\t this._hasFocus = false;\n\t /** Name value will be applied to the input element if present */\n\t this.name = null;\n\t /** A unique id for the slide-toggle input. If none is supplied, it will be auto-generated. */\n\t this.id = this._uniqueId;\n\t /** Used to specify the tabIndex value for the underlying input element. */\n\t this.tabIndex = 0;\n\t /** Whether the label should appear after or before the slide-toggle. Defaults to 'after' */\n\t this.labelPosition = 'after';\n\t /** Used to set the aria-label attribute on the underlying input element. */\n\t this.ariaLabel = null;\n\t /** Used to set the aria-labelledby attribute on the underlying input element. */\n\t this.ariaLabelledby = null;\n\t this._change = new _angular_core.EventEmitter();\n\t /** An event will be dispatched each time the slide-toggle changes its value. */\n\t this.change = this._change.asObservable();\n\t }\n\t Object.defineProperty(MdSlideToggle.prototype, \"disabled\", {\n\t /** Whether the slide-toggle is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlideToggle.prototype, \"required\", {\n\t /** Whether the slide-toggle is required. */\n\t get: function () { return this._required; },\n\t set: function (value) { this._required = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlideToggle.prototype, \"inputId\", {\n\t /** Returns the unique id for the visual hidden input. */\n\t get: function () { return (this.id || this._uniqueId) + \"-input\"; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSlideToggle.prototype.ngAfterContentInit = function () {\n\t this._slideRenderer = new SlideToggleRenderer(this._elementRef);\n\t };\n\t /**\n\t * The onChangeEvent method will be also called on click.\n\t * This is because everything for the slide-toggle is wrapped inside of a label,\n\t * which triggers a onChange event on click.\n\t */\n\t MdSlideToggle.prototype._onChangeEvent = function (event) {\n\t // We always have to stop propagation on the change event.\n\t // Otherwise the change event, from the input element, will bubble up and\n\t // emit its event object to the component's `change` output.\n\t event.stopPropagation();\n\t // Once a drag is currently in progress, we do not want to toggle the slide-toggle on a click.\n\t if (!this.disabled && !this._slideRenderer.isDragging()) {\n\t this.toggle();\n\t // Emit our custom change event if the native input emitted one.\n\t // It is important to only emit it, if the native input triggered one, because\n\t // we don't want to trigger a change event, when the `checked` variable changes for example.\n\t this._emitChangeEvent();\n\t }\n\t };\n\t MdSlideToggle.prototype._onInputClick = function (event) {\n\t this.onTouched();\n\t // We have to stop propagation for click events on the visual hidden input element.\n\t // By default, when a user clicks on a label element, a generated click event will be\n\t // dispatched on the associated input element. Since we are using a label element as our\n\t // root container, the click event on the `slide-toggle` will be executed twice.\n\t // The real click event will bubble up, and the generated click event also tries to bubble up.\n\t // This will lead to multiple click events.\n\t // Preventing bubbling for the second event will solve that issue.\n\t event.stopPropagation();\n\t };\n\t MdSlideToggle.prototype._setMousedown = function () {\n\t var _this = this;\n\t // We only *show* the focus style when focus has come to the button via the keyboard.\n\t // The Material Design spec is silent on this topic, and without doing this, the\n\t // button continues to look :active after clicking.\n\t // @see http://marcysutton.com/button-focus-hell/\n\t this._isMousedown = true;\n\t setTimeout(function () { return _this._isMousedown = false; }, 100);\n\t };\n\t MdSlideToggle.prototype._onInputFocus = function () {\n\t // Only show the focus / ripple indicator when the focus was not triggered by a mouse\n\t // interaction on the component.\n\t if (!this._isMousedown) {\n\t this._hasFocus = true;\n\t }\n\t };\n\t MdSlideToggle.prototype._onInputBlur = function () {\n\t this._hasFocus = false;\n\t this.onTouched();\n\t };\n\t /** Implemented as part of ControlValueAccessor. */\n\t MdSlideToggle.prototype.writeValue = function (value) {\n\t this.checked = value;\n\t };\n\t /** Implemented as part of ControlValueAccessor. */\n\t MdSlideToggle.prototype.registerOnChange = function (fn) {\n\t this.onChange = fn;\n\t };\n\t /** Implemented as part of ControlValueAccessor. */\n\t MdSlideToggle.prototype.registerOnTouched = function (fn) {\n\t this.onTouched = fn;\n\t };\n\t /** Implemented as a part of ControlValueAccessor. */\n\t MdSlideToggle.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t /** Focuses the slide-toggle. */\n\t MdSlideToggle.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n\t this._onInputFocus();\n\t };\n\t Object.defineProperty(MdSlideToggle.prototype, \"checked\", {\n\t /** Whether the slide-toggle is checked. */\n\t get: function () { return !!this._checked; },\n\t set: function (value) {\n\t if (this.checked !== !!value) {\n\t this._checked = value;\n\t this.onChange(this._checked);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlideToggle.prototype, \"color\", {\n\t /** The color of the slide-toggle. Can be primary, accent, or warn. */\n\t get: function () { return this._color; },\n\t set: function (value) {\n\t this._updateColor(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Toggles the checked state of the slide-toggle. */\n\t MdSlideToggle.prototype.toggle = function () {\n\t this.checked = !this.checked;\n\t };\n\t MdSlideToggle.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t MdSlideToggle.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t /** Emits the change event to the `change` output EventEmitter */\n\t MdSlideToggle.prototype._emitChangeEvent = function () {\n\t var event = new MdSlideToggleChange();\n\t event.source = this;\n\t event.checked = this.checked;\n\t this._change.emit(event);\n\t };\n\t MdSlideToggle.prototype._onDragStart = function () {\n\t if (!this.disabled) {\n\t this._slideRenderer.startThumbDrag(this.checked);\n\t }\n\t };\n\t MdSlideToggle.prototype._onDrag = function (event) {\n\t if (this._slideRenderer.isDragging()) {\n\t this._slideRenderer.updateThumbPosition(event.deltaX);\n\t }\n\t };\n\t MdSlideToggle.prototype._onDragEnd = function () {\n\t var _this = this;\n\t if (!this._slideRenderer.isDragging()) {\n\t return;\n\t }\n\t // Notice that we have to stop outside of the current event handler,\n\t // because otherwise the click event will be fired and will reset the new checked variable.\n\t setTimeout(function () {\n\t _this.checked = _this._slideRenderer.stopThumbDrag();\n\t _this._emitChangeEvent();\n\t }, 0);\n\t };\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', String)\n\t ], MdSlideToggle.prototype, \"name\", void 0);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', String)\n\t ], MdSlideToggle.prototype, \"id\", void 0);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', Number)\n\t ], MdSlideToggle.prototype, \"tabIndex\", void 0);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', Object)\n\t ], MdSlideToggle.prototype, \"labelPosition\", void 0);\n\t __decorate$37([\n\t _angular_core.Input('aria-label'), \n\t __metadata$37('design:type', String)\n\t ], MdSlideToggle.prototype, \"ariaLabel\", void 0);\n\t __decorate$37([\n\t _angular_core.Input('aria-labelledby'), \n\t __metadata$37('design:type', String)\n\t ], MdSlideToggle.prototype, \"ariaLabelledby\", void 0);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', Boolean)\n\t ], MdSlideToggle.prototype, \"disabled\", null);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', Boolean)\n\t ], MdSlideToggle.prototype, \"required\", null);\n\t __decorate$37([\n\t _angular_core.Output(), \n\t __metadata$37('design:type', rxjs_Observable.Observable)\n\t ], MdSlideToggle.prototype, \"change\", void 0);\n\t __decorate$37([\n\t _angular_core.ViewChild('input'), \n\t __metadata$37('design:type', _angular_core.ElementRef)\n\t ], MdSlideToggle.prototype, \"_inputElement\", void 0);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', Object)\n\t ], MdSlideToggle.prototype, \"checked\", null);\n\t __decorate$37([\n\t _angular_core.Input(), \n\t __metadata$37('design:type', String)\n\t ], MdSlideToggle.prototype, \"color\", null);\n\t MdSlideToggle = __decorate$37([\n\t _angular_core.Component({selector: 'md-slide-toggle, mat-slide-toggle',\n\t host: {\n\t '[class.mat-slide-toggle]': 'true',\n\t '[class.mat-checked]': 'checked',\n\t '[class.mat-disabled]': 'disabled',\n\t // This mat-slide-toggle prefix will change, once the temporary ripple is removed.\n\t '[class.mat-slide-toggle-focused]': '_hasFocus',\n\t '[class.mat-slide-toggle-label-before]': 'labelPosition == \"before\"',\n\t '(mousedown)': '_setMousedown()'\n\t },\n\t template: \"<label class=\\\"mat-slide-toggle-label\\\"><div class=\\\"mat-slide-toggle-container\\\"><div class=\\\"mat-slide-toggle-bar\\\"></div><div class=\\\"mat-slide-toggle-thumb-container\\\" (slidestart)=\\\"_onDragStart()\\\" (slide)=\\\"_onDrag($event)\\\" (slideend)=\\\"_onDragEnd()\\\"><div class=\\\"mat-slide-toggle-thumb\\\"><div class=\\\"mat-ink-ripple\\\"></div></div></div><input #input class=\\\"mat-slide-toggle-input cdk-visually-hidden\\\" type=\\\"checkbox\\\" [id]=\\\"inputId\\\" [required]=\\\"required\\\" [tabIndex]=\\\"tabIndex\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [attr.name]=\\\"name\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (blur)=\\\"_onInputBlur()\\\" (focus)=\\\"_onInputFocus()\\\" (change)=\\\"_onChangeEvent($event)\\\" (click)=\\\"_onInputClick($event)\\\"></div><span class=\\\"mat-slide-toggle-content\\\"><ng-content></ng-content></span></label>\",\n\t styles: [\".mat-slide-toggle{display:flex;height:24px;margin:16px 0;line-height:24px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(100%,0,0)}.mat-slide-toggle .mat-ink-ripple{border-radius:50%;opacity:0;height:48px;left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity ease 280ms,background-color ease 280ms;width:48px}.mat-slide-toggle.mat-slide-toggle-focused .mat-ink-ripple{opacity:1}.mat-slide-toggle.mat-slide-toggle-disabled .mat-ink-ripple{background-color:#000}.mat-slide-toggle.mat-disabled .mat-slide-toggle-container,.mat-slide-toggle.mat-disabled .mat-slide-toggle-label{cursor:default}.mat-slide-toggle-content{font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500}.mat-slide-toggle-label{display:flex;flex:1;cursor:pointer}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-container{order:2}.mat-slide-toggle-container{cursor:-webkit-grab;cursor:grab;width:36px;height:24px;position:relative}.mat-slide-toggle-container,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-container{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-container,[dir=rtl] .mat-slide-toggle-container{margin-left:8px;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;top:2px;left:0;z-index:1;width:16px;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb{position:absolute;margin:0;left:0;top:0;height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle-bar{background:#fff}}.mat-slide-toggle-bar{position:absolute;left:1px;top:5px;width:34px;height:14px;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}\"],\n\t providers: [MD_SLIDE_TOGGLE_VALUE_ACCESSOR],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n\t }), \n\t __metadata$37('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdSlideToggle);\n\t return MdSlideToggle;\n\t}());\n\t/**\n\t * Renderer for the Slide Toggle component, which separates DOM modification in its own class\n\t */\n\tvar SlideToggleRenderer = (function () {\n\t function SlideToggleRenderer(_elementRef) {\n\t this._elementRef = _elementRef;\n\t this._thumbEl = _elementRef.nativeElement.querySelector('.mat-slide-toggle-thumb-container');\n\t this._thumbBarEl = _elementRef.nativeElement.querySelector('.mat-slide-toggle-bar');\n\t }\n\t /** Whether the slide-toggle is currently dragging. */\n\t SlideToggleRenderer.prototype.isDragging = function () {\n\t return !!this._thumbBarWidth;\n\t };\n\t /** Initializes the drag of the slide-toggle. */\n\t SlideToggleRenderer.prototype.startThumbDrag = function (checked) {\n\t if (!this.isDragging()) {\n\t this._thumbBarWidth = this._thumbBarEl.clientWidth - this._thumbEl.clientWidth;\n\t this._checked = checked;\n\t this._thumbEl.classList.add('mat-dragging');\n\t }\n\t };\n\t /** Stops the current drag and returns the new checked value. */\n\t SlideToggleRenderer.prototype.stopThumbDrag = function () {\n\t if (this.isDragging()) {\n\t this._thumbBarWidth = null;\n\t this._thumbEl.classList.remove('mat-dragging');\n\t applyCssTransform(this._thumbEl, '');\n\t return this._percentage > 50;\n\t }\n\t };\n\t /** Updates the thumb containers position from the specified distance. */\n\t SlideToggleRenderer.prototype.updateThumbPosition = function (distance) {\n\t this._percentage = this._getThumbPercentage(distance);\n\t applyCssTransform(this._thumbEl, \"translate3d(\" + this._percentage + \"%, 0, 0)\");\n\t };\n\t /** Retrieves the percentage of thumb from the moved distance. */\n\t SlideToggleRenderer.prototype._getThumbPercentage = function (distance) {\n\t var percentage = (distance / this._thumbBarWidth) * 100;\n\t // When the toggle was initially checked, then we have to start the drag at the end.\n\t if (this._checked) {\n\t percentage += 100;\n\t }\n\t return Math.max(0, Math.min(percentage, 100));\n\t };\n\t return SlideToggleRenderer;\n\t}());\n\tvar MdSlideToggleModule = (function () {\n\t function MdSlideToggleModule() {\n\t }\n\t /** @deprecated */\n\t MdSlideToggleModule.forRoot = function () {\n\t return {\n\t ngModule: MdSlideToggleModule,\n\t providers: []\n\t };\n\t };\n\t MdSlideToggleModule = __decorate$37([\n\t _angular_core.NgModule({\n\t imports: [_angular_forms.FormsModule, CompatibilityModule],\n\t exports: [MdSlideToggle, CompatibilityModule],\n\t declarations: [MdSlideToggle],\n\t providers: [{ provide: _angular_platformBrowser.HAMMER_GESTURE_CONFIG, useClass: GestureConfig }],\n\t }), \n\t __metadata$37('design:paramtypes', [])\n\t ], MdSlideToggleModule);\n\t return MdSlideToggleModule;\n\t}());\n\t\n\tvar __decorate$38 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$38 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$7 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * Visually, a 30px separation between tick marks looks best. This is very subjective but it is\n\t * the default separation we chose.\n\t */\n\tvar MIN_AUTO_TICK_SEPARATION = 30;\n\t/** The thumb gap size for a disabled slider. */\n\tvar DISABLED_THUMB_GAP = 7;\n\t/** The thumb gap size for a non-active slider at its minimum value. */\n\tvar MIN_VALUE_NONACTIVE_THUMB_GAP = 7;\n\t/** The thumb gap size for an active slider at its minimum value. */\n\tvar MIN_VALUE_ACTIVE_THUMB_GAP = 10;\n\t/**\n\t * Provider Expression that allows md-slider to register as a ControlValueAccessor.\n\t * This allows it to support [(ngModel)] and [formControl].\n\t */\n\tvar MD_SLIDER_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdSlider; }),\n\t multi: true\n\t};\n\t/** A simple change event emitted by the MdSlider component. */\n\tvar MdSliderChange = (function () {\n\t function MdSliderChange() {\n\t }\n\t return MdSliderChange;\n\t}());\n\t/**\n\t * Allows users to select from a range of values by moving the slider thumb. It is similar in\n\t * behavior to the native `<input type=\"range\">` element.\n\t */\n\tvar MdSlider = (function () {\n\t function MdSlider(_dir, elementRef) {\n\t this._dir = _dir;\n\t /** A renderer to handle updating the slider's thumb and fill track. */\n\t this._renderer = null;\n\t /** The dimensions of the slider. */\n\t this._sliderDimensions = null;\n\t this._disabled = false;\n\t this._thumbLabel = false;\n\t this._controlValueAccessorChangeFn = function () { };\n\t /** The last values for which a change or input event was emitted. */\n\t this._lastChangeValue = null;\n\t this._lastInputValue = null;\n\t /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n\t this.onTouched = function () { };\n\t /**\n\t * Whether or not the thumb is sliding.\n\t * Used to determine if there should be a transition for the thumb and fill track.\n\t */\n\t this._isSliding = false;\n\t /**\n\t * Whether or not the slider is active (clicked or sliding).\n\t * Used to shrink and grow the thumb as according to the Material Design spec.\n\t */\n\t this._isActive = false;\n\t this._step = 1;\n\t this._tickInterval = 0;\n\t this._tickIntervalPercent = 0;\n\t this._percent = 0;\n\t this._value = null;\n\t this._min = 0;\n\t this._max = 100;\n\t this._invert = false;\n\t this._vertical = false;\n\t /** Event emitted when the slider value has changed. */\n\t this.change = new _angular_core.EventEmitter();\n\t /** Event emitted when the slider thumb moves. */\n\t this.input = new _angular_core.EventEmitter();\n\t this._renderer = new SliderRenderer(elementRef);\n\t }\n\t Object.defineProperty(MdSlider.prototype, \"disabled\", {\n\t /** Whether or not the slider is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"thumbLabel\", {\n\t /** Whether or not to show the thumb label. */\n\t get: function () { return this._thumbLabel; },\n\t set: function (value) { this._thumbLabel = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"_thumbLabelDeprecated\", {\n\t /** @deprecated */\n\t get: function () { return this._thumbLabel; },\n\t set: function (value) { this._thumbLabel = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"step\", {\n\t /** The values at which the thumb will snap. */\n\t get: function () { return this._step; },\n\t set: function (v) {\n\t this._step = coerceNumberProperty(v, this._step);\n\t if (this._step % 1 !== 0) {\n\t this._roundLabelTo = this._step.toString().split('.').pop().length;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"tickInterval\", {\n\t /**\n\t * How often to show ticks. Relative to the step so that a tick always appears on a step.\n\t * Ex: Tick interval of 4 with a step of 3 will draw a tick every 4 steps (every 12 values).\n\t */\n\t get: function () { return this._tickInterval; },\n\t set: function (v) {\n\t this._tickInterval = (v == 'auto') ? v : coerceNumberProperty(v, this._tickInterval);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"_tickIntervalDeprecated\", {\n\t /** @deprecated */\n\t get: function () { return this.tickInterval; },\n\t set: function (v) { this.tickInterval = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"tickIntervalPercent\", {\n\t /** The size of a tick interval as a percentage of the size of the track. */\n\t get: function () { return this._tickIntervalPercent; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"percent\", {\n\t /** The percentage of the slider that coincides with the value. */\n\t get: function () { return this._clamp(this._percent); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"value\", {\n\t /** Value of the slider. */\n\t get: function () {\n\t // If the value needs to be read and it is still uninitialized, initialize it to the min.\n\t if (this._value === null) {\n\t this.value = this._min;\n\t }\n\t return this._value;\n\t },\n\t set: function (v) {\n\t this._value = coerceNumberProperty(v, this._value);\n\t this._percent = this._calculatePercentage(this._value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"min\", {\n\t /** The minimum value that the slider can have. */\n\t get: function () {\n\t return this._min;\n\t },\n\t set: function (v) {\n\t this._min = coerceNumberProperty(v, this._min);\n\t // If the value wasn't explicitly set by the user, set it to the min.\n\t if (this._value === null) {\n\t this.value = this._min;\n\t }\n\t this._percent = this._calculatePercentage(this.value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"max\", {\n\t /** The maximum value that the slider can have. */\n\t get: function () {\n\t return this._max;\n\t },\n\t set: function (v) {\n\t this._max = coerceNumberProperty(v, this._max);\n\t this._percent = this._calculatePercentage(this.value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"invert\", {\n\t /** Whether the slider is inverted. */\n\t get: function () { return this._invert; },\n\t set: function (value) { this._invert = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"vertical\", {\n\t /** Whether the slider is vertical. */\n\t get: function () { return this._vertical; },\n\t set: function (value) { this._vertical = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"displayValue\", {\n\t /** The value to be used for display purposes. */\n\t get: function () {\n\t // Note that this could be improved further by rounding something like 0.999 to 1 or\n\t // 0.899 to 0.9, however it is very performance sensitive, because it gets called on\n\t // every change detection cycle.\n\t if (this._roundLabelTo && this.value % 1 !== 0) {\n\t return this.value.toFixed(this._roundLabelTo);\n\t }\n\t return this.value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"invertAxis\", {\n\t /**\n\t * Whether the axis of the slider is inverted.\n\t * (i.e. whether moving the thumb in the positive x or y direction decreases the slider's value).\n\t */\n\t get: function () {\n\t // Standard non-inverted mode for a vertical slider should be dragging the thumb from bottom to\n\t // top. However from a y-axis standpoint this is inverted.\n\t return this.vertical ? !this.invert : this.invert;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"invertMouseCoords\", {\n\t /**\n\t * Whether mouse events should be converted to a slider position by calculating their distance\n\t * from the right or bottom edge of the slider as opposed to the top or left.\n\t */\n\t get: function () {\n\t return (this.direction == 'rtl' && !this.vertical) ? !this.invertAxis : this.invertAxis;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"_isMinValue\", {\n\t /** Whether the slider is at its minimum value. */\n\t get: function () {\n\t return this.percent === 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"_thumbGap\", {\n\t /**\n\t * The amount of space to leave between the slider thumb and the track fill & track background\n\t * elements.\n\t */\n\t get: function () {\n\t if (this.disabled) {\n\t return DISABLED_THUMB_GAP;\n\t }\n\t if (this._isMinValue && !this.thumbLabel) {\n\t return this._isActive ? MIN_VALUE_ACTIVE_THUMB_GAP : MIN_VALUE_NONACTIVE_THUMB_GAP;\n\t }\n\t return 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"trackBackgroundStyles\", {\n\t /** CSS styles for the track background element. */\n\t get: function () {\n\t var axis = this.vertical ? 'Y' : 'X';\n\t var sign = this.invertMouseCoords ? '-' : '';\n\t return {\n\t 'transform': \"translate\" + axis + \"(\" + sign + this._thumbGap + \"px) scale\" + axis + \"(\" + (1 - this.percent) + \")\"\n\t };\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"trackFillStyles\", {\n\t /** CSS styles for the track fill element. */\n\t get: function () {\n\t var axis = this.vertical ? 'Y' : 'X';\n\t var sign = this.invertMouseCoords ? '' : '-';\n\t return {\n\t 'transform': \"translate\" + axis + \"(\" + sign + this._thumbGap + \"px) scale\" + axis + \"(\" + this.percent + \")\"\n\t };\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"ticksContainerStyles\", {\n\t /** CSS styles for the ticks container element. */\n\t get: function () {\n\t var axis = this.vertical ? 'Y' : 'X';\n\t // For a horizontal slider in RTL languages we push the ticks container off the left edge\n\t // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n\t var sign = !this.vertical && this.direction == 'rtl' ? '' : '-';\n\t var offset = this.tickIntervalPercent / 2 * 100;\n\t return {\n\t 'transform': \"translate\" + axis + \"(\" + sign + offset + \"%)\"\n\t };\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"ticksStyles\", {\n\t /** CSS styles for the ticks element. */\n\t get: function () {\n\t var tickSize = this.tickIntervalPercent * 100;\n\t var backgroundSize = this.vertical ? \"2px \" + tickSize + \"%\" : tickSize + \"% 2px\";\n\t var axis = this.vertical ? 'Y' : 'X';\n\t // Depending on the direction we pushed the ticks container, push the ticks the opposite\n\t // direction to re-center them but clip off the end edge. In RTL languages we need to flip the\n\t // ticks 180 degrees so we're really cutting off the end edge abd not the start.\n\t var sign = !this.vertical && this.direction == 'rtl' ? '-' : '';\n\t var rotate = !this.vertical && this.direction == 'rtl' ? ' rotate(180deg)' : '';\n\t var styles = {\n\t 'backgroundSize': backgroundSize,\n\t // Without translateZ ticks sometimes jitter as the slider moves on Chrome & Firefox.\n\t 'transform': \"translateZ(0) translate\" + axis + \"(\" + sign + tickSize / 2 + \"%)\" + rotate\n\t };\n\t if (this._isMinValue && this._thumbGap) {\n\t var side = this.vertical ?\n\t (this.invertAxis ? 'Bottom' : 'Top') :\n\t (this.invertAxis ? 'Right' : 'Left');\n\t styles[(\"padding\" + side)] = this._thumbGap + \"px\";\n\t }\n\t return styles;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"thumbContainerStyles\", {\n\t get: function () {\n\t var axis = this.vertical ? 'Y' : 'X';\n\t // For a horizontal slider in RTL languages we push the thumb container off the left edge\n\t // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n\t var invertOffset = (this.direction == 'rtl' && !this.vertical) ? !this.invertAxis : this.invertAxis;\n\t var offset = (invertOffset ? this.percent : 1 - this.percent) * 100;\n\t return {\n\t 'transform': \"translate\" + axis + \"(-\" + offset + \"%)\"\n\t };\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSlider.prototype, \"direction\", {\n\t /** The language direction for this slider element. */\n\t get: function () {\n\t return (this._dir && this._dir.value == 'rtl') ? 'rtl' : 'ltr';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSlider.prototype._onMouseenter = function () {\n\t if (this.disabled) {\n\t return;\n\t }\n\t // We save the dimensions of the slider here so we can use them to update the spacing of the\n\t // ticks and determine where on the slider click and slide events happen.\n\t this._sliderDimensions = this._renderer.getSliderDimensions();\n\t this._updateTickIntervalPercent();\n\t };\n\t MdSlider.prototype._onClick = function (event) {\n\t if (this.disabled) {\n\t return;\n\t }\n\t this._isActive = true;\n\t this._isSliding = false;\n\t this._renderer.addFocus();\n\t this._updateValueFromPosition({ x: event.clientX, y: event.clientY });\n\t /* Emits a change and input event if the value changed. */\n\t this._emitInputEvent();\n\t this._emitValueIfChanged();\n\t };\n\t MdSlider.prototype._onSlide = function (event) {\n\t if (this.disabled) {\n\t return;\n\t }\n\t // Prevent the slide from selecting anything else.\n\t event.preventDefault();\n\t this._updateValueFromPosition({ x: event.center.x, y: event.center.y });\n\t // Native range elements always emit `input` events when the value changed while sliding.\n\t this._emitInputEvent();\n\t };\n\t MdSlider.prototype._onSlideStart = function (event) {\n\t if (this.disabled) {\n\t return;\n\t }\n\t // Simulate mouseenter in case this is a mobile device.\n\t this._onMouseenter();\n\t event.preventDefault();\n\t this._isSliding = true;\n\t this._isActive = true;\n\t this._renderer.addFocus();\n\t this._updateValueFromPosition({ x: event.center.x, y: event.center.y });\n\t };\n\t MdSlider.prototype._onSlideEnd = function () {\n\t this._isSliding = false;\n\t this._emitValueIfChanged();\n\t };\n\t MdSlider.prototype._onBlur = function () {\n\t this._isActive = false;\n\t this.onTouched();\n\t };\n\t MdSlider.prototype._onKeydown = function (event) {\n\t if (this.disabled) {\n\t return;\n\t }\n\t switch (event.keyCode) {\n\t case PAGE_UP:\n\t this._increment(10);\n\t break;\n\t case PAGE_DOWN:\n\t this._increment(-10);\n\t break;\n\t case END:\n\t this.value = this.max;\n\t break;\n\t case HOME:\n\t this.value = this.min;\n\t break;\n\t case LEFT_ARROW:\n\t // NOTE: For a sighted user it would make more sense that when they press an arrow key on an\n\t // inverted slider the thumb moves in that direction. However for a blind user, nothing\n\t // about the slider indicates that it is inverted. They will expect left to be decrement,\n\t // regardless of how it appears on the screen. For speakers ofRTL languages, they probably\n\t // expect left to mean increment. Therefore we flip the meaning of the side arrow keys for\n\t // RTL. For inverted sliders we prefer a good a11y experience to having it \"look right\" for\n\t // sighted users, therefore we do not swap the meaning.\n\t this._increment(this.direction == 'rtl' ? 1 : -1);\n\t break;\n\t case UP_ARROW:\n\t this._increment(1);\n\t break;\n\t case RIGHT_ARROW:\n\t // See comment on LEFT_ARROW about the conditions under which we flip the meaning.\n\t this._increment(this.direction == 'rtl' ? -1 : 1);\n\t break;\n\t case DOWN_ARROW:\n\t this._increment(-1);\n\t break;\n\t default:\n\t // Return if the key is not one that we explicitly handle to avoid calling preventDefault on\n\t // it.\n\t return;\n\t }\n\t this._isSliding = true;\n\t event.preventDefault();\n\t };\n\t MdSlider.prototype._onKeyup = function () {\n\t this._isSliding = false;\n\t };\n\t /** Increments the slider by the given number of steps (negative number decrements). */\n\t MdSlider.prototype._increment = function (numSteps) {\n\t this.value = this._clamp(this.value + this.step * numSteps, this.min, this.max);\n\t this._emitInputEvent();\n\t this._emitValueIfChanged();\n\t };\n\t /** Calculate the new value from the new physical location. The value will always be snapped. */\n\t MdSlider.prototype._updateValueFromPosition = function (pos) {\n\t if (!this._sliderDimensions) {\n\t return;\n\t }\n\t var offset = this.vertical ? this._sliderDimensions.top : this._sliderDimensions.left;\n\t var size = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n\t var posComponent = this.vertical ? pos.y : pos.x;\n\t // The exact value is calculated from the event and used to find the closest snap value.\n\t var percent = this._clamp((posComponent - offset) / size);\n\t if (this.invertMouseCoords) {\n\t percent = 1 - percent;\n\t }\n\t var exactValue = this._calculateValue(percent);\n\t // This calculation finds the closest step by finding the closest whole number divisible by the\n\t // step relative to the min.\n\t var closestValue = Math.round((exactValue - this.min) / this.step) * this.step + this.min;\n\t // The value needs to snap to the min and max.\n\t this.value = this._clamp(closestValue, this.min, this.max);\n\t };\n\t /** Emits a change event if the current value is different from the last emitted value. */\n\t MdSlider.prototype._emitValueIfChanged = function () {\n\t if (this.value != this._lastChangeValue) {\n\t var event_1 = this._createChangeEvent();\n\t this._lastChangeValue = this.value;\n\t this._controlValueAccessorChangeFn(this.value);\n\t this.change.emit(event_1);\n\t }\n\t };\n\t /** Emits an input event when the current value is different from the last emitted value. */\n\t MdSlider.prototype._emitInputEvent = function () {\n\t if (this.value != this._lastInputValue) {\n\t var event_2 = this._createChangeEvent();\n\t this._lastInputValue = this.value;\n\t this.input.emit(event_2);\n\t }\n\t };\n\t /** Updates the amount of space between ticks as a percentage of the width of the slider. */\n\t MdSlider.prototype._updateTickIntervalPercent = function () {\n\t if (!this.tickInterval) {\n\t return;\n\t }\n\t if (this.tickInterval == 'auto') {\n\t var trackSize = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n\t var pixelsPerStep = trackSize * this.step / (this.max - this.min);\n\t var stepsPerTick = Math.ceil(MIN_AUTO_TICK_SEPARATION / pixelsPerStep);\n\t var pixelsPerTick = stepsPerTick * this.step;\n\t this._tickIntervalPercent = pixelsPerTick / trackSize;\n\t }\n\t else {\n\t this._tickIntervalPercent = this.tickInterval * this.step / (this.max - this.min);\n\t }\n\t };\n\t /** Creates a slider change object from the specified value. */\n\t MdSlider.prototype._createChangeEvent = function (value) {\n\t if (value === void 0) { value = this.value; }\n\t var event = new MdSliderChange();\n\t event.source = this;\n\t event.value = value;\n\t return event;\n\t };\n\t /** Calculates the percentage of the slider that a value is. */\n\t MdSlider.prototype._calculatePercentage = function (value) {\n\t return (value - this.min) / (this.max - this.min);\n\t };\n\t /** Calculates the value a percentage of the slider corresponds to. */\n\t MdSlider.prototype._calculateValue = function (percentage) {\n\t return this.min + percentage * (this.max - this.min);\n\t };\n\t /** Return a number between two numbers. */\n\t MdSlider.prototype._clamp = function (value, min, max) {\n\t if (min === void 0) { min = 0; }\n\t if (max === void 0) { max = 1; }\n\t return Math.max(min, Math.min(value, max));\n\t };\n\t /**\n\t * Sets the model value. Implemented as part of ControlValueAccessor.\n\t * @param value\n\t */\n\t MdSlider.prototype.writeValue = function (value) {\n\t this.value = value;\n\t };\n\t /**\n\t * Registers a callback to eb triggered when the value has changed.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Callback to be registered.\n\t */\n\t MdSlider.prototype.registerOnChange = function (fn) {\n\t this._controlValueAccessorChangeFn = fn;\n\t };\n\t /**\n\t * Registers a callback to be triggered when the component is touched.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param fn Callback to be registered.\n\t */\n\t MdSlider.prototype.registerOnTouched = function (fn) {\n\t this.onTouched = fn;\n\t };\n\t /**\n\t * Sets whether the component should be disabled.\n\t * Implemented as part of ControlValueAccessor.\n\t * @param isDisabled\n\t */\n\t MdSlider.prototype.setDisabledState = function (isDisabled) {\n\t this.disabled = isDisabled;\n\t };\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Boolean)\n\t ], MdSlider.prototype, \"disabled\", null);\n\t __decorate$38([\n\t _angular_core.Input('thumbLabel'), \n\t __metadata$38('design:type', Boolean)\n\t ], MdSlider.prototype, \"thumbLabel\", null);\n\t __decorate$38([\n\t _angular_core.Input('thumb-label'), \n\t __metadata$38('design:type', Boolean)\n\t ], MdSlider.prototype, \"_thumbLabelDeprecated\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"step\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"tickInterval\", null);\n\t __decorate$38([\n\t _angular_core.Input('tick-interval'), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"_tickIntervalDeprecated\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"value\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"min\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"max\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"invert\", null);\n\t __decorate$38([\n\t _angular_core.Input(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"vertical\", null);\n\t __decorate$38([\n\t _angular_core.Output(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"change\", void 0);\n\t __decorate$38([\n\t _angular_core.Output(), \n\t __metadata$38('design:type', Object)\n\t ], MdSlider.prototype, \"input\", void 0);\n\t MdSlider = __decorate$38([\n\t _angular_core.Component({selector: 'md-slider, mat-slider',\n\t providers: [MD_SLIDER_VALUE_ACCESSOR],\n\t host: {\n\t '[class.mat-slider]': 'true',\n\t '(blur)': '_onBlur()',\n\t '(click)': '_onClick($event)',\n\t '(keydown)': '_onKeydown($event)',\n\t '(keyup)': '_onKeyup()',\n\t '(mouseenter)': '_onMouseenter()',\n\t '(slide)': '_onSlide($event)',\n\t '(slideend)': '_onSlideEnd()',\n\t '(slidestart)': '_onSlideStart($event)',\n\t 'role': 'slider',\n\t 'tabindex': '0',\n\t '[attr.aria-disabled]': 'disabled',\n\t '[attr.aria-valuemax]': 'max',\n\t '[attr.aria-valuemin]': 'min',\n\t '[attr.aria-valuenow]': 'value',\n\t '[class.mat-slider-active]': '_isActive',\n\t '[class.mat-slider-disabled]': 'disabled',\n\t '[class.mat-slider-has-ticks]': 'tickInterval',\n\t '[class.mat-slider-horizontal]': '!vertical',\n\t '[class.mat-slider-axis-inverted]': 'invertAxis',\n\t '[class.mat-slider-sliding]': '_isSliding',\n\t '[class.mat-slider-thumb-label-showing]': 'thumbLabel',\n\t '[class.mat-slider-vertical]': 'vertical',\n\t '[class.mat-slider-min-value]': '_isMinValue',\n\t '[class.mat-slider-hide-last-tick]': '_isMinValue && _thumbGap && invertAxis',\n\t },\n\t template: \"<div class=\\\"mat-slider-wrapper\\\"><div class=\\\"mat-slider-track-wrapper\\\"><div class=\\\"mat-slider-track-background\\\" [ngStyle]=\\\"trackBackgroundStyles\\\"></div><div class=\\\"mat-slider-track-fill\\\" [ngStyle]=\\\"trackFillStyles\\\"></div></div><div class=\\\"mat-slider-ticks-container\\\" [ngStyle]=\\\"ticksContainerStyles\\\"><div class=\\\"mat-slider-ticks\\\" [ngStyle]=\\\"ticksStyles\\\"></div></div><div class=\\\"mat-slider-thumb-container\\\" [ngStyle]=\\\"thumbContainerStyles\\\"><div class=\\\"mat-slider-thumb\\\"></div><div class=\\\"mat-slider-thumb-label\\\"><span class=\\\"mat-slider-thumb-label-text\\\">{{displayValue}}</span></div></div></div>\",\n\t styles: [\".mat-slider-track-background,.mat-slider-track-fill{transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0}.mat-slider-track-background{position:absolute;transform-origin:100% 100%}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-disabled .mat-slider-ticks{opacity:0}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label-text{z-index:1;font-size:12px;font-weight:700;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border:0 solid rgba(0,0,0,.6);opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-active .mat-slider-thumb-label-text,.mat-slider-has-ticks.mat-slider-active .mat-slider-ticks,.mat-slider-has-ticks.mat-slider-active:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider-active .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-active.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider-active .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.mat-slider-horizontal .mat-slider-ticks{background:repeating-linear-gradient(to right,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background-clip:content-box;height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.mat-slider-active .mat-slider-thumb-label{transform:rotate(45deg)}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.mat-slider-vertical .mat-slider-ticks{background:repeating-linear-gradient(to bottom,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background-clip:content-box;width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.mat-slider-active .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background,[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }),\n\t __param$7(0, _angular_core.Optional()), \n\t __metadata$38('design:paramtypes', [Dir, _angular_core.ElementRef])\n\t ], MdSlider);\n\t return MdSlider;\n\t}());\n\t/**\n\t * Renderer class in order to keep all dom manipulation in one place and outside of the main class.\n\t * @docs-private\n\t */\n\tvar SliderRenderer = (function () {\n\t function SliderRenderer(elementRef) {\n\t this._sliderElement = elementRef.nativeElement;\n\t }\n\t /**\n\t * Get the bounding client rect of the slider track element.\n\t * The track is used rather than the native element to ignore the extra space that the thumb can\n\t * take up.\n\t */\n\t SliderRenderer.prototype.getSliderDimensions = function () {\n\t var wrapperElement = this._sliderElement.querySelector('.mat-slider-wrapper');\n\t return wrapperElement.getBoundingClientRect();\n\t };\n\t /**\n\t * Focuses the native element.\n\t * Currently only used to allow a blur event to fire but will be used with keyboard input later.\n\t */\n\t SliderRenderer.prototype.addFocus = function () {\n\t this._sliderElement.focus();\n\t };\n\t return SliderRenderer;\n\t}());\n\tvar MdSliderModule = (function () {\n\t function MdSliderModule() {\n\t }\n\t /** @deprecated */\n\t MdSliderModule.forRoot = function () {\n\t return {\n\t ngModule: MdSliderModule,\n\t providers: []\n\t };\n\t };\n\t MdSliderModule = __decorate$38([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, _angular_forms.FormsModule, CompatibilityModule],\n\t exports: [MdSlider, CompatibilityModule],\n\t declarations: [MdSlider],\n\t providers: [{ provide: _angular_platformBrowser.HAMMER_GESTURE_CONFIG, useClass: GestureConfig }]\n\t }), \n\t __metadata$38('design:paramtypes', [])\n\t ], MdSliderModule);\n\t return MdSliderModule;\n\t}());\n\t\n\tvar __extends$9 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$39 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$39 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$8 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/** Exception thrown when two MdSidenav are matching the same side. */\n\tvar MdDuplicatedSidenavError = (function (_super) {\n\t __extends$9(MdDuplicatedSidenavError, _super);\n\t function MdDuplicatedSidenavError(align) {\n\t _super.call(this, \"A sidenav was already declared for 'align=\\\"\" + align + \"\\\"'\");\n\t }\n\t return MdDuplicatedSidenavError;\n\t}(MdError));\n\t/** Sidenav toggle promise result. */\n\tvar MdSidenavToggleResult = (function () {\n\t function MdSidenavToggleResult(type, animationFinished) {\n\t this.type = type;\n\t this.animationFinished = animationFinished;\n\t }\n\t return MdSidenavToggleResult;\n\t}());\n\t/**\n\t * <md-sidenav> component.\n\t *\n\t * This component corresponds to the drawer of the sidenav.\n\t *\n\t * Please refer to README.md for examples on how to use it.\n\t */\n\tvar MdSidenav = (function () {\n\t /**\n\t * @param _elementRef The DOM element reference. Used for transition and width calculation.\n\t * If not available we do not hook on transitions.\n\t */\n\t function MdSidenav(_elementRef, _renderer) {\n\t var _this = this;\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t /** Alignment of the sidenav (direction neutral); whether 'start' or 'end'. */\n\t this._align = 'start';\n\t this._valid = true;\n\t /** Mode of the sidenav; whether 'over' or 'side'. */\n\t this.mode = 'over';\n\t this._disableClose = false;\n\t /** Whether the sidenav is opened. */\n\t this._opened = false;\n\t /** Event emitted when the sidenav is being opened. Use this to synchronize animations. */\n\t this.onOpenStart = new _angular_core.EventEmitter();\n\t /** Event emitted when the sidenav is fully opened. */\n\t this.onOpen = new _angular_core.EventEmitter();\n\t /** Event emitted when the sidenav is being closed. Use this to synchronize animations. */\n\t this.onCloseStart = new _angular_core.EventEmitter();\n\t /** Event emitted when the sidenav is fully closed. */\n\t this.onClose = new _angular_core.EventEmitter();\n\t /** Event emitted when the sidenav alignment changes. */\n\t this.onAlignChanged = new _angular_core.EventEmitter();\n\t /** The current toggle animation promise. `null` if no animation is in progress. */\n\t this._toggleAnimationPromise = null;\n\t /**\n\t * The current toggle animation promise resolution function.\n\t * `null` if no animation is in progress.\n\t */\n\t this._resolveToggleAnimationPromise = null;\n\t this._elementFocusedBeforeSidenavWasOpened = null;\n\t this.onOpen.subscribe(function () {\n\t _this._elementFocusedBeforeSidenavWasOpened = document.activeElement;\n\t if (!_this.isFocusTrapDisabled) {\n\t _this._focusTrap.focusFirstTabbableElementWhenReady();\n\t }\n\t });\n\t this.onClose.subscribe(function () {\n\t if (_this._elementFocusedBeforeSidenavWasOpened instanceof HTMLElement) {\n\t _this._renderer.invokeElementMethod(_this._elementFocusedBeforeSidenavWasOpened, 'focus');\n\t }\n\t else {\n\t _this._renderer.invokeElementMethod(_this._elementRef.nativeElement, 'blur');\n\t }\n\t _this._elementFocusedBeforeSidenavWasOpened = null;\n\t });\n\t }\n\t Object.defineProperty(MdSidenav.prototype, \"valid\", {\n\t /** Whether this md-sidenav is part of a valid md-sidenav-container configuration. */\n\t get: function () { return this._valid; },\n\t set: function (value) {\n\t value = coerceBooleanProperty(value);\n\t // When the drawers are not in a valid configuration we close them all until they are in a valid\n\t // configuration again.\n\t if (!value) {\n\t this.close();\n\t }\n\t this._valid = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"align\", {\n\t /** Direction which the sidenav is aligned in. */\n\t get: function () { return this._align; },\n\t set: function (value) {\n\t // Make sure we have a valid value.\n\t value = (value == 'end') ? 'end' : 'start';\n\t if (value != this._align) {\n\t this._align = value;\n\t this.onAlignChanged.emit();\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"disableClose\", {\n\t /** Whether the sidenav can be closed with the escape key or not. */\n\t get: function () { return this._disableClose; },\n\t set: function (value) { this._disableClose = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"isFocusTrapDisabled\", {\n\t get: function () {\n\t // The focus trap is only enabled when the sidenav is open in any mode other than side.\n\t return !this.opened || this.mode == 'side';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSidenav.prototype.ngAfterContentInit = function () {\n\t // This can happen when the sidenav is set to opened in the template and the transition\n\t // isn't ended.\n\t if (this._toggleAnimationPromise) {\n\t this._resolveToggleAnimationPromise(true);\n\t this._toggleAnimationPromise = this._resolveToggleAnimationPromise = null;\n\t }\n\t };\n\t Object.defineProperty(MdSidenav.prototype, \"opened\", {\n\t /**\n\t * Whether the sidenav is opened. We overload this because we trigger an event when it\n\t * starts or end.\n\t */\n\t get: function () { return this._opened; },\n\t set: function (v) {\n\t this.toggle(coerceBooleanProperty(v));\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Open this sidenav, and return a Promise that will resolve when it's fully opened (or get\n\t * rejected if it didn't). */\n\t MdSidenav.prototype.open = function () {\n\t return this.toggle(true);\n\t };\n\t /**\n\t * Close this sidenav, and return a Promise that will resolve when it's fully closed (or get\n\t * rejected if it didn't).\n\t */\n\t MdSidenav.prototype.close = function () {\n\t return this.toggle(false);\n\t };\n\t /**\n\t * Toggle this sidenav. This is equivalent to calling open() when it's already opened, or\n\t * close() when it's closed.\n\t * @param isOpen Whether the sidenav should be open.\n\t * @returns Resolves with the result of whether the sidenav was opened or closed.\n\t */\n\t MdSidenav.prototype.toggle = function (isOpen) {\n\t var _this = this;\n\t if (isOpen === void 0) { isOpen = !this.opened; }\n\t if (!this.valid) {\n\t return Promise.resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', true));\n\t }\n\t // Shortcut it if we're already opened.\n\t if (isOpen === this.opened) {\n\t return this._toggleAnimationPromise ||\n\t Promise.resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', true));\n\t }\n\t this._opened = isOpen;\n\t if (isOpen) {\n\t this.onOpenStart.emit();\n\t }\n\t else {\n\t this.onCloseStart.emit();\n\t }\n\t if (this._toggleAnimationPromise) {\n\t this._resolveToggleAnimationPromise(false);\n\t }\n\t this._toggleAnimationPromise = new Promise(function (resolve) {\n\t _this._resolveToggleAnimationPromise = function (animationFinished) {\n\t return resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', animationFinished));\n\t };\n\t });\n\t return this._toggleAnimationPromise;\n\t };\n\t /**\n\t * Handles the keyboard events.\n\t * @docs-private\n\t */\n\t MdSidenav.prototype.handleKeydown = function (event) {\n\t if (event.keyCode === ESCAPE && !this.disableClose) {\n\t this.close();\n\t event.stopPropagation();\n\t }\n\t };\n\t /**\n\t * When transition has finished, set the internal state for classes and emit the proper event.\n\t * The event passed is actually of type TransitionEvent, but that type is not available in\n\t * Android so we use any.\n\t */\n\t MdSidenav.prototype._onTransitionEnd = function (transitionEvent) {\n\t if (transitionEvent.target == this._elementRef.nativeElement\n\t && transitionEvent.propertyName.endsWith('transform')) {\n\t if (this._opened) {\n\t this.onOpen.emit();\n\t }\n\t else {\n\t this.onClose.emit();\n\t }\n\t if (this._toggleAnimationPromise) {\n\t this._resolveToggleAnimationPromise(true);\n\t this._toggleAnimationPromise = this._resolveToggleAnimationPromise = null;\n\t }\n\t }\n\t };\n\t Object.defineProperty(MdSidenav.prototype, \"_isClosing\", {\n\t get: function () {\n\t return !this._opened && !!this._toggleAnimationPromise;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_isOpening\", {\n\t get: function () {\n\t return this._opened && !!this._toggleAnimationPromise;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_isClosed\", {\n\t get: function () {\n\t return !this._opened && !this._toggleAnimationPromise;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_isOpened\", {\n\t get: function () {\n\t return this._opened && !this._toggleAnimationPromise;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_isEnd\", {\n\t get: function () {\n\t return this.align == 'end';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_modeSide\", {\n\t get: function () {\n\t return this.mode == 'side';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_modeOver\", {\n\t get: function () {\n\t return this.mode == 'over';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_modePush\", {\n\t get: function () {\n\t return this.mode == 'push';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenav.prototype, \"_width\", {\n\t get: function () {\n\t if (this._elementRef.nativeElement) {\n\t return this._elementRef.nativeElement.offsetWidth;\n\t }\n\t return 0;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t __decorate$39([\n\t _angular_core.ViewChild(FocusTrap), \n\t __metadata$39('design:type', FocusTrap)\n\t ], MdSidenav.prototype, \"_focusTrap\", void 0);\n\t __decorate$39([\n\t _angular_core.Input(), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"align\", null);\n\t __decorate$39([\n\t _angular_core.Input(), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"mode\", void 0);\n\t __decorate$39([\n\t _angular_core.Input(), \n\t __metadata$39('design:type', Boolean)\n\t ], MdSidenav.prototype, \"disableClose\", null);\n\t __decorate$39([\n\t _angular_core.Output('open-start'), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"onOpenStart\", void 0);\n\t __decorate$39([\n\t _angular_core.Output('open'), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"onOpen\", void 0);\n\t __decorate$39([\n\t _angular_core.Output('close-start'), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"onCloseStart\", void 0);\n\t __decorate$39([\n\t _angular_core.Output('close'), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"onClose\", void 0);\n\t __decorate$39([\n\t _angular_core.Output('align-changed'), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenav.prototype, \"onAlignChanged\", void 0);\n\t __decorate$39([\n\t _angular_core.Input(), \n\t __metadata$39('design:type', Boolean)\n\t ], MdSidenav.prototype, \"opened\", null);\n\t MdSidenav = __decorate$39([\n\t _angular_core.Component({selector: 'md-sidenav, mat-sidenav',\n\t // TODO(mmalerba): move template to separate file.\n\t template: \"<cdk-focus-trap class=\\\"mat-sidenav-focus-trap\\\" [disabled]=\\\"isFocusTrapDisabled\\\"><ng-content></ng-content></cdk-focus-trap>\",\n\t host: {\n\t '[class.mat-sidenav]': 'true',\n\t '(transitionend)': '_onTransitionEnd($event)',\n\t '(keydown)': 'handleKeydown($event)',\n\t // must prevent the browser from aligning text based on value\n\t '[attr.align]': 'null',\n\t '[class.mat-sidenav-closed]': '_isClosed',\n\t '[class.mat-sidenav-closing]': '_isClosing',\n\t '[class.mat-sidenav-end]': '_isEnd',\n\t '[class.mat-sidenav-opened]': '_isOpened',\n\t '[class.mat-sidenav-opening]': '_isOpening',\n\t '[class.mat-sidenav-over]': '_modeOver',\n\t '[class.mat-sidenav-push]': '_modePush',\n\t '[class.mat-sidenav-side]': '_modeSide',\n\t '[class.mat-sidenav-invalid]': '!valid',\n\t 'tabIndex': '-1'\n\t },\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$39('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdSidenav);\n\t return MdSidenav;\n\t}());\n\t/**\n\t * <md-sidenav-container> component.\n\t *\n\t * This is the parent component to one or two <md-sidenav>s that validates the state internally\n\t * and coordinates the backdrop and content styling.\n\t */\n\tvar MdSidenavContainer = (function () {\n\t function MdSidenavContainer(_dir, _element, _renderer, _ngZone) {\n\t var _this = this;\n\t this._dir = _dir;\n\t this._element = _element;\n\t this._renderer = _renderer;\n\t this._ngZone = _ngZone;\n\t /** Event emitted when the sidenav backdrop is clicked. */\n\t this.backdropClick = new _angular_core.EventEmitter();\n\t /** Whether to enable open/close trantions. */\n\t this._enableTransitions = false;\n\t // If a `Dir` directive exists up the tree, listen direction changes and update the left/right\n\t // properties to point to the proper start/end.\n\t if (_dir != null) {\n\t _dir.dirChange.subscribe(function () { return _this._validateDrawers(); });\n\t }\n\t }\n\t Object.defineProperty(MdSidenavContainer.prototype, \"start\", {\n\t /** The sidenav child with the `start` alignment. */\n\t get: function () { return this._start; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdSidenavContainer.prototype, \"end\", {\n\t /** The sidenav child with the `end` alignment. */\n\t get: function () { return this._end; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdSidenavContainer.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t // On changes, assert on consistency.\n\t this._sidenavs.changes.subscribe(function () { return _this._validateDrawers(); });\n\t this._sidenavs.forEach(function (sidenav) {\n\t _this._watchSidenavToggle(sidenav);\n\t _this._watchSidenavAlign(sidenav);\n\t });\n\t this._validateDrawers();\n\t // Give the view a chance to render the initial state, then enable transitions.\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () { return _this._enableTransitions = true; });\n\t };\n\t /**\n\t * Subscribes to sidenav events in order to set a class on the main container element when the\n\t * sidenav is open and the backdrop is visible. This ensures any overflow on the container element\n\t * is properly hidden.\n\t */\n\t MdSidenavContainer.prototype._watchSidenavToggle = function (sidenav) {\n\t var _this = this;\n\t if (!sidenav || sidenav.mode === 'side') {\n\t return;\n\t }\n\t sidenav.onOpen.subscribe(function () { return _this._setContainerClass(sidenav, true); });\n\t sidenav.onClose.subscribe(function () { return _this._setContainerClass(sidenav, false); });\n\t };\n\t /**\n\t * Subscribes to sidenav onAlignChanged event in order to re-validate drawers when the align\n\t * changes.\n\t */\n\t MdSidenavContainer.prototype._watchSidenavAlign = function (sidenav) {\n\t var _this = this;\n\t if (!sidenav) {\n\t return;\n\t }\n\t sidenav.onAlignChanged.subscribe(function () { return _this._validateDrawers(); });\n\t };\n\t /** Toggles the 'mat-sidenav-opened' class on the main 'md-sidenav-container' element. */\n\t MdSidenavContainer.prototype._setContainerClass = function (sidenav, bool) {\n\t this._renderer.setElementClass(this._element.nativeElement, 'mat-sidenav-opened', bool);\n\t };\n\t /** Sets the valid state of the drawers. */\n\t MdSidenavContainer.prototype._setDrawersValid = function (valid) {\n\t this._sidenavs.forEach(function (sidenav) {\n\t sidenav.valid = valid;\n\t });\n\t if (!valid) {\n\t this._start = this._end = this._left = this._right = null;\n\t }\n\t };\n\t /** Validate the state of the sidenav children components. */\n\t MdSidenavContainer.prototype._validateDrawers = function () {\n\t this._start = this._end = null;\n\t // Ensure that we have at most one start and one end sidenav.\n\t // NOTE: We must call toArray on _sidenavs even though it's iterable\n\t // (see https://github.com/Microsoft/TypeScript/issues/3164).\n\t for (var _i = 0, _a = this._sidenavs.toArray(); _i < _a.length; _i++) {\n\t var sidenav = _a[_i];\n\t if (sidenav.align == 'end') {\n\t if (this._end != null) {\n\t this._setDrawersValid(false);\n\t return;\n\t }\n\t this._end = sidenav;\n\t }\n\t else {\n\t if (this._start != null) {\n\t this._setDrawersValid(false);\n\t return;\n\t }\n\t this._start = sidenav;\n\t }\n\t }\n\t this._right = this._left = null;\n\t // Detect if we're LTR or RTL.\n\t if (this._dir == null || this._dir.value == 'ltr') {\n\t this._left = this._start;\n\t this._right = this._end;\n\t }\n\t else {\n\t this._left = this._end;\n\t this._right = this._start;\n\t }\n\t this._setDrawersValid(true);\n\t };\n\t MdSidenavContainer.prototype._onBackdropClicked = function () {\n\t this.backdropClick.emit();\n\t this._closeModalSidenav();\n\t };\n\t MdSidenavContainer.prototype._closeModalSidenav = function () {\n\t // Close all open sidenav's where closing is not disabled and the mode is not `side`.\n\t [this._start, this._end]\n\t .filter(function (sidenav) { return sidenav && !sidenav.disableClose && sidenav.mode !== 'side'; })\n\t .forEach(function (sidenav) { return sidenav.close(); });\n\t };\n\t MdSidenavContainer.prototype._isShowingBackdrop = function () {\n\t return (this._isSidenavOpen(this._start) && this._start.mode != 'side')\n\t || (this._isSidenavOpen(this._end) && this._end.mode != 'side');\n\t };\n\t MdSidenavContainer.prototype._isSidenavOpen = function (side) {\n\t return side != null && side.opened;\n\t };\n\t /**\n\t * Return the width of the sidenav, if it's in the proper mode and opened.\n\t * This may relayout the view, so do not call this often.\n\t * @param sidenav\n\t * @param mode\n\t */\n\t MdSidenavContainer.prototype._getSidenavEffectiveWidth = function (sidenav, mode) {\n\t return (this._isSidenavOpen(sidenav) && sidenav.mode == mode) ? sidenav._width : 0;\n\t };\n\t MdSidenavContainer.prototype._getMarginLeft = function () {\n\t return this._getSidenavEffectiveWidth(this._left, 'side');\n\t };\n\t MdSidenavContainer.prototype._getMarginRight = function () {\n\t return this._getSidenavEffectiveWidth(this._right, 'side');\n\t };\n\t MdSidenavContainer.prototype._getPositionLeft = function () {\n\t return this._getSidenavEffectiveWidth(this._left, 'push');\n\t };\n\t MdSidenavContainer.prototype._getPositionRight = function () {\n\t return this._getSidenavEffectiveWidth(this._right, 'push');\n\t };\n\t /**\n\t * Returns the horizontal offset for the content area. There should never be a value for both\n\t * left and right, so by subtracting the right value from the left value, we should always get\n\t * the appropriate offset.\n\t */\n\t MdSidenavContainer.prototype._getPositionOffset = function () {\n\t return this._getPositionLeft() - this._getPositionRight();\n\t };\n\t /**\n\t * This is using [ngStyle] rather than separate [style...] properties because [style.transform]\n\t * doesn't seem to work right now.\n\t */\n\t MdSidenavContainer.prototype._getStyles = function () {\n\t return {\n\t marginLeft: this._getMarginLeft() + \"px\",\n\t marginRight: this._getMarginRight() + \"px\",\n\t transform: \"translate3d(\" + this._getPositionOffset() + \"px, 0, 0)\"\n\t };\n\t };\n\t __decorate$39([\n\t _angular_core.ContentChildren(MdSidenav), \n\t __metadata$39('design:type', _angular_core.QueryList)\n\t ], MdSidenavContainer.prototype, \"_sidenavs\", void 0);\n\t __decorate$39([\n\t _angular_core.Output(), \n\t __metadata$39('design:type', Object)\n\t ], MdSidenavContainer.prototype, \"backdropClick\", void 0);\n\t MdSidenavContainer = __decorate$39([\n\t _angular_core.Component({selector: 'md-sidenav-container, mat-sidenav-container',\n\t // Do not use ChangeDetectionStrategy.OnPush. It does not work for this component because\n\t // technically it is a sibling of MdSidenav (on the content tree) and isn't updated when MdSidenav\n\t // changes its state.\n\t template: \"<div class=\\\"mat-sidenav-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" [class.mat-sidenav-shown]=\\\"_isShowingBackdrop()\\\"></div><ng-content select=\\\"md-sidenav, mat-sidenav\\\"></ng-content><div class=\\\"mat-sidenav-content\\\" [ngStyle]=\\\"_getStyles()\\\" cdk-scrollable><ng-content></ng-content></div>\",\n\t styles: [\".mat-sidenav-container{position:relative;transform:translate3d(0,0,0);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-sidenav-backdrop,.mat-sidenav-container[fullscreen]{position:absolute;top:0;bottom:0;right:0;left:0}.mat-sidenav-container[fullscreen].mat-sidenav-opened{overflow:hidden}.mat-sidenav-backdrop{display:block;z-index:2;visibility:hidden}.mat-sidenav-backdrop.mat-sidenav-shown{visibility:visible}.mat-sidenav.mat-sidenav-closed,.mat-sidenav.mat-sidenav-end.mat-sidenav-closed,[dir=rtl] .mat-sidenav.mat-sidenav-closed,[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-closed{visibility:hidden}@media screen and (-ms-high-contrast:active){.mat-sidenav-backdrop{opacity:.5}}.mat-sidenav-content{position:relative;transform:translate3d(0,0,0);display:block;height:100%;overflow:auto}.mat-sidenav{display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5%;outline:0;transform:translate3d(-100%,0,0)}.mat-sidenav.mat-sidenav-opened,.mat-sidenav.mat-sidenav-opening{transform:translate3d(0,0,0)}.mat-sidenav.mat-sidenav-side{z-index:1}.mat-sidenav.mat-sidenav-end{right:0;transform:translate3d(100%,0,0)}.mat-sidenav.mat-sidenav-end.mat-sidenav-opened,.mat-sidenav.mat-sidenav-end.mat-sidenav-opening{transform:translate3d(0,0,0)}[dir=rtl] .mat-sidenav{transform:translate3d(100%,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-opened,[dir=rtl] .mat-sidenav.mat-sidenav-opening{transform:translate3d(0,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-end{left:0;right:auto;transform:translate3d(-100%,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-opened,[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-opening{transform:translate3d(0,0,0)}.mat-sidenav.mat-sidenav-opened:not(.mat-sidenav-side),.mat-sidenav.mat-sidenav-opening:not(.mat-sidenav-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-focus-trap{height:100%}.mat-sidenav-focus-trap>.cdk-focus-trap-content{box-sizing:border-box;height:100%;overflow-y:auto;transform:translateZ(0)}.mat-sidenav-invalid{display:none}\",\n\t\".mat-sidenav-transition .mat-sidenav{transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-sidenav-transition .mat-sidenav-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-sidenav-transition .mat-sidenav-backdrop.mat-sidenav-shown{transition:background-color .4s cubic-bezier(.25,.8,.25,1)}\"],\n\t host: {\n\t '[class.mat-sidenav-container]': 'true',\n\t '[class.mat-sidenav-transition]': '_enableTransitions',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }),\n\t __param$8(0, _angular_core.Optional()), \n\t __metadata$39('design:paramtypes', [Dir, _angular_core.ElementRef, _angular_core.Renderer, _angular_core.NgZone])\n\t ], MdSidenavContainer);\n\t return MdSidenavContainer;\n\t}());\n\tvar MdSidenavModule = (function () {\n\t function MdSidenavModule() {\n\t }\n\t /** @deprecated */\n\t MdSidenavModule.forRoot = function () {\n\t return {\n\t ngModule: MdSidenavModule,\n\t providers: []\n\t };\n\t };\n\t MdSidenavModule = __decorate$39([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, CompatibilityModule, A11yModule, OverlayModule],\n\t exports: [MdSidenavContainer, MdSidenav, CompatibilityModule],\n\t declarations: [MdSidenavContainer, MdSidenav],\n\t }), \n\t __metadata$39('design:paramtypes', [])\n\t ], MdSidenavModule);\n\t return MdSidenavModule;\n\t}());\n\t\n\tvar __decorate$40 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$40 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdListDivider = (function () {\n\t function MdListDivider() {\n\t }\n\t MdListDivider = __decorate$40([\n\t _angular_core.Directive({\n\t selector: 'md-divider, mat-divider'\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListDivider);\n\t return MdListDivider;\n\t}());\n\tvar MdList = (function () {\n\t function MdList() {\n\t }\n\t MdList = __decorate$40([\n\t _angular_core.Component({selector: 'md-list, mat-list, md-nav-list, mat-nav-list',\n\t host: {\n\t 'role': 'list' },\n\t template: '<ng-content></ng-content>',\n\t styles: [\".mat-list,.mat-nav-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader{display:block;box-sizing:border-box;height:48px;padding:16px;margin:0;font-size:14px;font-weight:500}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-nav-list .mat-list-item{display:block}.mat-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;box-sizing:border-box;font-size:16px;height:48px;padding:0 16px}.mat-list .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:56px}.mat-list .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-2-line .mat-list-item-content{height:72px}.mat-list .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-3-line .mat-list-item-content{height:88px}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-text:first-child,.mat-nav-list .mat-list-item .mat-list-text:first-child{padding:0}.mat-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon{width:24px;height:24px;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-line,.mat-nav-list .mat-list-item .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list[dense],.mat-nav-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader{display:block;box-sizing:border-box;height:40px;padding:16px;margin:0;font-size:13px;font-weight:500}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-item{display:block}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;box-sizing:border-box;font-size:13px;height:40px;padding:0 16px}.mat-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:48px}.mat-list[dense] .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-2-line .mat-list-item-content{height:60px}.mat-list[dense] .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-3-line .mat-list-item-content{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-text:first-child,.mat-nav-list[dense] .mat-list-item .mat-list-text:first-child{padding:0}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon{width:24px;height:24px;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-line,.mat-nav-list[dense] .mat-list-item .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:13px}.mat-divider{display:block;border-top-style:solid;border-top-width:1px;margin:0}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdList);\n\t return MdList;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdListCssMatStyler = (function () {\n\t function MdListCssMatStyler() {\n\t }\n\t MdListCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: 'md-list, mat-list',\n\t host: {\n\t '[class.mat-list]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListCssMatStyler);\n\t return MdListCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdNavListCssMatStyler = (function () {\n\t function MdNavListCssMatStyler() {\n\t }\n\t MdNavListCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: 'md-nav-list, mat-nav-list',\n\t host: {\n\t '[class.mat-nav-list]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdNavListCssMatStyler);\n\t return MdNavListCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdDividerCssMatStyler = (function () {\n\t function MdDividerCssMatStyler() {\n\t }\n\t MdDividerCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: 'md-divider, mat-divider',\n\t host: {\n\t '[class.mat-divider]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdDividerCssMatStyler);\n\t return MdDividerCssMatStyler;\n\t}());\n\t/* Need directive for a ContentChild query in list-item */\n\tvar MdListAvatarCssMatStyler = (function () {\n\t function MdListAvatarCssMatStyler() {\n\t }\n\t MdListAvatarCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: '[md-list-avatar], [mat-list-avatar]',\n\t host: {\n\t '[class.mat-list-avatar]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListAvatarCssMatStyler);\n\t return MdListAvatarCssMatStyler;\n\t}());\n\t/* Need directive to add mat- CSS styling */\n\tvar MdListIconCssMatStyler = (function () {\n\t function MdListIconCssMatStyler() {\n\t }\n\t MdListIconCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: '[md-list-icon], [mat-list-icon]',\n\t host: {\n\t '[class.mat-list-icon]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListIconCssMatStyler);\n\t return MdListIconCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdListSubheaderCssMatStyler = (function () {\n\t function MdListSubheaderCssMatStyler() {\n\t }\n\t MdListSubheaderCssMatStyler = __decorate$40([\n\t _angular_core.Directive({\n\t selector: '[md-subheader], [mat-subheader]',\n\t host: {\n\t '[class.mat-subheader]': 'true'\n\t }\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListSubheaderCssMatStyler);\n\t return MdListSubheaderCssMatStyler;\n\t}());\n\tvar MdListItem = (function () {\n\t function MdListItem(_renderer, _element) {\n\t this._renderer = _renderer;\n\t this._element = _element;\n\t this._hasFocus = false;\n\t }\n\t Object.defineProperty(MdListItem.prototype, \"_hasAvatar\", {\n\t set: function (avatar) {\n\t this._renderer.setElementClass(this._element.nativeElement, 'mat-list-item-avatar', avatar != null);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdListItem.prototype.ngAfterContentInit = function () {\n\t this._lineSetter = new MdLineSetter(this._lines, this._renderer, this._element);\n\t };\n\t MdListItem.prototype._handleFocus = function () {\n\t this._hasFocus = true;\n\t };\n\t MdListItem.prototype._handleBlur = function () {\n\t this._hasFocus = false;\n\t };\n\t __decorate$40([\n\t _angular_core.ContentChildren(MdLine), \n\t __metadata$40('design:type', _angular_core.QueryList)\n\t ], MdListItem.prototype, \"_lines\", void 0);\n\t __decorate$40([\n\t _angular_core.ContentChild(MdListAvatarCssMatStyler), \n\t __metadata$40('design:type', MdListAvatarCssMatStyler), \n\t __metadata$40('design:paramtypes', [MdListAvatarCssMatStyler])\n\t ], MdListItem.prototype, \"_hasAvatar\", null);\n\t MdListItem = __decorate$40([\n\t _angular_core.Component({selector: 'md-list-item, mat-list-item, a[md-list-item], a[mat-list-item]',\n\t host: {\n\t 'role': 'listitem',\n\t '(focus)': '_handleFocus()',\n\t '(blur)': '_handleBlur()',\n\t '[class.mat-list-item]': 'true',\n\t },\n\t template: \"<div class=\\\"mat-list-item-content\\\" [class.mat-list-item-focus]=\\\"_hasFocus\\\"><ng-content select=\\\"[md-list-avatar],[md-list-icon], [mat-list-avatar], [mat-list-icon]\\\"></ng-content><div class=\\\"mat-list-text\\\"><ng-content select=\\\"[md-line], [mat-line]\\\"></ng-content></div><ng-content></ng-content></div>\",\n\t encapsulation: _angular_core.ViewEncapsulation.None\n\t }), \n\t __metadata$40('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdListItem);\n\t return MdListItem;\n\t}());\n\tvar MdListModule = (function () {\n\t function MdListModule() {\n\t }\n\t /** @deprecated */\n\t MdListModule.forRoot = function () {\n\t return {\n\t ngModule: MdListModule,\n\t providers: []\n\t };\n\t };\n\t MdListModule = __decorate$40([\n\t _angular_core.NgModule({\n\t imports: [MdLineModule, CompatibilityModule],\n\t exports: [\n\t MdList,\n\t MdListItem,\n\t MdListDivider,\n\t MdListAvatarCssMatStyler,\n\t MdLineModule,\n\t CompatibilityModule,\n\t MdListIconCssMatStyler,\n\t MdListCssMatStyler,\n\t MdNavListCssMatStyler,\n\t MdDividerCssMatStyler,\n\t MdListSubheaderCssMatStyler\n\t ],\n\t declarations: [\n\t MdList,\n\t MdListItem,\n\t MdListDivider,\n\t MdListAvatarCssMatStyler,\n\t MdListIconCssMatStyler,\n\t MdListCssMatStyler,\n\t MdNavListCssMatStyler,\n\t MdDividerCssMatStyler,\n\t MdListSubheaderCssMatStyler\n\t ],\n\t }), \n\t __metadata$40('design:paramtypes', [])\n\t ], MdListModule);\n\t return MdListModule;\n\t}());\n\t\n\t/**\n\t * Converts values into strings. Falsy values become empty strings.\n\t * @docs-private\n\t */\n\tfunction coerceToString(value) {\n\t return \"\" + (value || '');\n\t}\n\t/**\n\t * Converts a value that might be a string into a number.\n\t * @docs-private\n\t */\n\tfunction coerceToNumber(value) {\n\t return typeof value === 'string' ? parseInt(value, 10) : value;\n\t}\n\t\n\tvar __decorate$42 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$42 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdGridTile = (function () {\n\t function MdGridTile(_renderer, _element) {\n\t this._renderer = _renderer;\n\t this._element = _element;\n\t this._rowspan = 1;\n\t this._colspan = 1;\n\t }\n\t Object.defineProperty(MdGridTile.prototype, \"rowspan\", {\n\t /** Amount of rows that the grid tile takes up. */\n\t get: function () { return this._rowspan; },\n\t set: function (value) { this._rowspan = coerceToNumber(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdGridTile.prototype, \"colspan\", {\n\t /** Amount of columns that the grid tile takes up. */\n\t get: function () { return this._colspan; },\n\t set: function (value) { this._colspan = coerceToNumber(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Sets the style of the grid-tile element. Needs to be set manually to avoid\n\t * \"Changed after checked\" errors that would occur with HostBinding.\n\t */\n\t MdGridTile.prototype._setStyle = function (property, value) {\n\t this._renderer.setElementStyle(this._element.nativeElement, property, value);\n\t };\n\t __decorate$42([\n\t _angular_core.Input(), \n\t __metadata$42('design:type', Object)\n\t ], MdGridTile.prototype, \"rowspan\", null);\n\t __decorate$42([\n\t _angular_core.Input(), \n\t __metadata$42('design:type', Object)\n\t ], MdGridTile.prototype, \"colspan\", null);\n\t MdGridTile = __decorate$42([\n\t _angular_core.Component({selector: 'md-grid-tile, mat-grid-tile',\n\t host: {\n\t 'role': 'listitem',\n\t '[class.mat-grid-tile]': 'true',\n\t },\n\t template: \"<figure class=\\\"mat-figure\\\"><ng-content></ng-content></figure>\",\n\t styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{display:flex;position:absolute;align-items:center;justify-content:center;height:100%;top:0;right:0;bottom:0;left:0;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;font-size:16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer .mat-line,.mat-grid-tile .mat-grid-tile-header .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile .mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile .mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}.mat-grid-tile .mat-grid-list-text>*,.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-avatar:empty,.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$42('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdGridTile);\n\t return MdGridTile;\n\t}());\n\tvar MdGridTileText = (function () {\n\t function MdGridTileText(_renderer, _element) {\n\t this._renderer = _renderer;\n\t this._element = _element;\n\t }\n\t MdGridTileText.prototype.ngAfterContentInit = function () {\n\t this._lineSetter = new MdLineSetter(this._lines, this._renderer, this._element);\n\t };\n\t __decorate$42([\n\t _angular_core.ContentChildren(MdLine), \n\t __metadata$42('design:type', _angular_core.QueryList)\n\t ], MdGridTileText.prototype, \"_lines\", void 0);\n\t MdGridTileText = __decorate$42([\n\t _angular_core.Component({selector: 'md-grid-tile-header, mat-grid-tile-header, md-grid-tile-footer, mat-grid-tile-footer',\n\t template: \"<ng-content select=\\\"[md-grid-avatar], [mat-grid-avatar]\\\"></ng-content><div class=\\\"mat-grid-list-text\\\"><ng-content select=\\\"[md-line], [mat-line]\\\"></ng-content></div><ng-content></ng-content>\"\n\t }), \n\t __metadata$42('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdGridTileText);\n\t return MdGridTileText;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdGridAvatarCssMatStyler = (function () {\n\t function MdGridAvatarCssMatStyler() {\n\t }\n\t MdGridAvatarCssMatStyler = __decorate$42([\n\t _angular_core.Directive({\n\t selector: '[md-grid-avatar], [mat-grid-avatar]',\n\t host: {\n\t '[class.mat-grid-avatar]': 'true'\n\t }\n\t }), \n\t __metadata$42('design:paramtypes', [])\n\t ], MdGridAvatarCssMatStyler);\n\t return MdGridAvatarCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdGridTileHeaderCssMatStyler = (function () {\n\t function MdGridTileHeaderCssMatStyler() {\n\t }\n\t MdGridTileHeaderCssMatStyler = __decorate$42([\n\t _angular_core.Directive({\n\t selector: 'md-grid-tile-header, mat-grid-tile-header',\n\t host: {\n\t '[class.mat-grid-tile-header]': 'true'\n\t }\n\t }), \n\t __metadata$42('design:paramtypes', [])\n\t ], MdGridTileHeaderCssMatStyler);\n\t return MdGridTileHeaderCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdGridTileFooterCssMatStyler = (function () {\n\t function MdGridTileFooterCssMatStyler() {\n\t }\n\t MdGridTileFooterCssMatStyler = __decorate$42([\n\t _angular_core.Directive({\n\t selector: 'md-grid-tile-footer, mat-grid-tile-footer',\n\t host: {\n\t '[class.mat-grid-tile-footer]': 'true'\n\t }\n\t }), \n\t __metadata$42('design:paramtypes', [])\n\t ], MdGridTileFooterCssMatStyler);\n\t return MdGridTileFooterCssMatStyler;\n\t}());\n\t\n\tvar __extends$10 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Exception thrown when cols property is missing from grid-list\n\t * @docs-private\n\t */\n\tvar MdGridListColsError = (function (_super) {\n\t __extends$10(MdGridListColsError, _super);\n\t function MdGridListColsError() {\n\t _super.call(this, \"md-grid-list: must pass in number of columns. Example: <md-grid-list cols=\\\"3\\\">\");\n\t }\n\t return MdGridListColsError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when a tile's colspan is longer than the number of cols in list\n\t * @docs-private\n\t */\n\tvar MdGridTileTooWideError = (function (_super) {\n\t __extends$10(MdGridTileTooWideError, _super);\n\t function MdGridTileTooWideError(cols, listLength) {\n\t _super.call(this, \"md-grid-list: tile with colspan \" + cols + \" is wider than grid with cols=\\\"\" + listLength + \"\\\".\");\n\t }\n\t return MdGridTileTooWideError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when an invalid ratio is passed in as a rowHeight\n\t * @docs-private\n\t */\n\tvar MdGridListBadRatioError = (function (_super) {\n\t __extends$10(MdGridListBadRatioError, _super);\n\t function MdGridListBadRatioError(value) {\n\t _super.call(this, \"md-grid-list: invalid ratio given for row-height: \\\"\" + value + \"\\\"\");\n\t }\n\t return MdGridListBadRatioError;\n\t}(MdError));\n\t\n\t/**\n\t * Class for determining, from a list of tiles, the (row, col) position of each of those tiles\n\t * in the grid. This is necessary (rather than just rendering the tiles in normal document flow)\n\t * because the tiles can have a rowspan.\n\t *\n\t * The positioning algorithm greedily places each tile as soon as it encounters a gap in the grid\n\t * large enough to accommodate it so that the tiles still render in the same order in which they\n\t * are given.\n\t *\n\t * The basis of the algorithm is the use of an array to track the already placed tiles. Each\n\t * element of the array corresponds to a column, and the value indicates how many cells in that\n\t * column are already occupied; zero indicates an empty cell. Moving \"down\" to the next row\n\t * decrements each value in the tracking array (indicating that the column is one cell closer to\n\t * being free).\n\t *\n\t * @docs-private\n\t */\n\tvar TileCoordinator = (function () {\n\t function TileCoordinator(numColumns, tiles) {\n\t var _this = this;\n\t /** Index at which the search for the next gap will start. */\n\t this.columnIndex = 0;\n\t /** The current row index. */\n\t this.rowIndex = 0;\n\t this.tracker = new Array(numColumns);\n\t this.tracker.fill(0, 0, this.tracker.length);\n\t this.positions = tiles.map(function (tile) { return _this._trackTile(tile); });\n\t }\n\t Object.defineProperty(TileCoordinator.prototype, \"rowCount\", {\n\t /** Gets the total number of rows occupied by tiles */\n\t get: function () { return this.rowIndex + 1; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(TileCoordinator.prototype, \"rowspan\", {\n\t /** Gets the total span of rows occupied by tiles.\n\t * Ex: A list with 1 row that contains a tile with rowspan 2 will have a total rowspan of 2. */\n\t get: function () {\n\t var lastRowMax = Math.max.apply(Math, this.tracker);\n\t // if any of the tiles has a rowspan that pushes it beyond the total row count,\n\t // add the difference to the rowcount\n\t return lastRowMax > 1 ? this.rowCount + lastRowMax - 1 : this.rowCount;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Calculates the row and col position of a tile. */\n\t TileCoordinator.prototype._trackTile = function (tile) {\n\t // Find a gap large enough for this tile.\n\t var gapStartIndex = this._findMatchingGap(tile.colspan);\n\t // Place tile in the resulting gap.\n\t this._markTilePosition(gapStartIndex, tile);\n\t // The next time we look for a gap, the search will start at columnIndex, which should be\n\t // immediately after the tile that has just been placed.\n\t this.columnIndex = gapStartIndex + tile.colspan;\n\t return new TilePosition(this.rowIndex, gapStartIndex);\n\t };\n\t /** Finds the next available space large enough to fit the tile. */\n\t TileCoordinator.prototype._findMatchingGap = function (tileCols) {\n\t if (tileCols > this.tracker.length) {\n\t throw new MdGridTileTooWideError(tileCols, this.tracker.length);\n\t }\n\t // Start index is inclusive, end index is exclusive.\n\t var gapStartIndex = -1;\n\t var gapEndIndex = -1;\n\t // Look for a gap large enough to fit the given tile. Empty spaces are marked with a zero.\n\t do {\n\t // If we've reached the end of the row, go to the next row.\n\t if (this.columnIndex + tileCols > this.tracker.length) {\n\t this._nextRow();\n\t continue;\n\t }\n\t gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n\t // If there are no more empty spaces in this row at all, move on to the next row.\n\t if (gapStartIndex == -1) {\n\t this._nextRow();\n\t continue;\n\t }\n\t gapEndIndex = this._findGapEndIndex(gapStartIndex);\n\t // If a gap large enough isn't found, we want to start looking immediately after the current\n\t // gap on the next iteration.\n\t this.columnIndex = gapStartIndex + 1;\n\t } while (gapEndIndex - gapStartIndex < tileCols);\n\t return gapStartIndex;\n\t };\n\t /** Move \"down\" to the next row. */\n\t TileCoordinator.prototype._nextRow = function () {\n\t this.columnIndex = 0;\n\t this.rowIndex++;\n\t // Decrement all spaces by one to reflect moving down one row.\n\t for (var i = 0; i < this.tracker.length; i++) {\n\t this.tracker[i] = Math.max(0, this.tracker[i] - 1);\n\t }\n\t };\n\t /**\n\t * Finds the end index (exclusive) of a gap given the index from which to start looking.\n\t * The gap ends when a non-zero value is found.\n\t */\n\t TileCoordinator.prototype._findGapEndIndex = function (gapStartIndex) {\n\t for (var i = gapStartIndex + 1; i < this.tracker.length; i++) {\n\t if (this.tracker[i] != 0) {\n\t return i;\n\t }\n\t }\n\t // The gap ends with the end of the row.\n\t return this.tracker.length;\n\t };\n\t /** Update the tile tracker to account for the given tile in the given space. */\n\t TileCoordinator.prototype._markTilePosition = function (start, tile) {\n\t for (var i = 0; i < tile.colspan; i++) {\n\t this.tracker[start + i] = tile.rowspan;\n\t }\n\t };\n\t return TileCoordinator;\n\t}());\n\t/**\n\t * Simple data structure for tile position (row, col).\n\t * @docs-private\n\t */\n\tvar TilePosition = (function () {\n\t function TilePosition(row, col) {\n\t this.row = row;\n\t this.col = col;\n\t }\n\t return TilePosition;\n\t}());\n\t\n\tvar __extends$11 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Sets the style properties for an individual tile, given the position calculated by the\n\t * Tile Coordinator.\n\t * @docs-private\n\t */\n\tvar TileStyler = (function () {\n\t function TileStyler() {\n\t this._rows = 0;\n\t this._rowspan = 0;\n\t }\n\t /**\n\t * Adds grid-list layout info once it is available. Cannot be processed in the constructor\n\t * because these properties haven't been calculated by that point.\n\t *\n\t * @param gutterSize Size of the grid's gutter.\n\t * @param tracker Instance of the TileCoordinator.\n\t * @param cols Amount of columns in the grid.\n\t * @param direction Layout direction of the grid.\n\t */\n\t TileStyler.prototype.init = function (gutterSize, tracker, cols, direction) {\n\t this._gutterSize = normalizeUnits(gutterSize);\n\t this._rows = tracker.rowCount;\n\t this._rowspan = tracker.rowspan;\n\t this._cols = cols;\n\t this._direction = direction;\n\t };\n\t /**\n\t * Computes the amount of space a single 1x1 tile would take up (width or height).\n\t * Used as a basis for other calculations.\n\t * @param sizePercent Percent of the total grid-list space that one 1x1 tile would take up.\n\t * @param gutterFraction Fraction of the gutter size taken up by one 1x1 tile.\n\t * @return The size of a 1x1 tile as an expression that can be evaluated via CSS calc().\n\t */\n\t TileStyler.prototype.getBaseTileSize = function (sizePercent, gutterFraction) {\n\t // Take the base size percent (as would be if evenly dividing the size between cells),\n\t // and then subtracting the size of one gutter. However, since there are no gutters on the\n\t // edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter\n\t // size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the\n\t // edge evenly among the cells).\n\t return \"(\" + sizePercent + \"% - ( \" + this._gutterSize + \" * \" + gutterFraction + \" ))\";\n\t };\n\t /**\n\t * Gets The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value.\n\t * @param offset Number of tiles that have already been rendered in the row/column.\n\t * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n\t * @return Position of the tile as a CSS calc() expression.\n\t */\n\t TileStyler.prototype.getTilePosition = function (baseSize, offset) {\n\t // The position comes the size of a 1x1 tile plus gutter for each previous tile in the\n\t // row/column (offset).\n\t return calc(\"(\" + baseSize + \" + \" + this._gutterSize + \") * \" + offset);\n\t };\n\t /**\n\t * Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account.\n\t * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n\t * @param span The tile's rowspan or colspan.\n\t * @return Size of the tile as a CSS calc() expression.\n\t */\n\t TileStyler.prototype.getTileSize = function (baseSize, span) {\n\t return \"(\" + baseSize + \" * \" + span + \") + (\" + (span - 1) + \" * \" + this._gutterSize + \")\";\n\t };\n\t /**\n\t * Sets the style properties to be applied to a tile for the given row and column index.\n\t * @param tile Tile to which to apply the styling.\n\t * @param rowIndex Index of the tile's row.\n\t * @param colIndex Index of the tile's column.\n\t */\n\t TileStyler.prototype.setStyle = function (tile, rowIndex, colIndex) {\n\t // Percent of the available horizontal space that one column takes up.\n\t var percentWidthPerTile = 100 / this._cols;\n\t // Fraction of the vertical gutter size that each column takes up.\n\t // For example, if there are 5 columns, each column uses 4/5 = 0.8 times the gutter width.\n\t var gutterWidthFractionPerTile = (this._cols - 1) / this._cols;\n\t this.setColStyles(tile, colIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n\t this.setRowStyles(tile, rowIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n\t };\n\t /** Sets the horizontal placement of the tile in the list. */\n\t TileStyler.prototype.setColStyles = function (tile, colIndex, percentWidth, gutterWidth) {\n\t // Base horizontal size of a column.\n\t var baseTileWidth = this.getBaseTileSize(percentWidth, gutterWidth);\n\t // The width and horizontal position of each tile is always calculated the same way, but the\n\t // height and vertical position depends on the rowMode.\n\t var side = this._direction === 'ltr' ? 'left' : 'right';\n\t tile._setStyle(side, this.getTilePosition(baseTileWidth, colIndex));\n\t tile._setStyle('width', calc(this.getTileSize(baseTileWidth, tile.colspan)));\n\t };\n\t /**\n\t * Calculates the total size taken up by gutters across one axis of a list.\n\t */\n\t TileStyler.prototype.getGutterSpan = function () {\n\t return this._gutterSize + \" * (\" + this._rowspan + \" - 1)\";\n\t };\n\t /**\n\t * Calculates the total size taken up by tiles across one axis of a list.\n\t * @param tileHeight Height of the tile.\n\t */\n\t TileStyler.prototype.getTileSpan = function (tileHeight) {\n\t return this._rowspan + \" * \" + this.getTileSize(tileHeight, 1);\n\t };\n\t /**\n\t * Sets the vertical placement of the tile in the list.\n\t * This method will be implemented by each type of TileStyler.\n\t * @docs-private\n\t */\n\t TileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) { };\n\t /**\n\t * Calculates the computed height and returns the correct style property to set.\n\t * This method will be implemented by each type of TileStyler.\n\t * @docs-private\n\t */\n\t TileStyler.prototype.getComputedHeight = function () { return null; };\n\t return TileStyler;\n\t}());\n\t/**\n\t * This type of styler is instantiated when the user passes in a fixed row height.\n\t * Example <md-grid-list cols=\"3\" rowHeight=\"100px\">\n\t * @docs-private\n\t */\n\tvar FixedTileStyler = (function (_super) {\n\t __extends$11(FixedTileStyler, _super);\n\t function FixedTileStyler(fixedRowHeight) {\n\t _super.call(this);\n\t this.fixedRowHeight = fixedRowHeight;\n\t }\n\t FixedTileStyler.prototype.init = function (gutterSize, tracker, cols, direction) {\n\t _super.prototype.init.call(this, gutterSize, tracker, cols, direction);\n\t this.fixedRowHeight = normalizeUnits(this.fixedRowHeight);\n\t };\n\t FixedTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n\t tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));\n\t tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));\n\t };\n\t FixedTileStyler.prototype.getComputedHeight = function () {\n\t return [\n\t 'height', calc(this.getTileSpan(this.fixedRowHeight) + \" + \" + this.getGutterSpan())\n\t ];\n\t };\n\t return FixedTileStyler;\n\t}(TileStyler));\n\t/**\n\t * This type of styler is instantiated when the user passes in a width:height ratio\n\t * for the row height. Example <md-grid-list cols=\"3\" rowHeight=\"3:1\">\n\t * @docs-private\n\t */\n\tvar RatioTileStyler = (function (_super) {\n\t __extends$11(RatioTileStyler, _super);\n\t function RatioTileStyler(value) {\n\t _super.call(this);\n\t this._parseRatio(value);\n\t }\n\t RatioTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n\t var percentHeightPerTile = percentWidth / this.rowHeightRatio;\n\t this.baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterWidth);\n\t // Use paddingTop and marginTop to maintain the given aspect ratio, as\n\t // a percentage-based value for these properties is applied versus the *width* of the\n\t // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties\n\t tile._setStyle('marginTop', this.getTilePosition(this.baseTileHeight, rowIndex));\n\t tile._setStyle('paddingTop', calc(this.getTileSize(this.baseTileHeight, tile.rowspan)));\n\t };\n\t RatioTileStyler.prototype.getComputedHeight = function () {\n\t return [\n\t 'paddingBottom', calc(this.getTileSpan(this.baseTileHeight) + \" + \" + this.getGutterSpan())\n\t ];\n\t };\n\t RatioTileStyler.prototype._parseRatio = function (value) {\n\t var ratioParts = value.split(':');\n\t if (ratioParts.length !== 2) {\n\t throw new MdGridListBadRatioError(value);\n\t }\n\t this.rowHeightRatio = parseFloat(ratioParts[0]) / parseFloat(ratioParts[1]);\n\t };\n\t return RatioTileStyler;\n\t}(TileStyler));\n\t/**\n\t * This type of styler is instantiated when the user selects a \"fit\" row height mode.\n\t * In other words, the row height will reflect the total height of the container divided\n\t * by the number of rows. Example <md-grid-list cols=\"3\" rowHeight=\"fit\">\n\t *\n\t * @docs-private\n\t */\n\tvar FitTileStyler = (function (_super) {\n\t __extends$11(FitTileStyler, _super);\n\t function FitTileStyler() {\n\t _super.apply(this, arguments);\n\t }\n\t FitTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n\t // Percent of the available vertical space that one row takes up.\n\t var percentHeightPerTile = 100 / this._rowspan;\n\t // Fraction of the horizontal gutter size that each column takes up.\n\t var gutterHeightPerTile = (this._rows - 1) / this._rows;\n\t // Base vertical size of a column.\n\t var baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterHeightPerTile);\n\t tile._setStyle('top', this.getTilePosition(baseTileHeight, rowIndex));\n\t tile._setStyle('height', calc(this.getTileSize(baseTileHeight, tile.rowspan)));\n\t };\n\t return FitTileStyler;\n\t}(TileStyler));\n\t/** Wraps a CSS string in a calc function */\n\tfunction calc(exp) { return \"calc(\" + exp + \")\"; }\n\t/** Appends pixels to a CSS string if no units are given. */\n\tfunction normalizeUnits(value) {\n\t return (value.match(/px|em|rem/)) ? value : value + 'px';\n\t}\n\t\n\tvar __decorate$41 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$41 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$9 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t// TODO(kara): Conditional (responsive) column count / row size.\n\t// TODO(kara): Re-layout on window resize / media change (debounced).\n\t// TODO(kara): gridTileHeader and gridTileFooter.\n\tvar MD_FIT_MODE = 'fit';\n\tvar MdGridList = (function () {\n\t function MdGridList(_renderer, _element, _dir) {\n\t this._renderer = _renderer;\n\t this._element = _element;\n\t this._dir = _dir;\n\t /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n\t this._gutter = '1px';\n\t }\n\t Object.defineProperty(MdGridList.prototype, \"cols\", {\n\t /** Amount of columns in the grid list. */\n\t get: function () { return this._cols; },\n\t set: function (value) { this._cols = coerceToNumber(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdGridList.prototype, \"gutterSize\", {\n\t /** Size of the grid list's gutter in pixels. */\n\t get: function () { return this._gutter; },\n\t set: function (value) { this._gutter = coerceToString(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdGridList.prototype, \"rowHeight\", {\n\t /** Set internal representation of row height from the user-provided value. */\n\t set: function (value) {\n\t this._rowHeight = coerceToString(value);\n\t this._setTileStyler();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdGridList.prototype.ngOnInit = function () {\n\t this._checkCols();\n\t this._checkRowHeight();\n\t };\n\t /**\n\t * The layout calculation is fairly cheap if nothing changes, so there's little cost\n\t * to run it frequently.\n\t */\n\t MdGridList.prototype.ngAfterContentChecked = function () {\n\t this._layoutTiles();\n\t };\n\t /** Throw a friendly error if cols property is missing */\n\t MdGridList.prototype._checkCols = function () {\n\t if (!this.cols) {\n\t throw new MdGridListColsError();\n\t }\n\t };\n\t /** Default to equal width:height if rowHeight property is missing */\n\t MdGridList.prototype._checkRowHeight = function () {\n\t if (!this._rowHeight) {\n\t this._tileStyler = new RatioTileStyler('1:1');\n\t }\n\t };\n\t /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n\t MdGridList.prototype._setTileStyler = function () {\n\t if (this._rowHeight === MD_FIT_MODE) {\n\t this._tileStyler = new FitTileStyler();\n\t }\n\t else if (this._rowHeight && this._rowHeight.indexOf(':') > -1) {\n\t this._tileStyler = new RatioTileStyler(this._rowHeight);\n\t }\n\t else {\n\t this._tileStyler = new FixedTileStyler(this._rowHeight);\n\t }\n\t };\n\t /** Computes and applies the size and position for all children grid tiles. */\n\t MdGridList.prototype._layoutTiles = function () {\n\t var _this = this;\n\t var tracker = new TileCoordinator(this.cols, this._tiles);\n\t var direction = this._dir ? this._dir.value : 'ltr';\n\t this._tileStyler.init(this.gutterSize, tracker, this.cols, direction);\n\t this._tiles.forEach(function (tile, index) {\n\t var pos = tracker.positions[index];\n\t _this._tileStyler.setStyle(tile, pos.row, pos.col);\n\t });\n\t this._setListStyle(this._tileStyler.getComputedHeight());\n\t };\n\t /** Sets style on the main grid-list element, given the style name and value. */\n\t MdGridList.prototype._setListStyle = function (style$$1) {\n\t if (style$$1) {\n\t this._renderer.setElementStyle(this._element.nativeElement, style$$1[0], style$$1[1]);\n\t }\n\t };\n\t __decorate$41([\n\t _angular_core.ContentChildren(MdGridTile), \n\t __metadata$41('design:type', _angular_core.QueryList)\n\t ], MdGridList.prototype, \"_tiles\", void 0);\n\t __decorate$41([\n\t _angular_core.Input(), \n\t __metadata$41('design:type', Object)\n\t ], MdGridList.prototype, \"cols\", null);\n\t __decorate$41([\n\t _angular_core.Input(), \n\t __metadata$41('design:type', Object)\n\t ], MdGridList.prototype, \"gutterSize\", null);\n\t __decorate$41([\n\t _angular_core.Input(), \n\t __metadata$41('design:type', Object), \n\t __metadata$41('design:paramtypes', [Object])\n\t ], MdGridList.prototype, \"rowHeight\", null);\n\t MdGridList = __decorate$41([\n\t _angular_core.Component({selector: 'md-grid-list, mat-grid-list',\n\t template: \"<div><ng-content></ng-content></div>\",\n\t styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{display:flex;position:absolute;align-items:center;justify-content:center;height:100%;top:0;right:0;bottom:0;left:0;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;font-size:16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer .mat-line,.mat-grid-tile .mat-grid-tile-header .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile .mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile .mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}.mat-grid-tile .mat-grid-list-text>*,.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-avatar:empty,.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}\"],\n\t host: {\n\t 'role': 'list',\n\t '[class.mat-grid-list]': 'true',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }),\n\t __param$9(2, _angular_core.Optional()), \n\t __metadata$41('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef, Dir])\n\t ], MdGridList);\n\t return MdGridList;\n\t}());\n\tvar MdGridListModule = (function () {\n\t function MdGridListModule() {\n\t }\n\t /** @deprecated */\n\t MdGridListModule.forRoot = function () {\n\t return {\n\t ngModule: MdGridListModule,\n\t providers: []\n\t };\n\t };\n\t MdGridListModule = __decorate$41([\n\t _angular_core.NgModule({\n\t imports: [MdLineModule, CompatibilityModule],\n\t exports: [\n\t MdGridList,\n\t MdGridTile,\n\t MdGridTileText,\n\t MdLineModule,\n\t CompatibilityModule,\n\t MdGridTileHeaderCssMatStyler,\n\t MdGridTileFooterCssMatStyler,\n\t MdGridAvatarCssMatStyler\n\t ],\n\t declarations: [\n\t MdGridList,\n\t MdGridTile,\n\t MdGridTileText,\n\t MdGridTileHeaderCssMatStyler,\n\t MdGridTileFooterCssMatStyler,\n\t MdGridAvatarCssMatStyler],\n\t }), \n\t __metadata$41('design:paramtypes', [])\n\t ], MdGridListModule);\n\t return MdGridListModule;\n\t}());\n\t\n\tvar __decorate$43 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$43 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Content of a card, needed as it's used as a selector in the API.\n\t */\n\tvar MdCardContent = (function () {\n\t function MdCardContent() {\n\t }\n\t MdCardContent = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-content, mat-card-content',\n\t host: {\n\t '[class.mat-card-content]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardContent);\n\t return MdCardContent;\n\t}());\n\t/**\n\t * Title of a card, needed as it's used as a selector in the API.\n\t */\n\tvar MdCardTitle = (function () {\n\t function MdCardTitle() {\n\t }\n\t MdCardTitle = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-title, mat-card-title',\n\t host: {\n\t '[class.mat-card-title]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardTitle);\n\t return MdCardTitle;\n\t}());\n\t/**\n\t * Sub-title of a card, needed as it's used as a selector in the API.\n\t */\n\tvar MdCardSubtitle = (function () {\n\t function MdCardSubtitle() {\n\t }\n\t MdCardSubtitle = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-subtitle, mat-card-subtitle',\n\t host: {\n\t '[class.mat-card-subtitle]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardSubtitle);\n\t return MdCardSubtitle;\n\t}());\n\t/**\n\t * Action section of a card, needed as it's used as a selector in the API.\n\t */\n\tvar MdCardActions = (function () {\n\t function MdCardActions() {\n\t }\n\t MdCardActions = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-actions, mat-card-actions',\n\t host: {\n\t '[class.mat-card-actions]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardActions);\n\t return MdCardActions;\n\t}());\n\t/**\n\t * Footer of a card, needed as it's used as a selector in the API.\n\t */\n\tvar MdCardFooter = (function () {\n\t function MdCardFooter() {\n\t }\n\t MdCardFooter = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-footer, mat-card-footer',\n\t host: {\n\t '[class.mat-card-footer]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardFooter);\n\t return MdCardFooter;\n\t}());\n\t/**\n\t * Image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardSmImage = (function () {\n\t function MdCardSmImage() {\n\t }\n\t MdCardSmImage = __decorate$43([\n\t _angular_core.Directive({\n\t selector: '[md-card-sm-image], [mat-card-sm-image]',\n\t host: {\n\t '[class.mat-card-sm-image]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardSmImage);\n\t return MdCardSmImage;\n\t}());\n\t/**\n\t * Image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardMdImage = (function () {\n\t function MdCardMdImage() {\n\t }\n\t MdCardMdImage = __decorate$43([\n\t _angular_core.Directive({\n\t selector: '[md-card-md-image], [mat-card-md-image]',\n\t host: {\n\t '[class.mat-card-md-image]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardMdImage);\n\t return MdCardMdImage;\n\t}());\n\t/**\n\t * Image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardLgImage = (function () {\n\t function MdCardLgImage() {\n\t }\n\t MdCardLgImage = __decorate$43([\n\t _angular_core.Directive({\n\t selector: '[md-card-lg-image], [mat-card-lg-image]',\n\t host: {\n\t 'class.mat-card-lg-image': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardLgImage);\n\t return MdCardLgImage;\n\t}());\n\t/**\n\t * Image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardImage = (function () {\n\t function MdCardImage() {\n\t }\n\t MdCardImage = __decorate$43([\n\t _angular_core.Directive({\n\t selector: '[md-card-image], [mat-card-image]',\n\t host: {\n\t '[class.mat-card-image]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardImage);\n\t return MdCardImage;\n\t}());\n\t/**\n\t * Large image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardXlImage = (function () {\n\t function MdCardXlImage() {\n\t }\n\t MdCardXlImage = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-xl-image, mat-card-xl-image',\n\t host: {\n\t '[class.mat-card-xl-image]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardXlImage);\n\t return MdCardXlImage;\n\t}());\n\t/**\n\t * Avatar image used in a card, needed to add the mat- CSS styling.\n\t */\n\tvar MdCardAvatar = (function () {\n\t function MdCardAvatar() {\n\t }\n\t MdCardAvatar = __decorate$43([\n\t _angular_core.Directive({\n\t selector: 'md-card-avatar, mat-card-avatar',\n\t host: {\n\t '[class.mat-card-avatar]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardAvatar);\n\t return MdCardAvatar;\n\t}());\n\t/**\n\t * A basic content container component that adds the styles of a Material design card.\n\t *\n\t * While this component can be used alone, it also provides a number\n\t * of preset styles for common card sections, including:\n\t * - md-card-title\n\t * - md-card-subtitle\n\t * - md-card-content\n\t * - md-card-actions\n\t * - md-card-footer\n\t */\n\tvar MdCard = (function () {\n\t function MdCard() {\n\t }\n\t MdCard = __decorate$43([\n\t _angular_core.Component({selector: 'md-card, mat-card',\n\t template: \"<ng-content></ng-content>\",\n\t styles: [\".mat-card{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);will-change:box-shadow;display:block;position:relative;padding:24px;border-radius:2px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-flat{box-shadow:none}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-title{font-size:24px;font-weight:400}.mat-card-content,.mat-card-header .mat-card-title,.mat-card-subtitle{font-size:14px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions[align=end]{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-footer{position:absolute;width:100%;min-height:5px;bottom:0;left:0}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row;height:40px;margin:-8px 0 16px}.mat-card-header-text{height:40px;margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image{margin:-8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}@media (max-width:600px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child,.mat-card>:last-child{margin-bottom:0}.mat-card-image:first-child{margin-top:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child),.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t host: {\n\t '[class.mat-card]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCard);\n\t return MdCard;\n\t}());\n\t/**\n\t * Component intended to be used within the `<md-card>` component. It adds styles for a\n\t * preset header section (i.e. a title, subtitle, and avatar layout).\n\t */\n\tvar MdCardHeader = (function () {\n\t function MdCardHeader() {\n\t }\n\t MdCardHeader = __decorate$43([\n\t _angular_core.Component({selector: 'md-card-header, mat-card-header',\n\t template: \"<ng-content select=\\\"[md-card-avatar], [mat-card-avatar]\\\"></ng-content><div class=\\\"mat-card-header-text\\\"><ng-content select=\\\"md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle\\\"></ng-content></div><ng-content></ng-content>\",\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t host: {\n\t '[class.mat-card-header]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardHeader);\n\t return MdCardHeader;\n\t}());\n\t/**\n\t * Component intended to be used within the <md-card> component. It adds styles for a preset\n\t * layout that groups an image with a title section.\n\t */\n\tvar MdCardTitleGroup = (function () {\n\t function MdCardTitleGroup() {\n\t }\n\t MdCardTitleGroup = __decorate$43([\n\t _angular_core.Component({selector: 'md-card-title-group, mat-card-title-group',\n\t template: \"<div><ng-content select=\\\"md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle\\\"></ng-content></div><ng-content select=\\\"img\\\"></ng-content><ng-content></ng-content>\",\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t host: {\n\t '[class.mat-card-title-group]': 'true'\n\t }\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardTitleGroup);\n\t return MdCardTitleGroup;\n\t}());\n\tvar MdCardModule = (function () {\n\t function MdCardModule() {\n\t }\n\t /** @deprecated */\n\t MdCardModule.forRoot = function () {\n\t return {\n\t ngModule: MdCardModule,\n\t providers: []\n\t };\n\t };\n\t MdCardModule = __decorate$43([\n\t _angular_core.NgModule({\n\t imports: [CompatibilityModule],\n\t exports: [\n\t MdCard,\n\t MdCardHeader,\n\t MdCardTitleGroup,\n\t MdCardContent,\n\t MdCardTitle,\n\t MdCardSubtitle,\n\t MdCardActions,\n\t MdCardFooter,\n\t MdCardSmImage,\n\t MdCardMdImage,\n\t MdCardLgImage,\n\t MdCardImage,\n\t MdCardXlImage,\n\t MdCardAvatar,\n\t CompatibilityModule,\n\t ],\n\t declarations: [\n\t MdCard, MdCardHeader, MdCardTitleGroup, MdCardContent, MdCardTitle, MdCardSubtitle,\n\t MdCardActions, MdCardFooter, MdCardSmImage, MdCardMdImage, MdCardLgImage, MdCardImage,\n\t MdCardXlImage, MdCardAvatar,\n\t ],\n\t }), \n\t __metadata$43('design:paramtypes', [])\n\t ], MdCardModule);\n\t return MdCardModule;\n\t}());\n\t\n\tvar __decorate$45 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$45 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Material design styled Chip component. Used inside the MdChipList component.\n\t */\n\tvar MdChip = (function () {\n\t function MdChip(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t /** Whether or not the chip is disabled. Disabled chips cannot be focused. */\n\t this._disabled = null;\n\t /** Whether or not the chip is selected. */\n\t this._selected = false;\n\t /** The palette color of selected chips. */\n\t this._color = 'primary';\n\t /** Emitted when the chip is focused. */\n\t this.onFocus = new _angular_core.EventEmitter();\n\t /** Emitted when the chip is selected. */\n\t this.select = new _angular_core.EventEmitter();\n\t /** Emitted when the chip is deselected. */\n\t this.deselect = new _angular_core.EventEmitter();\n\t /** Emitted when the chip is destroyed. */\n\t this.destroy = new _angular_core.EventEmitter();\n\t }\n\t MdChip.prototype.ngOnInit = function () {\n\t this._addDefaultCSSClass();\n\t this._updateColor(this._color);\n\t };\n\t MdChip.prototype.ngOnDestroy = function () {\n\t this.destroy.emit({ chip: this });\n\t };\n\t Object.defineProperty(MdChip.prototype, \"disabled\", {\n\t /** Whether or not the chip is disabled. */\n\t get: function () {\n\t return this._disabled;\n\t },\n\t /** Sets the disabled state of the chip. */\n\t set: function (value) {\n\t this._disabled = coerceBooleanProperty(value) ? true : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdChip.prototype, \"_isAriaDisabled\", {\n\t /** A String representation of the current disabled state. */\n\t get: function () {\n\t return String(coerceBooleanProperty(this.disabled));\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdChip.prototype, \"selected\", {\n\t /** Whether or not this chip is selected. */\n\t get: function () {\n\t return this._selected;\n\t },\n\t set: function (value) {\n\t this._selected = coerceBooleanProperty(value);\n\t if (this._selected) {\n\t this.select.emit({ chip: this });\n\t }\n\t else {\n\t this.deselect.emit({ chip: this });\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Toggles the current selected state of this chip.\n\t * @return Whether the chip is selected.\n\t */\n\t MdChip.prototype.toggleSelected = function () {\n\t this.selected = !this.selected;\n\t return this.selected;\n\t };\n\t Object.defineProperty(MdChip.prototype, \"color\", {\n\t /** The color of the chip. Can be `primary`, `accent`, or `warn`. */\n\t get: function () {\n\t return this._color;\n\t },\n\t set: function (value) {\n\t this._updateColor(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Allows for programmatic focusing of the chip. */\n\t MdChip.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus');\n\t this.onFocus.emit({ chip: this });\n\t };\n\t /** Ensures events fire properly upon click. */\n\t MdChip.prototype._handleClick = function (event) {\n\t // Check disabled\n\t if (this.disabled) {\n\t event.preventDefault();\n\t event.stopPropagation();\n\t }\n\t else {\n\t this.focus();\n\t }\n\t };\n\t /** Initializes the appropriate CSS classes based on the chip type (basic or standard). */\n\t MdChip.prototype._addDefaultCSSClass = function () {\n\t var el = this._elementRef.nativeElement;\n\t // Always add the `mat-chip` class\n\t el.classList.add('mat-chip');\n\t // If we are a basic chip, also add the `mat-basic-chip` class for :not() targeting\n\t if (el.nodeName.toLowerCase() == 'mat-basic-chip' || el.hasAttribute('mat-basic-chip') ||\n\t el.nodeName.toLowerCase() == 'md-basic-chip' || el.hasAttribute('md-basic-chip')) {\n\t el.classList.add('mat-basic-chip');\n\t }\n\t };\n\t /** Updates the private _color variable and the native element. */\n\t MdChip.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t /** Sets the mat-color on the native element. */\n\t MdChip.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t __decorate$45([\n\t _angular_core.Output(), \n\t __metadata$45('design:type', Object)\n\t ], MdChip.prototype, \"select\", void 0);\n\t __decorate$45([\n\t _angular_core.Output(), \n\t __metadata$45('design:type', Object)\n\t ], MdChip.prototype, \"deselect\", void 0);\n\t __decorate$45([\n\t _angular_core.Output(), \n\t __metadata$45('design:type', Object)\n\t ], MdChip.prototype, \"destroy\", void 0);\n\t __decorate$45([\n\t _angular_core.Input(), \n\t __metadata$45('design:type', Boolean)\n\t ], MdChip.prototype, \"disabled\", null);\n\t __decorate$45([\n\t _angular_core.Input(), \n\t __metadata$45('design:type', Boolean)\n\t ], MdChip.prototype, \"selected\", null);\n\t __decorate$45([\n\t _angular_core.Input(), \n\t __metadata$45('design:type', String)\n\t ], MdChip.prototype, \"color\", null);\n\t MdChip = __decorate$45([\n\t _angular_core.Component({\n\t selector: \"md-basic-chip, [md-basic-chip], md-chip, [md-chip],\\n mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]\",\n\t template: \"<ng-content></ng-content>\",\n\t host: {\n\t '[class.mat-chip]': 'true',\n\t 'tabindex': '-1',\n\t 'role': 'option',\n\t '[class.mat-chip-selected]': 'selected',\n\t '[attr.disabled]': 'disabled',\n\t '[attr.aria-disabled]': '_isAriaDisabled',\n\t '(click)': '_handleClick($event)'\n\t }\n\t }), \n\t __metadata$45('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdChip);\n\t return MdChip;\n\t}());\n\t\n\tvar __decorate$44 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$44 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * A material design chips component (named ChipList for it's similarity to the List component).\n\t *\n\t * Example:\n\t *\n\t * <md-chip-list>\n\t * <md-chip>Chip 1<md-chip>\n\t * <md-chip>Chip 2<md-chip>\n\t * </md-chip-list>\n\t */\n\tvar MdChipList = (function () {\n\t function MdChipList(_elementRef) {\n\t this._elementRef = _elementRef;\n\t /** Track which chips we're listening to for focus/destruction. */\n\t this._subscribed = new WeakMap();\n\t /** Whether or not the chip is selectable. */\n\t this._selectable = true;\n\t }\n\t MdChipList.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t this._keyManager = new FocusKeyManager(this.chips).withWrap();\n\t // Go ahead and subscribe all of the initial chips\n\t this._subscribeChips(this.chips);\n\t // When the list changes, re-subscribe\n\t this.chips.changes.subscribe(function (chips) {\n\t _this._subscribeChips(chips);\n\t });\n\t };\n\t Object.defineProperty(MdChipList.prototype, \"selectable\", {\n\t /**\n\t * Whether or not this chip is selectable. When a chip is not selectable,\n\t * it's selected state is always ignored.\n\t */\n\t get: function () {\n\t return this._selectable;\n\t },\n\t set: function (value) {\n\t this._selectable = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Programmatically focus the chip list. This in turn focuses the first\n\t * non-disabled chip in this chip list.\n\t */\n\t MdChipList.prototype.focus = function () {\n\t // TODO: ARIA says this should focus the first `selected` chip.\n\t this._keyManager.setFirstItemActive();\n\t };\n\t /** Passes relevant key presses to our key manager. */\n\t MdChipList.prototype._keydown = function (event) {\n\t var target = event.target;\n\t // If they are on a chip, check for space/left/right, otherwise pass to our key manager\n\t if (target && target.classList.contains('mat-chip')) {\n\t switch (event.keyCode) {\n\t case SPACE:\n\t // If we are selectable, toggle the focused chip\n\t if (this.selectable) {\n\t this._toggleSelectOnFocusedChip();\n\t }\n\t // Always prevent space from scrolling the page since the list has focus\n\t event.preventDefault();\n\t break;\n\t case LEFT_ARROW:\n\t this._keyManager.setPreviousItemActive();\n\t event.preventDefault();\n\t break;\n\t case RIGHT_ARROW:\n\t this._keyManager.setNextItemActive();\n\t event.preventDefault();\n\t break;\n\t default:\n\t this._keyManager.onKeydown(event);\n\t }\n\t }\n\t };\n\t /** Toggles the selected state of the currently focused chip. */\n\t MdChipList.prototype._toggleSelectOnFocusedChip = function () {\n\t // Allow disabling of chip selection\n\t if (!this.selectable) {\n\t return;\n\t }\n\t var focusedIndex = this._keyManager.activeItemIndex;\n\t if (this._isValidIndex(focusedIndex)) {\n\t var focusedChip = this.chips.toArray()[focusedIndex];\n\t if (focusedChip) {\n\t focusedChip.toggleSelected();\n\t }\n\t }\n\t };\n\t /**\n\t * Iterate through the list of chips and add them to our list of\n\t * subscribed chips.\n\t *\n\t * @param chips The list of chips to be subscribed.\n\t */\n\t MdChipList.prototype._subscribeChips = function (chips) {\n\t var _this = this;\n\t chips.forEach(function (chip) { return _this._addChip(chip); });\n\t };\n\t /**\n\t * Add a specific chip to our subscribed list. If the chip has\n\t * already been subscribed, this ensures it is only subscribed\n\t * once.\n\t *\n\t * @param chip The chip to be subscribed (or checked for existing\n\t * subscription).\n\t */\n\t MdChipList.prototype._addChip = function (chip) {\n\t var _this = this;\n\t // If we've already been subscribed to a parent, do nothing\n\t if (this._subscribed.has(chip)) {\n\t return;\n\t }\n\t // Watch for focus events outside of the keyboard navigation\n\t chip.onFocus.subscribe(function () {\n\t var chipIndex = _this.chips.toArray().indexOf(chip);\n\t if (_this._isValidIndex(chipIndex)) {\n\t _this._keyManager.updateActiveItemIndex(chipIndex);\n\t }\n\t });\n\t // On destroy, remove the item from our list, and check focus\n\t chip.destroy.subscribe(function () {\n\t var chipIndex = _this.chips.toArray().indexOf(chip);\n\t if (_this._isValidIndex(chipIndex)) {\n\t // Check whether the chip is the last item\n\t if (chipIndex < _this.chips.length - 1) {\n\t _this._keyManager.setActiveItem(chipIndex);\n\t }\n\t else if (chipIndex - 1 >= 0) {\n\t _this._keyManager.setActiveItem(chipIndex - 1);\n\t }\n\t }\n\t _this._subscribed.delete(chip);\n\t chip.destroy.unsubscribe();\n\t });\n\t this._subscribed.set(chip, true);\n\t };\n\t /**\n\t * Utility to ensure all indexes are valid.\n\t *\n\t * @param index The index to be checked.\n\t * @returns True if the index is valid for our list of chips.\n\t */\n\t MdChipList.prototype._isValidIndex = function (index) {\n\t return index >= 0 && index < this.chips.length;\n\t };\n\t __decorate$44([\n\t _angular_core.Input(), \n\t __metadata$44('design:type', Boolean)\n\t ], MdChipList.prototype, \"selectable\", null);\n\t MdChipList = __decorate$44([\n\t _angular_core.Component({selector: 'md-chip-list, mat-chip-list',\n\t template: \"<div class=\\\"md-chip-list-wrapper\\\"><ng-content></ng-content></div>\",\n\t host: {\n\t // Properties\n\t 'tabindex': '0',\n\t 'role': 'listbox',\n\t '[class.mat-chip-list]': 'true',\n\t // Events\n\t '(focus)': 'focus()',\n\t '(keydown)': '_keydown($event)'\n\t },\n\t queries: {\n\t chips: new _angular_core.ContentChildren(MdChip)\n\t },\n\t styles: [\".mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){margin:0 3px}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):first-child{margin-left:0;margin-right:3px}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child,[dir=rtl] .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):first-child{margin-left:3px;margin-right:0}[dir=rtl] .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child{margin-left:0;margin-right:3px}.mat-chip:not(.mat-basic-chip){display:inline-block;padding:8px 12px;border-radius:24px;font-size:13px;line-height:16px}.mat-chip-list-stacked .mat-chip-list-wrapper{display:block}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){display:block;margin:0 0 8px}[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){margin:0 0 8px}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child,[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child{margin-bottom:0}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n\t }), \n\t __metadata$44('design:paramtypes', [_angular_core.ElementRef])\n\t ], MdChipList);\n\t return MdChipList;\n\t}());\n\tvar MdChipsModule = (function () {\n\t function MdChipsModule() {\n\t }\n\t /** @deprecated */\n\t MdChipsModule.forRoot = function () {\n\t return {\n\t ngModule: MdChipsModule,\n\t providers: []\n\t };\n\t };\n\t MdChipsModule = __decorate$44([\n\t _angular_core.NgModule({\n\t imports: [],\n\t exports: [MdChipList, MdChip],\n\t declarations: [MdChipList, MdChip]\n\t }), \n\t __metadata$44('design:paramtypes', [])\n\t ], MdChipsModule);\n\t return MdChipsModule;\n\t}());\n\t\n\tvar __extends$13 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$47 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$47 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Exception thrown when attempting to load an icon with a name that cannot be found.\n\t * @docs-private\n\t */\n\tvar MdIconNameNotFoundError = (function (_super) {\n\t __extends$13(MdIconNameNotFoundError, _super);\n\t function MdIconNameNotFoundError(iconName) {\n\t _super.call(this, \"Unable to find icon with the name \\\"\" + iconName + \"\\\"\");\n\t }\n\t return MdIconNameNotFoundError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when attempting to load SVG content that does not contain the expected\n\t * <svg> tag.\n\t * @docs-private\n\t */\n\tvar MdIconSvgTagNotFoundError = (function (_super) {\n\t __extends$13(MdIconSvgTagNotFoundError, _super);\n\t function MdIconSvgTagNotFoundError() {\n\t _super.call(this, '<svg> tag not found');\n\t }\n\t return MdIconSvgTagNotFoundError;\n\t}(MdError));\n\t/**\n\t * Configuration for an icon, including the URL and possibly the cached SVG element.\n\t * @docs-private\n\t */\n\tvar SvgIconConfig = (function () {\n\t function SvgIconConfig(url) {\n\t this.url = url;\n\t this.svgElement = null;\n\t }\n\t return SvgIconConfig;\n\t}());\n\t/** Returns the cache key to use for an icon namespace and name. */\n\tvar iconKey = function (namespace, name) { return namespace + ':' + name; };\n\t/**\n\t * Service to register and display icons used by the <md-icon> component.\n\t * - Registers icon URLs by namespace and name.\n\t * - Registers icon set URLs by namespace.\n\t * - Registers aliases for CSS classes, for use with icon fonts.\n\t * - Loads icons from URLs and extracts individual icons from icon sets.\n\t */\n\tvar MdIconRegistry = (function () {\n\t function MdIconRegistry(_http, _sanitizer) {\n\t this._http = _http;\n\t this._sanitizer = _sanitizer;\n\t /**\n\t * URLs and cached SVG elements for individual icons. Keys are of the format \"[namespace]:[icon]\".\n\t */\n\t this._svgIconConfigs = new Map();\n\t /**\n\t * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.\n\t * Multiple icon sets can be registered under the same namespace.\n\t */\n\t this._iconSetConfigs = new Map();\n\t /** Cache for icons loaded by direct URLs. */\n\t this._cachedIconsByUrl = new Map();\n\t /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */\n\t this._inProgressUrlFetches = new Map();\n\t /** Map from font identifiers to their CSS class names. Used for icon fonts. */\n\t this._fontCssClassesByAlias = new Map();\n\t /**\n\t * The CSS class to apply when an <md-icon> component has no icon name, url, or font specified.\n\t * The default 'material-icons' value assumes that the material icon font has been loaded as\n\t * described at http://google.github.io/material-design-icons/#icon-font-for-the-web\n\t */\n\t this._defaultFontSetClass = 'material-icons';\n\t }\n\t /**\n\t * Registers an icon by URL in the default namespace.\n\t * @param iconName Name under which the icon should be registered.\n\t * @param url\n\t */\n\t MdIconRegistry.prototype.addSvgIcon = function (iconName, url) {\n\t return this.addSvgIconInNamespace('', iconName, url);\n\t };\n\t /**\n\t * Registers an icon by URL in the specified namespace.\n\t * @param namespace Namespace in which the icon should be registered.\n\t * @param iconName Name under which the icon should be registered.\n\t * @param url\n\t */\n\t MdIconRegistry.prototype.addSvgIconInNamespace = function (namespace, iconName, url) {\n\t var key = iconKey(namespace, iconName);\n\t this._svgIconConfigs.set(key, new SvgIconConfig(url));\n\t return this;\n\t };\n\t /**\n\t * Registers an icon set by URL in the default namespace.\n\t * @param url\n\t */\n\t MdIconRegistry.prototype.addSvgIconSet = function (url) {\n\t return this.addSvgIconSetInNamespace('', url);\n\t };\n\t /**\n\t * Registers an icon set by URL in the specified namespace.\n\t * @param namespace Namespace in which to register the icon set.\n\t * @param url\n\t */\n\t MdIconRegistry.prototype.addSvgIconSetInNamespace = function (namespace, url) {\n\t var config = new SvgIconConfig(url);\n\t if (this._iconSetConfigs.has(namespace)) {\n\t this._iconSetConfigs.get(namespace).push(config);\n\t }\n\t else {\n\t this._iconSetConfigs.set(namespace, [config]);\n\t }\n\t return this;\n\t };\n\t /**\n\t * Defines an alias for a CSS class name to be used for icon fonts. Creating an mdIcon\n\t * component with the alias as the fontSet input will cause the class name to be applied\n\t * to the <md-icon> element.\n\t *\n\t * @param alias Alias for the font.\n\t * @param className Class name override to be used instead of the alias.\n\t */\n\t MdIconRegistry.prototype.registerFontClassAlias = function (alias, className) {\n\t if (className === void 0) { className = alias; }\n\t this._fontCssClassesByAlias.set(alias, className);\n\t return this;\n\t };\n\t /**\n\t * Returns the CSS class name associated with the alias by a previous call to\n\t * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.\n\t */\n\t MdIconRegistry.prototype.classNameForFontAlias = function (alias) {\n\t return this._fontCssClassesByAlias.get(alias) || alias;\n\t };\n\t /**\n\t * Sets the CSS class name to be used for icon fonts when an <md-icon> component does not\n\t * have a fontSet input value, and is not loading an icon by name or URL.\n\t *\n\t * @param className\n\t */\n\t MdIconRegistry.prototype.setDefaultFontSetClass = function (className) {\n\t this._defaultFontSetClass = className;\n\t return this;\n\t };\n\t /**\n\t * Returns the CSS class name to be used for icon fonts when an <md-icon> component does not\n\t * have a fontSet input value, and is not loading an icon by name or URL.\n\t */\n\t MdIconRegistry.prototype.getDefaultFontSetClass = function () {\n\t return this._defaultFontSetClass;\n\t };\n\t /**\n\t * Returns an Observable that produces the icon (as an <svg> DOM element) from the given URL.\n\t * The response from the URL may be cached so this will not always cause an HTTP request, but\n\t * the produced element will always be a new copy of the originally fetched icon. (That is,\n\t * it will not contain any modifications made to elements previously returned).\n\t *\n\t * @param safeUrl URL from which to fetch the SVG icon.\n\t */\n\t MdIconRegistry.prototype.getSvgIconFromUrl = function (safeUrl) {\n\t var _this = this;\n\t var url = this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, safeUrl);\n\t if (this._cachedIconsByUrl.has(url)) {\n\t return rxjs_Observable.Observable.of(cloneSvg(this._cachedIconsByUrl.get(url)));\n\t }\n\t return this._loadSvgIconFromConfig(new SvgIconConfig(url))\n\t .do(function (svg) { return _this._cachedIconsByUrl.set(url, svg); })\n\t .map(function (svg) { return cloneSvg(svg); });\n\t };\n\t /**\n\t * Returns an Observable that produces the icon (as an <svg> DOM element) with the given name\n\t * and namespace. The icon must have been previously registered with addIcon or addIconSet;\n\t * if not, the Observable will throw an MdIconNameNotFoundError.\n\t *\n\t * @param name Name of the icon to be retrieved.\n\t * @param namespace Namespace in which to look for the icon.\n\t */\n\t MdIconRegistry.prototype.getNamedSvgIcon = function (name, namespace) {\n\t if (namespace === void 0) { namespace = ''; }\n\t // Return (copy of) cached icon if possible.\n\t var key = iconKey(namespace, name);\n\t if (this._svgIconConfigs.has(key)) {\n\t return this._getSvgFromConfig(this._svgIconConfigs.get(key));\n\t }\n\t // See if we have any icon sets registered for the namespace.\n\t var iconSetConfigs = this._iconSetConfigs.get(namespace);\n\t if (iconSetConfigs) {\n\t return this._getSvgFromIconSetConfigs(name, iconSetConfigs);\n\t }\n\t return rxjs_Observable.Observable.throw(new MdIconNameNotFoundError(key));\n\t };\n\t /**\n\t * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.\n\t */\n\t MdIconRegistry.prototype._getSvgFromConfig = function (config) {\n\t if (config.svgElement) {\n\t // We already have the SVG element for this icon, return a copy.\n\t return rxjs_Observable.Observable.of(cloneSvg(config.svgElement));\n\t }\n\t else {\n\t // Fetch the icon from the config's URL, cache it, and return a copy.\n\t return this._loadSvgIconFromConfig(config)\n\t .do(function (svg) { return config.svgElement = svg; })\n\t .map(function (svg) { return cloneSvg(svg); });\n\t }\n\t };\n\t /**\n\t * Attempts to find an icon with the specified name in any of the SVG icon sets.\n\t * First searches the available cached icons for a nested element with a matching name, and\n\t * if found copies the element to a new <svg> element. If not found, fetches all icon sets\n\t * that have not been cached, and searches again after all fetches are completed.\n\t * The returned Observable produces the SVG element if possible, and throws\n\t * MdIconNameNotFoundError if no icon with the specified name can be found.\n\t */\n\t MdIconRegistry.prototype._getSvgFromIconSetConfigs = function (name, iconSetConfigs) {\n\t var _this = this;\n\t // For all the icon set SVG elements we've fetched, see if any contain an icon with the\n\t // requested name.\n\t var namedIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n\t if (namedIcon) {\n\t // We could cache namedIcon in _svgIconConfigs, but since we have to make a copy every\n\t // time anyway, there's probably not much advantage compared to just always extracting\n\t // it from the icon set.\n\t return rxjs_Observable.Observable.of(namedIcon);\n\t }\n\t // Not found in any cached icon sets. If there are icon sets with URLs that we haven't\n\t // fetched, fetch them now and look for iconName in the results.\n\t var iconSetFetchRequests = iconSetConfigs\n\t .filter(function (iconSetConfig) { return !iconSetConfig.svgElement; })\n\t .map(function (iconSetConfig) {\n\t return _this._loadSvgIconSetFromConfig(iconSetConfig)\n\t .catch(function (err, caught) {\n\t var url = _this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, iconSetConfig.url);\n\t // Swallow errors fetching individual URLs so the combined Observable won't\n\t // necessarily fail.\n\t console.log(\"Loading icon set URL: \" + url + \" failed: \" + err);\n\t return rxjs_Observable.Observable.of(null);\n\t })\n\t .do(function (svg) {\n\t // Cache SVG element.\n\t if (svg) {\n\t iconSetConfig.svgElement = svg;\n\t }\n\t });\n\t });\n\t // Fetch all the icon set URLs. When the requests complete, every IconSet should have a\n\t // cached SVG element (unless the request failed), and we can check again for the icon.\n\t return rxjs_Observable.Observable.forkJoin(iconSetFetchRequests)\n\t .map(function (ignoredResults) {\n\t var foundIcon = _this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n\t if (!foundIcon) {\n\t throw new MdIconNameNotFoundError(name);\n\t }\n\t return foundIcon;\n\t });\n\t };\n\t /**\n\t * Searches the cached SVG elements for the given icon sets for a nested icon element whose \"id\"\n\t * tag matches the specified name. If found, copies the nested element to a new SVG element and\n\t * returns it. Returns null if no matching element is found.\n\t */\n\t MdIconRegistry.prototype._extractIconWithNameFromAnySet = function (iconName, iconSetConfigs) {\n\t // Iterate backwards, so icon sets added later have precedence.\n\t for (var i = iconSetConfigs.length - 1; i >= 0; i--) {\n\t var config = iconSetConfigs[i];\n\t if (config.svgElement) {\n\t var foundIcon = this._extractSvgIconFromSet(config.svgElement, iconName);\n\t if (foundIcon) {\n\t return foundIcon;\n\t }\n\t }\n\t }\n\t return null;\n\t };\n\t /**\n\t * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element\n\t * from it.\n\t */\n\t MdIconRegistry.prototype._loadSvgIconFromConfig = function (config) {\n\t var _this = this;\n\t return this._fetchUrl(config.url)\n\t .map(function (svgText) { return _this._createSvgElementForSingleIcon(svgText); });\n\t };\n\t /**\n\t * Loads the content of the icon set URL specified in the SvgIconConfig and creates an SVG element\n\t * from it.\n\t */\n\t MdIconRegistry.prototype._loadSvgIconSetFromConfig = function (config) {\n\t var _this = this;\n\t // TODO: Document that icons should only be loaded from trusted sources.\n\t return this._fetchUrl(config.url)\n\t .map(function (svgText) { return _this._svgElementFromString(svgText); });\n\t };\n\t /**\n\t * Creates a DOM element from the given SVG string, and adds default attributes.\n\t */\n\t MdIconRegistry.prototype._createSvgElementForSingleIcon = function (responseText) {\n\t var svg = this._svgElementFromString(responseText);\n\t this._setSvgAttributes(svg);\n\t return svg;\n\t };\n\t /**\n\t * Searches the cached element of the given SvgIconConfig for a nested icon element whose \"id\"\n\t * tag matches the specified name. If found, copies the nested element to a new SVG element and\n\t * returns it. Returns null if no matching element is found.\n\t */\n\t MdIconRegistry.prototype._extractSvgIconFromSet = function (iconSet, iconName) {\n\t var iconNode = iconSet.querySelector('#' + iconName);\n\t if (!iconNode) {\n\t return null;\n\t }\n\t // If the icon node is itself an <svg> node, clone and return it directly. If not, set it as\n\t // the content of a new <svg> node.\n\t if (iconNode.tagName.toLowerCase() == 'svg') {\n\t return this._setSvgAttributes(iconNode.cloneNode(true));\n\t }\n\t // createElement('SVG') doesn't work as expected; the DOM ends up with\n\t // the correct nodes, but the SVG content doesn't render. Instead we\n\t // have to create an empty SVG node using innerHTML and append its content.\n\t // Elements created using DOMParser.parseFromString have the same problem.\n\t // http://stackoverflow.com/questions/23003278/svg-innerhtml-in-firefox-can-not-display\n\t var svg = this._svgElementFromString('<svg></svg>');\n\t // Clone the node so we don't remove it from the parent icon set element.\n\t svg.appendChild(iconNode.cloneNode(true));\n\t return this._setSvgAttributes(svg);\n\t };\n\t /**\n\t * Creates a DOM element from the given SVG string.\n\t */\n\t MdIconRegistry.prototype._svgElementFromString = function (str) {\n\t // TODO: Is there a better way than innerHTML? Renderer doesn't appear to have a method for\n\t // creating an element from an HTML string.\n\t var div = document.createElement('DIV');\n\t div.innerHTML = str;\n\t var svg = div.querySelector('svg');\n\t if (!svg) {\n\t throw new MdIconSvgTagNotFoundError();\n\t }\n\t return svg;\n\t };\n\t /**\n\t * Sets the default attributes for an SVG element to be used as an icon.\n\t */\n\t MdIconRegistry.prototype._setSvgAttributes = function (svg) {\n\t if (!svg.getAttribute('xmlns')) {\n\t svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n\t }\n\t svg.setAttribute('fit', '');\n\t svg.setAttribute('height', '100%');\n\t svg.setAttribute('width', '100%');\n\t svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');\n\t svg.setAttribute('focusable', 'false'); // Disable IE11 default behavior to make SVGs focusable.\n\t return svg;\n\t };\n\t /**\n\t * Returns an Observable which produces the string contents of the given URL. Results may be\n\t * cached, so future calls with the same URL may not cause another HTTP request.\n\t */\n\t MdIconRegistry.prototype._fetchUrl = function (safeUrl) {\n\t var _this = this;\n\t var url = this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, safeUrl);\n\t // Store in-progress fetches to avoid sending a duplicate request for a URL when there is\n\t // already a request in progress for that URL. It's necessary to call share() on the\n\t // Observable returned by http.get() so that multiple subscribers don't cause multiple XHRs.\n\t if (this._inProgressUrlFetches.has(url)) {\n\t return this._inProgressUrlFetches.get(url);\n\t }\n\t // TODO(jelbourn): for some reason, the `finally` operator \"loses\" the generic type on the\n\t // Observable. Figure out why and fix it.\n\t var req = this._http.get(url)\n\t .map(function (response) { return response.text(); })\n\t .finally(function () {\n\t _this._inProgressUrlFetches.delete(url);\n\t })\n\t .share();\n\t this._inProgressUrlFetches.set(url, req);\n\t return req;\n\t };\n\t MdIconRegistry = __decorate$47([\n\t _angular_core.Injectable(), \n\t __metadata$47('design:paramtypes', [_angular_http.Http, _angular_platformBrowser.DomSanitizer])\n\t ], MdIconRegistry);\n\t return MdIconRegistry;\n\t}());\n\t/** Clones an SVGElement while preserving type information. */\n\tfunction cloneSvg(svg) {\n\t return svg.cloneNode(true);\n\t}\n\t\n\tvar __extends$12 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$46 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$46 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Exception thrown when an invalid icon name is passed to an md-icon component. */\n\tvar MdIconInvalidNameError = (function (_super) {\n\t __extends$12(MdIconInvalidNameError, _super);\n\t function MdIconInvalidNameError(iconName) {\n\t _super.call(this, \"Invalid icon name: \\\"\" + iconName + \"\\\"\");\n\t }\n\t return MdIconInvalidNameError;\n\t}(MdError));\n\t/**\n\t * Component to display an icon. It can be used in the following ways:\n\t * - Specify the svgSrc input to load an SVG icon from a URL. The SVG content is directly inlined\n\t * as a child of the <md-icon> component, so that CSS styles can easily be applied to it.\n\t * The URL is loaded via an XMLHttpRequest, so it must be on the same domain as the page or its\n\t * server must be configured to allow cross-domain requests.\n\t * Example:\n\t * <md-icon svgSrc=\"assets/arrow.svg\"></md-icon>\n\t *\n\t * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n\t * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n\t * MdIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n\t * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n\t * Examples:\n\t * <md-icon svgIcon=\"left-arrow\"></md-icon>\n\t * <md-icon svgIcon=\"animals:cat\"></md-icon>\n\t *\n\t * - Use a font ligature as an icon by putting the ligature text in the content of the <md-icon>\n\t * component. By default the Material icons font is used as described at\n\t * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n\t * alternate font by setting the fontSet input to either the CSS class to apply to use the\n\t * desired font, or to an alias previously registered with MdIconRegistry.registerFontClassAlias.\n\t * Examples:\n\t * <md-icon>home</md-icon>\n\t * <md-icon fontSet=\"myfont\">sun</md-icon>\n\t *\n\t * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n\t * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n\t * CSS class which causes the glyph to be displayed via a :before selector, as in\n\t * https://fortawesome.github.io/Font-Awesome/examples/\n\t * Example:\n\t * <md-icon fontSet=\"fa\" fontIcon=\"alarm\"></md-icon>\n\t */\n\tvar MdIcon = (function () {\n\t function MdIcon(_elementRef, _renderer, _mdIconRegistry) {\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t this._mdIconRegistry = _mdIconRegistry;\n\t /** Screenreader label for the icon. */\n\t this.hostAriaLabel = '';\n\t }\n\t Object.defineProperty(MdIcon.prototype, \"color\", {\n\t /** Color of the icon. */\n\t get: function () { return this._color; },\n\t set: function (value) { this._updateColor(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdIcon.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t MdIcon.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t /**\n\t * Splits an svgIcon binding value into its icon set and icon name components.\n\t * Returns a 2-element array of [(icon set), (icon name)].\n\t * The separator for the two fields is ':'. If there is no separator, an empty\n\t * string is returned for the icon set and the entire value is returned for\n\t * the icon name. If the argument is falsy, returns an array of two empty strings.\n\t * Throws a MdIconInvalidNameError if the name contains two or more ':' separators.\n\t * Examples:\n\t * 'social:cake' -> ['social', 'cake']\n\t * 'penguin' -> ['', 'penguin']\n\t * null -> ['', '']\n\t * 'a:b:c' -> (throws MdIconInvalidNameError)\n\t */\n\t MdIcon.prototype._splitIconName = function (iconName) {\n\t if (!iconName) {\n\t return ['', ''];\n\t }\n\t var parts = iconName.split(':');\n\t switch (parts.length) {\n\t case 1:\n\t // Use default namespace.\n\t return ['', parts[0]];\n\t case 2:\n\t return parts;\n\t default:\n\t throw new MdIconInvalidNameError(iconName);\n\t }\n\t };\n\t MdIcon.prototype.ngOnChanges = function (changes) {\n\t var _this = this;\n\t var changedInputs = Object.keys(changes);\n\t // Only update the inline SVG icon if the inputs changed, to avoid unnecessary DOM operations.\n\t if (changedInputs.indexOf('svgIcon') != -1 || changedInputs.indexOf('svgSrc') != -1) {\n\t if (this.svgIcon) {\n\t var _a = this._splitIconName(this.svgIcon), namespace = _a[0], iconName = _a[1];\n\t this._mdIconRegistry.getNamedSvgIcon(iconName, namespace).first().subscribe(function (svg) { return _this._setSvgElement(svg); }, function (err) { return console.log(\"Error retrieving icon: \" + err); });\n\t }\n\t }\n\t if (this._usingFontIcon()) {\n\t this._updateFontIconClasses();\n\t }\n\t this._updateAriaLabel();\n\t };\n\t MdIcon.prototype.ngOnInit = function () {\n\t // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n\t // e.g. <md-icon>arrow</md-icon>. In this case we need to add a CSS class for the default font.\n\t if (this._usingFontIcon()) {\n\t this._updateFontIconClasses();\n\t }\n\t };\n\t MdIcon.prototype.ngAfterViewChecked = function () {\n\t // Update aria label here because it may depend on the projected text content.\n\t // (e.g. <md-icon>home</md-icon> should use 'home').\n\t this._updateAriaLabel();\n\t };\n\t MdIcon.prototype._updateAriaLabel = function () {\n\t var ariaLabel = this._getAriaLabel();\n\t if (ariaLabel && ariaLabel !== this._previousAriaLabel) {\n\t this._previousAriaLabel = ariaLabel;\n\t this._renderer.setElementAttribute(this._elementRef.nativeElement, 'aria-label', ariaLabel);\n\t }\n\t };\n\t MdIcon.prototype._getAriaLabel = function () {\n\t // If the parent provided an aria-label attribute value, use it as-is. Otherwise look for a\n\t // reasonable value from the alt attribute, font icon name, SVG icon name, or (for ligatures)\n\t // the text content of the directive.\n\t var label = this.hostAriaLabel ||\n\t this.alt ||\n\t this.fontIcon ||\n\t this._splitIconName(this.svgIcon)[1];\n\t if (label) {\n\t return label;\n\t }\n\t // The \"content\" of an SVG icon is not a useful label.\n\t if (this._usingFontIcon()) {\n\t var text = this._elementRef.nativeElement.textContent;\n\t if (text) {\n\t return text;\n\t }\n\t }\n\t // TODO: Warn here in dev mode.\n\t return null;\n\t };\n\t MdIcon.prototype._usingFontIcon = function () {\n\t return !this.svgIcon;\n\t };\n\t MdIcon.prototype._setSvgElement = function (svg) {\n\t var layoutElement = this._elementRef.nativeElement;\n\t // Remove existing child nodes and add the new SVG element.\n\t // We would use renderer.detachView(Array.from(layoutElement.childNodes)) here,\n\t // but it fails in IE11: https://github.com/angular/angular/issues/6327\n\t layoutElement.innerHTML = '';\n\t this._renderer.projectNodes(layoutElement, [svg]);\n\t };\n\t MdIcon.prototype._updateFontIconClasses = function () {\n\t if (!this._usingFontIcon()) {\n\t return;\n\t }\n\t var elem = this._elementRef.nativeElement;\n\t var fontSetClass = this.fontSet ?\n\t this._mdIconRegistry.classNameForFontAlias(this.fontSet) :\n\t this._mdIconRegistry.getDefaultFontSetClass();\n\t if (fontSetClass != this._previousFontSetClass) {\n\t if (this._previousFontSetClass) {\n\t this._renderer.setElementClass(elem, this._previousFontSetClass, false);\n\t }\n\t if (fontSetClass) {\n\t this._renderer.setElementClass(elem, fontSetClass, true);\n\t }\n\t this._previousFontSetClass = fontSetClass;\n\t }\n\t if (this.fontIcon != this._previousFontIconClass) {\n\t if (this._previousFontIconClass) {\n\t this._renderer.setElementClass(elem, this._previousFontIconClass, false);\n\t }\n\t if (this.fontIcon) {\n\t this._renderer.setElementClass(elem, this.fontIcon, true);\n\t }\n\t this._previousFontIconClass = this.fontIcon;\n\t }\n\t };\n\t __decorate$46([\n\t _angular_core.Input(), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"svgIcon\", void 0);\n\t __decorate$46([\n\t _angular_core.Input(), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"fontSet\", void 0);\n\t __decorate$46([\n\t _angular_core.Input(), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"fontIcon\", void 0);\n\t __decorate$46([\n\t _angular_core.Input(), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"alt\", void 0);\n\t __decorate$46([\n\t _angular_core.Input('aria-label'), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"hostAriaLabel\", void 0);\n\t __decorate$46([\n\t _angular_core.Input(), \n\t __metadata$46('design:type', String)\n\t ], MdIcon.prototype, \"color\", null);\n\t MdIcon = __decorate$46([\n\t _angular_core.Component({template: '<ng-content></ng-content>',\n\t selector: 'md-icon, mat-icon',\n\t styles: [\".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}\"],\n\t host: {\n\t 'role': 'img',\n\t '[class.mat-icon]': 'true',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t }), \n\t __metadata$46('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, MdIconRegistry])\n\t ], MdIcon);\n\t return MdIcon;\n\t}());\n\tfunction ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry, http, sanitizer) {\n\t return parentRegistry || new MdIconRegistry(http, sanitizer);\n\t}\n\t\n\tvar ICON_REGISTRY_PROVIDER = {\n\t // If there is already an MdIconRegistry available, use that. Otherwise, provide a new one.\n\t provide: MdIconRegistry,\n\t deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), MdIconRegistry], _angular_http.Http, _angular_platformBrowser.DomSanitizer],\n\t useFactory: ICON_REGISTRY_PROVIDER_FACTORY,\n\t};\n\tvar MdIconModule = (function () {\n\t function MdIconModule() {\n\t }\n\t /** @deprecated */\n\t MdIconModule.forRoot = function () {\n\t return {\n\t ngModule: MdIconModule,\n\t providers: [],\n\t };\n\t };\n\t MdIconModule = __decorate$46([\n\t _angular_core.NgModule({\n\t imports: [_angular_http.HttpModule, CompatibilityModule],\n\t exports: [MdIcon, CompatibilityModule],\n\t declarations: [MdIcon],\n\t providers: [ICON_REGISTRY_PROVIDER],\n\t }), \n\t __metadata$46('design:paramtypes', [])\n\t ], MdIconModule);\n\t return MdIconModule;\n\t}());\n\t\n\tvar __extends$14 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$48 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$48 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// TODO(josephperrott): Benchpress tests.\n\t/** A single degree in radians. */\n\tvar DEGREE_IN_RADIANS = Math.PI / 180;\n\t/** Duration of the indeterminate animation. */\n\tvar DURATION_INDETERMINATE = 667;\n\t/** Duration of the indeterminate animation. */\n\tvar DURATION_DETERMINATE = 225;\n\t/** Start animation value of the indeterminate animation */\n\tvar startIndeterminate = 3;\n\t/** End animation value of the indeterminate animation */\n\tvar endIndeterminate = 80;\n\t/* Maximum angle for the arc. The angle can't be exactly 360, because the arc becomes hidden. */\n\tvar MAX_ANGLE = 359.99 / 100;\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdProgressSpinnerCssMatStyler = (function () {\n\t function MdProgressSpinnerCssMatStyler() {\n\t }\n\t MdProgressSpinnerCssMatStyler = __decorate$48([\n\t _angular_core.Directive({\n\t selector: 'md-progress-spinner, mat-progress-spinner',\n\t host: {\n\t '[class.mat-progress-spinner]': 'true'\n\t }\n\t }), \n\t __metadata$48('design:paramtypes', [])\n\t ], MdProgressSpinnerCssMatStyler);\n\t return MdProgressSpinnerCssMatStyler;\n\t}());\n\t/**\n\t * Directive whose purpose is to add the mat- CSS styling to this selector.\n\t */\n\tvar MdProgressCircleCssMatStyler = (function () {\n\t function MdProgressCircleCssMatStyler() {\n\t }\n\t MdProgressCircleCssMatStyler = __decorate$48([\n\t _angular_core.Directive({\n\t selector: 'md-progress-circle, mat-progress-circle',\n\t host: {\n\t '[class.mat-progress-circle]': 'true'\n\t }\n\t }), \n\t __metadata$48('design:paramtypes', [])\n\t ], MdProgressCircleCssMatStyler);\n\t return MdProgressCircleCssMatStyler;\n\t}());\n\t/**\n\t * <md-progress-spinner> component.\n\t */\n\tvar MdProgressSpinner = (function () {\n\t function MdProgressSpinner(_ngZone, _elementRef, _renderer) {\n\t this._ngZone = _ngZone;\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t /** The id of the last requested animation. */\n\t this._lastAnimationId = 0;\n\t this._mode = 'determinate';\n\t this._color = 'primary';\n\t }\n\t Object.defineProperty(MdProgressSpinner.prototype, \"_ariaValueMin\", {\n\t /**\n\t * Values for aria max and min are only defined as numbers when in a determinate mode. We do this\n\t * because voiceover does not report the progress indicator as indeterminate if the aria min\n\t * and/or max value are number values.\n\t */\n\t get: function () {\n\t return this.mode == 'determinate' ? 0 : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdProgressSpinner.prototype, \"_ariaValueMax\", {\n\t get: function () {\n\t return this.mode == 'determinate' ? 100 : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdProgressSpinner.prototype, \"interdeterminateInterval\", {\n\t /** @docs-private */\n\t get: function () {\n\t return this._interdeterminateInterval;\n\t },\n\t /** @docs-private */\n\t set: function (interval) {\n\t clearInterval(this._interdeterminateInterval);\n\t this._interdeterminateInterval = interval;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Clean up any animations that were running.\n\t */\n\t MdProgressSpinner.prototype.ngOnDestroy = function () {\n\t this._cleanupIndeterminateAnimation();\n\t };\n\t Object.defineProperty(MdProgressSpinner.prototype, \"color\", {\n\t /** The color of the progress-spinner. Can be primary, accent, or warn. */\n\t get: function () { return this._color; },\n\t set: function (value) {\n\t this._updateColor(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdProgressSpinner.prototype, \"value\", {\n\t /** Value of the progress circle. It is bound to the host as the attribute aria-valuenow. */\n\t get: function () {\n\t if (this.mode == 'determinate') {\n\t return this._value;\n\t }\n\t },\n\t set: function (v) {\n\t if (v != null && this.mode == 'determinate') {\n\t var newValue = clamp(v);\n\t this._animateCircle((this.value || 0), newValue, linearEase, DURATION_DETERMINATE, 0);\n\t this._value = newValue;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdProgressSpinner.prototype, \"mode\", {\n\t /**\n\t * Mode of the progress circle\n\t *\n\t * Input must be one of the values from ProgressMode, defaults to 'determinate'.\n\t * mode is bound to the host as the attribute host.\n\t */\n\t get: function () {\n\t return this._mode;\n\t },\n\t set: function (m) {\n\t if (m == 'indeterminate') {\n\t this._startIndeterminateAnimation();\n\t }\n\t else {\n\t this._cleanupIndeterminateAnimation();\n\t }\n\t this._mode = m;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Animates the circle from one percentage value to another.\n\t *\n\t * @param animateFrom The percentage of the circle filled starting the animation.\n\t * @param animateTo The percentage of the circle filled ending the animation.\n\t * @param ease The easing function to manage the pace of change in the animation.\n\t * @param duration The length of time to show the animation, in milliseconds.\n\t * @param rotation The starting angle of the circle fill, with 0° represented at the top center\n\t * of the circle.\n\t */\n\t MdProgressSpinner.prototype._animateCircle = function (animateFrom, animateTo, ease, duration, rotation) {\n\t var _this = this;\n\t var id = ++this._lastAnimationId;\n\t var startTime = Date.now();\n\t var changeInValue = animateTo - animateFrom;\n\t // No need to animate it if the values are the same\n\t if (animateTo === animateFrom) {\n\t this._renderArc(animateTo, rotation);\n\t }\n\t else {\n\t var animation_1 = function () {\n\t var elapsedTime = Math.max(0, Math.min(Date.now() - startTime, duration));\n\t _this._renderArc(ease(elapsedTime, animateFrom, changeInValue, duration), rotation);\n\t // Prevent overlapping animations by checking if a new animation has been called for and\n\t // if the animation has lasted longer than the animation duration.\n\t if (id === _this._lastAnimationId && elapsedTime < duration) {\n\t requestAnimationFrame(animation_1);\n\t }\n\t };\n\t // Run the animation outside of Angular's zone, in order to avoid\n\t // hitting ZoneJS and change detection on each frame.\n\t this._ngZone.runOutsideAngular(animation_1);\n\t }\n\t };\n\t /**\n\t * Starts the indeterminate animation interval, if it is not already running.\n\t */\n\t MdProgressSpinner.prototype._startIndeterminateAnimation = function () {\n\t var _this = this;\n\t var rotationStartPoint = 0;\n\t var start = startIndeterminate;\n\t var end = endIndeterminate;\n\t var duration = DURATION_INDETERMINATE;\n\t var animate$$1 = function () {\n\t _this._animateCircle(start, end, materialEase, duration, rotationStartPoint);\n\t // Prevent rotation from reaching Number.MAX_SAFE_INTEGER.\n\t rotationStartPoint = (rotationStartPoint + end) % 100;\n\t var temp = start;\n\t start = -end;\n\t end = -temp;\n\t };\n\t if (!this.interdeterminateInterval) {\n\t this._ngZone.runOutsideAngular(function () {\n\t _this.interdeterminateInterval = setInterval(animate$$1, duration + 50, 0, false);\n\t animate$$1();\n\t });\n\t }\n\t };\n\t /**\n\t * Removes interval, ending the animation.\n\t */\n\t MdProgressSpinner.prototype._cleanupIndeterminateAnimation = function () {\n\t this.interdeterminateInterval = null;\n\t };\n\t /**\n\t * Renders the arc onto the SVG element. Proxies `getArc` while setting the proper\n\t * DOM attribute on the `<path>`.\n\t */\n\t MdProgressSpinner.prototype._renderArc = function (currentValue, rotation) {\n\t // Caches the path reference so it doesn't have to be looked up every time.\n\t var path = this._path = this._path || this._elementRef.nativeElement.querySelector('path');\n\t // Ensure that the path was found. This may not be the case if the\n\t // animation function fires too early.\n\t if (path) {\n\t path.setAttribute('d', getSvgArc(currentValue, rotation));\n\t }\n\t };\n\t /**\n\t * Updates the color of the progress-spinner by adding the new palette class to the element\n\t * and removing the old one.\n\t */\n\t MdProgressSpinner.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t /** Sets the given palette class on the component element. */\n\t MdProgressSpinner.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t __decorate$48([\n\t _angular_core.Input(), \n\t __metadata$48('design:type', String)\n\t ], MdProgressSpinner.prototype, \"color\", null);\n\t __decorate$48([\n\t _angular_core.Input(),\n\t _angular_core.HostBinding('attr.aria-valuenow'), \n\t __metadata$48('design:type', Object)\n\t ], MdProgressSpinner.prototype, \"value\", null);\n\t __decorate$48([\n\t _angular_core.HostBinding('attr.mode'),\n\t _angular_core.Input(), \n\t __metadata$48('design:type', Object)\n\t ], MdProgressSpinner.prototype, \"mode\", null);\n\t MdProgressSpinner = __decorate$48([\n\t _angular_core.Component({selector: 'md-progress-spinner, mat-progress-spinner, md-progress-circle, mat-progress-circle',\n\t host: {\n\t 'role': 'progressbar',\n\t '[attr.aria-valuemin]': '_ariaValueMin',\n\t '[attr.aria-valuemax]': '_ariaValueMax'\n\t },\n\t template: \"<svg viewBox=\\\"0 0 100 100\\\" preserveAspectRatio=\\\"xMidYMid meet\\\"><path></path></svg>\",\n\t styles: [\":host{display:block;height:100px;width:100px;overflow:hidden}:host svg{height:100%;width:100%;transform-origin:center}:host path{fill:transparent;stroke-width:10px}:host[mode=indeterminate] svg{animation-duration:5.25s,2.887s;animation-name:mat-progress-spinner-sporadic-rotate,mat-progress-spinner-linear-rotate;animation-timing-function:cubic-bezier(.35,0,.25,1),linear;animation-iteration-count:infinite;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-sporadic-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}\"],\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t }), \n\t __metadata$48('design:paramtypes', [_angular_core.NgZone, _angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdProgressSpinner);\n\t return MdProgressSpinner;\n\t}());\n\t/**\n\t * <md-spinner> component.\n\t *\n\t * This is a component definition to be used as a convenience reference to create an\n\t * indeterminate <md-progress-spinner> instance.\n\t */\n\tvar MdSpinner = (function (_super) {\n\t __extends$14(MdSpinner, _super);\n\t function MdSpinner(elementRef, ngZone, renderer) {\n\t _super.call(this, ngZone, elementRef, renderer);\n\t this.mode = 'indeterminate';\n\t }\n\t MdSpinner.prototype.ngOnDestroy = function () {\n\t // The `ngOnDestroy` from `MdProgressSpinner` should be called explicitly, because\n\t // in certain cases Angular won't call it (e.g. when using AoT and in unit tests).\n\t _super.prototype.ngOnDestroy.call(this);\n\t };\n\t MdSpinner = __decorate$48([\n\t _angular_core.Component({selector: 'md-spinner, mat-spinner',\n\t host: {\n\t 'role': 'progressbar',\n\t 'mode': 'indeterminate',\n\t '[class.mat-spinner]': 'true',\n\t },\n\t template: \"<svg viewBox=\\\"0 0 100 100\\\" preserveAspectRatio=\\\"xMidYMid meet\\\"><path></path></svg>\",\n\t styles: [\":host{display:block;height:100px;width:100px;overflow:hidden}:host svg{height:100%;width:100%;transform-origin:center}:host path{fill:transparent;stroke-width:10px}:host[mode=indeterminate] svg{animation-duration:5.25s,2.887s;animation-name:mat-progress-spinner-sporadic-rotate,mat-progress-spinner-linear-rotate;animation-timing-function:cubic-bezier(.35,0,.25,1),linear;animation-iteration-count:infinite;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-sporadic-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}\"],\n\t }), \n\t __metadata$48('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, _angular_core.Renderer])\n\t ], MdSpinner);\n\t return MdSpinner;\n\t}(MdProgressSpinner));\n\t/**\n\t * Module functions.\n\t */\n\t/** Clamps a value to be between 0 and 100. */\n\tfunction clamp(v) {\n\t return Math.max(0, Math.min(100, v));\n\t}\n\t/**\n\t * Converts Polar coordinates to Cartesian.\n\t */\n\tfunction polarToCartesian(radius, pathRadius, angleInDegrees) {\n\t var angleInRadians = (angleInDegrees - 90) * DEGREE_IN_RADIANS;\n\t return (radius + (pathRadius * Math.cos(angleInRadians))) +\n\t ',' + (radius + (pathRadius * Math.sin(angleInRadians)));\n\t}\n\t/**\n\t * Easing function for linear animation.\n\t */\n\tfunction linearEase(currentTime, startValue, changeInValue, duration) {\n\t return changeInValue * currentTime / duration + startValue;\n\t}\n\t/**\n\t * Easing function to match material design indeterminate animation.\n\t */\n\tfunction materialEase(currentTime, startValue, changeInValue, duration) {\n\t var time = currentTime / duration;\n\t var timeCubed = Math.pow(time, 3);\n\t var timeQuad = Math.pow(time, 4);\n\t var timeQuint = Math.pow(time, 5);\n\t return startValue + changeInValue * ((6 * timeQuint) + (-15 * timeQuad) + (10 * timeCubed));\n\t}\n\t/**\n\t * Determines the path value to define the arc. Converting percentage values to to polar\n\t * coordinates on the circle, and then to cartesian coordinates in the viewport.\n\t *\n\t * @param currentValue The current percentage value of the progress circle, the percentage of the\n\t * circle to fill.\n\t * @param rotation The starting point of the circle with 0 being the 0 degree point.\n\t * @return A string for an SVG path representing a circle filled from the starting point to the\n\t * percentage value provided.\n\t */\n\tfunction getSvgArc(currentValue, rotation) {\n\t var startPoint = rotation || 0;\n\t var radius = 50;\n\t var pathRadius = 40;\n\t var startAngle = startPoint * MAX_ANGLE;\n\t var endAngle = currentValue * MAX_ANGLE;\n\t var start = polarToCartesian(radius, pathRadius, startAngle);\n\t var end = polarToCartesian(radius, pathRadius, endAngle + startAngle);\n\t var arcSweep = endAngle < 0 ? 0 : 1;\n\t var largeArcFlag;\n\t if (endAngle < 0) {\n\t largeArcFlag = endAngle >= -180 ? 0 : 1;\n\t }\n\t else {\n\t largeArcFlag = endAngle <= 180 ? 0 : 1;\n\t }\n\t return \"M\" + start + \"A\" + pathRadius + \",\" + pathRadius + \" 0 \" + largeArcFlag + \",\" + arcSweep + \" \" + end;\n\t}\n\tvar MdProgressSpinnerModule = (function () {\n\t function MdProgressSpinnerModule() {\n\t }\n\t /** @deprecated */\n\t MdProgressSpinnerModule.forRoot = function () {\n\t return {\n\t ngModule: MdProgressSpinnerModule,\n\t providers: []\n\t };\n\t };\n\t MdProgressSpinnerModule = __decorate$48([\n\t _angular_core.NgModule({\n\t imports: [CompatibilityModule],\n\t exports: [\n\t MdProgressSpinner,\n\t MdSpinner,\n\t CompatibilityModule,\n\t MdProgressSpinnerCssMatStyler,\n\t MdProgressCircleCssMatStyler\n\t ],\n\t declarations: [\n\t MdProgressSpinner,\n\t MdSpinner,\n\t MdProgressSpinnerCssMatStyler,\n\t MdProgressCircleCssMatStyler\n\t ],\n\t }), \n\t __metadata$48('design:paramtypes', [])\n\t ], MdProgressSpinnerModule);\n\t return MdProgressSpinnerModule;\n\t}());\n\t\n\t/** @deprecated */\n\t\n\tvar __decorate$49 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$49 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// TODO(josephperrott): Benchpress tests.\n\t// TODO(josephperrott): Add ARIA attributes for progressbar \"for\".\n\t/**\n\t * <md-progress-bar> component.\n\t */\n\tvar MdProgressBar = (function () {\n\t function MdProgressBar() {\n\t /** Color of the progress bar. */\n\t this.color = 'primary';\n\t this._value = 0;\n\t this._bufferValue = 0;\n\t /**\n\t * Mode of the progress bar.\n\t *\n\t * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n\t * 'determinate'.\n\t * Mirrored to mode attribute.\n\t */\n\t this.mode = 'determinate';\n\t }\n\t Object.defineProperty(MdProgressBar.prototype, \"value\", {\n\t /** Value of the progressbar. Defaults to zero. Mirrored to aria-valuenow. */\n\t get: function () { return this._value; },\n\t set: function (v) { this._value = clamp$1(v || 0); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdProgressBar.prototype, \"bufferValue\", {\n\t /** Buffer value of the progress bar. Defaults to zero. */\n\t get: function () { return this._bufferValue; },\n\t set: function (v) { this._bufferValue = clamp$1(v || 0); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Gets the current transform value for the progress bar's primary indicator. */\n\t MdProgressBar.prototype._primaryTransform = function () {\n\t var scale = this.value / 100;\n\t return { transform: \"scaleX(\" + scale + \")\" };\n\t };\n\t /**\n\t * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n\t * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n\t */\n\t MdProgressBar.prototype._bufferTransform = function () {\n\t if (this.mode == 'buffer') {\n\t var scale = this.bufferValue / 100;\n\t return { transform: \"scaleX(\" + scale + \")\" };\n\t }\n\t };\n\t __decorate$49([\n\t _angular_core.Input(), \n\t __metadata$49('design:type', Object)\n\t ], MdProgressBar.prototype, \"color\", void 0);\n\t __decorate$49([\n\t _angular_core.Input(),\n\t _angular_core.HostBinding('attr.aria-valuenow'), \n\t __metadata$49('design:type', Object)\n\t ], MdProgressBar.prototype, \"value\", null);\n\t __decorate$49([\n\t _angular_core.Input(), \n\t __metadata$49('design:type', Object)\n\t ], MdProgressBar.prototype, \"bufferValue\", null);\n\t __decorate$49([\n\t _angular_core.Input(),\n\t _angular_core.HostBinding('attr.mode'), \n\t __metadata$49('design:type', Object)\n\t ], MdProgressBar.prototype, \"mode\", void 0);\n\t MdProgressBar = __decorate$49([\n\t _angular_core.Component({selector: 'md-progress-bar, mat-progress-bar',\n\t host: {\n\t 'role': 'progressbar',\n\t 'aria-valuemin': '0',\n\t 'aria-valuemax': '100',\n\t '[class.mat-primary]': 'color == \"primary\"',\n\t '[class.mat-accent]': 'color == \"accent\"',\n\t '[class.mat-warn]': 'color == \"warn\"',\n\t '[class.mat-progress-bar]': 'true',\n\t },\n\t template: \"<div class=\\\"mat-progress-bar-background mat-progress-bar-element\\\"></div><div class=\\\"mat-progress-bar-buffer mat-progress-bar-element\\\" [ngStyle]=\\\"_bufferTransform()\\\"></div><div class=\\\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\\\" [ngStyle]=\\\"_primaryTransform()\\\"></div><div class=\\\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\\\"></div>\",\n\t styles: [\":host{display:block;height:5px;overflow:hidden;position:relative;transform:translateZ(0);transition:opacity 250ms linear;width:100%}:host .mat-progress-bar-element,:host .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}:host .mat-progress-bar-background{background-repeat:repeat-x;background-size:10px 4px;display:none}:host .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}:host .mat-progress-bar-secondary{display:none}:host .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}:host .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}:host[mode=query]{transform:rotateZ(180deg)}:host[mode=query] .mat-progress-bar-fill,:host[mode=indeterminate] .mat-progress-bar-fill{transition:none}:host[mode=query] .mat-progress-bar-primary,:host[mode=indeterminate] .mat-progress-bar-primary{animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}:host[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after,:host[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after{animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}:host[mode=query] .mat-progress-bar-secondary,:host[mode=indeterminate] .mat-progress-bar-secondary{animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}:host[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after,:host[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}:host[mode=buffer] .mat-progress-bar-background{animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}:host-context([dir=rtl]){transform:rotateY(180deg)}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-10px)}}\"],\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t }), \n\t __metadata$49('design:paramtypes', [])\n\t ], MdProgressBar);\n\t return MdProgressBar;\n\t}());\n\t/** Clamps a value to be between two numbers, by default 0 and 100. */\n\tfunction clamp$1(v, min, max) {\n\t if (min === void 0) { min = 0; }\n\t if (max === void 0) { max = 100; }\n\t return Math.max(min, Math.min(max, v));\n\t}\n\tvar MdProgressBarModule = (function () {\n\t function MdProgressBarModule() {\n\t }\n\t /** @deprecated */\n\t MdProgressBarModule.forRoot = function () {\n\t return {\n\t ngModule: MdProgressBarModule,\n\t providers: []\n\t };\n\t };\n\t MdProgressBarModule = __decorate$49([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, CompatibilityModule],\n\t exports: [MdProgressBar, CompatibilityModule],\n\t declarations: [MdProgressBar],\n\t }), \n\t __metadata$49('design:paramtypes', [])\n\t ], MdProgressBarModule);\n\t return MdProgressBarModule;\n\t}());\n\t\n\tvar __extends$15 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/** @docs-private */\n\tvar MdInputContainerPlaceholderConflictError = (function (_super) {\n\t __extends$15(MdInputContainerPlaceholderConflictError, _super);\n\t function MdInputContainerPlaceholderConflictError() {\n\t _super.call(this, 'Placeholder attribute and child element were both specified.');\n\t }\n\t return MdInputContainerPlaceholderConflictError;\n\t}(MdError));\n\t/** @docs-private */\n\tvar MdInputContainerUnsupportedTypeError = (function (_super) {\n\t __extends$15(MdInputContainerUnsupportedTypeError, _super);\n\t function MdInputContainerUnsupportedTypeError(type) {\n\t _super.call(this, \"Input type \\\"\" + type + \"\\\" isn't supported by md-input-container.\");\n\t }\n\t return MdInputContainerUnsupportedTypeError;\n\t}(MdError));\n\t/** @docs-private */\n\tvar MdInputContainerDuplicatedHintError = (function (_super) {\n\t __extends$15(MdInputContainerDuplicatedHintError, _super);\n\t function MdInputContainerDuplicatedHintError(align) {\n\t _super.call(this, \"A hint was already declared for 'align=\\\"\" + align + \"\\\"'.\");\n\t }\n\t return MdInputContainerDuplicatedHintError;\n\t}(MdError));\n\t/** @docs-private */\n\tvar MdInputContainerMissingMdInputError = (function (_super) {\n\t __extends$15(MdInputContainerMissingMdInputError, _super);\n\t function MdInputContainerMissingMdInputError() {\n\t _super.call(this, 'md-input-container must contain an mdInput directive. Did you forget to add mdInput ' +\n\t 'to the native input or textarea element?');\n\t }\n\t return MdInputContainerMissingMdInputError;\n\t}(MdError));\n\t\n\tvar __decorate$51 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$51 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$10 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t// Invalid input type. Using one of these will throw an MdInputContainerUnsupportedTypeError.\n\tvar MD_INPUT_INVALID_TYPES = [\n\t 'button',\n\t 'checkbox',\n\t 'color',\n\t 'file',\n\t 'hidden',\n\t 'image',\n\t 'radio',\n\t 'range',\n\t 'reset',\n\t 'submit'\n\t];\n\tvar nextUniqueId$1 = 0;\n\t/**\n\t * The placeholder directive. The content can declare this to implement more\n\t * complex placeholders.\n\t */\n\tvar MdPlaceholder = (function () {\n\t function MdPlaceholder() {\n\t }\n\t MdPlaceholder = __decorate$51([\n\t _angular_core.Directive({\n\t selector: 'md-placeholder, mat-placeholder'\n\t }), \n\t __metadata$51('design:paramtypes', [])\n\t ], MdPlaceholder);\n\t return MdPlaceholder;\n\t}());\n\t/** The hint directive, used to tag content as hint labels (going under the input). */\n\tvar MdHint = (function () {\n\t function MdHint() {\n\t // Whether to align the hint label at the start or end of the line.\n\t this.align = 'start';\n\t // Unique ID for the hint. Used for the aria-describedby on the input.\n\t this.id = \"md-input-hint-\" + nextUniqueId$1++;\n\t }\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdHint.prototype, \"align\", void 0);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', String)\n\t ], MdHint.prototype, \"id\", void 0);\n\t MdHint = __decorate$51([\n\t _angular_core.Directive({\n\t selector: 'md-hint, mat-hint',\n\t host: {\n\t '[class.mat-hint]': 'true',\n\t '[class.mat-right]': 'align == \"end\"',\n\t '[attr.id]': 'id',\n\t }\n\t }), \n\t __metadata$51('design:paramtypes', [])\n\t ], MdHint);\n\t return MdHint;\n\t}());\n\t/** The input directive, used to mark the input that `MdInputContainer` is wrapping. */\n\tvar MdInputDirective = (function () {\n\t function MdInputDirective(_elementRef, _renderer, _ngControl) {\n\t this._elementRef = _elementRef;\n\t this._renderer = _renderer;\n\t this._ngControl = _ngControl;\n\t /** Variables used as cache for getters and setters. */\n\t this._type = 'text';\n\t this._placeholder = '';\n\t this._disabled = false;\n\t this._required = false;\n\t /** Whether the element is focused or not. */\n\t this.focused = false;\n\t /**\n\t * Emits an event when the placeholder changes so that the `md-input-container` can re-validate.\n\t */\n\t this._placeholderChange = new _angular_core.EventEmitter();\n\t this._neverEmptyInputTypes = [\n\t 'date',\n\t 'datetime',\n\t 'datetime-local',\n\t 'month',\n\t 'time',\n\t 'week'\n\t ].filter(function (t) { return getSupportedInputTypes().has(t); });\n\t // Force setter to be called in case id was not specified.\n\t this.id = this.id;\n\t }\n\t Object.defineProperty(MdInputDirective.prototype, \"disabled\", {\n\t /** Whether the element is disabled. */\n\t get: function () {\n\t return this._ngControl ? this._ngControl.disabled : this._disabled;\n\t },\n\t set: function (value) {\n\t this._disabled = coerceBooleanProperty(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"id\", {\n\t /** Unique id of the element. */\n\t get: function () { return this._id; },\n\t set: function (value) { this._id = value || this._uid; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(MdInputDirective.prototype, \"placeholder\", {\n\t /** Placeholder attribute of the element. */\n\t get: function () { return this._placeholder; },\n\t set: function (value) {\n\t if (this._placeholder !== value) {\n\t this._placeholder = value;\n\t this._placeholderChange.emit(this._placeholder);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"required\", {\n\t /** Whether the element is required. */\n\t get: function () { return this._required; },\n\t set: function (value) { this._required = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"type\", {\n\t /** Input type of the element. */\n\t get: function () { return this._type; },\n\t set: function (value) {\n\t this._type = value || 'text';\n\t this._validateType();\n\t // When using Angular inputs, developers are no longer able to set the properties on the native\n\t // input element. To ensure that bindings for `type` work, we need to sync the setter\n\t // with the native property. Textarea elements don't support the type property or attribute.\n\t if (!this._isTextarea() && getSupportedInputTypes().has(this._type)) {\n\t this._renderer.setElementProperty(this._elementRef.nativeElement, 'type', this._type);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"value\", {\n\t /** The input element's value. */\n\t get: function () { return this._elementRef.nativeElement.value; },\n\t set: function (value) { this._elementRef.nativeElement.value = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"empty\", {\n\t get: function () {\n\t return !this._isNeverEmpty() &&\n\t (this.value == null || this.value === '') &&\n\t // Check if the input contains bad input. If so, we know that it only appears empty because\n\t // the value failed to parse. From the user's perspective it is not empty.\n\t // TODO(mmalerba): Add e2e test for bad input case.\n\t !this._isBadInput();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputDirective.prototype, \"_uid\", {\n\t get: function () { return this._cachedUid = this._cachedUid || \"md-input-\" + nextUniqueId$1++; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Focuses the input element. */\n\t MdInputDirective.prototype.focus = function () { this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus'); };\n\t MdInputDirective.prototype._onFocus = function () { this.focused = true; };\n\t MdInputDirective.prototype._onBlur = function () { this.focused = false; };\n\t MdInputDirective.prototype._onInput = function () {\n\t // This is a noop function and is used to let Angular know whenever the value changes.\n\t // Angular will run a new change detection each time the `input` event has been dispatched.\n\t // It's necessary that Angular recognizes the value change, because when floatingLabel\n\t // is set to false and Angular forms aren't used, the placeholder won't recognize the\n\t // value changes and will not disappear.\n\t // Listening to the input event wouldn't be necessary when the input is using the\n\t // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n\t };\n\t /** Make sure the input is a supported type. */\n\t MdInputDirective.prototype._validateType = function () {\n\t if (MD_INPUT_INVALID_TYPES.indexOf(this._type) !== -1) {\n\t throw new MdInputContainerUnsupportedTypeError(this._type);\n\t }\n\t };\n\t MdInputDirective.prototype._isNeverEmpty = function () { return this._neverEmptyInputTypes.indexOf(this._type) !== -1; };\n\t MdInputDirective.prototype._isBadInput = function () {\n\t return this._elementRef.nativeElement.validity.badInput;\n\t };\n\t /** Determines if the component host is a textarea. If not recognizable it returns false. */\n\t MdInputDirective.prototype._isTextarea = function () {\n\t var nativeElement = this._elementRef.nativeElement;\n\t return nativeElement ? nativeElement.nodeName.toLowerCase() === 'textarea' : false;\n\t };\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"disabled\", null);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"id\", null);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"placeholder\", null);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"required\", null);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"type\", null);\n\t __decorate$51([\n\t _angular_core.Output(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputDirective.prototype, \"_placeholderChange\", void 0);\n\t MdInputDirective = __decorate$51([\n\t _angular_core.Directive({\n\t selector: \"input[mdInput], textarea[mdInput], input[matInput], textarea[matInput]\",\n\t host: {\n\t '[class.mat-input-element]': 'true',\n\t // Native input properties that are overwritten by Angular inputs need to be synced with\n\t // the native input element. Otherwise property bindings for those don't work.\n\t '[id]': 'id',\n\t '[placeholder]': 'placeholder',\n\t '[disabled]': 'disabled',\n\t '[required]': 'required',\n\t '[attr.aria-describedby]': 'ariaDescribedby',\n\t '(blur)': '_onBlur()',\n\t '(focus)': '_onFocus()',\n\t '(input)': '_onInput()',\n\t }\n\t }),\n\t __param$10(2, _angular_core.Optional()), \n\t __metadata$51('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, _angular_forms.NgControl])\n\t ], MdInputDirective);\n\t return MdInputDirective;\n\t}());\n\t/**\n\t * Component that represents a text input. It encapsulates the <input> HTMLElement and\n\t * improve on its behaviour, along with styling it according to the Material Design.\n\t */\n\tvar MdInputContainer = (function () {\n\t function MdInputContainer() {\n\t /** Alignment of the input container's content. */\n\t this.align = 'start';\n\t /** Color of the input divider, based on the theme. */\n\t this.dividerColor = 'primary';\n\t this._hintLabel = '';\n\t // Unique id for the hint label.\n\t this._hintLabelId = \"md-input-hint-\" + nextUniqueId$1++;\n\t this._floatPlaceholder = 'auto';\n\t }\n\t Object.defineProperty(MdInputContainer.prototype, \"_shouldAlwaysFloat\", {\n\t /** Whether the floating label should always float or not. */\n\t get: function () { return this._floatPlaceholder === 'always'; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t \n\t Object.defineProperty(MdInputContainer.prototype, \"_canPlaceholderFloat\", {\n\t /** Whether the placeholder can float or not. */\n\t get: function () { return this._floatPlaceholder !== 'never'; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputContainer.prototype, \"hintLabel\", {\n\t /** Text for the input hint. */\n\t get: function () { return this._hintLabel; },\n\t set: function (value) {\n\t this._hintLabel = value;\n\t this._processHints();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdInputContainer.prototype, \"floatPlaceholder\", {\n\t /** Whether the placeholder should always float, never float or float as the user types. */\n\t get: function () { return this._floatPlaceholder; },\n\t set: function (value) {\n\t this._floatPlaceholder = value || 'auto';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdInputContainer.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t if (!this._mdInputChild) {\n\t throw new MdInputContainerMissingMdInputError();\n\t }\n\t this._processHints();\n\t this._validatePlaceholders();\n\t // Re-validate when things change.\n\t this._hintChildren.changes.subscribe(function () { return _this._processHints(); });\n\t this._mdInputChild._placeholderChange.subscribe(function () { return _this._validatePlaceholders(); });\n\t };\n\t /** Determines whether a class from the NgControl should be forwarded to the host element. */\n\t MdInputContainer.prototype._shouldForward = function (prop) {\n\t var control = this._mdInputChild ? this._mdInputChild._ngControl : null;\n\t return control && control[prop];\n\t };\n\t /** Whether the input has a placeholder. */\n\t MdInputContainer.prototype._hasPlaceholder = function () { return !!(this._mdInputChild.placeholder || this._placeholderChild); };\n\t /** Focuses the underlying input. */\n\t MdInputContainer.prototype._focusInput = function () { this._mdInputChild.focus(); };\n\t /**\n\t * Ensure that there is only one placeholder (either `input` attribute or child element with the\n\t * `md-placeholder` attribute.\n\t */\n\t MdInputContainer.prototype._validatePlaceholders = function () {\n\t if (this._mdInputChild.placeholder && this._placeholderChild) {\n\t throw new MdInputContainerPlaceholderConflictError();\n\t }\n\t };\n\t /**\n\t * Does any extra processing that is required when handling the hints.\n\t */\n\t MdInputContainer.prototype._processHints = function () {\n\t this._validateHints();\n\t this._syncAriaDescribedby();\n\t };\n\t /**\n\t * Ensure that there is a maximum of one of each `<md-hint>` alignment specified, with the\n\t * attribute being considered as `align=\"start\"`.\n\t */\n\t MdInputContainer.prototype._validateHints = function () {\n\t var _this = this;\n\t if (this._hintChildren) {\n\t var startHint_1 = null;\n\t var endHint_1 = null;\n\t this._hintChildren.forEach(function (hint) {\n\t if (hint.align == 'start') {\n\t if (startHint_1 || _this.hintLabel) {\n\t throw new MdInputContainerDuplicatedHintError('start');\n\t }\n\t startHint_1 = hint;\n\t }\n\t else if (hint.align == 'end') {\n\t if (endHint_1) {\n\t throw new MdInputContainerDuplicatedHintError('end');\n\t }\n\t endHint_1 = hint;\n\t }\n\t });\n\t }\n\t };\n\t /**\n\t * Sets the child input's `aria-describedby` to a space-separated list of the ids\n\t * of the currently-specified hints, as well as a generated id for the hint label.\n\t */\n\t MdInputContainer.prototype._syncAriaDescribedby = function () {\n\t var ids = [];\n\t var startHint = this._hintChildren ?\n\t this._hintChildren.find(function (hint) { return hint.align === 'start'; }) : null;\n\t var endHint = this._hintChildren ?\n\t this._hintChildren.find(function (hint) { return hint.align === 'end'; }) : null;\n\t if (startHint) {\n\t ids.push(startHint.id);\n\t }\n\t else if (this._hintLabel) {\n\t ids.push(this._hintLabelId);\n\t }\n\t if (endHint) {\n\t ids.push(endHint.id);\n\t }\n\t this._mdInputChild.ariaDescribedby = ids.join(' ');\n\t };\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputContainer.prototype, \"align\", void 0);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputContainer.prototype, \"dividerColor\", void 0);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputContainer.prototype, \"hintLabel\", null);\n\t __decorate$51([\n\t _angular_core.Input(), \n\t __metadata$51('design:type', Object)\n\t ], MdInputContainer.prototype, \"floatPlaceholder\", null);\n\t __decorate$51([\n\t _angular_core.ContentChild(MdInputDirective), \n\t __metadata$51('design:type', MdInputDirective)\n\t ], MdInputContainer.prototype, \"_mdInputChild\", void 0);\n\t __decorate$51([\n\t _angular_core.ContentChild(MdPlaceholder), \n\t __metadata$51('design:type', MdPlaceholder)\n\t ], MdInputContainer.prototype, \"_placeholderChild\", void 0);\n\t __decorate$51([\n\t _angular_core.ContentChildren(MdHint), \n\t __metadata$51('design:type', _angular_core.QueryList)\n\t ], MdInputContainer.prototype, \"_hintChildren\", void 0);\n\t MdInputContainer = __decorate$51([\n\t _angular_core.Component({selector: 'md-input-container, mat-input-container',\n\t template: \"<div class=\\\"mat-input-wrapper\\\"><div class=\\\"mat-input-table\\\"><div class=\\\"mat-input-prefix\\\"><ng-content select=\\\"[mdPrefix], [matPrefix], [md-prefix]\\\"></ng-content></div><div class=\\\"mat-input-infix\\\" [class.mat-end]=\\\"align == 'end'\\\"><ng-content selector=\\\"input, textarea\\\"></ng-content><span class=\\\"mat-input-placeholder-wrapper\\\"><label class=\\\"mat-input-placeholder\\\" [attr.for]=\\\"_mdInputChild.id\\\" [class.mat-empty]=\\\"_mdInputChild.empty && !_shouldAlwaysFloat\\\" [class.mat-focused]=\\\"_mdInputChild.focused\\\" [class.mat-float]=\\\"_canPlaceholderFloat\\\" [class.mat-accent]=\\\"dividerColor == 'accent'\\\" [class.mat-warn]=\\\"dividerColor == 'warn'\\\" *ngIf=\\\"_hasPlaceholder()\\\"><ng-content select=\\\"md-placeholder, mat-placeholder\\\"></ng-content>{{_mdInputChild.placeholder}} <span class=\\\"mat-placeholder-required\\\" *ngIf=\\\"_mdInputChild.required\\\">*</span></label></span></div><div class=\\\"mat-input-suffix\\\"><ng-content select=\\\"[mdSuffix], [matSuffix], [md-suffix]\\\"></ng-content></div></div><div class=\\\"mat-input-underline\\\" [class.mat-disabled]=\\\"_mdInputChild.disabled\\\"><span class=\\\"mat-input-ripple\\\" [class.mat-focused]=\\\"_mdInputChild.focused\\\" [class.mat-accent]=\\\"dividerColor == 'accent'\\\" [class.mat-warn]=\\\"dividerColor == 'warn'\\\"></span></div><div *ngIf=\\\"hintLabel != ''\\\" [attr.id]=\\\"_hintLabelId\\\" class=\\\"mat-hint\\\">{{hintLabel}}</div><ng-content select=\\\"md-hint, mat-hint\\\"></ng-content></div>\",\n\t styles: [\".mat-input-container{display:inline-block;position:relative;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;line-height:normal;text-align:left}.mat-end .mat-input-element,[dir=rtl] .mat-input-container{text-align:right}.mat-input-wrapper{margin:1em 0;padding-bottom:6px}.mat-input-table{display:inline-table;flex-flow:column;vertical-align:bottom;width:100%}.mat-input-table>*{display:table-cell}.mat-input-infix{position:relative}.mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;width:100%}.mat-input-placeholder,.mat-input-placeholder-wrapper{padding-top:1em;pointer-events:none;position:absolute}[dir=rtl] .mat-end .mat-input-element{text-align:left}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element:-webkit-autofill+.mat-input-placeholder.mat-float{display:block;transform:translateY(-1.35em) scale(.75);width:133.33333%}.mat-input-element::placeholder{color:transparent}.mat-input-element::-moz-placeholder{color:transparent}.mat-input-element::-webkit-input-placeholder{color:transparent}.mat-input-element:-ms-input-placeholder{color:transparent}.mat-input-placeholder{left:0;top:0;font-size:100%;z-index:1;width:100%;display:none;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;transform:translateY(0);transform-origin:bottom left;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1)}.mat-input-placeholder.mat-empty{display:block;cursor:text}.mat-input-placeholder.mat-float.mat-focused,.mat-input-placeholder.mat-float:not(.mat-empty){display:block;transform:translateY(-1.35em) scale(.75);width:133.33333%}[dir=rtl] .mat-input-placeholder{transform-origin:bottom right;left:auto;right:0}.mat-input-placeholder-wrapper{left:0;top:-1em;width:100%;overflow:hidden}.mat-input-placeholder-wrapper::after{content:'';display:inline-table}.mat-input-underline{position:absolute;height:1px;width:100%;margin-top:4px;border-top-width:1px;border-top-style:solid}.mat-input-underline.mat-disabled{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;border-top:0;background-position:0}.mat-input-underline .mat-input-ripple{position:absolute;height:2px;z-index:1;top:-1px;width:100%;transform-origin:top;opacity:0;transform:scaleY(0);transition:transform .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-input-underline .mat-input-ripple.mat-focused{opacity:1;transform:scaleY(1)}.mat-hint{display:block;position:absolute;font-size:75%;bottom:0}.mat-hint.mat-right{right:0}[dir=rtl] .mat-hint{right:0;left:auto}[dir=rtl] .mat-hint.mat-right{right:auto;left:0}.mat-input-prefix,.mat-input-suffix{width:.1px;white-space:nowrap}\"],\n\t host: {\n\t '[class.mat-input-container]': 'true',\n\t // Remove align attribute to prevent it from interfering with layout.\n\t '[attr.align]': 'null',\n\t '[class.ng-untouched]': '_shouldForward(\"untouched\")',\n\t '[class.ng-touched]': '_shouldForward(\"touched\")',\n\t '[class.ng-pristine]': '_shouldForward(\"pristine\")',\n\t '[class.ng-dirty]': '_shouldForward(\"dirty\")',\n\t '[class.ng-valid]': '_shouldForward(\"valid\")',\n\t '[class.ng-invalid]': '_shouldForward(\"invalid\")',\n\t '[class.ng-pending]': '_shouldForward(\"pending\")',\n\t '(click)': '_focusInput()',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$51('design:paramtypes', [])\n\t ], MdInputContainer);\n\t return MdInputContainer;\n\t}());\n\t\n\tvar __decorate$52 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$52 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Directive to automatically resize a textarea to fit its content.\n\t */\n\tvar MdTextareaAutosize = (function () {\n\t function MdTextareaAutosize(_elementRef) {\n\t this._elementRef = _elementRef;\n\t }\n\t Object.defineProperty(MdTextareaAutosize.prototype, \"mdAutosizeMinRows\", {\n\t get: function () {\n\t return this.minRows;\n\t },\n\t set: function (value) {\n\t this.minRows = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTextareaAutosize.prototype, \"mdAutosizeMaxRows\", {\n\t get: function () {\n\t return this.maxRows;\n\t },\n\t set: function (value) {\n\t this.maxRows = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTextareaAutosize.prototype, \"_minHeight\", {\n\t /** The minimum height of the textarea as determined by minRows. */\n\t get: function () {\n\t return this.minRows ? this.minRows * this._cachedLineHeight + \"px\" : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTextareaAutosize.prototype, \"_maxHeight\", {\n\t /** The maximum height of the textarea as determined by maxRows. */\n\t get: function () {\n\t return this.maxRows ? this.maxRows * this._cachedLineHeight + \"px\" : null;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdTextareaAutosize.prototype.ngOnInit = function () {\n\t this._cacheTextareaLineHeight();\n\t this.resizeToFitContent();\n\t };\n\t /**\n\t * Cache the height of a single-row textarea.\n\t *\n\t * We need to know how large a single \"row\" of a textarea is in order to apply minRows and\n\t * maxRows. For the initial version, we will assume that the height of a single line in the\n\t * textarea does not ever change.\n\t */\n\t MdTextareaAutosize.prototype._cacheTextareaLineHeight = function () {\n\t var textarea = this._elementRef.nativeElement;\n\t // Use a clone element because we have to override some styles.\n\t var textareaClone = textarea.cloneNode(false);\n\t textareaClone.rows = 1;\n\t // Use `position: absolute` so that this doesn't cause a browser layout and use\n\t // `visibility: hidden` so that nothing is rendered. Clear any other styles that\n\t // would affect the height.\n\t textareaClone.style.position = 'absolute';\n\t textareaClone.style.visibility = 'hidden';\n\t textareaClone.style.border = 'none';\n\t textareaClone.style.padding = '';\n\t textareaClone.style.height = '';\n\t textareaClone.style.minHeight = '';\n\t textareaClone.style.maxHeight = '';\n\t textarea.parentNode.appendChild(textareaClone);\n\t this._cachedLineHeight = textareaClone.offsetHeight;\n\t textarea.parentNode.removeChild(textareaClone);\n\t };\n\t /** Resize the textarea to fit its content. */\n\t MdTextareaAutosize.prototype.resizeToFitContent = function () {\n\t var textarea = this._elementRef.nativeElement;\n\t // Reset the textarea height to auto in order to shrink back to its default size.\n\t textarea.style.height = 'auto';\n\t // Use the scrollHeight to know how large the textarea *would* be if fit its entire value.\n\t textarea.style.height = textarea.scrollHeight + \"px\";\n\t };\n\t __decorate$52([\n\t _angular_core.Input(), \n\t __metadata$52('design:type', Number)\n\t ], MdTextareaAutosize.prototype, \"minRows\", void 0);\n\t __decorate$52([\n\t _angular_core.Input(), \n\t __metadata$52('design:type', Number)\n\t ], MdTextareaAutosize.prototype, \"mdAutosizeMinRows\", null);\n\t __decorate$52([\n\t _angular_core.Input(), \n\t __metadata$52('design:type', Number)\n\t ], MdTextareaAutosize.prototype, \"maxRows\", void 0);\n\t __decorate$52([\n\t _angular_core.Input(), \n\t __metadata$52('design:type', Number)\n\t ], MdTextareaAutosize.prototype, \"mdAutosizeMaxRows\", null);\n\t MdTextareaAutosize = __decorate$52([\n\t _angular_core.Directive({\n\t selector: 'textarea[md-autosize], textarea[mdTextareaAutosize],' +\n\t 'textarea[mat-autosize], textarea[matTextareaAutosize]',\n\t exportAs: 'mdTextareaAutosize',\n\t host: {\n\t '(input)': 'resizeToFitContent()',\n\t '[style.min-height]': '_minHeight',\n\t '[style.max-height]': '_maxHeight',\n\t },\n\t }), \n\t __metadata$52('design:paramtypes', [_angular_core.ElementRef])\n\t ], MdTextareaAutosize);\n\t return MdTextareaAutosize;\n\t}());\n\t\n\tvar __decorate$50 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$50 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdInputModule = (function () {\n\t function MdInputModule() {\n\t }\n\t /** @deprecated */\n\t MdInputModule.forRoot = function () {\n\t return {\n\t ngModule: MdInputModule,\n\t providers: [],\n\t };\n\t };\n\t MdInputModule = __decorate$50([\n\t _angular_core.NgModule({\n\t declarations: [\n\t MdPlaceholder,\n\t MdInputContainer,\n\t MdHint,\n\t MdTextareaAutosize,\n\t MdInputDirective\n\t ],\n\t imports: [\n\t _angular_common.CommonModule,\n\t _angular_forms.FormsModule,\n\t PlatformModule,\n\t ],\n\t exports: [\n\t MdPlaceholder,\n\t MdInputContainer,\n\t MdHint,\n\t MdTextareaAutosize,\n\t MdInputDirective\n\t ],\n\t }), \n\t __metadata$50('design:paramtypes', [])\n\t ], MdInputModule);\n\t return MdInputModule;\n\t}());\n\t\n\t/**\n\t * Configuration used when opening a snack-bar.\n\t */\n\tvar MdSnackBarConfig = (function () {\n\t function MdSnackBarConfig() {\n\t /** The politeness level for the MdAriaLiveAnnouncer announcement. */\n\t this.politeness = 'assertive';\n\t /** Message to be announced by the MdAriaLiveAnnouncer */\n\t this.announcementMessage = '';\n\t /** The view container to place the overlay for the snack bar into. */\n\t this.viewContainerRef = null;\n\t /** The length of time in milliseconds to wait before automatically dismissing the snack bar. */\n\t this.duration = 0;\n\t }\n\t return MdSnackBarConfig;\n\t}());\n\t\n\t// TODO(josephperrott): Implement onAction observable.\n\t/**\n\t * Reference to a snack bar dispatched from the snack bar service.\n\t */\n\tvar MdSnackBarRef = (function () {\n\t function MdSnackBarRef(instance, containerInstance, _overlayRef) {\n\t var _this = this;\n\t this._overlayRef = _overlayRef;\n\t /** Subject for notifying the user that the snack bar has closed. */\n\t this._afterClosed = new rxjs_Subject.Subject();\n\t /** Subject for notifying the user that the snack bar action was called. */\n\t this._onAction = new rxjs_Subject.Subject();\n\t // Sets the readonly instance of the snack bar content component.\n\t this._instance = instance;\n\t this.containerInstance = containerInstance;\n\t // Dismiss snackbar on action.\n\t this.onAction().subscribe(function () { return _this.dismiss(); });\n\t containerInstance._onExit().subscribe(function () { return _this._finishDismiss(); });\n\t }\n\t Object.defineProperty(MdSnackBarRef.prototype, \"instance\", {\n\t /** The instance of the component making up the content of the snack bar. */\n\t get: function () {\n\t return this._instance;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Dismisses the snack bar. */\n\t MdSnackBarRef.prototype.dismiss = function () {\n\t if (!this._afterClosed.closed) {\n\t this.containerInstance.exit();\n\t }\n\t };\n\t /** Marks the snackbar action clicked. */\n\t MdSnackBarRef.prototype._action = function () {\n\t if (!this._onAction.closed) {\n\t this._onAction.next();\n\t this._onAction.complete();\n\t }\n\t };\n\t /** Marks the snackbar as opened */\n\t MdSnackBarRef.prototype._open = function () {\n\t if (!this._afterOpened.closed) {\n\t this._afterOpened.next();\n\t this._afterOpened.complete();\n\t }\n\t };\n\t /** Cleans up the DOM after closing. */\n\t MdSnackBarRef.prototype._finishDismiss = function () {\n\t this._overlayRef.dispose();\n\t this._afterClosed.next();\n\t this._afterClosed.complete();\n\t };\n\t /** Gets an observable that is notified when the snack bar is finished closing. */\n\t MdSnackBarRef.prototype.afterDismissed = function () {\n\t return this._afterClosed.asObservable();\n\t };\n\t /** Gets an observable that is notified when the snack bar has opened and appeared. */\n\t MdSnackBarRef.prototype.afterOpened = function () {\n\t return this.containerInstance._onEnter();\n\t };\n\t /** Gets an observable that is notified when the snack bar action is called. */\n\t MdSnackBarRef.prototype.onAction = function () {\n\t return this._onAction.asObservable();\n\t };\n\t return MdSnackBarRef;\n\t}());\n\t\n\tvar __extends$17 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Error that is thrown when attempting to attach a snack bar that is already attached.\n\t * @docs-private\n\t */\n\tvar MdSnackBarContentAlreadyAttached = (function (_super) {\n\t __extends$17(MdSnackBarContentAlreadyAttached, _super);\n\t function MdSnackBarContentAlreadyAttached() {\n\t _super.call(this, 'Attempting to attach snack bar content after content is already attached');\n\t }\n\t return MdSnackBarContentAlreadyAttached;\n\t}(MdError));\n\t\n\tvar __extends$16 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$55 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$55 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t// TODO(jelbourn): we can't use constants from animation.ts here because you can't use\n\t// a text interpolation in anything that is analyzed statically with ngc (for AoT compile).\n\tvar SHOW_ANIMATION = '225ms cubic-bezier(0.4,0.0,1,1)';\n\tvar HIDE_ANIMATION = '195ms cubic-bezier(0.0,0.0,0.2,1)';\n\t/**\n\t * Internal component that wraps user-provided snack bar content.\n\t * @docs-private\n\t */\n\tvar MdSnackBarContainer = (function (_super) {\n\t __extends$16(MdSnackBarContainer, _super);\n\t function MdSnackBarContainer(_ngZone, _renderer, _elementRef) {\n\t _super.call(this);\n\t this._ngZone = _ngZone;\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t /** Subject for notifying that the snack bar has exited from view. */\n\t this.onExit = new rxjs_Subject.Subject();\n\t /** Subject for notifying that the snack bar has finished entering the view. */\n\t this.onEnter = new rxjs_Subject.Subject();\n\t /** The state of the snack bar animations. */\n\t this.animationState = 'initial';\n\t }\n\t /** Attach a component portal as content to this snack bar container. */\n\t MdSnackBarContainer.prototype.attachComponentPortal = function (portal) {\n\t if (this._portalHost.hasAttached()) {\n\t throw new MdSnackBarContentAlreadyAttached();\n\t }\n\t if (this.snackBarConfig.extraClasses) {\n\t // Not the most efficient way of adding classes, but the renderer doesn't allow us\n\t // to pass in an array or a space-separated list.\n\t for (var _i = 0, _a = this.snackBarConfig.extraClasses; _i < _a.length; _i++) {\n\t var cssClass = _a[_i];\n\t this._renderer.setElementClass(this._elementRef.nativeElement, cssClass, true);\n\t }\n\t }\n\t return this._portalHost.attachComponentPortal(portal);\n\t };\n\t /** Attach a template portal as content to this snack bar container. */\n\t MdSnackBarContainer.prototype.attachTemplatePortal = function (portal) {\n\t throw Error('Not yet implemented');\n\t };\n\t /** Handle end of animations, updating the state of the snackbar. */\n\t MdSnackBarContainer.prototype.onAnimationEnd = function (event) {\n\t var _this = this;\n\t if (event.toState === 'void' || event.toState === 'complete') {\n\t this._completeExit();\n\t }\n\t if (event.toState === 'visible') {\n\t this._ngZone.run(function () {\n\t _this.onEnter.next();\n\t _this.onEnter.complete();\n\t });\n\t }\n\t };\n\t /** Begin animation of snack bar entrance into view. */\n\t MdSnackBarContainer.prototype.enter = function () {\n\t this.animationState = 'visible';\n\t };\n\t /** Returns an observable resolving when the enter animation completes. */\n\t MdSnackBarContainer.prototype._onEnter = function () {\n\t this.animationState = 'visible';\n\t return this.onEnter.asObservable();\n\t };\n\t /** Begin animation of the snack bar exiting from view. */\n\t MdSnackBarContainer.prototype.exit = function () {\n\t this.animationState = 'complete';\n\t return this._onExit();\n\t };\n\t /** Returns an observable that completes after the closing animation is done. */\n\t MdSnackBarContainer.prototype._onExit = function () {\n\t return this.onExit.asObservable();\n\t };\n\t /**\n\t * Makes sure the exit callbacks have been invoked when the element is destroyed.\n\t */\n\t MdSnackBarContainer.prototype.ngOnDestroy = function () {\n\t this._completeExit();\n\t };\n\t /**\n\t * Waits for the zone to settle before removing the element. Helps prevent\n\t * errors where we end up removing an element which is in the middle of an animation.\n\t */\n\t MdSnackBarContainer.prototype._completeExit = function () {\n\t var _this = this;\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t _this.onExit.next();\n\t _this.onExit.complete();\n\t });\n\t };\n\t __decorate$55([\n\t _angular_core.ViewChild(PortalHostDirective), \n\t __metadata$55('design:type', PortalHostDirective)\n\t ], MdSnackBarContainer.prototype, \"_portalHost\", void 0);\n\t MdSnackBarContainer = __decorate$55([\n\t _angular_core.Component({selector: 'snack-bar-container',\n\t template: \"<template cdkPortalHost></template>\",\n\t styles: [\":host{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);background:#323232;border-radius:2px;box-sizing:content-box;display:block;height:20px;max-width:568px;min-width:288px;overflow:hidden;padding:14px 24px;transform:translateY(100%)}@media screen and (-ms-high-contrast:active){:host{border:1px solid}}\"],\n\t host: {\n\t 'role': 'alert',\n\t '[@state]': 'animationState',\n\t '(@state.done)': 'onAnimationEnd($event)'\n\t },\n\t animations: [\n\t _angular_core.trigger('state', [\n\t _angular_core.state('initial', _angular_core.style({ transform: 'translateY(100%)' })),\n\t _angular_core.state('visible', _angular_core.style({ transform: 'translateY(0%)' })),\n\t _angular_core.state('complete', _angular_core.style({ transform: 'translateY(100%)' })),\n\t _angular_core.transition('visible => complete', _angular_core.animate(HIDE_ANIMATION)),\n\t _angular_core.transition('initial => visible, void => visible', _angular_core.animate(SHOW_ANIMATION)),\n\t ])\n\t ],\n\t }), \n\t __metadata$55('design:paramtypes', [_angular_core.NgZone, _angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdSnackBarContainer);\n\t return MdSnackBarContainer;\n\t}(BasePortalHost));\n\t\n\tvar __decorate$56 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$56 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * A component used to open as the default snack bar, matching material spec.\n\t * This should only be used internally by the snack bar service.\n\t */\n\tvar SimpleSnackBar = (function () {\n\t function SimpleSnackBar() {\n\t }\n\t /** Dismisses the snack bar. */\n\t SimpleSnackBar.prototype.dismiss = function () {\n\t this.snackBarRef._action();\n\t };\n\t Object.defineProperty(SimpleSnackBar.prototype, \"hasAction\", {\n\t /** If the action button should be shown. */\n\t get: function () { return !!this.action; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t SimpleSnackBar = __decorate$56([\n\t _angular_core.Component({selector: 'simple-snack-bar',\n\t template: \"<span class=\\\"mat-simple-snackbar-message\\\">{{message}}</span> <button class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\" (click)=\\\"dismiss()\\\">{{action}}</button>\",\n\t styles: [\":host{display:flex;justify-content:space-between;color:#fff;line-height:20px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-simple-snackbar-message{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis}.mat-simple-snackbar-action{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;background:0 0;margin:-5px 0 0;padding:5px;text-transform:uppercase;color:inherit;line-height:inherit;flex-shrink:0;font-family:inherit;font-size:inherit;font-weight:600}\"],\n\t host: {\n\t '[class.mat-simple-snackbar]': 'true',\n\t }\n\t }), \n\t __metadata$56('design:paramtypes', [])\n\t ], SimpleSnackBar);\n\t return SimpleSnackBar;\n\t}());\n\t\n\t/**\n\t * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n\t * similar to Object.assign.\n\t *\n\t * @param dest The object which will have properties copied to it.\n\t * @param sources The source objects from which properties will be copied.\n\t */\n\tfunction extendObject(dest) {\n\t var sources = [];\n\t for (var _i = 1; _i < arguments.length; _i++) {\n\t sources[_i - 1] = arguments[_i];\n\t }\n\t if (dest == null) {\n\t throw TypeError('Cannot convert undefined or null to object');\n\t }\n\t for (var _a = 0, sources_1 = sources; _a < sources_1.length; _a++) {\n\t var source = sources_1[_a];\n\t if (source != null) {\n\t for (var key in source) {\n\t if (source.hasOwnProperty(key)) {\n\t dest[key] = source[key];\n\t }\n\t }\n\t }\n\t }\n\t return dest;\n\t}\n\t\n\tvar __decorate$54 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$54 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$11 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * Service to dispatch Material Design snack bar messages.\n\t */\n\tvar MdSnackBar = (function () {\n\t function MdSnackBar(_overlay, _live, _parentSnackBar) {\n\t this._overlay = _overlay;\n\t this._live = _live;\n\t this._parentSnackBar = _parentSnackBar;\n\t }\n\t Object.defineProperty(MdSnackBar.prototype, \"_openedSnackBarRef\", {\n\t /** Reference to the currently opened snackbar at *any* level. */\n\t get: function () {\n\t return this._parentSnackBar ?\n\t this._parentSnackBar._openedSnackBarRef : this._snackBarRefAtThisLevel;\n\t },\n\t set: function (value) {\n\t if (this._parentSnackBar) {\n\t this._parentSnackBar._openedSnackBarRef = value;\n\t }\n\t else {\n\t this._snackBarRefAtThisLevel = value;\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Creates and dispatches a snack bar with a custom component for the content, removing any\n\t * currently opened snack bars.\n\t *\n\t * @param component Component to be instantiated.\n\t * @param config Extra configuration for the snack bar.\n\t */\n\t MdSnackBar.prototype.openFromComponent = function (component, config) {\n\t var _this = this;\n\t config = _applyConfigDefaults(config);\n\t var overlayRef = this._createOverlay();\n\t var snackBarContainer = this._attachSnackBarContainer(overlayRef, config);\n\t var snackBarRef = this._attachSnackbarContent(component, snackBarContainer, overlayRef);\n\t // When the snackbar is dismissed, clear the reference to it.\n\t snackBarRef.afterDismissed().subscribe(function () {\n\t // Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.\n\t if (_this._openedSnackBarRef == snackBarRef) {\n\t _this._openedSnackBarRef = null;\n\t }\n\t });\n\t // If a snack bar is already in view, dismiss it and enter the new snack bar after exit\n\t // animation is complete.\n\t if (this._openedSnackBarRef) {\n\t this._openedSnackBarRef.afterDismissed().subscribe(function () {\n\t snackBarRef.containerInstance.enter();\n\t });\n\t this._openedSnackBarRef.dismiss();\n\t }\n\t else {\n\t snackBarRef.containerInstance.enter();\n\t }\n\t // If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.\n\t if (config.duration > 0) {\n\t snackBarRef.afterOpened().subscribe(function () {\n\t setTimeout(function () { return snackBarRef.dismiss(); }, config.duration);\n\t });\n\t }\n\t this._live.announce(config.announcementMessage, config.politeness);\n\t this._openedSnackBarRef = snackBarRef;\n\t return this._openedSnackBarRef;\n\t };\n\t /**\n\t * Opens a snackbar with a message and an optional action.\n\t * @param message The message to show in the snackbar.\n\t * @param action The label for the snackbar action.\n\t * @param config Additional configuration options for the snackbar.\n\t */\n\t MdSnackBar.prototype.open = function (message, action, config) {\n\t if (action === void 0) { action = ''; }\n\t if (config === void 0) { config = {}; }\n\t config.announcementMessage = message;\n\t var simpleSnackBarRef = this.openFromComponent(SimpleSnackBar, config);\n\t simpleSnackBarRef.instance.snackBarRef = simpleSnackBarRef;\n\t simpleSnackBarRef.instance.message = message;\n\t simpleSnackBarRef.instance.action = action;\n\t return simpleSnackBarRef;\n\t };\n\t /**\n\t * Attaches the snack bar container component to the overlay.\n\t */\n\t MdSnackBar.prototype._attachSnackBarContainer = function (overlayRef, config) {\n\t var containerPortal = new ComponentPortal(MdSnackBarContainer, config.viewContainerRef);\n\t var containerRef = overlayRef.attach(containerPortal);\n\t containerRef.instance.snackBarConfig = config;\n\t return containerRef.instance;\n\t };\n\t /**\n\t * Places a new component as the content of the snack bar container.\n\t */\n\t MdSnackBar.prototype._attachSnackbarContent = function (component, container, overlayRef) {\n\t var portal = new ComponentPortal(component);\n\t var contentRef = container.attachComponentPortal(portal);\n\t return new MdSnackBarRef(contentRef.instance, container, overlayRef);\n\t };\n\t /**\n\t * Creates a new overlay and places it in the correct location.\n\t */\n\t MdSnackBar.prototype._createOverlay = function () {\n\t var state$$1 = new OverlayState();\n\t state$$1.positionStrategy = this._overlay.position().global()\n\t .centerHorizontally()\n\t .bottom('0');\n\t return this._overlay.create(state$$1);\n\t };\n\t MdSnackBar = __decorate$54([\n\t _angular_core.Injectable(),\n\t __param$11(2, _angular_core.Optional()),\n\t __param$11(2, _angular_core.SkipSelf()), \n\t __metadata$54('design:paramtypes', [Overlay, LiveAnnouncer, MdSnackBar])\n\t ], MdSnackBar);\n\t return MdSnackBar;\n\t}());\n\t/**\n\t * Applies default options to the snackbar config.\n\t * @param config The configuration to which the defaults will be applied.\n\t * @returns The new configuration object with defaults applied.\n\t */\n\tfunction _applyConfigDefaults(config) {\n\t return extendObject(new MdSnackBarConfig(), config);\n\t}\n\t\n\tvar __decorate$53 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$53 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdSnackBarModule = (function () {\n\t function MdSnackBarModule() {\n\t }\n\t /** @deprecated */\n\t MdSnackBarModule.forRoot = function () {\n\t return {\n\t ngModule: MdSnackBarModule,\n\t providers: []\n\t };\n\t };\n\t MdSnackBarModule = __decorate$53([\n\t _angular_core.NgModule({\n\t imports: [OverlayModule, PortalModule, _angular_common.CommonModule, CompatibilityModule],\n\t exports: [MdSnackBarContainer, CompatibilityModule],\n\t declarations: [MdSnackBarContainer, SimpleSnackBar],\n\t entryComponents: [MdSnackBarContainer, SimpleSnackBar],\n\t providers: [MdSnackBar, LIVE_ANNOUNCER_PROVIDER]\n\t }), \n\t __metadata$53('design:paramtypes', [])\n\t ], MdSnackBarModule);\n\t return MdSnackBarModule;\n\t}());\n\t\n\tvar __extends$18 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$58 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$58 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Used to flag tab labels for use with the portal directive */\n\tvar MdTabLabel = (function (_super) {\n\t __extends$18(MdTabLabel, _super);\n\t function MdTabLabel(templateRef, viewContainerRef) {\n\t _super.call(this, templateRef, viewContainerRef);\n\t }\n\t MdTabLabel = __decorate$58([\n\t _angular_core.Directive({\n\t selector: '[md-tab-label], [mat-tab-label]',\n\t }), \n\t __metadata$58('design:paramtypes', [_angular_core.TemplateRef, _angular_core.ViewContainerRef])\n\t ], MdTabLabel);\n\t return MdTabLabel;\n\t}(TemplatePortalDirective));\n\t\n\tvar __decorate$59 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$59 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Used in the `md-tab-group` view to display tab labels */\n\tvar MdTabLabelWrapper = (function () {\n\t function MdTabLabelWrapper(elementRef, _renderer) {\n\t this.elementRef = elementRef;\n\t this._renderer = _renderer;\n\t /** Whether the tab label is disabled. */\n\t this._disabled = false;\n\t }\n\t Object.defineProperty(MdTabLabelWrapper.prototype, \"disabled\", {\n\t /** Whether the element is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Sets focus on the wrapper element */\n\t MdTabLabelWrapper.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this.elementRef.nativeElement, 'focus');\n\t };\n\t MdTabLabelWrapper.prototype.getOffsetLeft = function () {\n\t return this.elementRef.nativeElement.offsetLeft;\n\t };\n\t MdTabLabelWrapper.prototype.getOffsetWidth = function () {\n\t return this.elementRef.nativeElement.offsetWidth;\n\t };\n\t __decorate$59([\n\t _angular_core.Input(), \n\t __metadata$59('design:type', Object)\n\t ], MdTabLabelWrapper.prototype, \"disabled\", null);\n\t MdTabLabelWrapper = __decorate$59([\n\t _angular_core.Directive({\n\t selector: '[md-tab-label-wrapper], [mat-tab-label-wrapper]',\n\t host: {\n\t '[class.mat-tab-disabled]': 'disabled'\n\t }\n\t }), \n\t __metadata$59('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdTabLabelWrapper);\n\t return MdTabLabelWrapper;\n\t}());\n\t\n\tvar __decorate$61 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$61 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** The ink-bar is used to display and animate the line underneath the current active tab label. */\n\tvar MdInkBar = (function () {\n\t function MdInkBar(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t }\n\t /**\n\t * Calculates the styles from the provided element in order to align the ink-bar to that element.\n\t * Shows the ink bar if previously set as hidden.\n\t * @param element\n\t */\n\t MdInkBar.prototype.alignToElement = function (element) {\n\t this.show();\n\t this._renderer.setElementStyle(this._elementRef.nativeElement, 'left', this._getLeftPosition(element));\n\t this._renderer.setElementStyle(this._elementRef.nativeElement, 'width', this._getElementWidth(element));\n\t };\n\t /** Shows the ink bar. */\n\t MdInkBar.prototype.show = function () {\n\t this._renderer.setElementStyle(this._elementRef.nativeElement, 'visibility', 'visible');\n\t };\n\t /** Hides the ink bar. */\n\t MdInkBar.prototype.hide = function () {\n\t this._renderer.setElementStyle(this._elementRef.nativeElement, 'visibility', 'hidden');\n\t };\n\t /**\n\t * Generates the pixel distance from the left based on the provided element in string format.\n\t * @param element\n\t */\n\t MdInkBar.prototype._getLeftPosition = function (element) {\n\t return element ? element.offsetLeft + 'px' : '0';\n\t };\n\t /**\n\t * Generates the pixel width from the provided element in string format.\n\t * @param element\n\t */\n\t MdInkBar.prototype._getElementWidth = function (element) {\n\t return element ? element.offsetWidth + 'px' : '0';\n\t };\n\t MdInkBar = __decorate$61([\n\t _angular_core.Directive({\n\t selector: 'md-ink-bar, mat-ink-bar',\n\t host: {\n\t '[class.mat-ink-bar]': 'true',\n\t },\n\t }), \n\t __metadata$61('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdInkBar);\n\t return MdInkBar;\n\t}());\n\t\n\tvar __extends$19 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$60 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$60 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Navigation component matching the styles of the tab group header.\n\t * Provides anchored navigation with animated ink bar.\n\t */\n\tvar MdTabNavBar = (function () {\n\t function MdTabNavBar() {\n\t }\n\t /** Notifies the component that the active link has been changed. */\n\t MdTabNavBar.prototype.updateActiveLink = function (element) {\n\t this._activeLinkChanged = this._activeLinkElement != element;\n\t this._activeLinkElement = element;\n\t };\n\t /** Checks if the active link has been changed and, if so, will update the ink bar. */\n\t MdTabNavBar.prototype.ngAfterContentChecked = function () {\n\t if (this._activeLinkChanged) {\n\t this._inkBar.alignToElement(this._activeLinkElement.nativeElement);\n\t this._activeLinkChanged = false;\n\t }\n\t };\n\t __decorate$60([\n\t _angular_core.ViewChild(MdInkBar), \n\t __metadata$60('design:type', MdInkBar)\n\t ], MdTabNavBar.prototype, \"_inkBar\", void 0);\n\t MdTabNavBar = __decorate$60([\n\t _angular_core.Component({selector: '[md-tab-nav-bar], [mat-tab-nav-bar]',\n\t template: \"<div class=\\\"mat-tab-links\\\"><ng-content></ng-content></div><md-ink-bar></md-ink-bar>\",\n\t styles: [\".mat-tab-link,.mat-tab-nav-bar{position:relative;overflow:hidden}.mat-tab-nav-bar{flex-shrink:0}.mat-tab-links{display:flex;position:relative}.mat-tab-link{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;text-decoration:none}.mat-tab-link:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}\"],\n\t host: {\n\t '[class.mat-tab-nav-bar]': 'true',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$60('design:paramtypes', [])\n\t ], MdTabNavBar);\n\t return MdTabNavBar;\n\t}());\n\t/**\n\t * Link inside of a `md-tab-nav-bar`.\n\t */\n\tvar MdTabLink = (function () {\n\t function MdTabLink(_mdTabNavBar, _elementRef) {\n\t this._mdTabNavBar = _mdTabNavBar;\n\t this._elementRef = _elementRef;\n\t this._isActive = false;\n\t }\n\t Object.defineProperty(MdTabLink.prototype, \"active\", {\n\t /** Whether the link is active. */\n\t get: function () { return this._isActive; },\n\t set: function (value) {\n\t this._isActive = value;\n\t if (value) {\n\t this._mdTabNavBar.updateActiveLink(this._elementRef);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t __decorate$60([\n\t _angular_core.Input(), \n\t __metadata$60('design:type', Boolean)\n\t ], MdTabLink.prototype, \"active\", null);\n\t MdTabLink = __decorate$60([\n\t _angular_core.Directive({\n\t selector: '[md-tab-link], [mat-tab-link]',\n\t host: {\n\t '[class.mat-tab-link]': 'true',\n\t }\n\t }), \n\t __metadata$60('design:paramtypes', [MdTabNavBar, _angular_core.ElementRef])\n\t ], MdTabLink);\n\t return MdTabLink;\n\t}());\n\t/**\n\t * Simple directive that extends the ripple and matches the selector of the MdTabLink. This\n\t * adds the ripple behavior to nav bar labels.\n\t */\n\tvar MdTabLinkRipple = (function (_super) {\n\t __extends$19(MdTabLinkRipple, _super);\n\t function MdTabLinkRipple(elementRef, ngZone, ruler) {\n\t _super.call(this, elementRef, ngZone, ruler);\n\t }\n\t MdTabLinkRipple = __decorate$60([\n\t _angular_core.Directive({\n\t selector: '[md-tab-link], [mat-tab-link]',\n\t host: {\n\t '[class.mat-tab-link]': 'true',\n\t },\n\t }), \n\t __metadata$60('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, ViewportRuler])\n\t ], MdTabLinkRipple);\n\t return MdTabLinkRipple;\n\t}(MdRipple));\n\t\n\tvar __decorate$62 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$62 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdTab = (function () {\n\t function MdTab(_viewContainerRef) {\n\t this._viewContainerRef = _viewContainerRef;\n\t /** The plain text label for the tab, used when there is no template label. */\n\t this.textLabel = '';\n\t /** The portal that will be the hosted content of the tab */\n\t this._contentPortal = null;\n\t /**\n\t * The relatively indexed position where 0 represents the center, negative is left, and positive\n\t * represents the right.\n\t */\n\t this.position = null;\n\t /**\n\t * The initial relatively index origin of the tab if it was created and selected after there\n\t * was already a selected tab. Provides context of what position the tab should originate from.\n\t */\n\t this.origin = null;\n\t this._disabled = false;\n\t }\n\t Object.defineProperty(MdTab.prototype, \"content\", {\n\t get: function () { return this._contentPortal; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTab.prototype, \"disabled\", {\n\t get: function () { return this._disabled; },\n\t /** Whether the tab is disabled */\n\t set: function (value) { this._disabled = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdTab.prototype.ngOnInit = function () {\n\t this._contentPortal = new TemplatePortal(this._content, this._viewContainerRef);\n\t };\n\t __decorate$62([\n\t _angular_core.ContentChild(MdTabLabel), \n\t __metadata$62('design:type', MdTabLabel)\n\t ], MdTab.prototype, \"templateLabel\", void 0);\n\t __decorate$62([\n\t _angular_core.ViewChild(_angular_core.TemplateRef), \n\t __metadata$62('design:type', _angular_core.TemplateRef)\n\t ], MdTab.prototype, \"_content\", void 0);\n\t __decorate$62([\n\t _angular_core.Input('label'), \n\t __metadata$62('design:type', String)\n\t ], MdTab.prototype, \"textLabel\", void 0);\n\t __decorate$62([\n\t _angular_core.Input(), \n\t __metadata$62('design:type', Boolean), \n\t __metadata$62('design:paramtypes', [Boolean])\n\t ], MdTab.prototype, \"disabled\", null);\n\t MdTab = __decorate$62([\n\t _angular_core.Component({selector: 'md-tab, mat-tab',\n\t template: \"<template><ng-content></ng-content></template>\",\n\t }), \n\t __metadata$62('design:paramtypes', [_angular_core.ViewContainerRef])\n\t ], MdTab);\n\t return MdTab;\n\t}());\n\t\n\tvar __decorate$63 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$63 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$12 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * Wrapper for the contents of a tab.\n\t */\n\tvar MdTabBody = (function () {\n\t function MdTabBody(_dir, _elementRef, _changeDetectorRef) {\n\t this._dir = _dir;\n\t this._elementRef = _elementRef;\n\t this._changeDetectorRef = _changeDetectorRef;\n\t /** Event emitted when the tab begins to animate towards the center as the active tab. */\n\t this.onCentering = new _angular_core.EventEmitter();\n\t /** Event emitted when the tab completes its animation towards the center. */\n\t this.onCentered = new _angular_core.EventEmitter(true);\n\t /** Whether the element is allowed to be animated. */\n\t this._canBeAnimated = false;\n\t }\n\t Object.defineProperty(MdTabBody.prototype, \"position\", {\n\t set: function (position) {\n\t if (position < 0) {\n\t this._position = this._getLayoutDirection() == 'ltr' ? 'left' : 'right';\n\t }\n\t else if (position > 0) {\n\t this._position = this._getLayoutDirection() == 'ltr' ? 'right' : 'left';\n\t }\n\t else {\n\t this._position = 'center';\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabBody.prototype, \"origin\", {\n\t /** The origin position from which this tab should appear when it is centered into view. */\n\t set: function (origin) {\n\t if (origin == null) {\n\t return;\n\t }\n\t var dir = this._getLayoutDirection();\n\t if ((dir == 'ltr' && origin <= 0) || (dir == 'rtl' && origin > 0)) {\n\t this._origin = 'left';\n\t }\n\t else {\n\t this._origin = 'right';\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * After initialized, check if the content is centered and has an origin. If so, set the\n\t * special position states that transition the tab from the left or right before centering.\n\t */\n\t MdTabBody.prototype.ngOnInit = function () {\n\t if (this._position == 'center' && this._origin) {\n\t this._position = this._origin == 'left' ? 'left-origin-center' : 'right-origin-center';\n\t }\n\t };\n\t /**\n\t * After the view has been set, check if the tab content is set to the center and attach the\n\t * content if it is not already attached.\n\t */\n\t MdTabBody.prototype.ngAfterViewChecked = function () {\n\t if (this._isCenterPosition(this._position) && !this._portalHost.hasAttached()) {\n\t this._portalHost.attach(this._content);\n\t }\n\t };\n\t /**\n\t * After the content has been checked, determines whether the element should be allowed to\n\t * animate. This has to be limited, because under a specific set of circumstances (see #2151),\n\t * the animations can be triggered too early, which either crashes Chrome by putting it into an\n\t * infinite loop (with Angular < 2.3.0) or throws an error because the element doesn't have a\n\t * computed style (with Angular > 2.3.0). This can alternatively be determined by checking the\n\t * transform: canBeAnimated = getComputedStyle(element) !== '', however document.contains should\n\t * be faster since it doesn't cause a reflow.\n\t *\n\t * TODO: This can safely be removed after we stop supporting Angular < 2.4.2. The fix landed via\n\t * https://github.com/angular/angular/commit/21030e9a1cf30e8101399d8535ed72d847a23ba6\n\t */\n\t MdTabBody.prototype.ngAfterContentChecked = function () {\n\t if (!this._canBeAnimated) {\n\t this._canBeAnimated = document.body.contains(this._elementRef.nativeElement);\n\t if (this._canBeAnimated) {\n\t this._changeDetectorRef.markForCheck();\n\t }\n\t }\n\t };\n\t MdTabBody.prototype._onTranslateTabStarted = function (e) {\n\t if (this._isCenterPosition(e.toState)) {\n\t this.onCentering.emit(this._elementRef.nativeElement.clientHeight);\n\t }\n\t };\n\t MdTabBody.prototype._onTranslateTabComplete = function (e) {\n\t // If the end state is that the tab is not centered, then detach the content.\n\t if (!this._isCenterPosition(e.toState) && !this._isCenterPosition(this._position)) {\n\t this._portalHost.detach();\n\t }\n\t // If the transition to the center is complete, emit an event.\n\t if (this._isCenterPosition(e.toState) && this._isCenterPosition(this._position)) {\n\t this.onCentered.emit();\n\t }\n\t };\n\t /** The text direction of the containing app. */\n\t MdTabBody.prototype._getLayoutDirection = function () {\n\t return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n\t };\n\t /** Whether the provided position state is considered center, regardless of origin. */\n\t MdTabBody.prototype._isCenterPosition = function (position) {\n\t return position == 'center' ||\n\t position == 'left-origin-center' ||\n\t position == 'right-origin-center';\n\t };\n\t __decorate$63([\n\t _angular_core.ViewChild(PortalHostDirective), \n\t __metadata$63('design:type', PortalHostDirective)\n\t ], MdTabBody.prototype, \"_portalHost\", void 0);\n\t __decorate$63([\n\t _angular_core.Output(), \n\t __metadata$63('design:type', _angular_core.EventEmitter)\n\t ], MdTabBody.prototype, \"onCentering\", void 0);\n\t __decorate$63([\n\t _angular_core.Output(), \n\t __metadata$63('design:type', _angular_core.EventEmitter)\n\t ], MdTabBody.prototype, \"onCentered\", void 0);\n\t __decorate$63([\n\t _angular_core.Input('content'), \n\t __metadata$63('design:type', TemplatePortal)\n\t ], MdTabBody.prototype, \"_content\", void 0);\n\t __decorate$63([\n\t _angular_core.Input('position'), \n\t __metadata$63('design:type', Number), \n\t __metadata$63('design:paramtypes', [Number])\n\t ], MdTabBody.prototype, \"position\", null);\n\t __decorate$63([\n\t _angular_core.Input('origin'), \n\t __metadata$63('design:type', Number), \n\t __metadata$63('design:paramtypes', [Number])\n\t ], MdTabBody.prototype, \"origin\", null);\n\t MdTabBody = __decorate$63([\n\t _angular_core.Component({selector: 'md-tab-body, mat-tab-body',\n\t template: \"<div class=\\\"mat-tab-body-content\\\" #content [@translateTab]=\\\"_canBeAnimated ? _position : null\\\" (@translateTab.start)=\\\"_onTranslateTabStarted($event)\\\" (@translateTab.done)=\\\"_onTranslateTabComplete($event)\\\"><template cdkPortalHost></template></div>\",\n\t host: {\n\t '[class.mat-tab-body]': 'true',\n\t },\n\t animations: [\n\t _angular_core.trigger('translateTab', [\n\t _angular_core.state('left', _angular_core.style({ transform: 'translate3d(-100%, 0, 0)' })),\n\t _angular_core.state('left-origin-center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n\t _angular_core.state('right-origin-center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n\t _angular_core.state('center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n\t _angular_core.state('right', _angular_core.style({ transform: 'translate3d(100%, 0, 0)' })),\n\t _angular_core.transition('* => left, * => right, left => center, right => center', _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')),\n\t _angular_core.transition('void => left-origin-center', [\n\t _angular_core.style({ transform: 'translate3d(-100%, 0, 0)' }),\n\t _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')\n\t ]),\n\t _angular_core.transition('void => right-origin-center', [\n\t _angular_core.style({ transform: 'translate3d(100%, 0, 0)' }),\n\t _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')\n\t ])\n\t ])\n\t ]\n\t }),\n\t __param$12(0, _angular_core.Optional()), \n\t __metadata$63('design:paramtypes', [Dir, _angular_core.ElementRef, _angular_core.ChangeDetectorRef])\n\t ], MdTabBody);\n\t return MdTabBody;\n\t}());\n\t\n\tvar __decorate$64 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$64 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$13 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * The distance in pixels that will be overshot when scrolling a tab label into view. This helps\n\t * provide a small affordance to the label next to it.\n\t */\n\tvar EXAGGERATED_OVERSCROLL = 60;\n\t/**\n\t * The header of the tab group which displays a list of all the tabs in the tab group. Includes\n\t * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the\n\t * width of the header container, then arrows will be displayed to allow the user to scroll\n\t * left and right across the header.\n\t */\n\tvar MdTabHeader = (function () {\n\t function MdTabHeader(_zone, _elementRef, _dir) {\n\t this._zone = _zone;\n\t this._elementRef = _elementRef;\n\t this._dir = _dir;\n\t /** The tab index that is focused. */\n\t this._focusIndex = 0;\n\t /** The distance in pixels that the tab labels should be translated to the left. */\n\t this._scrollDistance = 0;\n\t /** Whether the header should scroll to the selected index after the view has been checked. */\n\t this._selectedIndexChanged = false;\n\t /** Whether the controls for pagination should be displayed */\n\t this._showPaginationControls = false;\n\t /** Whether the tab list can be scrolled more towards the end of the tab label list. */\n\t this._disableScrollAfter = true;\n\t /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */\n\t this._disableScrollBefore = true;\n\t this._selectedIndex = 0;\n\t /** Event emitted when the option is selected. */\n\t this.selectFocusedIndex = new _angular_core.EventEmitter();\n\t /** Event emitted when a label is focused. */\n\t this.indexFocused = new _angular_core.EventEmitter();\n\t }\n\t Object.defineProperty(MdTabHeader.prototype, \"selectedIndex\", {\n\t get: function () { return this._selectedIndex; },\n\t /** The index of the active tab. */\n\t set: function (value) {\n\t this._selectedIndexChanged = this._selectedIndex != value;\n\t this._selectedIndex = value;\n\t this._focusIndex = value;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdTabHeader.prototype.ngAfterContentChecked = function () {\n\t // If the number of tab labels have changed, check if scrolling should be enabled\n\t if (this._tabLabelCount != this._labelWrappers.length) {\n\t this._updatePagination();\n\t this._tabLabelCount = this._labelWrappers.length;\n\t }\n\t // If the selected index has changed, scroll to the label and check if the scrolling controls\n\t // should be disabled.\n\t if (this._selectedIndexChanged) {\n\t this._scrollToLabel(this._selectedIndex);\n\t this._checkScrollingControls();\n\t this._alignInkBarToSelectedTab();\n\t this._selectedIndexChanged = false;\n\t }\n\t // If the scroll distance has been changed (tab selected, focused, scroll controls activated),\n\t // then translate the header to reflect this.\n\t if (this._scrollDistanceChanged) {\n\t this._updateTabScrollPosition();\n\t this._scrollDistanceChanged = false;\n\t }\n\t };\n\t MdTabHeader.prototype._handleKeydown = function (event) {\n\t switch (event.keyCode) {\n\t case RIGHT_ARROW:\n\t this._focusNextTab();\n\t break;\n\t case LEFT_ARROW:\n\t this._focusPreviousTab();\n\t break;\n\t case ENTER:\n\t this.selectFocusedIndex.emit(this.focusIndex);\n\t break;\n\t }\n\t };\n\t /**\n\t * Aligns the ink bar to the selected tab on load.\n\t */\n\t MdTabHeader.prototype.ngAfterContentInit = function () {\n\t this._alignInkBarToSelectedTab();\n\t };\n\t /**\n\t * Callback for when the MutationObserver detects that the content has changed.\n\t */\n\t MdTabHeader.prototype._onContentChanges = function () {\n\t this._updatePagination();\n\t this._alignInkBarToSelectedTab();\n\t };\n\t /**\n\t * Updating the view whether pagination should be enabled or not\n\t */\n\t MdTabHeader.prototype._updatePagination = function () {\n\t this._checkPaginationEnabled();\n\t this._checkScrollingControls();\n\t this._updateTabScrollPosition();\n\t };\n\t Object.defineProperty(MdTabHeader.prototype, \"focusIndex\", {\n\t /** Tracks which element has focus; used for keyboard navigation */\n\t get: function () { return this._focusIndex; },\n\t /** When the focus index is set, we must manually send focus to the correct label */\n\t set: function (value) {\n\t if (!this._isValidIndex(value) || this._focusIndex == value) {\n\t return;\n\t }\n\t this._focusIndex = value;\n\t this.indexFocused.emit(value);\n\t this._setTabFocus(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Determines if an index is valid. If the tabs are not ready yet, we assume that the user is\n\t * providing a valid index and return true.\n\t */\n\t MdTabHeader.prototype._isValidIndex = function (index) {\n\t if (!this._labelWrappers) {\n\t return true;\n\t }\n\t var tab = this._labelWrappers ? this._labelWrappers.toArray()[index] : null;\n\t return tab && !tab.disabled;\n\t };\n\t /**\n\t * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n\t * scrolling is enabled.\n\t */\n\t MdTabHeader.prototype._setTabFocus = function (tabIndex) {\n\t if (this._showPaginationControls) {\n\t this._scrollToLabel(tabIndex);\n\t }\n\t if (this._labelWrappers && this._labelWrappers.length) {\n\t this._labelWrappers.toArray()[tabIndex].focus();\n\t // Do not let the browser manage scrolling to focus the element, this will be handled\n\t // by using translation. In LTR, the scroll left should be 0. In RTL, the scroll width\n\t // should be the full width minus the offset width.\n\t var containerEl = this._tabListContainer.nativeElement;\n\t var dir = this._getLayoutDirection();\n\t if (dir == 'ltr') {\n\t containerEl.scrollLeft = 0;\n\t }\n\t else {\n\t containerEl.scrollLeft = containerEl.scrollWidth - containerEl.offsetWidth;\n\t }\n\t }\n\t };\n\t /**\n\t * Moves the focus towards the beginning or the end of the list depending on the offset provided.\n\t * Valid offsets are 1 and -1.\n\t */\n\t MdTabHeader.prototype._moveFocus = function (offset) {\n\t if (this._labelWrappers) {\n\t var tabs = this._labelWrappers.toArray();\n\t for (var i = this.focusIndex + offset; i < tabs.length && i >= 0; i += offset) {\n\t if (this._isValidIndex(i)) {\n\t this.focusIndex = i;\n\t return;\n\t }\n\t }\n\t }\n\t };\n\t /** Increment the focus index by 1 until a valid tab is found. */\n\t MdTabHeader.prototype._focusNextTab = function () {\n\t this._moveFocus(this._getLayoutDirection() == 'ltr' ? 1 : -1);\n\t };\n\t /** Decrement the focus index by 1 until a valid tab is found. */\n\t MdTabHeader.prototype._focusPreviousTab = function () {\n\t this._moveFocus(this._getLayoutDirection() == 'ltr' ? -1 : 1);\n\t };\n\t /** The layout direction of the containing app. */\n\t MdTabHeader.prototype._getLayoutDirection = function () {\n\t return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n\t };\n\t /** Performs the CSS transformation on the tab list that will cause the list to scroll. */\n\t MdTabHeader.prototype._updateTabScrollPosition = function () {\n\t var translateX = this.scrollDistance + 'px';\n\t if (this._getLayoutDirection() == 'ltr') {\n\t translateX = '-' + translateX;\n\t }\n\t applyCssTransform(this._tabList.nativeElement, \"translate3d(\" + translateX + \", 0, 0)\");\n\t };\n\t Object.defineProperty(MdTabHeader.prototype, \"scrollDistance\", {\n\t get: function () { return this._scrollDistance; },\n\t /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */\n\t set: function (v) {\n\t this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), v));\n\t // Mark that the scroll distance has changed so that after the view is checked, the CSS\n\t // transformation can move the header.\n\t this._scrollDistanceChanged = true;\n\t this._checkScrollingControls();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n\t * the end of the list, respectively). The distance to scroll is computed to be a third of the\n\t * length of the tab list view window.\n\t *\n\t * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n\t * should be called sparingly.\n\t */\n\t MdTabHeader.prototype._scrollHeader = function (scrollDir) {\n\t var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n\t // Move the scroll distance one-third the length of the tab list's viewport.\n\t this.scrollDistance += (scrollDir == 'before' ? -1 : 1) * viewLength / 3;\n\t };\n\t /**\n\t * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n\t *\n\t * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n\t * should be called sparingly.\n\t */\n\t MdTabHeader.prototype._scrollToLabel = function (labelIndex) {\n\t var selectedLabel = this._labelWrappers\n\t ? this._labelWrappers.toArray()[labelIndex]\n\t : null;\n\t if (!selectedLabel) {\n\t return;\n\t }\n\t // The view length is the visible width of the tab labels.\n\t var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n\t var labelBeforePos, labelAfterPos;\n\t if (this._getLayoutDirection() == 'ltr') {\n\t labelBeforePos = selectedLabel.getOffsetLeft();\n\t labelAfterPos = labelBeforePos + selectedLabel.getOffsetWidth();\n\t }\n\t else {\n\t labelAfterPos = this._tabList.nativeElement.offsetWidth - selectedLabel.getOffsetLeft();\n\t labelBeforePos = labelAfterPos - selectedLabel.getOffsetWidth();\n\t }\n\t var beforeVisiblePos = this.scrollDistance;\n\t var afterVisiblePos = this.scrollDistance + viewLength;\n\t if (labelBeforePos < beforeVisiblePos) {\n\t // Scroll header to move label to the before direction\n\t this.scrollDistance -= beforeVisiblePos - labelBeforePos + EXAGGERATED_OVERSCROLL;\n\t }\n\t else if (labelAfterPos > afterVisiblePos) {\n\t // Scroll header to move label to the after direction\n\t this.scrollDistance += labelAfterPos - afterVisiblePos + EXAGGERATED_OVERSCROLL;\n\t }\n\t };\n\t /**\n\t * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n\t * tab list is wider than the size of the header container, then the pagination controls should\n\t * be shown.\n\t *\n\t * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n\t * should be called sparingly.\n\t */\n\t MdTabHeader.prototype._checkPaginationEnabled = function () {\n\t this._showPaginationControls =\n\t this._tabList.nativeElement.scrollWidth > this._elementRef.nativeElement.offsetWidth;\n\t if (!this._showPaginationControls) {\n\t this.scrollDistance = 0;\n\t }\n\t };\n\t /**\n\t * Evaluate whether the before and after controls should be enabled or disabled.\n\t * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n\t * before button. If the header is at the end of the list (scroll distance is equal to the\n\t * maximum distance we can scroll), then disable the after button.\n\t *\n\t * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n\t * should be called sparingly.\n\t */\n\t MdTabHeader.prototype._checkScrollingControls = function () {\n\t // Check if the pagination arrows should be activated.\n\t this._disableScrollBefore = this.scrollDistance == 0;\n\t this._disableScrollAfter = this.scrollDistance == this._getMaxScrollDistance();\n\t };\n\t /**\n\t * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n\t * is equal to the difference in width between the tab list container and tab header container.\n\t *\n\t * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n\t * should be called sparingly.\n\t */\n\t MdTabHeader.prototype._getMaxScrollDistance = function () {\n\t var lengthOfTabList = this._tabList.nativeElement.scrollWidth;\n\t var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n\t return lengthOfTabList - viewLength;\n\t };\n\t /** Tells the ink-bar to align itself to the current label wrapper */\n\t MdTabHeader.prototype._alignInkBarToSelectedTab = function () {\n\t var _this = this;\n\t var selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length\n\t ? this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement\n\t : null;\n\t this._zone.runOutsideAngular(function () {\n\t requestAnimationFrame(function () {\n\t _this._inkBar.alignToElement(selectedLabelWrapper);\n\t });\n\t });\n\t };\n\t __decorate$64([\n\t _angular_core.ContentChildren(MdTabLabelWrapper), \n\t __metadata$64('design:type', _angular_core.QueryList)\n\t ], MdTabHeader.prototype, \"_labelWrappers\", void 0);\n\t __decorate$64([\n\t _angular_core.ViewChild(MdInkBar), \n\t __metadata$64('design:type', MdInkBar)\n\t ], MdTabHeader.prototype, \"_inkBar\", void 0);\n\t __decorate$64([\n\t _angular_core.ViewChild('tabListContainer'), \n\t __metadata$64('design:type', _angular_core.ElementRef)\n\t ], MdTabHeader.prototype, \"_tabListContainer\", void 0);\n\t __decorate$64([\n\t _angular_core.ViewChild('tabList'), \n\t __metadata$64('design:type', _angular_core.ElementRef)\n\t ], MdTabHeader.prototype, \"_tabList\", void 0);\n\t __decorate$64([\n\t _angular_core.Input(), \n\t __metadata$64('design:type', Number), \n\t __metadata$64('design:paramtypes', [Number])\n\t ], MdTabHeader.prototype, \"selectedIndex\", null);\n\t __decorate$64([\n\t _angular_core.Output(), \n\t __metadata$64('design:type', Object)\n\t ], MdTabHeader.prototype, \"selectFocusedIndex\", void 0);\n\t __decorate$64([\n\t _angular_core.Output(), \n\t __metadata$64('design:type', Object)\n\t ], MdTabHeader.prototype, \"indexFocused\", void 0);\n\t MdTabHeader = __decorate$64([\n\t _angular_core.Component({selector: 'md-tab-header, mat-tab-header',\n\t template: \"<div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\" aria-hidden=\\\"true\\\" md-ripple [mdRippleDisabled]=\\\"_disableScrollBefore\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\" (click)=\\\"_scrollHeader('before')\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div><div class=\\\"mat-tab-label-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\"><div class=\\\"mat-tab-list\\\" #tabList role=\\\"tablist\\\" (cdkObserveContent)=\\\"_onContentChanges()\\\"><div class=\\\"mat-tab-labels\\\"><ng-content></ng-content></div><md-ink-bar></md-ink-bar></div></div><div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\" aria-hidden=\\\"true\\\" md-ripple [mdRippleDisabled]=\\\"_disableScrollAfter\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\" (click)=\\\"_scrollHeader('after')\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div>\",\n\t styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;position:relative}.mat-tab-label:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination,.mat-tab-labels{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ccc}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t host: {\n\t 'class': 'mat-tab-header',\n\t '[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n\t '[class.mat-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n\t }\n\t }),\n\t __param$13(2, _angular_core.Optional()), \n\t __metadata$64('design:paramtypes', [_angular_core.NgZone, _angular_core.ElementRef, Dir])\n\t ], MdTabHeader);\n\t return MdTabHeader;\n\t}());\n\t\n\tvar __decorate$57 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$57 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/** Used to generate unique ID's for each tab component */\n\tvar nextId$2 = 0;\n\t/** A simple change event emitted on focus or selection changes. */\n\tvar MdTabChangeEvent = (function () {\n\t function MdTabChangeEvent() {\n\t }\n\t return MdTabChangeEvent;\n\t}());\n\t/**\n\t * Material design tab-group component. Supports basic tab pairs (label + content) and includes\n\t * animated ink-bar, keyboard navigation, and screen reader.\n\t * See: https://www.google.com/design/spec/components/tabs.html\n\t */\n\tvar MdTabGroup = (function () {\n\t function MdTabGroup(_renderer) {\n\t this._renderer = _renderer;\n\t /** Whether this component has been initialized. */\n\t this._isInitialized = false;\n\t /** The tab index that should be selected after the content has been checked. */\n\t this._indexToSelect = 0;\n\t /** Snapshot of the height of the tab body wrapper before another tab is activated. */\n\t this._tabBodyWrapperHeight = null;\n\t /** Whether the tab group should grow to the size of the active tab */\n\t this._dynamicHeight = false;\n\t this._selectedIndex = null;\n\t /** Position of the tab header. */\n\t this.headerPosition = 'above';\n\t this._onFocusChange = new _angular_core.EventEmitter();\n\t this._onSelectChange = new _angular_core.EventEmitter(true);\n\t this._groupId = nextId$2++;\n\t }\n\t Object.defineProperty(MdTabGroup.prototype, \"dynamicHeight\", {\n\t get: function () { return this._dynamicHeight; },\n\t set: function (value) { this._dynamicHeight = coerceBooleanProperty(value); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabGroup.prototype, \"_dynamicHeightDeprecated\", {\n\t /** @deprecated */\n\t get: function () { return this._dynamicHeight; },\n\t set: function (value) { this._dynamicHeight = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabGroup.prototype, \"selectedIndex\", {\n\t get: function () { return this._selectedIndex; },\n\t /** The index of the active tab. */\n\t set: function (value) { this._indexToSelect = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabGroup.prototype, \"selectedIndexChange\", {\n\t /** Output to enable support for two-way binding on `selectedIndex`. */\n\t get: function () {\n\t return this.selectChange.map(function (event) { return event.index; });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabGroup.prototype, \"focusChange\", {\n\t /** Event emitted when focus has changed within a tab group. */\n\t get: function () {\n\t return this._onFocusChange.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTabGroup.prototype, \"selectChange\", {\n\t /** Event emitted when the tab selection has changed. */\n\t get: function () {\n\t return this._onSelectChange.asObservable();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * After the content is checked, this component knows what tabs have been defined\n\t * and what the selected index should be. This is where we can know exactly what position\n\t * each tab should be in according to the new selected index, and additionally we know how\n\t * a new selected tab should transition in (from the left or right).\n\t */\n\t MdTabGroup.prototype.ngAfterContentChecked = function () {\n\t var _this = this;\n\t // Clamp the next selected index to the bounds of 0 and the tabs length. Note the `|| 0`, which\n\t // ensures that values like NaN can't get through and which would otherwise throw the\n\t // component into an infinite loop (since Math.max(NaN, 0) === NaN).\n\t this._indexToSelect =\n\t Math.min(this._tabs.length - 1, Math.max(this._indexToSelect || 0, 0));\n\t // If there is a change in selected index, emit a change event. Should not trigger if\n\t // the selected index has not yet been initialized.\n\t if (this._selectedIndex != this._indexToSelect && this._selectedIndex != null) {\n\t this._onSelectChange.emit(this._createChangeEvent(this._indexToSelect));\n\t }\n\t // Setup the position for each tab and optionally setup an origin on the next selected tab.\n\t this._tabs.forEach(function (tab, index) {\n\t tab.position = index - _this._indexToSelect;\n\t // If there is already a selected tab, then set up an origin for the next selected tab\n\t // if it doesn't have one already.\n\t if (_this._selectedIndex != null && tab.position == 0 && !tab.origin) {\n\t tab.origin = _this._indexToSelect - _this._selectedIndex;\n\t }\n\t });\n\t this._selectedIndex = this._indexToSelect;\n\t };\n\t /**\n\t * Waits one frame for the view to update, then updates the ink bar\n\t * Note: This must be run outside of the zone or it will create an infinite change detection loop.\n\t */\n\t MdTabGroup.prototype.ngAfterViewChecked = function () {\n\t this._isInitialized = true;\n\t };\n\t MdTabGroup.prototype._focusChanged = function (index) {\n\t this._onFocusChange.emit(this._createChangeEvent(index));\n\t };\n\t MdTabGroup.prototype._createChangeEvent = function (index) {\n\t var event = new MdTabChangeEvent;\n\t event.index = index;\n\t if (this._tabs && this._tabs.length) {\n\t event.tab = this._tabs.toArray()[index];\n\t }\n\t return event;\n\t };\n\t /** Returns a unique id for each tab label element */\n\t MdTabGroup.prototype._getTabLabelId = function (i) {\n\t return \"md-tab-label-\" + this._groupId + \"-\" + i;\n\t };\n\t /** Returns a unique id for each tab content element */\n\t MdTabGroup.prototype._getTabContentId = function (i) {\n\t return \"md-tab-content-\" + this._groupId + \"-\" + i;\n\t };\n\t /**\n\t * Sets the height of the body wrapper to the height of the activating tab if dynamic\n\t * height property is true.\n\t */\n\t MdTabGroup.prototype._setTabBodyWrapperHeight = function (tabHeight) {\n\t if (!this._dynamicHeight || !this._tabBodyWrapperHeight) {\n\t return;\n\t }\n\t this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', this._tabBodyWrapperHeight + 'px');\n\t // This conditional forces the browser to paint the height so that\n\t // the animation to the new height can have an origin.\n\t if (this._tabBodyWrapper.nativeElement.offsetHeight) {\n\t this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', tabHeight + 'px');\n\t }\n\t };\n\t /** Removes the height of the tab body wrapper. */\n\t MdTabGroup.prototype._removeTabBodyWrapperHeight = function () {\n\t this._tabBodyWrapperHeight = this._tabBodyWrapper.nativeElement.clientHeight;\n\t this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', '');\n\t };\n\t __decorate$57([\n\t _angular_core.ContentChildren(MdTab), \n\t __metadata$57('design:type', _angular_core.QueryList)\n\t ], MdTabGroup.prototype, \"_tabs\", void 0);\n\t __decorate$57([\n\t _angular_core.ViewChild('tabBodyWrapper'), \n\t __metadata$57('design:type', _angular_core.ElementRef)\n\t ], MdTabGroup.prototype, \"_tabBodyWrapper\", void 0);\n\t __decorate$57([\n\t _angular_core.Input(), \n\t __metadata$57('design:type', Boolean)\n\t ], MdTabGroup.prototype, \"dynamicHeight\", null);\n\t __decorate$57([\n\t _angular_core.Input('md-dynamic-height'), \n\t __metadata$57('design:type', Boolean)\n\t ], MdTabGroup.prototype, \"_dynamicHeightDeprecated\", null);\n\t __decorate$57([\n\t _angular_core.Input(), \n\t __metadata$57('design:type', Number), \n\t __metadata$57('design:paramtypes', [Number])\n\t ], MdTabGroup.prototype, \"selectedIndex\", null);\n\t __decorate$57([\n\t _angular_core.Input(), \n\t __metadata$57('design:type', String)\n\t ], MdTabGroup.prototype, \"headerPosition\", void 0);\n\t __decorate$57([\n\t _angular_core.Output(), \n\t __metadata$57('design:type', rxjs_Observable.Observable)\n\t ], MdTabGroup.prototype, \"selectedIndexChange\", null);\n\t __decorate$57([\n\t _angular_core.Output(), \n\t __metadata$57('design:type', rxjs_Observable.Observable)\n\t ], MdTabGroup.prototype, \"focusChange\", null);\n\t __decorate$57([\n\t _angular_core.Output(), \n\t __metadata$57('design:type', rxjs_Observable.Observable)\n\t ], MdTabGroup.prototype, \"selectChange\", null);\n\t MdTabGroup = __decorate$57([\n\t _angular_core.Component({selector: 'md-tab-group, mat-tab-group',\n\t template: \"<md-tab-header [selectedIndex]=\\\"selectedIndex\\\" #tabHeader (indexFocused)=\\\"_focusChanged($event)\\\" (selectFocusedIndex)=\\\"selectedIndex = $event\\\"><div class=\\\"mat-tab-label\\\" role=\\\"tab\\\" md-tab-label-wrapper md-ripple *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabLabelId(i)\\\" [tabIndex]=\\\"selectedIndex == i ? 0 : -1\\\" [attr.aria-controls]=\\\"_getTabContentId(i)\\\" [attr.aria-selected]=\\\"selectedIndex == i\\\" [class.mat-tab-label-active]=\\\"selectedIndex == i\\\" [disabled]=\\\"tab.disabled\\\" (click)=\\\"tabHeader.focusIndex = selectedIndex = i\\\"><template [ngIf]=\\\"tab.templateLabel\\\"><template [cdkPortalHost]=\\\"tab.templateLabel\\\"></template></template><template [ngIf]=\\\"!tab.templateLabel\\\">{{tab.textLabel}}</template></div></md-tab-header><div class=\\\"mat-tab-body-wrapper\\\" #tabBodyWrapper><md-tab-body role=\\\"tabpanel\\\" *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabContentId(i)\\\" [attr.aria-labelledby]=\\\"_getTabLabelId(i)\\\" [class.mat-tab-body-active]=\\\"selectedIndex == i\\\" [content]=\\\"tab.content\\\" [position]=\\\"tab.position\\\" [origin]=\\\"tab.origin\\\" (onCentered)=\\\"_removeTabBodyWrapperHeight()\\\" (onCentering)=\\\"_setTabBodyWrapperHeight($event)\\\"></md-tab-body></div>\",\n\t styles: [\":host{display:flex;flex-direction:column;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}:host.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;position:relative}.mat-tab-label:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-label{min-width:72px}}:host[mat-stretch-tabs] .mat-tab-label,:host[md-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{position:absolute;top:0;left:0;right:0;bottom:0;display:block;overflow:hidden}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}:host.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}.mat-tab-disabled{cursor:default;pointer-events:none}\"],\n\t host: {\n\t '[class.mat-tab-group-dynamic-height]': 'dynamicHeight',\n\t '[class.mat-tab-group-inverted-header]': 'headerPosition === \"below\"',\n\t }\n\t }), \n\t __metadata$57('design:paramtypes', [_angular_core.Renderer])\n\t ], MdTabGroup);\n\t return MdTabGroup;\n\t}());\n\tvar MdTabsModule = (function () {\n\t function MdTabsModule() {\n\t }\n\t /** @deprecated */\n\t MdTabsModule.forRoot = function () {\n\t return {\n\t ngModule: MdTabsModule,\n\t providers: []\n\t };\n\t };\n\t MdTabsModule = __decorate$57([\n\t _angular_core.NgModule({\n\t imports: [_angular_common.CommonModule, PortalModule, MdRippleModule, ObserveContentModule],\n\t // Don't export all components because some are only to be used internally.\n\t exports: [MdTabGroup, MdTabLabel, MdTab, MdTabNavBar, MdTabLink, MdTabLinkRipple],\n\t declarations: [MdTabGroup, MdTabLabel, MdTab, MdInkBar, MdTabLabelWrapper,\n\t MdTabNavBar, MdTabLink, MdTabBody, MdTabLinkRipple, MdTabHeader],\n\t providers: [VIEWPORT_RULER_PROVIDER, SCROLL_DISPATCHER_PROVIDER],\n\t }), \n\t __metadata$57('design:paramtypes', [])\n\t ], MdTabsModule);\n\t return MdTabsModule;\n\t}());\n\t\n\tvar __decorate$65 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$65 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdToolbarRow = (function () {\n\t function MdToolbarRow() {\n\t }\n\t MdToolbarRow = __decorate$65([\n\t _angular_core.Directive({\n\t selector: 'md-toolbar-row, mat-toolbar-row',\n\t host: {\n\t '[class.mat-toolbar-row]': 'true',\n\t },\n\t }), \n\t __metadata$65('design:paramtypes', [])\n\t ], MdToolbarRow);\n\t return MdToolbarRow;\n\t}());\n\tvar MdToolbar = (function () {\n\t function MdToolbar(elementRef, renderer) {\n\t this.elementRef = elementRef;\n\t this.renderer = renderer;\n\t }\n\t Object.defineProperty(MdToolbar.prototype, \"color\", {\n\t /** The color of the toolbar. Can be primary, accent, or warn. */\n\t get: function () {\n\t return this._color;\n\t },\n\t set: function (value) {\n\t this._updateColor(value);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdToolbar.prototype._updateColor = function (newColor) {\n\t this._setElementColor(this._color, false);\n\t this._setElementColor(newColor, true);\n\t this._color = newColor;\n\t };\n\t MdToolbar.prototype._setElementColor = function (color, isAdd) {\n\t if (color != null && color != '') {\n\t this.renderer.setElementClass(this.elementRef.nativeElement, \"mat-\" + color, isAdd);\n\t }\n\t };\n\t __decorate$65([\n\t _angular_core.Input(), \n\t __metadata$65('design:type', String)\n\t ], MdToolbar.prototype, \"color\", null);\n\t MdToolbar = __decorate$65([\n\t _angular_core.Component({selector: 'md-toolbar, mat-toolbar',\n\t template: \"<div class=\\\"mat-toolbar-layout\\\"><md-toolbar-row><ng-content></ng-content></md-toolbar-row><ng-content select=\\\"md-toolbar-row, mat-toolbar-row\\\"></ng-content></div>\",\n\t styles: [\".mat-toolbar,.mat-toolbar .mat-toolbar-row{display:flex;box-sizing:border-box;width:100%}.mat-toolbar{font-size:20px;font-weight:500;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;padding:0 16px;flex-direction:column;min-height:64px}.mat-toolbar .mat-toolbar-row{flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-row{height:64px}@media (max-width:600px) and (orientation:portrait){.mat-toolbar{min-height:56px}.mat-toolbar-row{height:56px}}@media (max-width:960px) and (orientation:landscape){.mat-toolbar{min-height:48px}.mat-toolbar-row{height:48px}}\"],\n\t host: {\n\t '[class.mat-toolbar]': 'true',\n\t 'role': 'toolbar'\n\t },\n\t changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n\t encapsulation: _angular_core.ViewEncapsulation.None\n\t }), \n\t __metadata$65('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n\t ], MdToolbar);\n\t return MdToolbar;\n\t}());\n\tvar MdToolbarModule = (function () {\n\t function MdToolbarModule() {\n\t }\n\t /** @deprecated */\n\t MdToolbarModule.forRoot = function () {\n\t return {\n\t ngModule: MdToolbarModule,\n\t providers: []\n\t };\n\t };\n\t MdToolbarModule = __decorate$65([\n\t _angular_core.NgModule({\n\t imports: [CompatibilityModule],\n\t exports: [MdToolbar, MdToolbarRow, CompatibilityModule],\n\t declarations: [MdToolbar, MdToolbarRow],\n\t }), \n\t __metadata$65('design:paramtypes', [])\n\t ], MdToolbarModule);\n\t return MdToolbarModule;\n\t}());\n\t\n\tvar __extends$20 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Exception thrown when a tooltip has an invalid position.\n\t * @docs-private\n\t */\n\tvar MdTooltipInvalidPositionError = (function (_super) {\n\t __extends$20(MdTooltipInvalidPositionError, _super);\n\t function MdTooltipInvalidPositionError(position) {\n\t _super.call(this, \"Tooltip position \\\"\" + position + \"\\\" is invalid.\");\n\t }\n\t return MdTooltipInvalidPositionError;\n\t}(MdError));\n\t\n\tvar __decorate$66 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$66 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$14 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/** Time in ms to delay before changing the tooltip visibility to hidden */\n\tvar TOUCHEND_HIDE_DELAY = 1500;\n\t/** Time in ms to throttle repositioning after scroll events. */\n\tvar SCROLL_THROTTLE_MS = 20;\n\t/**\n\t * Directive that attaches a material design tooltip to the host element. Animates the showing and\n\t * hiding of a tooltip provided position (defaults to below the element).\n\t *\n\t * https://material.google.com/components/tooltips.html\n\t */\n\tvar MdTooltip = (function () {\n\t function MdTooltip(_overlay, _scrollDispatcher, _elementRef, _viewContainerRef, _ngZone, _dir) {\n\t this._overlay = _overlay;\n\t this._scrollDispatcher = _scrollDispatcher;\n\t this._elementRef = _elementRef;\n\t this._viewContainerRef = _viewContainerRef;\n\t this._ngZone = _ngZone;\n\t this._dir = _dir;\n\t this._position = 'below';\n\t /** The default delay in ms before showing the tooltip after show is called */\n\t this.showDelay = 0;\n\t /** The default delay in ms before hiding the tooltip after hide is called */\n\t this.hideDelay = 0;\n\t }\n\t Object.defineProperty(MdTooltip.prototype, \"position\", {\n\t /** Allows the user to define the position of the tooltip relative to the parent element */\n\t get: function () { return this._position; },\n\t set: function (value) {\n\t if (value !== this._position) {\n\t this._position = value;\n\t // TODO(andrewjs): When the overlay's position can be dynamically changed, do not destroy\n\t // the tooltip.\n\t if (this._tooltipInstance) {\n\t this._disposeTooltip();\n\t }\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_positionDeprecated\", {\n\t /** @deprecated */\n\t get: function () { return this._position; },\n\t set: function (value) { this._position = value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"message\", {\n\t /** The message to be displayed in the tooltip */\n\t get: function () { return this._message; },\n\t set: function (value) {\n\t this._message = value;\n\t if (this._tooltipInstance) {\n\t this._setTooltipMessage(this._message);\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_deprecatedMessage\", {\n\t /** @deprecated */\n\t get: function () { return this.message; },\n\t set: function (v) { this.message = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_matMessage\", {\n\t // Properties with `mat-` prefix for noconflict mode.\n\t get: function () { return this.message; },\n\t set: function (v) { this.message = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_matPosition\", {\n\t // Properties with `mat-` prefix for noconflict mode.\n\t get: function () { return this.position; },\n\t set: function (v) { this.position = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_matHideDelay\", {\n\t // Properties with `mat-` prefix for noconflict mode.\n\t get: function () { return this.hideDelay; },\n\t set: function (v) { this.hideDelay = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdTooltip.prototype, \"_matShowDelay\", {\n\t // Properties with `mat-` prefix for noconflict mode.\n\t get: function () { return this.showDelay; },\n\t set: function (v) { this.showDelay = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdTooltip.prototype.ngOnInit = function () {\n\t var _this = this;\n\t // When a scroll on the page occurs, update the position in case this tooltip needs\n\t // to be repositioned.\n\t this.scrollSubscription = this._scrollDispatcher.scrolled(SCROLL_THROTTLE_MS).subscribe(function () {\n\t if (_this._overlayRef) {\n\t _this._overlayRef.updatePosition();\n\t }\n\t });\n\t };\n\t /**\n\t * Dispose the tooltip when destroyed.\n\t */\n\t MdTooltip.prototype.ngOnDestroy = function () {\n\t if (this._tooltipInstance) {\n\t this._disposeTooltip();\n\t }\n\t this.scrollSubscription.unsubscribe();\n\t };\n\t /** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\n\t MdTooltip.prototype.show = function (delay) {\n\t if (delay === void 0) { delay = this.showDelay; }\n\t if (!this._message || !this._message.trim()) {\n\t return;\n\t }\n\t if (!this._tooltipInstance) {\n\t this._createTooltip();\n\t }\n\t this._setTooltipMessage(this._message);\n\t this._tooltipInstance.show(this._position, delay);\n\t };\n\t /** Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input */\n\t MdTooltip.prototype.hide = function (delay) {\n\t if (delay === void 0) { delay = this.hideDelay; }\n\t if (this._tooltipInstance) {\n\t this._tooltipInstance.hide(delay);\n\t }\n\t };\n\t /** Shows/hides the tooltip */\n\t MdTooltip.prototype.toggle = function () {\n\t this._isTooltipVisible() ? this.hide() : this.show();\n\t };\n\t /** Returns true if the tooltip is currently visible to the user */\n\t MdTooltip.prototype._isTooltipVisible = function () {\n\t return this._tooltipInstance && this._tooltipInstance.isVisible();\n\t };\n\t /** Create the tooltip to display */\n\t MdTooltip.prototype._createTooltip = function () {\n\t var _this = this;\n\t this._createOverlay();\n\t var portal = new ComponentPortal(TooltipComponent, this._viewContainerRef);\n\t this._tooltipInstance = this._overlayRef.attach(portal).instance;\n\t // Dispose the overlay when finished the shown tooltip.\n\t this._tooltipInstance.afterHidden().subscribe(function () {\n\t // Check first if the tooltip has already been removed through this components destroy.\n\t if (_this._tooltipInstance) {\n\t _this._disposeTooltip();\n\t }\n\t });\n\t };\n\t /** Create the overlay config and position strategy */\n\t MdTooltip.prototype._createOverlay = function () {\n\t var _this = this;\n\t var origin = this._getOrigin();\n\t var position = this._getOverlayPosition();\n\t // Create connected position strategy that listens for scroll events to reposition.\n\t // After position changes occur and the overlay is clipped by a parent scrollable then\n\t // close the tooltip.\n\t var strategy = this._overlay.position().connectedTo(this._elementRef, origin, position);\n\t strategy.withScrollableContainers(this._scrollDispatcher.getScrollContainers(this._elementRef));\n\t strategy.onPositionChange.subscribe(function (change) {\n\t if (change.scrollableViewProperties.isOverlayClipped &&\n\t _this._tooltipInstance && _this._tooltipInstance.isVisible()) {\n\t _this.hide(0);\n\t }\n\t });\n\t var config = new OverlayState();\n\t config.positionStrategy = strategy;\n\t this._overlayRef = this._overlay.create(config);\n\t };\n\t /** Disposes the current tooltip and the overlay it is attached to */\n\t MdTooltip.prototype._disposeTooltip = function () {\n\t this._overlayRef.dispose();\n\t this._overlayRef = null;\n\t this._tooltipInstance = null;\n\t };\n\t /** Returns the origin position based on the user's position preference */\n\t MdTooltip.prototype._getOrigin = function () {\n\t if (this.position == 'above' || this.position == 'below') {\n\t return { originX: 'center', originY: this.position == 'above' ? 'top' : 'bottom' };\n\t }\n\t var isDirectionLtr = !this._dir || this._dir.value == 'ltr';\n\t if (this.position == 'left' ||\n\t this.position == 'before' && isDirectionLtr ||\n\t this.position == 'after' && !isDirectionLtr) {\n\t return { originX: 'start', originY: 'center' };\n\t }\n\t if (this.position == 'right' ||\n\t this.position == 'after' && isDirectionLtr ||\n\t this.position == 'before' && !isDirectionLtr) {\n\t return { originX: 'end', originY: 'center' };\n\t }\n\t throw new MdTooltipInvalidPositionError(this.position);\n\t };\n\t /** Returns the overlay position based on the user's preference */\n\t MdTooltip.prototype._getOverlayPosition = function () {\n\t if (this.position == 'above') {\n\t return { overlayX: 'center', overlayY: 'bottom' };\n\t }\n\t if (this.position == 'below') {\n\t return { overlayX: 'center', overlayY: 'top' };\n\t }\n\t var isLtr = !this._dir || this._dir.value == 'ltr';\n\t if (this.position == 'left' ||\n\t this.position == 'before' && isLtr ||\n\t this.position == 'after' && !isLtr) {\n\t return { overlayX: 'end', overlayY: 'center' };\n\t }\n\t if (this.position == 'right' ||\n\t this.position == 'after' && isLtr ||\n\t this.position == 'before' && !isLtr) {\n\t return { overlayX: 'start', overlayY: 'center' };\n\t }\n\t throw new MdTooltipInvalidPositionError(this.position);\n\t };\n\t /** Updates the tooltip message and repositions the overlay according to the new message length */\n\t MdTooltip.prototype._setTooltipMessage = function (message) {\n\t var _this = this;\n\t // Must wait for the message to be painted to the tooltip so that the overlay can properly\n\t // calculate the correct positioning based on the size of the text.\n\t this._tooltipInstance.message = message;\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t if (_this._tooltipInstance) {\n\t _this._overlayRef.updatePosition();\n\t }\n\t });\n\t };\n\t __decorate$66([\n\t _angular_core.Input('mdTooltipPosition'), \n\t __metadata$66('design:type', String)\n\t ], MdTooltip.prototype, \"position\", null);\n\t __decorate$66([\n\t _angular_core.Input('tooltip-position'), \n\t __metadata$66('design:type', String)\n\t ], MdTooltip.prototype, \"_positionDeprecated\", null);\n\t __decorate$66([\n\t _angular_core.Input('mdTooltipShowDelay'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"showDelay\", void 0);\n\t __decorate$66([\n\t _angular_core.Input('mdTooltipHideDelay'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"hideDelay\", void 0);\n\t __decorate$66([\n\t _angular_core.Input('mdTooltip'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"message\", null);\n\t __decorate$66([\n\t _angular_core.Input('md-tooltip'), \n\t __metadata$66('design:type', String)\n\t ], MdTooltip.prototype, \"_deprecatedMessage\", null);\n\t __decorate$66([\n\t _angular_core.Input('matTooltip'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"_matMessage\", null);\n\t __decorate$66([\n\t _angular_core.Input('matTooltipPosition'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"_matPosition\", null);\n\t __decorate$66([\n\t _angular_core.Input('matTooltipHideDelay'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"_matHideDelay\", null);\n\t __decorate$66([\n\t _angular_core.Input('matTooltipShowDelay'), \n\t __metadata$66('design:type', Object)\n\t ], MdTooltip.prototype, \"_matShowDelay\", null);\n\t MdTooltip = __decorate$66([\n\t _angular_core.Directive({\n\t selector: '[md-tooltip], [mdTooltip], [mat-tooltip], [matTooltip]',\n\t host: {\n\t '(longpress)': 'show()',\n\t '(touchend)': 'hide(' + TOUCHEND_HIDE_DELAY + ')',\n\t '(mouseenter)': 'show()',\n\t '(mouseleave)': 'hide()',\n\t },\n\t exportAs: 'mdTooltip',\n\t }),\n\t __param$14(5, _angular_core.Optional()), \n\t __metadata$66('design:paramtypes', [Overlay, ScrollDispatcher, _angular_core.ElementRef, _angular_core.ViewContainerRef, _angular_core.NgZone, Dir])\n\t ], MdTooltip);\n\t return MdTooltip;\n\t}());\n\t/**\n\t * Internal component that wraps the tooltip's content.\n\t * @docs-private\n\t */\n\tvar TooltipComponent = (function () {\n\t function TooltipComponent(_dir, _changeDetectorRef) {\n\t this._dir = _dir;\n\t this._changeDetectorRef = _changeDetectorRef;\n\t /** Property watched by the animation framework to show or hide the tooltip */\n\t this._visibility = 'initial';\n\t /** Whether interactions on the page should close the tooltip */\n\t this._closeOnInteraction = false;\n\t /** The transform origin used in the animation for showing and hiding the tooltip */\n\t this._transformOrigin = 'bottom';\n\t /** Subject for notifying that the tooltip has been hidden from the view */\n\t this._onHide = new rxjs_Subject.Subject();\n\t }\n\t /**\n\t * Shows the tooltip with an animation originating from the provided origin\n\t * @param position Position of the tooltip.\n\t * @param delay Amount of milliseconds to the delay showing the tooltip.\n\t */\n\t TooltipComponent.prototype.show = function (position, delay) {\n\t var _this = this;\n\t // Cancel the delayed hide if it is scheduled\n\t if (this._hideTimeoutId) {\n\t clearTimeout(this._hideTimeoutId);\n\t }\n\t // Body interactions should cancel the tooltip if there is a delay in showing.\n\t this._closeOnInteraction = true;\n\t this._setTransformOrigin(position);\n\t this._showTimeoutId = setTimeout(function () {\n\t _this._visibility = 'visible';\n\t // If this was set to true immediately, then a body click that triggers show() would\n\t // trigger interaction and close the tooltip right after it was displayed.\n\t _this._closeOnInteraction = false;\n\t // Mark for check so if any parent component has set the\n\t // ChangeDetectionStrategy to OnPush it will be checked anyways\n\t _this._changeDetectorRef.markForCheck();\n\t setTimeout(function () { _this._closeOnInteraction = true; }, 0);\n\t }, delay);\n\t };\n\t /**\n\t * Begins the animation to hide the tooltip after the provided delay in ms.\n\t * @param delay Amount of milliseconds to delay showing the tooltip.\n\t */\n\t TooltipComponent.prototype.hide = function (delay) {\n\t var _this = this;\n\t // Cancel the delayed show if it is scheduled\n\t if (this._showTimeoutId) {\n\t clearTimeout(this._showTimeoutId);\n\t }\n\t this._hideTimeoutId = setTimeout(function () {\n\t _this._visibility = 'hidden';\n\t _this._closeOnInteraction = false;\n\t // Mark for check so if any parent component has set the\n\t // ChangeDetectionStrategy to OnPush it will be checked anyways\n\t _this._changeDetectorRef.markForCheck();\n\t }, delay);\n\t };\n\t /**\n\t * Returns an observable that notifies when the tooltip has been hidden from view\n\t */\n\t TooltipComponent.prototype.afterHidden = function () {\n\t return this._onHide.asObservable();\n\t };\n\t /**\n\t * Whether the tooltip is being displayed\n\t */\n\t TooltipComponent.prototype.isVisible = function () {\n\t return this._visibility === 'visible';\n\t };\n\t /** Sets the tooltip transform origin according to the tooltip position */\n\t TooltipComponent.prototype._setTransformOrigin = function (value) {\n\t var isLtr = !this._dir || this._dir.value == 'ltr';\n\t switch (value) {\n\t case 'before':\n\t this._transformOrigin = isLtr ? 'right' : 'left';\n\t break;\n\t case 'after':\n\t this._transformOrigin = isLtr ? 'left' : 'right';\n\t break;\n\t case 'left':\n\t this._transformOrigin = 'right';\n\t break;\n\t case 'right':\n\t this._transformOrigin = 'left';\n\t break;\n\t case 'above':\n\t this._transformOrigin = 'bottom';\n\t break;\n\t case 'below':\n\t this._transformOrigin = 'top';\n\t break;\n\t default: throw new MdTooltipInvalidPositionError(value);\n\t }\n\t };\n\t TooltipComponent.prototype._afterVisibilityAnimation = function (e) {\n\t if (e.toState === 'hidden' && !this.isVisible()) {\n\t this._onHide.next();\n\t }\n\t };\n\t /**\n\t * Interactions on the HTML body should close the tooltip immediately as defined in the\n\t * material design spec.\n\t * https://material.google.com/components/tooltips.html#tooltips-interaction\n\t */\n\t TooltipComponent.prototype._handleBodyInteraction = function () {\n\t if (this._closeOnInteraction) {\n\t this.hide(0);\n\t }\n\t };\n\t TooltipComponent = __decorate$66([\n\t _angular_core.Component({selector: 'md-tooltip-component, mat-tooltip-component',\n\t template: \"<div class=\\\"mat-tooltip\\\" [style.transform-origin]=\\\"_transformOrigin\\\" [@state]=\\\"_visibility\\\" (@state.done)=\\\"_afterVisibilityAnimation($event)\\\">{{message}}</div>\",\n\t styles: [\":host{pointer-events:none}.mat-tooltip{color:#fff;padding:6px 8px;border-radius:2px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-size:10px;margin:14px;max-width:250px}@media screen and (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}\"],\n\t animations: [\n\t _angular_core.trigger('state', [\n\t _angular_core.state('void', _angular_core.style({ transform: 'scale(0)' })),\n\t _angular_core.state('initial', _angular_core.style({ transform: 'scale(0)' })),\n\t _angular_core.state('visible', _angular_core.style({ transform: 'scale(1)' })),\n\t _angular_core.state('hidden', _angular_core.style({ transform: 'scale(0)' })),\n\t _angular_core.transition('* => visible', _angular_core.animate('150ms cubic-bezier(0.0, 0.0, 0.2, 1)')),\n\t _angular_core.transition('* => hidden', _angular_core.animate('150ms cubic-bezier(0.4, 0.0, 1, 1)')),\n\t ])\n\t ],\n\t host: {\n\t '(body:click)': 'this._handleBodyInteraction()'\n\t }\n\t }),\n\t __param$14(0, _angular_core.Optional()), \n\t __metadata$66('design:paramtypes', [Dir, _angular_core.ChangeDetectorRef])\n\t ], TooltipComponent);\n\t return TooltipComponent;\n\t}());\n\tvar MdTooltipModule = (function () {\n\t function MdTooltipModule() {\n\t }\n\t /** @deprecated */\n\t MdTooltipModule.forRoot = function () {\n\t return {\n\t ngModule: MdTooltipModule,\n\t providers: []\n\t };\n\t };\n\t MdTooltipModule = __decorate$66([\n\t _angular_core.NgModule({\n\t imports: [OverlayModule, CompatibilityModule],\n\t exports: [MdTooltip, TooltipComponent, CompatibilityModule],\n\t declarations: [MdTooltip, TooltipComponent],\n\t entryComponents: [TooltipComponent],\n\t }), \n\t __metadata$66('design:paramtypes', [])\n\t ], MdTooltipModule);\n\t return MdTooltipModule;\n\t}());\n\t\n\tvar __extends$21 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Exception thrown when menu trigger doesn't have a valid md-menu instance\n\t * @docs-private\n\t */\n\tvar MdMenuMissingError = (function (_super) {\n\t __extends$21(MdMenuMissingError, _super);\n\t function MdMenuMissingError() {\n\t _super.call(this, \"md-menu-trigger: must pass in an md-menu instance.\\n\\n Example:\\n <md-menu #menu=\\\"mdMenu\\\"></md-menu>\\n <button [mdMenuTriggerFor]=\\\"menu\\\"></button>\\n \");\n\t }\n\t return MdMenuMissingError;\n\t}(MdError));\n\t/**\n\t * Exception thrown when menu's x-position value isn't valid.\n\t * In other words, it doesn't match 'before' or 'after'.\n\t * @docs-private\n\t */\n\tvar MdMenuInvalidPositionX = (function (_super) {\n\t __extends$21(MdMenuInvalidPositionX, _super);\n\t function MdMenuInvalidPositionX() {\n\t _super.call(this, \"x-position value must be either 'before' or after'.\\n Example: <md-menu x-position=\\\"before\\\" #menu=\\\"mdMenu\\\"></md-menu>\\n \");\n\t }\n\t return MdMenuInvalidPositionX;\n\t}(MdError));\n\t/**\n\t * Exception thrown when menu's y-position value isn't valid.\n\t * In other words, it doesn't match 'above' or 'below'.\n\t * @docs-private\n\t */\n\tvar MdMenuInvalidPositionY = (function (_super) {\n\t __extends$21(MdMenuInvalidPositionY, _super);\n\t function MdMenuInvalidPositionY() {\n\t _super.call(this, \"y-position value must be either 'above' or below'.\\n Example: <md-menu y-position=\\\"above\\\" #menu=\\\"mdMenu\\\"></md-menu>\\n \");\n\t }\n\t return MdMenuInvalidPositionY;\n\t}(MdError));\n\t\n\tvar __decorate$69 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$69 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * This directive is intended to be used inside an md-menu tag.\n\t * It exists mostly to set the role attribute.\n\t */\n\tvar MdMenuItem = (function () {\n\t function MdMenuItem(_renderer, _elementRef) {\n\t this._renderer = _renderer;\n\t this._elementRef = _elementRef;\n\t }\n\t MdMenuItem.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus');\n\t };\n\t Object.defineProperty(MdMenuItem.prototype, \"disabled\", {\n\t // this is necessary to support anchors\n\t /** Whether the menu item is disabled. */\n\t get: function () { return this._disabled; },\n\t set: function (value) {\n\t this._disabled = (value === false || value === undefined) ? null : true;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdMenuItem.prototype, \"isAriaDisabled\", {\n\t /** Sets the aria-disabled property on the menu item. */\n\t get: function () { return String(!!this.disabled); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdMenuItem.prototype, \"_tabindex\", {\n\t get: function () { return this.disabled ? '-1' : '0'; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdMenuItem.prototype._getHostElement = function () {\n\t return this._elementRef.nativeElement;\n\t };\n\t MdMenuItem.prototype._checkDisabled = function (event) {\n\t if (this.disabled) {\n\t event.preventDefault();\n\t event.stopPropagation();\n\t }\n\t };\n\t __decorate$69([\n\t _angular_core.HostBinding('attr.disabled'),\n\t _angular_core.Input(), \n\t __metadata$69('design:type', Boolean)\n\t ], MdMenuItem.prototype, \"disabled\", null);\n\t __decorate$69([\n\t _angular_core.HostBinding('attr.aria-disabled'), \n\t __metadata$69('design:type', String)\n\t ], MdMenuItem.prototype, \"isAriaDisabled\", null);\n\t MdMenuItem = __decorate$69([\n\t _angular_core.Component({selector: '[md-menu-item], [mat-menu-item]',\n\t host: {\n\t 'role': 'menuitem',\n\t '[class.mat-menu-item]': 'true',\n\t '(click)': '_checkDisabled($event)',\n\t '[attr.tabindex]': '_tabindex'\n\t },\n\t template: \"<ng-content></ng-content><div class=\\\"mat-menu-ripple\\\" *ngIf=\\\"!disabled\\\" md-ripple [mdRippleTrigger]=\\\"_getHostElement()\\\"></div>\",\n\t exportAs: 'mdMenuItem'\n\t }), \n\t __metadata$69('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n\t ], MdMenuItem);\n\t return MdMenuItem;\n\t}());\n\t\n\t/**\n\t * Below are all the animations for the md-menu component.\n\t * Animation duration and timing values are based on AngularJS Material.\n\t */\n\t/**\n\t * This animation controls the menu panel's entry and exit from the page.\n\t *\n\t * When the menu panel is added to the DOM, it scales in and fades in its border.\n\t *\n\t * When the menu panel is removed from the DOM, it simply fades out after a brief\n\t * delay to display the ripple.\n\t */\n\t// TODO(kara): switch to :enter and :leave once Mobile Safari is sorted out.\n\tvar transformMenu = _angular_core.trigger('transformMenu', [\n\t _angular_core.state('showing', _angular_core.style({\n\t opacity: 1,\n\t transform: \"scale(1)\"\n\t })),\n\t _angular_core.transition('void => *', [\n\t _angular_core.style({\n\t opacity: 0,\n\t transform: \"scale(0)\"\n\t }),\n\t _angular_core.animate(\"200ms cubic-bezier(0.25, 0.8, 0.25, 1)\")\n\t ]),\n\t _angular_core.transition('* => void', [\n\t _angular_core.animate('50ms 100ms linear', _angular_core.style({ opacity: 0 }))\n\t ])\n\t]);\n\t/**\n\t * This animation fades in the background color and content of the menu panel\n\t * after its containing element is scaled in.\n\t */\n\tvar fadeInItems = _angular_core.trigger('fadeInItems', [\n\t _angular_core.state('showing', _angular_core.style({ opacity: 1 })),\n\t _angular_core.transition('void => *', [\n\t _angular_core.style({ opacity: 0 }),\n\t _angular_core.animate(\"200ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")\n\t ])\n\t]);\n\t\n\t// TODO(kara): prevent-close functionality\n\tvar __decorate$68 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$68 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$15 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tvar MdMenu = (function () {\n\t function MdMenu(posX, posY) {\n\t /** Config object to be passed into the menu's ngClass */\n\t this._classList = {};\n\t /** Position of the menu in the X axis. */\n\t this.positionX = 'after';\n\t /** Position of the menu in the Y axis. */\n\t this.positionY = 'below';\n\t this.overlapTrigger = true;\n\t /** Event emitted when the menu is closed. */\n\t this.close = new _angular_core.EventEmitter();\n\t if (posX) {\n\t this._setPositionX(posX);\n\t }\n\t if (posY) {\n\t this._setPositionY(posY);\n\t }\n\t this.setPositionClasses(this.positionX, this.positionY);\n\t }\n\t MdMenu.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t this._keyManager = new FocusKeyManager(this.items).withWrap();\n\t this._tabSubscription = this._keyManager.tabOut.subscribe(function () {\n\t _this._emitCloseEvent();\n\t });\n\t };\n\t MdMenu.prototype.ngOnDestroy = function () {\n\t this._tabSubscription.unsubscribe();\n\t };\n\t Object.defineProperty(MdMenu.prototype, \"classList\", {\n\t /**\n\t * This method takes classes set on the host md-menu element and applies them on the\n\t * menu template that displays in the overlay container. Otherwise, it's difficult\n\t * to style the containing menu from outside the component.\n\t * @param classes list of class names\n\t */\n\t set: function (classes) {\n\t this._classList = classes.split(' ').reduce(function (obj, className) {\n\t obj[className] = true;\n\t return obj;\n\t }, {});\n\t this.setPositionClasses(this.positionX, this.positionY);\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Focus the first item in the menu. This method is used by the menu trigger\n\t * to focus the first item when the menu is opened by the ENTER key.\n\t */\n\t MdMenu.prototype.focusFirstItem = function () {\n\t this._keyManager.setFirstItemActive();\n\t };\n\t /**\n\t * This emits a close event to which the trigger is subscribed. When emitted, the\n\t * trigger will close the menu.\n\t */\n\t MdMenu.prototype._emitCloseEvent = function () {\n\t this.close.emit();\n\t };\n\t MdMenu.prototype._setPositionX = function (pos) {\n\t if (pos !== 'before' && pos !== 'after') {\n\t throw new MdMenuInvalidPositionX();\n\t }\n\t this.positionX = pos;\n\t };\n\t MdMenu.prototype._setPositionY = function (pos) {\n\t if (pos !== 'above' && pos !== 'below') {\n\t throw new MdMenuInvalidPositionY();\n\t }\n\t this.positionY = pos;\n\t };\n\t /**\n\t * It's necessary to set position-based classes to ensure the menu panel animation\n\t * folds out from the correct direction.\n\t */\n\t MdMenu.prototype.setPositionClasses = function (posX, posY) {\n\t this._classList['mat-menu-before'] = posX == 'before';\n\t this._classList['mat-menu-after'] = posX == 'after';\n\t this._classList['mat-menu-above'] = posY == 'above';\n\t this._classList['mat-menu-below'] = posY == 'below';\n\t };\n\t __decorate$68([\n\t _angular_core.ViewChild(_angular_core.TemplateRef), \n\t __metadata$68('design:type', _angular_core.TemplateRef)\n\t ], MdMenu.prototype, \"templateRef\", void 0);\n\t __decorate$68([\n\t _angular_core.ContentChildren(MdMenuItem), \n\t __metadata$68('design:type', _angular_core.QueryList)\n\t ], MdMenu.prototype, \"items\", void 0);\n\t __decorate$68([\n\t _angular_core.Input(), \n\t __metadata$68('design:type', Object)\n\t ], MdMenu.prototype, \"overlapTrigger\", void 0);\n\t __decorate$68([\n\t _angular_core.Input('class'), \n\t __metadata$68('design:type', String), \n\t __metadata$68('design:paramtypes', [String])\n\t ], MdMenu.prototype, \"classList\", null);\n\t __decorate$68([\n\t _angular_core.Output(), \n\t __metadata$68('design:type', Object)\n\t ], MdMenu.prototype, \"close\", void 0);\n\t MdMenu = __decorate$68([\n\t _angular_core.Component({selector: 'md-menu, mat-menu',\n\t host: { 'role': 'menu' },\n\t template: \"<template><div class=\\\"mat-menu-panel\\\" [ngClass]=\\\"_classList\\\" (keydown)=\\\"_keyManager.onKeydown($event)\\\" (click)=\\\"_emitCloseEvent()\\\" [@transformMenu]=\\\"'showing'\\\"><div class=\\\"mat-menu-content\\\" [@fadeInItems]=\\\"'showing'\\\"><ng-content></ng-content></div></div></template>\",\n\t styles: [\".mat-menu-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh + 48px)}.mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:left top}.mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:left bottom}.mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:right top}.mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:right top}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:left top}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:left bottom}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content{padding-top:8px;padding-bottom:8px}.mat-menu-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;font-size:16px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;text-align:start;text-decoration:none;position:relative}.mat-menu-item[disabled]{cursor:default}.mat-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px}button.mat-menu-item{width:100%}.mat-menu-ripple{position:absolute;top:0;left:0;bottom:0;right:0}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t animations: [\n\t transformMenu,\n\t fadeInItems\n\t ],\n\t exportAs: 'mdMenu'\n\t }),\n\t __param$15(0, _angular_core.Attribute('x-position')),\n\t __param$15(1, _angular_core.Attribute('y-position')), \n\t __metadata$68('design:paramtypes', [String, String])\n\t ], MdMenu);\n\t return MdMenu;\n\t}());\n\t\n\tvar __decorate$70 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$70 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$16 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * This directive is intended to be used in conjunction with an md-menu tag. It is\n\t * responsible for toggling the display of the provided menu instance.\n\t * TODO(andrewseguin): Remove the kebab versions in favor of camelCased attribute selectors\n\t */\n\tvar MdMenuTrigger = (function () {\n\t function MdMenuTrigger(_overlay, _element, _viewContainerRef, _renderer, _dir) {\n\t this._overlay = _overlay;\n\t this._element = _element;\n\t this._viewContainerRef = _viewContainerRef;\n\t this._renderer = _renderer;\n\t this._dir = _dir;\n\t this._menuOpen = false;\n\t // tracking input type is necessary so it's possible to only auto-focus\n\t // the first item of the list when the menu is opened via the keyboard\n\t this._openedByMouse = false;\n\t /** Event emitted when the associated menu is opened. */\n\t this.onMenuOpen = new _angular_core.EventEmitter();\n\t /** Event emitted when the associated menu is closed. */\n\t this.onMenuClose = new _angular_core.EventEmitter();\n\t }\n\t Object.defineProperty(MdMenuTrigger.prototype, \"_deprecatedMdMenuTriggerFor\", {\n\t /** @deprecated */\n\t get: function () { return this.menu; },\n\t set: function (v) { this.menu = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdMenuTrigger.prototype, \"_deprecatedMatMenuTriggerFor\", {\n\t /** @deprecated */\n\t get: function () { return this.menu; },\n\t set: function (v) { this.menu = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdMenuTrigger.prototype, \"_matMenuTriggerFor\", {\n\t // Trigger input for compatibility mode\n\t get: function () { return this.menu; },\n\t set: function (v) { this.menu = v; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdMenuTrigger.prototype.ngAfterViewInit = function () {\n\t var _this = this;\n\t this._checkMenu();\n\t this.menu.close.subscribe(function () { return _this.closeMenu(); });\n\t };\n\t MdMenuTrigger.prototype.ngOnDestroy = function () { this.destroyMenu(); };\n\t Object.defineProperty(MdMenuTrigger.prototype, \"menuOpen\", {\n\t /** Whether the menu is open. */\n\t get: function () { return this._menuOpen; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Toggles the menu between the open and closed states. */\n\t MdMenuTrigger.prototype.toggleMenu = function () {\n\t return this._menuOpen ? this.closeMenu() : this.openMenu();\n\t };\n\t /** Opens the menu. */\n\t MdMenuTrigger.prototype.openMenu = function () {\n\t if (!this._menuOpen) {\n\t this._createOverlay();\n\t this._overlayRef.attach(this._portal);\n\t this._subscribeToBackdrop();\n\t this._initMenu();\n\t }\n\t };\n\t /** Closes the menu. */\n\t MdMenuTrigger.prototype.closeMenu = function () {\n\t if (this._overlayRef) {\n\t this._overlayRef.detach();\n\t this._backdropSubscription.unsubscribe();\n\t this._resetMenu();\n\t }\n\t };\n\t /** Removes the menu from the DOM. */\n\t MdMenuTrigger.prototype.destroyMenu = function () {\n\t if (this._overlayRef) {\n\t this._overlayRef.dispose();\n\t this._overlayRef = null;\n\t this._cleanUpSubscriptions();\n\t }\n\t };\n\t /** Focuses the menu trigger. */\n\t MdMenuTrigger.prototype.focus = function () {\n\t this._renderer.invokeElementMethod(this._element.nativeElement, 'focus');\n\t };\n\t Object.defineProperty(MdMenuTrigger.prototype, \"dir\", {\n\t /** The text direction of the containing app. */\n\t get: function () {\n\t return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * This method ensures that the menu closes when the overlay backdrop is clicked.\n\t * We do not use first() here because doing so would not catch clicks from within\n\t * the menu, and it would fail to unsubscribe properly. Instead, we unsubscribe\n\t * explicitly when the menu is closed or destroyed.\n\t */\n\t MdMenuTrigger.prototype._subscribeToBackdrop = function () {\n\t var _this = this;\n\t this._backdropSubscription = this._overlayRef.backdropClick().subscribe(function () {\n\t _this.closeMenu();\n\t });\n\t };\n\t /**\n\t * This method sets the menu state to open and focuses the first item if\n\t * the menu was opened via the keyboard.\n\t */\n\t MdMenuTrigger.prototype._initMenu = function () {\n\t this._setIsMenuOpen(true);\n\t // Should only set focus if opened via the keyboard, so keyboard users can\n\t // can easily navigate menu items. According to spec, mouse users should not\n\t // see the focus style.\n\t if (!this._openedByMouse) {\n\t this.menu.focusFirstItem();\n\t }\n\t };\n\t \n\t /**\n\t * This method resets the menu when it's closed, most importantly restoring\n\t * focus to the menu trigger if the menu was opened via the keyboard.\n\t */\n\t MdMenuTrigger.prototype._resetMenu = function () {\n\t this._setIsMenuOpen(false);\n\t // Focus only needs to be reset to the host element if the menu was opened\n\t // by the keyboard and manually shifted to the first menu item.\n\t if (!this._openedByMouse) {\n\t this.focus();\n\t }\n\t this._openedByMouse = false;\n\t };\n\t // set state rather than toggle to support triggers sharing a menu\n\t MdMenuTrigger.prototype._setIsMenuOpen = function (isOpen) {\n\t this._menuOpen = isOpen;\n\t this._menuOpen ? this.onMenuOpen.emit() : this.onMenuClose.emit();\n\t };\n\t /**\n\t * This method checks that a valid instance of MdMenu has been passed into\n\t * mdMenuTriggerFor. If not, an exception is thrown.\n\t */\n\t MdMenuTrigger.prototype._checkMenu = function () {\n\t if (!this.menu) {\n\t throw new MdMenuMissingError();\n\t }\n\t };\n\t /**\n\t * This method creates the overlay from the provided menu's template and saves its\n\t * OverlayRef so that it can be attached to the DOM when openMenu is called.\n\t */\n\t MdMenuTrigger.prototype._createOverlay = function () {\n\t if (!this._overlayRef) {\n\t this._portal = new TemplatePortal(this.menu.templateRef, this._viewContainerRef);\n\t var config = this._getOverlayConfig();\n\t this._subscribeToPositions(config.positionStrategy);\n\t this._overlayRef = this._overlay.create(config);\n\t }\n\t };\n\t /**\n\t * This method builds the configuration object needed to create the overlay, the OverlayState.\n\t * @returns OverlayState\n\t */\n\t MdMenuTrigger.prototype._getOverlayConfig = function () {\n\t var overlayState = new OverlayState();\n\t overlayState.positionStrategy = this._getPosition()\n\t .withDirection(this.dir);\n\t overlayState.hasBackdrop = true;\n\t overlayState.backdropClass = 'cdk-overlay-transparent-backdrop';\n\t overlayState.direction = this.dir;\n\t return overlayState;\n\t };\n\t /**\n\t * Listens to changes in the position of the overlay and sets the correct classes\n\t * on the menu based on the new position. This ensures the animation origin is always\n\t * correct, even if a fallback position is used for the overlay.\n\t */\n\t MdMenuTrigger.prototype._subscribeToPositions = function (position) {\n\t var _this = this;\n\t this._positionSubscription = position.onPositionChange.subscribe(function (change) {\n\t var posX = change.connectionPair.originX === 'start' ? 'after' : 'before';\n\t var posY = change.connectionPair.originY === 'top' ? 'below' : 'above';\n\t if (!_this.menu.overlapTrigger) {\n\t posY = posY === 'below' ? 'above' : 'below';\n\t }\n\t _this.menu.setPositionClasses(posX, posY);\n\t });\n\t };\n\t /**\n\t * This method builds the position strategy for the overlay, so the menu is properly connected\n\t * to the trigger.\n\t * @returns ConnectedPositionStrategy\n\t */\n\t MdMenuTrigger.prototype._getPosition = function () {\n\t var _a = this.menu.positionX === 'before' ? ['end', 'start'] : ['start', 'end'], posX = _a[0], fallbackX = _a[1];\n\t var _b = this.menu.positionY === 'above' ? ['bottom', 'top'] : ['top', 'bottom'], overlayY = _b[0], fallbackOverlayY = _b[1];\n\t var originY = overlayY;\n\t var fallbackOriginY = fallbackOverlayY;\n\t if (!this.menu.overlapTrigger) {\n\t originY = overlayY === 'top' ? 'bottom' : 'top';\n\t fallbackOriginY = fallbackOverlayY === 'top' ? 'bottom' : 'top';\n\t }\n\t return this._overlay.position()\n\t .connectedTo(this._element, { originX: posX, originY: originY }, { overlayX: posX, overlayY: overlayY })\n\t .withFallbackPosition({ originX: fallbackX, originY: originY }, { overlayX: fallbackX, overlayY: overlayY })\n\t .withFallbackPosition({ originX: posX, originY: fallbackOriginY }, { overlayX: posX, overlayY: fallbackOverlayY })\n\t .withFallbackPosition({ originX: fallbackX, originY: fallbackOriginY }, { overlayX: fallbackX, overlayY: fallbackOverlayY });\n\t };\n\t MdMenuTrigger.prototype._cleanUpSubscriptions = function () {\n\t if (this._backdropSubscription) {\n\t this._backdropSubscription.unsubscribe();\n\t }\n\t if (this._positionSubscription) {\n\t this._positionSubscription.unsubscribe();\n\t }\n\t };\n\t MdMenuTrigger.prototype._handleMousedown = function (event) {\n\t if (!isFakeMousedownFromScreenReader(event)) {\n\t this._openedByMouse = true;\n\t }\n\t };\n\t __decorate$70([\n\t _angular_core.Input('md-menu-trigger-for'), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"_deprecatedMdMenuTriggerFor\", null);\n\t __decorate$70([\n\t _angular_core.Input('mat-menu-trigger-for'), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"_deprecatedMatMenuTriggerFor\", null);\n\t __decorate$70([\n\t _angular_core.Input('matMenuTriggerFor'), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"_matMenuTriggerFor\", null);\n\t __decorate$70([\n\t _angular_core.Input('mdMenuTriggerFor'), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"menu\", void 0);\n\t __decorate$70([\n\t _angular_core.Output(), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"onMenuOpen\", void 0);\n\t __decorate$70([\n\t _angular_core.Output(), \n\t __metadata$70('design:type', Object)\n\t ], MdMenuTrigger.prototype, \"onMenuClose\", void 0);\n\t MdMenuTrigger = __decorate$70([\n\t _angular_core.Directive({\n\t selector: \"[md-menu-trigger-for], [mat-menu-trigger-for], \\n [mdMenuTriggerFor], [matMenuTriggerFor]\",\n\t host: {\n\t 'aria-haspopup': 'true',\n\t '(mousedown)': '_handleMousedown($event)',\n\t '(click)': 'toggleMenu()',\n\t },\n\t exportAs: 'mdMenuTrigger'\n\t }),\n\t __param$16(4, _angular_core.Optional()), \n\t __metadata$70('design:paramtypes', [Overlay, _angular_core.ElementRef, _angular_core.ViewContainerRef, _angular_core.Renderer, Dir])\n\t ], MdMenuTrigger);\n\t return MdMenuTrigger;\n\t}());\n\t\n\tvar __decorate$67 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$67 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdMenuModule = (function () {\n\t function MdMenuModule() {\n\t }\n\t /** @deprecated */\n\t MdMenuModule.forRoot = function () {\n\t return {\n\t ngModule: MdMenuModule,\n\t providers: [],\n\t };\n\t };\n\t MdMenuModule = __decorate$67([\n\t _angular_core.NgModule({\n\t imports: [OverlayModule, _angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n\t exports: [MdMenu, MdMenuItem, MdMenuTrigger, CompatibilityModule],\n\t declarations: [MdMenu, MdMenuItem, MdMenuTrigger],\n\t }), \n\t __metadata$67('design:paramtypes', [])\n\t ], MdMenuModule);\n\t return MdMenuModule;\n\t}());\n\t\n\t// TODO(jelbourn): resizing\n\t// TODO(jelbourn): afterOpen and beforeClose\n\t/**\n\t * Reference to a dialog opened via the MdDialog service.\n\t */\n\tvar MdDialogRef = (function () {\n\t function MdDialogRef(_overlayRef, config) {\n\t this._overlayRef = _overlayRef;\n\t this.config = config;\n\t /** Subject for notifying the user that the dialog has finished closing. */\n\t this._afterClosed = new rxjs_Subject.Subject();\n\t }\n\t /**\n\t * Close the dialog.\n\t * @param dialogResult Optional result to return to the dialog opener.\n\t */\n\t MdDialogRef.prototype.close = function (dialogResult) {\n\t this._overlayRef.dispose();\n\t this._afterClosed.next(dialogResult);\n\t this._afterClosed.complete();\n\t };\n\t /**\n\t * Gets an observable that is notified when the dialog is finished closing.\n\t */\n\t MdDialogRef.prototype.afterClosed = function () {\n\t return this._afterClosed.asObservable();\n\t };\n\t return MdDialogRef;\n\t}());\n\t\n\tvar MD_DIALOG_DATA = new _angular_core.OpaqueToken('MdDialogData');\n\t/** Custom injector type specifically for instantiating components with a dialog. */\n\tvar DialogInjector = (function () {\n\t function DialogInjector(_parentInjector, _dialogRef, _data) {\n\t this._parentInjector = _parentInjector;\n\t this._dialogRef = _dialogRef;\n\t this._data = _data;\n\t }\n\t DialogInjector.prototype.get = function (token, notFoundValue) {\n\t if (token === MdDialogRef) {\n\t return this._dialogRef;\n\t }\n\t if (token === MD_DIALOG_DATA && this._data) {\n\t return this._data;\n\t }\n\t return this._parentInjector.get(token, notFoundValue);\n\t };\n\t return DialogInjector;\n\t}());\n\t\n\t/**\n\t * Configuration for opening a modal dialog with the MdDialog service.\n\t */\n\tvar MdDialogConfig = (function () {\n\t function MdDialogConfig() {\n\t /** The ARIA role of the dialog element. */\n\t this.role = 'dialog';\n\t /** Whether the user can use escape or clicking outside to close a modal. */\n\t this.disableClose = false;\n\t /** Width of the dialog. */\n\t this.width = '';\n\t /** Height of the dialog. */\n\t this.height = '';\n\t }\n\t return MdDialogConfig;\n\t}());\n\t\n\tvar __extends$23 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * Exception thrown when a ComponentPortal is attached to a DomPortalHost without an origin.\n\t * @docs-private\n\t */\n\tvar MdDialogContentAlreadyAttachedError = (function (_super) {\n\t __extends$23(MdDialogContentAlreadyAttachedError, _super);\n\t function MdDialogContentAlreadyAttachedError() {\n\t _super.call(this, 'Attempting to attach dialog content after content is already attached');\n\t }\n\t return MdDialogContentAlreadyAttachedError;\n\t}(MdError));\n\t\n\tvar __extends$22 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar __decorate$73 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$73 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Internal component that wraps user-provided dialog content.\n\t * @docs-private\n\t */\n\tvar MdDialogContainer = (function (_super) {\n\t __extends$22(MdDialogContainer, _super);\n\t function MdDialogContainer(_ngZone, _renderer) {\n\t _super.call(this);\n\t this._ngZone = _ngZone;\n\t this._renderer = _renderer;\n\t /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n\t this._elementFocusedBeforeDialogWasOpened = null;\n\t }\n\t /**\n\t * Attach a ComponentPortal as content to this dialog container.\n\t * @param portal Portal to be attached as the dialog content.\n\t */\n\t MdDialogContainer.prototype.attachComponentPortal = function (portal) {\n\t if (this._portalHost.hasAttached()) {\n\t throw new MdDialogContentAlreadyAttachedError();\n\t }\n\t var attachResult = this._portalHost.attachComponentPortal(portal);\n\t this._trapFocus();\n\t return attachResult;\n\t };\n\t /**\n\t * Attach a TemplatePortal as content to this dialog container.\n\t * @param portal Portal to be attached as the dialog content.\n\t */\n\t MdDialogContainer.prototype.attachTemplatePortal = function (portal) {\n\t if (this._portalHost.hasAttached()) {\n\t throw new MdDialogContentAlreadyAttachedError();\n\t }\n\t var attachedResult = this._portalHost.attachTemplatePortal(portal);\n\t this._trapFocus();\n\t return attachedResult;\n\t };\n\t /**\n\t * Moves the focus inside the focus trap.\n\t * @private\n\t */\n\t MdDialogContainer.prototype._trapFocus = function () {\n\t var _this = this;\n\t // If were to attempt to focus immediately, then the content of the dialog would not yet be\n\t // ready in instances where change detection has to run first. To deal with this, we simply\n\t // wait for the microtask queue to be empty.\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t _this._elementFocusedBeforeDialogWasOpened = document.activeElement;\n\t _this._focusTrap.focusFirstTabbableElement();\n\t });\n\t };\n\t MdDialogContainer.prototype.ngOnDestroy = function () {\n\t var _this = this;\n\t // When the dialog is destroyed, return focus to the element that originally had it before\n\t // the dialog was opened. Wait for the DOM to finish settling before changing the focus so\n\t // that it doesn't end up back on the <body>. Also note that we need the extra check, because\n\t // IE can set the `activeElement` to null in some cases.\n\t if (this._elementFocusedBeforeDialogWasOpened) {\n\t this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n\t _this._renderer.invokeElementMethod(_this._elementFocusedBeforeDialogWasOpened, 'focus');\n\t });\n\t }\n\t };\n\t __decorate$73([\n\t _angular_core.ViewChild(PortalHostDirective), \n\t __metadata$73('design:type', PortalHostDirective)\n\t ], MdDialogContainer.prototype, \"_portalHost\", void 0);\n\t __decorate$73([\n\t _angular_core.ViewChild(FocusTrap), \n\t __metadata$73('design:type', FocusTrap)\n\t ], MdDialogContainer.prototype, \"_focusTrap\", void 0);\n\t MdDialogContainer = __decorate$73([\n\t _angular_core.Component({selector: 'md-dialog-container, mat-dialog-container',\n\t template: \"<cdk-focus-trap><template cdkPortalHost></template></cdk-focus-trap>\",\n\t styles: [\".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;max-width:80vw;width:100%;height:100%}@media screen and (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto}.mat-dialog-title{font-size:20px;font-weight:700;margin:0 0 20px;display:block}.mat-dialog-actions{padding:12px 0;display:flex}.mat-dialog-actions:last-child{margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}\"],\n\t host: {\n\t '[class.mat-dialog-container]': 'true',\n\t '[attr.role]': 'dialogConfig?.role',\n\t },\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t }), \n\t __metadata$73('design:paramtypes', [_angular_core.NgZone, _angular_core.Renderer])\n\t ], MdDialogContainer);\n\t return MdDialogContainer;\n\t}(BasePortalHost));\n\t\n\tvar __decorate$72 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$72 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$17 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t// TODO(jelbourn): animations\n\t/**\n\t * Service to open Material Design modal dialogs.\n\t */\n\tvar MdDialog = (function () {\n\t function MdDialog(_overlay, _injector, _parentDialog) {\n\t this._overlay = _overlay;\n\t this._injector = _injector;\n\t this._parentDialog = _parentDialog;\n\t this._openDialogsAtThisLevel = [];\n\t this._afterAllClosedAtThisLevel = new rxjs_Subject.Subject();\n\t this._afterOpenAtThisLevel = new rxjs_Subject.Subject();\n\t this._boundKeydown = this._handleKeydown.bind(this);\n\t /** Gets an observable that is notified when a dialog has been opened. */\n\t this.afterOpen = this._afterOpen.asObservable();\n\t /** Gets an observable that is notified when all open dialog have finished closing. */\n\t this.afterAllClosed = this._afterAllClosed.asObservable();\n\t }\n\t Object.defineProperty(MdDialog.prototype, \"_openDialogs\", {\n\t /** Keeps track of the currently-open dialogs. */\n\t get: function () {\n\t return this._parentDialog ? this._parentDialog._openDialogs : this._openDialogsAtThisLevel;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdDialog.prototype, \"_afterOpen\", {\n\t /** Subject for notifying the user that all open dialogs have finished closing. */\n\t get: function () {\n\t return this._parentDialog ? this._parentDialog._afterOpen : this._afterOpenAtThisLevel;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdDialog.prototype, \"_afterAllClosed\", {\n\t /** Subject for notifying the user that a dialog has opened. */\n\t get: function () {\n\t return this._parentDialog ?\n\t this._parentDialog._afterAllClosed : this._afterAllClosedAtThisLevel;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Opens a modal dialog containing the given component.\n\t * @param componentOrTemplateRef Type of the component to load into the dialog,\n\t * or a TemplateRef to instantiate as the dialog content.\n\t * @param config Extra configuration options.\n\t * @returns Reference to the newly-opened dialog.\n\t */\n\t MdDialog.prototype.open = function (componentOrTemplateRef, config) {\n\t var _this = this;\n\t config = _applyConfigDefaults$1(config);\n\t var overlayRef = this._createOverlay(config);\n\t var dialogContainer = this._attachDialogContainer(overlayRef, config);\n\t var dialogRef = this._attachDialogContent(componentOrTemplateRef, dialogContainer, overlayRef, config);\n\t if (!this._openDialogs.length && !this._parentDialog) {\n\t document.addEventListener('keydown', this._boundKeydown);\n\t }\n\t this._openDialogs.push(dialogRef);\n\t dialogRef.afterClosed().subscribe(function () { return _this._removeOpenDialog(dialogRef); });\n\t this._afterOpen.next(dialogRef);\n\t return dialogRef;\n\t };\n\t /**\n\t * Closes all of the currently-open dialogs.\n\t */\n\t MdDialog.prototype.closeAll = function () {\n\t var i = this._openDialogs.length;\n\t while (i--) {\n\t // The `_openDialogs` property isn't updated after close until the rxjs subscription\n\t // runs on the next microtask, in addition to modifying the array as we're going\n\t // through it. We loop through all of them and call close without assuming that\n\t // they'll be removed from the list instantaneously.\n\t this._openDialogs[i].close();\n\t }\n\t };\n\t /**\n\t * Creates the overlay into which the dialog will be loaded.\n\t * @param dialogConfig The dialog configuration.\n\t * @returns A promise resolving to the OverlayRef for the created overlay.\n\t */\n\t MdDialog.prototype._createOverlay = function (dialogConfig) {\n\t var overlayState = this._getOverlayState(dialogConfig);\n\t return this._overlay.create(overlayState);\n\t };\n\t /**\n\t * Attaches an MdDialogContainer to a dialog's already-created overlay.\n\t * @param overlay Reference to the dialog's underlying overlay.\n\t * @param config The dialog configuration.\n\t * @returns A promise resolving to a ComponentRef for the attached container.\n\t */\n\t MdDialog.prototype._attachDialogContainer = function (overlay, config) {\n\t var viewContainer = config ? config.viewContainerRef : null;\n\t var containerPortal = new ComponentPortal(MdDialogContainer, viewContainer);\n\t var containerRef = overlay.attach(containerPortal);\n\t containerRef.instance.dialogConfig = config;\n\t return containerRef.instance;\n\t };\n\t /**\n\t * Attaches the user-provided component to the already-created MdDialogContainer.\n\t * @param componentOrTemplateRef The type of component being loaded into the dialog,\n\t * or a TemplateRef to instantiate as the content.\n\t * @param dialogContainer Reference to the wrapping MdDialogContainer.\n\t * @param overlayRef Reference to the overlay in which the dialog resides.\n\t * @param config The dialog configuration.\n\t * @returns A promise resolving to the MdDialogRef that should be returned to the user.\n\t */\n\t MdDialog.prototype._attachDialogContent = function (componentOrTemplateRef, dialogContainer, overlayRef, config) {\n\t // Create a reference to the dialog we're creating in order to give the user a handle\n\t // to modify and close it.\n\t var dialogRef = new MdDialogRef(overlayRef, config);\n\t if (!config.disableClose) {\n\t // When the dialog backdrop is clicked, we want to close it.\n\t overlayRef.backdropClick().first().subscribe(function () { return dialogRef.close(); });\n\t }\n\t // Set the dialogRef to the container so that it can use the ref to close the dialog.\n\t dialogContainer.dialogRef = dialogRef;\n\t // We create an injector specifically for the component we're instantiating so that it can\n\t // inject the MdDialogRef. This allows a component loaded inside of a dialog to close itself\n\t // and, optionally, to return a value.\n\t var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n\t var dialogInjector = new DialogInjector(userInjector || this._injector, dialogRef, config.data);\n\t if (componentOrTemplateRef instanceof _angular_core.TemplateRef) {\n\t dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null));\n\t }\n\t else {\n\t var contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, null, dialogInjector));\n\t dialogRef.componentInstance = contentRef.instance;\n\t }\n\t return dialogRef;\n\t };\n\t /**\n\t * Creates an overlay state from a dialog config.\n\t * @param dialogConfig The dialog configuration.\n\t * @returns The overlay configuration.\n\t */\n\t MdDialog.prototype._getOverlayState = function (dialogConfig) {\n\t var state$$1 = new OverlayState();\n\t var strategy = this._overlay.position().global();\n\t var position = dialogConfig.position;\n\t state$$1.hasBackdrop = true;\n\t state$$1.positionStrategy = strategy;\n\t if (position && (position.left || position.right)) {\n\t position.left ? strategy.left(position.left) : strategy.right(position.right);\n\t }\n\t else {\n\t strategy.centerHorizontally();\n\t }\n\t if (position && (position.top || position.bottom)) {\n\t position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);\n\t }\n\t else {\n\t strategy.centerVertically();\n\t }\n\t strategy.width(dialogConfig.width).height(dialogConfig.height);\n\t return state$$1;\n\t };\n\t /**\n\t * Removes a dialog from the array of open dialogs.\n\t * @param dialogRef Dialog to be removed.\n\t */\n\t MdDialog.prototype._removeOpenDialog = function (dialogRef) {\n\t var index = this._openDialogs.indexOf(dialogRef);\n\t if (index > -1) {\n\t this._openDialogs.splice(index, 1);\n\t // no open dialogs are left, call next on afterAllClosed Subject\n\t if (!this._openDialogs.length) {\n\t this._afterAllClosed.next();\n\t document.removeEventListener('keydown', this._boundKeydown);\n\t }\n\t }\n\t };\n\t /**\n\t * Handles global key presses while there are open dialogs. Closes the\n\t * top dialog when the user presses escape.\n\t */\n\t MdDialog.prototype._handleKeydown = function (event) {\n\t var topDialog = this._openDialogs[this._openDialogs.length - 1];\n\t if (event.keyCode === ESCAPE && topDialog && !topDialog.config.disableClose) {\n\t topDialog.close();\n\t }\n\t };\n\t MdDialog = __decorate$72([\n\t _angular_core.Injectable(),\n\t __param$17(2, _angular_core.Optional()),\n\t __param$17(2, _angular_core.SkipSelf()), \n\t __metadata$72('design:paramtypes', [Overlay, _angular_core.Injector, MdDialog])\n\t ], MdDialog);\n\t return MdDialog;\n\t}());\n\t/**\n\t * Applies default options to the dialog config.\n\t * @param dialogConfig Config to be modified.\n\t * @returns The new configuration object.\n\t */\n\tfunction _applyConfigDefaults$1(dialogConfig) {\n\t return extendObject(new MdDialogConfig(), dialogConfig);\n\t}\n\t\n\tvar __decorate$74 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$74 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Button that will close the current dialog.\n\t */\n\tvar MdDialogClose = (function () {\n\t function MdDialogClose(dialogRef) {\n\t this.dialogRef = dialogRef;\n\t /** Screenreader label for the button. */\n\t this.ariaLabel = 'Close dialog';\n\t }\n\t __decorate$74([\n\t _angular_core.Input('aria-label'), \n\t __metadata$74('design:type', String)\n\t ], MdDialogClose.prototype, \"ariaLabel\", void 0);\n\t MdDialogClose = __decorate$74([\n\t _angular_core.Directive({\n\t selector: 'button[md-dialog-close], button[mat-dialog-close]',\n\t host: {\n\t '(click)': 'dialogRef.close()',\n\t '[attr.aria-label]': 'ariaLabel',\n\t 'type': 'button',\n\t }\n\t }), \n\t __metadata$74('design:paramtypes', [MdDialogRef])\n\t ], MdDialogClose);\n\t return MdDialogClose;\n\t}());\n\t/**\n\t * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n\t */\n\tvar MdDialogTitle = (function () {\n\t function MdDialogTitle() {\n\t }\n\t MdDialogTitle = __decorate$74([\n\t _angular_core.Directive({\n\t selector: '[md-dialog-title], [mat-dialog-title]',\n\t host: {\n\t '[class.mat-dialog-title]': 'true'\n\t }\n\t }), \n\t __metadata$74('design:paramtypes', [])\n\t ], MdDialogTitle);\n\t return MdDialogTitle;\n\t}());\n\t/**\n\t * Scrollable content container of a dialog.\n\t */\n\tvar MdDialogContent = (function () {\n\t function MdDialogContent() {\n\t }\n\t MdDialogContent = __decorate$74([\n\t _angular_core.Directive({\n\t selector: '[md-dialog-content], md-dialog-content, [mat-dialog-content], mat-dialog-content',\n\t host: {\n\t '[class.mat-dialog-content]': 'true'\n\t }\n\t }), \n\t __metadata$74('design:paramtypes', [])\n\t ], MdDialogContent);\n\t return MdDialogContent;\n\t}());\n\t/**\n\t * Container for the bottom action buttons in a dialog.\n\t * Stays fixed to the bottom when scrolling.\n\t */\n\tvar MdDialogActions = (function () {\n\t function MdDialogActions() {\n\t }\n\t MdDialogActions = __decorate$74([\n\t _angular_core.Directive({\n\t selector: '[md-dialog-actions], md-dialog-actions, [mat-dialog-actions], mat-dialog-actions',\n\t host: {\n\t '[class.mat-dialog-actions]': 'true'\n\t }\n\t }), \n\t __metadata$74('design:paramtypes', [])\n\t ], MdDialogActions);\n\t return MdDialogActions;\n\t}());\n\t\n\tvar __decorate$71 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$71 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdDialogModule = (function () {\n\t function MdDialogModule() {\n\t }\n\t /** @deprecated */\n\t MdDialogModule.forRoot = function () {\n\t return {\n\t ngModule: MdDialogModule,\n\t providers: [],\n\t };\n\t };\n\t MdDialogModule = __decorate$71([\n\t _angular_core.NgModule({\n\t imports: [\n\t OverlayModule,\n\t PortalModule,\n\t A11yModule,\n\t CompatibilityModule,\n\t ],\n\t exports: [\n\t MdDialogContainer,\n\t MdDialogClose,\n\t MdDialogTitle,\n\t MdDialogContent,\n\t MdDialogActions,\n\t CompatibilityModule,\n\t ],\n\t declarations: [\n\t MdDialogContainer,\n\t MdDialogClose,\n\t MdDialogTitle,\n\t MdDialogActions,\n\t MdDialogContent,\n\t ],\n\t providers: [\n\t MdDialog,\n\t ],\n\t entryComponents: [MdDialogContainer],\n\t }), \n\t __metadata$71('design:paramtypes', [])\n\t ], MdDialogModule);\n\t return MdDialogModule;\n\t}());\n\t\n\tvar __decorate$76 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$76 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\t/**\n\t * Autocomplete IDs need to be unique across components, so this counter exists outside of\n\t * the component definition.\n\t */\n\tvar _uniqueAutocompleteIdCounter = 0;\n\tvar MdAutocomplete = (function () {\n\t function MdAutocomplete() {\n\t /** Whether the autocomplete panel displays above or below its trigger. */\n\t this.positionY = 'below';\n\t /** Whether the autocomplete panel should be visible, depending on option length. */\n\t this.showPanel = false;\n\t /** Unique ID to be used by autocomplete trigger's \"aria-owns\" property. */\n\t this.id = \"md-autocomplete-\" + _uniqueAutocompleteIdCounter++;\n\t }\n\t /**\n\t * Sets the panel scrollTop. This allows us to manually scroll to display\n\t * options below the fold, as they are not actually being focused when active.\n\t */\n\t MdAutocomplete.prototype._setScrollTop = function (scrollTop) {\n\t if (this.panel) {\n\t this.panel.nativeElement.scrollTop = scrollTop;\n\t }\n\t };\n\t /** Panel should hide itself when the option list is empty. */\n\t MdAutocomplete.prototype._setVisibility = function () {\n\t var _this = this;\n\t Promise.resolve().then(function () { return _this.showPanel = !!_this.options.length; });\n\t };\n\t /** Sets a class on the panel based on its position (used to set y-offset). */\n\t MdAutocomplete.prototype._getClassList = function () {\n\t return {\n\t 'mat-autocomplete-panel-below': this.positionY === 'below',\n\t 'mat-autocomplete-panel-above': this.positionY === 'above',\n\t 'mat-autocomplete-visible': this.showPanel,\n\t 'mat-autocomplete-hidden': !this.showPanel\n\t };\n\t };\n\t __decorate$76([\n\t _angular_core.ViewChild(_angular_core.TemplateRef), \n\t __metadata$76('design:type', _angular_core.TemplateRef)\n\t ], MdAutocomplete.prototype, \"template\", void 0);\n\t __decorate$76([\n\t _angular_core.ViewChild('panel'), \n\t __metadata$76('design:type', _angular_core.ElementRef)\n\t ], MdAutocomplete.prototype, \"panel\", void 0);\n\t __decorate$76([\n\t _angular_core.ContentChildren(MdOption), \n\t __metadata$76('design:type', _angular_core.QueryList)\n\t ], MdAutocomplete.prototype, \"options\", void 0);\n\t __decorate$76([\n\t _angular_core.Input(), \n\t __metadata$76('design:type', Function)\n\t ], MdAutocomplete.prototype, \"displayWith\", void 0);\n\t MdAutocomplete = __decorate$76([\n\t _angular_core.Component({selector: 'md-autocomplete, mat-autocomplete',\n\t template: \"<template><div class=\\\"mat-autocomplete-panel\\\" role=\\\"listbox\\\" [id]=\\\"id\\\" [ngClass]=\\\"_getClassList()\\\" #panel><ng-content></ng-content></div></template>\",\n\t styles: [\".mat-autocomplete-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-height:256px;position:relative}.mat-autocomplete-panel.mat-autocomplete-panel-below{top:6px}.mat-autocomplete-panel.mat-autocomplete-panel-above{top:-24px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}\"],\n\t encapsulation: _angular_core.ViewEncapsulation.None,\n\t exportAs: 'mdAutocomplete',\n\t host: {\n\t '[class.mat-autocomplete]': 'true'\n\t }\n\t }), \n\t __metadata$76('design:paramtypes', [])\n\t ], MdAutocomplete);\n\t return MdAutocomplete;\n\t}());\n\t\n\tvar __extends$24 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar ActiveDescendantKeyManager = (function (_super) {\n\t __extends$24(ActiveDescendantKeyManager, _super);\n\t function ActiveDescendantKeyManager(items) {\n\t _super.call(this, items);\n\t }\n\t /**\n\t * This method sets the active item to the item at the specified index.\n\t * It also adds active styles to the newly active item and removes active\n\t * styles from the previously active item.\n\t */\n\t ActiveDescendantKeyManager.prototype.setActiveItem = function (index) {\n\t if (this.activeItem) {\n\t this.activeItem.setInactiveStyles();\n\t }\n\t _super.prototype.setActiveItem.call(this, index);\n\t if (this.activeItem) {\n\t this.activeItem.setActiveStyles();\n\t }\n\t };\n\t return ActiveDescendantKeyManager;\n\t}(ListKeyManager));\n\t\n\tvar __decorate$77 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$77 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param$18 = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\t/**\n\t * The following style constants are necessary to save here in order\n\t * to properly calculate the scrollTop of the panel. Because we are not\n\t * actually focusing the active item, scroll must be handled manually.\n\t */\n\t/** The height of each autocomplete option. */\n\tvar AUTOCOMPLETE_OPTION_HEIGHT = 48;\n\t/** The total height of the autocomplete panel. */\n\tvar AUTOCOMPLETE_PANEL_HEIGHT = 256;\n\t/**\n\t * Provider that allows the autocomplete to register as a ControlValueAccessor.\n\t * @docs-private\n\t */\n\tvar MD_AUTOCOMPLETE_VALUE_ACCESSOR = {\n\t provide: _angular_forms.NG_VALUE_ACCESSOR,\n\t useExisting: _angular_core.forwardRef(function () { return MdAutocompleteTrigger; }),\n\t multi: true\n\t};\n\tvar MdAutocompleteTrigger = (function () {\n\t function MdAutocompleteTrigger(_element, _overlay, _viewContainerRef, _dir, _zone, _inputContainer) {\n\t this._element = _element;\n\t this._overlay = _overlay;\n\t this._viewContainerRef = _viewContainerRef;\n\t this._dir = _dir;\n\t this._zone = _zone;\n\t this._inputContainer = _inputContainer;\n\t this._panelOpen = false;\n\t /** Stream of blur events that should close the panel. */\n\t this._blurStream = new rxjs_Subject.Subject();\n\t /** View -> model callback called when value changes */\n\t this._onChange = function (value) { };\n\t /** View -> model callback called when autocomplete has been touched */\n\t this._onTouched = function () { };\n\t }\n\t Object.defineProperty(MdAutocompleteTrigger.prototype, \"_matAutocomplete\", {\n\t /** Property with mat- prefix for no-conflict mode. */\n\t get: function () {\n\t return this.autocomplete;\n\t },\n\t set: function (autocomplete) {\n\t this.autocomplete = autocomplete;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t MdAutocompleteTrigger.prototype.ngAfterContentInit = function () {\n\t this._keyManager = new ActiveDescendantKeyManager(this.autocomplete.options).withWrap();\n\t };\n\t MdAutocompleteTrigger.prototype.ngOnDestroy = function () {\n\t if (this._panelPositionSubscription) {\n\t this._panelPositionSubscription.unsubscribe();\n\t }\n\t this._destroyPanel();\n\t };\n\t Object.defineProperty(MdAutocompleteTrigger.prototype, \"panelOpen\", {\n\t /* Whether or not the autocomplete panel is open. */\n\t get: function () {\n\t return this._panelOpen;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /** Opens the autocomplete suggestion panel. */\n\t MdAutocompleteTrigger.prototype.openPanel = function () {\n\t if (!this._overlayRef) {\n\t this._createOverlay();\n\t }\n\t if (!this._overlayRef.hasAttached()) {\n\t this._overlayRef.attach(this._portal);\n\t this._subscribeToClosingActions();\n\t }\n\t this._panelOpen = true;\n\t this._floatPlaceholder('always');\n\t };\n\t /** Closes the autocomplete suggestion panel. */\n\t MdAutocompleteTrigger.prototype.closePanel = function () {\n\t if (this._overlayRef && this._overlayRef.hasAttached()) {\n\t this._overlayRef.detach();\n\t }\n\t this._panelOpen = false;\n\t this._floatPlaceholder('auto');\n\t };\n\t Object.defineProperty(MdAutocompleteTrigger.prototype, \"panelClosingActions\", {\n\t /**\n\t * A stream of actions that should close the autocomplete panel, including\n\t * when an option is selected, on blur, and when TAB is pressed.\n\t */\n\t get: function () {\n\t return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, this.optionSelections.concat([this._blurStream.asObservable(), this._keyManager.tabOut]));\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdAutocompleteTrigger.prototype, \"optionSelections\", {\n\t /** Stream of autocomplete option selections. */\n\t get: function () {\n\t return this.autocomplete.options.map(function (option) { return option.onSelect; });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(MdAutocompleteTrigger.prototype, \"activeOption\", {\n\t /** The currently active option, coerced to MdOption type. */\n\t get: function () {\n\t return this._keyManager.activeItem;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Sets the autocomplete's value. Part of the ControlValueAccessor interface\n\t * required to integrate with Angular's core forms API.\n\t *\n\t * @param value New value to be written to the model.\n\t */\n\t MdAutocompleteTrigger.prototype.writeValue = function (value) {\n\t var _this = this;\n\t Promise.resolve(null).then(function () { return _this._setTriggerValue(value); });\n\t };\n\t /**\n\t * Saves a callback function to be invoked when the autocomplete's value\n\t * changes from user input. Part of the ControlValueAccessor interface\n\t * required to integrate with Angular's core forms API.\n\t *\n\t * @param fn Callback to be triggered when the value changes.\n\t */\n\t MdAutocompleteTrigger.prototype.registerOnChange = function (fn) {\n\t this._onChange = fn;\n\t };\n\t /**\n\t * Saves a callback function to be invoked when the autocomplete is blurred\n\t * by the user. Part of the ControlValueAccessor interface required\n\t * to integrate with Angular's core forms API.\n\t *\n\t * @param fn Callback to be triggered when the component has been touched.\n\t */\n\t MdAutocompleteTrigger.prototype.registerOnTouched = function (fn) {\n\t this._onTouched = fn;\n\t };\n\t MdAutocompleteTrigger.prototype._handleKeydown = function (event) {\n\t if (this.activeOption && event.keyCode === ENTER) {\n\t this.activeOption._selectViaInteraction();\n\t }\n\t else {\n\t this._keyManager.onKeydown(event);\n\t if (event.keyCode === UP_ARROW || event.keyCode === DOWN_ARROW) {\n\t this.openPanel();\n\t this._scrollToOption();\n\t }\n\t }\n\t };\n\t MdAutocompleteTrigger.prototype._handleInput = function (value) {\n\t this._onChange(value);\n\t this.openPanel();\n\t };\n\t MdAutocompleteTrigger.prototype._handleBlur = function (newlyFocusedTag) {\n\t this._onTouched();\n\t // Only emit blur event if the new focus is *not* on an option.\n\t if (newlyFocusedTag !== 'MD-OPTION') {\n\t this._blurStream.next(null);\n\t }\n\t };\n\t /**\n\t * In \"auto\" mode, the placeholder will animate down as soon as focus is lost.\n\t * This causes the value to jump when selecting an option with the mouse.\n\t * This method manually floats the placeholder until the panel can be closed.\n\t */\n\t MdAutocompleteTrigger.prototype._floatPlaceholder = function (state$$1) {\n\t if (this._inputContainer) {\n\t this._inputContainer.floatPlaceholder = state$$1;\n\t }\n\t };\n\t /**\n\t * Given that we are not actually focusing active options, we must manually adjust scroll\n\t * to reveal options below the fold. First, we find the offset of the option from the top\n\t * of the panel. The new scrollTop will be that offset - the panel height + the option\n\t * height, so the active option will be just visible at the bottom of the panel.\n\t */\n\t MdAutocompleteTrigger.prototype._scrollToOption = function () {\n\t var optionOffset = this._keyManager.activeItemIndex * AUTOCOMPLETE_OPTION_HEIGHT;\n\t var newScrollTop = Math.max(0, optionOffset - AUTOCOMPLETE_PANEL_HEIGHT + AUTOCOMPLETE_OPTION_HEIGHT);\n\t this.autocomplete._setScrollTop(newScrollTop);\n\t };\n\t /**\n\t * This method listens to a stream of panel closing actions and resets the\n\t * stream every time the option list changes.\n\t */\n\t MdAutocompleteTrigger.prototype._subscribeToClosingActions = function () {\n\t var _this = this;\n\t // When the zone is stable initially, and when the option list changes...\n\t rxjs_Observable.Observable.merge(this._zone.onStable.first(), this.autocomplete.options.changes)\n\t .switchMap(function () {\n\t _this._resetPanel();\n\t return _this.panelClosingActions;\n\t })\n\t .first()\n\t .subscribe(function (event) { return _this._setValueAndClose(event); });\n\t };\n\t /** Destroys the autocomplete suggestion panel. */\n\t MdAutocompleteTrigger.prototype._destroyPanel = function () {\n\t if (this._overlayRef) {\n\t this.closePanel();\n\t this._overlayRef.dispose();\n\t this._overlayRef = null;\n\t }\n\t };\n\t MdAutocompleteTrigger.prototype._setTriggerValue = function (value) {\n\t this._element.nativeElement.value =\n\t this.autocomplete.displayWith ? this.autocomplete.displayWith(value) : value;\n\t };\n\t /**\n\t * This method closes the panel, and if a value is specified, also sets the associated\n\t * control to that value. It will also mark the control as dirty if this interaction\n\t * stemmed from the user.\n\t */\n\t MdAutocompleteTrigger.prototype._setValueAndClose = function (event) {\n\t if (event) {\n\t this._setTriggerValue(event.source.value);\n\t this._onChange(event.source.value);\n\t }\n\t this.closePanel();\n\t };\n\t MdAutocompleteTrigger.prototype._createOverlay = function () {\n\t this._portal = new TemplatePortal(this.autocomplete.template, this._viewContainerRef);\n\t this._overlayRef = this._overlay.create(this._getOverlayConfig());\n\t };\n\t MdAutocompleteTrigger.prototype._getOverlayConfig = function () {\n\t var overlayState = new OverlayState();\n\t overlayState.positionStrategy = this._getOverlayPosition();\n\t overlayState.width = this._getHostWidth();\n\t overlayState.direction = this._dir ? this._dir.value : 'ltr';\n\t return overlayState;\n\t };\n\t MdAutocompleteTrigger.prototype._getOverlayPosition = function () {\n\t this._positionStrategy = this._overlay.position().connectedTo(this._element, { originX: 'start', originY: 'bottom' }, { overlayX: 'start', overlayY: 'top' })\n\t .withFallbackPosition({ originX: 'start', originY: 'top' }, { overlayX: 'start', overlayY: 'bottom' });\n\t this._subscribeToPositionChanges(this._positionStrategy);\n\t return this._positionStrategy;\n\t };\n\t /**\n\t * This method subscribes to position changes in the autocomplete panel, so the panel's\n\t * y-offset can be adjusted to match the new position.\n\t */\n\t MdAutocompleteTrigger.prototype._subscribeToPositionChanges = function (strategy) {\n\t var _this = this;\n\t this._panelPositionSubscription = strategy.onPositionChange.subscribe(function (change) {\n\t _this.autocomplete.positionY = change.connectionPair.originY === 'top' ? 'above' : 'below';\n\t });\n\t };\n\t /** Returns the width of the input element, so the panel width can match it. */\n\t MdAutocompleteTrigger.prototype._getHostWidth = function () {\n\t return this._element.nativeElement.getBoundingClientRect().width;\n\t };\n\t /** Reset active item to null so arrow events will activate the correct options.*/\n\t MdAutocompleteTrigger.prototype._resetActiveItem = function () {\n\t this._keyManager.setActiveItem(null);\n\t };\n\t /**\n\t * Resets the active item and re-calculates alignment of the panel in case its size\n\t * has changed due to fewer or greater number of options.\n\t */\n\t MdAutocompleteTrigger.prototype._resetPanel = function () {\n\t this._resetActiveItem();\n\t this._positionStrategy.recalculateLastPosition();\n\t this.autocomplete._setVisibility();\n\t };\n\t __decorate$77([\n\t _angular_core.Input('mdAutocomplete'), \n\t __metadata$77('design:type', MdAutocomplete)\n\t ], MdAutocompleteTrigger.prototype, \"autocomplete\", void 0);\n\t __decorate$77([\n\t _angular_core.Input('matAutocomplete'), \n\t __metadata$77('design:type', MdAutocomplete)\n\t ], MdAutocompleteTrigger.prototype, \"_matAutocomplete\", null);\n\t MdAutocompleteTrigger = __decorate$77([\n\t _angular_core.Directive({\n\t selector: 'input[mdAutocomplete], input[matAutocomplete]',\n\t host: {\n\t 'role': 'combobox',\n\t 'autocomplete': 'off',\n\t 'aria-autocomplete': 'list',\n\t 'aria-multiline': 'false',\n\t '[attr.aria-activedescendant]': 'activeOption?.id',\n\t '[attr.aria-expanded]': 'panelOpen.toString()',\n\t '[attr.aria-owns]': 'autocomplete?.id',\n\t '(focus)': 'openPanel()',\n\t '(blur)': '_handleBlur($event.relatedTarget?.tagName)',\n\t '(input)': '_handleInput($event.target.value)',\n\t '(keydown)': '_handleKeydown($event)',\n\t },\n\t providers: [MD_AUTOCOMPLETE_VALUE_ACCESSOR]\n\t }),\n\t __param$18(3, _angular_core.Optional()),\n\t __param$18(5, _angular_core.Optional()),\n\t __param$18(5, _angular_core.Host()), \n\t __metadata$77('design:paramtypes', [_angular_core.ElementRef, Overlay, _angular_core.ViewContainerRef, Dir, _angular_core.NgZone, MdInputContainer])\n\t ], MdAutocompleteTrigger);\n\t return MdAutocompleteTrigger;\n\t}());\n\t\n\tvar __decorate$75 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$75 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MdAutocompleteModule = (function () {\n\t function MdAutocompleteModule() {\n\t }\n\t /** @deprecated */\n\t MdAutocompleteModule.forRoot = function () {\n\t return {\n\t ngModule: MdAutocompleteModule,\n\t providers: [OVERLAY_PROVIDERS]\n\t };\n\t };\n\t MdAutocompleteModule = __decorate$75([\n\t _angular_core.NgModule({\n\t imports: [MdOptionModule, OverlayModule, CompatibilityModule, _angular_common.CommonModule],\n\t exports: [MdAutocomplete, MdOptionModule, MdAutocompleteTrigger, CompatibilityModule],\n\t declarations: [MdAutocomplete, MdAutocompleteTrigger],\n\t }), \n\t __metadata$75('design:paramtypes', [])\n\t ], MdAutocompleteModule);\n\t return MdAutocompleteModule;\n\t}());\n\t\n\tvar __decorate$30 = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata$30 = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar MATERIAL_MODULES = [\n\t MdAutocompleteModule,\n\t MdButtonModule,\n\t MdButtonToggleModule,\n\t MdCardModule,\n\t MdChipsModule,\n\t MdCheckboxModule,\n\t MdDialogModule,\n\t MdGridListModule,\n\t MdIconModule,\n\t MdInputModule,\n\t MdListModule,\n\t MdMenuModule,\n\t MdProgressBarModule,\n\t MdProgressSpinnerModule,\n\t MdRadioModule,\n\t MdRippleModule,\n\t MdSelectModule,\n\t MdSidenavModule,\n\t MdSliderModule,\n\t MdSlideToggleModule,\n\t MdSnackBarModule,\n\t MdTabsModule,\n\t MdToolbarModule,\n\t MdTooltipModule,\n\t OverlayModule,\n\t PortalModule,\n\t RtlModule,\n\t StyleModule,\n\t A11yModule,\n\t PlatformModule,\n\t ProjectionModule,\n\t CompatibilityModule,\n\t ObserveContentModule\n\t];\n\tvar MaterialRootModule = (function () {\n\t function MaterialRootModule() {\n\t }\n\t MaterialRootModule = __decorate$30([\n\t _angular_core.NgModule({\n\t imports: [\n\t MdAutocompleteModule.forRoot(),\n\t MdButtonModule.forRoot(),\n\t MdCardModule.forRoot(),\n\t MdChipsModule.forRoot(),\n\t MdCheckboxModule.forRoot(),\n\t MdGridListModule.forRoot(),\n\t MdInputModule.forRoot(),\n\t MdListModule.forRoot(),\n\t MdProgressBarModule.forRoot(),\n\t MdProgressSpinnerModule.forRoot(),\n\t MdRippleModule.forRoot(),\n\t MdSelectModule.forRoot(),\n\t MdSidenavModule.forRoot(),\n\t MdTabsModule.forRoot(),\n\t MdToolbarModule.forRoot(),\n\t PortalModule.forRoot(),\n\t ProjectionModule.forRoot(),\n\t RtlModule.forRoot(),\n\t ObserveContentModule.forRoot(),\n\t // These modules include providers.\n\t A11yModule.forRoot(),\n\t MdButtonToggleModule.forRoot(),\n\t MdDialogModule.forRoot(),\n\t MdIconModule.forRoot(),\n\t MdMenuModule.forRoot(),\n\t MdRadioModule.forRoot(),\n\t MdSliderModule.forRoot(),\n\t MdSlideToggleModule.forRoot(),\n\t MdSnackBarModule.forRoot(),\n\t MdTooltipModule.forRoot(),\n\t PlatformModule.forRoot(),\n\t OverlayModule.forRoot(),\n\t CompatibilityModule.forRoot(),\n\t ],\n\t exports: MATERIAL_MODULES,\n\t }), \n\t __metadata$30('design:paramtypes', [])\n\t ], MaterialRootModule);\n\t return MaterialRootModule;\n\t}());\n\tvar MaterialModule = (function () {\n\t function MaterialModule() {\n\t }\n\t /** @deprecated */\n\t MaterialModule.forRoot = function () {\n\t return { ngModule: MaterialRootModule };\n\t };\n\t MaterialModule = __decorate$30([\n\t _angular_core.NgModule({\n\t imports: MATERIAL_MODULES,\n\t exports: MATERIAL_MODULES,\n\t }), \n\t __metadata$30('design:paramtypes', [])\n\t ], MaterialModule);\n\t return MaterialModule;\n\t}());\n\t\n\texports.MdCoreModule = MdCoreModule;\n\texports.Dir = Dir;\n\texports.RtlModule = RtlModule;\n\texports.ObserveContentModule = ObserveContentModule;\n\texports.ObserveContent = ObserveContent;\n\texports.MdOptionModule = MdOptionModule;\n\texports.MdOption = MdOption;\n\texports.Portal = Portal;\n\texports.BasePortalHost = BasePortalHost;\n\texports.ComponentPortal = ComponentPortal;\n\texports.TemplatePortal = TemplatePortal;\n\texports.PortalHostDirective = PortalHostDirective;\n\texports.TemplatePortalDirective = TemplatePortalDirective;\n\texports.PortalModule = PortalModule;\n\texports.DomPortalHost = DomPortalHost;\n\texports.MdPlatform = Platform;\n\texports.Overlay = Overlay;\n\texports.OVERLAY_PROVIDERS = OVERLAY_PROVIDERS;\n\texports.OverlayContainer = OverlayContainer;\n\texports.FullscreenOverlayContainer = FullscreenOverlayContainer;\n\texports.OverlayRef = OverlayRef;\n\texports.OverlayState = OverlayState;\n\texports.ConnectedOverlayDirective = ConnectedOverlayDirective;\n\texports.OverlayOrigin = OverlayOrigin;\n\texports.OverlayModule = OverlayModule;\n\texports.ScrollDispatcher = ScrollDispatcher;\n\texports.GestureConfig = GestureConfig;\n\texports.MdRipple = MdRipple;\n\texports.MdRippleModule = MdRippleModule;\n\texports.LiveAnnouncer = LiveAnnouncer;\n\texports.LIVE_ANNOUNCER_ELEMENT_TOKEN = LIVE_ANNOUNCER_ELEMENT_TOKEN;\n\texports.LIVE_ANNOUNCER_PROVIDER = LIVE_ANNOUNCER_PROVIDER;\n\texports.MdLiveAnnouncer = LiveAnnouncer;\n\texports.FocusTrap = FocusTrap;\n\texports.InteractivityChecker = InteractivityChecker;\n\texports.isFakeMousedownFromScreenReader = isFakeMousedownFromScreenReader;\n\texports.A11yModule = A11yModule;\n\texports.UniqueSelectionDispatcher = UniqueSelectionDispatcher;\n\texports.UNIQUE_SELECTION_DISPATCHER_PROVIDER = UNIQUE_SELECTION_DISPATCHER_PROVIDER;\n\texports.MdUniqueSelectionDispatcher = UniqueSelectionDispatcher;\n\texports.MdLineModule = MdLineModule;\n\texports.MdLine = MdLine;\n\texports.MdLineSetter = MdLineSetter;\n\texports.MdError = MdError;\n\texports.coerceBooleanProperty = coerceBooleanProperty;\n\texports.coerceNumberProperty = coerceNumberProperty;\n\texports.CompatibilityModule = CompatibilityModule;\n\texports.NoConflictStyleCompatibilityMode = NoConflictStyleCompatibilityMode;\n\texports.DomProjectionHost = DomProjectionHost;\n\texports.DomProjection = DomProjection;\n\texports.ProjectionModule = ProjectionModule;\n\texports.PlatformModule = PlatformModule;\n\texports.Platform = Platform;\n\texports.getSupportedInputTypes = getSupportedInputTypes;\n\texports.ConnectedPositionStrategy = ConnectedPositionStrategy;\n\texports.ConnectionPositionPair = ConnectionPositionPair;\n\texports.ScrollableViewProperties = ScrollableViewProperties;\n\texports.ConnectedOverlayPositionChange = ConnectedOverlayPositionChange;\n\texports.SelectionModel = SelectionModel;\n\texports.SelectionChange = SelectionChange;\n\texports.StyleModule = StyleModule;\n\texports.TOUCH_BUFFER_MS = TOUCH_BUFFER_MS;\n\texports.FocusOriginMonitor = FocusOriginMonitor;\n\texports.CdkFocusClasses = CdkFocusClasses;\n\texports.FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY = FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY;\n\texports.FOCUS_ORIGIN_MONITOR_PROVIDER = FOCUS_ORIGIN_MONITOR_PROVIDER;\n\texports.applyCssTransform = applyCssTransform;\n\texports.UP_ARROW = UP_ARROW;\n\texports.DOWN_ARROW = DOWN_ARROW;\n\texports.RIGHT_ARROW = RIGHT_ARROW;\n\texports.LEFT_ARROW = LEFT_ARROW;\n\texports.PAGE_UP = PAGE_UP;\n\texports.PAGE_DOWN = PAGE_DOWN;\n\texports.HOME = HOME;\n\texports.END = END;\n\texports.ENTER = ENTER;\n\texports.SPACE = SPACE;\n\texports.TAB = TAB;\n\texports.ESCAPE = ESCAPE;\n\texports.BACKSPACE = BACKSPACE;\n\texports.DELETE = DELETE;\n\texports.MATERIAL_COMPATIBILITY_MODE = MATERIAL_COMPATIBILITY_MODE;\n\texports.MAT_ELEMENTS_SELECTOR = MAT_ELEMENTS_SELECTOR;\n\texports.MD_ELEMENTS_SELECTOR = MD_ELEMENTS_SELECTOR;\n\texports.MatPrefixRejector = MatPrefixRejector;\n\texports.MdPrefixRejector = MdPrefixRejector;\n\texports.AnimationCurves = AnimationCurves;\n\texports.AnimationDurations = AnimationDurations;\n\texports.MdSelectionModule = MdSelectionModule;\n\texports.MdPseudoCheckbox = MdPseudoCheckbox;\n\texports.MaterialRootModule = MaterialRootModule;\n\texports.MaterialModule = MaterialModule;\n\texports.MdAutocompleteModule = MdAutocompleteModule;\n\texports.MdAutocomplete = MdAutocomplete;\n\texports.AUTOCOMPLETE_OPTION_HEIGHT = AUTOCOMPLETE_OPTION_HEIGHT;\n\texports.AUTOCOMPLETE_PANEL_HEIGHT = AUTOCOMPLETE_PANEL_HEIGHT;\n\texports.MD_AUTOCOMPLETE_VALUE_ACCESSOR = MD_AUTOCOMPLETE_VALUE_ACCESSOR;\n\texports.MdAutocompleteTrigger = MdAutocompleteTrigger;\n\texports.MdButtonCssMatStyler = MdButtonCssMatStyler;\n\texports.MdRaisedButtonCssMatStyler = MdRaisedButtonCssMatStyler;\n\texports.MdIconButtonCssMatStyler = MdIconButtonCssMatStyler;\n\texports.MdFabCssMatStyler = MdFabCssMatStyler;\n\texports.MdMiniFabCssMatStyler = MdMiniFabCssMatStyler;\n\texports.MdButton = MdButton;\n\texports.MdAnchor = MdAnchor;\n\texports.MdButtonModule = MdButtonModule;\n\texports.MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR = MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR;\n\texports.MdButtonToggleChange = MdButtonToggleChange;\n\texports.MdButtonToggleGroup = MdButtonToggleGroup;\n\texports.MdButtonToggleGroupMultiple = MdButtonToggleGroupMultiple;\n\texports.MdButtonToggle = MdButtonToggle;\n\texports.MdButtonToggleModule = MdButtonToggleModule;\n\texports.MdCardContent = MdCardContent;\n\texports.MdCardTitle = MdCardTitle;\n\texports.MdCardSubtitle = MdCardSubtitle;\n\texports.MdCardActions = MdCardActions;\n\texports.MdCardFooter = MdCardFooter;\n\texports.MdCardSmImage = MdCardSmImage;\n\texports.MdCardMdImage = MdCardMdImage;\n\texports.MdCardLgImage = MdCardLgImage;\n\texports.MdCardImage = MdCardImage;\n\texports.MdCardXlImage = MdCardXlImage;\n\texports.MdCardAvatar = MdCardAvatar;\n\texports.MdCard = MdCard;\n\texports.MdCardHeader = MdCardHeader;\n\texports.MdCardTitleGroup = MdCardTitleGroup;\n\texports.MdCardModule = MdCardModule;\n\texports.MdChipList = MdChipList;\n\texports.MdChipsModule = MdChipsModule;\n\texports.MdChip = MdChip;\n\texports.MD_CHECKBOX_CONTROL_VALUE_ACCESSOR = MD_CHECKBOX_CONTROL_VALUE_ACCESSOR;\n\texports.MdCheckboxChange = MdCheckboxChange;\n\texports.MdCheckbox = MdCheckbox;\n\texports.MdCheckboxModule = MdCheckboxModule;\n\texports.MdDialogModule = MdDialogModule;\n\texports.MD_DIALOG_DATA = MD_DIALOG_DATA;\n\texports.MdDialog = MdDialog;\n\texports.MdDialogContainer = MdDialogContainer;\n\texports.MdDialogClose = MdDialogClose;\n\texports.MdDialogTitle = MdDialogTitle;\n\texports.MdDialogContent = MdDialogContent;\n\texports.MdDialogActions = MdDialogActions;\n\texports.MdDialogConfig = MdDialogConfig;\n\texports.MdDialogRef = MdDialogRef;\n\texports.MdGridList = MdGridList;\n\texports.MdGridListModule = MdGridListModule;\n\texports.MdIconInvalidNameError = MdIconInvalidNameError;\n\texports.MdIcon = MdIcon;\n\texports.ICON_REGISTRY_PROVIDER_FACTORY = ICON_REGISTRY_PROVIDER_FACTORY;\n\texports.ICON_REGISTRY_PROVIDER = ICON_REGISTRY_PROVIDER;\n\texports.MdIconModule = MdIconModule;\n\texports.MdIconRegistry = MdIconRegistry;\n\texports.MdInputModule = MdInputModule;\n\texports.MdTextareaAutosize = MdTextareaAutosize;\n\texports.MdPlaceholder = MdPlaceholder;\n\texports.MdHint = MdHint;\n\texports.MdInputDirective = MdInputDirective;\n\texports.MdInputContainer = MdInputContainer;\n\texports.MdInputContainerPlaceholderConflictError = MdInputContainerPlaceholderConflictError;\n\texports.MdInputContainerUnsupportedTypeError = MdInputContainerUnsupportedTypeError;\n\texports.MdInputContainerDuplicatedHintError = MdInputContainerDuplicatedHintError;\n\texports.MdInputContainerMissingMdInputError = MdInputContainerMissingMdInputError;\n\texports.MdListDivider = MdListDivider;\n\texports.MdList = MdList;\n\texports.MdListCssMatStyler = MdListCssMatStyler;\n\texports.MdNavListCssMatStyler = MdNavListCssMatStyler;\n\texports.MdDividerCssMatStyler = MdDividerCssMatStyler;\n\texports.MdListAvatarCssMatStyler = MdListAvatarCssMatStyler;\n\texports.MdListIconCssMatStyler = MdListIconCssMatStyler;\n\texports.MdListSubheaderCssMatStyler = MdListSubheaderCssMatStyler;\n\texports.MdListItem = MdListItem;\n\texports.MdListModule = MdListModule;\n\texports.MdMenuTrigger = MdMenuTrigger;\n\texports.fadeInItems = fadeInItems;\n\texports.transformMenu = transformMenu;\n\texports.MdMenu = MdMenu;\n\texports.MdMenuItem = MdMenuItem;\n\texports.MdMenuModule = MdMenuModule;\n\texports.MdProgressBar = MdProgressBar;\n\texports.MdProgressBarModule = MdProgressBarModule;\n\texports.MdProgressCircle = MdProgressSpinner;\n\texports.MdProgressCircleModule = MdProgressSpinnerModule;\n\texports.MdProgressSpinnerCssMatStyler = MdProgressSpinnerCssMatStyler;\n\texports.MdProgressCircleCssMatStyler = MdProgressCircleCssMatStyler;\n\texports.MdProgressSpinner = MdProgressSpinner;\n\texports.MdSpinner = MdSpinner;\n\texports.MdProgressSpinnerModule = MdProgressSpinnerModule;\n\texports.MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR;\n\texports.MdRadioChange = MdRadioChange;\n\texports.MdRadioGroup = MdRadioGroup;\n\texports.MdRadioButton = MdRadioButton;\n\texports.MdRadioModule = MdRadioModule;\n\texports.MdSelectModule = MdSelectModule;\n\texports.fadeInContent = fadeInContent;\n\texports.transformPanel = transformPanel;\n\texports.transformPlaceholder = transformPlaceholder;\n\texports.SELECT_OPTION_HEIGHT = SELECT_OPTION_HEIGHT;\n\texports.SELECT_PANEL_MAX_HEIGHT = SELECT_PANEL_MAX_HEIGHT;\n\texports.SELECT_MAX_OPTIONS_DISPLAYED = SELECT_MAX_OPTIONS_DISPLAYED;\n\texports.SELECT_TRIGGER_HEIGHT = SELECT_TRIGGER_HEIGHT;\n\texports.SELECT_OPTION_HEIGHT_ADJUSTMENT = SELECT_OPTION_HEIGHT_ADJUSTMENT;\n\texports.SELECT_PANEL_PADDING_X = SELECT_PANEL_PADDING_X;\n\texports.SELECT_PANEL_PADDING_Y = SELECT_PANEL_PADDING_Y;\n\texports.SELECT_PANEL_VIEWPORT_PADDING = SELECT_PANEL_VIEWPORT_PADDING;\n\texports.MdSelectChange = MdSelectChange;\n\texports.MdSelect = MdSelect;\n\texports.MdDuplicatedSidenavError = MdDuplicatedSidenavError;\n\texports.MdSidenavToggleResult = MdSidenavToggleResult;\n\texports.MdSidenav = MdSidenav;\n\texports.MdSidenavContainer = MdSidenavContainer;\n\texports.MdSidenavModule = MdSidenavModule;\n\texports.MD_SLIDER_VALUE_ACCESSOR = MD_SLIDER_VALUE_ACCESSOR;\n\texports.MdSliderChange = MdSliderChange;\n\texports.MdSlider = MdSlider;\n\texports.SliderRenderer = SliderRenderer;\n\texports.MdSliderModule = MdSliderModule;\n\texports.MD_SLIDE_TOGGLE_VALUE_ACCESSOR = MD_SLIDE_TOGGLE_VALUE_ACCESSOR;\n\texports.MdSlideToggleChange = MdSlideToggleChange;\n\texports.MdSlideToggle = MdSlideToggle;\n\texports.MdSlideToggleModule = MdSlideToggleModule;\n\texports.MdSnackBarModule = MdSnackBarModule;\n\texports.MdSnackBar = MdSnackBar;\n\texports.SHOW_ANIMATION = SHOW_ANIMATION;\n\texports.HIDE_ANIMATION = HIDE_ANIMATION;\n\texports.MdSnackBarContainer = MdSnackBarContainer;\n\texports.MdSnackBarConfig = MdSnackBarConfig;\n\texports.MdSnackBarRef = MdSnackBarRef;\n\texports.SimpleSnackBar = SimpleSnackBar;\n\texports.MdInkBar = MdInkBar;\n\texports.MdTabBody = MdTabBody;\n\texports.MdTabHeader = MdTabHeader;\n\texports.MdTabLabelWrapper = MdTabLabelWrapper;\n\texports.MdTab = MdTab;\n\texports.MdTabLabel = MdTabLabel;\n\texports.MdTabChangeEvent = MdTabChangeEvent;\n\texports.MdTabGroup = MdTabGroup;\n\texports.MdTabsModule = MdTabsModule;\n\texports.MdTabNavBar = MdTabNavBar;\n\texports.MdTabLink = MdTabLink;\n\texports.MdTabLinkRipple = MdTabLinkRipple;\n\texports.MdToolbarRow = MdToolbarRow;\n\texports.MdToolbar = MdToolbar;\n\texports.MdToolbarModule = MdToolbarModule;\n\texports.TOUCHEND_HIDE_DELAY = TOUCHEND_HIDE_DELAY;\n\texports.SCROLL_THROTTLE_MS = SCROLL_THROTTLE_MS;\n\texports.MdTooltip = MdTooltip;\n\texports.TooltipComponent = TooltipComponent;\n\texports.MdTooltipModule = MdTooltipModule;\n\t\n\tObject.defineProperty(exports, '__esModule', { value: true });\n\t\n\t})));\n\n\n/***/ },\n/* 288 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar fromEvent_1 = __webpack_require__(289);\n\tObservable_1.Observable.fromEvent = fromEvent_1.fromEvent;\n\t//# sourceMappingURL=fromEvent.js.map\n\n/***/ },\n/* 289 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar FromEventObservable_1 = __webpack_require__(290);\n\texports.fromEvent = FromEventObservable_1.FromEventObservable.create;\n\t//# sourceMappingURL=fromEvent.js.map\n\n/***/ },\n/* 290 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar tryCatch_1 = __webpack_require__(273);\n\tvar isFunction_1 = __webpack_require__(269);\n\tvar errorObject_1 = __webpack_require__(274);\n\tvar Subscription_1 = __webpack_require__(270);\n\tfunction isNodeStyleEventEmmitter(sourceObj) {\n\t return !!sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n\t}\n\tfunction isJQueryStyleEventEmitter(sourceObj) {\n\t return !!sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n\t}\n\tfunction isNodeList(sourceObj) {\n\t return !!sourceObj && sourceObj.toString() === '[object NodeList]';\n\t}\n\tfunction isHTMLCollection(sourceObj) {\n\t return !!sourceObj && sourceObj.toString() === '[object HTMLCollection]';\n\t}\n\tfunction isEventTarget(sourceObj) {\n\t return !!sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n\t}\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar FromEventObservable = (function (_super) {\n\t __extends(FromEventObservable, _super);\n\t function FromEventObservable(sourceObj, eventName, selector, options) {\n\t _super.call(this);\n\t this.sourceObj = sourceObj;\n\t this.eventName = eventName;\n\t this.selector = selector;\n\t this.options = options;\n\t }\n\t /* tslint:enable:max-line-length */\n\t /**\n\t * Creates an Observable that emits events of a specific type coming from the\n\t * given event target.\n\t *\n\t * <span class=\"informal\">Creates an Observable from DOM events, or Node\n\t * EventEmitter events or others.</span>\n\t *\n\t * <img src=\"./img/fromEvent.png\" width=\"100%\">\n\t *\n\t * Creates an Observable by attaching an event listener to an \"event target\",\n\t * which may be an object with `addEventListener` and `removeEventListener`,\n\t * a Node.js EventEmitter, a jQuery style EventEmitter, a NodeList from the\n\t * DOM, or an HTMLCollection from the DOM. The event handler is attached when\n\t * the output Observable is subscribed, and removed when the Subscription is\n\t * unsubscribed.\n\t *\n\t * @example <caption>Emits clicks happening on the DOM document</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * clicks.subscribe(x => console.log(x));\n\t *\n\t * @see {@link from}\n\t * @see {@link fromEventPattern}\n\t *\n\t * @param {EventTargetLike} target The DOMElement, event target, Node.js\n\t * EventEmitter, NodeList or HTMLCollection to attach the event handler to.\n\t * @param {string} eventName The event name of interest, being emitted by the\n\t * `target`.\n\t * @parm {EventListenerOptions} [options] Options to pass through to addEventListener\n\t * @param {SelectorMethodSignature<T>} [selector] An optional function to\n\t * post-process results. It takes the arguments from the event handler and\n\t * should return a single value.\n\t * @return {Observable<T>}\n\t * @static true\n\t * @name fromEvent\n\t * @owner Observable\n\t */\n\t FromEventObservable.create = function (target, eventName, options, selector) {\n\t if (isFunction_1.isFunction(options)) {\n\t selector = options;\n\t options = undefined;\n\t }\n\t return new FromEventObservable(target, eventName, selector, options);\n\t };\n\t FromEventObservable.setupSubscription = function (sourceObj, eventName, handler, subscriber, options) {\n\t var unsubscribe;\n\t if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {\n\t for (var i = 0, len = sourceObj.length; i < len; i++) {\n\t FromEventObservable.setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n\t }\n\t }\n\t else if (isEventTarget(sourceObj)) {\n\t var source_1 = sourceObj;\n\t sourceObj.addEventListener(eventName, handler, options);\n\t unsubscribe = function () { return source_1.removeEventListener(eventName, handler); };\n\t }\n\t else if (isJQueryStyleEventEmitter(sourceObj)) {\n\t var source_2 = sourceObj;\n\t sourceObj.on(eventName, handler);\n\t unsubscribe = function () { return source_2.off(eventName, handler); };\n\t }\n\t else if (isNodeStyleEventEmmitter(sourceObj)) {\n\t var source_3 = sourceObj;\n\t sourceObj.addListener(eventName, handler);\n\t unsubscribe = function () { return source_3.removeListener(eventName, handler); };\n\t }\n\t subscriber.add(new Subscription_1.Subscription(unsubscribe));\n\t };\n\t FromEventObservable.prototype._subscribe = function (subscriber) {\n\t var sourceObj = this.sourceObj;\n\t var eventName = this.eventName;\n\t var options = this.options;\n\t var selector = this.selector;\n\t var handler = selector ? function () {\n\t var args = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t args[_i - 0] = arguments[_i];\n\t }\n\t var result = tryCatch_1.tryCatch(selector).apply(void 0, args);\n\t if (result === errorObject_1.errorObject) {\n\t subscriber.error(errorObject_1.errorObject.e);\n\t }\n\t else {\n\t subscriber.next(result);\n\t }\n\t } : function (e) { return subscriber.next(e); };\n\t FromEventObservable.setupSubscription(sourceObj, eventName, handler, subscriber, options);\n\t };\n\t return FromEventObservable;\n\t}(Observable_1.Observable));\n\texports.FromEventObservable = FromEventObservable;\n\t//# sourceMappingURL=FromEventObservable.js.map\n\n/***/ },\n/* 291 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar auditTime_1 = __webpack_require__(292);\n\tObservable_1.Observable.prototype.auditTime = auditTime_1.auditTime;\n\t//# sourceMappingURL=auditTime.js.map\n\n/***/ },\n/* 292 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar async_1 = __webpack_require__(293);\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Ignores source values for `duration` milliseconds, then emits the most recent\n\t * value from the source Observable, then repeats this process.\n\t *\n\t * <span class=\"informal\">When it sees a source values, it ignores that plus\n\t * the next ones for `duration` milliseconds, and then it emits the most recent\n\t * value from the source.</span>\n\t *\n\t * <img src=\"./img/auditTime.png\" width=\"100%\">\n\t *\n\t * `auditTime` is similar to `throttleTime`, but emits the last value from the\n\t * silenced time window, instead of the first value. `auditTime` emits the most\n\t * recent value from the source Observable on the output Observable as soon as\n\t * its internal timer becomes disabled, and ignores source values while the\n\t * timer is enabled. Initially, the timer is disabled. As soon as the first\n\t * source value arrives, the timer is enabled. After `duration` milliseconds (or\n\t * the time unit determined internally by the optional `scheduler`) has passed,\n\t * the timer is disabled, then the most recent source value is emitted on the\n\t * output Observable, and this process repeats for the next source value.\n\t * Optionally takes a {@link Scheduler} for managing timers.\n\t *\n\t * @example <caption>Emit clicks at a rate of at most one click per second</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var result = clicks.auditTime(1000);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link audit}\n\t * @see {@link debounceTime}\n\t * @see {@link delay}\n\t * @see {@link sampleTime}\n\t * @see {@link throttleTime}\n\t *\n\t * @param {number} duration Time to wait before emitting the most recent source\n\t * value, measured in milliseconds or the time unit determined internally\n\t * by the optional `scheduler`.\n\t * @param {Scheduler} [scheduler=async] The {@link Scheduler} to use for\n\t * managing the timers that handle the rate-limiting behavior.\n\t * @return {Observable<T>} An Observable that performs rate-limiting of\n\t * emissions from the source Observable.\n\t * @method auditTime\n\t * @owner Observable\n\t */\n\tfunction auditTime(duration, scheduler) {\n\t if (scheduler === void 0) { scheduler = async_1.async; }\n\t return this.lift(new AuditTimeOperator(duration, scheduler));\n\t}\n\texports.auditTime = auditTime;\n\tvar AuditTimeOperator = (function () {\n\t function AuditTimeOperator(duration, scheduler) {\n\t this.duration = duration;\n\t this.scheduler = scheduler;\n\t }\n\t AuditTimeOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new AuditTimeSubscriber(subscriber, this.duration, this.scheduler));\n\t };\n\t return AuditTimeOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar AuditTimeSubscriber = (function (_super) {\n\t __extends(AuditTimeSubscriber, _super);\n\t function AuditTimeSubscriber(destination, duration, scheduler) {\n\t _super.call(this, destination);\n\t this.duration = duration;\n\t this.scheduler = scheduler;\n\t this.hasValue = false;\n\t }\n\t AuditTimeSubscriber.prototype._next = function (value) {\n\t this.value = value;\n\t this.hasValue = true;\n\t if (!this.throttled) {\n\t this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, this));\n\t }\n\t };\n\t AuditTimeSubscriber.prototype.clearThrottle = function () {\n\t var _a = this, value = _a.value, hasValue = _a.hasValue, throttled = _a.throttled;\n\t if (throttled) {\n\t this.remove(throttled);\n\t this.throttled = null;\n\t throttled.unsubscribe();\n\t }\n\t if (hasValue) {\n\t this.value = null;\n\t this.hasValue = false;\n\t this.destination.next(value);\n\t }\n\t };\n\t return AuditTimeSubscriber;\n\t}(Subscriber_1.Subscriber));\n\tfunction dispatchNext(subscriber) {\n\t subscriber.clearThrottle();\n\t}\n\t//# sourceMappingURL=auditTime.js.map\n\n/***/ },\n/* 293 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar AsyncAction_1 = __webpack_require__(294);\n\tvar AsyncScheduler_1 = __webpack_require__(296);\n\texports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);\n\t//# sourceMappingURL=async.js.map\n\n/***/ },\n/* 294 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar root_1 = __webpack_require__(266);\n\tvar Action_1 = __webpack_require__(295);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar AsyncAction = (function (_super) {\n\t __extends(AsyncAction, _super);\n\t function AsyncAction(scheduler, work) {\n\t _super.call(this, scheduler, work);\n\t this.scheduler = scheduler;\n\t this.work = work;\n\t this.pending = false;\n\t }\n\t AsyncAction.prototype.schedule = function (state, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t if (this.closed) {\n\t return this;\n\t }\n\t // Always replace the current state with the new state.\n\t this.state = state;\n\t // Set the pending flag indicating that this action has been scheduled, or\n\t // has recursively rescheduled itself.\n\t this.pending = true;\n\t var id = this.id;\n\t var scheduler = this.scheduler;\n\t //\n\t // Important implementation note:\n\t //\n\t // Actions only execute once by default, unless rescheduled from within the\n\t // scheduled callback. This allows us to implement single and repeat\n\t // actions via the same code path, without adding API surface area, as well\n\t // as mimic traditional recursion but across asynchronous boundaries.\n\t //\n\t // However, JS runtimes and timers distinguish between intervals achieved by\n\t // serial `setTimeout` calls vs. a single `setInterval` call. An interval of\n\t // serial `setTimeout` calls can be individually delayed, which delays\n\t // scheduling the next `setTimeout`, and so on. `setInterval` attempts to\n\t // guarantee the interval callback will be invoked more precisely to the\n\t // interval period, regardless of load.\n\t //\n\t // Therefore, we use `setInterval` to schedule single and repeat actions.\n\t // If the action reschedules itself with the same delay, the interval is not\n\t // canceled. If the action doesn't reschedule, or reschedules with a\n\t // different delay, the interval will be canceled after scheduled callback\n\t // execution.\n\t //\n\t if (id != null) {\n\t this.id = this.recycleAsyncId(scheduler, id, delay);\n\t }\n\t this.delay = delay;\n\t // If this action has already an async Id, don't request a new one.\n\t this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n\t return this;\n\t };\n\t AsyncAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t return root_1.root.setInterval(scheduler.flush.bind(scheduler, this), delay);\n\t };\n\t AsyncAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t // If this action is rescheduled with the same delay time, don't clear the interval id.\n\t if (delay !== null && this.delay === delay) {\n\t return id;\n\t }\n\t // Otherwise, if the action's delay time is different from the current delay,\n\t // clear the interval id\n\t return root_1.root.clearInterval(id) && undefined || undefined;\n\t };\n\t /**\n\t * Immediately executes this action and the `work` it contains.\n\t * @return {any}\n\t */\n\t AsyncAction.prototype.execute = function (state, delay) {\n\t if (this.closed) {\n\t return new Error('executing a cancelled action');\n\t }\n\t this.pending = false;\n\t var error = this._execute(state, delay);\n\t if (error) {\n\t return error;\n\t }\n\t else if (this.pending === false && this.id != null) {\n\t // Dequeue if the action didn't reschedule itself. Don't call\n\t // unsubscribe(), because the action could reschedule later.\n\t // For example:\n\t // ```\n\t // scheduler.schedule(function doWork(counter) {\n\t // /* ... I'm a busy worker bee ... */\n\t // var originalAction = this;\n\t // /* wait 100ms before rescheduling the action */\n\t // setTimeout(function () {\n\t // originalAction.schedule(counter + 1);\n\t // }, 100);\n\t // }, 1000);\n\t // ```\n\t this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n\t }\n\t };\n\t AsyncAction.prototype._execute = function (state, delay) {\n\t var errored = false;\n\t var errorValue = undefined;\n\t try {\n\t this.work(state);\n\t }\n\t catch (e) {\n\t errored = true;\n\t errorValue = !!e && e || new Error(e);\n\t }\n\t if (errored) {\n\t this.unsubscribe();\n\t return errorValue;\n\t }\n\t };\n\t AsyncAction.prototype._unsubscribe = function () {\n\t var id = this.id;\n\t var scheduler = this.scheduler;\n\t var actions = scheduler.actions;\n\t var index = actions.indexOf(this);\n\t this.work = null;\n\t this.delay = null;\n\t this.state = null;\n\t this.pending = false;\n\t this.scheduler = null;\n\t if (index !== -1) {\n\t actions.splice(index, 1);\n\t }\n\t if (id != null) {\n\t this.id = this.recycleAsyncId(scheduler, id, null);\n\t }\n\t };\n\t return AsyncAction;\n\t}(Action_1.Action));\n\texports.AsyncAction = AsyncAction;\n\t//# sourceMappingURL=AsyncAction.js.map\n\n/***/ },\n/* 295 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscription_1 = __webpack_require__(270);\n\t/**\n\t * A unit of work to be executed in a {@link Scheduler}. An action is typically\n\t * created from within a Scheduler and an RxJS user does not need to concern\n\t * themselves about creating and manipulating an Action.\n\t *\n\t * ```ts\n\t * class Action<T> extends Subscription {\n\t * new (scheduler: Scheduler, work: (state?: T) => void);\n\t * schedule(state?: T, delay: number = 0): Subscription;\n\t * }\n\t * ```\n\t *\n\t * @class Action<T>\n\t */\n\tvar Action = (function (_super) {\n\t __extends(Action, _super);\n\t function Action(scheduler, work) {\n\t _super.call(this);\n\t }\n\t /**\n\t * Schedules this action on its parent Scheduler for execution. May be passed\n\t * some context object, `state`. May happen at some point in the future,\n\t * according to the `delay` parameter, if specified.\n\t * @param {T} [state] Some contextual data that the `work` function uses when\n\t * called by the Scheduler.\n\t * @param {number} [delay] Time to wait before executing the work, where the\n\t * time unit is implicit and defined by the Scheduler.\n\t * @return {void}\n\t */\n\t Action.prototype.schedule = function (state, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t return this;\n\t };\n\t return Action;\n\t}(Subscription_1.Subscription));\n\texports.Action = Action;\n\t//# sourceMappingURL=Action.js.map\n\n/***/ },\n/* 296 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Scheduler_1 = __webpack_require__(297);\n\tvar AsyncScheduler = (function (_super) {\n\t __extends(AsyncScheduler, _super);\n\t function AsyncScheduler() {\n\t _super.apply(this, arguments);\n\t this.actions = [];\n\t /**\n\t * A flag to indicate whether the Scheduler is currently executing a batch of\n\t * queued actions.\n\t * @type {boolean}\n\t */\n\t this.active = false;\n\t /**\n\t * An internal ID used to track the latest asynchronous task such as those\n\t * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and\n\t * others.\n\t * @type {any}\n\t */\n\t this.scheduled = undefined;\n\t }\n\t AsyncScheduler.prototype.flush = function (action) {\n\t var actions = this.actions;\n\t if (this.active) {\n\t actions.push(action);\n\t return;\n\t }\n\t var error;\n\t this.active = true;\n\t do {\n\t if (error = action.execute(action.state, action.delay)) {\n\t break;\n\t }\n\t } while (action = actions.shift()); // exhaust the scheduler queue\n\t this.active = false;\n\t if (error) {\n\t while (action = actions.shift()) {\n\t action.unsubscribe();\n\t }\n\t throw error;\n\t }\n\t };\n\t return AsyncScheduler;\n\t}(Scheduler_1.Scheduler));\n\texports.AsyncScheduler = AsyncScheduler;\n\t//# sourceMappingURL=AsyncScheduler.js.map\n\n/***/ },\n/* 297 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t/**\n\t * An execution context and a data structure to order tasks and schedule their\n\t * execution. Provides a notion of (potentially virtual) time, through the\n\t * `now()` getter method.\n\t *\n\t * Each unit of work in a Scheduler is called an {@link Action}.\n\t *\n\t * ```ts\n\t * class Scheduler {\n\t * now(): number;\n\t * schedule(work, delay?, state?): Subscription;\n\t * }\n\t * ```\n\t *\n\t * @class Scheduler\n\t */\n\tvar Scheduler = (function () {\n\t function Scheduler(SchedulerAction, now) {\n\t if (now === void 0) { now = Scheduler.now; }\n\t this.SchedulerAction = SchedulerAction;\n\t this.now = now;\n\t }\n\t /**\n\t * Schedules a function, `work`, for execution. May happen at some point in\n\t * the future, according to the `delay` parameter, if specified. May be passed\n\t * some context object, `state`, which will be passed to the `work` function.\n\t *\n\t * The given arguments will be processed an stored as an Action object in a\n\t * queue of actions.\n\t *\n\t * @param {function(state: ?T): ?Subscription} work A function representing a\n\t * task, or some unit of work to be executed by the Scheduler.\n\t * @param {number} [delay] Time to wait before executing the work, where the\n\t * time unit is implicit and defined by the Scheduler itself.\n\t * @param {T} [state] Some contextual data that the `work` function uses when\n\t * called by the Scheduler.\n\t * @return {Subscription} A subscription in order to be able to unsubscribe\n\t * the scheduled work.\n\t */\n\t Scheduler.prototype.schedule = function (work, delay, state) {\n\t if (delay === void 0) { delay = 0; }\n\t return new this.SchedulerAction(this, work).schedule(state, delay);\n\t };\n\t Scheduler.now = Date.now ? Date.now : function () { return +new Date(); };\n\t return Scheduler;\n\t}());\n\texports.Scheduler = Scheduler;\n\t//# sourceMappingURL=Scheduler.js.map\n\n/***/ },\n/* 298 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar startWith_1 = __webpack_require__(299);\n\tObservable_1.Observable.prototype.startWith = startWith_1.startWith;\n\t//# sourceMappingURL=startWith.js.map\n\n/***/ },\n/* 299 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar ArrayObservable_1 = __webpack_require__(300);\n\tvar ScalarObservable_1 = __webpack_require__(301);\n\tvar EmptyObservable_1 = __webpack_require__(302);\n\tvar concat_1 = __webpack_require__(304);\n\tvar isScheduler_1 = __webpack_require__(303);\n\t/**\n\t * Returns an Observable that emits the items in a specified Iterable before it begins to emit items emitted by the\n\t * source Observable.\n\t *\n\t * <img src=\"./img/startWith.png\" width=\"100%\">\n\t *\n\t * @param {Values} an Iterable that contains the items you want the modified Observable to emit first.\n\t * @return {Observable} an Observable that emits the items in the specified Iterable and then emits the items\n\t * emitted by the source Observable.\n\t * @method startWith\n\t * @owner Observable\n\t */\n\tfunction startWith() {\n\t var array = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t array[_i - 0] = arguments[_i];\n\t }\n\t var scheduler = array[array.length - 1];\n\t if (isScheduler_1.isScheduler(scheduler)) {\n\t array.pop();\n\t }\n\t else {\n\t scheduler = null;\n\t }\n\t var len = array.length;\n\t if (len === 1) {\n\t return concat_1.concatStatic(new ScalarObservable_1.ScalarObservable(array[0], scheduler), this);\n\t }\n\t else if (len > 1) {\n\t return concat_1.concatStatic(new ArrayObservable_1.ArrayObservable(array, scheduler), this);\n\t }\n\t else {\n\t return concat_1.concatStatic(new EmptyObservable_1.EmptyObservable(scheduler), this);\n\t }\n\t}\n\texports.startWith = startWith;\n\t//# sourceMappingURL=startWith.js.map\n\n/***/ },\n/* 300 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar ScalarObservable_1 = __webpack_require__(301);\n\tvar EmptyObservable_1 = __webpack_require__(302);\n\tvar isScheduler_1 = __webpack_require__(303);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar ArrayObservable = (function (_super) {\n\t __extends(ArrayObservable, _super);\n\t function ArrayObservable(array, scheduler) {\n\t _super.call(this);\n\t this.array = array;\n\t this.scheduler = scheduler;\n\t if (!scheduler && array.length === 1) {\n\t this._isScalar = true;\n\t this.value = array[0];\n\t }\n\t }\n\t ArrayObservable.create = function (array, scheduler) {\n\t return new ArrayObservable(array, scheduler);\n\t };\n\t /**\n\t * Creates an Observable that emits some values you specify as arguments,\n\t * immediately one after the other, and then emits a complete notification.\n\t *\n\t * <span class=\"informal\">Emits the arguments you provide, then completes.\n\t * </span>\n\t *\n\t * <img src=\"./img/of.png\" width=\"100%\">\n\t *\n\t * This static operator is useful for creating a simple Observable that only\n\t * emits the arguments given, and the complete notification thereafter. It can\n\t * be used for composing with other Observables, such as with {@link concat}.\n\t * By default, it uses a `null` Scheduler, which means the `next`\n\t * notifications are sent synchronously, although with a different Scheduler\n\t * it is possible to determine when those notifications will be delivered.\n\t *\n\t * @example <caption>Emit 10, 20, 30, then 'a', 'b', 'c', then start ticking every second.</caption>\n\t * var numbers = Rx.Observable.of(10, 20, 30);\n\t * var letters = Rx.Observable.of('a', 'b', 'c');\n\t * var interval = Rx.Observable.interval(1000);\n\t * var result = numbers.concat(letters).concat(interval);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link create}\n\t * @see {@link empty}\n\t * @see {@link never}\n\t * @see {@link throw}\n\t *\n\t * @param {...T} values Arguments that represent `next` values to be emitted.\n\t * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n\t * the emissions of the `next` notifications.\n\t * @return {Observable<T>} An Observable that emits each given input value.\n\t * @static true\n\t * @name of\n\t * @owner Observable\n\t */\n\t ArrayObservable.of = function () {\n\t var array = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t array[_i - 0] = arguments[_i];\n\t }\n\t var scheduler = array[array.length - 1];\n\t if (isScheduler_1.isScheduler(scheduler)) {\n\t array.pop();\n\t }\n\t else {\n\t scheduler = null;\n\t }\n\t var len = array.length;\n\t if (len > 1) {\n\t return new ArrayObservable(array, scheduler);\n\t }\n\t else if (len === 1) {\n\t return new ScalarObservable_1.ScalarObservable(array[0], scheduler);\n\t }\n\t else {\n\t return new EmptyObservable_1.EmptyObservable(scheduler);\n\t }\n\t };\n\t ArrayObservable.dispatch = function (state) {\n\t var array = state.array, index = state.index, count = state.count, subscriber = state.subscriber;\n\t if (index >= count) {\n\t subscriber.complete();\n\t return;\n\t }\n\t subscriber.next(array[index]);\n\t if (subscriber.closed) {\n\t return;\n\t }\n\t state.index = index + 1;\n\t this.schedule(state);\n\t };\n\t ArrayObservable.prototype._subscribe = function (subscriber) {\n\t var index = 0;\n\t var array = this.array;\n\t var count = array.length;\n\t var scheduler = this.scheduler;\n\t if (scheduler) {\n\t return scheduler.schedule(ArrayObservable.dispatch, 0, {\n\t array: array, index: index, count: count, subscriber: subscriber\n\t });\n\t }\n\t else {\n\t for (var i = 0; i < count && !subscriber.closed; i++) {\n\t subscriber.next(array[i]);\n\t }\n\t subscriber.complete();\n\t }\n\t };\n\t return ArrayObservable;\n\t}(Observable_1.Observable));\n\texports.ArrayObservable = ArrayObservable;\n\t//# sourceMappingURL=ArrayObservable.js.map\n\n/***/ },\n/* 301 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar ScalarObservable = (function (_super) {\n\t __extends(ScalarObservable, _super);\n\t function ScalarObservable(value, scheduler) {\n\t _super.call(this);\n\t this.value = value;\n\t this.scheduler = scheduler;\n\t this._isScalar = true;\n\t if (scheduler) {\n\t this._isScalar = false;\n\t }\n\t }\n\t ScalarObservable.create = function (value, scheduler) {\n\t return new ScalarObservable(value, scheduler);\n\t };\n\t ScalarObservable.dispatch = function (state) {\n\t var done = state.done, value = state.value, subscriber = state.subscriber;\n\t if (done) {\n\t subscriber.complete();\n\t return;\n\t }\n\t subscriber.next(value);\n\t if (subscriber.closed) {\n\t return;\n\t }\n\t state.done = true;\n\t this.schedule(state);\n\t };\n\t ScalarObservable.prototype._subscribe = function (subscriber) {\n\t var value = this.value;\n\t var scheduler = this.scheduler;\n\t if (scheduler) {\n\t return scheduler.schedule(ScalarObservable.dispatch, 0, {\n\t done: false, value: value, subscriber: subscriber\n\t });\n\t }\n\t else {\n\t subscriber.next(value);\n\t if (!subscriber.closed) {\n\t subscriber.complete();\n\t }\n\t }\n\t };\n\t return ScalarObservable;\n\t}(Observable_1.Observable));\n\texports.ScalarObservable = ScalarObservable;\n\t//# sourceMappingURL=ScalarObservable.js.map\n\n/***/ },\n/* 302 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar EmptyObservable = (function (_super) {\n\t __extends(EmptyObservable, _super);\n\t function EmptyObservable(scheduler) {\n\t _super.call(this);\n\t this.scheduler = scheduler;\n\t }\n\t /**\n\t * Creates an Observable that emits no items to the Observer and immediately\n\t * emits a complete notification.\n\t *\n\t * <span class=\"informal\">Just emits 'complete', and nothing else.\n\t * </span>\n\t *\n\t * <img src=\"./img/empty.png\" width=\"100%\">\n\t *\n\t * This static operator is useful for creating a simple Observable that only\n\t * emits the complete notification. It can be used for composing with other\n\t * Observables, such as in a {@link mergeMap}.\n\t *\n\t * @example <caption>Emit the number 7, then complete.</caption>\n\t * var result = Rx.Observable.empty().startWith(7);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Map and flatten only odd numbers to the sequence 'a', 'b', 'c'</caption>\n\t * var interval = Rx.Observable.interval(1000);\n\t * var result = interval.mergeMap(x =>\n\t * x % 2 === 1 ? Rx.Observable.of('a', 'b', 'c') : Rx.Observable.empty()\n\t * );\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link create}\n\t * @see {@link never}\n\t * @see {@link of}\n\t * @see {@link throw}\n\t *\n\t * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n\t * the emission of the complete notification.\n\t * @return {Observable} An \"empty\" Observable: emits only the complete\n\t * notification.\n\t * @static true\n\t * @name empty\n\t * @owner Observable\n\t */\n\t EmptyObservable.create = function (scheduler) {\n\t return new EmptyObservable(scheduler);\n\t };\n\t EmptyObservable.dispatch = function (arg) {\n\t var subscriber = arg.subscriber;\n\t subscriber.complete();\n\t };\n\t EmptyObservable.prototype._subscribe = function (subscriber) {\n\t var scheduler = this.scheduler;\n\t if (scheduler) {\n\t return scheduler.schedule(EmptyObservable.dispatch, 0, { subscriber: subscriber });\n\t }\n\t else {\n\t subscriber.complete();\n\t }\n\t };\n\t return EmptyObservable;\n\t}(Observable_1.Observable));\n\texports.EmptyObservable = EmptyObservable;\n\t//# sourceMappingURL=EmptyObservable.js.map\n\n/***/ },\n/* 303 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction isScheduler(value) {\n\t return value && typeof value.schedule === 'function';\n\t}\n\texports.isScheduler = isScheduler;\n\t//# sourceMappingURL=isScheduler.js.map\n\n/***/ },\n/* 304 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar isScheduler_1 = __webpack_require__(303);\n\tvar ArrayObservable_1 = __webpack_require__(300);\n\tvar mergeAll_1 = __webpack_require__(305);\n\t/**\n\t * Creates an output Observable which sequentially emits all values from every\n\t * given input Observable after the current Observable.\n\t *\n\t * <span class=\"informal\">Concatenates multiple Observables together by\n\t * sequentially emitting their values, one Observable after the other.</span>\n\t *\n\t * <img src=\"./img/concat.png\" width=\"100%\">\n\t *\n\t * Joins this Observable with multiple other Observables by subscribing to them\n\t * one at a time, starting with the source, and merging their results into the\n\t * output Observable. Will wait for each Observable to complete before moving\n\t * on to the next.\n\t *\n\t * @example <caption>Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10</caption>\n\t * var timer = Rx.Observable.interval(1000).take(4);\n\t * var sequence = Rx.Observable.range(1, 10);\n\t * var result = timer.concat(sequence);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Concatenate 3 Observables</caption>\n\t * var timer1 = Rx.Observable.interval(1000).take(10);\n\t * var timer2 = Rx.Observable.interval(2000).take(6);\n\t * var timer3 = Rx.Observable.interval(500).take(10);\n\t * var result = timer1.concat(timer2, timer3);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link concatAll}\n\t * @see {@link concatMap}\n\t * @see {@link concatMapTo}\n\t *\n\t * @param {Observable} other An input Observable to concatenate after the source\n\t * Observable. More than one input Observables may be given as argument.\n\t * @param {Scheduler} [scheduler=null] An optional Scheduler to schedule each\n\t * Observable subscription on.\n\t * @return {Observable} All values of each passed Observable merged into a\n\t * single Observable, in order, in serial fashion.\n\t * @method concat\n\t * @owner Observable\n\t */\n\tfunction concat() {\n\t var observables = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t observables[_i - 0] = arguments[_i];\n\t }\n\t return concatStatic.apply(void 0, [this].concat(observables));\n\t}\n\texports.concat = concat;\n\t/* tslint:enable:max-line-length */\n\t/**\n\t * Creates an output Observable which sequentially emits all values from every\n\t * given input Observable after the current Observable.\n\t *\n\t * <span class=\"informal\">Concatenates multiple Observables together by\n\t * sequentially emitting their values, one Observable after the other.</span>\n\t *\n\t * <img src=\"./img/concat.png\" width=\"100%\">\n\t *\n\t * Joins multiple Observables together by subscribing to them one at a time and\n\t * merging their results into the output Observable. Will wait for each\n\t * Observable to complete before moving on to the next.\n\t *\n\t * @example <caption>Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10</caption>\n\t * var timer = Rx.Observable.interval(1000).take(4);\n\t * var sequence = Rx.Observable.range(1, 10);\n\t * var result = Rx.Observable.concat(timer, sequence);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Concatenate 3 Observables</caption>\n\t * var timer1 = Rx.Observable.interval(1000).take(10);\n\t * var timer2 = Rx.Observable.interval(2000).take(6);\n\t * var timer3 = Rx.Observable.interval(500).take(10);\n\t * var result = Rx.Observable.concat(timer1, timer2, timer3);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link concatAll}\n\t * @see {@link concatMap}\n\t * @see {@link concatMapTo}\n\t *\n\t * @param {Observable} input1 An input Observable to concatenate with others.\n\t * @param {Observable} input2 An input Observable to concatenate with others.\n\t * More than one input Observables may be given as argument.\n\t * @param {Scheduler} [scheduler=null] An optional Scheduler to schedule each\n\t * Observable subscription on.\n\t * @return {Observable} All values of each passed Observable merged into a\n\t * single Observable, in order, in serial fashion.\n\t * @static true\n\t * @name concat\n\t * @owner Observable\n\t */\n\tfunction concatStatic() {\n\t var observables = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t observables[_i - 0] = arguments[_i];\n\t }\n\t var scheduler = null;\n\t var args = observables;\n\t if (isScheduler_1.isScheduler(args[observables.length - 1])) {\n\t scheduler = args.pop();\n\t }\n\t return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new mergeAll_1.MergeAllOperator(1));\n\t}\n\texports.concatStatic = concatStatic;\n\t//# sourceMappingURL=concat.js.map\n\n/***/ },\n/* 305 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar OuterSubscriber_1 = __webpack_require__(306);\n\tvar subscribeToResult_1 = __webpack_require__(307);\n\t/**\n\t * Converts a higher-order Observable into a first-order Observable which\n\t * concurrently delivers all values that are emitted on the inner Observables.\n\t *\n\t * <span class=\"informal\">Flattens an Observable-of-Observables.</span>\n\t *\n\t * <img src=\"./img/mergeAll.png\" width=\"100%\">\n\t *\n\t * `mergeAll` subscribes to an Observable that emits Observables, also known as\n\t * a higher-order Observable. Each time it observes one of these emitted inner\n\t * Observables, it subscribes to that and delivers all the values from the\n\t * inner Observable on the output Observable. The output Observable only\n\t * completes once all inner Observables have completed. Any error delivered by\n\t * a inner Observable will be immediately emitted on the output Observable.\n\t *\n\t * @example <caption>Spawn a new interval Observable for each click event, and blend their outputs as one Observable</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n\t * var firstOrder = higherOrder.mergeAll();\n\t * firstOrder.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Count from 0 to 9 every second for each click, but only allow 2 concurrent timers</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10));\n\t * var firstOrder = higherOrder.mergeAll(2);\n\t * firstOrder.subscribe(x => console.log(x));\n\t *\n\t * @see {@link combineAll}\n\t * @see {@link concatAll}\n\t * @see {@link exhaust}\n\t * @see {@link merge}\n\t * @see {@link mergeMap}\n\t * @see {@link mergeMapTo}\n\t * @see {@link mergeScan}\n\t * @see {@link switch}\n\t * @see {@link zipAll}\n\t *\n\t * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner\n\t * Observables being subscribed to concurrently.\n\t * @return {Observable} An Observable that emits values coming from all the\n\t * inner Observables emitted by the source Observable.\n\t * @method mergeAll\n\t * @owner Observable\n\t */\n\tfunction mergeAll(concurrent) {\n\t if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n\t return this.lift(new MergeAllOperator(concurrent));\n\t}\n\texports.mergeAll = mergeAll;\n\tvar MergeAllOperator = (function () {\n\t function MergeAllOperator(concurrent) {\n\t this.concurrent = concurrent;\n\t }\n\t MergeAllOperator.prototype.call = function (observer, source) {\n\t return source._subscribe(new MergeAllSubscriber(observer, this.concurrent));\n\t };\n\t return MergeAllOperator;\n\t}());\n\texports.MergeAllOperator = MergeAllOperator;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar MergeAllSubscriber = (function (_super) {\n\t __extends(MergeAllSubscriber, _super);\n\t function MergeAllSubscriber(destination, concurrent) {\n\t _super.call(this, destination);\n\t this.concurrent = concurrent;\n\t this.hasCompleted = false;\n\t this.buffer = [];\n\t this.active = 0;\n\t }\n\t MergeAllSubscriber.prototype._next = function (observable) {\n\t if (this.active < this.concurrent) {\n\t this.active++;\n\t this.add(subscribeToResult_1.subscribeToResult(this, observable));\n\t }\n\t else {\n\t this.buffer.push(observable);\n\t }\n\t };\n\t MergeAllSubscriber.prototype._complete = function () {\n\t this.hasCompleted = true;\n\t if (this.active === 0 && this.buffer.length === 0) {\n\t this.destination.complete();\n\t }\n\t };\n\t MergeAllSubscriber.prototype.notifyComplete = function (innerSub) {\n\t var buffer = this.buffer;\n\t this.remove(innerSub);\n\t this.active--;\n\t if (buffer.length > 0) {\n\t this._next(buffer.shift());\n\t }\n\t else if (this.active === 0 && this.hasCompleted) {\n\t this.destination.complete();\n\t }\n\t };\n\t return MergeAllSubscriber;\n\t}(OuterSubscriber_1.OuterSubscriber));\n\texports.MergeAllSubscriber = MergeAllSubscriber;\n\t//# sourceMappingURL=mergeAll.js.map\n\n/***/ },\n/* 306 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar OuterSubscriber = (function (_super) {\n\t __extends(OuterSubscriber, _super);\n\t function OuterSubscriber() {\n\t _super.apply(this, arguments);\n\t }\n\t OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n\t this.destination.next(innerValue);\n\t };\n\t OuterSubscriber.prototype.notifyError = function (error, innerSub) {\n\t this.destination.error(error);\n\t };\n\t OuterSubscriber.prototype.notifyComplete = function (innerSub) {\n\t this.destination.complete();\n\t };\n\t return OuterSubscriber;\n\t}(Subscriber_1.Subscriber));\n\texports.OuterSubscriber = OuterSubscriber;\n\t//# sourceMappingURL=OuterSubscriber.js.map\n\n/***/ },\n/* 307 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\tvar isArray_1 = __webpack_require__(271);\n\tvar isPromise_1 = __webpack_require__(308);\n\tvar Observable_1 = __webpack_require__(265);\n\tvar iterator_1 = __webpack_require__(309);\n\tvar InnerSubscriber_1 = __webpack_require__(310);\n\tvar observable_1 = __webpack_require__(278);\n\tfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex) {\n\t var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex);\n\t if (destination.closed) {\n\t return null;\n\t }\n\t if (result instanceof Observable_1.Observable) {\n\t if (result._isScalar) {\n\t destination.next(result.value);\n\t destination.complete();\n\t return null;\n\t }\n\t else {\n\t return result.subscribe(destination);\n\t }\n\t }\n\t if (isArray_1.isArray(result)) {\n\t for (var i = 0, len = result.length; i < len && !destination.closed; i++) {\n\t destination.next(result[i]);\n\t }\n\t if (!destination.closed) {\n\t destination.complete();\n\t }\n\t }\n\t else if (isPromise_1.isPromise(result)) {\n\t result.then(function (value) {\n\t if (!destination.closed) {\n\t destination.next(value);\n\t destination.complete();\n\t }\n\t }, function (err) { return destination.error(err); })\n\t .then(null, function (err) {\n\t // Escaping the Promise trap: globally throw unhandled errors\n\t root_1.root.setTimeout(function () { throw err; });\n\t });\n\t return destination;\n\t }\n\t else if (typeof result[iterator_1.$$iterator] === 'function') {\n\t var iterator = result[iterator_1.$$iterator]();\n\t do {\n\t var item = iterator.next();\n\t if (item.done) {\n\t destination.complete();\n\t break;\n\t }\n\t destination.next(item.value);\n\t if (destination.closed) {\n\t break;\n\t }\n\t } while (true);\n\t }\n\t else if (typeof result[observable_1.$$observable] === 'function') {\n\t var obs = result[observable_1.$$observable]();\n\t if (typeof obs.subscribe !== 'function') {\n\t destination.error(new Error('invalid observable'));\n\t }\n\t else {\n\t return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex));\n\t }\n\t }\n\t else {\n\t destination.error(new TypeError('unknown type returned'));\n\t }\n\t return null;\n\t}\n\texports.subscribeToResult = subscribeToResult;\n\t//# sourceMappingURL=subscribeToResult.js.map\n\n/***/ },\n/* 308 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction isPromise(value) {\n\t return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n\t}\n\texports.isPromise = isPromise;\n\t//# sourceMappingURL=isPromise.js.map\n\n/***/ },\n/* 309 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar root_1 = __webpack_require__(266);\n\tvar Symbol = root_1.root.Symbol;\n\tif (typeof Symbol === 'function') {\n\t if (Symbol.iterator) {\n\t exports.$$iterator = Symbol.iterator;\n\t }\n\t else if (typeof Symbol.for === 'function') {\n\t exports.$$iterator = Symbol.for('iterator');\n\t }\n\t}\n\telse {\n\t if (root_1.root.Set && typeof new root_1.root.Set()['@@iterator'] === 'function') {\n\t // Bug for mozilla version\n\t exports.$$iterator = '@@iterator';\n\t }\n\t else if (root_1.root.Map) {\n\t // es6-shim specific logic\n\t var keys = Object.getOwnPropertyNames(root_1.root.Map.prototype);\n\t for (var i = 0; i < keys.length; ++i) {\n\t var key = keys[i];\n\t if (key !== 'entries' && key !== 'size' && root_1.root.Map.prototype[key] === root_1.root.Map.prototype['entries']) {\n\t exports.$$iterator = key;\n\t break;\n\t }\n\t }\n\t }\n\t else {\n\t exports.$$iterator = '@@iterator';\n\t }\n\t}\n\t//# sourceMappingURL=iterator.js.map\n\n/***/ },\n/* 310 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar InnerSubscriber = (function (_super) {\n\t __extends(InnerSubscriber, _super);\n\t function InnerSubscriber(parent, outerValue, outerIndex) {\n\t _super.call(this);\n\t this.parent = parent;\n\t this.outerValue = outerValue;\n\t this.outerIndex = outerIndex;\n\t this.index = 0;\n\t }\n\t InnerSubscriber.prototype._next = function (value) {\n\t this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n\t };\n\t InnerSubscriber.prototype._error = function (error) {\n\t this.parent.notifyError(error, this);\n\t this.unsubscribe();\n\t };\n\t InnerSubscriber.prototype._complete = function () {\n\t this.parent.notifyComplete(this);\n\t this.unsubscribe();\n\t };\n\t return InnerSubscriber;\n\t}(Subscriber_1.Subscriber));\n\texports.InnerSubscriber = InnerSubscriber;\n\t//# sourceMappingURL=InnerSubscriber.js.map\n\n/***/ },\n/* 311 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar first_1 = __webpack_require__(312);\n\tObservable_1.Observable.prototype.first = first_1.first;\n\t//# sourceMappingURL=first.js.map\n\n/***/ },\n/* 312 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar EmptyError_1 = __webpack_require__(313);\n\t/**\n\t * Emits only the first value (or the first value that meets some condition)\n\t * emitted by the source Observable.\n\t *\n\t * <span class=\"informal\">Emits only the first value. Or emits only the first\n\t * value that passes some test.</span>\n\t *\n\t * <img src=\"./img/first.png\" width=\"100%\">\n\t *\n\t * If called with no arguments, `first` emits the first value of the source\n\t * Observable, then completes. If called with a `predicate` function, `first`\n\t * emits the first value of the source that matches the specified condition. It\n\t * may also take a `resultSelector` function to produce the output value from\n\t * the input value, and a `defaultValue` to emit in case the source completes\n\t * before it is able to emit a valid value. Throws an error if `defaultValue`\n\t * was not provided and a matching element is not found.\n\t *\n\t * @example <caption>Emit only the first click that happens on the DOM</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var result = clicks.first();\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Emits the first click that happens on a DIV</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var result = clicks.first(ev => ev.target.tagName === 'DIV');\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link filter}\n\t * @see {@link find}\n\t * @see {@link take}\n\t *\n\t * @throws {EmptyError} Delivers an EmptyError to the Observer's `error`\n\t * callback if the Observable completes before any `next` notification was sent.\n\t *\n\t * @param {function(value: T, index: number, source: Observable<T>): boolean} [predicate]\n\t * An optional function called with each item to test for condition matching.\n\t * @param {function(value: T, index: number): R} [resultSelector] A function to\n\t * produce the value on the output Observable based on the values\n\t * and the indices of the source Observable. The arguments passed to this\n\t * function are:\n\t * - `value`: the value that was emitted on the source.\n\t * - `index`: the \"index\" of the value from the source.\n\t * @param {R} [defaultValue] The default value emitted in case no valid value\n\t * was found on the source.\n\t * @return {Observable<T|R>} an Observable of the first item that matches the\n\t * condition.\n\t * @method first\n\t * @owner Observable\n\t */\n\tfunction first(predicate, resultSelector, defaultValue) {\n\t return this.lift(new FirstOperator(predicate, resultSelector, defaultValue, this));\n\t}\n\texports.first = first;\n\tvar FirstOperator = (function () {\n\t function FirstOperator(predicate, resultSelector, defaultValue, source) {\n\t this.predicate = predicate;\n\t this.resultSelector = resultSelector;\n\t this.defaultValue = defaultValue;\n\t this.source = source;\n\t }\n\t FirstOperator.prototype.call = function (observer, source) {\n\t return source._subscribe(new FirstSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source));\n\t };\n\t return FirstOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar FirstSubscriber = (function (_super) {\n\t __extends(FirstSubscriber, _super);\n\t function FirstSubscriber(destination, predicate, resultSelector, defaultValue, source) {\n\t _super.call(this, destination);\n\t this.predicate = predicate;\n\t this.resultSelector = resultSelector;\n\t this.defaultValue = defaultValue;\n\t this.source = source;\n\t this.index = 0;\n\t this.hasCompleted = false;\n\t }\n\t FirstSubscriber.prototype._next = function (value) {\n\t var index = this.index++;\n\t if (this.predicate) {\n\t this._tryPredicate(value, index);\n\t }\n\t else {\n\t this._emit(value, index);\n\t }\n\t };\n\t FirstSubscriber.prototype._tryPredicate = function (value, index) {\n\t var result;\n\t try {\n\t result = this.predicate(value, index, this.source);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t if (result) {\n\t this._emit(value, index);\n\t }\n\t };\n\t FirstSubscriber.prototype._emit = function (value, index) {\n\t if (this.resultSelector) {\n\t this._tryResultSelector(value, index);\n\t return;\n\t }\n\t this._emitFinal(value);\n\t };\n\t FirstSubscriber.prototype._tryResultSelector = function (value, index) {\n\t var result;\n\t try {\n\t result = this.resultSelector(value, index);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this._emitFinal(result);\n\t };\n\t FirstSubscriber.prototype._emitFinal = function (value) {\n\t var destination = this.destination;\n\t destination.next(value);\n\t destination.complete();\n\t this.hasCompleted = true;\n\t };\n\t FirstSubscriber.prototype._complete = function () {\n\t var destination = this.destination;\n\t if (!this.hasCompleted && typeof this.defaultValue !== 'undefined') {\n\t destination.next(this.defaultValue);\n\t destination.complete();\n\t }\n\t else if (!this.hasCompleted) {\n\t destination.error(new EmptyError_1.EmptyError);\n\t }\n\t };\n\t return FirstSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=first.js.map\n\n/***/ },\n/* 313 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\t/**\n\t * An error thrown when an Observable or a sequence was queried but has no\n\t * elements.\n\t *\n\t * @see {@link first}\n\t * @see {@link last}\n\t * @see {@link single}\n\t *\n\t * @class EmptyError\n\t */\n\tvar EmptyError = (function (_super) {\n\t __extends(EmptyError, _super);\n\t function EmptyError() {\n\t var err = _super.call(this, 'no elements in sequence');\n\t this.name = err.name = 'EmptyError';\n\t this.stack = err.stack;\n\t this.message = err.message;\n\t }\n\t return EmptyError;\n\t}(Error));\n\texports.EmptyError = EmptyError;\n\t//# sourceMappingURL=EmptyError.js.map\n\n/***/ },\n/* 314 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license Angular v2.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */\n\t(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(263), __webpack_require__(265), __webpack_require__(281)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs/Observable', '@angular/platform-browser'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.http = global.ng.http || {}),global.ng.core,global.Rx,global.ng.platformBrowser));\n\t}(this, function (exports,_angular_core,rxjs_Observable,_angular_platformBrowser) { 'use strict';\n\t\n\t /**\n\t * A backend for http that uses the `XMLHttpRequest` browser API.\n\t *\n\t * Take care not to evaluate this in non-browser contexts.\n\t *\n\t * @experimental\n\t */\n\t var BrowserXhr = (function () {\n\t function BrowserXhr() {\n\t }\n\t BrowserXhr.prototype.build = function () { return (new XMLHttpRequest()); };\n\t BrowserXhr.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t BrowserXhr.ctorParameters = [];\n\t return BrowserXhr;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Supported http methods.\n\t * @experimental\n\t */\n\t exports.RequestMethod;\n\t (function (RequestMethod) {\n\t RequestMethod[RequestMethod[\"Get\"] = 0] = \"Get\";\n\t RequestMethod[RequestMethod[\"Post\"] = 1] = \"Post\";\n\t RequestMethod[RequestMethod[\"Put\"] = 2] = \"Put\";\n\t RequestMethod[RequestMethod[\"Delete\"] = 3] = \"Delete\";\n\t RequestMethod[RequestMethod[\"Options\"] = 4] = \"Options\";\n\t RequestMethod[RequestMethod[\"Head\"] = 5] = \"Head\";\n\t RequestMethod[RequestMethod[\"Patch\"] = 6] = \"Patch\";\n\t })(exports.RequestMethod || (exports.RequestMethod = {}));\n\t /**\n\t * All possible states in which a connection can be, based on\n\t * [States](http://www.w3.org/TR/XMLHttpRequest/#states) from the `XMLHttpRequest` spec, but with an\n\t * additional \"CANCELLED\" state.\n\t * @experimental\n\t */\n\t exports.ReadyState;\n\t (function (ReadyState) {\n\t ReadyState[ReadyState[\"Unsent\"] = 0] = \"Unsent\";\n\t ReadyState[ReadyState[\"Open\"] = 1] = \"Open\";\n\t ReadyState[ReadyState[\"HeadersReceived\"] = 2] = \"HeadersReceived\";\n\t ReadyState[ReadyState[\"Loading\"] = 3] = \"Loading\";\n\t ReadyState[ReadyState[\"Done\"] = 4] = \"Done\";\n\t ReadyState[ReadyState[\"Cancelled\"] = 5] = \"Cancelled\";\n\t })(exports.ReadyState || (exports.ReadyState = {}));\n\t /**\n\t * Acceptable response types to be associated with a {@link Response}, based on\n\t * [ResponseType](https://fetch.spec.whatwg.org/#responsetype) from the Fetch spec.\n\t * @experimental\n\t */\n\t exports.ResponseType;\n\t (function (ResponseType) {\n\t ResponseType[ResponseType[\"Basic\"] = 0] = \"Basic\";\n\t ResponseType[ResponseType[\"Cors\"] = 1] = \"Cors\";\n\t ResponseType[ResponseType[\"Default\"] = 2] = \"Default\";\n\t ResponseType[ResponseType[\"Error\"] = 3] = \"Error\";\n\t ResponseType[ResponseType[\"Opaque\"] = 4] = \"Opaque\";\n\t })(exports.ResponseType || (exports.ResponseType = {}));\n\t /**\n\t * Supported content type to be automatically associated with a {@link Request}.\n\t * @experimental\n\t */\n\t var ContentType;\n\t (function (ContentType) {\n\t ContentType[ContentType[\"NONE\"] = 0] = \"NONE\";\n\t ContentType[ContentType[\"JSON\"] = 1] = \"JSON\";\n\t ContentType[ContentType[\"FORM\"] = 2] = \"FORM\";\n\t ContentType[ContentType[\"FORM_DATA\"] = 3] = \"FORM_DATA\";\n\t ContentType[ContentType[\"TEXT\"] = 4] = \"TEXT\";\n\t ContentType[ContentType[\"BLOB\"] = 5] = \"BLOB\";\n\t ContentType[ContentType[\"ARRAY_BUFFER\"] = 6] = \"ARRAY_BUFFER\";\n\t })(ContentType || (ContentType = {}));\n\t /**\n\t * Define which buffer to use to store the response\n\t * @experimental\n\t */\n\t exports.ResponseContentType;\n\t (function (ResponseContentType) {\n\t ResponseContentType[ResponseContentType[\"Text\"] = 0] = \"Text\";\n\t ResponseContentType[ResponseContentType[\"Json\"] = 1] = \"Json\";\n\t ResponseContentType[ResponseContentType[\"ArrayBuffer\"] = 2] = \"ArrayBuffer\";\n\t ResponseContentType[ResponseContentType[\"Blob\"] = 3] = \"Blob\";\n\t })(exports.ResponseContentType || (exports.ResponseContentType = {}));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Polyfill for [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers), as\n\t * specified in the [Fetch Spec](https://fetch.spec.whatwg.org/#headers-class).\n\t *\n\t * The only known difference between this `Headers` implementation and the spec is the\n\t * lack of an `entries` method.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * import {Headers} from '@angular/http';\n\t *\n\t * var firstHeaders = new Headers();\n\t * firstHeaders.append('Content-Type', 'image/jpeg');\n\t * console.log(firstHeaders.get('Content-Type')) //'image/jpeg'\n\t *\n\t * // Create headers from Plain Old JavaScript Object\n\t * var secondHeaders = new Headers({\n\t * 'X-My-Custom-Header': 'Angular'\n\t * });\n\t * console.log(secondHeaders.get('X-My-Custom-Header')); //'Angular'\n\t *\n\t * var thirdHeaders = new Headers(secondHeaders);\n\t * console.log(thirdHeaders.get('X-My-Custom-Header')); //'Angular'\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var Headers = (function () {\n\t // TODO(vicb): any -> string|string[]\n\t function Headers(headers) {\n\t var _this = this;\n\t /** @internal header names are lower case */\n\t this._headers = new Map();\n\t /** @internal map lower case names to actual names */\n\t this._normalizedNames = new Map();\n\t if (!headers) {\n\t return;\n\t }\n\t if (headers instanceof Headers) {\n\t headers.forEach(function (values, name) {\n\t values.forEach(function (value) { return _this.append(name, value); });\n\t });\n\t return;\n\t }\n\t Object.keys(headers).forEach(function (name) {\n\t var values = Array.isArray(headers[name]) ? headers[name] : [headers[name]];\n\t _this.delete(name);\n\t values.forEach(function (value) { return _this.append(name, value); });\n\t });\n\t }\n\t /**\n\t * Returns a new Headers instance from the given DOMString of Response Headers\n\t */\n\t Headers.fromResponseHeaderString = function (headersString) {\n\t var headers = new Headers();\n\t headersString.split('\\n').forEach(function (line) {\n\t var index = line.indexOf(':');\n\t if (index > 0) {\n\t var name_1 = line.slice(0, index);\n\t var value = line.slice(index + 1).trim();\n\t headers.set(name_1, value);\n\t }\n\t });\n\t return headers;\n\t };\n\t /**\n\t * Appends a header to existing list of header values for a given header name.\n\t */\n\t Headers.prototype.append = function (name, value) {\n\t var values = this.getAll(name);\n\t if (values === null) {\n\t this.set(name, value);\n\t }\n\t else {\n\t values.push(value);\n\t }\n\t };\n\t /**\n\t * Deletes all header values for the given name.\n\t */\n\t Headers.prototype.delete = function (name) {\n\t var lcName = name.toLowerCase();\n\t this._normalizedNames.delete(lcName);\n\t this._headers.delete(lcName);\n\t };\n\t Headers.prototype.forEach = function (fn) {\n\t var _this = this;\n\t this._headers.forEach(function (values, lcName) { return fn(values, _this._normalizedNames.get(lcName), _this._headers); });\n\t };\n\t /**\n\t * Returns first header that matches given name.\n\t */\n\t Headers.prototype.get = function (name) {\n\t var values = this.getAll(name);\n\t if (values === null) {\n\t return null;\n\t }\n\t return values.length > 0 ? values[0] : null;\n\t };\n\t /**\n\t * Checks for existence of header by given name.\n\t */\n\t Headers.prototype.has = function (name) { return this._headers.has(name.toLowerCase()); };\n\t /**\n\t * Returns the names of the headers\n\t */\n\t Headers.prototype.keys = function () { return Array.from(this._normalizedNames.values()); };\n\t /**\n\t * Sets or overrides header value for given name.\n\t */\n\t Headers.prototype.set = function (name, value) {\n\t if (Array.isArray(value)) {\n\t if (value.length) {\n\t this._headers.set(name.toLowerCase(), [value.join(',')]);\n\t }\n\t }\n\t else {\n\t this._headers.set(name.toLowerCase(), [value]);\n\t }\n\t this.mayBeSetNormalizedName(name);\n\t };\n\t /**\n\t * Returns values of all headers.\n\t */\n\t Headers.prototype.values = function () { return Array.from(this._headers.values()); };\n\t /**\n\t * Returns string of all headers.\n\t */\n\t // TODO(vicb): returns {[name: string]: string[]}\n\t Headers.prototype.toJSON = function () {\n\t var _this = this;\n\t var serialized = {};\n\t this._headers.forEach(function (values, name) {\n\t var split = [];\n\t values.forEach(function (v) { return split.push.apply(split, v.split(',')); });\n\t serialized[_this._normalizedNames.get(name)] = split;\n\t });\n\t return serialized;\n\t };\n\t /**\n\t * Returns list of header values for a given name.\n\t */\n\t Headers.prototype.getAll = function (name) {\n\t return this.has(name) ? this._headers.get(name.toLowerCase()) : null;\n\t };\n\t /**\n\t * This method is not implemented.\n\t */\n\t Headers.prototype.entries = function () { throw new Error('\"entries\" method is not implemented on Headers class'); };\n\t Headers.prototype.mayBeSetNormalizedName = function (name) {\n\t var lcName = name.toLowerCase();\n\t if (!this._normalizedNames.has(lcName)) {\n\t this._normalizedNames.set(lcName, name);\n\t }\n\t };\n\t return Headers;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Creates a response options object to be optionally provided when instantiating a\n\t * {@link Response}.\n\t *\n\t * This class is based on the `ResponseInit` description in the [Fetch\n\t * Spec](https://fetch.spec.whatwg.org/#responseinit).\n\t *\n\t * All values are null by default. Typical defaults can be found in the\n\t * {@link BaseResponseOptions} class, which sub-classes `ResponseOptions`.\n\t *\n\t * This class may be used in tests to build {@link Response Responses} for\n\t * mock responses (see {@link MockBackend}).\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/P9Jkk8e8cz6NVzbcxEsD?p=preview))\n\t *\n\t * ```typescript\n\t * import {ResponseOptions, Response} from '@angular/http';\n\t *\n\t * var options = new ResponseOptions({\n\t * body: '{\"name\":\"Jeff\"}'\n\t * });\n\t * var res = new Response(options);\n\t *\n\t * console.log('res.json():', res.json()); // Object {name: \"Jeff\"}\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var ResponseOptions = (function () {\n\t function ResponseOptions(_a) {\n\t var _b = _a === void 0 ? {} : _a, body = _b.body, status = _b.status, headers = _b.headers, statusText = _b.statusText, type = _b.type, url = _b.url;\n\t this.body = body != null ? body : null;\n\t this.status = status != null ? status : null;\n\t this.headers = headers != null ? headers : null;\n\t this.statusText = statusText != null ? statusText : null;\n\t this.type = type != null ? type : null;\n\t this.url = url != null ? url : null;\n\t }\n\t /**\n\t * Creates a copy of the `ResponseOptions` instance, using the optional input as values to\n\t * override\n\t * existing values. This method will not change the values of the instance on which it is being\n\t * called.\n\t *\n\t * This may be useful when sharing a base `ResponseOptions` object inside tests,\n\t * where certain properties may change from test to test.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/1lXquqFfgduTFBWjNoRE?p=preview))\n\t *\n\t * ```typescript\n\t * import {ResponseOptions, Response} from '@angular/http';\n\t *\n\t * var options = new ResponseOptions({\n\t * body: {name: 'Jeff'}\n\t * });\n\t * var res = new Response(options.merge({\n\t * url: 'https://google.com'\n\t * }));\n\t * console.log('options.url:', options.url); // null\n\t * console.log('res.json():', res.json()); // Object {name: \"Jeff\"}\n\t * console.log('res.url:', res.url); // https://google.com\n\t * ```\n\t */\n\t ResponseOptions.prototype.merge = function (options) {\n\t return new ResponseOptions({\n\t body: options && options.body != null ? options.body : this.body,\n\t status: options && options.status != null ? options.status : this.status,\n\t headers: options && options.headers != null ? options.headers : this.headers,\n\t statusText: options && options.statusText != null ? options.statusText : this.statusText,\n\t type: options && options.type != null ? options.type : this.type,\n\t url: options && options.url != null ? options.url : this.url,\n\t });\n\t };\n\t return ResponseOptions;\n\t }());\n\t /**\n\t * Subclass of {@link ResponseOptions}, with default values.\n\t *\n\t * Default values:\n\t * * status: 200\n\t * * headers: empty {@link Headers} object\n\t *\n\t * This class could be extended and bound to the {@link ResponseOptions} class\n\t * when configuring an {@link Injector}, in order to override the default options\n\t * used by {@link Http} to create {@link Response Responses}.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/qv8DLT?p=preview))\n\t *\n\t * ```typescript\n\t * import {provide} from '@angular/core';\n\t * import {bootstrap} from '@angular/platform-browser/browser';\n\t * import {HTTP_PROVIDERS, Headers, Http, BaseResponseOptions, ResponseOptions} from\n\t * '@angular/http';\n\t * import {App} from './myapp';\n\t *\n\t * class MyOptions extends BaseResponseOptions {\n\t * headers:Headers = new Headers({network: 'github'});\n\t * }\n\t *\n\t * bootstrap(App, [HTTP_PROVIDERS, {provide: ResponseOptions, useClass: MyOptions}]);\n\t * ```\n\t *\n\t * The options could also be extended when manually creating a {@link Response}\n\t * object.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/VngosOWiaExEtbstDoix?p=preview))\n\t *\n\t * ```\n\t * import {BaseResponseOptions, Response} from '@angular/http';\n\t *\n\t * var options = new BaseResponseOptions();\n\t * var res = new Response(options.merge({\n\t * body: 'Angular',\n\t * headers: new Headers({framework: 'angular'})\n\t * }));\n\t * console.log('res.headers.get(\"framework\"):', res.headers.get('framework')); // angular\n\t * console.log('res.text():', res.text()); // Angular;\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var BaseResponseOptions = (function (_super) {\n\t __extends$1(BaseResponseOptions, _super);\n\t function BaseResponseOptions() {\n\t _super.call(this, { status: 200, statusText: 'Ok', type: exports.ResponseType.Default, headers: new Headers() });\n\t }\n\t BaseResponseOptions.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t BaseResponseOptions.ctorParameters = [];\n\t return BaseResponseOptions;\n\t }(ResponseOptions));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * Abstract class from which real backends are derived.\n\t *\n\t * The primary purpose of a `ConnectionBackend` is to create new connections to fulfill a given\n\t * {@link Request}.\n\t *\n\t * @experimental\n\t */\n\t var ConnectionBackend = (function () {\n\t function ConnectionBackend() {\n\t }\n\t return ConnectionBackend;\n\t }());\n\t /**\n\t * Abstract class from which real connections are derived.\n\t *\n\t * @experimental\n\t */\n\t var Connection = (function () {\n\t function Connection() {\n\t }\n\t return Connection;\n\t }());\n\t /**\n\t * An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.\n\t *\n\t * @experimental\n\t */\n\t var XSRFStrategy = (function () {\n\t function XSRFStrategy() {\n\t }\n\t return XSRFStrategy;\n\t }());\n\t\n\t function normalizeMethodName(method) {\n\t if (typeof method !== 'string')\n\t return method;\n\t switch (method.toUpperCase()) {\n\t case 'GET':\n\t return exports.RequestMethod.Get;\n\t case 'POST':\n\t return exports.RequestMethod.Post;\n\t case 'PUT':\n\t return exports.RequestMethod.Put;\n\t case 'DELETE':\n\t return exports.RequestMethod.Delete;\n\t case 'OPTIONS':\n\t return exports.RequestMethod.Options;\n\t case 'HEAD':\n\t return exports.RequestMethod.Head;\n\t case 'PATCH':\n\t return exports.RequestMethod.Patch;\n\t }\n\t throw new Error(\"Invalid request method. The method \\\"\" + method + \"\\\" is not supported.\");\n\t }\n\t var isSuccess = function (status) { return (status >= 200 && status < 300); };\n\t function getResponseURL(xhr) {\n\t if ('responseURL' in xhr) {\n\t return xhr.responseURL;\n\t }\n\t if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n\t return xhr.getResponseHeader('X-Request-URL');\n\t }\n\t return;\n\t }\n\t function stringToArrayBuffer(input) {\n\t var view = new Uint16Array(input.length);\n\t for (var i = 0, strLen = input.length; i < strLen; i++) {\n\t view[i] = input.charCodeAt(i);\n\t }\n\t return view.buffer;\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t function paramParser(rawParams) {\n\t if (rawParams === void 0) { rawParams = ''; }\n\t var map = new Map();\n\t if (rawParams.length > 0) {\n\t var params = rawParams.split('&');\n\t params.forEach(function (param) {\n\t var eqIdx = param.indexOf('=');\n\t var _a = eqIdx == -1 ? [param, ''] : [param.slice(0, eqIdx), param.slice(eqIdx + 1)], key = _a[0], val = _a[1];\n\t var list = map.get(key) || [];\n\t list.push(val);\n\t map.set(key, list);\n\t });\n\t }\n\t return map;\n\t }\n\t /**\n\t * @experimental\n\t **/\n\t var QueryEncoder = (function () {\n\t function QueryEncoder() {\n\t }\n\t QueryEncoder.prototype.encodeKey = function (k) { return standardEncoding(k); };\n\t QueryEncoder.prototype.encodeValue = function (v) { return standardEncoding(v); };\n\t return QueryEncoder;\n\t }());\n\t function standardEncoding(v) {\n\t return encodeURIComponent(v)\n\t .replace(/%40/gi, '@')\n\t .replace(/%3A/gi, ':')\n\t .replace(/%24/gi, '$')\n\t .replace(/%2C/gi, ',')\n\t .replace(/%3B/gi, ';')\n\t .replace(/%2B/gi, '+')\n\t .replace(/%3D/gi, '=')\n\t .replace(/%3F/gi, '?')\n\t .replace(/%2F/gi, '/');\n\t }\n\t /**\n\t * Map-like representation of url search parameters, based on\n\t * [URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard,\n\t * with several extensions for merging URLSearchParams objects:\n\t * - setAll()\n\t * - appendAll()\n\t * - replaceAll()\n\t *\n\t * This class accepts an optional second parameter of ${@link QueryEncoder},\n\t * which is used to serialize parameters before making a request. By default,\n\t * `QueryEncoder` encodes keys and values of parameters using `encodeURIComponent`,\n\t * and then un-encodes certain characters that are allowed to be part of the query\n\t * according to IETF RFC 3986: https://tools.ietf.org/html/rfc3986.\n\t *\n\t * These are the characters that are not encoded: `! $ \\' ( ) * + , ; A 9 - . _ ~ ? /`\n\t *\n\t * If the set of allowed query characters is not acceptable for a particular backend,\n\t * `QueryEncoder` can be subclassed and provided as the 2nd argument to URLSearchParams.\n\t *\n\t * ```\n\t * import {URLSearchParams, QueryEncoder} from '@angular/http';\n\t * class MyQueryEncoder extends QueryEncoder {\n\t * encodeKey(k: string): string {\n\t * return myEncodingFunction(k);\n\t * }\n\t *\n\t * encodeValue(v: string): string {\n\t * return myEncodingFunction(v);\n\t * }\n\t * }\n\t *\n\t * let params = new URLSearchParams('', new MyQueryEncoder());\n\t * ```\n\t * @experimental\n\t */\n\t var URLSearchParams = (function () {\n\t function URLSearchParams(rawParams, queryEncoder) {\n\t if (rawParams === void 0) { rawParams = ''; }\n\t if (queryEncoder === void 0) { queryEncoder = new QueryEncoder(); }\n\t this.rawParams = rawParams;\n\t this.queryEncoder = queryEncoder;\n\t this.paramsMap = paramParser(rawParams);\n\t }\n\t URLSearchParams.prototype.clone = function () {\n\t var clone = new URLSearchParams('', this.queryEncoder);\n\t clone.appendAll(this);\n\t return clone;\n\t };\n\t URLSearchParams.prototype.has = function (param) { return this.paramsMap.has(param); };\n\t URLSearchParams.prototype.get = function (param) {\n\t var storedParam = this.paramsMap.get(param);\n\t return Array.isArray(storedParam) ? storedParam[0] : null;\n\t };\n\t URLSearchParams.prototype.getAll = function (param) { return this.paramsMap.get(param) || []; };\n\t URLSearchParams.prototype.set = function (param, val) {\n\t if (val === void 0 || val === null) {\n\t this.delete(param);\n\t return;\n\t }\n\t var list = this.paramsMap.get(param) || [];\n\t list.length = 0;\n\t list.push(val);\n\t this.paramsMap.set(param, list);\n\t };\n\t // A merge operation\n\t // For each name-values pair in `searchParams`, perform `set(name, values[0])`\n\t //\n\t // E.g: \"a=[1,2,3], c=[8]\" + \"a=[4,5,6], b=[7]\" = \"a=[4], c=[8], b=[7]\"\n\t //\n\t // TODO(@caitp): document this better\n\t URLSearchParams.prototype.setAll = function (searchParams) {\n\t var _this = this;\n\t searchParams.paramsMap.forEach(function (value, param) {\n\t var list = _this.paramsMap.get(param) || [];\n\t list.length = 0;\n\t list.push(value[0]);\n\t _this.paramsMap.set(param, list);\n\t });\n\t };\n\t URLSearchParams.prototype.append = function (param, val) {\n\t if (val === void 0 || val === null)\n\t return;\n\t var list = this.paramsMap.get(param) || [];\n\t list.push(val);\n\t this.paramsMap.set(param, list);\n\t };\n\t // A merge operation\n\t // For each name-values pair in `searchParams`, perform `append(name, value)`\n\t // for each value in `values`.\n\t //\n\t // E.g: \"a=[1,2], c=[8]\" + \"a=[3,4], b=[7]\" = \"a=[1,2,3,4], c=[8], b=[7]\"\n\t //\n\t // TODO(@caitp): document this better\n\t URLSearchParams.prototype.appendAll = function (searchParams) {\n\t var _this = this;\n\t searchParams.paramsMap.forEach(function (value, param) {\n\t var list = _this.paramsMap.get(param) || [];\n\t for (var i = 0; i < value.length; ++i) {\n\t list.push(value[i]);\n\t }\n\t _this.paramsMap.set(param, list);\n\t });\n\t };\n\t // A merge operation\n\t // For each name-values pair in `searchParams`, perform `delete(name)`,\n\t // followed by `set(name, values)`\n\t //\n\t // E.g: \"a=[1,2,3], c=[8]\" + \"a=[4,5,6], b=[7]\" = \"a=[4,5,6], c=[8], b=[7]\"\n\t //\n\t // TODO(@caitp): document this better\n\t URLSearchParams.prototype.replaceAll = function (searchParams) {\n\t var _this = this;\n\t searchParams.paramsMap.forEach(function (value, param) {\n\t var list = _this.paramsMap.get(param) || [];\n\t list.length = 0;\n\t for (var i = 0; i < value.length; ++i) {\n\t list.push(value[i]);\n\t }\n\t _this.paramsMap.set(param, list);\n\t });\n\t };\n\t URLSearchParams.prototype.toString = function () {\n\t var _this = this;\n\t var paramsList = [];\n\t this.paramsMap.forEach(function (values, k) {\n\t values.forEach(function (v) { return paramsList.push(_this.queryEncoder.encodeKey(k) + '=' + _this.queryEncoder.encodeValue(v)); });\n\t });\n\t return paramsList.join('&');\n\t };\n\t URLSearchParams.prototype.delete = function (param) { this.paramsMap.delete(param); };\n\t return URLSearchParams;\n\t }());\n\t\n\t /**\n\t * HTTP request body used by both {@link Request} and {@link Response}\n\t * https://fetch.spec.whatwg.org/#body\n\t */\n\t var Body = (function () {\n\t function Body() {\n\t }\n\t /**\n\t * Attempts to return body as parsed `JSON` object, or raises an exception.\n\t */\n\t Body.prototype.json = function () {\n\t if (typeof this._body === 'string') {\n\t return JSON.parse(this._body);\n\t }\n\t if (this._body instanceof ArrayBuffer) {\n\t return JSON.parse(this.text());\n\t }\n\t return this._body;\n\t };\n\t /**\n\t * Returns the body as a string, presuming `toString()` can be called on the response body.\n\t */\n\t Body.prototype.text = function () {\n\t if (this._body instanceof URLSearchParams) {\n\t return this._body.toString();\n\t }\n\t if (this._body instanceof ArrayBuffer) {\n\t return String.fromCharCode.apply(null, new Uint16Array(this._body));\n\t }\n\t if (this._body === null) {\n\t return '';\n\t }\n\t if (typeof this._body === 'object') {\n\t return JSON.stringify(this._body, null, 2);\n\t }\n\t return this._body.toString();\n\t };\n\t /**\n\t * Return the body as an ArrayBuffer\n\t */\n\t Body.prototype.arrayBuffer = function () {\n\t if (this._body instanceof ArrayBuffer) {\n\t return this._body;\n\t }\n\t return stringToArrayBuffer(this.text());\n\t };\n\t /**\n\t * Returns the request's body as a Blob, assuming that body exists.\n\t */\n\t Body.prototype.blob = function () {\n\t if (this._body instanceof Blob) {\n\t return this._body;\n\t }\n\t if (this._body instanceof ArrayBuffer) {\n\t return new Blob([this._body]);\n\t }\n\t throw new Error('The request body isn\\'t either a blob or an array buffer');\n\t };\n\t return Body;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$2 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Creates `Response` instances from provided values.\n\t *\n\t * Though this object isn't\n\t * usually instantiated by end-users, it is the primary object interacted with when it comes time to\n\t * add data to a view.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * http.request('my-friends.txt').subscribe(response => this.friends = response.text());\n\t * ```\n\t *\n\t * The Response's interface is inspired by the Response constructor defined in the [Fetch\n\t * Spec](https://fetch.spec.whatwg.org/#response-class), but is considered a static value whose body\n\t * can be accessed many times. There are other differences in the implementation, but this is the\n\t * most significant.\n\t *\n\t * @experimental\n\t */\n\t var Response = (function (_super) {\n\t __extends$2(Response, _super);\n\t function Response(responseOptions) {\n\t _super.call(this);\n\t this._body = responseOptions.body;\n\t this.status = responseOptions.status;\n\t this.ok = (this.status >= 200 && this.status <= 299);\n\t this.statusText = responseOptions.statusText;\n\t this.headers = responseOptions.headers;\n\t this.type = responseOptions.type;\n\t this.url = responseOptions.url;\n\t }\n\t Response.prototype.toString = function () {\n\t return \"Response with status: \" + this.status + \" \" + this.statusText + \" for URL: \" + this.url;\n\t };\n\t return Response;\n\t }(Body));\n\t\n\t var _nextRequestId = 0;\n\t var JSONP_HOME = '__ng_jsonp__';\n\t var _jsonpConnections = null;\n\t function _getJsonpConnections() {\n\t var w = typeof window == 'object' ? window : {};\n\t if (_jsonpConnections === null) {\n\t _jsonpConnections = w[JSONP_HOME] = {};\n\t }\n\t return _jsonpConnections;\n\t }\n\t // Make sure not to evaluate this in a non-browser environment!\n\t var BrowserJsonp = (function () {\n\t function BrowserJsonp() {\n\t }\n\t // Construct a <script> element with the specified URL\n\t BrowserJsonp.prototype.build = function (url) {\n\t var node = document.createElement('script');\n\t node.src = url;\n\t return node;\n\t };\n\t BrowserJsonp.prototype.nextRequestID = function () { return \"__req\" + _nextRequestId++; };\n\t BrowserJsonp.prototype.requestCallback = function (id) { return JSONP_HOME + \".\" + id + \".finished\"; };\n\t BrowserJsonp.prototype.exposeConnection = function (id, connection) {\n\t var connections = _getJsonpConnections();\n\t connections[id] = connection;\n\t };\n\t BrowserJsonp.prototype.removeConnection = function (id) {\n\t var connections = _getJsonpConnections();\n\t connections[id] = null;\n\t };\n\t // Attach the <script> element to the DOM\n\t BrowserJsonp.prototype.send = function (node) { document.body.appendChild((node)); };\n\t // Remove <script> element from the DOM\n\t BrowserJsonp.prototype.cleanup = function (node) {\n\t if (node.parentNode) {\n\t node.parentNode.removeChild((node));\n\t }\n\t };\n\t BrowserJsonp.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t BrowserJsonp.ctorParameters = [];\n\t return BrowserJsonp;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t var JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';\n\t var JSONP_ERR_WRONG_METHOD = 'JSONP requests must use GET request method.';\n\t /**\n\t * Abstract base class for an in-flight JSONP request.\n\t *\n\t * @experimental\n\t */\n\t var JSONPConnection = (function () {\n\t function JSONPConnection() {\n\t }\n\t return JSONPConnection;\n\t }());\n\t var JSONPConnection_ = (function (_super) {\n\t __extends(JSONPConnection_, _super);\n\t function JSONPConnection_(req, _dom, baseResponseOptions) {\n\t var _this = this;\n\t _super.call(this);\n\t this._dom = _dom;\n\t this.baseResponseOptions = baseResponseOptions;\n\t this._finished = false;\n\t if (req.method !== exports.RequestMethod.Get) {\n\t throw new TypeError(JSONP_ERR_WRONG_METHOD);\n\t }\n\t this.request = req;\n\t this.response = new rxjs_Observable.Observable(function (responseObserver) {\n\t _this.readyState = exports.ReadyState.Loading;\n\t var id = _this._id = _dom.nextRequestID();\n\t _dom.exposeConnection(id, _this);\n\t // Workaround Dart\n\t // url = url.replace(/=JSONP_CALLBACK(&|$)/, `generated method`);\n\t var callback = _dom.requestCallback(_this._id);\n\t var url = req.url;\n\t if (url.indexOf('=JSONP_CALLBACK&') > -1) {\n\t url = url.replace('=JSONP_CALLBACK&', \"=\" + callback + \"&\");\n\t }\n\t else if (url.lastIndexOf('=JSONP_CALLBACK') === url.length - '=JSONP_CALLBACK'.length) {\n\t url = url.substring(0, url.length - '=JSONP_CALLBACK'.length) + (\"=\" + callback);\n\t }\n\t var script = _this._script = _dom.build(url);\n\t var onLoad = function (event) {\n\t if (_this.readyState === exports.ReadyState.Cancelled)\n\t return;\n\t _this.readyState = exports.ReadyState.Done;\n\t _dom.cleanup(script);\n\t if (!_this._finished) {\n\t var responseOptions_1 = new ResponseOptions({ body: JSONP_ERR_NO_CALLBACK, type: exports.ResponseType.Error, url: url });\n\t if (baseResponseOptions) {\n\t responseOptions_1 = baseResponseOptions.merge(responseOptions_1);\n\t }\n\t responseObserver.error(new Response(responseOptions_1));\n\t return;\n\t }\n\t var responseOptions = new ResponseOptions({ body: _this._responseData, url: url });\n\t if (_this.baseResponseOptions) {\n\t responseOptions = _this.baseResponseOptions.merge(responseOptions);\n\t }\n\t responseObserver.next(new Response(responseOptions));\n\t responseObserver.complete();\n\t };\n\t var onError = function (error) {\n\t if (_this.readyState === exports.ReadyState.Cancelled)\n\t return;\n\t _this.readyState = exports.ReadyState.Done;\n\t _dom.cleanup(script);\n\t var responseOptions = new ResponseOptions({ body: error.message, type: exports.ResponseType.Error });\n\t if (baseResponseOptions) {\n\t responseOptions = baseResponseOptions.merge(responseOptions);\n\t }\n\t responseObserver.error(new Response(responseOptions));\n\t };\n\t script.addEventListener('load', onLoad);\n\t script.addEventListener('error', onError);\n\t _dom.send(script);\n\t return function () {\n\t _this.readyState = exports.ReadyState.Cancelled;\n\t script.removeEventListener('load', onLoad);\n\t script.removeEventListener('error', onError);\n\t _this._dom.cleanup(script);\n\t };\n\t });\n\t }\n\t JSONPConnection_.prototype.finished = function (data) {\n\t // Don't leak connections\n\t this._finished = true;\n\t this._dom.removeConnection(this._id);\n\t if (this.readyState === exports.ReadyState.Cancelled)\n\t return;\n\t this._responseData = data;\n\t };\n\t return JSONPConnection_;\n\t }(JSONPConnection));\n\t /**\n\t * A {@link ConnectionBackend} that uses the JSONP strategy of making requests.\n\t *\n\t * @experimental\n\t */\n\t var JSONPBackend = (function (_super) {\n\t __extends(JSONPBackend, _super);\n\t function JSONPBackend() {\n\t _super.apply(this, arguments);\n\t }\n\t return JSONPBackend;\n\t }(ConnectionBackend));\n\t var JSONPBackend_ = (function (_super) {\n\t __extends(JSONPBackend_, _super);\n\t function JSONPBackend_(_browserJSONP, _baseResponseOptions) {\n\t _super.call(this);\n\t this._browserJSONP = _browserJSONP;\n\t this._baseResponseOptions = _baseResponseOptions;\n\t }\n\t JSONPBackend_.prototype.createConnection = function (request) {\n\t return new JSONPConnection_(request, this._browserJSONP, this._baseResponseOptions);\n\t };\n\t JSONPBackend_.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t JSONPBackend_.ctorParameters = [\n\t { type: BrowserJsonp, },\n\t { type: ResponseOptions, },\n\t ];\n\t return JSONPBackend_;\n\t }(JSONPBackend));\n\t\n\t var XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n\t /**\n\t * Creates connections using `XMLHttpRequest`. Given a fully-qualified\n\t * request, an `XHRConnection` will immediately create an `XMLHttpRequest` object and send the\n\t * request.\n\t *\n\t * This class would typically not be created or interacted with directly inside applications, though\n\t * the {@link MockConnection} may be interacted with in tests.\n\t *\n\t * @experimental\n\t */\n\t var XHRConnection = (function () {\n\t function XHRConnection(req, browserXHR, baseResponseOptions) {\n\t var _this = this;\n\t this.request = req;\n\t this.response = new rxjs_Observable.Observable(function (responseObserver) {\n\t var _xhr = browserXHR.build();\n\t _xhr.open(exports.RequestMethod[req.method].toUpperCase(), req.url);\n\t if (req.withCredentials != null) {\n\t _xhr.withCredentials = req.withCredentials;\n\t }\n\t // load event handler\n\t var onLoad = function () {\n\t // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n\t var status = _xhr.status === 1223 ? 204 : _xhr.status;\n\t var body = null;\n\t // HTTP 204 means no content\n\t if (status !== 204) {\n\t // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n\t // response/responseType properties were introduced in ResourceLoader Level2 spec\n\t // (supported by IE10)\n\t body = _xhr.response == null ? _xhr.responseText : _xhr.response;\n\t // Implicitly strip a potential XSSI prefix.\n\t if (typeof body === 'string') {\n\t body = body.replace(XSSI_PREFIX, '');\n\t }\n\t }\n\t // fix status code when it is 0 (0 status is undocumented).\n\t // Occurs when accessing file resources or on Android 4.1 stock browser\n\t // while retrieving files from application cache.\n\t if (status === 0) {\n\t status = body ? 200 : 0;\n\t }\n\t var headers = Headers.fromResponseHeaderString(_xhr.getAllResponseHeaders());\n\t // IE 9 does not provide the way to get URL of response\n\t var url = getResponseURL(_xhr) || req.url;\n\t var statusText = _xhr.statusText || 'OK';\n\t var responseOptions = new ResponseOptions({ body: body, status: status, headers: headers, statusText: statusText, url: url });\n\t if (baseResponseOptions != null) {\n\t responseOptions = baseResponseOptions.merge(responseOptions);\n\t }\n\t var response = new Response(responseOptions);\n\t response.ok = isSuccess(status);\n\t if (response.ok) {\n\t responseObserver.next(response);\n\t // TODO(gdi2290): defer complete if array buffer until done\n\t responseObserver.complete();\n\t return;\n\t }\n\t responseObserver.error(response);\n\t };\n\t // error event handler\n\t var onError = function (err) {\n\t var responseOptions = new ResponseOptions({\n\t body: err,\n\t type: exports.ResponseType.Error,\n\t status: _xhr.status,\n\t statusText: _xhr.statusText,\n\t });\n\t if (baseResponseOptions != null) {\n\t responseOptions = baseResponseOptions.merge(responseOptions);\n\t }\n\t responseObserver.error(new Response(responseOptions));\n\t };\n\t _this.setDetectedContentType(req, _xhr);\n\t if (req.headers != null) {\n\t req.headers.forEach(function (values, name) { return _xhr.setRequestHeader(name, values.join(',')); });\n\t }\n\t // Select the correct buffer type to store the response\n\t if (req.responseType != null && _xhr.responseType != null) {\n\t switch (req.responseType) {\n\t case exports.ResponseContentType.ArrayBuffer:\n\t _xhr.responseType = 'arraybuffer';\n\t break;\n\t case exports.ResponseContentType.Json:\n\t _xhr.responseType = 'json';\n\t break;\n\t case exports.ResponseContentType.Text:\n\t _xhr.responseType = 'text';\n\t break;\n\t case exports.ResponseContentType.Blob:\n\t _xhr.responseType = 'blob';\n\t break;\n\t default:\n\t throw new Error('The selected responseType is not supported');\n\t }\n\t }\n\t _xhr.addEventListener('load', onLoad);\n\t _xhr.addEventListener('error', onError);\n\t _xhr.send(_this.request.getBody());\n\t return function () {\n\t _xhr.removeEventListener('load', onLoad);\n\t _xhr.removeEventListener('error', onError);\n\t _xhr.abort();\n\t };\n\t });\n\t }\n\t XHRConnection.prototype.setDetectedContentType = function (req /** TODO Request */, _xhr /** XMLHttpRequest */) {\n\t // Skip if a custom Content-Type header is provided\n\t if (req.headers != null && req.headers.get('Content-Type') != null) {\n\t return;\n\t }\n\t // Set the detected content type\n\t switch (req.contentType) {\n\t case ContentType.NONE:\n\t break;\n\t case ContentType.JSON:\n\t _xhr.setRequestHeader('content-type', 'application/json');\n\t break;\n\t case ContentType.FORM:\n\t _xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n\t break;\n\t case ContentType.TEXT:\n\t _xhr.setRequestHeader('content-type', 'text/plain');\n\t break;\n\t case ContentType.BLOB:\n\t var blob = req.blob();\n\t if (blob.type) {\n\t _xhr.setRequestHeader('content-type', blob.type);\n\t }\n\t break;\n\t }\n\t };\n\t return XHRConnection;\n\t }());\n\t /**\n\t * `XSRFConfiguration` sets up Cross Site Request Forgery (XSRF) protection for the application\n\t * using a cookie. See {@link https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)}\n\t * for more information on XSRF.\n\t *\n\t * Applications can configure custom cookie and header names by binding an instance of this class\n\t * with different `cookieName` and `headerName` values. See the main HTTP documentation for more\n\t * details.\n\t *\n\t * @experimental\n\t */\n\t var CookieXSRFStrategy = (function () {\n\t function CookieXSRFStrategy(_cookieName, _headerName) {\n\t if (_cookieName === void 0) { _cookieName = 'XSRF-TOKEN'; }\n\t if (_headerName === void 0) { _headerName = 'X-XSRF-TOKEN'; }\n\t this._cookieName = _cookieName;\n\t this._headerName = _headerName;\n\t }\n\t CookieXSRFStrategy.prototype.configureRequest = function (req) {\n\t var xsrfToken = _angular_platformBrowser.__platform_browser_private__.getDOM().getCookie(this._cookieName);\n\t if (xsrfToken) {\n\t req.headers.set(this._headerName, xsrfToken);\n\t }\n\t };\n\t return CookieXSRFStrategy;\n\t }());\n\t /**\n\t * Creates {@link XHRConnection} instances.\n\t *\n\t * This class would typically not be used by end users, but could be\n\t * overridden if a different backend implementation should be used,\n\t * such as in a node backend.\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * import {Http, MyNodeBackend, HTTP_PROVIDERS, BaseRequestOptions} from '@angular/http';\n\t * @Component({\n\t * viewProviders: [\n\t * HTTP_PROVIDERS,\n\t * {provide: Http, useFactory: (backend, options) => {\n\t * return new Http(backend, options);\n\t * }, deps: [MyNodeBackend, BaseRequestOptions]}]\n\t * })\n\t * class MyComponent {\n\t * constructor(http:Http) {\n\t * http.request('people.json').subscribe(res => this.people = res.json());\n\t * }\n\t * }\n\t * ```\n\t * @experimental\n\t */\n\t var XHRBackend = (function () {\n\t function XHRBackend(_browserXHR, _baseResponseOptions, _xsrfStrategy) {\n\t this._browserXHR = _browserXHR;\n\t this._baseResponseOptions = _baseResponseOptions;\n\t this._xsrfStrategy = _xsrfStrategy;\n\t }\n\t XHRBackend.prototype.createConnection = function (request) {\n\t this._xsrfStrategy.configureRequest(request);\n\t return new XHRConnection(request, this._browserXHR, this._baseResponseOptions);\n\t };\n\t XHRBackend.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t XHRBackend.ctorParameters = [\n\t { type: BrowserXhr, },\n\t { type: ResponseOptions, },\n\t { type: XSRFStrategy, },\n\t ];\n\t return XHRBackend;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$3 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * Creates a request options object to be optionally provided when instantiating a\n\t * {@link Request}.\n\t *\n\t * This class is based on the `RequestInit` description in the [Fetch\n\t * Spec](https://fetch.spec.whatwg.org/#requestinit).\n\t *\n\t * All values are null by default. Typical defaults can be found in the {@link BaseRequestOptions}\n\t * class, which sub-classes `RequestOptions`.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/7Wvi3lfLq41aQPKlxB4O?p=preview))\n\t *\n\t * ```typescript\n\t * import {RequestOptions, Request, RequestMethod} from '@angular/http';\n\t *\n\t * var options = new RequestOptions({\n\t * method: RequestMethod.Post,\n\t * url: 'https://google.com'\n\t * });\n\t * var req = new Request(options);\n\t * console.log('req.method:', RequestMethod[req.method]); // Post\n\t * console.log('options.url:', options.url); // https://google.com\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var RequestOptions = (function () {\n\t function RequestOptions(_a) {\n\t var _b = _a === void 0 ? {} : _a, method = _b.method, headers = _b.headers, body = _b.body, url = _b.url, search = _b.search, withCredentials = _b.withCredentials, responseType = _b.responseType;\n\t this.method = method != null ? normalizeMethodName(method) : null;\n\t this.headers = headers != null ? headers : null;\n\t this.body = body != null ? body : null;\n\t this.url = url != null ? url : null;\n\t this.search =\n\t search != null ? (typeof search === 'string' ? new URLSearchParams(search) : search) : null;\n\t this.withCredentials = withCredentials != null ? withCredentials : null;\n\t this.responseType = responseType != null ? responseType : null;\n\t }\n\t /**\n\t * Creates a copy of the `RequestOptions` instance, using the optional input as values to override\n\t * existing values. This method will not change the values of the instance on which it is being\n\t * called.\n\t *\n\t * Note that `headers` and `search` will override existing values completely if present in\n\t * the `options` object. If these values should be merged, it should be done prior to calling\n\t * `merge` on the `RequestOptions` instance.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/6w8XA8YTkDRcPYpdB9dk?p=preview))\n\t *\n\t * ```typescript\n\t * import {RequestOptions, Request, RequestMethod} from '@angular/http';\n\t *\n\t * var options = new RequestOptions({\n\t * method: RequestMethod.Post\n\t * });\n\t * var req = new Request(options.merge({\n\t * url: 'https://google.com'\n\t * }));\n\t * console.log('req.method:', RequestMethod[req.method]); // Post\n\t * console.log('options.url:', options.url); // null\n\t * console.log('req.url:', req.url); // https://google.com\n\t * ```\n\t */\n\t RequestOptions.prototype.merge = function (options) {\n\t return new RequestOptions({\n\t method: options && options.method != null ? options.method : this.method,\n\t headers: options && options.headers != null ? options.headers : this.headers,\n\t body: options && options.body != null ? options.body : this.body,\n\t url: options && options.url != null ? options.url : this.url,\n\t search: options && options.search != null ?\n\t (typeof options.search === 'string' ? new URLSearchParams(options.search) :\n\t options.search.clone()) :\n\t this.search,\n\t withCredentials: options && options.withCredentials != null ? options.withCredentials :\n\t this.withCredentials,\n\t responseType: options && options.responseType != null ? options.responseType :\n\t this.responseType\n\t });\n\t };\n\t return RequestOptions;\n\t }());\n\t /**\n\t * Subclass of {@link RequestOptions}, with default values.\n\t *\n\t * Default values:\n\t * * method: {@link RequestMethod RequestMethod.Get}\n\t * * headers: empty {@link Headers} object\n\t *\n\t * This class could be extended and bound to the {@link RequestOptions} class\n\t * when configuring an {@link Injector}, in order to override the default options\n\t * used by {@link Http} to create and send {@link Request Requests}.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/LEKVSx?p=preview))\n\t *\n\t * ```typescript\n\t * import {provide} from '@angular/core';\n\t * import {bootstrap} from '@angular/platform-browser/browser';\n\t * import {HTTP_PROVIDERS, Http, BaseRequestOptions, RequestOptions} from '@angular/http';\n\t * import {App} from './myapp';\n\t *\n\t * class MyOptions extends BaseRequestOptions {\n\t * search: string = 'coreTeam=true';\n\t * }\n\t *\n\t * bootstrap(App, [HTTP_PROVIDERS, {provide: RequestOptions, useClass: MyOptions}]);\n\t * ```\n\t *\n\t * The options could also be extended when manually creating a {@link Request}\n\t * object.\n\t *\n\t * ### Example ([live demo](http://plnkr.co/edit/oyBoEvNtDhOSfi9YxaVb?p=preview))\n\t *\n\t * ```\n\t * import {BaseRequestOptions, Request, RequestMethod} from '@angular/http';\n\t *\n\t * var options = new BaseRequestOptions();\n\t * var req = new Request(options.merge({\n\t * method: RequestMethod.Post,\n\t * url: 'https://google.com'\n\t * }));\n\t * console.log('req.method:', RequestMethod[req.method]); // Post\n\t * console.log('options.url:', options.url); // null\n\t * console.log('req.url:', req.url); // https://google.com\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var BaseRequestOptions = (function (_super) {\n\t __extends$3(BaseRequestOptions, _super);\n\t function BaseRequestOptions() {\n\t _super.call(this, { method: exports.RequestMethod.Get, headers: new Headers() });\n\t }\n\t BaseRequestOptions.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t BaseRequestOptions.ctorParameters = [];\n\t return BaseRequestOptions;\n\t }(RequestOptions));\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$5 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t // TODO(jeffbcross): properly implement body accessors\n\t /**\n\t * Creates `Request` instances from provided values.\n\t *\n\t * The Request's interface is inspired by the Request constructor defined in the [Fetch\n\t * Spec](https://fetch.spec.whatwg.org/#request-class),\n\t * but is considered a static value whose body can be accessed many times. There are other\n\t * differences in the implementation, but this is the most significant.\n\t *\n\t * `Request` instances are typically created by higher-level classes, like {@link Http} and\n\t * {@link Jsonp}, but it may occasionally be useful to explicitly create `Request` instances.\n\t * One such example is when creating services that wrap higher-level services, like {@link Http},\n\t * where it may be useful to generate a `Request` with arbitrary headers and search params.\n\t *\n\t * ```typescript\n\t * import {Injectable, Injector} from '@angular/core';\n\t * import {HTTP_PROVIDERS, Http, Request, RequestMethod} from '@angular/http';\n\t *\n\t * @Injectable()\n\t * class AutoAuthenticator {\n\t * constructor(public http:Http) {}\n\t * request(url:string) {\n\t * return this.http.request(new Request({\n\t * method: RequestMethod.Get,\n\t * url: url,\n\t * search: 'password=123'\n\t * }));\n\t * }\n\t * }\n\t *\n\t * var injector = Injector.resolveAndCreate([HTTP_PROVIDERS, AutoAuthenticator]);\n\t * var authenticator = injector.get(AutoAuthenticator);\n\t * authenticator.request('people.json').subscribe(res => {\n\t * //URL should have included '?password=123'\n\t * console.log('people', res.json());\n\t * });\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var Request = (function (_super) {\n\t __extends$5(Request, _super);\n\t function Request(requestOptions) {\n\t _super.call(this);\n\t // TODO: assert that url is present\n\t var url = requestOptions.url;\n\t this.url = requestOptions.url;\n\t if (requestOptions.search) {\n\t var search = requestOptions.search.toString();\n\t if (search.length > 0) {\n\t var prefix = '?';\n\t if (this.url.indexOf('?') != -1) {\n\t prefix = (this.url[this.url.length - 1] == '&') ? '' : '&';\n\t }\n\t // TODO: just delete search-query-looking string in url?\n\t this.url = url + prefix + search;\n\t }\n\t }\n\t this._body = requestOptions.body;\n\t this.method = normalizeMethodName(requestOptions.method);\n\t // TODO(jeffbcross): implement behavior\n\t // Defaults to 'omit', consistent with browser\n\t this.headers = new Headers(requestOptions.headers);\n\t this.contentType = this.detectContentType();\n\t this.withCredentials = requestOptions.withCredentials;\n\t this.responseType = requestOptions.responseType;\n\t }\n\t /**\n\t * Returns the content type enum based on header options.\n\t */\n\t Request.prototype.detectContentType = function () {\n\t switch (this.headers.get('content-type')) {\n\t case 'application/json':\n\t return ContentType.JSON;\n\t case 'application/x-www-form-urlencoded':\n\t return ContentType.FORM;\n\t case 'multipart/form-data':\n\t return ContentType.FORM_DATA;\n\t case 'text/plain':\n\t case 'text/html':\n\t return ContentType.TEXT;\n\t case 'application/octet-stream':\n\t return ContentType.BLOB;\n\t default:\n\t return this.detectContentTypeFromBody();\n\t }\n\t };\n\t /**\n\t * Returns the content type of request's body based on its type.\n\t */\n\t Request.prototype.detectContentTypeFromBody = function () {\n\t if (this._body == null) {\n\t return ContentType.NONE;\n\t }\n\t else if (this._body instanceof URLSearchParams) {\n\t return ContentType.FORM;\n\t }\n\t else if (this._body instanceof FormData) {\n\t return ContentType.FORM_DATA;\n\t }\n\t else if (this._body instanceof Blob$1) {\n\t return ContentType.BLOB;\n\t }\n\t else if (this._body instanceof ArrayBuffer$1) {\n\t return ContentType.ARRAY_BUFFER;\n\t }\n\t else if (this._body && typeof this._body == 'object') {\n\t return ContentType.JSON;\n\t }\n\t else {\n\t return ContentType.TEXT;\n\t }\n\t };\n\t /**\n\t * Returns the request's body according to its type. If body is undefined, return\n\t * null.\n\t */\n\t Request.prototype.getBody = function () {\n\t switch (this.contentType) {\n\t case ContentType.JSON:\n\t return this.text();\n\t case ContentType.FORM:\n\t return this.text();\n\t case ContentType.FORM_DATA:\n\t return this._body;\n\t case ContentType.TEXT:\n\t return this.text();\n\t case ContentType.BLOB:\n\t return this.blob();\n\t case ContentType.ARRAY_BUFFER:\n\t return this.arrayBuffer();\n\t default:\n\t return null;\n\t }\n\t };\n\t return Request;\n\t }(Body));\n\t var noop = function () { };\n\t var w = typeof window == 'object' ? window : noop;\n\t var FormData = w['FormData'] || noop;\n\t var Blob$1 = w['Blob'] || noop;\n\t var ArrayBuffer$1 = w['ArrayBuffer'] || noop;\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$4 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t function httpRequest(backend, request) {\n\t return backend.createConnection(request).response;\n\t }\n\t function mergeOptions(defaultOpts, providedOpts, method, url) {\n\t var newOptions = defaultOpts;\n\t if (providedOpts) {\n\t // Hack so Dart can used named parameters\n\t return newOptions.merge(new RequestOptions({\n\t method: providedOpts.method || method,\n\t url: providedOpts.url || url,\n\t search: providedOpts.search,\n\t headers: providedOpts.headers,\n\t body: providedOpts.body,\n\t withCredentials: providedOpts.withCredentials,\n\t responseType: providedOpts.responseType\n\t }));\n\t }\n\t return newOptions.merge(new RequestOptions({ method: method, url: url }));\n\t }\n\t /**\n\t * Performs http requests using `XMLHttpRequest` as the default backend.\n\t *\n\t * `Http` is available as an injectable class, with methods to perform http requests. Calling\n\t * `request` returns an `Observable` which will emit a single {@link Response} when a\n\t * response is received.\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * import {Http, HTTP_PROVIDERS} from '@angular/http';\n\t * import 'rxjs/add/operator/map'\n\t * @Component({\n\t * selector: 'http-app',\n\t * viewProviders: [HTTP_PROVIDERS],\n\t * templateUrl: 'people.html'\n\t * })\n\t * class PeopleComponent {\n\t * constructor(http: Http) {\n\t * http.get('people.json')\n\t * // Call map on the response observable to get the parsed people object\n\t * .map(res => res.json())\n\t * // Subscribe to the observable to get the parsed people object and attach it to the\n\t * // component\n\t * .subscribe(people => this.people = people);\n\t * }\n\t * }\n\t * ```\n\t *\n\t *\n\t * ### Example\n\t *\n\t * ```\n\t * http.get('people.json').subscribe((res:Response) => this.people = res.json());\n\t * ```\n\t *\n\t * The default construct used to perform requests, `XMLHttpRequest`, is abstracted as a \"Backend\" (\n\t * {@link XHRBackend} in this case), which could be mocked with dependency injection by replacing\n\t * the {@link XHRBackend} provider, as in the following example:\n\t *\n\t * ### Example\n\t *\n\t * ```typescript\n\t * import {BaseRequestOptions, Http} from '@angular/http';\n\t * import {MockBackend} from '@angular/http/testing';\n\t * var injector = Injector.resolveAndCreate([\n\t * BaseRequestOptions,\n\t * MockBackend,\n\t * {provide: Http, useFactory:\n\t * function(backend, defaultOptions) {\n\t * return new Http(backend, defaultOptions);\n\t * },\n\t * deps: [MockBackend, BaseRequestOptions]}\n\t * ]);\n\t * var http = injector.get(Http);\n\t * http.get('request-from-mock-backend.json').subscribe((res:Response) => doSomething(res));\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var Http = (function () {\n\t function Http(_backend, _defaultOptions) {\n\t this._backend = _backend;\n\t this._defaultOptions = _defaultOptions;\n\t }\n\t /**\n\t * Performs any type of http request. First argument is required, and can either be a url or\n\t * a {@link Request} instance. If the first argument is a url, an optional {@link RequestOptions}\n\t * object can be provided as the 2nd argument. The options object will be merged with the values\n\t * of {@link BaseRequestOptions} before performing the request.\n\t */\n\t Http.prototype.request = function (url, options) {\n\t var responseObservable;\n\t if (typeof url === 'string') {\n\t responseObservable = httpRequest(this._backend, new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url)));\n\t }\n\t else if (url instanceof Request) {\n\t responseObservable = httpRequest(this._backend, url);\n\t }\n\t else {\n\t throw new Error('First argument must be a url string or Request instance.');\n\t }\n\t return responseObservable;\n\t };\n\t /**\n\t * Performs a request with `get` http method.\n\t */\n\t Http.prototype.get = function (url, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url)));\n\t };\n\t /**\n\t * Performs a request with `post` http method.\n\t */\n\t Http.prototype.post = function (url, body, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Post, url)));\n\t };\n\t /**\n\t * Performs a request with `put` http method.\n\t */\n\t Http.prototype.put = function (url, body, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Put, url)));\n\t };\n\t /**\n\t * Performs a request with `delete` http method.\n\t */\n\t Http.prototype.delete = function (url, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Delete, url)));\n\t };\n\t /**\n\t * Performs a request with `patch` http method.\n\t */\n\t Http.prototype.patch = function (url, body, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Patch, url)));\n\t };\n\t /**\n\t * Performs a request with `head` http method.\n\t */\n\t Http.prototype.head = function (url, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Head, url)));\n\t };\n\t /**\n\t * Performs a request with `options` http method.\n\t */\n\t Http.prototype.options = function (url, options) {\n\t return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Options, url)));\n\t };\n\t Http.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t Http.ctorParameters = [\n\t { type: ConnectionBackend, },\n\t { type: RequestOptions, },\n\t ];\n\t return Http;\n\t }());\n\t /**\n\t * @experimental\n\t */\n\t var Jsonp = (function (_super) {\n\t __extends$4(Jsonp, _super);\n\t function Jsonp(backend, defaultOptions) {\n\t _super.call(this, backend, defaultOptions);\n\t }\n\t /**\n\t * Performs any type of http request. First argument is required, and can either be a url or\n\t * a {@link Request} instance. If the first argument is a url, an optional {@link RequestOptions}\n\t * object can be provided as the 2nd argument. The options object will be merged with the values\n\t * of {@link BaseRequestOptions} before performing the request.\n\t *\n\t * @security Regular XHR is the safest alternative to JSONP for most applications, and is\n\t * supported by all current browsers. Because JSONP creates a `<script>` element with\n\t * contents retrieved from a remote source, attacker-controlled data introduced by an untrusted\n\t * source could expose your application to XSS risks. Data exposed by JSONP may also be\n\t * readable by malicious third-party websites. In addition, JSONP introduces potential risk for\n\t * future security issues (e.g. content sniffing). For more detail, see the\n\t * [Security Guide](http://g.co/ng/security).\n\t */\n\t Jsonp.prototype.request = function (url, options) {\n\t var responseObservable;\n\t if (typeof url === 'string') {\n\t url =\n\t new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url));\n\t }\n\t if (url instanceof Request) {\n\t if (url.method !== exports.RequestMethod.Get) {\n\t throw new Error('JSONP requests must use GET request method.');\n\t }\n\t responseObservable = httpRequest(this._backend, url);\n\t }\n\t else {\n\t throw new Error('First argument must be a url string or Request instance.');\n\t }\n\t return responseObservable;\n\t };\n\t Jsonp.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t Jsonp.ctorParameters = [\n\t { type: ConnectionBackend, },\n\t { type: RequestOptions, },\n\t ];\n\t return Jsonp;\n\t }(Http));\n\t\n\t function _createDefaultCookieXSRFStrategy() {\n\t return new CookieXSRFStrategy();\n\t }\n\t function httpFactory(xhrBackend, requestOptions) {\n\t return new Http(xhrBackend, requestOptions);\n\t }\n\t function jsonpFactory(jsonpBackend, requestOptions) {\n\t return new Jsonp(jsonpBackend, requestOptions);\n\t }\n\t /**\n\t * The module that includes http's providers\n\t *\n\t * @experimental\n\t */\n\t var HttpModule = (function () {\n\t function HttpModule() {\n\t }\n\t HttpModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t providers: [\n\t // TODO(pascal): use factory type annotations once supported in DI\n\t // issue: https://github.com/angular/angular/issues/3183\n\t { provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] },\n\t BrowserXhr,\n\t { provide: RequestOptions, useClass: BaseRequestOptions },\n\t { provide: ResponseOptions, useClass: BaseResponseOptions },\n\t XHRBackend,\n\t { provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy },\n\t ],\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t HttpModule.ctorParameters = [];\n\t return HttpModule;\n\t }());\n\t /**\n\t * The module that includes jsonp's providers\n\t *\n\t * @experimental\n\t */\n\t var JsonpModule = (function () {\n\t function JsonpModule() {\n\t }\n\t JsonpModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{\n\t providers: [\n\t // TODO(pascal): use factory type annotations once supported in DI\n\t // issue: https://github.com/angular/angular/issues/3183\n\t { provide: Jsonp, useFactory: jsonpFactory, deps: [JSONPBackend, RequestOptions] },\n\t BrowserJsonp,\n\t { provide: RequestOptions, useClass: BaseRequestOptions },\n\t { provide: ResponseOptions, useClass: BaseResponseOptions },\n\t { provide: JSONPBackend, useClass: JSONPBackend_ },\n\t ],\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t JsonpModule.ctorParameters = [];\n\t return JsonpModule;\n\t }());\n\t\n\t exports.BrowserXhr = BrowserXhr;\n\t exports.JSONPBackend = JSONPBackend;\n\t exports.JSONPConnection = JSONPConnection;\n\t exports.CookieXSRFStrategy = CookieXSRFStrategy;\n\t exports.XHRBackend = XHRBackend;\n\t exports.XHRConnection = XHRConnection;\n\t exports.BaseRequestOptions = BaseRequestOptions;\n\t exports.RequestOptions = RequestOptions;\n\t exports.BaseResponseOptions = BaseResponseOptions;\n\t exports.ResponseOptions = ResponseOptions;\n\t exports.Headers = Headers;\n\t exports.Http = Http;\n\t exports.Jsonp = Jsonp;\n\t exports.HttpModule = HttpModule;\n\t exports.JsonpModule = JsonpModule;\n\t exports.Connection = Connection;\n\t exports.ConnectionBackend = ConnectionBackend;\n\t exports.XSRFStrategy = XSRFStrategy;\n\t exports.Request = Request;\n\t exports.Response = Response;\n\t exports.QueryEncoder = QueryEncoder;\n\t exports.URLSearchParams = URLSearchParams;\n\t\n\t}));\n\n/***/ },\n/* 315 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar forkJoin_1 = __webpack_require__(316);\n\tObservable_1.Observable.forkJoin = forkJoin_1.forkJoin;\n\t//# sourceMappingURL=forkJoin.js.map\n\n/***/ },\n/* 316 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar ForkJoinObservable_1 = __webpack_require__(317);\n\texports.forkJoin = ForkJoinObservable_1.ForkJoinObservable.create;\n\t//# sourceMappingURL=forkJoin.js.map\n\n/***/ },\n/* 317 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar EmptyObservable_1 = __webpack_require__(302);\n\tvar isArray_1 = __webpack_require__(271);\n\tvar subscribeToResult_1 = __webpack_require__(307);\n\tvar OuterSubscriber_1 = __webpack_require__(306);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar ForkJoinObservable = (function (_super) {\n\t __extends(ForkJoinObservable, _super);\n\t function ForkJoinObservable(sources, resultSelector) {\n\t _super.call(this);\n\t this.sources = sources;\n\t this.resultSelector = resultSelector;\n\t }\n\t /* tslint:enable:max-line-length */\n\t /**\n\t * @param sources\n\t * @return {any}\n\t * @static true\n\t * @name forkJoin\n\t * @owner Observable\n\t */\n\t ForkJoinObservable.create = function () {\n\t var sources = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t sources[_i - 0] = arguments[_i];\n\t }\n\t if (sources === null || arguments.length === 0) {\n\t return new EmptyObservable_1.EmptyObservable();\n\t }\n\t var resultSelector = null;\n\t if (typeof sources[sources.length - 1] === 'function') {\n\t resultSelector = sources.pop();\n\t }\n\t // if the first and only other argument besides the resultSelector is an array\n\t // assume it's been called with `forkJoin([obs1, obs2, obs3], resultSelector)`\n\t if (sources.length === 1 && isArray_1.isArray(sources[0])) {\n\t sources = sources[0];\n\t }\n\t if (sources.length === 0) {\n\t return new EmptyObservable_1.EmptyObservable();\n\t }\n\t return new ForkJoinObservable(sources, resultSelector);\n\t };\n\t ForkJoinObservable.prototype._subscribe = function (subscriber) {\n\t return new ForkJoinSubscriber(subscriber, this.sources, this.resultSelector);\n\t };\n\t return ForkJoinObservable;\n\t}(Observable_1.Observable));\n\texports.ForkJoinObservable = ForkJoinObservable;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar ForkJoinSubscriber = (function (_super) {\n\t __extends(ForkJoinSubscriber, _super);\n\t function ForkJoinSubscriber(destination, sources, resultSelector) {\n\t _super.call(this, destination);\n\t this.sources = sources;\n\t this.resultSelector = resultSelector;\n\t this.completed = 0;\n\t this.haveValues = 0;\n\t var len = sources.length;\n\t this.total = len;\n\t this.values = new Array(len);\n\t for (var i = 0; i < len; i++) {\n\t var source = sources[i];\n\t var innerSubscription = subscribeToResult_1.subscribeToResult(this, source, null, i);\n\t if (innerSubscription) {\n\t innerSubscription.outerIndex = i;\n\t this.add(innerSubscription);\n\t }\n\t }\n\t }\n\t ForkJoinSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n\t this.values[outerIndex] = innerValue;\n\t if (!innerSub._hasValue) {\n\t innerSub._hasValue = true;\n\t this.haveValues++;\n\t }\n\t };\n\t ForkJoinSubscriber.prototype.notifyComplete = function (innerSub) {\n\t var destination = this.destination;\n\t var _a = this, haveValues = _a.haveValues, resultSelector = _a.resultSelector, values = _a.values;\n\t var len = values.length;\n\t if (!innerSub._hasValue) {\n\t destination.complete();\n\t return;\n\t }\n\t this.completed++;\n\t if (this.completed !== len) {\n\t return;\n\t }\n\t if (haveValues === len) {\n\t var value = resultSelector ? resultSelector.apply(this, values) : values;\n\t destination.next(value);\n\t }\n\t destination.complete();\n\t };\n\t return ForkJoinSubscriber;\n\t}(OuterSubscriber_1.OuterSubscriber));\n\t//# sourceMappingURL=ForkJoinObservable.js.map\n\n/***/ },\n/* 318 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar of_1 = __webpack_require__(319);\n\tObservable_1.Observable.of = of_1.of;\n\t//# sourceMappingURL=of.js.map\n\n/***/ },\n/* 319 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar ArrayObservable_1 = __webpack_require__(300);\n\texports.of = ArrayObservable_1.ArrayObservable.of;\n\t//# sourceMappingURL=of.js.map\n\n/***/ },\n/* 320 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar map_1 = __webpack_require__(321);\n\tObservable_1.Observable.prototype.map = map_1.map;\n\t//# sourceMappingURL=map.js.map\n\n/***/ },\n/* 321 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Applies a given `project` function to each value emitted by the source\n\t * Observable, and emits the resulting values as an Observable.\n\t *\n\t * <span class=\"informal\">Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map),\n\t * it passes each source value through a transformation function to get\n\t * corresponding output values.</span>\n\t *\n\t * <img src=\"./img/map.png\" width=\"100%\">\n\t *\n\t * Similar to the well known `Array.prototype.map` function, this operator\n\t * applies a projection to each value and emits that projection in the output\n\t * Observable.\n\t *\n\t * @example <caption>Map every every click to the clientX position of that click</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var positions = clicks.map(ev => ev.clientX);\n\t * positions.subscribe(x => console.log(x));\n\t *\n\t * @see {@link mapTo}\n\t * @see {@link pluck}\n\t *\n\t * @param {function(value: T, index: number): R} project The function to apply\n\t * to each `value` emitted by the source Observable. The `index` parameter is\n\t * the number `i` for the i-th emission that has happened since the\n\t * subscription, starting from the number `0`.\n\t * @param {any} [thisArg] An optional argument to define what `this` is in the\n\t * `project` function.\n\t * @return {Observable<R>} An Observable that emits the values from the source\n\t * Observable transformed by the given `project` function.\n\t * @method map\n\t * @owner Observable\n\t */\n\tfunction map(project, thisArg) {\n\t if (typeof project !== 'function') {\n\t throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n\t }\n\t return this.lift(new MapOperator(project, thisArg));\n\t}\n\texports.map = map;\n\tvar MapOperator = (function () {\n\t function MapOperator(project, thisArg) {\n\t this.project = project;\n\t this.thisArg = thisArg;\n\t }\n\t MapOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n\t };\n\t return MapOperator;\n\t}());\n\texports.MapOperator = MapOperator;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar MapSubscriber = (function (_super) {\n\t __extends(MapSubscriber, _super);\n\t function MapSubscriber(destination, project, thisArg) {\n\t _super.call(this, destination);\n\t this.project = project;\n\t this.count = 0;\n\t this.thisArg = thisArg || this;\n\t }\n\t // NOTE: This looks unoptimized, but it's actually purposefully NOT\n\t // using try/catch optimizations.\n\t MapSubscriber.prototype._next = function (value) {\n\t var result;\n\t try {\n\t result = this.project.call(this.thisArg, value, this.count++);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.destination.next(result);\n\t };\n\t return MapSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=map.js.map\n\n/***/ },\n/* 322 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar filter_1 = __webpack_require__(323);\n\tObservable_1.Observable.prototype.filter = filter_1.filter;\n\t//# sourceMappingURL=filter.js.map\n\n/***/ },\n/* 323 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Filter items emitted by the source Observable by only emitting those that\n\t * satisfy a specified predicate.\n\t *\n\t * <span class=\"informal\">Like\n\t * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter),\n\t * it only emits a value from the source if it passes a criterion function.</span>\n\t *\n\t * <img src=\"./img/filter.png\" width=\"100%\">\n\t *\n\t * Similar to the well-known `Array.prototype.filter` method, this operator\n\t * takes values from the source Observable, passes them through a `predicate`\n\t * function and only emits those values that yielded `true`.\n\t *\n\t * @example <caption>Emit only click events whose target was a DIV element</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV');\n\t * clicksOnDivs.subscribe(x => console.log(x));\n\t *\n\t * @see {@link distinct}\n\t * @see {@link distinctKey}\n\t * @see {@link distinctUntilChanged}\n\t * @see {@link distinctUntilKeyChanged}\n\t * @see {@link ignoreElements}\n\t * @see {@link partition}\n\t * @see {@link skip}\n\t *\n\t * @param {function(value: T, index: number): boolean} predicate A function that\n\t * evaluates each value emitted by the source Observable. If it returns `true`,\n\t * the value is emitted, if `false` the value is not passed to the output\n\t * Observable. The `index` parameter is the number `i` for the i-th source\n\t * emission that has happened since the subscription, starting from the number\n\t * `0`.\n\t * @param {any} [thisArg] An optional argument to determine the value of `this`\n\t * in the `predicate` function.\n\t * @return {Observable} An Observable of values from the source that were\n\t * allowed by the `predicate` function.\n\t * @method filter\n\t * @owner Observable\n\t */\n\tfunction filter(predicate, thisArg) {\n\t return this.lift(new FilterOperator(predicate, thisArg));\n\t}\n\texports.filter = filter;\n\tvar FilterOperator = (function () {\n\t function FilterOperator(predicate, thisArg) {\n\t this.predicate = predicate;\n\t this.thisArg = thisArg;\n\t }\n\t FilterOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n\t };\n\t return FilterOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar FilterSubscriber = (function (_super) {\n\t __extends(FilterSubscriber, _super);\n\t function FilterSubscriber(destination, predicate, thisArg) {\n\t _super.call(this, destination);\n\t this.predicate = predicate;\n\t this.thisArg = thisArg;\n\t this.count = 0;\n\t this.predicate = predicate;\n\t }\n\t // the try catch block below is left specifically for\n\t // optimization and perf reasons. a tryCatcher is not necessary here.\n\t FilterSubscriber.prototype._next = function (value) {\n\t var result;\n\t try {\n\t result = this.predicate.call(this.thisArg, value, this.count++);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t if (result) {\n\t this.destination.next(value);\n\t }\n\t };\n\t return FilterSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=filter.js.map\n\n/***/ },\n/* 324 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar do_1 = __webpack_require__(325);\n\tObservable_1.Observable.prototype.do = do_1._do;\n\tObservable_1.Observable.prototype._do = do_1._do;\n\t//# sourceMappingURL=do.js.map\n\n/***/ },\n/* 325 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Perform a side effect for every emission on the source Observable, but return\n\t * an Observable that is identical to the source.\n\t *\n\t * <span class=\"informal\">Intercepts each emission on the source and runs a\n\t * function, but returns an output which is identical to the source.</span>\n\t *\n\t * <img src=\"./img/do.png\" width=\"100%\">\n\t *\n\t * Returns a mirrored Observable of the source Observable, but modified so that\n\t * the provided Observer is called to perform a side effect for every value,\n\t * error, and completion emitted by the source. Any errors that are thrown in\n\t * the aforementioned Observer or handlers are safely sent down the error path\n\t * of the output Observable.\n\t *\n\t * This operator is useful for debugging your Observables for the correct values\n\t * or performing other side effects.\n\t *\n\t * Note: this is different to a `subscribe` on the Observable. If the Observable\n\t * returned by `do` is not subscribed, the side effects specified by the\n\t * Observer will never happen. `do` therefore simply spies on existing\n\t * execution, it does not trigger an execution to happen like `subscribe` does.\n\t *\n\t * @example <caption>Map every every click to the clientX position of that click, while also logging the click event</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var positions = clicks\n\t * .do(ev => console.log(ev))\n\t * .map(ev => ev.clientX);\n\t * positions.subscribe(x => console.log(x));\n\t *\n\t * @see {@link map}\n\t * @see {@link subscribe}\n\t *\n\t * @param {Observer|function} [nextOrObserver] A normal Observer object or a\n\t * callback for `next`.\n\t * @param {function} [error] Callback for errors in the source.\n\t * @param {function} [complete] Callback for the completion of the source.\n\t * @return {Observable} An Observable identical to the source, but runs the\n\t * specified Observer or callback(s) for each item.\n\t * @method do\n\t * @name do\n\t * @owner Observable\n\t */\n\tfunction _do(nextOrObserver, error, complete) {\n\t return this.lift(new DoOperator(nextOrObserver, error, complete));\n\t}\n\texports._do = _do;\n\tvar DoOperator = (function () {\n\t function DoOperator(nextOrObserver, error, complete) {\n\t this.nextOrObserver = nextOrObserver;\n\t this.error = error;\n\t this.complete = complete;\n\t }\n\t DoOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new DoSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n\t };\n\t return DoOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar DoSubscriber = (function (_super) {\n\t __extends(DoSubscriber, _super);\n\t function DoSubscriber(destination, nextOrObserver, error, complete) {\n\t _super.call(this, destination);\n\t var safeSubscriber = new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n\t safeSubscriber.syncErrorThrowable = true;\n\t this.add(safeSubscriber);\n\t this.safeSubscriber = safeSubscriber;\n\t }\n\t DoSubscriber.prototype._next = function (value) {\n\t var safeSubscriber = this.safeSubscriber;\n\t safeSubscriber.next(value);\n\t if (safeSubscriber.syncErrorThrown) {\n\t this.destination.error(safeSubscriber.syncErrorValue);\n\t }\n\t else {\n\t this.destination.next(value);\n\t }\n\t };\n\t DoSubscriber.prototype._error = function (err) {\n\t var safeSubscriber = this.safeSubscriber;\n\t safeSubscriber.error(err);\n\t if (safeSubscriber.syncErrorThrown) {\n\t this.destination.error(safeSubscriber.syncErrorValue);\n\t }\n\t else {\n\t this.destination.error(err);\n\t }\n\t };\n\t DoSubscriber.prototype._complete = function () {\n\t var safeSubscriber = this.safeSubscriber;\n\t safeSubscriber.complete();\n\t if (safeSubscriber.syncErrorThrown) {\n\t this.destination.error(safeSubscriber.syncErrorValue);\n\t }\n\t else {\n\t this.destination.complete();\n\t }\n\t };\n\t return DoSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=do.js.map\n\n/***/ },\n/* 326 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar share_1 = __webpack_require__(327);\n\tObservable_1.Observable.prototype.share = share_1.share;\n\t//# sourceMappingURL=share.js.map\n\n/***/ },\n/* 327 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar multicast_1 = __webpack_require__(328);\n\tvar Subject_1 = __webpack_require__(264);\n\tfunction shareSubjectFactory() {\n\t return new Subject_1.Subject();\n\t}\n\t/**\n\t * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one\n\t * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will\n\t * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`.\n\t * This is an alias for .publish().refCount().\n\t *\n\t * <img src=\"./img/share.png\" width=\"100%\">\n\t *\n\t * @return {Observable<T>} an Observable that upon connection causes the source Observable to emit items to its Observers\n\t * @method share\n\t * @owner Observable\n\t */\n\tfunction share() {\n\t return multicast_1.multicast.call(this, shareSubjectFactory).refCount();\n\t}\n\texports.share = share;\n\t;\n\t//# sourceMappingURL=share.js.map\n\n/***/ },\n/* 328 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar MulticastObservable_1 = __webpack_require__(329);\n\tvar ConnectableObservable_1 = __webpack_require__(330);\n\t/**\n\t * Returns an Observable that emits the results of invoking a specified selector on items\n\t * emitted by a ConnectableObservable that shares a single subscription to the underlying stream.\n\t *\n\t * <img src=\"./img/multicast.png\" width=\"100%\">\n\t *\n\t * @param {Function|Subject} Factory function to create an intermediate subject through\n\t * which the source sequence's elements will be multicast to the selector function\n\t * or Subject to push source elements into.\n\t * @param {Function} Optional selector function that can use the multicasted source stream\n\t * as many times as needed, without causing multiple subscriptions to the source stream.\n\t * Subscribers to the given source will receive all notifications of the source from the\n\t * time of the subscription forward.\n\t * @return {Observable} an Observable that emits the results of invoking the selector\n\t * on the items emitted by a `ConnectableObservable` that shares a single subscription to\n\t * the underlying stream.\n\t * @method multicast\n\t * @owner Observable\n\t */\n\tfunction multicast(subjectOrSubjectFactory, selector) {\n\t var subjectFactory;\n\t if (typeof subjectOrSubjectFactory === 'function') {\n\t subjectFactory = subjectOrSubjectFactory;\n\t }\n\t else {\n\t subjectFactory = function subjectFactory() {\n\t return subjectOrSubjectFactory;\n\t };\n\t }\n\t return !selector ?\n\t new ConnectableObservable_1.ConnectableObservable(this, subjectFactory) :\n\t new MulticastObservable_1.MulticastObservable(this, subjectFactory, selector);\n\t}\n\texports.multicast = multicast;\n\t//# sourceMappingURL=multicast.js.map\n\n/***/ },\n/* 329 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar ConnectableObservable_1 = __webpack_require__(330);\n\tvar MulticastObservable = (function (_super) {\n\t __extends(MulticastObservable, _super);\n\t function MulticastObservable(source, subjectFactory, selector) {\n\t _super.call(this);\n\t this.source = source;\n\t this.subjectFactory = subjectFactory;\n\t this.selector = selector;\n\t }\n\t MulticastObservable.prototype._subscribe = function (subscriber) {\n\t var _a = this, selector = _a.selector, source = _a.source;\n\t var connectable = new ConnectableObservable_1.ConnectableObservable(source, this.subjectFactory);\n\t var subscription = selector(connectable).subscribe(subscriber);\n\t subscription.add(connectable.connect());\n\t return subscription;\n\t };\n\t return MulticastObservable;\n\t}(Observable_1.Observable));\n\texports.MulticastObservable = MulticastObservable;\n\t//# sourceMappingURL=MulticastObservable.js.map\n\n/***/ },\n/* 330 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subject_1 = __webpack_require__(264);\n\tvar Observable_1 = __webpack_require__(265);\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar Subscription_1 = __webpack_require__(270);\n\t/**\n\t * @class ConnectableObservable<T>\n\t */\n\tvar ConnectableObservable = (function (_super) {\n\t __extends(ConnectableObservable, _super);\n\t function ConnectableObservable(source, subjectFactory) {\n\t _super.call(this);\n\t this.source = source;\n\t this.subjectFactory = subjectFactory;\n\t this._refCount = 0;\n\t }\n\t ConnectableObservable.prototype._subscribe = function (subscriber) {\n\t return this.getSubject().subscribe(subscriber);\n\t };\n\t ConnectableObservable.prototype.getSubject = function () {\n\t var subject = this._subject;\n\t if (!subject || subject.isStopped) {\n\t this._subject = this.subjectFactory();\n\t }\n\t return this._subject;\n\t };\n\t ConnectableObservable.prototype.connect = function () {\n\t var connection = this._connection;\n\t if (!connection) {\n\t connection = this._connection = new Subscription_1.Subscription();\n\t connection.add(this.source\n\t .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n\t if (connection.closed) {\n\t this._connection = null;\n\t connection = Subscription_1.Subscription.EMPTY;\n\t }\n\t else {\n\t this._connection = connection;\n\t }\n\t }\n\t return connection;\n\t };\n\t ConnectableObservable.prototype.refCount = function () {\n\t return this.lift(new RefCountOperator(this));\n\t };\n\t return ConnectableObservable;\n\t}(Observable_1.Observable));\n\texports.ConnectableObservable = ConnectableObservable;\n\tvar ConnectableSubscriber = (function (_super) {\n\t __extends(ConnectableSubscriber, _super);\n\t function ConnectableSubscriber(destination, connectable) {\n\t _super.call(this, destination);\n\t this.connectable = connectable;\n\t }\n\t ConnectableSubscriber.prototype._error = function (err) {\n\t this._unsubscribe();\n\t _super.prototype._error.call(this, err);\n\t };\n\t ConnectableSubscriber.prototype._complete = function () {\n\t this._unsubscribe();\n\t _super.prototype._complete.call(this);\n\t };\n\t ConnectableSubscriber.prototype._unsubscribe = function () {\n\t var connectable = this.connectable;\n\t if (connectable) {\n\t this.connectable = null;\n\t var connection = connectable._connection;\n\t connectable._refCount = 0;\n\t connectable._subject = null;\n\t connectable._connection = null;\n\t if (connection) {\n\t connection.unsubscribe();\n\t }\n\t }\n\t };\n\t return ConnectableSubscriber;\n\t}(Subject_1.SubjectSubscriber));\n\tvar RefCountOperator = (function () {\n\t function RefCountOperator(connectable) {\n\t this.connectable = connectable;\n\t }\n\t RefCountOperator.prototype.call = function (subscriber, source) {\n\t var connectable = this.connectable;\n\t connectable._refCount++;\n\t var refCounter = new RefCountSubscriber(subscriber, connectable);\n\t var subscription = source._subscribe(refCounter);\n\t if (!refCounter.closed) {\n\t refCounter.connection = connectable.connect();\n\t }\n\t return subscription;\n\t };\n\t return RefCountOperator;\n\t}());\n\tvar RefCountSubscriber = (function (_super) {\n\t __extends(RefCountSubscriber, _super);\n\t function RefCountSubscriber(destination, connectable) {\n\t _super.call(this, destination);\n\t this.connectable = connectable;\n\t }\n\t RefCountSubscriber.prototype._unsubscribe = function () {\n\t var connectable = this.connectable;\n\t if (!connectable) {\n\t this.connection = null;\n\t return;\n\t }\n\t this.connectable = null;\n\t var refCount = connectable._refCount;\n\t if (refCount <= 0) {\n\t this.connection = null;\n\t return;\n\t }\n\t connectable._refCount = refCount - 1;\n\t if (refCount > 1) {\n\t this.connection = null;\n\t return;\n\t }\n\t ///\n\t // Compare the local RefCountSubscriber's connection Subscription to the\n\t // connection Subscription on the shared ConnectableObservable. In cases\n\t // where the ConnectableObservable source synchronously emits values, and\n\t // the RefCountSubscriber's dowstream Observers synchronously unsubscribe,\n\t // execution continues to here before the RefCountOperator has a chance to\n\t // supply the RefCountSubscriber with the shared connection Subscription.\n\t // For example:\n\t // ```\n\t // Observable.range(0, 10)\n\t // .publish()\n\t // .refCount()\n\t // .take(5)\n\t // .subscribe();\n\t // ```\n\t // In order to account for this case, RefCountSubscriber should only dispose\n\t // the ConnectableObservable's shared connection Subscription if the\n\t // connection Subscription exists, *and* either:\n\t // a. RefCountSubscriber doesn't have a reference to the shared connection\n\t // Subscription yet, or,\n\t // b. RefCountSubscriber's connection Subscription reference is identical\n\t // to the shared connection Subscription\n\t ///\n\t var connection = this.connection;\n\t var sharedConnection = connectable._connection;\n\t this.connection = null;\n\t if (sharedConnection && (!connection || sharedConnection === connection)) {\n\t sharedConnection.unsubscribe();\n\t }\n\t };\n\t return RefCountSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=ConnectableObservable.js.map\n\n/***/ },\n/* 331 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar finally_1 = __webpack_require__(332);\n\tObservable_1.Observable.prototype.finally = finally_1._finally;\n\tObservable_1.Observable.prototype._finally = finally_1._finally;\n\t//# sourceMappingURL=finally.js.map\n\n/***/ },\n/* 332 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar Subscription_1 = __webpack_require__(270);\n\t/**\n\t * Returns an Observable that mirrors the source Observable, but will call a specified function when\n\t * the source terminates on complete or error.\n\t * @param {function} callback function to be called when source terminates.\n\t * @return {Observable} an Observable that mirrors the source, but will call the specified function on termination.\n\t * @method finally\n\t * @owner Observable\n\t */\n\tfunction _finally(callback) {\n\t return this.lift(new FinallyOperator(callback));\n\t}\n\texports._finally = _finally;\n\tvar FinallyOperator = (function () {\n\t function FinallyOperator(callback) {\n\t this.callback = callback;\n\t }\n\t FinallyOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new FinallySubscriber(subscriber, this.callback));\n\t };\n\t return FinallyOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar FinallySubscriber = (function (_super) {\n\t __extends(FinallySubscriber, _super);\n\t function FinallySubscriber(destination, callback) {\n\t _super.call(this, destination);\n\t this.add(new Subscription_1.Subscription(callback));\n\t }\n\t return FinallySubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=finally.js.map\n\n/***/ },\n/* 333 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar catch_1 = __webpack_require__(334);\n\tObservable_1.Observable.prototype.catch = catch_1._catch;\n\tObservable_1.Observable.prototype._catch = catch_1._catch;\n\t//# sourceMappingURL=catch.js.map\n\n/***/ },\n/* 334 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar OuterSubscriber_1 = __webpack_require__(306);\n\tvar subscribeToResult_1 = __webpack_require__(307);\n\t/**\n\t * Catches errors on the observable to be handled by returning a new observable or throwing an error.\n\t * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which\n\t * is the source observable, in case you'd like to \"retry\" that observable by returning it again. Whatever observable\n\t * is returned by the `selector` will be used to continue the observable chain.\n\t * @return {Observable} an observable that originates from either the source or the observable returned by the\n\t * catch `selector` function.\n\t * @method catch\n\t * @owner Observable\n\t */\n\tfunction _catch(selector) {\n\t var operator = new CatchOperator(selector);\n\t var caught = this.lift(operator);\n\t return (operator.caught = caught);\n\t}\n\texports._catch = _catch;\n\tvar CatchOperator = (function () {\n\t function CatchOperator(selector) {\n\t this.selector = selector;\n\t }\n\t CatchOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n\t };\n\t return CatchOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar CatchSubscriber = (function (_super) {\n\t __extends(CatchSubscriber, _super);\n\t function CatchSubscriber(destination, selector, caught) {\n\t _super.call(this, destination);\n\t this.selector = selector;\n\t this.caught = caught;\n\t }\n\t // NOTE: overriding `error` instead of `_error` because we don't want\n\t // to have this flag this subscriber as `isStopped`.\n\t CatchSubscriber.prototype.error = function (err) {\n\t if (!this.isStopped) {\n\t var result = void 0;\n\t try {\n\t result = this.selector(err, this.caught);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.unsubscribe();\n\t this.destination.remove(this);\n\t subscribeToResult_1.subscribeToResult(this, result);\n\t }\n\t };\n\t return CatchSubscriber;\n\t}(OuterSubscriber_1.OuterSubscriber));\n\t//# sourceMappingURL=catch.js.map\n\n/***/ },\n/* 335 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar merge_1 = __webpack_require__(336);\n\tObservable_1.Observable.merge = merge_1.merge;\n\t//# sourceMappingURL=merge.js.map\n\n/***/ },\n/* 336 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar merge_1 = __webpack_require__(337);\n\texports.merge = merge_1.mergeStatic;\n\t//# sourceMappingURL=merge.js.map\n\n/***/ },\n/* 337 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar ArrayObservable_1 = __webpack_require__(300);\n\tvar mergeAll_1 = __webpack_require__(305);\n\tvar isScheduler_1 = __webpack_require__(303);\n\t/**\n\t * Creates an output Observable which concurrently emits all values from every\n\t * given input Observable.\n\t *\n\t * <span class=\"informal\">Flattens multiple Observables together by blending\n\t * their values into one Observable.</span>\n\t *\n\t * <img src=\"./img/merge.png\" width=\"100%\">\n\t *\n\t * `merge` subscribes to each given input Observable (either the source or an\n\t * Observable given as argument), and simply forwards (without doing any\n\t * transformation) all the values from all the input Observables to the output\n\t * Observable. The output Observable only completes once all input Observables\n\t * have completed. Any error delivered by an input Observable will be immediately\n\t * emitted on the output Observable.\n\t *\n\t * @example <caption>Merge together two Observables: 1s interval and clicks</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var timer = Rx.Observable.interval(1000);\n\t * var clicksOrTimer = clicks.merge(timer);\n\t * clicksOrTimer.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Merge together 3 Observables, but only 2 run concurrently</caption>\n\t * var timer1 = Rx.Observable.interval(1000).take(10);\n\t * var timer2 = Rx.Observable.interval(2000).take(6);\n\t * var timer3 = Rx.Observable.interval(500).take(10);\n\t * var concurrent = 2; // the argument\n\t * var merged = timer1.merge(timer2, timer3, concurrent);\n\t * merged.subscribe(x => console.log(x));\n\t *\n\t * @see {@link mergeAll}\n\t * @see {@link mergeMap}\n\t * @see {@link mergeMapTo}\n\t * @see {@link mergeScan}\n\t *\n\t * @param {Observable} other An input Observable to merge with the source\n\t * Observable. More than one input Observables may be given as argument.\n\t * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n\t * Observables being subscribed to concurrently.\n\t * @param {Scheduler} [scheduler=null] The Scheduler to use for managing\n\t * concurrency of input Observables.\n\t * @return {Observable} an Observable that emits items that are the result of\n\t * every input Observable.\n\t * @method merge\n\t * @owner Observable\n\t */\n\tfunction merge() {\n\t var observables = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t observables[_i - 0] = arguments[_i];\n\t }\n\t observables.unshift(this);\n\t return mergeStatic.apply(this, observables);\n\t}\n\texports.merge = merge;\n\t/* tslint:enable:max-line-length */\n\t/**\n\t * Creates an output Observable which concurrently emits all values from every\n\t * given input Observable.\n\t *\n\t * <span class=\"informal\">Flattens multiple Observables together by blending\n\t * their values into one Observable.</span>\n\t *\n\t * <img src=\"./img/merge.png\" width=\"100%\">\n\t *\n\t * `merge` subscribes to each given input Observable (as arguments), and simply\n\t * forwards (without doing any transformation) all the values from all the input\n\t * Observables to the output Observable. The output Observable only completes\n\t * once all input Observables have completed. Any error delivered by an input\n\t * Observable will be immediately emitted on the output Observable.\n\t *\n\t * @example <caption>Merge together two Observables: 1s interval and clicks</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var timer = Rx.Observable.interval(1000);\n\t * var clicksOrTimer = Rx.Observable.merge(clicks, timer);\n\t * clicksOrTimer.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Merge together 3 Observables, but only 2 run concurrently</caption>\n\t * var timer1 = Rx.Observable.interval(1000).take(10);\n\t * var timer2 = Rx.Observable.interval(2000).take(6);\n\t * var timer3 = Rx.Observable.interval(500).take(10);\n\t * var concurrent = 2; // the argument\n\t * var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent);\n\t * merged.subscribe(x => console.log(x));\n\t *\n\t * @see {@link mergeAll}\n\t * @see {@link mergeMap}\n\t * @see {@link mergeMapTo}\n\t * @see {@link mergeScan}\n\t *\n\t * @param {Observable} input1 An input Observable to merge with others.\n\t * @param {Observable} input2 An input Observable to merge with others.\n\t * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n\t * Observables being subscribed to concurrently.\n\t * @param {Scheduler} [scheduler=null] The Scheduler to use for managing\n\t * concurrency of input Observables.\n\t * @return {Observable} an Observable that emits items that are the result of\n\t * every input Observable.\n\t * @static true\n\t * @name merge\n\t * @owner Observable\n\t */\n\tfunction mergeStatic() {\n\t var observables = [];\n\t for (var _i = 0; _i < arguments.length; _i++) {\n\t observables[_i - 0] = arguments[_i];\n\t }\n\t var concurrent = Number.POSITIVE_INFINITY;\n\t var scheduler = null;\n\t var last = observables[observables.length - 1];\n\t if (isScheduler_1.isScheduler(last)) {\n\t scheduler = observables.pop();\n\t if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n\t concurrent = observables.pop();\n\t }\n\t }\n\t else if (typeof last === 'number') {\n\t concurrent = observables.pop();\n\t }\n\t if (observables.length === 1) {\n\t return observables[0];\n\t }\n\t return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new mergeAll_1.MergeAllOperator(concurrent));\n\t}\n\texports.mergeStatic = mergeStatic;\n\t//# sourceMappingURL=merge.js.map\n\n/***/ },\n/* 338 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\tvar switchMap_1 = __webpack_require__(339);\n\tObservable_1.Observable.prototype.switchMap = switchMap_1.switchMap;\n\t//# sourceMappingURL=switchMap.js.map\n\n/***/ },\n/* 339 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar OuterSubscriber_1 = __webpack_require__(306);\n\tvar subscribeToResult_1 = __webpack_require__(307);\n\t/**\n\t * Projects each source value to an Observable which is merged in the output\n\t * Observable, emitting values only from the most recently projected Observable.\n\t *\n\t * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n\t * these inner Observables using {@link switch}.</span>\n\t *\n\t * <img src=\"./img/switchMap.png\" width=\"100%\">\n\t *\n\t * Returns an Observable that emits items based on applying a function that you\n\t * supply to each item emitted by the source Observable, where that function\n\t * returns an (so-called \"inner\") Observable. Each time it observes one of these\n\t * inner Observables, the output Observable begins emitting the items emitted by\n\t * that inner Observable. When a new inner Observable is emitted, `switchMap`\n\t * stops emitting items from the earlier-emitted inner Observable and begins\n\t * emitting items from the new one. It continues to behave like this for\n\t * subsequent inner Observables.\n\t *\n\t * @example <caption>Rerun an interval Observable on every click event</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000));\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link concatMap}\n\t * @see {@link exhaustMap}\n\t * @see {@link mergeMap}\n\t * @see {@link switch}\n\t * @see {@link switchMapTo}\n\t *\n\t * @param {function(value: T, ?index: number): Observable} project A function\n\t * that, when applied to an item emitted by the source Observable, returns an\n\t * Observable.\n\t * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n\t * A function to produce the value on the output Observable based on the values\n\t * and the indices of the source (outer) emission and the inner Observable\n\t * emission. The arguments passed to this function are:\n\t * - `outerValue`: the value that came from the source\n\t * - `innerValue`: the value that came from the projected Observable\n\t * - `outerIndex`: the \"index\" of the value that came from the source\n\t * - `innerIndex`: the \"index\" of the value from the projected Observable\n\t * @return {Observable} An Observable that emits the result of applying the\n\t * projection function (and the optional `resultSelector`) to each item emitted\n\t * by the source Observable and taking only the values from the most recently\n\t * projected inner Observable.\n\t * @method switchMap\n\t * @owner Observable\n\t */\n\tfunction switchMap(project, resultSelector) {\n\t return this.lift(new SwitchMapOperator(project, resultSelector));\n\t}\n\texports.switchMap = switchMap;\n\tvar SwitchMapOperator = (function () {\n\t function SwitchMapOperator(project, resultSelector) {\n\t this.project = project;\n\t this.resultSelector = resultSelector;\n\t }\n\t SwitchMapOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new SwitchMapSubscriber(subscriber, this.project, this.resultSelector));\n\t };\n\t return SwitchMapOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar SwitchMapSubscriber = (function (_super) {\n\t __extends(SwitchMapSubscriber, _super);\n\t function SwitchMapSubscriber(destination, project, resultSelector) {\n\t _super.call(this, destination);\n\t this.project = project;\n\t this.resultSelector = resultSelector;\n\t this.index = 0;\n\t }\n\t SwitchMapSubscriber.prototype._next = function (value) {\n\t var result;\n\t var index = this.index++;\n\t try {\n\t result = this.project(value, index);\n\t }\n\t catch (error) {\n\t this.destination.error(error);\n\t return;\n\t }\n\t this._innerSub(result, value, index);\n\t };\n\t SwitchMapSubscriber.prototype._innerSub = function (result, value, index) {\n\t var innerSubscription = this.innerSubscription;\n\t if (innerSubscription) {\n\t innerSubscription.unsubscribe();\n\t }\n\t this.add(this.innerSubscription = subscribeToResult_1.subscribeToResult(this, result, value, index));\n\t };\n\t SwitchMapSubscriber.prototype._complete = function () {\n\t var innerSubscription = this.innerSubscription;\n\t if (!innerSubscription || innerSubscription.closed) {\n\t _super.prototype._complete.call(this);\n\t }\n\t };\n\t SwitchMapSubscriber.prototype._unsubscribe = function () {\n\t this.innerSubscription = null;\n\t };\n\t SwitchMapSubscriber.prototype.notifyComplete = function (innerSub) {\n\t this.remove(innerSub);\n\t this.innerSubscription = null;\n\t if (this.isStopped) {\n\t _super.prototype._complete.call(this);\n\t }\n\t };\n\t SwitchMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n\t if (this.resultSelector) {\n\t this._tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex);\n\t }\n\t else {\n\t this.destination.next(innerValue);\n\t }\n\t };\n\t SwitchMapSubscriber.prototype._tryNotifyNext = function (outerValue, innerValue, outerIndex, innerIndex) {\n\t var result;\n\t try {\n\t result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.destination.next(result);\n\t };\n\t return SwitchMapSubscriber;\n\t}(OuterSubscriber_1.OuterSubscriber));\n\t//# sourceMappingURL=switchMap.js.map\n\n/***/ },\n/* 340 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\t//noinspection TypeScriptCheckImport\n\tvar datetime_picker_1 = __webpack_require__(341);\n\tdatetime_picker_1.NguiDatetime.firstDayOfWeek = 0; //e.g. 1, or 6\n\tvar AppComponent = (function () {\n\t function AppComponent() {\n\t }\n\t AppComponent = __decorate([\n\t //e.g. 1, or 6\n\t core_1.Component({\n\t selector: 'my-app',\n\t template: \"\\n <a href=\\\"\\\" routerLink=\\\"/directive-test\\\">Directive</a>\\n <a href=\\\"\\\" routerLink=\\\"/component-test\\\">Component</a>\\n <router-outlet></router-outlet>\"\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], AppComponent);\n\t return AppComponent;\n\t}());\n\texports.AppComponent = AppComponent;\n\n\n/***/ },\n/* 341 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar datetime_1 = __webpack_require__(342);\n\texports.NguiDatetime = datetime_1.NguiDatetime;\n\tvar datetime_picker_component_1 = __webpack_require__(343);\n\texports.NguiDatetimePickerComponent = datetime_picker_component_1.NguiDatetimePickerComponent;\n\tvar datetime_picker_directive_1 = __webpack_require__(344);\n\texports.NguiDatetimePickerDirective = datetime_picker_directive_1.NguiDatetimePickerDirective;\n\tvar datetime_picker_module_1 = __webpack_require__(345);\n\texports.NguiDatetimePickerModule = datetime_picker_module_1.NguiDatetimePickerModule;\n\n\n/***/ },\n/* 342 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\t/**\n\t * Static variables that you can override\n\t * 1. days. default 1,2,....31\n\t * 2. daysOfWeek, default Sunday, Monday, .....\n\t * 3. firstDayOfWeek, default 0 as in Sunday\n\t * 4. months, default January, February\n\t * 5. formatDate(d) default returns YYYY-MM-DD HH:MM\n\t * 6. parseDate(str) default returns date from YYYY-MM-DD HH:MM\n\t */\n\tvar NguiDatetime = (function () {\n\t function NguiDatetime() {\n\t }\n\t NguiDatetime.formatDate = function (d, format, dateOnly) {\n\t var ret;\n\t if (d && !format) {\n\t // return d.toLocaleString('en-us', hash); // IE11 does not understand this\n\t var pad0 = function (number) { return (\"0\" + number).slice(-2); };\n\t ret = d.getFullYear() + '-' + pad0(d.getMonth() + 1) + '-' + pad0(d.getDate());\n\t ret += dateOnly ? '' : ' ' + pad0(d.getHours()) + ':' + pad0(d.getMinutes());\n\t return ret;\n\t }\n\t else if (d && typeof moment !== 'undefined') {\n\t return moment(d).format(format);\n\t }\n\t else {\n\t return '';\n\t }\n\t };\n\t NguiDatetime.parseDate = function (dateStr, parseFormat, dateFormat) {\n\t if (typeof moment === 'undefined') {\n\t dateStr = NguiDatetime.removeTimezone(dateStr);\n\t dateStr = dateStr + NguiDatetime.addDSTOffset(dateStr);\n\t return NguiDatetime.parseFromDefaultFormat(dateStr);\n\t }\n\t else if (dateFormat || parseFormat) {\n\t // try parse using each format because changing format programmatically calls this twice,\n\t // once with string in parse format and once in date format\n\t var formats = [];\n\t if (parseFormat) {\n\t formats.push(parseFormat);\n\t }\n\t if (dateFormat) {\n\t formats.push(dateFormat);\n\t }\n\t var m = moment(dateStr, formats);\n\t var date = m.toDate();\n\t if (!m.isValid()) {\n\t date = moment(dateStr, moment.ISO_8601).toDate(); // parse as ISO format\n\t }\n\t return date;\n\t }\n\t else if (dateStr.length > 4) {\n\t var date = moment(dateStr, 'YYYY-MM-DD HH:mm').toDate();\n\t return date;\n\t }\n\t else {\n\t return new Date();\n\t }\n\t };\n\t NguiDatetime.getWeekNumber = function (date) {\n\t if (!(date instanceof Date))\n\t date = new Date();\n\t // ISO week date weeks start on Monday, so correct the day number\n\t var nDay = (date.getDay() + 6) % 7;\n\t // ISO 8601 states that week 1 is the week with the first Thursday of that year\n\t // Set the target date to the Thursday in the target week\n\t date.setDate(date.getDate() - nDay + 3);\n\t // Store the millisecond value of the target date\n\t var n1stThursday = date.valueOf();\n\t // Set the target to the first Thursday of the year\n\t // First, set the target to January 1st\n\t date.setMonth(0, 1);\n\t // Not a Thursday? Correct the date to the next Thursday\n\t if (date.getDay() !== 4) {\n\t date.setMonth(0, 1 + ((4 - date.getDay()) + 7) % 7);\n\t }\n\t // The week number is the number of weeks between the first Thursday of the year\n\t // and the Thursday in the target week (604800000 = 7 * 24 * 3600 * 1000)\n\t return 1 + Math.ceil((n1stThursday - date) / 604800000);\n\t };\n\t //remove timezone\n\t NguiDatetime.removeTimezone = function (dateStr) {\n\t // if no time is given, add 00:00:00 at the end\n\t var matches = dateStr.match(/[0-9]{2}:/);\n\t dateStr += matches ? '' : ' 00:00:00';\n\t return dateStr.replace(/([0-9]{2}-[0-9]{2})-([0-9]{4})/, '$2-$1') //mm-dd-yyyy to yyyy-mm-dd\n\t .replace(/([\\/-][0-9]{2,4})\\ ([0-9]{2}\\:[0-9]{2}\\:)/, '$1T$2') //reformat for FF\n\t .replace(/EDT|EST|CDT|CST|MDT|PDT|PST|UT|GMT/g, '') //remove timezone\n\t .replace(/\\s*\\(\\)\\s*/, '') //remove timezone\n\t .replace(/[\\-\\+][0-9]{2}:?[0-9]{2}$/, '') //remove timezone\n\t .replace(/000Z$/, '00'); //remove timezone\n\t };\n\t NguiDatetime.addDSTOffset = function (dateStr) {\n\t var date = NguiDatetime.parseFromDefaultFormat(dateStr);\n\t var jan = new Date(date.getFullYear(), 0, 1);\n\t var jul = new Date(date.getFullYear(), 6, 1);\n\t var stdTimezoneOffset = Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset());\n\t var isDST = date.getTimezoneOffset() < stdTimezoneOffset;\n\t var offset = isDST ? stdTimezoneOffset - 60 : stdTimezoneOffset;\n\t var diff = offset >= 0 ? '-' : '+';\n\t offset = Math.abs(offset);\n\t return diff +\n\t ('0' + (offset / 60)).slice(-2) + ':' +\n\t ('0' + (offset % 60)).slice(-2);\n\t };\n\t ;\n\t NguiDatetime.parseFromDefaultFormat = function (dateStr) {\n\t var tmp = dateStr.split(/[\\+\\-:\\ T]/); // split by dash, colon or space\n\t return new Date(parseInt(tmp[0], 10), parseInt(tmp[1], 10) - 1, parseInt(tmp[2], 10), parseInt(tmp[3] || '0', 10), parseInt(tmp[4] || '0', 10), parseInt(tmp[5] || '0', 10));\n\t };\n\t NguiDatetime.prototype.getMonthData = function (year, month) {\n\t year = month > 11 ? year + 1 :\n\t month < 0 ? year - 1 : year;\n\t month = (month + 12) % 12;\n\t var firstDayOfMonth = new Date(year, month, 1);\n\t var lastDayOfMonth = new Date(year, month + 1, 0);\n\t var lastDayOfPreviousMonth = new Date(year, month, 0);\n\t var daysInMonth = lastDayOfMonth.getDate();\n\t var daysInLastMonth = lastDayOfPreviousMonth.getDate();\n\t var dayOfWeek = firstDayOfMonth.getDay();\n\t // Ensure there are always leading days to give context\n\t var leadingDays = (dayOfWeek - NguiDatetime.firstDayOfWeek + 7) % 7 || 7;\n\t var trailingDays = NguiDatetime.days.slice(0, 6 * 7 - (leadingDays + daysInMonth));\n\t if (trailingDays.length > 7) {\n\t trailingDays = trailingDays.slice(0, trailingDays.length - 7);\n\t }\n\t var firstDay = new Date(firstDayOfMonth);\n\t firstDay.setDate(firstDayOfMonth.getDate() - (leadingDays % 7));\n\t var firstWeekNumber = NguiDatetime.getWeekNumber(firstDay);\n\t var numWeeks = Math.ceil((daysInMonth + leadingDays % 7) / 7);\n\t var weekNumbers = Array(numWeeks).fill(0).map(function (el, ndx) {\n\t var weekNum = (ndx + firstWeekNumber + 52) % 52;\n\t return weekNum === 0 ? 52 : weekNum;\n\t });\n\t var localizedDaysOfWeek = NguiDatetime.daysOfWeek\n\t .concat(NguiDatetime.daysOfWeek)\n\t .splice(NguiDatetime.firstDayOfWeek, 7);\n\t var monthData = {\n\t year: year,\n\t month: month,\n\t weekends: NguiDatetime.weekends,\n\t firstDayOfWeek: NguiDatetime.firstDayOfWeek,\n\t fullName: NguiDatetime.months[month].fullName,\n\t shortName: NguiDatetime.months[month].shortName,\n\t localizedDaysOfWeek: localizedDaysOfWeek,\n\t days: NguiDatetime.days.slice(0, daysInMonth),\n\t leadingDays: NguiDatetime.days.slice(-leadingDays - (31 - daysInLastMonth), daysInLastMonth),\n\t trailingDays: trailingDays,\n\t weekNumbers: weekNumbers\n\t };\n\t return monthData;\n\t };\n\t NguiDatetime.locale = {\n\t date: 'date',\n\t time: 'time',\n\t year: 'year',\n\t month: 'month',\n\t day: 'day',\n\t hour: 'hour',\n\t minute: 'minute',\n\t currentTime: \"current time\"\n\t };\n\t NguiDatetime.days = [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, 26, 27, 28, 29, 30, 31];\n\t NguiDatetime.weekends = [0, 6];\n\t NguiDatetime.daysOfWeek = typeof moment === 'undefined' ? [\n\t { fullName: 'Sunday', shortName: 'Su' },\n\t { fullName: 'Monday', shortName: 'Mo' },\n\t { fullName: 'Tuesday', shortName: 'Tu' },\n\t { fullName: 'Wednesday', shortName: 'We' },\n\t { fullName: 'Thursday', shortName: 'Th' },\n\t { fullName: 'Friday', shortName: 'Fr' },\n\t { fullName: 'Saturday', shortName: 'Sa' }\n\t ] : moment.weekdays().map(function (el, index) {\n\t return {\n\t fullName: el,\n\t shortName: moment.weekdaysShort()[index].substr(0, 2)\n\t };\n\t });\n\t NguiDatetime.firstDayOfWeek = typeof moment === 'undefined' ? 0 : moment.localeData().firstDayOfWeek();\n\t NguiDatetime.months = typeof moment === 'undefined' ? [\n\t { fullName: 'January', shortName: 'Jan' },\n\t { fullName: 'February', shortName: 'Feb' },\n\t { fullName: 'March', shortName: 'Mar' },\n\t { fullName: 'April', shortName: 'Apr' },\n\t { fullName: 'May', shortName: 'May' },\n\t { fullName: 'June', shortName: 'Jun' },\n\t { fullName: 'July', shortName: 'Jul' },\n\t { fullName: 'August', shortName: 'Aug' },\n\t { fullName: 'September', shortName: 'Sep' },\n\t { fullName: 'October', shortName: 'Oct' },\n\t { fullName: 'November', shortName: 'Nov' },\n\t { fullName: 'December', shortName: 'Dec' }\n\t ] : moment.months().map(function (el, index) {\n\t return {\n\t fullName: el,\n\t shortName: moment['monthsShort']()[index]\n\t };\n\t });\n\t NguiDatetime = __decorate([\n\t core_1.Injectable(), \n\t __metadata('design:paramtypes', [])\n\t ], NguiDatetime);\n\t return NguiDatetime;\n\t}());\n\texports.NguiDatetime = NguiDatetime;\n\n\n/***/ },\n/* 343 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\tvar datetime_1 = __webpack_require__(342);\n\t//@TODO\n\t// . display currently selected day\n\t/**\n\t * show a selected date in monthly calendar\n\t */\n\tvar NguiDatetimePickerComponent = (function () {\n\t function NguiDatetimePickerComponent(elementRef, nguiDatetime, cdRef) {\n\t this.nguiDatetime = nguiDatetime;\n\t this.cdRef = cdRef;\n\t this.minuteStep = 1;\n\t this.showWeekNumbers = false;\n\t this.showTodayShortcut = false;\n\t this.showAmPm = false;\n\t this.selected$ = new core_1.EventEmitter();\n\t this.closing$ = new core_1.EventEmitter();\n\t this.locale = datetime_1.NguiDatetime.locale;\n\t this.showYearSelector = false;\n\t this.el = elementRef.nativeElement;\n\t }\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"yearsSelectable\", {\n\t get: function () {\n\t var startYear = this.year - 100;\n\t var endYear = this.year + 50;\n\t var years = [];\n\t for (var year = startYear; year < endYear; year++) {\n\t years.push(year);\n\t }\n\t return years;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"year\", {\n\t get: function () {\n\t return this.selectedDate.getFullYear();\n\t },\n\t set: function (year) { },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"month\", {\n\t get: function () {\n\t return this.selectedDate.getMonth();\n\t },\n\t set: function (month) { },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"day\", {\n\t get: function () {\n\t return this.selectedDate.getDate();\n\t },\n\t set: function (day) { },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"monthData\", {\n\t get: function () {\n\t return this._monthData;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(NguiDatetimePickerComponent.prototype, \"today\", {\n\t get: function () {\n\t var dt = new Date();\n\t dt.setHours(0);\n\t dt.setMinutes(0);\n\t dt.setSeconds(0);\n\t dt.setMilliseconds(0);\n\t return dt;\n\t },\n\t set: function (today) { },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t NguiDatetimePickerComponent.prototype.ngOnInit = function () {\n\t if (!this.defaultValue || isNaN(this.defaultValue.getTime())) {\n\t this.defaultValue = new Date();\n\t }\n\t this.selectedDate = this.defaultValue;\n\t // set hour and minute using moment if available to avoid having Javascript change timezones\n\t if (typeof moment === 'undefined') {\n\t this.hour = this.selectedDate.getHours();\n\t this.minute = this.selectedDate.getMinutes();\n\t }\n\t else {\n\t var m = moment(this.selectedDate);\n\t this.hour = m.hours();\n\t this.minute = m.minute();\n\t }\n\t this._monthData = this.nguiDatetime.getMonthData(this.year, this.month);\n\t };\n\t NguiDatetimePickerComponent.prototype.isWeekend = function (dayNum, month) {\n\t if (typeof month === 'undefined') {\n\t return datetime_1.NguiDatetime.weekends.indexOf(dayNum % 7) !== -1; //weekday index\n\t }\n\t else {\n\t var weekday = this.toDate(dayNum, month).getDay();\n\t return datetime_1.NguiDatetime.weekends.indexOf(weekday) !== -1;\n\t }\n\t };\n\t NguiDatetimePickerComponent.prototype.selectYear = function (year) {\n\t this._monthData = this.nguiDatetime.getMonthData(year, this._monthData.month);\n\t this.showYearSelector = false;\n\t };\n\t NguiDatetimePickerComponent.prototype.toDate = function (day, month) {\n\t return new Date(this._monthData.year, month || this._monthData.month, day);\n\t };\n\t NguiDatetimePickerComponent.prototype.toDateOnly = function (date) {\n\t return new Date(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0, 0);\n\t };\n\t NguiDatetimePickerComponent.prototype.selectCurrentTime = function () {\n\t this.hour = (new Date()).getHours();\n\t this.minute = (new Date()).getMinutes();\n\t this.selectDateTime();\n\t };\n\t /**\n\t * set the selected date and close it when closeOnSelect is true\n\t * @param date {Date}\n\t */\n\t NguiDatetimePickerComponent.prototype.selectDateTime = function (date) {\n\t var _this = this;\n\t this.selectedDate = date || this.selectedDate;\n\t if (this.isDateDisabled(this.selectedDate)) {\n\t return false;\n\t }\n\t // editing hours and minutes via javascript date methods causes date to lose timezone info,\n\t // so edit using moment if available\n\t var hour = parseInt('' + this.hour || '0', 10);\n\t var minute = parseInt('' + this.minute || '0', 10);\n\t if (typeof moment !== 'undefined') {\n\t // here selected date has a time of 00:00 in local time,\n\t // so build moment by getting year/month/day separately\n\t // to avoid it saving as a day earlier\n\t var m = moment([this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate()]);\n\t m.hours(hour);\n\t m.minutes(minute);\n\t this.selectedDate = m.toDate();\n\t }\n\t else {\n\t this.selectedDate.setHours(hour);\n\t this.selectedDate.setMinutes(minute);\n\t }\n\t //console.log('this.selectedDate', this.selectedDate)\n\t this.selectedDate.toString = function () {\n\t return datetime_1.NguiDatetime.formatDate(_this.selectedDate, _this.dateFormat, _this.dateOnly);\n\t };\n\t this.selected$.emit(this.selectedDate);\n\t };\n\t ;\n\t /**\n\t * show prev/next month calendar\n\t */\n\t NguiDatetimePickerComponent.prototype.updateMonthData = function (num) {\n\t this._monthData = this.nguiDatetime.getMonthData(this._monthData.year, this._monthData.month + num);\n\t };\n\t NguiDatetimePickerComponent.prototype.isDateDisabled = function (date) {\n\t var dateInTime = date.getTime();\n\t this.disabledDatesInTime =\n\t this.disabledDatesInTime || (this.disabledDates || []).map(function (d) { return d.getTime(); });\n\t if (this.minDate && (dateInTime < this.minDate.getTime())) {\n\t return true;\n\t }\n\t else if (this.maxDate && (dateInTime > this.maxDate.getTime())) {\n\t return true;\n\t }\n\t else if (this.disabledDatesInTime.indexOf(dateInTime) >= 0) {\n\t return true;\n\t }\n\t return false;\n\t };\n\t NguiDatetimePickerComponent.prototype.close = function () {\n\t this.closing$.emit(true);\n\t };\n\t NguiDatetimePickerComponent.prototype.selectToday = function () {\n\t this.selectDateTime(new Date());\n\t };\n\t NguiDatetimePickerComponent.prototype.convertHours = function (hours) {\n\t if (this.showAmPm) {\n\t this.timeSuffix = (hours >= 12) ? 'PM' : 'AM';\n\t hours = (hours == 0) ? 12 : (hours > 12) ? hours - 12 : hours;\n\t }\n\t else {\n\t this.timeSuffix = null;\n\t }\n\t return (\"0\" + hours).slice(-2);\n\t };\n\t __decorate([\n\t core_1.Input('date-format'), \n\t __metadata('design:type', String)\n\t ], NguiDatetimePickerComponent.prototype, \"dateFormat\", void 0);\n\t __decorate([\n\t core_1.Input('date-only'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"dateOnly\", void 0);\n\t __decorate([\n\t core_1.Input('time-only'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"timeOnly\", void 0);\n\t __decorate([\n\t core_1.Input('selected-date'), \n\t __metadata('design:type', Date)\n\t ], NguiDatetimePickerComponent.prototype, \"selectedDate\", void 0);\n\t __decorate([\n\t core_1.Input('hour'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerComponent.prototype, \"hour\", void 0);\n\t __decorate([\n\t core_1.Input('minute'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerComponent.prototype, \"minute\", void 0);\n\t __decorate([\n\t core_1.Input('minuteStep'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerComponent.prototype, \"minuteStep\", void 0);\n\t __decorate([\n\t core_1.Input('default-value'), \n\t __metadata('design:type', Date)\n\t ], NguiDatetimePickerComponent.prototype, \"defaultValue\", void 0);\n\t __decorate([\n\t core_1.Input('min-date'), \n\t __metadata('design:type', Date)\n\t ], NguiDatetimePickerComponent.prototype, \"minDate\", void 0);\n\t __decorate([\n\t core_1.Input('max-date'), \n\t __metadata('design:type', Date)\n\t ], NguiDatetimePickerComponent.prototype, \"maxDate\", void 0);\n\t __decorate([\n\t core_1.Input('min-hour'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerComponent.prototype, \"minHour\", void 0);\n\t __decorate([\n\t core_1.Input('max-hour'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerComponent.prototype, \"maxHour\", void 0);\n\t __decorate([\n\t core_1.Input('disabled-dates'), \n\t __metadata('design:type', Array)\n\t ], NguiDatetimePickerComponent.prototype, \"disabledDates\", void 0);\n\t __decorate([\n\t core_1.Input('show-close-button'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"showCloseButton\", void 0);\n\t __decorate([\n\t core_1.Input('show-close-layer'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"showCloseLayer\", void 0);\n\t __decorate([\n\t core_1.Input('show-week-numbers'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"showWeekNumbers\", void 0);\n\t __decorate([\n\t core_1.Input('show-today-shortcut'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"showTodayShortcut\", void 0);\n\t __decorate([\n\t core_1.Input('show-am-pm'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerComponent.prototype, \"showAmPm\", void 0);\n\t __decorate([\n\t core_1.Output('selected$'), \n\t __metadata('design:type', core_1.EventEmitter)\n\t ], NguiDatetimePickerComponent.prototype, \"selected$\", void 0);\n\t __decorate([\n\t core_1.Output('closing$'), \n\t __metadata('design:type', core_1.EventEmitter)\n\t ], NguiDatetimePickerComponent.prototype, \"closing$\", void 0);\n\t __decorate([\n\t core_1.ViewChild('hours'), \n\t __metadata('design:type', core_1.ElementRef)\n\t ], NguiDatetimePickerComponent.prototype, \"hours\", void 0);\n\t __decorate([\n\t core_1.ViewChild('minutes'), \n\t __metadata('design:type', core_1.ElementRef)\n\t ], NguiDatetimePickerComponent.prototype, \"minutes\", void 0);\n\t NguiDatetimePickerComponent = __decorate([\n\t core_1.Component({\n\t providers: [datetime_1.NguiDatetime],\n\t selector: 'ngui-datetime-picker',\n\t template: \"\\n <div class=\\\"closing-layer\\\" (click)=\\\"close()\\\" *ngIf=\\\"showCloseLayer\\\" ></div>\\n <div class=\\\"ngui-datetime-picker\\\">\\n <div class=\\\"close-button\\\" *ngIf=\\\"showCloseButton\\\" (click)=\\\"close()\\\"></div>\\n \\n <!-- Month - Year -->\\n <div class=\\\"month\\\" *ngIf=\\\"!timeOnly\\\">\\n <b class=\\\"prev_next prev year\\\" (click)=\\\"updateMonthData(-12)\\\">«</b>\\n <b class=\\\"prev_next prev month\\\" (click)=\\\"updateMonthData(-1)\\\">‹</b>\\n <span title=\\\"{{monthData?.fullName}}\\\">\\n {{monthData?.shortName}}\\n </span>\\n <span (click)=\\\"showYearSelector = true\\\">\\n {{monthData.year}}\\n </span>\\n <b class=\\\"prev_next next year\\\" (click)=\\\"updateMonthData(+12)\\\">»</b>\\n <b class=\\\"prev_next next month\\\" (click)=\\\"updateMonthData(+1)\\\">›</b>\\n </div>\\n\\n <!-- Week number / Days -->\\n <div class=\\\"week-numbers-and-days\\\"\\n [ngClass]=\\\"{'show-week-numbers': !timeOnly && showWeekNumbers}\\\">\\n <!-- Week -->\\n <div class=\\\"week-numbers\\\" *ngIf=\\\"!timeOnly && showWeekNumbers\\\">\\n <div class=\\\"week-number\\\" *ngFor=\\\"let weekNumber of monthData.weekNumbers\\\">\\n {{weekNumber}}\\n </div>\\n </div>\\n \\n <!-- Date -->\\n <div class=\\\"days\\\" *ngIf=\\\"!timeOnly\\\">\\n\\n <!-- Su Mo Tu We Th Fr Sa -->\\n <div class=\\\"day-of-week\\\"\\n *ngFor=\\\"let dayOfWeek of monthData.localizedDaysOfWeek; let ndx=index\\\"\\n [class.weekend]=\\\"isWeekend(ndx + monthData.firstDayOfWeek)\\\"\\n title=\\\"{{dayOfWeek.fullName}}\\\">\\n {{dayOfWeek.shortName}}\\n </div>\\n\\n <!-- Fill up blank days for this month -->\\n <div *ngIf=\\\"monthData.leadingDays.length < 7\\\">\\n <div class=\\\"day\\\"\\n (click)=\\\"updateMonthData(-1)\\\"\\n *ngFor=\\\"let dayNum of monthData.leadingDays\\\">\\n {{dayNum}}\\n </div>\\n </div>\\n\\n <div class=\\\"day\\\"\\n *ngFor=\\\"let dayNum of monthData.days\\\"\\n (click)=\\\"selectDateTime(toDate(dayNum))\\\"\\n title=\\\"{{monthData.year}}-{{monthData.month+1}}-{{dayNum}}\\\"\\n [ngClass]=\\\"{\\n selectable: !isDateDisabled(toDate(dayNum)),\\n selected: toDate(dayNum).getTime() === toDateOnly(selectedDate).getTime(),\\n today: toDate(dayNum).getTime() === today.getTime(),\\n weekend: isWeekend(dayNum, monthData.month)\\n }\\\">\\n {{dayNum}}\\n </div>\\n\\n <!-- Fill up blank days for this month -->\\n <div *ngIf=\\\"monthData.trailingDays.length < 7\\\">\\n <div class=\\\"day\\\"\\n (click)=\\\"updateMonthData(+1)\\\"\\n *ngFor=\\\"let dayNum of monthData.trailingDays\\\">\\n {{dayNum}}\\n </div>\\n </div>\\n </div>\\n </div>\\n\\n <div class=\\\"shortcuts\\\" *ngIf=\\\"showTodayShortcut\\\">\\n <a href=\\\"#\\\" (click)=\\\"selectToday()\\\">Today</a>\\n </div>\\n\\n <!-- Hour Minute -->\\n <div class=\\\"time\\\" id=\\\"time\\\" *ngIf=\\\"!dateOnly\\\">\\n <div class=\\\"select-current-time\\\" (click)=\\\"selectCurrentTime()\\\">{{locale.currentTime}}</div>\\n <label class=\\\"timeLabel\\\">{{locale.time}}</label>\\n <span class=\\\"timeValue\\\">\\n {{convertHours(hour)}} : {{(\\\"0\\\"+minute).slice(-2)}} {{timeSuffix}}\\n </span><br/>\\n <div>\\n <label class=\\\"hourLabel\\\">{{locale.hour}}:</label>\\n <input #hours class=\\\"hourInput\\\"\\n tabindex=\\\"90000\\\"\\n (change)=\\\"selectDateTime()\\\"\\n type=\\\"range\\\"\\n min=\\\"{{minHour || 0}}\\\"\\n max=\\\"{{maxHour || 23}}\\\"\\n [(ngModel)]=\\\"hour\\\" />\\n </div>\\n <div>\\n <label class=\\\"minutesLabel\\\">{{locale.minute}}:</label>\\n <input #minutes class=\\\"minutesInput\\\"\\n tabindex=\\\"90000\\\"\\n step=\\\"{{minuteStep}}\\\"\\n (change)=\\\"selectDateTime()\\\"\\n type=\\\"range\\\" min=\\\"0\\\" max=\\\"59\\\" range=\\\"10\\\" [(ngModel)]=\\\"minute\\\"/>\\n </div>\\n </div>\\n\\n <!-- Year Selector -->\\n <div class=\\\"year-selector\\\" *ngIf=\\\"showYearSelector\\\">\\n <div class=\\\"locale\\\">\\n <b>{{locale.year}}</b>\\n </div>\\n <span class=\\\"year\\\" \\n *ngFor=\\\"let year of yearsSelectable\\\"\\n (click)=\\\"selectYear(year)\\\">\\n {{year}}\\n </span>\\n </div>\\n </div>\\n \",\n\t styles: [\n\t \"\\n@keyframes slideDown {\\n 0% {\\n transform: translateY(-10px);\\n }\\n 100% {\\n transform: translateY(0px);\\n }\\n}\\n\\n@keyframes slideUp {\\n 0% {\\n transform: translateY(100%);\\n }\\n 100% {\\n transform: translateY(0%);\\n }\\n}\\n\\n.ngui-datetime-picker-wrapper {\\n position: relative;\\n}\\n\\n.ngui-datetime-picker {\\n color: #333;\\n outline-width: 0;\\n font: normal 14px sans-serif;\\n border: 1px solid #ddd;\\n display: inline-block;\\n background: #fff;\\n animation: slideDown 0.1s ease-in-out;\\n animation-fill-mode: both;\\n}\\n.ngui-datetime-picker .days {\\n width: 210px; /* 30 x 7 days */\\n box-sizing: content-box;\\n}\\n.ngui-datetime-picker .close-button {\\n position: absolute;\\n width: 1em;\\n height: 1em;\\n right: 0;\\n z-index: 1;\\n padding: 0 5px;\\n box-sizing: content-box;\\n}\\n.ngui-datetime-picker .close-button:before {\\n content: 'X';\\n cursor: pointer;\\n color: #ff0000;\\n}\\n.ngui-datetime-picker > .month {\\n text-align: center;\\n line-height: 22px;\\n padding: 10px;\\n background: #fcfcfc;\\n text-transform: uppercase;\\n font-weight: bold;\\n border-bottom: 1px solid #ddd;\\n position: relative;\\n}\\n\\n.ngui-datetime-picker > .month > .prev_next {\\n color: #555;\\n display: block;\\n font: normal 24px sans-serif;\\n outline: none;\\n background: transparent;\\n border: none;\\n cursor: pointer;\\n width: 25px;\\n text-align: center;\\n box-sizing: content-box;\\n}\\n.ngui-datetime-picker > .month > .prev_next:hover {\\n background-color: #333;\\n color: #fff;\\n}\\n.ngui-datetime-picker > .month > .prev_next.prev {\\n float: left;\\n}\\n.ngui-datetime-picker > .month > .prev_next.next {\\n float: right;\\n}\\n\\n.ngui-datetime-picker .week-numbers-and-days {\\n text-align: center;\\n}\\n.ngui-datetime-picker .week-numbers {\\n line-height: 30px;\\n display: inline-block;\\n padding: 30px 0 0 0;\\n color: #ddd;\\n text-align: right;\\n width: 21px;\\n vertical-align: top;\\n box-sizing: content-box;\\n}\\n\\n.ngui-datetime-picker .days {\\n display: inline-block;\\n width: 210px; /* 30 x 7 */\\n text-align: center;\\n padding: 0 10px;\\n box-sizing: content-box;\\n}\\n.ngui-datetime-picker .days .day-of-week,\\n.ngui-datetime-picker .days .day {\\n box-sizing: border-box;\\n border: 1px solid transparent;\\n width: 30px;\\n line-height: 28px;\\n float: left;\\n}\\n.ngui-datetime-picker .days .day-of-week {\\n font-weight: bold;\\n}\\n.ngui-datetime-picker .days .day-of-week.weekend {\\n color: #ccc;\\n background-color: inherit;\\n}\\n.ngui-datetime-picker .days .day:not(.selectable) {\\n color: #ccc;\\n cursor: default;\\n}\\n.ngui-datetime-picker .days .weekend {\\n color: #ccc;\\n background-color: #eee;\\n}\\n.ngui-datetime-picker .days .day.selectable {\\n cursor: pointer;\\n}\\n.ngui-datetime-picker .days .day.selected {\\n background: gray;\\n color: #fff;\\n}\\n.ngui-datetime-picker .days .day:not(.selected).selectable:hover {\\n background: #eee;\\n}\\n.ngui-datetime-picker .days:after {\\n content: '';\\n display: block;\\n clear: left;\\n height: 0;\\n}\\n.ngui-datetime-picker .time {\\n position: relative;\\n padding: 10px;\\n text-transform: Capitalize;\\n}\\n.ngui-datetime-picker .year-selector {\\n position: absolute;\\n top: 0;\\n left: 0;\\n background: #fff;\\n height: 100%;\\n overflow: auto; \\n padding: 5px;\\n z-index: 2;\\n}\\n.ngui-datetime-picker .year-selector .locale{\\n text-align: center;\\n}\\n.ngui-datetime-picker .year-selector .year {\\n display: inline-block;\\n cursor: pointer;\\n padding: 2px 5px;\\n}\\n.ngui-datetime-picker .year-selector .year:hover {\\n background-color: #ddd;\\n}\\n.ngui-datetime-picker .select-current-time {\\n position: absolute;\\n top: 1em;\\n right: 5px;\\n z-index: 1;\\n cursor: pointer;\\n color: #0000ff;\\n}\\n.ngui-datetime-picker .hourLabel,\\n.ngui-datetime-picker .minutesLabel {\\n display: inline-block;\\n width: 45px;\\n vertical-align: top;\\n box-sizing: content-box;\\n}\\n.closing-layer {\\n display: block;\\n position: fixed;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n background: rgba(0,0,0,0);\\n}\\n\\n.ngui-datetime-picker .shortcuts {\\n padding: 10px;\\n text-align: center;\\n}\\n\\n.ngui-datetime-picker .shortcuts a {\\n font-family: Sans-serif;\\n margin: 0 0.5em;\\n text-decoration: none;\\n}\\n\\n@media (max-width: 767px) {\\n .ngui-datetime-picker {\\n position: fixed;\\n bottom: 0;\\n left: 0;\\n right: 0; \\n width: auto !important;\\n animation: slideUp 0.1s ease-in-out;\\n }\\n\\n .ngui-datetime-picker > .days {\\n display: block;\\n margin: 0 auto;\\n }\\n\\n .closing-layer {\\n display: block;\\n position: fixed;\\n top: 0;\\n left: 0;\\n bottom: 0;\\n right: 0;\\n background: rgba(0,0,0,0.2);\\n }\\n}\\n \"\n\t ],\n\t encapsulation: core_1.ViewEncapsulation.None\n\t }), \n\t __metadata('design:paramtypes', [core_1.ElementRef, datetime_1.NguiDatetime, core_1.ChangeDetectorRef])\n\t ], NguiDatetimePickerComponent);\n\t return NguiDatetimePickerComponent;\n\t}());\n\texports.NguiDatetimePickerComponent = NguiDatetimePickerComponent;\n\n\n/***/ },\n/* 344 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar __param = (this && this.__param) || function (paramIndex, decorator) {\n\t return function (target, key) { decorator(target, key, paramIndex); }\n\t};\n\tvar core_1 = __webpack_require__(263);\n\tvar forms_1 = __webpack_require__(283);\n\tvar datetime_picker_component_1 = __webpack_require__(343);\n\tvar datetime_1 = __webpack_require__(342);\n\tfunction isInteger(value) {\n\t if (Number.isInteger) {\n\t return Number.isInteger(value);\n\t }\n\t return typeof value === \"number\" &&\n\t isFinite(value) &&\n\t Math.floor(value) === value;\n\t}\n\t;\n\tfunction isNaN(value) {\n\t if (Number.isNaN) {\n\t return Number.isNaN(value);\n\t }\n\t return value !== value;\n\t}\n\t;\n\t/**\n\t * If the given string is not a valid date, it defaults back to today\n\t */\n\tvar NguiDatetimePickerDirective = (function () {\n\t function NguiDatetimePickerDirective(resolver, viewContainerRef, parent) {\n\t var _this = this;\n\t this.resolver = resolver;\n\t this.viewContainerRef = viewContainerRef;\n\t this.parent = parent;\n\t this.closeOnSelect = true;\n\t this.showTodayShortcut = false;\n\t this.isDraggable = true;\n\t this.ngModelChange = new core_1.EventEmitter();\n\t this.valueChanged$ = new core_1.EventEmitter();\n\t this.popupClosed$ = new core_1.EventEmitter();\n\t this.userModifyingValue = false;\n\t this.handleKeyDown = function (event) {\n\t _this.userModifyingValue = true;\n\t };\n\t /* input element string value is changed */\n\t this.inputElValueChanged = function (date) {\n\t _this.setInputElDateValue(date);\n\t _this.el.value = date.toString();\n\t if (_this.ctrl) {\n\t _this.ctrl.patchValue(_this.el.value);\n\t }\n\t _this.ngModel = _this.el['dateValue'];\n\t if (_this.ngModel) {\n\t _this.ngModel.toString = function () { return _this.el.value; };\n\t _this.ngModelChange.emit(_this.ngModel);\n\t }\n\t };\n\t //show datetimePicker element below the current element\n\t this.showDatetimePicker = function (event) {\n\t if (_this.componentRef) {\n\t return;\n\t }\n\t var factory = _this.resolver.resolveComponentFactory(datetime_picker_component_1.NguiDatetimePickerComponent);\n\t _this.componentRef = _this.viewContainerRef.createComponent(factory);\n\t _this.nguiDatetimePickerEl = _this.componentRef.location.nativeElement;\n\t _this.nguiDatetimePickerEl.setAttribute('tabindex', '32767');\n\t _this.nguiDatetimePickerEl.setAttribute('draggable', String(_this.isDraggable));\n\t _this.nguiDatetimePickerEl.addEventListener('mousedown', function (event) {\n\t _this.clickedDatetimePicker = true;\n\t });\n\t _this.nguiDatetimePickerEl.addEventListener('mouseup', function (event) {\n\t _this.clickedDatetimePicker = false;\n\t });\n\t //This is for material design. MD has click event to make blur to happen\n\t _this.nguiDatetimePickerEl.addEventListener('click', function (event) {\n\t event.stopPropagation();\n\t });\n\t _this.nguiDatetimePickerEl.addEventListener('blur', function (event) {\n\t _this.hideDatetimePicker();\n\t });\n\t _this.nguiDatetimePickerEl.addEventListener('dragstart', _this.drag_start, false);\n\t document.body.addEventListener('dragover', _this.drag_over, false);\n\t document.body.addEventListener('drop', _this.drop, false);\n\t var component = _this.componentRef.instance;\n\t component.defaultValue = _this.defaultValue || _this.el['dateValue'];\n\t component.dateFormat = _this.dateFormat;\n\t component.dateOnly = _this.dateOnly;\n\t component.timeOnly = _this.timeOnly;\n\t component.minuteStep = _this.minuteStep;\n\t component.minDate = _this.minDate;\n\t component.maxDate = _this.maxDate;\n\t component.minHour = _this.minHour;\n\t component.maxHour = _this.maxHour;\n\t component.disabledDates = _this.disabledDates;\n\t component.showCloseButton = _this.closeOnSelect === false;\n\t component.showCloseLayer = _this.showCloseLayer;\n\t component.showTodayShortcut = _this.showTodayShortcut;\n\t component.showWeekNumbers = _this.showWeekNumbers;\n\t _this.styleDatetimePicker();\n\t component.selected$.subscribe(_this.dateSelected);\n\t component.closing$.subscribe(function () {\n\t _this.hideDatetimePicker();\n\t });\n\t //Hack not to fire tab keyup event\n\t // this.justShown = true;\n\t // setTimeout(() => this.justShown = false, 100);\n\t };\n\t this.dateSelected = function (date) {\n\t _this.el.tagName === 'INPUT' && _this.inputElValueChanged(date);\n\t _this.valueChanged$.emit(date);\n\t if (_this.closeOnSelect !== false) {\n\t _this.hideDatetimePicker();\n\t }\n\t else {\n\t _this.nguiDatetimePickerEl.focus();\n\t }\n\t };\n\t this.hideDatetimePicker = function (event) {\n\t if (_this.clickedDatetimePicker) {\n\t return false;\n\t }\n\t else {\n\t setTimeout(function () {\n\t if (_this.componentRef) {\n\t _this.componentRef.destroy();\n\t _this.componentRef = undefined;\n\t }\n\t _this.popupClosed$.emit(true);\n\t });\n\t }\n\t event && event.stopPropagation();\n\t };\n\t this.getDate = function (arg) {\n\t var date = arg;\n\t if (typeof arg === 'string') {\n\t date = datetime_1.NguiDatetime.parseDate(arg, _this.parseFormat, _this.dateFormat);\n\t }\n\t return date;\n\t };\n\t this.drag_start = function (event) {\n\t if (document.activeElement.tagName == 'INPUT') {\n\t event.preventDefault();\n\t return false; // block dragging\n\t }\n\t var style = window.getComputedStyle(event.target, null);\n\t event.dataTransfer.setData(\"text/plain\", (parseInt(style.getPropertyValue(\"left\"), 10) - event.clientX)\n\t + ','\n\t + (parseInt(style.getPropertyValue(\"top\"), 10) - event.clientY));\n\t };\n\t this.drop = function (event) {\n\t var offset = event.dataTransfer.getData(\"text/plain\").split(',');\n\t _this.nguiDatetimePickerEl.style.left = (event.clientX + parseInt(offset[0], 10)) + 'px';\n\t _this.nguiDatetimePickerEl.style.top = (event.clientY + parseInt(offset[1], 10)) + 'px';\n\t _this.nguiDatetimePickerEl.style.bottom = '';\n\t event.preventDefault();\n\t return false;\n\t };\n\t this.el = this.viewContainerRef.element.nativeElement;\n\t }\n\t /**\n\t * convert defaultValue, minDate, maxDate, minHour, and maxHour to proper types\n\t */\n\t NguiDatetimePickerDirective.prototype.normalizeInput = function () {\n\t if (this.defaultValue && typeof this.defaultValue === 'string') {\n\t var d = datetime_1.NguiDatetime.parseDate(this.defaultValue);\n\t this.defaultValue = isNaN(d.getTime()) ? new Date() : d;\n\t }\n\t if (this.minDate && typeof this.minDate == 'string') {\n\t var d = datetime_1.NguiDatetime.parseDate(this.minDate);\n\t this.minDate = isNaN(d.getTime()) ? new Date() : d;\n\t }\n\t if (this.maxDate && typeof this.maxDate == 'string') {\n\t var d = datetime_1.NguiDatetime.parseDate(this.maxDate);\n\t this.maxDate = isNaN(d.getTime()) ? new Date() : d;\n\t }\n\t if (this.minHour) {\n\t if (this.minHour instanceof Date) {\n\t this.minHour = this.minHour.getHours();\n\t }\n\t else {\n\t var hour = Number(this.minHour.toString());\n\t if (!isInteger(hour) || hour > 23 || hour < 0) {\n\t this.minHour = undefined;\n\t }\n\t }\n\t }\n\t if (this.maxHour) {\n\t if (this.maxHour instanceof Date) {\n\t this.maxHour = this.maxHour.getHours();\n\t }\n\t else {\n\t var hour = Number(this.maxHour.toString());\n\t if (!isInteger(hour) || hour > 23 || hour < 0) {\n\t this.maxHour = undefined;\n\t }\n\t }\n\t }\n\t };\n\t NguiDatetimePickerDirective.prototype.ngOnInit = function () {\n\t var _this = this;\n\t if (this.parent && this.formControlName) {\n\t if (this.parent[\"form\"]) {\n\t this.ctrl = this.parent[\"form\"].get(this.formControlName);\n\t }\n\t else if (this.parent[\"name\"]) {\n\t var formDir = this.parent.formDirective;\n\t if (formDir instanceof forms_1.FormGroupDirective && formDir.form.get(this.parent[\"name\"])) {\n\t this.ctrl = formDir.form.get(this.parent[\"name\"]).get(this.formControlName);\n\t }\n\t }\n\t if (this.ctrl) {\n\t this.sub = this.ctrl.valueChanges.subscribe(function (date) {\n\t _this.setInputElDateValue(date);\n\t _this.updateDatepicker();\n\t });\n\t }\n\t }\n\t this.normalizeInput();\n\t //wrap this element with a <div> tag, so that we can position dynamic element correctly\n\t var wrapper = document.createElement(\"div\");\n\t wrapper.className = 'ngui-datetime-picker-wrapper';\n\t this.el.parentElement.insertBefore(wrapper, this.el.nextSibling);\n\t wrapper.appendChild(this.el);\n\t if (this.ngModel && this.ngModel.getTime) {\n\t this.ngModel.toString = function () { return datetime_1.NguiDatetime.formatDate(_this.ngModel, _this.dateFormat, _this.dateOnly); };\n\t }\n\t setTimeout(function () {\n\t if (_this.el.tagName === 'INPUT') {\n\t _this.inputElValueChanged(_this.el.value); //set this.el.dateValue and reformat this.el.value\n\t }\n\t if (_this.ctrl) {\n\t _this.ctrl.markAsPristine();\n\t }\n\t });\n\t };\n\t NguiDatetimePickerDirective.prototype.ngAfterViewInit = function () {\n\t // if this element is not an input tag, move dropdown after input tag\n\t // so that it displays correctly\n\t this.inputEl = this.el.tagName === \"INPUT\" ?\n\t this.el : this.el.querySelector(\"input\");\n\t if (this.inputEl) {\n\t this.inputEl.addEventListener('focus', this.showDatetimePicker);\n\t this.inputEl.addEventListener('blur', this.hideDatetimePicker);\n\t this.inputEl.addEventListener('keydown', this.handleKeyDown);\n\t }\n\t };\n\t NguiDatetimePickerDirective.prototype.ngOnChanges = function (changes) {\n\t var _this = this;\n\t var date;\n\t if (changes && changes['ngModel']) {\n\t date = changes['ngModel'].currentValue;\n\t if (date && typeof date !== 'string') {\n\t date.toString = function () { return datetime_1.NguiDatetime.formatDate(date, _this.dateFormat, _this.dateOnly); };\n\t this.setInputElDateValue(date);\n\t this.updateDatepicker();\n\t }\n\t else if (date && typeof date === 'string') {\n\t /** if program assigns a string value, then format to date later */\n\t if (!this.userModifyingValue) {\n\t setTimeout(function () {\n\t var dt = _this.getDate(date);\n\t dt.toString = function () { return datetime_1.NguiDatetime.formatDate(dt, _this.dateFormat, _this.dateOnly); };\n\t _this.ngModel = dt;\n\t _this.inputEl.value = '' + dt;\n\t });\n\t }\n\t }\n\t }\n\t this.userModifyingValue = false;\n\t };\n\t NguiDatetimePickerDirective.prototype.updateDatepicker = function () {\n\t if (this.componentRef) {\n\t var component = this.componentRef.instance;\n\t component.defaultValue = this.el['dateValue'];\n\t }\n\t };\n\t NguiDatetimePickerDirective.prototype.setInputElDateValue = function (date) {\n\t if (typeof date === 'string' && date) {\n\t this.el['dateValue'] = this.getDate(date);\n\t }\n\t else if (typeof date === 'object') {\n\t this.el['dateValue'] = date;\n\t }\n\t else if (typeof date === 'undefined') {\n\t this.el['dateValue'] = null;\n\t }\n\t if (this.ctrl) {\n\t this.ctrl.markAsDirty();\n\t }\n\t };\n\t NguiDatetimePickerDirective.prototype.ngOnDestroy = function () {\n\t if (this.sub) {\n\t this.sub.unsubscribe();\n\t }\n\t };\n\t NguiDatetimePickerDirective.prototype.elementIn = function (el, containerEl) {\n\t while (el = el.parentNode) {\n\t if (el === containerEl)\n\t return true;\n\t }\n\t return false;\n\t };\n\t NguiDatetimePickerDirective.prototype.styleDatetimePicker = function () {\n\t var _this = this;\n\t // setting position, width, and height of auto complete dropdown\n\t var thisElBCR = this.el.getBoundingClientRect();\n\t // this.nguiDatetimePickerEl.style.minWidth = thisElBCR.width + 'px';\n\t this.nguiDatetimePickerEl.style.position = 'absolute';\n\t this.nguiDatetimePickerEl.style.zIndex = '1000';\n\t this.nguiDatetimePickerEl.style.left = '0';\n\t this.nguiDatetimePickerEl.style.transition = 'height 0.3s ease-in';\n\t this.nguiDatetimePickerEl.style.visibility = 'hidden';\n\t setTimeout(function () {\n\t var thisElBcr = _this.el.getBoundingClientRect();\n\t var nguiDatetimePickerElBcr = _this.nguiDatetimePickerEl.getBoundingClientRect();\n\t if (thisElBcr.bottom + nguiDatetimePickerElBcr.height > window.innerHeight) {\n\t _this.nguiDatetimePickerEl.style.bottom =\n\t (thisElBcr.bottom - window.innerHeight + 15) + 'px';\n\t }\n\t else {\n\t // otherwise, show below\n\t _this.nguiDatetimePickerEl.style.top = thisElBcr.height + 'px';\n\t }\n\t _this.nguiDatetimePickerEl.style.visibility = 'visible';\n\t });\n\t };\n\t ;\n\t NguiDatetimePickerDirective.prototype.drag_over = function (event) {\n\t event.preventDefault();\n\t return false;\n\t };\n\t __decorate([\n\t core_1.Input('date-format'), \n\t __metadata('design:type', String)\n\t ], NguiDatetimePickerDirective.prototype, \"dateFormat\", void 0);\n\t __decorate([\n\t core_1.Input('parse-format'), \n\t __metadata('design:type', String)\n\t ], NguiDatetimePickerDirective.prototype, \"parseFormat\", void 0);\n\t __decorate([\n\t core_1.Input('date-only'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"dateOnly\", void 0);\n\t __decorate([\n\t core_1.Input('time-only'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"timeOnly\", void 0);\n\t __decorate([\n\t core_1.Input('close-on-select'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"closeOnSelect\", void 0);\n\t __decorate([\n\t core_1.Input('default-value'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"defaultValue\", void 0);\n\t __decorate([\n\t core_1.Input('minute-step'), \n\t __metadata('design:type', Number)\n\t ], NguiDatetimePickerDirective.prototype, \"minuteStep\", void 0);\n\t __decorate([\n\t core_1.Input('min-date'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"minDate\", void 0);\n\t __decorate([\n\t core_1.Input('max-date'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"maxDate\", void 0);\n\t __decorate([\n\t core_1.Input('min-hour'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"minHour\", void 0);\n\t __decorate([\n\t core_1.Input('max-hour'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"maxHour\", void 0);\n\t __decorate([\n\t core_1.Input('disabled-dates'), \n\t __metadata('design:type', Array)\n\t ], NguiDatetimePickerDirective.prototype, \"disabledDates\", void 0);\n\t __decorate([\n\t core_1.Input('show-close-layer'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"showCloseLayer\", void 0);\n\t __decorate([\n\t core_1.Input('show-today-shortcut'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"showTodayShortcut\", void 0);\n\t __decorate([\n\t core_1.Input('show-week-numbers'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"showWeekNumbers\", void 0);\n\t __decorate([\n\t core_1.Input(), \n\t __metadata('design:type', String)\n\t ], NguiDatetimePickerDirective.prototype, \"formControlName\", void 0);\n\t __decorate([\n\t core_1.Input('is-draggable'), \n\t __metadata('design:type', Boolean)\n\t ], NguiDatetimePickerDirective.prototype, \"isDraggable\", void 0);\n\t __decorate([\n\t core_1.Input('ngModel'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"ngModel\", void 0);\n\t __decorate([\n\t core_1.Output('ngModelChange'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"ngModelChange\", void 0);\n\t __decorate([\n\t core_1.Output('valueChanged'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"valueChanged$\", void 0);\n\t __decorate([\n\t core_1.Output('popupClosed'), \n\t __metadata('design:type', Object)\n\t ], NguiDatetimePickerDirective.prototype, \"popupClosed$\", void 0);\n\t NguiDatetimePickerDirective = __decorate([\n\t core_1.Directive({\n\t selector: '[ngui-datetime-picker]',\n\t providers: [datetime_1.NguiDatetime]\n\t }),\n\t __param(2, core_1.Optional()),\n\t __param(2, core_1.Host()),\n\t __param(2, core_1.SkipSelf()), \n\t __metadata('design:paramtypes', [core_1.ComponentFactoryResolver, core_1.ViewContainerRef, forms_1.ControlContainer])\n\t ], NguiDatetimePickerDirective);\n\t return NguiDatetimePickerDirective;\n\t}());\n\texports.NguiDatetimePickerDirective = NguiDatetimePickerDirective;\n\n\n/***/ },\n/* 345 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\tvar forms_1 = __webpack_require__(283);\n\tvar common_1 = __webpack_require__(282);\n\tvar datetime_1 = __webpack_require__(342);\n\tvar datetime_picker_component_1 = __webpack_require__(343);\n\tvar datetime_picker_directive_1 = __webpack_require__(344);\n\tvar NguiDatetimePickerModule = (function () {\n\t function NguiDatetimePickerModule() {\n\t }\n\t NguiDatetimePickerModule = __decorate([\n\t core_1.NgModule({\n\t imports: [common_1.CommonModule, forms_1.FormsModule],\n\t declarations: [datetime_picker_component_1.NguiDatetimePickerComponent, datetime_picker_directive_1.NguiDatetimePickerDirective],\n\t exports: [datetime_picker_component_1.NguiDatetimePickerComponent, datetime_picker_directive_1.NguiDatetimePickerDirective],\n\t entryComponents: [datetime_picker_component_1.NguiDatetimePickerComponent],\n\t providers: [datetime_1.NguiDatetime]\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], NguiDatetimePickerModule);\n\t return NguiDatetimePickerModule;\n\t}());\n\texports.NguiDatetimePickerModule = NguiDatetimePickerModule;\n\n\n/***/ },\n/* 346 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t(function webpackUniversalModuleDefinition(root, factory) {\n\t\tif(true)\n\t\t\tmodule.exports = factory(__webpack_require__(263));\n\t\telse if(typeof define === 'function' && define.amd)\n\t\t\tdefine([\"@angular/core\"], factory);\n\t\telse if(typeof exports === 'object')\n\t\t\texports[\"utils\"] = factory(require(\"@angular/core\"));\n\t\telse\n\t\t\troot[\"utils\"] = factory(root[\"@angular/core\"]);\n\t})(this, function(__WEBPACK_EXTERNAL_MODULE_7__) {\n\treturn /******/ (function(modules) { // webpackBootstrap\n\t/******/ \t// The module cache\n\t/******/ \tvar installedModules = {};\n\t/******/\n\t/******/ \t// The require function\n\t/******/ \tfunction __webpack_require__(moduleId) {\n\t/******/\n\t/******/ \t\t// Check if module is in cache\n\t/******/ \t\tif(installedModules[moduleId])\n\t/******/ \t\t\treturn installedModules[moduleId].exports;\n\t/******/\n\t/******/ \t\t// Create a new module (and put it into the cache)\n\t/******/ \t\tvar module = installedModules[moduleId] = {\n\t/******/ \t\t\texports: {},\n\t/******/ \t\t\tid: moduleId,\n\t/******/ \t\t\tloaded: false\n\t/******/ \t\t};\n\t/******/\n\t/******/ \t\t// Execute the module function\n\t/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\t/******/\n\t/******/ \t\t// Flag the module as loaded\n\t/******/ \t\tmodule.loaded = true;\n\t/******/\n\t/******/ \t\t// Return the exports of the module\n\t/******/ \t\treturn module.exports;\n\t/******/ \t}\n\t/******/\n\t/******/\n\t/******/ \t// expose the modules object (__webpack_modules__)\n\t/******/ \t__webpack_require__.m = modules;\n\t/******/\n\t/******/ \t// expose the module cache\n\t/******/ \t__webpack_require__.c = installedModules;\n\t/******/\n\t/******/ \t// __webpack_public_path__\n\t/******/ \t__webpack_require__.p = \"\";\n\t/******/\n\t/******/ \t// Load entry module and return exports\n\t/******/ \treturn __webpack_require__(0);\n\t/******/ })\n\t/************************************************************************/\n\t/******/ ([\n\t/* 0 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar scroll_to_1 = __webpack_require__(1);\n\t\texports.scrollTo = scroll_to_1.scrollTo;\n\t\tvar element_visible_1 = __webpack_require__(2);\n\t\texports.elementVisible = element_visible_1.elementVisible;\n\t\tvar computed_style_1 = __webpack_require__(3);\n\t\texports.computedStyle = computed_style_1.computedStyle;\n\t\tvar outer_width_1 = __webpack_require__(4);\n\t\texports.outerWidth = outer_width_1.outerWidth;\n\t\tvar outer_height_1 = __webpack_require__(5);\n\t\texports.outerHeight = outer_height_1.outerHeight;\n\t\tvar html_code_pipe_1 = __webpack_require__(6);\n\t\texports.HtmlCodePipe = html_code_pipe_1.HtmlCodePipe;\n\t\tvar javascript_code_pipe_1 = __webpack_require__(8);\n\t\texports.JavascriptCodePipe = javascript_code_pipe_1.JavascriptCodePipe;\n\t\tvar utils_module_1 = __webpack_require__(13);\n\t\texports.NguiUtilsModule = utils_module_1.NguiUtilsModule;\n\t\n\t\n\t/***/ },\n\t/* 1 */\n\t/***/ function(module, exports) {\n\t\n\t\t\"use strict\";\n\t\t/**\n\t\t * scroll to the selector within the parent selector by scrolling 10 times within 500ms\n\t\t * @param selector\n\t\t * @param parentSelector\n\t\t */\n\t\tfunction scrollTo(selector, parentSelector, horizontal, distance) {\n\t\t // argument validation\n\t\t var parentEl, targetEl;\n\t\t parentSelector = parentSelector || 'body';\n\t\t targetEl = document.querySelector(selector);\n\t\t if (!targetEl) {\n\t\t throw \"Invalid selector \" + selector;\n\t\t }\n\t\t parentEl = document.querySelector(parentSelector);\n\t\t if (!parentEl) {\n\t\t throw \"Invalid parent selector \" + parentSelector;\n\t\t }\n\t\t // detect the current environment\n\t\t var parentElStyle = window.getComputedStyle(parentEl);\n\t\t var scrollContainerEl = parentElStyle.overflow === 'auto' ? parentEl : document.body;\n\t\t var currentScrollTop = scrollContainerEl.scrollTop;\n\t\t var currentScrollLeft = scrollContainerEl.scrollLeft;\n\t\t // determine targetOffsetTop(or Left);\n\t\t var targetOffsetTop;\n\t\t var targetOffsetLeft;\n\t\t if (scrollContainerEl === document.body) {\n\t\t var bodyRect = document.body.getBoundingClientRect();\n\t\t var targetRect = targetEl.getBoundingClientRect();\n\t\t targetOffsetTop = targetRect.top - bodyRect.top;\n\t\t targetOffsetLeft = targetRect.left - bodyRect.left;\n\t\t }\n\t\t else {\n\t\t targetOffsetTop = targetEl.offsetTop;\n\t\t targetOffsetLeft = targetEl.offsetLeft;\n\t\t }\n\t\t if (distance) {\n\t\t currentScrollTop += distance;\n\t\t currentScrollLeft += distance;\n\t\t }\n\t\t // start scrolling\n\t\t var step = horizontal ?\n\t\t Math.ceil((targetOffsetLeft - currentScrollLeft) / 10) :\n\t\t Math.ceil((targetOffsetTop - currentScrollTop) / 10);\n\t\t var scrollProp = horizontal ? 'scrollLeft' : 'scrollTop';\n\t\t (function loop(i, prop) {\n\t\t setTimeout(function main() {\n\t\t scrollContainerEl[prop] += step;\n\t\t i > 1 && loop(i - 1, prop);\n\t\t }, 50);\n\t\t }(10, scrollProp));\n\t\t}\n\t\texports.scrollTo = scrollTo;\n\t\n\t\n\t/***/ },\n\t/* 2 */\n\t/***/ function(module, exports) {\n\t\n\t\t\"use strict\";\n\t\t/**\n\t\t * Returns an element is visible within outer element\n\t\t * @param innerEl\n\t\t * @param outerEl\n\t\t * @param adjustment\n\t\t * @returns {{top: boolean, bottom: boolean, left: boolean, right: boolean}}\n\t\t */\n\t\tfunction elementVisible(innerElement, outerElement, adjustment) {\n\t\t var innerEl;\n\t\t var outerEl;\n\t\t innerEl = (typeof innerElement === 'string') ?\n\t\t document.querySelector(innerElement) : innerElement;\n\t\t outerEl = (typeof outerElement === 'string') ?\n\t\t document.querySelector(outerElement) : outerElement;\n\t\t var innerRect = innerEl.getBoundingClientRect();\n\t\t var bottomAdjustment = (adjustment && adjustment.bottom || 0);\n\t\t if (outerEl === window) {\n\t\t return {\n\t\t top: innerRect.bottom - bottomAdjustment > window.innerHeight\n\t\t && innerRect.top < window.innerHeight,\n\t\t bottom: innerRect.bottom - bottomAdjustment > 0\n\t\t && innerRect.bottom < window.innerHeight,\n\t\t left: innerRect.right > window.innerWidth\n\t\t && innerRect.left < window.innerWidth,\n\t\t right: innerRect.right > 0\n\t\t && innerRect.right < window.innerWidth\n\t\t };\n\t\t }\n\t\t else {\n\t\t var outerRect = outerEl.getBoundingClientRect();\n\t\t var defaultView = (innerEl.ownerDocument || document).defaultView;\n\t\t var computedStyle = defaultView.getComputedStyle(outerEl, null);\n\t\t var outerRectBorderTopWidth = parseInt(computedStyle.getPropertyValue('border-top-width'), 10);\n\t\t var outerRectBorderLeftWidth = parseInt(computedStyle.getPropertyValue('border-left-width'), 10);\n\t\t /* top is visible or bottom is visible */\n\t\t var topVisible = (innerRect.top >= outerRect.top\n\t\t && innerRect.top < outerRect.bottom);\n\t\t var bottomVisible = (innerRect.bottom > (outerRect.top + outerRectBorderTopWidth)\n\t\t && innerRect.bottom < outerRect.bottom);\n\t\t var leftVisible = (innerRect.left >= outerRect.left\n\t\t && innerRect.left < outerRect.right);\n\t\t var rightVisible = (innerRect.right > (outerRect.left + outerRectBorderLeftWidth)\n\t\t && innerRect.right < outerRect.right);\n\t\t return {\n\t\t top: topVisible,\n\t\t bottom: bottomVisible,\n\t\t left: leftVisible,\n\t\t right: rightVisible\n\t\t };\n\t\t }\n\t\t}\n\t\texports.elementVisible = elementVisible;\n\t\n\t\n\t/***/ },\n\t/* 3 */\n\t/***/ function(module, exports) {\n\t\n\t\t\"use strict\";\n\t\t/**\n\t\t * returns coumputed style of given element\n\t\t * @param el\n\t\t * @param styleProp\n\t\t * @returns {any}\n\t\t */\n\t\tfunction computedStyle(element, styleProp) {\n\t\t var el;\n\t\t el = (typeof element === 'string') ? document.querySelector(element) : element;\n\t\t var value, defaultView = (el.ownerDocument || document).defaultView;\n\t\t // W3C standard way:\n\t\t if (defaultView && defaultView.getComputedStyle) {\n\t\t // sanitize property name to css notation\n\t\t // (hypen separated words eg. font-Size)\n\t\t styleProp = styleProp.replace(/([A-Z])/g, \"-$1\").toLowerCase();\n\t\t return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);\n\t\t }\n\t\t else if (el['currentStyle']) {\n\t\t // sanitize property name to camelCase\n\t\t styleProp = styleProp.replace(/\\-(\\w)/g, function (str, letter) {\n\t\t return letter.toUpperCase();\n\t\t });\n\t\t value = el['currentStyle'][styleProp];\n\t\t // convert other units to pixels on IE\n\t\t if (/^\\d+(em|pt|%|ex)?$/i.test(value)) {\n\t\t return (function (value) {\n\t\t var oldLeft = el.style.left, oldRsLeft = el['runtimeStyle'].left;\n\t\t el['runtimeStyle'].left = el['currentStyle'].left;\n\t\t el.style.left = value || 0;\n\t\t value = el.style['pixelLeft'] + \"px\";\n\t\t el.style.left = oldLeft;\n\t\t el['runtimeStyle'].left = oldRsLeft;\n\t\t return value;\n\t\t })(value);\n\t\t }\n\t\t return value;\n\t\t }\n\t\t}\n\t\texports.computedStyle = computedStyle;\n\t\n\t\n\t/***/ },\n\t/* 4 */\n\t/***/ function(module, exports) {\n\t\n\t\t\"use strict\";\n\t\tfunction outerWidth(element) {\n\t\t var el;\n\t\t (typeof element === 'string') ? (el = document.querySelector(element)) : element;\n\t\t var style = getComputedStyle(el);\n\t\t return el.offsetWidth +\n\t\t parseInt(style.getPropertyValue('margin-left')) +\n\t\t parseInt(style.getPropertyValue('margin-right'));\n\t\t}\n\t\texports.outerWidth = outerWidth;\n\t\n\t\n\t/***/ },\n\t/* 5 */\n\t/***/ function(module, exports) {\n\t\n\t\t\"use strict\";\n\t\tfunction outerHeight(element) {\n\t\t var el;\n\t\t (typeof element === 'string') ? (el = document.querySelector(element)) : element;\n\t\t var style = getComputedStyle(el);\n\t\t return el.offsetHeight +\n\t\t parseInt(style.getPropertyValue('margin-top')) +\n\t\t parseInt(style.getPropertyValue('margin-bottom'));\n\t\t}\n\t\texports.outerHeight = outerHeight;\n\t\n\t\n\t/***/ },\n\t/* 6 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t\t};\n\t\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t\t};\n\t\tvar core_1 = __webpack_require__(7);\n\t\tvar HtmlCodePipe = (function () {\n\t\t function HtmlCodePipe() {\n\t\t }\n\t\t HtmlCodePipe.prototype.transform = function (html, tagsIncludeExclude) {\n\t\t var ret;\n\t\t var tagsInclude = [];\n\t\t var tagsExclude = [];\n\t\t (tagsIncludeExclude || '').split(',').forEach(function (tag) {\n\t\t if (tag.match(/^-/)) {\n\t\t tag = tag.replace(/^-/, '');\n\t\t tagsExclude.push(tag);\n\t\t }\n\t\t else if (tag !== '') {\n\t\t tagsInclude.push(tag);\n\t\t }\n\t\t });\n\t\t ret = tagsInclude.length > 0 ? '' : html;\n\t\t if (tagsInclude.length > 0) {\n\t\t tagsInclude.forEach(function (tag) {\n\t\t var regEx = new RegExp(\"<\" + tag + \">([\\\\s\\\\S]*?)</\" + tag + \">\");\n\t\t var matches = html.match(regEx);\n\t\t var output = matches[0].replace(/<\\/?ngui-utils-[0-9]+>\\s*/g, ''); //remove <ngui-utils-xxx> and </ngui-utils-xxx>\n\t\t ret = ret + output;\n\t\t });\n\t\t }\n\t\t if (tagsExclude.length > 0) {\n\t\t tagsExclude.forEach(function (tag) {\n\t\t var regEx = new RegExp(\"<\" + tag + \">([\\\\s\\\\S]*?)</\" + tag + \">\");\n\t\t ret = ret.replace(regEx, '');\n\t\t });\n\t\t }\n\t\t return ret;\n\t\t };\n\t\t return HtmlCodePipe;\n\t\t}());\n\t\tHtmlCodePipe = __decorate([\n\t\t core_1.Pipe({ name: 'htmlCode' }),\n\t\t __metadata(\"design:paramtypes\", [])\n\t\t], HtmlCodePipe);\n\t\texports.HtmlCodePipe = HtmlCodePipe;\n\t\n\t\n\t/***/ },\n\t/* 7 */\n\t/***/ function(module, exports) {\n\t\n\t\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_7__;\n\t\n\t/***/ },\n\t/* 8 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t\t};\n\t\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t\t};\n\t\tvar core_1 = __webpack_require__(7);\n\t\tvar js_beautify = __webpack_require__(9);\n\t\tvar JavascriptCodePipe = (function () {\n\t\t function JavascriptCodePipe() {\n\t\t }\n\t\t JavascriptCodePipe.prototype.transform = function (value) {\n\t\t value = value.toString();\n\t\t var ret = value;\n\t\t return js_beautify(value);\n\t\t };\n\t\t return JavascriptCodePipe;\n\t\t}());\n\t\tJavascriptCodePipe = __decorate([\n\t\t core_1.Pipe({ name: 'jsCode' }),\n\t\t __metadata(\"design:paramtypes\", [])\n\t\t], JavascriptCodePipe);\n\t\texports.JavascriptCodePipe = JavascriptCodePipe;\n\t\n\t\n\t/***/ },\n\t/* 9 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\t\tThe following batches are equivalent:\n\t\t\n\t\tvar beautify_js = require('js-beautify');\n\t\tvar beautify_js = require('js-beautify').js;\n\t\tvar beautify_js = require('js-beautify').js_beautify;\n\t\t\n\t\tvar beautify_css = require('js-beautify').css;\n\t\tvar beautify_css = require('js-beautify').css_beautify;\n\t\t\n\t\tvar beautify_html = require('js-beautify').html;\n\t\tvar beautify_html = require('js-beautify').html_beautify;\n\t\t\n\t\tAll methods returned accept two arguments, the source string and an options object.\n\t\t**/\n\t\t\n\t\tfunction get_beautify(js_beautify, css_beautify, html_beautify) {\n\t\t // the default is js\n\t\t var beautify = function(src, config) {\n\t\t return js_beautify.js_beautify(src, config);\n\t\t };\n\t\t\n\t\t // short aliases\n\t\t beautify.js = js_beautify.js_beautify;\n\t\t beautify.css = css_beautify.css_beautify;\n\t\t beautify.html = html_beautify.html_beautify;\n\t\t\n\t\t // legacy aliases\n\t\t beautify.js_beautify = js_beautify.js_beautify;\n\t\t beautify.css_beautify = css_beautify.css_beautify;\n\t\t beautify.html_beautify = html_beautify.html_beautify;\n\t\t\n\t\t return beautify;\n\t\t}\n\t\t\n\t\tif (true) {\n\t\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n\t\t __webpack_require__(10),\n\t\t __webpack_require__(11),\n\t\t __webpack_require__(12)\n\t\t ], __WEBPACK_AMD_DEFINE_RESULT__ = function(js_beautify, css_beautify, html_beautify) {\n\t\t return get_beautify(js_beautify, css_beautify, html_beautify);\n\t\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t} else {\n\t\t (function(mod) {\n\t\t var js_beautify = require('./lib/beautify');\n\t\t var css_beautify = require('./lib/beautify-css');\n\t\t var html_beautify = require('./lib/beautify-html');\n\t\t\n\t\t mod.exports = get_beautify(js_beautify, css_beautify, html_beautify);\n\t\t\n\t\t })(module);\n\t\t}\n\t\n\t/***/ },\n\t/* 10 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t\t/*\n\t\t\n\t\t The MIT License (MIT)\n\t\t\n\t\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\t\n\t\t Permission is hereby granted, free of charge, to any person\n\t\t obtaining a copy of this software and associated documentation files\n\t\t (the \"Software\"), to deal in the Software without restriction,\n\t\t including without limitation the rights to use, copy, modify, merge,\n\t\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t\t and to permit persons to whom the Software is furnished to do so,\n\t\t subject to the following conditions:\n\t\t\n\t\t The above copyright notice and this permission notice shall be\n\t\t included in all copies or substantial portions of the Software.\n\t\t\n\t\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\t SOFTWARE.\n\t\t\n\t\t JS Beautifier\n\t\t---------------\n\t\t\n\t\t\n\t\t Written by Einar Lielmanis, <einar@jsbeautifier.org>\n\t\t http://jsbeautifier.org/\n\t\t\n\t\t Originally converted to javascript by Vital, <vital76@gmail.com>\n\t\t \"End braces on own line\" added by Chris J. Shull, <chrisjshull@gmail.com>\n\t\t Parsing improvements for brace-less statements by Liam Newman <bitwiseman@gmail.com>\n\t\t\n\t\t\n\t\t Usage:\n\t\t js_beautify(js_source_text);\n\t\t js_beautify(js_source_text, options);\n\t\t\n\t\t The options are:\n\t\t indent_size (default 4) - indentation size,\n\t\t indent_char (default space) - character to indent with,\n\t\t preserve_newlines (default true) - whether existing line breaks should be preserved,\n\t\t max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk,\n\t\t\n\t\t jslint_happy (default false) - if true, then jslint-stricter mode is enforced.\n\t\t\n\t\t jslint_happy !jslint_happy\n\t\t ---------------------------------\n\t\t function () function()\n\t\t\n\t\t switch () { switch() {\n\t\t case 1: case 1:\n\t\t break; break;\n\t\t } }\n\t\t\n\t\t space_after_anon_function (default false) - should the space before an anonymous function's parens be added, \"function()\" vs \"function ()\",\n\t\t NOTE: This option is overriden by jslint_happy (i.e. if jslint_happy is true, space_after_anon_function is true by design)\n\t\t\n\t\t brace_style (default \"collapse\") - \"collapse-preserve-inline\" | \"collapse\" | \"expand\" | \"end-expand\" | \"none\"\n\t\t put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.\n\t\t\n\t\t space_before_conditional (default true) - should the space before conditional statement be added, \"if(true)\" vs \"if (true)\",\n\t\t\n\t\t unescape_strings (default false) - should printable characters in strings encoded in \\xNN notation be unescaped, \"example\" vs \"\\x65\\x78\\x61\\x6d\\x70\\x6c\\x65\"\n\t\t\n\t\t wrap_line_length (default unlimited) - lines should wrap at next opportunity after this number of characters.\n\t\t NOTE: This is not a hard limit. Lines will continue until a point where a newline would\n\t\t be preserved if it were present.\n\t\t\n\t\t end_with_newline (default false) - end output with a newline\n\t\t\n\t\t\n\t\t e.g\n\t\t\n\t\t js_beautify(js_source_text, {\n\t\t 'indent_size': 1,\n\t\t 'indent_char': '\\t'\n\t\t });\n\t\t\n\t\t*/\n\t\t\n\t\t// Object.values polyfill found here:\n\t\t// http://tokenposts.blogspot.com.au/2012/04/javascript-objectkeys-browser.html\n\t\tif (!Object.values) {\n\t\t Object.values = function(o) {\n\t\t if (o !== Object(o)) {\n\t\t throw new TypeError('Object.values called on a non-object');\n\t\t }\n\t\t var k = [],\n\t\t p;\n\t\t for (p in o) {\n\t\t if (Object.prototype.hasOwnProperty.call(o, p)) {\n\t\t k.push(o[p]);\n\t\t }\n\t\t }\n\t\t return k;\n\t\t };\n\t\t}\n\t\t\n\t\t(function() {\n\t\t\n\t\t function js_beautify(js_source_text, options) {\n\t\t\n\t\t var acorn = {};\n\t\t (function(exports) {\n\t\t /* jshint curly: false */\n\t\t // This section of code is taken from acorn.\n\t\t //\n\t\t // Acorn was written by Marijn Haverbeke and released under an MIT\n\t\t // license. The Unicode regexps (for identifiers and whitespace) were\n\t\t // taken from [Esprima](http://esprima.org) by Ariya Hidayat.\n\t\t //\n\t\t // Git repositories for Acorn are available at\n\t\t //\n\t\t // http://marijnhaverbeke.nl/git/acorn\n\t\t // https://github.com/marijnh/acorn.git\n\t\t\n\t\t // ## Character categories\n\t\t\n\t\t // Big ugly regular expressions that match characters in the\n\t\t // whitespace, identifier, and identifier-start categories. These\n\t\t // are only applied when a character is found to actually have a\n\t\t // code point above 128.\n\t\t\n\t\t var nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/; // jshint ignore:line\n\t\t var nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u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0ec4\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\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\\u2160-\\u2188\\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-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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\";\n\t\t var nonASCIIidentifierChars = \"\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\t\t var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n\t\t var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\t\t\n\t\t // Whether a single character denotes a newline.\n\t\t\n\t\t exports.newline = /[\\n\\r\\u2028\\u2029]/;\n\t\t\n\t\t // Matches a whole line break (where CRLF is considered a single\n\t\t // line break). Used to count lines.\n\t\t\n\t\t // in javascript, these two differ\n\t\t // in python they are the same, different methods are called on them\n\t\t exports.lineBreak = new RegExp('\\r\\n|' + exports.newline.source);\n\t\t exports.allLineBreaks = new RegExp(exports.lineBreak.source, 'g');\n\t\t\n\t\t\n\t\t // Test whether a given character code starts an identifier.\n\t\t\n\t\t exports.isIdentifierStart = function(code) {\n\t\t // permit $ (36) and @ (64). @ is used in ES7 decorators.\n\t\t if (code < 65) return code === 36 || code === 64;\n\t\t // 65 through 91 are uppercase letters.\n\t\t if (code < 91) return true;\n\t\t // permit _ (95).\n\t\t if (code < 97) return code === 95;\n\t\t // 97 through 123 are lowercase letters.\n\t\t if (code < 123) return true;\n\t\t return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));\n\t\t };\n\t\t\n\t\t // Test whether a given character is part of an identifier.\n\t\t\n\t\t exports.isIdentifierChar = function(code) {\n\t\t if (code < 48) return code === 36;\n\t\t if (code < 58) return true;\n\t\t if (code < 65) return false;\n\t\t if (code < 91) return true;\n\t\t if (code < 97) return code === 95;\n\t\t if (code < 123) return true;\n\t\t return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n\t\t };\n\t\t })(acorn);\n\t\t /* jshint curly: true */\n\t\t\n\t\t function in_array(what, arr) {\n\t\t for (var i = 0; i < arr.length; i += 1) {\n\t\t if (arr[i] === what) {\n\t\t return true;\n\t\t }\n\t\t }\n\t\t return false;\n\t\t }\n\t\t\n\t\t function trim(s) {\n\t\t return s.replace(/^\\s+|\\s+$/g, '');\n\t\t }\n\t\t\n\t\t function ltrim(s) {\n\t\t return s.replace(/^\\s+/g, '');\n\t\t }\n\t\t\n\t\t // function rtrim(s) {\n\t\t // return s.replace(/\\s+$/g, '');\n\t\t // }\n\t\t\n\t\t function sanitizeOperatorPosition(opPosition) {\n\t\t opPosition = opPosition || OPERATOR_POSITION.before_newline;\n\t\t\n\t\t var validPositionValues = Object.values(OPERATOR_POSITION);\n\t\t\n\t\t if (!in_array(opPosition, validPositionValues)) {\n\t\t throw new Error(\"Invalid Option Value: The option 'operator_position' must be one of the following values\\n\" +\n\t\t validPositionValues +\n\t\t \"\\nYou passed in: '\" + opPosition + \"'\");\n\t\t }\n\t\t\n\t\t return opPosition;\n\t\t }\n\t\t\n\t\t var OPERATOR_POSITION = {\n\t\t before_newline: 'before-newline',\n\t\t after_newline: 'after-newline',\n\t\t preserve_newline: 'preserve-newline',\n\t\t };\n\t\t\n\t\t var OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.before_newline, OPERATOR_POSITION.preserve_newline];\n\t\t\n\t\t var MODE = {\n\t\t BlockStatement: 'BlockStatement', // 'BLOCK'\n\t\t Statement: 'Statement', // 'STATEMENT'\n\t\t ObjectLiteral: 'ObjectLiteral', // 'OBJECT',\n\t\t ArrayLiteral: 'ArrayLiteral', //'[EXPRESSION]',\n\t\t ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',\n\t\t Conditional: 'Conditional', //'(COND-EXPRESSION)',\n\t\t Expression: 'Expression' //'(EXPRESSION)'\n\t\t };\n\t\t\n\t\t function Beautifier(js_source_text, options) {\n\t\t \"use strict\";\n\t\t var output;\n\t\t var tokens = [],\n\t\t token_pos;\n\t\t var Tokenizer;\n\t\t var current_token;\n\t\t var last_type, last_last_text, indent_string;\n\t\t var flags, previous_flags, flag_store;\n\t\t var prefix;\n\t\t\n\t\t var handlers, opt;\n\t\t var baseIndentString = '';\n\t\t\n\t\t handlers = {\n\t\t 'TK_START_EXPR': handle_start_expr,\n\t\t 'TK_END_EXPR': handle_end_expr,\n\t\t 'TK_START_BLOCK': handle_start_block,\n\t\t 'TK_END_BLOCK': handle_end_block,\n\t\t 'TK_WORD': handle_word,\n\t\t 'TK_RESERVED': handle_word,\n\t\t 'TK_SEMICOLON': handle_semicolon,\n\t\t 'TK_STRING': handle_string,\n\t\t 'TK_EQUALS': handle_equals,\n\t\t 'TK_OPERATOR': handle_operator,\n\t\t 'TK_COMMA': handle_comma,\n\t\t 'TK_BLOCK_COMMENT': handle_block_comment,\n\t\t 'TK_COMMENT': handle_comment,\n\t\t 'TK_DOT': handle_dot,\n\t\t 'TK_UNKNOWN': handle_unknown,\n\t\t 'TK_EOF': handle_eof\n\t\t };\n\t\t\n\t\t function create_flags(flags_base, mode) {\n\t\t var next_indent_level = 0;\n\t\t if (flags_base) {\n\t\t next_indent_level = flags_base.indentation_level;\n\t\t if (!output.just_added_newline() &&\n\t\t flags_base.line_indent_level > next_indent_level) {\n\t\t next_indent_level = flags_base.line_indent_level;\n\t\t }\n\t\t }\n\t\t\n\t\t var next_flags = {\n\t\t mode: mode,\n\t\t parent: flags_base,\n\t\t last_text: flags_base ? flags_base.last_text : '', // last token text\n\t\t last_word: flags_base ? flags_base.last_word : '', // last 'TK_WORD' passed\n\t\t declaration_statement: false,\n\t\t declaration_assignment: false,\n\t\t multiline_frame: false,\n\t\t inline_frame: false,\n\t\t if_block: false,\n\t\t else_block: false,\n\t\t do_block: false,\n\t\t do_while: false,\n\t\t import_block: false,\n\t\t in_case_statement: false, // switch(..){ INSIDE HERE }\n\t\t in_case: false, // we're on the exact line with \"case 0:\"\n\t\t case_body: false, // the indented case-action block\n\t\t indentation_level: next_indent_level,\n\t\t line_indent_level: flags_base ? flags_base.line_indent_level : next_indent_level,\n\t\t start_line_index: output.get_line_number(),\n\t\t ternary_depth: 0\n\t\t };\n\t\t return next_flags;\n\t\t }\n\t\t\n\t\t // Some interpreters have unexpected results with foo = baz || bar;\n\t\t options = options ? options : {};\n\t\t opt = {};\n\t\t\n\t\t // compatibility\n\t\t if (options.braces_on_own_line !== undefined) { //graceful handling of deprecated option\n\t\t opt.brace_style = options.braces_on_own_line ? \"expand\" : \"collapse\";\n\t\t }\n\t\t opt.brace_style = options.brace_style ? options.brace_style : (opt.brace_style ? opt.brace_style : \"collapse\");\n\t\t\n\t\t // graceful handling of deprecated option\n\t\t if (opt.brace_style === \"expand-strict\") {\n\t\t opt.brace_style = \"expand\";\n\t\t }\n\t\t\n\t\t opt.indent_size = options.indent_size ? parseInt(options.indent_size, 10) : 4;\n\t\t opt.indent_char = options.indent_char ? options.indent_char : ' ';\n\t\t opt.eol = options.eol ? options.eol : 'auto';\n\t\t opt.preserve_newlines = (options.preserve_newlines === undefined) ? true : options.preserve_newlines;\n\t\t opt.break_chained_methods = (options.break_chained_methods === undefined) ? false : options.break_chained_methods;\n\t\t opt.max_preserve_newlines = (options.max_preserve_newlines === undefined) ? 0 : parseInt(options.max_preserve_newlines, 10);\n\t\t opt.space_in_paren = (options.space_in_paren === undefined) ? false : options.space_in_paren;\n\t\t opt.space_in_empty_paren = (options.space_in_empty_paren === undefined) ? false : options.space_in_empty_paren;\n\t\t opt.jslint_happy = (options.jslint_happy === undefined) ? false : options.jslint_happy;\n\t\t opt.space_after_anon_function = (options.space_after_anon_function === undefined) ? false : options.space_after_anon_function;\n\t\t opt.keep_array_indentation = (options.keep_array_indentation === undefined) ? false : options.keep_array_indentation;\n\t\t opt.space_before_conditional = (options.space_before_conditional === undefined) ? true : options.space_before_conditional;\n\t\t opt.unescape_strings = (options.unescape_strings === undefined) ? false : options.unescape_strings;\n\t\t opt.wrap_line_length = (options.wrap_line_length === undefined) ? 0 : parseInt(options.wrap_line_length, 10);\n\t\t opt.e4x = (options.e4x === undefined) ? false : options.e4x;\n\t\t opt.end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t\t opt.comma_first = (options.comma_first === undefined) ? false : options.comma_first;\n\t\t opt.operator_position = sanitizeOperatorPosition(options.operator_position);\n\t\t\n\t\t // For testing of beautify ignore:start directive\n\t\t opt.test_output_raw = (options.test_output_raw === undefined) ? false : options.test_output_raw;\n\t\t\n\t\t // force opt.space_after_anon_function to true if opt.jslint_happy\n\t\t if (opt.jslint_happy) {\n\t\t opt.space_after_anon_function = true;\n\t\t }\n\t\t\n\t\t if (options.indent_with_tabs) {\n\t\t opt.indent_char = '\\t';\n\t\t opt.indent_size = 1;\n\t\t }\n\t\t\n\t\t if (opt.eol === 'auto') {\n\t\t opt.eol = '\\n';\n\t\t if (js_source_text && acorn.lineBreak.test(js_source_text || '')) {\n\t\t opt.eol = js_source_text.match(acorn.lineBreak)[0];\n\t\t }\n\t\t }\n\t\t\n\t\t opt.eol = opt.eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\t\n\t\t //----------------------------------\n\t\t indent_string = '';\n\t\t while (opt.indent_size > 0) {\n\t\t indent_string += opt.indent_char;\n\t\t opt.indent_size -= 1;\n\t\t }\n\t\t\n\t\t var preindent_index = 0;\n\t\t if (js_source_text && js_source_text.length) {\n\t\t while ((js_source_text.charAt(preindent_index) === ' ' ||\n\t\t js_source_text.charAt(preindent_index) === '\\t')) {\n\t\t baseIndentString += js_source_text.charAt(preindent_index);\n\t\t preindent_index += 1;\n\t\t }\n\t\t js_source_text = js_source_text.substring(preindent_index);\n\t\t }\n\t\t\n\t\t last_type = 'TK_START_BLOCK'; // last token type\n\t\t last_last_text = ''; // pre-last token text\n\t\t output = new Output(indent_string, baseIndentString);\n\t\t\n\t\t // If testing the ignore directive, start with output disable set to true\n\t\t output.raw = opt.test_output_raw;\n\t\t\n\t\t\n\t\t // Stack of parsing/formatting states, including MODE.\n\t\t // We tokenize, parse, and output in an almost purely a forward-only stream of token input\n\t\t // and formatted output. This makes the beautifier less accurate than full parsers\n\t\t // but also far more tolerant of syntax errors.\n\t\t //\n\t\t // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type\n\t\t // MODE.BlockStatement on the the stack, even though it could be object literal. If we later\n\t\t // encounter a \":\", we'll switch to to MODE.ObjectLiteral. If we then see a \";\",\n\t\t // most full parsers would die, but the beautifier gracefully falls back to\n\t\t // MODE.BlockStatement and continues on.\n\t\t flag_store = [];\n\t\t set_mode(MODE.BlockStatement);\n\t\t\n\t\t this.beautify = function() {\n\t\t\n\t\t /*jshint onevar:true */\n\t\t var local_token, sweet_code;\n\t\t Tokenizer = new tokenizer(js_source_text, opt, indent_string);\n\t\t tokens = Tokenizer.tokenize();\n\t\t token_pos = 0;\n\t\t\n\t\t function get_local_token() {\n\t\t local_token = get_token();\n\t\t return local_token;\n\t\t }\n\t\t\n\t\t while (get_local_token()) {\n\t\t for (var i = 0; i < local_token.comments_before.length; i++) {\n\t\t // The cleanest handling of inline comments is to treat them as though they aren't there.\n\t\t // Just continue formatting and the behavior should be logical.\n\t\t // Also ignore unknown tokens. Again, this should result in better behavior.\n\t\t handle_token(local_token.comments_before[i]);\n\t\t }\n\t\t handle_token(local_token);\n\t\t\n\t\t last_last_text = flags.last_text;\n\t\t last_type = local_token.type;\n\t\t flags.last_text = local_token.text;\n\t\t\n\t\t token_pos += 1;\n\t\t }\n\t\t\n\t\t sweet_code = output.get_code();\n\t\t if (opt.end_with_newline) {\n\t\t sweet_code += '\\n';\n\t\t }\n\t\t\n\t\t if (opt.eol !== '\\n') {\n\t\t sweet_code = sweet_code.replace(/[\\n]/g, opt.eol);\n\t\t }\n\t\t\n\t\t return sweet_code;\n\t\t };\n\t\t\n\t\t function handle_token(local_token) {\n\t\t var newlines = local_token.newlines;\n\t\t var keep_whitespace = opt.keep_array_indentation && is_array(flags.mode);\n\t\t\n\t\t if (keep_whitespace) {\n\t\t for (var i = 0; i < newlines; i += 1) {\n\t\t print_newline(i > 0);\n\t\t }\n\t\t } else {\n\t\t if (opt.max_preserve_newlines && newlines > opt.max_preserve_newlines) {\n\t\t newlines = opt.max_preserve_newlines;\n\t\t }\n\t\t\n\t\t if (opt.preserve_newlines) {\n\t\t if (local_token.newlines > 1) {\n\t\t print_newline();\n\t\t for (var j = 1; j < newlines; j += 1) {\n\t\t print_newline(true);\n\t\t }\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t current_token = local_token;\n\t\t handlers[current_token.type]();\n\t\t }\n\t\t\n\t\t // we could use just string.split, but\n\t\t // IE doesn't like returning empty strings\n\t\t function split_linebreaks(s) {\n\t\t //return s.split(/\\x0d\\x0a|\\x0a/);\n\t\t\n\t\t s = s.replace(acorn.allLineBreaks, '\\n');\n\t\t var out = [],\n\t\t idx = s.indexOf(\"\\n\");\n\t\t while (idx !== -1) {\n\t\t out.push(s.substring(0, idx));\n\t\t s = s.substring(idx + 1);\n\t\t idx = s.indexOf(\"\\n\");\n\t\t }\n\t\t if (s.length) {\n\t\t out.push(s);\n\t\t }\n\t\t return out;\n\t\t }\n\t\t\n\t\t var newline_restricted_tokens = ['break', 'continue', 'return', 'throw'];\n\t\t\n\t\t function allow_wrap_or_preserved_newline(force_linewrap) {\n\t\t force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;\n\t\t\n\t\t // Never wrap the first token on a line\n\t\t if (output.just_added_newline()) {\n\t\t return;\n\t\t }\n\t\t\n\t\t var shouldPreserveOrForce = (opt.preserve_newlines && current_token.wanted_newline) || force_linewrap;\n\t\t var operatorLogicApplies = in_array(flags.last_text, Tokenizer.positionable_operators) || in_array(current_token.text, Tokenizer.positionable_operators);\n\t\t\n\t\t if (operatorLogicApplies) {\n\t\t var shouldPrintOperatorNewline = (\n\t\t in_array(flags.last_text, Tokenizer.positionable_operators) &&\n\t\t in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\n\t\t ) ||\n\t\t in_array(current_token.text, Tokenizer.positionable_operators);\n\t\t shouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n\t\t }\n\t\t\n\t\t if (shouldPreserveOrForce) {\n\t\t print_newline(false, true);\n\t\t } else if (opt.wrap_line_length) {\n\t\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, newline_restricted_tokens)) {\n\t\t // These tokens should never have a newline inserted\n\t\t // between them and the following expression.\n\t\t return;\n\t\t }\n\t\t var proposed_line_length = output.current_line.get_character_count() + current_token.text.length +\n\t\t (output.space_before_token ? 1 : 0);\n\t\t if (proposed_line_length >= opt.wrap_line_length) {\n\t\t print_newline(false, true);\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t function print_newline(force_newline, preserve_statement_flags) {\n\t\t if (!preserve_statement_flags) {\n\t\t if (flags.last_text !== ';' && flags.last_text !== ',' && flags.last_text !== '=' && last_type !== 'TK_OPERATOR') {\n\t\t while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n\t\t restore_mode();\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t if (output.add_new_line(force_newline)) {\n\t\t flags.multiline_frame = true;\n\t\t }\n\t\t }\n\t\t\n\t\t function print_token_line_indentation() {\n\t\t if (output.just_added_newline()) {\n\t\t if (opt.keep_array_indentation && is_array(flags.mode) && current_token.wanted_newline) {\n\t\t output.current_line.push(current_token.whitespace_before);\n\t\t output.space_before_token = false;\n\t\t } else if (output.set_indent(flags.indentation_level)) {\n\t\t flags.line_indent_level = flags.indentation_level;\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t function print_token(printable_token) {\n\t\t if (output.raw) {\n\t\t output.add_raw_token(current_token);\n\t\t return;\n\t\t }\n\t\t\n\t\t if (opt.comma_first && last_type === 'TK_COMMA' &&\n\t\t output.just_added_newline()) {\n\t\t if (output.previous_line.last() === ',') {\n\t\t var popped = output.previous_line.pop();\n\t\t // if the comma was already at the start of the line,\n\t\t // pull back onto that line and reprint the indentation\n\t\t if (output.previous_line.is_empty()) {\n\t\t output.previous_line.push(popped);\n\t\t output.trim(true);\n\t\t output.current_line.pop();\n\t\t output.trim();\n\t\t }\n\t\t\n\t\t // add the comma in front of the next token\n\t\t print_token_line_indentation();\n\t\t output.add_token(',');\n\t\t output.space_before_token = true;\n\t\t }\n\t\t }\n\t\t\n\t\t printable_token = printable_token || current_token.text;\n\t\t print_token_line_indentation();\n\t\t output.add_token(printable_token);\n\t\t }\n\t\t\n\t\t function indent() {\n\t\t flags.indentation_level += 1;\n\t\t }\n\t\t\n\t\t function deindent() {\n\t\t if (flags.indentation_level > 0 &&\n\t\t ((!flags.parent) || flags.indentation_level > flags.parent.indentation_level)) {\n\t\t flags.indentation_level -= 1;\n\t\t\n\t\t }\n\t\t }\n\t\t\n\t\t function set_mode(mode) {\n\t\t if (flags) {\n\t\t flag_store.push(flags);\n\t\t previous_flags = flags;\n\t\t } else {\n\t\t previous_flags = create_flags(null, mode);\n\t\t }\n\t\t\n\t\t flags = create_flags(previous_flags, mode);\n\t\t }\n\t\t\n\t\t function is_array(mode) {\n\t\t return mode === MODE.ArrayLiteral;\n\t\t }\n\t\t\n\t\t function is_expression(mode) {\n\t\t return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);\n\t\t }\n\t\t\n\t\t function restore_mode() {\n\t\t if (flag_store.length > 0) {\n\t\t previous_flags = flags;\n\t\t flags = flag_store.pop();\n\t\t if (previous_flags.mode === MODE.Statement) {\n\t\t output.remove_redundant_indentation(previous_flags);\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t function start_of_object_property() {\n\t\t return flags.parent.mode === MODE.ObjectLiteral && flags.mode === MODE.Statement && (\n\t\t (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set'])));\n\t\t }\n\t\t\n\t\t function start_of_statement() {\n\t\t if (\n\t\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') ||\n\t\t (last_type === 'TK_RESERVED' && flags.last_text === 'do') ||\n\t\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw']) && !current_token.wanted_newline) ||\n\t\t (last_type === 'TK_RESERVED' && flags.last_text === 'else' && !(current_token.type === 'TK_RESERVED' && current_token.text === 'if')) ||\n\t\t (last_type === 'TK_END_EXPR' && (previous_flags.mode === MODE.ForInitializer || previous_flags.mode === MODE.Conditional)) ||\n\t\t (last_type === 'TK_WORD' && flags.mode === MODE.BlockStatement &&\n\t\t !flags.in_case &&\n\t\t !(current_token.text === '--' || current_token.text === '++') &&\n\t\t last_last_text !== 'function' &&\n\t\t current_token.type !== 'TK_WORD' && current_token.type !== 'TK_RESERVED') ||\n\t\t (flags.mode === MODE.ObjectLiteral && (\n\t\t (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set']))))\n\t\t ) {\n\t\t\n\t\t set_mode(MODE.Statement);\n\t\t indent();\n\t\t\n\t\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') {\n\t\t flags.declaration_statement = true;\n\t\t }\n\t\t\n\t\t // Issue #276:\n\t\t // If starting a new statement with [if, for, while, do], push to a new line.\n\t\t // if (a) if (b) if(c) d(); else e(); else f();\n\t\t if (!start_of_object_property()) {\n\t\t allow_wrap_or_preserved_newline(\n\t\t current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['do', 'for', 'if', 'while']));\n\t\t }\n\t\t\n\t\t return true;\n\t\t }\n\t\t return false;\n\t\t }\n\t\t\n\t\t function all_lines_start_with(lines, c) {\n\t\t for (var i = 0; i < lines.length; i++) {\n\t\t var line = trim(lines[i]);\n\t\t if (line.charAt(0) !== c) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\t\t\n\t\t function each_line_matches_indent(lines, indent) {\n\t\t var i = 0,\n\t\t len = lines.length,\n\t\t line;\n\t\t for (; i < len; i++) {\n\t\t line = lines[i];\n\t\t // allow empty lines to pass through\n\t\t if (line && line.indexOf(indent) !== 0) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t }\n\t\t\n\t\t function is_special_word(word) {\n\t\t return in_array(word, ['case', 'return', 'do', 'if', 'throw', 'else']);\n\t\t }\n\t\t\n\t\t function get_token(offset) {\n\t\t var index = token_pos + (offset || 0);\n\t\t return (index < 0 || index >= tokens.length) ? null : tokens[index];\n\t\t }\n\t\t\n\t\t function handle_start_expr() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t }\n\t\t\n\t\t var next_mode = MODE.Expression;\n\t\t if (current_token.text === '[') {\n\t\t\n\t\t if (last_type === 'TK_WORD' || flags.last_text === ')') {\n\t\t // this is array index specifier, break immediately\n\t\t // a[x], fn()[x]\n\t\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, Tokenizer.line_starters)) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t set_mode(next_mode);\n\t\t print_token();\n\t\t indent();\n\t\t if (opt.space_in_paren) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t return;\n\t\t }\n\t\t\n\t\t next_mode = MODE.ArrayLiteral;\n\t\t if (is_array(flags.mode)) {\n\t\t if (flags.last_text === '[' ||\n\t\t (flags.last_text === ',' && (last_last_text === ']' || last_last_text === '}'))) {\n\t\t // ], [ goes to new line\n\t\t // }, [ goes to new line\n\t\t if (!opt.keep_array_indentation) {\n\t\t print_newline();\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t } else {\n\t\t if (last_type === 'TK_RESERVED' && flags.last_text === 'for') {\n\t\t next_mode = MODE.ForInitializer;\n\t\t } else if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['if', 'while'])) {\n\t\t next_mode = MODE.Conditional;\n\t\t } else {\n\t\t // next_mode = MODE.Expression;\n\t\t }\n\t\t }\n\t\t\n\t\t if (flags.last_text === ';' || last_type === 'TK_START_BLOCK') {\n\t\t print_newline();\n\t\t } else if (last_type === 'TK_END_EXPR' || last_type === 'TK_START_EXPR' || last_type === 'TK_END_BLOCK' || flags.last_text === '.') {\n\t\t // TODO: Consider whether forcing this is required. Review failing tests when removed.\n\t\t allow_wrap_or_preserved_newline(current_token.wanted_newline);\n\t\t // do nothing on (( and )( and ][ and ]( and .(\n\t\t } else if (!(last_type === 'TK_RESERVED' && current_token.text === '(') && last_type !== 'TK_WORD' && last_type !== 'TK_OPERATOR') {\n\t\t output.space_before_token = true;\n\t\t } else if ((last_type === 'TK_RESERVED' && (flags.last_word === 'function' || flags.last_word === 'typeof')) ||\n\t\t (flags.last_text === '*' &&\n\t\t (in_array(last_last_text, ['function', 'yield']) ||\n\t\t (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n\t\t // function() vs function ()\n\t\t // yield*() vs yield* ()\n\t\t // function*() vs function* ()\n\t\t if (opt.space_after_anon_function) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t } else if (last_type === 'TK_RESERVED' && (in_array(flags.last_text, Tokenizer.line_starters) || flags.last_text === 'catch')) {\n\t\t if (opt.space_before_conditional) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t }\n\t\t\n\t\t // Should be a space between await and an IIFE\n\t\t if (current_token.text === '(' && last_type === 'TK_RESERVED' && flags.last_word === 'await') {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t\n\t\t // Support of this kind of newline preservation.\n\t\t // a = (b &&\n\t\t // (c || d));\n\t\t if (current_token.text === '(') {\n\t\t if (last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t\t if (!start_of_object_property()) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t // Support preserving wrapped arrow function expressions\n\t\t // a.b('c',\n\t\t // () => d.e\n\t\t // )\n\t\t if (current_token.text === '(' && last_type !== 'TK_WORD' && last_type !== 'TK_RESERVED') {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t\n\t\t set_mode(next_mode);\n\t\t print_token();\n\t\t if (opt.space_in_paren) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t\n\t\t // In all cases, if we newline while inside an expression it should be indented.\n\t\t indent();\n\t\t }\n\t\t\n\t\t function handle_end_expr() {\n\t\t // statements inside expressions are not valid syntax, but...\n\t\t // statements must all be closed when their container closes\n\t\t while (flags.mode === MODE.Statement) {\n\t\t restore_mode();\n\t\t }\n\t\t\n\t\t if (flags.multiline_frame) {\n\t\t allow_wrap_or_preserved_newline(current_token.text === ']' && is_array(flags.mode) && !opt.keep_array_indentation);\n\t\t }\n\t\t\n\t\t if (opt.space_in_paren) {\n\t\t if (last_type === 'TK_START_EXPR' && !opt.space_in_empty_paren) {\n\t\t // () [] no inner space in empty parens like these, ever, ref #320\n\t\t output.trim();\n\t\t output.space_before_token = false;\n\t\t } else {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t }\n\t\t if (current_token.text === ']' && opt.keep_array_indentation) {\n\t\t print_token();\n\t\t restore_mode();\n\t\t } else {\n\t\t restore_mode();\n\t\t print_token();\n\t\t }\n\t\t output.remove_redundant_indentation(previous_flags);\n\t\t\n\t\t // do {} while () // no statement required after\n\t\t if (flags.do_while && previous_flags.mode === MODE.Conditional) {\n\t\t previous_flags.mode = MODE.Expression;\n\t\t flags.do_block = false;\n\t\t flags.do_while = false;\n\t\t\n\t\t }\n\t\t }\n\t\t\n\t\t function handle_start_block() {\n\t\t // Check if this is should be treated as a ObjectLiteral\n\t\t var next_token = get_token(1);\n\t\t var second_token = get_token(2);\n\t\t if (second_token && (\n\t\t (in_array(second_token.text, [':', ',']) && in_array(next_token.type, ['TK_STRING', 'TK_WORD', 'TK_RESERVED'])) ||\n\t\t (in_array(next_token.text, ['get', 'set']) && in_array(second_token.type, ['TK_WORD', 'TK_RESERVED']))\n\t\t )) {\n\t\t // We don't support TypeScript,but we didn't break it for a very long time.\n\t\t // We'll try to keep not breaking it.\n\t\t if (!in_array(last_last_text, ['class', 'interface'])) {\n\t\t set_mode(MODE.ObjectLiteral);\n\t\t } else {\n\t\t set_mode(MODE.BlockStatement);\n\t\t }\n\t\t } else if (last_type === 'TK_OPERATOR' && flags.last_text === '=>') {\n\t\t // arrow function: (param1, paramN) => { statements }\n\t\t set_mode(MODE.BlockStatement);\n\t\t } else if (in_array(last_type, ['TK_EQUALS', 'TK_START_EXPR', 'TK_COMMA', 'TK_OPERATOR']) ||\n\t\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw', 'import', 'default']))\n\t\t ) {\n\t\t // Detecting shorthand function syntax is difficult by scanning forward,\n\t\t // so check the surrounding context.\n\t\t // If the block is being returned, imported, export default, passed as arg,\n\t\t // assigned with = or assigned in a nested object, treat as an ObjectLiteral.\n\t\t set_mode(MODE.ObjectLiteral);\n\t\t } else {\n\t\t set_mode(MODE.BlockStatement);\n\t\t }\n\t\t\n\t\t var empty_braces = !next_token.comments_before.length && next_token.text === '}';\n\t\t var empty_anonymous_function = empty_braces && flags.last_word === 'function' &&\n\t\t last_type === 'TK_END_EXPR';\n\t\t\n\t\t\n\t\t if (opt.brace_style === \"expand\" ||\n\t\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t\t if (last_type !== 'TK_OPERATOR' &&\n\t\t (empty_anonymous_function ||\n\t\t last_type === 'TK_EQUALS' ||\n\t\t (last_type === 'TK_RESERVED' && is_special_word(flags.last_text) && flags.last_text !== 'else'))) {\n\t\t output.space_before_token = true;\n\t\t } else {\n\t\t print_newline(false, true);\n\t\t }\n\t\t } else { // collapse\n\t\t if (opt.brace_style === 'collapse-preserve-inline') {\n\t\t // search forward for a newline wanted inside this block\n\t\t var index = 0;\n\t\t var check_token = null;\n\t\t flags.inline_frame = true;\n\t\t do {\n\t\t index += 1;\n\t\t check_token = get_token(index);\n\t\t if (check_token.wanted_newline) {\n\t\t flags.inline_frame = false;\n\t\t break;\n\t\t }\n\t\t } while (check_token.type !== 'TK_EOF' &&\n\t\t !(check_token.type === 'TK_END_BLOCK' && check_token.opened === current_token));\n\t\t }\n\t\t\n\t\t if (is_array(previous_flags.mode) && (last_type === 'TK_START_EXPR' || last_type === 'TK_COMMA')) {\n\t\t // if we're preserving inline,\n\t\t // allow newline between comma and next brace.\n\t\t if (last_type === 'TK_COMMA' || opt.space_in_paren) {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t\n\t\t if (opt.brace_style === 'collapse-preserve-inline' &&\n\t\t (last_type === 'TK_COMMA' || (last_type === 'TK_START_EXPR' && flags.inline_frame))) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t previous_flags.multiline_frame = previous_flags.multiline_frame || flags.multiline_frame;\n\t\t flags.multiline_frame = false;\n\t\t }\n\t\t } else if (last_type !== 'TK_OPERATOR' && last_type !== 'TK_START_EXPR') {\n\t\t if (last_type === 'TK_START_BLOCK') {\n\t\t print_newline();\n\t\t } else {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t }\n\t\t }\n\t\t print_token();\n\t\t indent();\n\t\t }\n\t\t\n\t\t function handle_end_block() {\n\t\t // statements must all be closed when their container closes\n\t\t while (flags.mode === MODE.Statement) {\n\t\t restore_mode();\n\t\t }\n\t\t var empty_braces = last_type === 'TK_START_BLOCK';\n\t\t\n\t\t if (opt.brace_style === \"expand\") {\n\t\t if (!empty_braces) {\n\t\t print_newline();\n\t\t }\n\t\t } else {\n\t\t // skip {}\n\t\t if (!empty_braces) {\n\t\t if (flags.inline_frame) {\n\t\t output.space_before_token = true;\n\t\t } else if (is_array(flags.mode) && opt.keep_array_indentation) {\n\t\t // we REALLY need a newline here, but newliner would skip that\n\t\t opt.keep_array_indentation = false;\n\t\t print_newline();\n\t\t opt.keep_array_indentation = true;\n\t\t\n\t\t } else {\n\t\t print_newline();\n\t\t }\n\t\t }\n\t\t }\n\t\t restore_mode();\n\t\t print_token();\n\t\t }\n\t\t\n\t\t function handle_word() {\n\t\t if (current_token.type === 'TK_RESERVED') {\n\t\t if (in_array(current_token.text, ['set', 'get']) && flags.mode !== MODE.ObjectLiteral) {\n\t\t current_token.type = 'TK_WORD';\n\t\t } else if (in_array(current_token.text, ['as', 'from']) && !flags.import_block) {\n\t\t current_token.type = 'TK_WORD';\n\t\t } else if (flags.mode === MODE.ObjectLiteral) {\n\t\t var next_token = get_token(1);\n\t\t if (next_token.text === ':') {\n\t\t current_token.type = 'TK_WORD';\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t } else if (current_token.wanted_newline && !is_expression(flags.mode) &&\n\t\t (last_type !== 'TK_OPERATOR' || (flags.last_text === '--' || flags.last_text === '++')) &&\n\t\t last_type !== 'TK_EQUALS' &&\n\t\t (opt.preserve_newlines || !(last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const', 'set', 'get'])))) {\n\t\t\n\t\t print_newline();\n\t\t }\n\t\t\n\t\t if (flags.do_block && !flags.do_while) {\n\t\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'while') {\n\t\t // do {} ## while ()\n\t\t output.space_before_token = true;\n\t\t print_token();\n\t\t output.space_before_token = true;\n\t\t flags.do_while = true;\n\t\t return;\n\t\t } else {\n\t\t // do {} should always have while as the next word.\n\t\t // if we don't see the expected while, recover\n\t\t print_newline();\n\t\t flags.do_block = false;\n\t\t }\n\t\t }\n\t\t\n\t\t // if may be followed by else, or not\n\t\t // Bare/inline ifs are tricky\n\t\t // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();\n\t\t if (flags.if_block) {\n\t\t if (!flags.else_block && (current_token.type === 'TK_RESERVED' && current_token.text === 'else')) {\n\t\t flags.else_block = true;\n\t\t } else {\n\t\t while (flags.mode === MODE.Statement) {\n\t\t restore_mode();\n\t\t }\n\t\t flags.if_block = false;\n\t\t flags.else_block = false;\n\t\t }\n\t\t }\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED' && (current_token.text === 'case' || (current_token.text === 'default' && flags.in_case_statement))) {\n\t\t print_newline();\n\t\t if (flags.case_body || opt.jslint_happy) {\n\t\t // switch cases following one another\n\t\t deindent();\n\t\t flags.case_body = false;\n\t\t }\n\t\t print_token();\n\t\t flags.in_case = true;\n\t\t flags.in_case_statement = true;\n\t\t return;\n\t\t }\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'function') {\n\t\t if (in_array(flags.last_text, ['}', ';']) || (output.just_added_newline() && !in_array(flags.last_text, ['[', '{', ':', '=', ',']))) {\n\t\t // make sure there is a nice clean space of at least one blank line\n\t\t // before a new function definition\n\t\t if (!output.just_added_blankline() && !current_token.comments_before.length) {\n\t\t print_newline();\n\t\t print_newline(true);\n\t\t }\n\t\t }\n\t\t if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD') {\n\t\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set', 'new', 'return', 'export', 'async'])) {\n\t\t output.space_before_token = true;\n\t\t } else if (last_type === 'TK_RESERVED' && flags.last_text === 'default' && last_last_text === 'export') {\n\t\t output.space_before_token = true;\n\t\t } else {\n\t\t print_newline();\n\t\t }\n\t\t } else if (last_type === 'TK_OPERATOR' || flags.last_text === '=') {\n\t\t // foo = function\n\t\t output.space_before_token = true;\n\t\t } else if (!flags.multiline_frame && (is_expression(flags.mode) || is_array(flags.mode))) {\n\t\t // (function\n\t\t } else {\n\t\t print_newline();\n\t\t }\n\t\t }\n\t\t\n\t\t if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t\t if (!start_of_object_property()) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t }\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['function', 'get', 'set'])) {\n\t\t print_token();\n\t\t flags.last_word = current_token.text;\n\t\t return;\n\t\t }\n\t\t\n\t\t prefix = 'NONE';\n\t\t\n\t\t if (last_type === 'TK_END_BLOCK') {\n\t\t\n\t\t if (!(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally', 'from']))) {\n\t\t prefix = 'NEWLINE';\n\t\t } else {\n\t\t if (opt.brace_style === \"expand\" ||\n\t\t opt.brace_style === \"end-expand\" ||\n\t\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t\t prefix = 'NEWLINE';\n\t\t } else {\n\t\t prefix = 'SPACE';\n\t\t output.space_before_token = true;\n\t\t }\n\t\t }\n\t\t } else if (last_type === 'TK_SEMICOLON' && flags.mode === MODE.BlockStatement) {\n\t\t // TODO: Should this be for STATEMENT as well?\n\t\t prefix = 'NEWLINE';\n\t\t } else if (last_type === 'TK_SEMICOLON' && is_expression(flags.mode)) {\n\t\t prefix = 'SPACE';\n\t\t } else if (last_type === 'TK_STRING') {\n\t\t prefix = 'NEWLINE';\n\t\t } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' ||\n\t\t (flags.last_text === '*' &&\n\t\t (in_array(last_last_text, ['function', 'yield']) ||\n\t\t (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n\t\t prefix = 'SPACE';\n\t\t } else if (last_type === 'TK_START_BLOCK') {\n\t\t if (flags.inline_frame) {\n\t\t prefix = 'SPACE';\n\t\t } else {\n\t\t prefix = 'NEWLINE';\n\t\t }\n\t\t } else if (last_type === 'TK_END_EXPR') {\n\t\t output.space_before_token = true;\n\t\t prefix = 'NEWLINE';\n\t\t }\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n\t\t if (flags.inline_frame || flags.last_text === 'else' || flags.last_text === 'export') {\n\t\t prefix = 'SPACE';\n\t\t } else {\n\t\t prefix = 'NEWLINE';\n\t\t }\n\t\t\n\t\t }\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally'])) {\n\t\t if (!(last_type === 'TK_END_BLOCK' && previous_flags.mode === MODE.BlockStatement) ||\n\t\t opt.brace_style === \"expand\" ||\n\t\t opt.brace_style === \"end-expand\" ||\n\t\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t\t print_newline();\n\t\t } else {\n\t\t output.trim(true);\n\t\t var line = output.current_line;\n\t\t // If we trimmed and there's something other than a close block before us\n\t\t // put a newline back in. Handles '} // comment' scenario.\n\t\t if (line.last() !== '}') {\n\t\t print_newline();\n\t\t }\n\t\t output.space_before_token = true;\n\t\t }\n\t\t } else if (prefix === 'NEWLINE') {\n\t\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t\t // no newline between 'return nnn'\n\t\t output.space_before_token = true;\n\t\t } else if (last_type !== 'TK_END_EXPR') {\n\t\t if ((last_type !== 'TK_START_EXPR' || !(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['var', 'let', 'const']))) && flags.last_text !== ':') {\n\t\t // no need to force newline on 'var': for (var x = 0...)\n\t\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'if' && flags.last_text === 'else') {\n\t\t // no newline for } else if {\n\t\t output.space_before_token = true;\n\t\t } else {\n\t\t print_newline();\n\t\t }\n\t\t }\n\t\t } else if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n\t\t print_newline();\n\t\t }\n\t\t } else if (flags.multiline_frame && is_array(flags.mode) && flags.last_text === ',' && last_last_text === '}') {\n\t\t print_newline(); // }, in lists get a newline treatment\n\t\t } else if (prefix === 'SPACE') {\n\t\t output.space_before_token = true;\n\t\t }\n\t\t print_token();\n\t\t flags.last_word = current_token.text;\n\t\t\n\t\t if (current_token.type === 'TK_RESERVED') {\n\t\t if (current_token.text === 'do') {\n\t\t flags.do_block = true;\n\t\t } else if (current_token.text === 'if') {\n\t\t flags.if_block = true;\n\t\t } else if (current_token.text === 'import') {\n\t\t flags.import_block = true;\n\t\t } else if (flags.import_block && current_token.type === 'TK_RESERVED' && current_token.text === 'from') {\n\t\t flags.import_block = false;\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t function handle_semicolon() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t // Semicolon can be the start (and end) of a statement\n\t\t output.space_before_token = false;\n\t\t }\n\t\t while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n\t\t restore_mode();\n\t\t }\n\t\t\n\t\t // hacky but effective for the moment\n\t\t if (flags.import_block) {\n\t\t flags.import_block = false;\n\t\t }\n\t\t print_token();\n\t\t }\n\t\t\n\t\t function handle_string() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t // One difference - strings want at least a space before\n\t\t output.space_before_token = true;\n\t\t } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' || flags.inline_frame) {\n\t\t output.space_before_token = true;\n\t\t } else if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t\t if (!start_of_object_property()) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t } else {\n\t\t print_newline();\n\t\t }\n\t\t print_token();\n\t\t }\n\t\t\n\t\t function handle_equals() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t }\n\t\t\n\t\t if (flags.declaration_statement) {\n\t\t // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done\n\t\t flags.declaration_assignment = true;\n\t\t }\n\t\t output.space_before_token = true;\n\t\t print_token();\n\t\t output.space_before_token = true;\n\t\t }\n\t\t\n\t\t function handle_comma() {\n\t\t print_token();\n\t\t output.space_before_token = true;\n\t\t if (flags.declaration_statement) {\n\t\t if (is_expression(flags.parent.mode)) {\n\t\t // do not break on comma, for(var a = 1, b = 2)\n\t\t flags.declaration_assignment = false;\n\t\t }\n\t\t\n\t\t if (flags.declaration_assignment) {\n\t\t flags.declaration_assignment = false;\n\t\t print_newline(false, true);\n\t\t } else if (opt.comma_first) {\n\t\t // for comma-first, we want to allow a newline before the comma\n\t\t // to turn into a newline after the comma, which we will fixup later\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t } else if (flags.mode === MODE.ObjectLiteral ||\n\t\t (flags.mode === MODE.Statement && flags.parent.mode === MODE.ObjectLiteral)) {\n\t\t if (flags.mode === MODE.Statement) {\n\t\t restore_mode();\n\t\t }\n\t\t\n\t\t if (!flags.inline_frame) {\n\t\t print_newline();\n\t\t }\n\t\t } else if (opt.comma_first) {\n\t\t // EXPR or DO_BLOCK\n\t\t // for comma-first, we want to allow a newline before the comma\n\t\t // to turn into a newline after the comma, which we will fixup later\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t }\n\t\t\n\t\t function handle_operator() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t }\n\t\t\n\t\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t\t // \"return\" had a special handling in TK_WORD. Now we need to return the favor\n\t\t output.space_before_token = true;\n\t\t print_token();\n\t\t return;\n\t\t }\n\t\t\n\t\t // hack for actionscript's import .*;\n\t\t if (current_token.text === '*' && last_type === 'TK_DOT') {\n\t\t print_token();\n\t\t return;\n\t\t }\n\t\t\n\t\t if (current_token.text === '::') {\n\t\t // no spaces around exotic namespacing syntax operator\n\t\t print_token();\n\t\t return;\n\t\t }\n\t\t\n\t\t // Allow line wrapping between operators when operator_position is\n\t\t // set to before or preserve\n\t\t if (last_type === 'TK_OPERATOR' && in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t\n\t\t if (current_token.text === ':' && flags.in_case) {\n\t\t flags.case_body = true;\n\t\t indent();\n\t\t print_token();\n\t\t print_newline();\n\t\t flags.in_case = false;\n\t\t return;\n\t\t }\n\t\t\n\t\t var space_before = true;\n\t\t var space_after = true;\n\t\t var in_ternary = false;\n\t\t var isGeneratorAsterisk = current_token.text === '*' &&\n\t\t ((last_type === 'TK_RESERVED' && in_array(flags.last_text, ['function', 'yield'])) ||\n\t\t (flags.mode === MODE.ObjectLiteral && in_array(last_type, ['TK_START_BLOCK', 'TK_COMMA'])));\n\t\t var isUnary = in_array(current_token.text, ['-', '+']) && (\n\t\t in_array(last_type, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']) ||\n\t\t in_array(flags.last_text, Tokenizer.line_starters) ||\n\t\t flags.last_text === ','\n\t\t );\n\t\t\n\t\t if (current_token.text === ':') {\n\t\t if (flags.ternary_depth === 0) {\n\t\t // Colon is invalid javascript outside of ternary and object, but do our best to guess what was meant.\n\t\t space_before = false;\n\t\t } else {\n\t\t flags.ternary_depth -= 1;\n\t\t in_ternary = true;\n\t\t }\n\t\t } else if (current_token.text === '?') {\n\t\t flags.ternary_depth += 1;\n\t\t }\n\t\t\n\t\t // let's handle the operator_position option prior to any conflicting logic\n\t\t if (!isUnary && !isGeneratorAsterisk && opt.preserve_newlines && in_array(current_token.text, Tokenizer.positionable_operators)) {\n\t\t var isColon = current_token.text === ':';\n\t\t var isTernaryColon = (isColon && in_ternary);\n\t\t var isOtherColon = (isColon && !in_ternary);\n\t\t\n\t\t switch (opt.operator_position) {\n\t\t case OPERATOR_POSITION.before_newline:\n\t\t // if the current token is : and it's not a ternary statement then we set space_before to false\n\t\t output.space_before_token = !isOtherColon;\n\t\t\n\t\t print_token();\n\t\t\n\t\t if (!isColon || isTernaryColon) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t\n\t\t output.space_before_token = true;\n\t\t return;\n\t\t\n\t\t case OPERATOR_POSITION.after_newline:\n\t\t // if the current token is anything but colon, or (via deduction) it's a colon and in a ternary statement,\n\t\t // then print a newline.\n\t\t\n\t\t output.space_before_token = true;\n\t\t\n\t\t if (!isColon || isTernaryColon) {\n\t\t if (get_token(1).wanted_newline) {\n\t\t print_newline(false, true);\n\t\t } else {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t } else {\n\t\t output.space_before_token = false;\n\t\t }\n\t\t\n\t\t print_token();\n\t\t\n\t\t output.space_before_token = true;\n\t\t return;\n\t\t\n\t\t case OPERATOR_POSITION.preserve_newline:\n\t\t if (!isOtherColon) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t }\n\t\t\n\t\t // if we just added a newline, or the current token is : and it's not a ternary statement,\n\t\t // then we set space_before to false\n\t\t space_before = !(output.just_added_newline() || isOtherColon);\n\t\t\n\t\t output.space_before_token = space_before;\n\t\t print_token();\n\t\t output.space_before_token = true;\n\t\t return;\n\t\t }\n\t\t }\n\t\t\n\t\t if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n\t\t // unary operators (and binary +/- pretending to be unary) special cases\n\t\t\n\t\t space_before = false;\n\t\t space_after = false;\n\t\t\n\t\t // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9.1\n\t\t // if there is a newline between -- or ++ and anything else we should preserve it.\n\t\t if (current_token.wanted_newline && (current_token.text === '--' || current_token.text === '++')) {\n\t\t print_newline(false, true);\n\t\t }\n\t\t\n\t\t if (flags.last_text === ';' && is_expression(flags.mode)) {\n\t\t // for (;; ++i)\n\t\t // ^^^\n\t\t space_before = true;\n\t\t }\n\t\t\n\t\t if (last_type === 'TK_RESERVED') {\n\t\t space_before = true;\n\t\t } else if (last_type === 'TK_END_EXPR') {\n\t\t space_before = !(flags.last_text === ']' && (current_token.text === '--' || current_token.text === '++'));\n\t\t } else if (last_type === 'TK_OPERATOR') {\n\t\t // a++ + ++b;\n\t\t // a - -b\n\t\t space_before = in_array(current_token.text, ['--', '-', '++', '+']) && in_array(flags.last_text, ['--', '-', '++', '+']);\n\t\t // + and - are not unary when preceeded by -- or ++ operator\n\t\t // a-- + b\n\t\t // a * +b\n\t\t // a - -b\n\t\t if (in_array(current_token.text, ['+', '-']) && in_array(flags.last_text, ['--', '++'])) {\n\t\t space_after = true;\n\t\t }\n\t\t }\n\t\t\n\t\t\n\t\t if (((flags.mode === MODE.BlockStatement && !flags.inline_frame) || flags.mode === MODE.Statement) &&\n\t\t (flags.last_text === '{' || flags.last_text === ';')) {\n\t\t // { foo; --i }\n\t\t // foo(); --bar;\n\t\t print_newline();\n\t\t }\n\t\t } else if (isGeneratorAsterisk) {\n\t\t allow_wrap_or_preserved_newline();\n\t\t space_before = false;\n\t\t space_after = false;\n\t\t }\n\t\t output.space_before_token = output.space_before_token || space_before;\n\t\t print_token();\n\t\t output.space_before_token = space_after;\n\t\t }\n\t\t\n\t\t function handle_block_comment() {\n\t\t if (output.raw) {\n\t\t output.add_raw_token(current_token);\n\t\t if (current_token.directives && current_token.directives.preserve === 'end') {\n\t\t // If we're testing the raw output behavior, do not allow a directive to turn it off.\n\t\t output.raw = opt.test_output_raw;\n\t\t }\n\t\t return;\n\t\t }\n\t\t\n\t\t if (current_token.directives) {\n\t\t print_newline(false, true);\n\t\t print_token();\n\t\t if (current_token.directives.preserve === 'start') {\n\t\t output.raw = true;\n\t\t }\n\t\t print_newline(false, true);\n\t\t return;\n\t\t }\n\t\t\n\t\t // inline block\n\t\t if (!acorn.newline.test(current_token.text) && !current_token.wanted_newline) {\n\t\t output.space_before_token = true;\n\t\t print_token();\n\t\t output.space_before_token = true;\n\t\t return;\n\t\t }\n\t\t\n\t\t var lines = split_linebreaks(current_token.text);\n\t\t var j; // iterator for this case\n\t\t var javadoc = false;\n\t\t var starless = false;\n\t\t var lastIndent = current_token.whitespace_before;\n\t\t var lastIndentLength = lastIndent.length;\n\t\t\n\t\t // block comment starts with a new line\n\t\t print_newline(false, true);\n\t\t if (lines.length > 1) {\n\t\t javadoc = all_lines_start_with(lines.slice(1), '*');\n\t\t starless = each_line_matches_indent(lines.slice(1), lastIndent);\n\t\t }\n\t\t\n\t\t // first line always indented\n\t\t print_token(lines[0]);\n\t\t for (j = 1; j < lines.length; j++) {\n\t\t print_newline(false, true);\n\t\t if (javadoc) {\n\t\t // javadoc: reformat and re-indent\n\t\t print_token(' ' + ltrim(lines[j]));\n\t\t } else if (starless && lines[j].length > lastIndentLength) {\n\t\t // starless: re-indent non-empty content, avoiding trim\n\t\t print_token(lines[j].substring(lastIndentLength));\n\t\t } else {\n\t\t // normal comments output raw\n\t\t output.add_token(lines[j]);\n\t\t }\n\t\t }\n\t\t\n\t\t // for comments of more than one line, make sure there's a new line after\n\t\t print_newline(false, true);\n\t\t }\n\t\t\n\t\t function handle_comment() {\n\t\t if (current_token.wanted_newline) {\n\t\t print_newline(false, true);\n\t\t } else {\n\t\t output.trim(true);\n\t\t }\n\t\t\n\t\t output.space_before_token = true;\n\t\t print_token();\n\t\t print_newline(false, true);\n\t\t }\n\t\t\n\t\t function handle_dot() {\n\t\t if (start_of_statement()) {\n\t\t // The conditional starts the statement if appropriate.\n\t\t }\n\t\t\n\t\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t\t output.space_before_token = true;\n\t\t } else {\n\t\t // allow preserved newlines before dots in general\n\t\t // force newlines on dots after close paren when break_chained - for bar().baz()\n\t\t allow_wrap_or_preserved_newline(flags.last_text === ')' && opt.break_chained_methods);\n\t\t }\n\t\t\n\t\t print_token();\n\t\t }\n\t\t\n\t\t function handle_unknown() {\n\t\t print_token();\n\t\t\n\t\t if (current_token.text[current_token.text.length - 1] === '\\n') {\n\t\t print_newline();\n\t\t }\n\t\t }\n\t\t\n\t\t function handle_eof() {\n\t\t // Unwind any open statements\n\t\t while (flags.mode === MODE.Statement) {\n\t\t restore_mode();\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t\n\t\t function OutputLine(parent) {\n\t\t var _character_count = 0;\n\t\t // use indent_count as a marker for lines that have preserved indentation\n\t\t var _indent_count = -1;\n\t\t\n\t\t var _items = [];\n\t\t var _empty = true;\n\t\t\n\t\t this.set_indent = function(level) {\n\t\t _character_count = parent.baseIndentLength + level * parent.indent_length;\n\t\t _indent_count = level;\n\t\t };\n\t\t\n\t\t this.get_character_count = function() {\n\t\t return _character_count;\n\t\t };\n\t\t\n\t\t this.is_empty = function() {\n\t\t return _empty;\n\t\t };\n\t\t\n\t\t this.last = function() {\n\t\t if (!this._empty) {\n\t\t return _items[_items.length - 1];\n\t\t } else {\n\t\t return null;\n\t\t }\n\t\t };\n\t\t\n\t\t this.push = function(input) {\n\t\t _items.push(input);\n\t\t _character_count += input.length;\n\t\t _empty = false;\n\t\t };\n\t\t\n\t\t this.pop = function() {\n\t\t var item = null;\n\t\t if (!_empty) {\n\t\t item = _items.pop();\n\t\t _character_count -= item.length;\n\t\t _empty = _items.length === 0;\n\t\t }\n\t\t return item;\n\t\t };\n\t\t\n\t\t this.remove_indent = function() {\n\t\t if (_indent_count > 0) {\n\t\t _indent_count -= 1;\n\t\t _character_count -= parent.indent_length;\n\t\t }\n\t\t };\n\t\t\n\t\t this.trim = function() {\n\t\t while (this.last() === ' ') {\n\t\t _items.pop();\n\t\t _character_count -= 1;\n\t\t }\n\t\t _empty = _items.length === 0;\n\t\t };\n\t\t\n\t\t this.toString = function() {\n\t\t var result = '';\n\t\t if (!this._empty) {\n\t\t if (_indent_count >= 0) {\n\t\t result = parent.indent_cache[_indent_count];\n\t\t }\n\t\t result += _items.join('');\n\t\t }\n\t\t return result;\n\t\t };\n\t\t }\n\t\t\n\t\t function Output(indent_string, baseIndentString) {\n\t\t baseIndentString = baseIndentString || '';\n\t\t this.indent_cache = [baseIndentString];\n\t\t this.baseIndentLength = baseIndentString.length;\n\t\t this.indent_length = indent_string.length;\n\t\t this.raw = false;\n\t\t\n\t\t var lines = [];\n\t\t this.baseIndentString = baseIndentString;\n\t\t this.indent_string = indent_string;\n\t\t this.previous_line = null;\n\t\t this.current_line = null;\n\t\t this.space_before_token = false;\n\t\t\n\t\t this.add_outputline = function() {\n\t\t this.previous_line = this.current_line;\n\t\t this.current_line = new OutputLine(this);\n\t\t lines.push(this.current_line);\n\t\t };\n\t\t\n\t\t // initialize\n\t\t this.add_outputline();\n\t\t\n\t\t\n\t\t this.get_line_number = function() {\n\t\t return lines.length;\n\t\t };\n\t\t\n\t\t // Using object instead of string to allow for later expansion of info about each line\n\t\t this.add_new_line = function(force_newline) {\n\t\t if (this.get_line_number() === 1 && this.just_added_newline()) {\n\t\t return false; // no newline on start of file\n\t\t }\n\t\t\n\t\t if (force_newline || !this.just_added_newline()) {\n\t\t if (!this.raw) {\n\t\t this.add_outputline();\n\t\t }\n\t\t return true;\n\t\t }\n\t\t\n\t\t return false;\n\t\t };\n\t\t\n\t\t this.get_code = function() {\n\t\t var sweet_code = lines.join('\\n').replace(/[\\r\\n\\t ]+$/, '');\n\t\t return sweet_code;\n\t\t };\n\t\t\n\t\t this.set_indent = function(level) {\n\t\t // Never indent your first output indent at the start of the file\n\t\t if (lines.length > 1) {\n\t\t while (level >= this.indent_cache.length) {\n\t\t this.indent_cache.push(this.indent_cache[this.indent_cache.length - 1] + this.indent_string);\n\t\t }\n\t\t\n\t\t this.current_line.set_indent(level);\n\t\t return true;\n\t\t }\n\t\t this.current_line.set_indent(0);\n\t\t return false;\n\t\t };\n\t\t\n\t\t this.add_raw_token = function(token) {\n\t\t for (var x = 0; x < token.newlines; x++) {\n\t\t this.add_outputline();\n\t\t }\n\t\t this.current_line.push(token.whitespace_before);\n\t\t this.current_line.push(token.text);\n\t\t this.space_before_token = false;\n\t\t };\n\t\t\n\t\t this.add_token = function(printable_token) {\n\t\t this.add_space_before_token();\n\t\t this.current_line.push(printable_token);\n\t\t };\n\t\t\n\t\t this.add_space_before_token = function() {\n\t\t if (this.space_before_token && !this.just_added_newline()) {\n\t\t this.current_line.push(' ');\n\t\t }\n\t\t this.space_before_token = false;\n\t\t };\n\t\t\n\t\t this.remove_redundant_indentation = function(frame) {\n\t\t // This implementation is effective but has some issues:\n\t\t // - can cause line wrap to happen too soon due to indent removal\n\t\t // after wrap points are calculated\n\t\t // These issues are minor compared to ugly indentation.\n\t\t\n\t\t if (frame.multiline_frame ||\n\t\t frame.mode === MODE.ForInitializer ||\n\t\t frame.mode === MODE.Conditional) {\n\t\t return;\n\t\t }\n\t\t\n\t\t // remove one indent from each line inside this section\n\t\t var index = frame.start_line_index;\n\t\t\n\t\t var output_length = lines.length;\n\t\t while (index < output_length) {\n\t\t lines[index].remove_indent();\n\t\t index++;\n\t\t }\n\t\t };\n\t\t\n\t\t this.trim = function(eat_newlines) {\n\t\t eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;\n\t\t\n\t\t this.current_line.trim(indent_string, baseIndentString);\n\t\t\n\t\t while (eat_newlines && lines.length > 1 &&\n\t\t this.current_line.is_empty()) {\n\t\t lines.pop();\n\t\t this.current_line = lines[lines.length - 1];\n\t\t this.current_line.trim();\n\t\t }\n\t\t\n\t\t this.previous_line = lines.length > 1 ? lines[lines.length - 2] : null;\n\t\t };\n\t\t\n\t\t this.just_added_newline = function() {\n\t\t return this.current_line.is_empty();\n\t\t };\n\t\t\n\t\t this.just_added_blankline = function() {\n\t\t if (this.just_added_newline()) {\n\t\t if (lines.length === 1) {\n\t\t return true; // start of the file and newline = blank\n\t\t }\n\t\t\n\t\t var line = lines[lines.length - 2];\n\t\t return line.is_empty();\n\t\t }\n\t\t return false;\n\t\t };\n\t\t }\n\t\t\n\t\t var InputScanner = function(input) {\n\t\t var _input = input;\n\t\t var _input_length = _input.length;\n\t\t var _position = 0;\n\t\t\n\t\t this.back = function() {\n\t\t _position -= 1;\n\t\t };\n\t\t\n\t\t this.hasNext = function() {\n\t\t return _position < _input_length;\n\t\t };\n\t\t\n\t\t this.next = function() {\n\t\t var val = null;\n\t\t if (this.hasNext()) {\n\t\t val = _input.charAt(_position);\n\t\t _position += 1;\n\t\t }\n\t\t return val;\n\t\t };\n\t\t\n\t\t this.peek = function(index) {\n\t\t var val = null;\n\t\t index = index || 0;\n\t\t index += _position;\n\t\t if (index >= 0 && index < _input_length) {\n\t\t val = _input.charAt(index);\n\t\t }\n\t\t return val;\n\t\t };\n\t\t\n\t\t this.peekCharCode = function(index) {\n\t\t var val = 0;\n\t\t index = index || 0;\n\t\t index += _position;\n\t\t if (index >= 0 && index < _input_length) {\n\t\t val = _input.charCodeAt(index);\n\t\t }\n\t\t return val;\n\t\t };\n\t\t\n\t\t this.test = function(pattern, index) {\n\t\t index = index || 0;\n\t\t pattern.lastIndex = _position + index;\n\t\t return pattern.test(_input);\n\t\t };\n\t\t\n\t\t this.testChar = function(pattern, index) {\n\t\t var val = this.peek(index);\n\t\t return val !== null && pattern.test(val);\n\t\t };\n\t\t\n\t\t this.match = function(pattern) {\n\t\t pattern.lastIndex = _position;\n\t\t var pattern_match = pattern.exec(_input);\n\t\t if (pattern_match && pattern_match.index === _position) {\n\t\t _position += pattern_match[0].length;\n\t\t } else {\n\t\t pattern_match = null;\n\t\t }\n\t\t return pattern_match;\n\t\t };\n\t\t };\n\t\t\n\t\t var Token = function(type, text, newlines, whitespace_before, parent) {\n\t\t this.type = type;\n\t\t this.text = text;\n\t\t this.comments_before = [];\n\t\t this.newlines = newlines || 0;\n\t\t this.wanted_newline = newlines > 0;\n\t\t this.whitespace_before = whitespace_before || '';\n\t\t this.parent = parent || null;\n\t\t this.opened = null;\n\t\t this.directives = null;\n\t\t };\n\t\t\n\t\t function tokenizer(input_string, opts) {\n\t\t\n\t\t var whitespace = \"\\n\\r\\t \".split('');\n\t\t var digit = /[0-9]/;\n\t\t var digit_bin = /[01]/;\n\t\t var digit_oct = /[01234567]/;\n\t\t var digit_hex = /[0123456789abcdefABCDEF]/;\n\t\t\n\t\t this.positionable_operators = '!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||'.split(' ');\n\t\t var punct = this.positionable_operators.concat(\n\t\t // non-positionable operators - these do not follow operator position settings\n\t\t '! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~'.split(' '));\n\t\t\n\t\t // words which should always start on new line.\n\t\t this.line_starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split(',');\n\t\t var reserved_words = this.line_starters.concat(['do', 'in', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as']);\n\t\t\n\t\t // /* ... */ comment ends with nearest */ or end of file\n\t\t var block_comment_pattern = /([\\s\\S]*?)((?:\\*\\/)|$)/g;\n\t\t\n\t\t // comment ends just before nearest linefeed or end of file\n\t\t var comment_pattern = /([^\\n\\r\\u2028\\u2029]*)/g;\n\t\t\n\t\t var directives_block_pattern = /\\/\\* beautify( \\w+[:]\\w+)+ \\*\\//g;\n\t\t var directive_pattern = / (\\w+)[:](\\w+)/g;\n\t\t var directives_end_ignore_pattern = /([\\s\\S]*?)((?:\\/\\*\\sbeautify\\signore:end\\s\\*\\/)|$)/g;\n\t\t\n\t\t var template_pattern = /((<\\?php|<\\?=)[\\s\\S]*?\\?>)|(<%[\\s\\S]*?%>)/g;\n\t\t\n\t\t var n_newlines, whitespace_before_token, in_html_comment, tokens;\n\t\t var input;\n\t\t\n\t\t this.tokenize = function() {\n\t\t input = new InputScanner(input_string);\n\t\t in_html_comment = false;\n\t\t tokens = [];\n\t\t\n\t\t var next, last;\n\t\t var token_values;\n\t\t var open = null;\n\t\t var open_stack = [];\n\t\t var comments = [];\n\t\t\n\t\t while (!(last && last.type === 'TK_EOF')) {\n\t\t token_values = tokenize_next();\n\t\t next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n\t\t while (next.type === 'TK_COMMENT' || next.type === 'TK_BLOCK_COMMENT' || next.type === 'TK_UNKNOWN') {\n\t\t if (next.type === 'TK_BLOCK_COMMENT') {\n\t\t next.directives = token_values[2];\n\t\t }\n\t\t comments.push(next);\n\t\t token_values = tokenize_next();\n\t\t next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n\t\t }\n\t\t\n\t\t if (comments.length) {\n\t\t next.comments_before = comments;\n\t\t comments = [];\n\t\t }\n\t\t\n\t\t if (next.type === 'TK_START_BLOCK' || next.type === 'TK_START_EXPR') {\n\t\t next.parent = last;\n\t\t open_stack.push(open);\n\t\t open = next;\n\t\t } else if ((next.type === 'TK_END_BLOCK' || next.type === 'TK_END_EXPR') &&\n\t\t (open && (\n\t\t (next.text === ']' && open.text === '[') ||\n\t\t (next.text === ')' && open.text === '(') ||\n\t\t (next.text === '}' && open.text === '{')))) {\n\t\t next.parent = open.parent;\n\t\t next.opened = open;\n\t\t\n\t\t open = open_stack.pop();\n\t\t }\n\t\t\n\t\t tokens.push(next);\n\t\t last = next;\n\t\t }\n\t\t\n\t\t return tokens;\n\t\t };\n\t\t\n\t\t function get_directives(text) {\n\t\t if (!text.match(directives_block_pattern)) {\n\t\t return null;\n\t\t }\n\t\t\n\t\t var directives = {};\n\t\t directive_pattern.lastIndex = 0;\n\t\t var directive_match = directive_pattern.exec(text);\n\t\t\n\t\t while (directive_match) {\n\t\t directives[directive_match[1]] = directive_match[2];\n\t\t directive_match = directive_pattern.exec(text);\n\t\t }\n\t\t\n\t\t return directives;\n\t\t }\n\t\t\n\t\t function tokenize_next() {\n\t\t var resulting_string;\n\t\t var whitespace_on_this_line = [];\n\t\t\n\t\t n_newlines = 0;\n\t\t whitespace_before_token = '';\n\t\t\n\t\t var c = input.next();\n\t\t\n\t\t if (c === null) {\n\t\t return ['', 'TK_EOF'];\n\t\t }\n\t\t\n\t\t var last_token;\n\t\t if (tokens.length) {\n\t\t last_token = tokens[tokens.length - 1];\n\t\t } else {\n\t\t // For the sake of tokenizing we can pretend that there was on open brace to start\n\t\t last_token = new Token('TK_START_BLOCK', '{');\n\t\t }\n\t\t\n\t\t while (in_array(c, whitespace)) {\n\t\t\n\t\t if (acorn.newline.test(c)) {\n\t\t if (!(c === '\\n' && input.peek(-2) === '\\r')) {\n\t\t n_newlines += 1;\n\t\t whitespace_on_this_line = [];\n\t\t }\n\t\t } else {\n\t\t whitespace_on_this_line.push(c);\n\t\t }\n\t\t\n\t\t c = input.next();\n\t\t\n\t\t if (c === null) {\n\t\t return ['', 'TK_EOF'];\n\t\t }\n\t\t }\n\t\t\n\t\t if (whitespace_on_this_line.length) {\n\t\t whitespace_before_token = whitespace_on_this_line.join('');\n\t\t }\n\t\t\n\t\t if (digit.test(c) || (c === '.' && input.testChar(digit))) {\n\t\t var allow_decimal = true;\n\t\t var allow_e = true;\n\t\t var local_digit = digit;\n\t\t\n\t\t if (c === '0' && input.testChar(/[XxOoBb]/)) {\n\t\t // switch to hex/oct/bin number, no decimal or e, just hex/oct/bin digits\n\t\t allow_decimal = false;\n\t\t allow_e = false;\n\t\t if (input.testChar(/[Bb]/)) {\n\t\t local_digit = digit_bin;\n\t\t } else if (input.testChar(/[Oo]/)) {\n\t\t local_digit = digit_oct;\n\t\t } else {\n\t\t local_digit = digit_hex;\n\t\t }\n\t\t c += input.next();\n\t\t } else if (c === '.') {\n\t\t // Already have a decimal for this literal, don't allow another\n\t\t allow_decimal = false;\n\t\t } else {\n\t\t // we know this first loop will run. It keeps the logic simpler.\n\t\t c = '';\n\t\t input.back();\n\t\t }\n\t\t\n\t\t // Add the digits\n\t\t while (input.testChar(local_digit)) {\n\t\t c += input.next();\n\t\t\n\t\t if (allow_decimal && input.peek() === '.') {\n\t\t c += input.next();\n\t\t allow_decimal = false;\n\t\t } else if (allow_e && input.testChar(/[Ee]/)) {\n\t\t c += input.next();\n\t\t\n\t\t if (input.testChar(/[+-]/)) {\n\t\t c += input.next();\n\t\t }\n\t\t\n\t\t allow_e = false;\n\t\t allow_decimal = false;\n\t\t }\n\t\t }\n\t\t\n\t\t return [c, 'TK_WORD'];\n\t\t }\n\t\t\n\t\t if (acorn.isIdentifierStart(input.peekCharCode(-1))) {\n\t\t if (input.hasNext()) {\n\t\t while (acorn.isIdentifierChar(input.peekCharCode())) {\n\t\t c += input.next();\n\t\t if (!input.hasNext()) {\n\t\t break;\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t if (!(last_token.type === 'TK_DOT' ||\n\t\t (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['set', 'get']))) &&\n\t\t in_array(c, reserved_words)) {\n\t\t if (c === 'in') { // hack for 'in' operator\n\t\t return [c, 'TK_OPERATOR'];\n\t\t }\n\t\t return [c, 'TK_RESERVED'];\n\t\t }\n\t\t\n\t\t return [c, 'TK_WORD'];\n\t\t }\n\t\t\n\t\t if (c === '(' || c === '[') {\n\t\t return [c, 'TK_START_EXPR'];\n\t\t }\n\t\t\n\t\t if (c === ')' || c === ']') {\n\t\t return [c, 'TK_END_EXPR'];\n\t\t }\n\t\t\n\t\t if (c === '{') {\n\t\t return [c, 'TK_START_BLOCK'];\n\t\t }\n\t\t\n\t\t if (c === '}') {\n\t\t return [c, 'TK_END_BLOCK'];\n\t\t }\n\t\t\n\t\t if (c === ';') {\n\t\t return [c, 'TK_SEMICOLON'];\n\t\t }\n\t\t\n\t\t if (c === '/') {\n\t\t var comment = '';\n\t\t var comment_match;\n\t\t // peek for comment /* ... */\n\t\t if (input.peek() === '*') {\n\t\t input.next();\n\t\t comment_match = input.match(block_comment_pattern);\n\t\t comment = '/*' + comment_match[0];\n\t\t var directives = get_directives(comment);\n\t\t if (directives && directives.ignore === 'start') {\n\t\t comment_match = input.match(directives_end_ignore_pattern);\n\t\t comment += comment_match[0];\n\t\t }\n\t\t comment = comment.replace(acorn.allLineBreaks, '\\n');\n\t\t return [comment, 'TK_BLOCK_COMMENT', directives];\n\t\t }\n\t\t // peek for comment // ...\n\t\t if (input.peek() === '/') {\n\t\t input.next();\n\t\t comment_match = input.match(comment_pattern);\n\t\t comment = '//' + comment_match[0];\n\t\t return [comment, 'TK_COMMENT'];\n\t\t }\n\t\t\n\t\t }\n\t\t\n\t\t var startXmlRegExp = /<()([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n\t\t\n\t\t if (c === '`' || c === \"'\" || c === '\"' || // string\n\t\t (\n\t\t (c === '/') || // regexp\n\t\t (opts.e4x && c === \"<\" && input.test(startXmlRegExp, -1)) // xml\n\t\t ) && ( // regex and xml can only appear in specific locations during parsing\n\t\t (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n\t\t (last_token.type === 'TK_END_EXPR' && last_token.text === ')' &&\n\t\t last_token.parent && last_token.parent.type === 'TK_RESERVED' && in_array(last_token.parent.text, ['if', 'while', 'for'])) ||\n\t\t (in_array(last_token.type, ['TK_COMMENT', 'TK_START_EXPR', 'TK_START_BLOCK',\n\t\t 'TK_END_BLOCK', 'TK_OPERATOR', 'TK_EQUALS', 'TK_EOF', 'TK_SEMICOLON', 'TK_COMMA'\n\t\t ]))\n\t\t )) {\n\t\t\n\t\t var sep = c,\n\t\t esc = false,\n\t\t has_char_escapes = false;\n\t\t\n\t\t resulting_string = c;\n\t\t\n\t\t if (sep === '/') {\n\t\t //\n\t\t // handle regexp\n\t\t //\n\t\t var in_char_class = false;\n\t\t while (input.hasNext() &&\n\t\t ((esc || in_char_class || input.peek() !== sep) &&\n\t\t !input.testChar(acorn.newline))) {\n\t\t resulting_string += input.peek();\n\t\t if (!esc) {\n\t\t esc = input.peek() === '\\\\';\n\t\t if (input.peek() === '[') {\n\t\t in_char_class = true;\n\t\t } else if (input.peek() === ']') {\n\t\t in_char_class = false;\n\t\t }\n\t\t } else {\n\t\t esc = false;\n\t\t }\n\t\t input.next();\n\t\t }\n\t\t } else if (opts.e4x && sep === '<') {\n\t\t //\n\t\t // handle e4x xml literals\n\t\t //\n\t\t\n\t\t var xmlRegExp = /[\\s\\S]*?<(\\/?)([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n\t\t input.back();\n\t\t var xmlStr = '';\n\t\t var match = input.match(startXmlRegExp);\n\t\t if (match) {\n\t\t // Trim root tag to attempt to\n\t\t var rootTag = match[2].replace(/^{\\s+/, '{').replace(/\\s+}$/, '}');\n\t\t var isCurlyRoot = rootTag.indexOf('{') === 0;\n\t\t var depth = 0;\n\t\t while (match) {\n\t\t var isEndTag = !!match[1];\n\t\t var tagName = match[2];\n\t\t var isSingletonTag = (!!match[match.length - 1]) || (tagName.slice(0, 8) === \"![CDATA[\");\n\t\t if (!isSingletonTag &&\n\t\t (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').replace(/\\s+}$/, '}')))) {\n\t\t if (isEndTag) {\n\t\t --depth;\n\t\t } else {\n\t\t ++depth;\n\t\t }\n\t\t }\n\t\t xmlStr += match[0];\n\t\t if (depth <= 0) {\n\t\t break;\n\t\t }\n\t\t match = input.match(xmlRegExp);\n\t\t }\n\t\t // if we didn't close correctly, keep unformatted.\n\t\t if (!match) {\n\t\t xmlStr += input.match(/[\\s\\S]*/g)[0];\n\t\t }\n\t\t xmlStr = xmlStr.replace(acorn.allLineBreaks, '\\n');\n\t\t return [xmlStr, \"TK_STRING\"];\n\t\t }\n\t\t } else {\n\t\t //\n\t\t // handle string\n\t\t //\n\t\t var parse_string = function(delimiter, allow_unescaped_newlines, start_sub) {\n\t\t // Template strings can travers lines without escape characters.\n\t\t // Other strings cannot\n\t\t var current_char;\n\t\t while (input.hasNext()) {\n\t\t current_char = input.peek();\n\t\t if (!(esc || (current_char !== delimiter &&\n\t\t (allow_unescaped_newlines || !acorn.newline.test(current_char))))) {\n\t\t break;\n\t\t }\n\t\t\n\t\t // Handle \\r\\n linebreaks after escapes or in template strings\n\t\t if ((esc || allow_unescaped_newlines) && acorn.newline.test(current_char)) {\n\t\t if (current_char === '\\r' && input.peek(1) === '\\n') {\n\t\t input.next();\n\t\t current_char = input.peek();\n\t\t }\n\t\t resulting_string += '\\n';\n\t\t } else {\n\t\t resulting_string += current_char;\n\t\t }\n\t\t\n\t\t if (esc) {\n\t\t if (current_char === 'x' || current_char === 'u') {\n\t\t has_char_escapes = true;\n\t\t }\n\t\t esc = false;\n\t\t } else {\n\t\t esc = current_char === '\\\\';\n\t\t }\n\t\t\n\t\t input.next();\n\t\t\n\t\t if (start_sub && resulting_string.indexOf(start_sub, resulting_string.length - start_sub.length) !== -1) {\n\t\t if (delimiter === '`') {\n\t\t parse_string('}', allow_unescaped_newlines, '`');\n\t\t } else {\n\t\t parse_string('`', allow_unescaped_newlines, '${');\n\t\t }\n\t\t }\n\t\t }\n\t\t };\n\t\t\n\t\t if (sep === '`') {\n\t\t parse_string('`', true, '${');\n\t\t } else {\n\t\t parse_string(sep);\n\t\t }\n\t\t }\n\t\t\n\t\t if (has_char_escapes && opts.unescape_strings) {\n\t\t resulting_string = unescape_string(resulting_string);\n\t\t }\n\t\t\n\t\t if (input.peek() === sep) {\n\t\t resulting_string += sep;\n\t\t input.next();\n\t\t\n\t\t if (sep === '/') {\n\t\t // regexps may have modifiers /regexp/MOD , so fetch those, too\n\t\t // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n\t\t while (input.hasNext() && acorn.isIdentifierStart(input.peekCharCode())) {\n\t\t resulting_string += input.next();\n\t\t }\n\t\t }\n\t\t }\n\t\t return [resulting_string, 'TK_STRING'];\n\t\t }\n\t\t\n\t\t if (c === '#') {\n\t\t\n\t\t if (tokens.length === 0 && input.peek() === '!') {\n\t\t // shebang\n\t\t resulting_string = c;\n\t\t while (input.hasNext() && c !== '\\n') {\n\t\t c = input.next();\n\t\t resulting_string += c;\n\t\t }\n\t\t return [trim(resulting_string) + '\\n', 'TK_UNKNOWN'];\n\t\t }\n\t\t\n\t\t\n\t\t\n\t\t // Spidermonkey-specific sharp variables for circular references\n\t\t // https://developer.mozilla.org/En/Sharp_variables_in_JavaScript\n\t\t // http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935\n\t\t var sharp = '#';\n\t\t if (input.hasNext() && input.testChar(digit)) {\n\t\t do {\n\t\t c = input.next();\n\t\t sharp += c;\n\t\t } while (input.hasNext() && c !== '#' && c !== '=');\n\t\t if (c === '#') {\n\t\t //\n\t\t } else if (input.peek() === '[' && input.peek(1) === ']') {\n\t\t sharp += '[]';\n\t\t input.next();\n\t\t input.next();\n\t\t } else if (input.peek() === '{' && input.peek(1) === '}') {\n\t\t sharp += '{}';\n\t\t input.next();\n\t\t input.next();\n\t\t }\n\t\t return [sharp, 'TK_WORD'];\n\t\t }\n\t\t }\n\t\t\n\t\t if (c === '<' && (input.peek() === '?' || input.peek() === '%')) {\n\t\t input.back();\n\t\t var template_match = input.match(template_pattern);\n\t\t if (template_match) {\n\t\t c = template_match[0];\n\t\t c = c.replace(acorn.allLineBreaks, '\\n');\n\t\t return [c, 'TK_STRING'];\n\t\t }\n\t\t }\n\t\t\n\t\t if (c === '<' && input.match(/\\!--/g)) {\n\t\t c = '<!--';\n\t\t while (input.hasNext() && !input.testChar(acorn.newline)) {\n\t\t c += input.next();\n\t\t }\n\t\t in_html_comment = true;\n\t\t return [c, 'TK_COMMENT'];\n\t\t }\n\t\t\n\t\t if (c === '-' && in_html_comment && input.match(/->/g)) {\n\t\t in_html_comment = false;\n\t\t return ['-->', 'TK_COMMENT'];\n\t\t }\n\t\t\n\t\t if (c === '.') {\n\t\t return [c, 'TK_DOT'];\n\t\t }\n\t\t\n\t\t if (in_array(c, punct)) {\n\t\t while (input.hasNext() && in_array(c + input.peek(), punct)) {\n\t\t c += input.next();\n\t\t if (!input.hasNext()) {\n\t\t break;\n\t\t }\n\t\t }\n\t\t\n\t\t if (c === ',') {\n\t\t return [c, 'TK_COMMA'];\n\t\t } else if (c === '=') {\n\t\t return [c, 'TK_EQUALS'];\n\t\t } else {\n\t\t return [c, 'TK_OPERATOR'];\n\t\t }\n\t\t }\n\t\t\n\t\t return [c, 'TK_UNKNOWN'];\n\t\t }\n\t\t\n\t\t\n\t\t function unescape_string(s) {\n\t\t // You think that a regex would work for this\n\t\t // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(match, val) {\n\t\t // return String.fromCharCode(parseInt(val, 16));\n\t\t // })\n\t\t // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this more fun.\n\t\t var out = '',\n\t\t escaped = 0;\n\t\t\n\t\t var input_scan = new InputScanner(s);\n\t\t var matched = null;\n\t\t\n\t\t while (input_scan.hasNext()) {\n\t\t // Keep any whitespace, non-slash characters\n\t\t // also keep slash pairs.\n\t\t matched = input_scan.match(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\t\t\n\t\t if (matched) {\n\t\t out += matched[0];\n\t\t }\n\t\t\n\t\t if (input_scan.peek() === '\\\\') {\n\t\t input_scan.next();\n\t\t if (input_scan.peek() === 'x') {\n\t\t matched = input_scan.match(/x([0-9A-Fa-f]{2})/g);\n\t\t } else if (input_scan.peek() === 'u') {\n\t\t matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n\t\t } else {\n\t\t out += '\\\\';\n\t\t if (input_scan.hasNext()) {\n\t\t out += input_scan.next();\n\t\t }\n\t\t continue;\n\t\t }\n\t\t\n\t\t // If there's some error decoding, return the original string\n\t\t if (!matched) {\n\t\t return s;\n\t\t }\n\t\t\n\t\t escaped = parseInt(matched[1], 16);\n\t\t\n\t\t if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {\n\t\t // we bail out on \\x7f..\\xff,\n\t\t // leaving whole string escaped,\n\t\t // as it's probably completely binary\n\t\t return s;\n\t\t } else if (escaped >= 0x00 && escaped < 0x20) {\n\t\t // leave 0x00...0x1f escaped\n\t\t out += '\\\\' + matched[0];\n\t\t continue;\n\t\t } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {\n\t\t // single-quote, apostrophe, backslash - escape these\n\t\t out += '\\\\' + String.fromCharCode(escaped);\n\t\t } else {\n\t\t out += String.fromCharCode(escaped);\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t return out;\n\t\t }\n\t\t }\n\t\t\n\t\t var beautifier = new Beautifier(js_source_text, options);\n\t\t return beautifier.beautify();\n\t\t\n\t\t }\n\t\t\n\t\t if (true) {\n\t\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t\t return { js_beautify: js_beautify };\n\t\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t } else if (typeof exports !== \"undefined\") {\n\t\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t\t // and you will be able to `var js_beautify = require(\"beautify\").js_beautify`.\n\t\t exports.js_beautify = js_beautify;\n\t\t } else if (typeof window !== \"undefined\") {\n\t\t // If we're running a web page and don't have either of the above, add our one global\n\t\t window.js_beautify = js_beautify;\n\t\t } else if (typeof global !== \"undefined\") {\n\t\t // If we don't even have window, try global.\n\t\t global.js_beautify = js_beautify;\n\t\t }\n\t\t\n\t\t}());\n\t\n\t/***/ },\n\t/* 11 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t\t/*\n\t\t\n\t\t The MIT License (MIT)\n\t\t\n\t\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\t\n\t\t Permission is hereby granted, free of charge, to any person\n\t\t obtaining a copy of this software and associated documentation files\n\t\t (the \"Software\"), to deal in the Software without restriction,\n\t\t including without limitation the rights to use, copy, modify, merge,\n\t\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t\t and to permit persons to whom the Software is furnished to do so,\n\t\t subject to the following conditions:\n\t\t\n\t\t The above copyright notice and this permission notice shall be\n\t\t included in all copies or substantial portions of the Software.\n\t\t\n\t\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\t SOFTWARE.\n\t\t\n\t\t\n\t\t CSS Beautifier\n\t\t---------------\n\t\t\n\t\t Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)\n\t\t\n\t\t Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>\n\t\t http://jsbeautifier.org/\n\t\t\n\t\t Usage:\n\t\t css_beautify(source_text);\n\t\t css_beautify(source_text, options);\n\t\t\n\t\t The options are (default in brackets):\n\t\t indent_size (4) — indentation size,\n\t\t indent_char (space) — character to indent with,\n\t\t selector_separator_newline (true) - separate selectors with newline or\n\t\t not (e.g. \"a,\\nbr\" or \"a, br\")\n\t\t end_with_newline (false) - end with a newline\n\t\t newline_between_rules (true) - add a new line after every css rule\n\t\t space_around_selector_separator (false) - ensure space around selector separators:\n\t\t '>', '+', '~' (e.g. \"a>b\" -> \"a > b\")\n\t\t e.g\n\t\t\n\t\t css_beautify(css_source_text, {\n\t\t 'indent_size': 1,\n\t\t 'indent_char': '\\t',\n\t\t 'selector_separator': ' ',\n\t\t 'end_with_newline': false,\n\t\t 'newline_between_rules': true,\n\t\t 'space_around_selector_separator': true\n\t\t });\n\t\t*/\n\t\t\n\t\t// http://www.w3.org/TR/CSS21/syndata.html#tokenization\n\t\t// http://www.w3.org/TR/css3-syntax/\n\t\t\n\t\t(function() {\n\t\t function css_beautify(source_text, options) {\n\t\t options = options || {};\n\t\t source_text = source_text || '';\n\t\t // HACK: newline parsing inconsistent. This brute force normalizes the input.\n\t\t source_text = source_text.replace(/\\r\\n|[\\r\\u2028\\u2029]/g, '\\n');\n\t\t\n\t\t var indentSize = options.indent_size || 4;\n\t\t var indentCharacter = options.indent_char || ' ';\n\t\t var selectorSeparatorNewline = (options.selector_separator_newline === undefined) ? true : options.selector_separator_newline;\n\t\t var end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t\t var newline_between_rules = (options.newline_between_rules === undefined) ? true : options.newline_between_rules;\n\t\t var space_around_combinator = (options.space_around_combinator === undefined) ? false : options.space_around_combinator;\n\t\t space_around_combinator = space_around_combinator || ((options.space_around_selector_separator === undefined) ? false : options.space_around_selector_separator);\n\t\t var eol = options.eol ? options.eol : '\\n';\n\t\t\n\t\t // compatibility\n\t\t if (typeof indentSize === \"string\") {\n\t\t indentSize = parseInt(indentSize, 10);\n\t\t }\n\t\t\n\t\t if (options.indent_with_tabs) {\n\t\t indentCharacter = '\\t';\n\t\t indentSize = 1;\n\t\t }\n\t\t\n\t\t eol = eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\t\n\t\t\n\t\t // tokenizer\n\t\t var whiteRe = /^\\s+$/;\n\t\t\n\t\t var pos = -1,\n\t\t ch;\n\t\t var parenLevel = 0;\n\t\t\n\t\t function next() {\n\t\t ch = source_text.charAt(++pos);\n\t\t return ch || '';\n\t\t }\n\t\t\n\t\t function peek(skipWhitespace) {\n\t\t var result = '';\n\t\t var prev_pos = pos;\n\t\t if (skipWhitespace) {\n\t\t eatWhitespace();\n\t\t }\n\t\t result = source_text.charAt(pos + 1) || '';\n\t\t pos = prev_pos - 1;\n\t\t next();\n\t\t return result;\n\t\t }\n\t\t\n\t\t function eatString(endChars) {\n\t\t var start = pos;\n\t\t while (next()) {\n\t\t if (ch === \"\\\\\") {\n\t\t next();\n\t\t } else if (endChars.indexOf(ch) !== -1) {\n\t\t break;\n\t\t } else if (ch === \"\\n\") {\n\t\t break;\n\t\t }\n\t\t }\n\t\t return source_text.substring(start, pos + 1);\n\t\t }\n\t\t\n\t\t function peekString(endChar) {\n\t\t var prev_pos = pos;\n\t\t var str = eatString(endChar);\n\t\t pos = prev_pos - 1;\n\t\t next();\n\t\t return str;\n\t\t }\n\t\t\n\t\t function eatWhitespace() {\n\t\t var result = '';\n\t\t while (whiteRe.test(peek())) {\n\t\t next();\n\t\t result += ch;\n\t\t }\n\t\t return result;\n\t\t }\n\t\t\n\t\t function skipWhitespace() {\n\t\t var result = '';\n\t\t if (ch && whiteRe.test(ch)) {\n\t\t result = ch;\n\t\t }\n\t\t while (whiteRe.test(next())) {\n\t\t result += ch;\n\t\t }\n\t\t return result;\n\t\t }\n\t\t\n\t\t function eatComment(singleLine) {\n\t\t var start = pos;\n\t\t singleLine = peek() === \"/\";\n\t\t next();\n\t\t while (next()) {\n\t\t if (!singleLine && ch === \"*\" && peek() === \"/\") {\n\t\t next();\n\t\t break;\n\t\t } else if (singleLine && ch === \"\\n\") {\n\t\t return source_text.substring(start, pos);\n\t\t }\n\t\t }\n\t\t\n\t\t return source_text.substring(start, pos) + ch;\n\t\t }\n\t\t\n\t\t\n\t\t function lookBack(str) {\n\t\t return source_text.substring(pos - str.length, pos).toLowerCase() ===\n\t\t str;\n\t\t }\n\t\t\n\t\t // Nested pseudo-class if we are insideRule\n\t\t // and the next special character found opens\n\t\t // a new block\n\t\t function foundNestedPseudoClass() {\n\t\t var openParen = 0;\n\t\t for (var i = pos + 1; i < source_text.length; i++) {\n\t\t var ch = source_text.charAt(i);\n\t\t if (ch === \"{\") {\n\t\t return true;\n\t\t } else if (ch === '(') {\n\t\t // pseudoclasses can contain ()\n\t\t openParen += 1;\n\t\t } else if (ch === ')') {\n\t\t if (openParen === 0) {\n\t\t return false;\n\t\t }\n\t\t openParen -= 1;\n\t\t } else if (ch === \";\" || ch === \"}\") {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return false;\n\t\t }\n\t\t\n\t\t // printer\n\t\t var basebaseIndentString = source_text.match(/^[\\t ]*/)[0];\n\t\t var singleIndent = new Array(indentSize + 1).join(indentCharacter);\n\t\t var indentLevel = 0;\n\t\t var nestedLevel = 0;\n\t\t\n\t\t function indent() {\n\t\t indentLevel++;\n\t\t basebaseIndentString += singleIndent;\n\t\t }\n\t\t\n\t\t function outdent() {\n\t\t indentLevel--;\n\t\t basebaseIndentString = basebaseIndentString.slice(0, -indentSize);\n\t\t }\n\t\t\n\t\t var print = {};\n\t\t print[\"{\"] = function(ch) {\n\t\t print.singleSpace();\n\t\t output.push(ch);\n\t\t print.newLine();\n\t\t };\n\t\t print[\"}\"] = function(ch) {\n\t\t print.newLine();\n\t\t output.push(ch);\n\t\t print.newLine();\n\t\t };\n\t\t\n\t\t print._lastCharWhitespace = function() {\n\t\t return whiteRe.test(output[output.length - 1]);\n\t\t };\n\t\t\n\t\t print.newLine = function(keepWhitespace) {\n\t\t if (output.length) {\n\t\t if (!keepWhitespace && output[output.length - 1] !== '\\n') {\n\t\t print.trim();\n\t\t }\n\t\t\n\t\t output.push('\\n');\n\t\t\n\t\t if (basebaseIndentString) {\n\t\t output.push(basebaseIndentString);\n\t\t }\n\t\t }\n\t\t };\n\t\t print.singleSpace = function() {\n\t\t if (output.length && !print._lastCharWhitespace()) {\n\t\t output.push(' ');\n\t\t }\n\t\t };\n\t\t\n\t\t print.preserveSingleSpace = function() {\n\t\t if (isAfterSpace) {\n\t\t print.singleSpace();\n\t\t }\n\t\t };\n\t\t\n\t\t print.trim = function() {\n\t\t while (print._lastCharWhitespace()) {\n\t\t output.pop();\n\t\t }\n\t\t };\n\t\t\n\t\t\n\t\t var output = [];\n\t\t /*_____________________--------------------_____________________*/\n\t\t\n\t\t var insideRule = false;\n\t\t var insidePropertyValue = false;\n\t\t var enteringConditionalGroup = false;\n\t\t var top_ch = '';\n\t\t var last_top_ch = '';\n\t\t\n\t\t while (true) {\n\t\t var whitespace = skipWhitespace();\n\t\t var isAfterSpace = whitespace !== '';\n\t\t var isAfterNewline = whitespace.indexOf('\\n') !== -1;\n\t\t last_top_ch = top_ch;\n\t\t top_ch = ch;\n\t\t\n\t\t if (!ch) {\n\t\t break;\n\t\t } else if (ch === '/' && peek() === '*') { /* css comment */\n\t\t var header = indentLevel === 0;\n\t\t\n\t\t if (isAfterNewline || header) {\n\t\t print.newLine();\n\t\t }\n\t\t\n\t\t output.push(eatComment());\n\t\t print.newLine();\n\t\t if (header) {\n\t\t print.newLine(true);\n\t\t }\n\t\t } else if (ch === '/' && peek() === '/') { // single line comment\n\t\t if (!isAfterNewline && last_top_ch !== '{') {\n\t\t print.trim();\n\t\t }\n\t\t print.singleSpace();\n\t\t output.push(eatComment());\n\t\t print.newLine();\n\t\t } else if (ch === '@') {\n\t\t print.preserveSingleSpace();\n\t\t\n\t\t // deal with less propery mixins @{...}\n\t\t if (peek() === '{') {\n\t\t output.push(eatString('}'));\n\t\t } else {\n\t\t output.push(ch);\n\t\t\n\t\t // strip trailing space, if present, for hash property checks\n\t\t var variableOrRule = peekString(\": ,;{}()[]/='\\\"\");\n\t\t\n\t\t if (variableOrRule.match(/[ :]$/)) {\n\t\t // we have a variable or pseudo-class, add it and insert one space before continuing\n\t\t next();\n\t\t variableOrRule = eatString(\": \").replace(/\\s$/, '');\n\t\t output.push(variableOrRule);\n\t\t print.singleSpace();\n\t\t }\n\t\t\n\t\t variableOrRule = variableOrRule.replace(/\\s$/, '');\n\t\t\n\t\t // might be a nesting at-rule\n\t\t if (variableOrRule in css_beautify.NESTED_AT_RULE) {\n\t\t nestedLevel += 1;\n\t\t if (variableOrRule in css_beautify.CONDITIONAL_GROUP_RULE) {\n\t\t enteringConditionalGroup = true;\n\t\t }\n\t\t }\n\t\t }\n\t\t } else if (ch === '#' && peek() === '{') {\n\t\t print.preserveSingleSpace();\n\t\t output.push(eatString('}'));\n\t\t } else if (ch === '{') {\n\t\t if (peek(true) === '}') {\n\t\t eatWhitespace();\n\t\t next();\n\t\t print.singleSpace();\n\t\t output.push(\"{}\");\n\t\t print.newLine();\n\t\t if (newline_between_rules && indentLevel === 0) {\n\t\t print.newLine(true);\n\t\t }\n\t\t } else {\n\t\t indent();\n\t\t print[\"{\"](ch);\n\t\t // when entering conditional groups, only rulesets are allowed\n\t\t if (enteringConditionalGroup) {\n\t\t enteringConditionalGroup = false;\n\t\t insideRule = (indentLevel > nestedLevel);\n\t\t } else {\n\t\t // otherwise, declarations are also allowed\n\t\t insideRule = (indentLevel >= nestedLevel);\n\t\t }\n\t\t }\n\t\t } else if (ch === '}') {\n\t\t outdent();\n\t\t print[\"}\"](ch);\n\t\t insideRule = false;\n\t\t insidePropertyValue = false;\n\t\t if (nestedLevel) {\n\t\t nestedLevel--;\n\t\t }\n\t\t if (newline_between_rules && indentLevel === 0) {\n\t\t print.newLine(true);\n\t\t }\n\t\t } else if (ch === \":\") {\n\t\t eatWhitespace();\n\t\t if ((insideRule || enteringConditionalGroup) &&\n\t\t !(lookBack(\"&\") || foundNestedPseudoClass()) &&\n\t\t !lookBack(\"(\")) {\n\t\t // 'property: value' delimiter\n\t\t // which could be in a conditional group query\n\t\t insidePropertyValue = true;\n\t\t output.push(':');\n\t\t print.singleSpace();\n\t\t } else {\n\t\t // sass/less parent reference don't use a space\n\t\t // sass nested pseudo-class don't use a space\n\t\t\n\t\t // preserve space before pseudoclasses/pseudoelements, as it means \"in any child\"\n\t\t if (lookBack(\" \") && output[output.length - 1] !== \" \") {\n\t\t output.push(\" \");\n\t\t }\n\t\t if (peek() === \":\") {\n\t\t // pseudo-element\n\t\t next();\n\t\t output.push(\"::\");\n\t\t } else {\n\t\t // pseudo-class\n\t\t output.push(':');\n\t\t }\n\t\t }\n\t\t } else if (ch === '\"' || ch === '\\'') {\n\t\t print.preserveSingleSpace();\n\t\t output.push(eatString(ch));\n\t\t } else if (ch === ';') {\n\t\t insidePropertyValue = false;\n\t\t output.push(ch);\n\t\t print.newLine();\n\t\t } else if (ch === '(') { // may be a url\n\t\t if (lookBack(\"url\")) {\n\t\t output.push(ch);\n\t\t eatWhitespace();\n\t\t if (next()) {\n\t\t if (ch !== ')' && ch !== '\"' && ch !== '\\'') {\n\t\t output.push(eatString(')'));\n\t\t } else {\n\t\t pos--;\n\t\t }\n\t\t }\n\t\t } else {\n\t\t parenLevel++;\n\t\t print.preserveSingleSpace();\n\t\t output.push(ch);\n\t\t eatWhitespace();\n\t\t }\n\t\t } else if (ch === ')') {\n\t\t output.push(ch);\n\t\t parenLevel--;\n\t\t } else if (ch === ',') {\n\t\t output.push(ch);\n\t\t eatWhitespace();\n\t\t if (selectorSeparatorNewline && !insidePropertyValue && parenLevel < 1) {\n\t\t print.newLine();\n\t\t } else {\n\t\t print.singleSpace();\n\t\t }\n\t\t } else if ((ch === '>' || ch === '+' || ch === '~') &&\n\t\t !insidePropertyValue && parenLevel < 1) {\n\t\t //handle combinator spacing\n\t\t if (space_around_combinator) {\n\t\t print.singleSpace();\n\t\t output.push(ch);\n\t\t print.singleSpace();\n\t\t } else {\n\t\t output.push(ch);\n\t\t eatWhitespace();\n\t\t // squash extra whitespace\n\t\t if (ch && whiteRe.test(ch)) {\n\t\t ch = '';\n\t\t }\n\t\t }\n\t\t } else if (ch === ']') {\n\t\t output.push(ch);\n\t\t } else if (ch === '[') {\n\t\t print.preserveSingleSpace();\n\t\t output.push(ch);\n\t\t } else if (ch === '=') { // no whitespace before or after\n\t\t eatWhitespace();\n\t\t ch = '=';\n\t\t output.push(ch);\n\t\t } else {\n\t\t print.preserveSingleSpace();\n\t\t output.push(ch);\n\t\t }\n\t\t }\n\t\t\n\t\t\n\t\t var sweetCode = '';\n\t\t if (basebaseIndentString) {\n\t\t sweetCode += basebaseIndentString;\n\t\t }\n\t\t\n\t\t sweetCode += output.join('').replace(/[\\r\\n\\t ]+$/, '');\n\t\t\n\t\t // establish end_with_newline\n\t\t if (end_with_newline) {\n\t\t sweetCode += '\\n';\n\t\t }\n\t\t\n\t\t if (eol !== '\\n') {\n\t\t sweetCode = sweetCode.replace(/[\\n]/g, eol);\n\t\t }\n\t\t\n\t\t return sweetCode;\n\t\t }\n\t\t\n\t\t // https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule\n\t\t css_beautify.NESTED_AT_RULE = {\n\t\t \"@page\": true,\n\t\t \"@font-face\": true,\n\t\t \"@keyframes\": true,\n\t\t // also in CONDITIONAL_GROUP_RULE below\n\t\t \"@media\": true,\n\t\t \"@supports\": true,\n\t\t \"@document\": true\n\t\t };\n\t\t css_beautify.CONDITIONAL_GROUP_RULE = {\n\t\t \"@media\": true,\n\t\t \"@supports\": true,\n\t\t \"@document\": true\n\t\t };\n\t\t\n\t\t /*global define */\n\t\t if (true) {\n\t\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t\t return {\n\t\t css_beautify: css_beautify\n\t\t };\n\t\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t } else if (typeof exports !== \"undefined\") {\n\t\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t\t // and you will be able to `var html_beautify = require(\"beautify\").html_beautify`.\n\t\t exports.css_beautify = css_beautify;\n\t\t } else if (typeof window !== \"undefined\") {\n\t\t // If we're running a web page and don't have either of the above, add our one global\n\t\t window.css_beautify = css_beautify;\n\t\t } else if (typeof global !== \"undefined\") {\n\t\t // If we don't even have window, try global.\n\t\t global.css_beautify = css_beautify;\n\t\t }\n\t\t\n\t\t}());\n\t\n\t/***/ },\n\t/* 12 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t\t/*\n\t\t\n\t\t The MIT License (MIT)\n\t\t\n\t\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\t\n\t\t Permission is hereby granted, free of charge, to any person\n\t\t obtaining a copy of this software and associated documentation files\n\t\t (the \"Software\"), to deal in the Software without restriction,\n\t\t including without limitation the rights to use, copy, modify, merge,\n\t\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t\t and to permit persons to whom the Software is furnished to do so,\n\t\t subject to the following conditions:\n\t\t\n\t\t The above copyright notice and this permission notice shall be\n\t\t included in all copies or substantial portions of the Software.\n\t\t\n\t\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t\t SOFTWARE.\n\t\t\n\t\t\n\t\t Style HTML\n\t\t---------------\n\t\t\n\t\t Written by Nochum Sossonko, (nsossonko@hotmail.com)\n\t\t\n\t\t Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>\n\t\t http://jsbeautifier.org/\n\t\t\n\t\t Usage:\n\t\t style_html(html_source);\n\t\t\n\t\t style_html(html_source, options);\n\t\t\n\t\t The options are:\n\t\t indent_inner_html (default false) — indent <head> and <body> sections,\n\t\t indent_size (default 4) — indentation size,\n\t\t indent_char (default space) — character to indent with,\n\t\t wrap_line_length (default 250) - maximum amount of characters per line (0 = disable)\n\t\t brace_style (default \"collapse\") - \"collapse\" | \"expand\" | \"end-expand\" | \"none\"\n\t\t put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.\n\t\t unformatted (defaults to inline tags) - list of tags, that shouldn't be reformatted\n\t\t indent_scripts (default normal) - \"keep\"|\"separate\"|\"normal\"\n\t\t preserve_newlines (default true) - whether existing line breaks before elements should be preserved\n\t\t Only works before elements, not inside tags or for text.\n\t\t max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk\n\t\t indent_handlebars (default false) - format and indent {{#foo}} and {{/foo}}\n\t\t end_with_newline (false) - end with a newline\n\t\t extra_liners (default [head,body,/html]) -List of tags that should have an extra newline before them.\n\t\t\n\t\t e.g.\n\t\t\n\t\t style_html(html_source, {\n\t\t 'indent_inner_html': false,\n\t\t 'indent_size': 2,\n\t\t 'indent_char': ' ',\n\t\t 'wrap_line_length': 78,\n\t\t 'brace_style': 'expand',\n\t\t 'preserve_newlines': true,\n\t\t 'max_preserve_newlines': 5,\n\t\t 'indent_handlebars': false,\n\t\t 'extra_liners': ['/html']\n\t\t });\n\t\t*/\n\t\t\n\t\t(function() {\n\t\t\n\t\t // function trim(s) {\n\t\t // return s.replace(/^\\s+|\\s+$/g, '');\n\t\t // }\n\t\t\n\t\t function ltrim(s) {\n\t\t return s.replace(/^\\s+/g, '');\n\t\t }\n\t\t\n\t\t function rtrim(s) {\n\t\t return s.replace(/\\s+$/g, '');\n\t\t }\n\t\t\n\t\t function style_html(html_source, options, js_beautify, css_beautify) {\n\t\t //Wrapper function to invoke all the necessary constructors and deal with the output.\n\t\t\n\t\t var multi_parser,\n\t\t indent_inner_html,\n\t\t indent_body_inner_html,\n\t\t indent_head_inner_html,\n\t\t indent_size,\n\t\t indent_character,\n\t\t wrap_line_length,\n\t\t brace_style,\n\t\t unformatted,\n\t\t preserve_newlines,\n\t\t max_preserve_newlines,\n\t\t indent_handlebars,\n\t\t wrap_attributes,\n\t\t wrap_attributes_indent_size,\n\t\t end_with_newline,\n\t\t extra_liners,\n\t\t eol;\n\t\t\n\t\t options = options || {};\n\t\t\n\t\t // backwards compatibility to 1.3.4\n\t\t if ((options.wrap_line_length === undefined || parseInt(options.wrap_line_length, 10) === 0) &&\n\t\t (options.max_char !== undefined && parseInt(options.max_char, 10) !== 0)) {\n\t\t options.wrap_line_length = options.max_char;\n\t\t }\n\t\t\n\t\t indent_inner_html = (options.indent_inner_html === undefined) ? false : options.indent_inner_html;\n\t\t indent_body_inner_html = (options.indent_body_inner_html === undefined) ? true : options.indent_body_inner_html;\n\t\t indent_head_inner_html = (options.indent_head_inner_html === undefined) ? true : options.indent_head_inner_html;\n\t\t indent_size = (options.indent_size === undefined) ? 4 : parseInt(options.indent_size, 10);\n\t\t indent_character = (options.indent_char === undefined) ? ' ' : options.indent_char;\n\t\t brace_style = (options.brace_style === undefined) ? 'collapse' : options.brace_style;\n\t\t wrap_line_length = parseInt(options.wrap_line_length, 10) === 0 ? 32786 : parseInt(options.wrap_line_length || 250, 10);\n\t\t unformatted = options.unformatted || [\n\t\t // https://www.w3.org/TR/html5/dom.html#phrasing-content\n\t\t 'a', 'abbr', 'area', 'audio', 'b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',\n\t\t 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',\n\t\t 'input', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',\n\t\t 'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'small',\n\t\t 'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',\n\t\t 'video', 'wbr', 'text',\n\t\t // prexisting - not sure of full effect of removing, leaving in\n\t\t 'acronym', 'address', 'big', 'dt', 'ins', 'small', 'strike', 'tt',\n\t\t 'pre',\n\t\t ];\n\t\t preserve_newlines = (options.preserve_newlines === undefined) ? true : options.preserve_newlines;\n\t\t max_preserve_newlines = preserve_newlines ?\n\t\t (isNaN(parseInt(options.max_preserve_newlines, 10)) ? 32786 : parseInt(options.max_preserve_newlines, 10)) :\n\t\t 0;\n\t\t indent_handlebars = (options.indent_handlebars === undefined) ? false : options.indent_handlebars;\n\t\t wrap_attributes = (options.wrap_attributes === undefined) ? 'auto' : options.wrap_attributes;\n\t\t wrap_attributes_indent_size = (isNaN(parseInt(options.wrap_attributes_indent_size, 10))) ? indent_size : parseInt(options.wrap_attributes_indent_size, 10);\n\t\t end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t\t extra_liners = (typeof options.extra_liners === 'object') && options.extra_liners ?\n\t\t options.extra_liners.concat() : (typeof options.extra_liners === 'string') ?\n\t\t options.extra_liners.split(',') : 'head,body,/html'.split(',');\n\t\t eol = options.eol ? options.eol : '\\n';\n\t\t\n\t\t if (options.indent_with_tabs) {\n\t\t indent_character = '\\t';\n\t\t indent_size = 1;\n\t\t }\n\t\t\n\t\t eol = eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\t\n\t\t function Parser() {\n\t\t\n\t\t this.pos = 0; //Parser position\n\t\t this.token = '';\n\t\t this.current_mode = 'CONTENT'; //reflects the current Parser mode: TAG/CONTENT\n\t\t this.tags = { //An object to hold tags, their position, and their parent-tags, initiated with default values\n\t\t parent: 'parent1',\n\t\t parentcount: 1,\n\t\t parent1: ''\n\t\t };\n\t\t this.tag_type = '';\n\t\t this.token_text = this.last_token = this.last_text = this.token_type = '';\n\t\t this.newlines = 0;\n\t\t this.indent_content = indent_inner_html;\n\t\t this.indent_body_inner_html = indent_body_inner_html;\n\t\t this.indent_head_inner_html = indent_head_inner_html;\n\t\t\n\t\t this.Utils = { //Uilities made available to the various functions\n\t\t whitespace: \"\\n\\r\\t \".split(''),\n\t\t\n\t\t single_token: [\n\t\t // HTLM void elements - aka self-closing tags - aka singletons\n\t\t // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements\n\t\t 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',\n\t\t 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',\n\t\t // NOTE: Optional tags - are not understood.\n\t\t // https://www.w3.org/TR/html5/syntax.html#optional-tags\n\t\t // The rules for optional tags are too complex for a simple list\n\t\t // Also, the content of these tags should still be indented in many cases.\n\t\t // 'li' is a good exmple.\n\t\t\n\t\t // Doctype and xml elements\n\t\t '!doctype', '?xml',\n\t\t // ?php tag\n\t\t '?php',\n\t\t // other tags that were in this list, keeping just in case\n\t\t 'basefont', 'isindex'\n\t\t ],\n\t\t extra_liners: extra_liners, //for tags that need a line of whitespace before them\n\t\t in_array: function(what, arr) {\n\t\t for (var i = 0; i < arr.length; i++) {\n\t\t if (what === arr[i]) {\n\t\t return true;\n\t\t }\n\t\t }\n\t\t return false;\n\t\t }\n\t\t };\n\t\t\n\t\t // Return true if the given text is composed entirely of whitespace.\n\t\t this.is_whitespace = function(text) {\n\t\t for (var n = 0; n < text.length; n++) {\n\t\t if (!this.Utils.in_array(text.charAt(n), this.Utils.whitespace)) {\n\t\t return false;\n\t\t }\n\t\t }\n\t\t return true;\n\t\t };\n\t\t\n\t\t this.traverse_whitespace = function() {\n\t\t var input_char = '';\n\t\t\n\t\t input_char = this.input.charAt(this.pos);\n\t\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t\t this.newlines = 0;\n\t\t while (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t\t if (preserve_newlines && input_char === '\\n' && this.newlines <= max_preserve_newlines) {\n\t\t this.newlines += 1;\n\t\t }\n\t\t\n\t\t this.pos++;\n\t\t input_char = this.input.charAt(this.pos);\n\t\t }\n\t\t return true;\n\t\t }\n\t\t return false;\n\t\t };\n\t\t\n\t\t // Append a space to the given content (string array) or, if we are\n\t\t // at the wrap_line_length, append a newline/indentation.\n\t\t // return true if a newline was added, false if a space was added\n\t\t this.space_or_wrap = function(content) {\n\t\t if (this.line_char_count >= this.wrap_line_length) { //insert a line when the wrap_line_length is reached\n\t\t this.print_newline(false, content);\n\t\t this.print_indentation(content);\n\t\t return true;\n\t\t } else {\n\t\t this.line_char_count++;\n\t\t content.push(' ');\n\t\t return false;\n\t\t }\n\t\t };\n\t\t\n\t\t this.get_content = function() { //function to capture regular content between tags\n\t\t var input_char = '',\n\t\t content = [];\n\t\t\n\t\t while (this.input.charAt(this.pos) !== '<') {\n\t\t if (this.pos >= this.input.length) {\n\t\t return content.length ? content.join('') : ['', 'TK_EOF'];\n\t\t }\n\t\t\n\t\t if (this.traverse_whitespace()) {\n\t\t this.space_or_wrap(content);\n\t\t continue;\n\t\t }\n\t\t\n\t\t if (indent_handlebars) {\n\t\t // Handlebars parsing is complicated.\n\t\t // {{#foo}} and {{/foo}} are formatted tags.\n\t\t // {{something}} should get treated as content, except:\n\t\t // {{else}} specifically behaves like {{#if}} and {{/if}}\n\t\t var peek3 = this.input.substr(this.pos, 3);\n\t\t if (peek3 === '{{#' || peek3 === '{{/') {\n\t\t // These are tags and not content.\n\t\t break;\n\t\t } else if (peek3 === '{{!') {\n\t\t return [this.get_tag(), 'TK_TAG_HANDLEBARS_COMMENT'];\n\t\t } else if (this.input.substr(this.pos, 2) === '{{') {\n\t\t if (this.get_tag(true) === '{{else}}') {\n\t\t break;\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t input_char = this.input.charAt(this.pos);\n\t\t this.pos++;\n\t\t this.line_char_count++;\n\t\t content.push(input_char); //letter at-a-time (or string) inserted to an array\n\t\t }\n\t\t return content.length ? content.join('') : '';\n\t\t };\n\t\t\n\t\t this.get_contents_to = function(name) { //get the full content of a script or style to pass to js_beautify\n\t\t if (this.pos === this.input.length) {\n\t\t return ['', 'TK_EOF'];\n\t\t }\n\t\t var content = '';\n\t\t var reg_match = new RegExp('</' + name + '\\\\s*>', 'igm');\n\t\t reg_match.lastIndex = this.pos;\n\t\t var reg_array = reg_match.exec(this.input);\n\t\t var end_script = reg_array ? reg_array.index : this.input.length; //absolute end of script\n\t\t if (this.pos < end_script) { //get everything in between the script tags\n\t\t content = this.input.substring(this.pos, end_script);\n\t\t this.pos = end_script;\n\t\t }\n\t\t return content;\n\t\t };\n\t\t\n\t\t this.record_tag = function(tag) { //function to record a tag and its parent in this.tags Object\n\t\t if (this.tags[tag + 'count']) { //check for the existence of this tag type\n\t\t this.tags[tag + 'count']++;\n\t\t this.tags[tag + this.tags[tag + 'count']] = this.indent_level; //and record the present indent level\n\t\t } else { //otherwise initialize this tag type\n\t\t this.tags[tag + 'count'] = 1;\n\t\t this.tags[tag + this.tags[tag + 'count']] = this.indent_level; //and record the present indent level\n\t\t }\n\t\t this.tags[tag + this.tags[tag + 'count'] + 'parent'] = this.tags.parent; //set the parent (i.e. in the case of a div this.tags.div1parent)\n\t\t this.tags.parent = tag + this.tags[tag + 'count']; //and make this the current parent (i.e. in the case of a div 'div1')\n\t\t };\n\t\t\n\t\t this.retrieve_tag = function(tag) { //function to retrieve the opening tag to the corresponding closer\n\t\t if (this.tags[tag + 'count']) { //if the openener is not in the Object we ignore it\n\t\t var temp_parent = this.tags.parent; //check to see if it's a closable tag.\n\t\t while (temp_parent) { //till we reach '' (the initial value);\n\t\t if (tag + this.tags[tag + 'count'] === temp_parent) { //if this is it use it\n\t\t break;\n\t\t }\n\t\t temp_parent = this.tags[temp_parent + 'parent']; //otherwise keep on climbing up the DOM Tree\n\t\t }\n\t\t if (temp_parent) { //if we caught something\n\t\t this.indent_level = this.tags[tag + this.tags[tag + 'count']]; //set the indent_level accordingly\n\t\t this.tags.parent = this.tags[temp_parent + 'parent']; //and set the current parent\n\t\t }\n\t\t delete this.tags[tag + this.tags[tag + 'count'] + 'parent']; //delete the closed tags parent reference...\n\t\t delete this.tags[tag + this.tags[tag + 'count']]; //...and the tag itself\n\t\t if (this.tags[tag + 'count'] === 1) {\n\t\t delete this.tags[tag + 'count'];\n\t\t } else {\n\t\t this.tags[tag + 'count']--;\n\t\t }\n\t\t }\n\t\t };\n\t\t\n\t\t this.indent_to_tag = function(tag) {\n\t\t // Match the indentation level to the last use of this tag, but don't remove it.\n\t\t if (!this.tags[tag + 'count']) {\n\t\t return;\n\t\t }\n\t\t var temp_parent = this.tags.parent;\n\t\t while (temp_parent) {\n\t\t if (tag + this.tags[tag + 'count'] === temp_parent) {\n\t\t break;\n\t\t }\n\t\t temp_parent = this.tags[temp_parent + 'parent'];\n\t\t }\n\t\t if (temp_parent) {\n\t\t this.indent_level = this.tags[tag + this.tags[tag + 'count']];\n\t\t }\n\t\t };\n\t\t\n\t\t this.get_tag = function(peek) { //function to get a full tag and parse its type\n\t\t var input_char = '',\n\t\t content = [],\n\t\t comment = '',\n\t\t space = false,\n\t\t first_attr = true,\n\t\t tag_start, tag_end,\n\t\t tag_start_char,\n\t\t orig_pos = this.pos,\n\t\t orig_line_char_count = this.line_char_count;\n\t\t\n\t\t peek = peek !== undefined ? peek : false;\n\t\t\n\t\t do {\n\t\t if (this.pos >= this.input.length) {\n\t\t if (peek) {\n\t\t this.pos = orig_pos;\n\t\t this.line_char_count = orig_line_char_count;\n\t\t }\n\t\t return content.length ? content.join('') : ['', 'TK_EOF'];\n\t\t }\n\t\t\n\t\t input_char = this.input.charAt(this.pos);\n\t\t this.pos++;\n\t\t\n\t\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) { //don't want to insert unnecessary space\n\t\t space = true;\n\t\t continue;\n\t\t }\n\t\t\n\t\t if (input_char === \"'\" || input_char === '\"') {\n\t\t input_char += this.get_unformatted(input_char);\n\t\t space = true;\n\t\t\n\t\t }\n\t\t\n\t\t if (input_char === '=') { //no space before =\n\t\t space = false;\n\t\t }\n\t\t\n\t\t if (content.length && content[content.length - 1] !== '=' && input_char !== '>' && space) {\n\t\t //no space after = or before >\n\t\t var wrapped = this.space_or_wrap(content);\n\t\t var indentAttrs = wrapped && input_char !== '/' && wrap_attributes !== 'force';\n\t\t space = false;\n\t\t if (!first_attr && wrap_attributes === 'force' && input_char !== '/') {\n\t\t this.print_newline(false, content);\n\t\t this.print_indentation(content);\n\t\t indentAttrs = true;\n\t\t }\n\t\t if (indentAttrs) {\n\t\t //indent attributes an auto or forced line-wrap\n\t\t for (var count = 0; count < wrap_attributes_indent_size; count++) {\n\t\t content.push(indent_character);\n\t\t }\n\t\t }\n\t\t for (var i = 0; i < content.length; i++) {\n\t\t if (content[i] === ' ') {\n\t\t first_attr = false;\n\t\t break;\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t if (indent_handlebars && tag_start_char === '<') {\n\t\t // When inside an angle-bracket tag, put spaces around\n\t\t // handlebars not inside of strings.\n\t\t if ((input_char + this.input.charAt(this.pos)) === '{{') {\n\t\t input_char += this.get_unformatted('}}');\n\t\t if (content.length && content[content.length - 1] !== ' ' && content[content.length - 1] !== '<') {\n\t\t input_char = ' ' + input_char;\n\t\t }\n\t\t space = true;\n\t\t }\n\t\t }\n\t\t\n\t\t if (input_char === '<' && !tag_start_char) {\n\t\t tag_start = this.pos - 1;\n\t\t tag_start_char = '<';\n\t\t }\n\t\t\n\t\t if (indent_handlebars && !tag_start_char) {\n\t\t if (content.length >= 2 && content[content.length - 1] === '{' && content[content.length - 2] === '{') {\n\t\t if (input_char === '#' || input_char === '/' || input_char === '!') {\n\t\t tag_start = this.pos - 3;\n\t\t } else {\n\t\t tag_start = this.pos - 2;\n\t\t }\n\t\t tag_start_char = '{';\n\t\t }\n\t\t }\n\t\t\n\t\t this.line_char_count++;\n\t\t content.push(input_char); //inserts character at-a-time (or string)\n\t\t\n\t\t if (content[1] && (content[1] === '!' || content[1] === '?' || content[1] === '%')) { //if we're in a comment, do something special\n\t\t // We treat all comments as literals, even more than preformatted tags\n\t\t // we just look for the appropriate close tag\n\t\t content = [this.get_comment(tag_start)];\n\t\t break;\n\t\t }\n\t\t\n\t\t if (indent_handlebars && content[1] && content[1] === '{' && content[2] && content[2] === '!') { //if we're in a comment, do something special\n\t\t // We treat all comments as literals, even more than preformatted tags\n\t\t // we just look for the appropriate close tag\n\t\t content = [this.get_comment(tag_start)];\n\t\t break;\n\t\t }\n\t\t\n\t\t if (indent_handlebars && tag_start_char === '{' && content.length > 2 && content[content.length - 2] === '}' && content[content.length - 1] === '}') {\n\t\t break;\n\t\t }\n\t\t } while (input_char !== '>');\n\t\t\n\t\t var tag_complete = content.join('');\n\t\t var tag_index;\n\t\t var tag_offset;\n\t\t\n\t\t if (tag_complete.indexOf(' ') !== -1) { //if there's whitespace, thats where the tag name ends\n\t\t tag_index = tag_complete.indexOf(' ');\n\t\t } else if (tag_complete.charAt(0) === '{') {\n\t\t tag_index = tag_complete.indexOf('}');\n\t\t } else { //otherwise go with the tag ending\n\t\t tag_index = tag_complete.indexOf('>');\n\t\t }\n\t\t if (tag_complete.charAt(0) === '<' || !indent_handlebars) {\n\t\t tag_offset = 1;\n\t\t } else {\n\t\t tag_offset = tag_complete.charAt(2) === '#' ? 3 : 2;\n\t\t }\n\t\t var tag_check = tag_complete.substring(tag_offset, tag_index).toLowerCase();\n\t\t if (tag_complete.charAt(tag_complete.length - 2) === '/' ||\n\t\t this.Utils.in_array(tag_check, this.Utils.single_token)) { //if this tag name is a single tag type (either in the list or has a closing /)\n\t\t if (!peek) {\n\t\t this.tag_type = 'SINGLE';\n\t\t }\n\t\t } else if (indent_handlebars && tag_complete.charAt(0) === '{' && tag_check === 'else') {\n\t\t if (!peek) {\n\t\t this.indent_to_tag('if');\n\t\t this.tag_type = 'HANDLEBARS_ELSE';\n\t\t this.indent_content = true;\n\t\t this.traverse_whitespace();\n\t\t }\n\t\t } else if (this.is_unformatted(tag_check, unformatted)) { // do not reformat the \"unformatted\" tags\n\t\t comment = this.get_unformatted('</' + tag_check + '>', tag_complete); //...delegate to get_unformatted function\n\t\t content.push(comment);\n\t\t tag_end = this.pos - 1;\n\t\t this.tag_type = 'SINGLE';\n\t\t } else if (tag_check === 'script' &&\n\t\t (tag_complete.search('type') === -1 ||\n\t\t (tag_complete.search('type') > -1 &&\n\t\t tag_complete.search(/\\b(text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\\+)?json|method|aspect)/) > -1))) {\n\t\t if (!peek) {\n\t\t this.record_tag(tag_check);\n\t\t this.tag_type = 'SCRIPT';\n\t\t }\n\t\t } else if (tag_check === 'style' &&\n\t\t (tag_complete.search('type') === -1 ||\n\t\t (tag_complete.search('type') > -1 && tag_complete.search('text/css') > -1))) {\n\t\t if (!peek) {\n\t\t this.record_tag(tag_check);\n\t\t this.tag_type = 'STYLE';\n\t\t }\n\t\t } else if (tag_check.charAt(0) === '!') { //peek for <! comment\n\t\t // for comments content is already correct.\n\t\t if (!peek) {\n\t\t this.tag_type = 'SINGLE';\n\t\t this.traverse_whitespace();\n\t\t }\n\t\t } else if (!peek) {\n\t\t if (tag_check.charAt(0) === '/') { //this tag is a double tag so check for tag-ending\n\t\t this.retrieve_tag(tag_check.substring(1)); //remove it and all ancestors\n\t\t this.tag_type = 'END';\n\t\t } else { //otherwise it's a start-tag\n\t\t this.record_tag(tag_check); //push it on the tag stack\n\t\t if (tag_check.toLowerCase() !== 'html') {\n\t\t this.indent_content = true;\n\t\t }\n\t\t this.tag_type = 'START';\n\t\t }\n\t\t\n\t\t // Allow preserving of newlines after a start or end tag\n\t\t if (this.traverse_whitespace()) {\n\t\t this.space_or_wrap(content);\n\t\t }\n\t\t\n\t\t if (this.Utils.in_array(tag_check, this.Utils.extra_liners)) { //check if this double needs an extra line\n\t\t this.print_newline(false, this.output);\n\t\t if (this.output.length && this.output[this.output.length - 2] !== '\\n') {\n\t\t this.print_newline(true, this.output);\n\t\t }\n\t\t }\n\t\t }\n\t\t\n\t\t if (peek) {\n\t\t this.pos = orig_pos;\n\t\t this.line_char_count = orig_line_char_count;\n\t\t }\n\t\t\n\t\t return content.join(''); //returns fully formatted tag\n\t\t };\n\t\t\n\t\t this.get_comment = function(start_pos) { //function to return comment content in its entirety\n\t\t // this is will have very poor perf, but will work for now.\n\t\t var comment = '',\n\t\t delimiter = '>',\n\t\t matched = false;\n\t\t\n\t\t this.pos = start_pos;\n\t\t var input_char = this.input.charAt(this.pos);\n\t\t this.pos++;\n\t\t\n\t\t while (this.pos <= this.input.length) {\n\t\t comment += input_char;\n\t\t\n\t\t // only need to check for the delimiter if the last chars match\n\t\t if (comment.charAt(comment.length - 1) === delimiter.charAt(delimiter.length - 1) &&\n\t\t comment.indexOf(delimiter) !== -1) {\n\t\t break;\n\t\t }\n\t\t\n\t\t // only need to search for custom delimiter for the first few characters\n\t\t if (!matched && comment.length < 10) {\n\t\t if (comment.indexOf('<![if') === 0) { //peek for <![if conditional comment\n\t\t delimiter = '<![endif]>';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('<![cdata[') === 0) { //if it's a <[cdata[ comment...\n\t\t delimiter = ']]>';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('<![') === 0) { // some other ![ comment? ...\n\t\t delimiter = ']>';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('<!--') === 0) { // <!-- comment ...\n\t\t delimiter = '-->';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('{{!') === 0) { // {{! handlebars comment\n\t\t delimiter = '}}';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('<?') === 0) { // {{! handlebars comment\n\t\t delimiter = '?>';\n\t\t matched = true;\n\t\t } else if (comment.indexOf('<%') === 0) { // {{! handlebars comment\n\t\t delimiter = '%>';\n\t\t matched = true;\n\t\t }\n\t\t }\n\t\t\n\t\t input_char = this.input.charAt(this.pos);\n\t\t this.pos++;\n\t\t }\n\t\t\n\t\t return comment;\n\t\t };\n\t\t\n\t\t function tokenMatcher(delimiter) {\n\t\t var token = '';\n\t\t\n\t\t var add = function(str) {\n\t\t var newToken = token + str.toLowerCase();\n\t\t token = newToken.length <= delimiter.length ? newToken : newToken.substr(newToken.length - delimiter.length, delimiter.length);\n\t\t };\n\t\t\n\t\t var doesNotMatch = function() {\n\t\t return token.indexOf(delimiter) === -1;\n\t\t };\n\t\t\n\t\t return {\n\t\t add: add,\n\t\t doesNotMatch: doesNotMatch\n\t\t };\n\t\t }\n\t\t\n\t\t this.get_unformatted = function(delimiter, orig_tag) { //function to return unformatted content in its entirety\n\t\t if (orig_tag && orig_tag.toLowerCase().indexOf(delimiter) !== -1) {\n\t\t return '';\n\t\t }\n\t\t var input_char = '';\n\t\t var content = '';\n\t\t var space = true;\n\t\t\n\t\t var delimiterMatcher = tokenMatcher(delimiter);\n\t\t\n\t\t do {\n\t\t\n\t\t if (this.pos >= this.input.length) {\n\t\t return content;\n\t\t }\n\t\t\n\t\t input_char = this.input.charAt(this.pos);\n\t\t this.pos++;\n\t\t\n\t\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t\t if (!space) {\n\t\t this.line_char_count--;\n\t\t continue;\n\t\t }\n\t\t if (input_char === '\\n' || input_char === '\\r') {\n\t\t content += '\\n';\n\t\t /* Don't change tab indention for unformatted blocks. If using code for html editing, this will greatly affect <pre> tags if they are specified in the 'unformatted array'\n\t\t for (var i=0; i<this.indent_level; i++) {\n\t\t content += this.indent_string;\n\t\t }\n\t\t space = false; //...and make sure other indentation is erased\n\t\t */\n\t\t this.line_char_count = 0;\n\t\t continue;\n\t\t }\n\t\t }\n\t\t content += input_char;\n\t\t delimiterMatcher.add(input_char);\n\t\t this.line_char_count++;\n\t\t space = true;\n\t\t\n\t\t if (indent_handlebars && input_char === '{' && content.length && content.charAt(content.length - 2) === '{') {\n\t\t // Handlebars expressions in strings should also be unformatted.\n\t\t content += this.get_unformatted('}}');\n\t\t // Don't consider when stopping for delimiters.\n\t\t }\n\t\t } while (delimiterMatcher.doesNotMatch());\n\t\t\n\t\t return content;\n\t\t };\n\t\t\n\t\t this.get_token = function() { //initial handler for token-retrieval\n\t\t var token;\n\t\t\n\t\t if (this.last_token === 'TK_TAG_SCRIPT' || this.last_token === 'TK_TAG_STYLE') { //check if we need to format javascript\n\t\t var type = this.last_token.substr(7);\n\t\t token = this.get_contents_to(type);\n\t\t if (typeof token !== 'string') {\n\t\t return token;\n\t\t }\n\t\t return [token, 'TK_' + type];\n\t\t }\n\t\t if (this.current_mode === 'CONTENT') {\n\t\t token = this.get_content();\n\t\t if (typeof token !== 'string') {\n\t\t return token;\n\t\t } else {\n\t\t return [token, 'TK_CONTENT'];\n\t\t }\n\t\t }\n\t\t\n\t\t if (this.current_mode === 'TAG') {\n\t\t token = this.get_tag();\n\t\t if (typeof token !== 'string') {\n\t\t return token;\n\t\t } else {\n\t\t var tag_name_type = 'TK_TAG_' + this.tag_type;\n\t\t return [token, tag_name_type];\n\t\t }\n\t\t }\n\t\t };\n\t\t\n\t\t this.get_full_indent = function(level) {\n\t\t level = this.indent_level + level || 0;\n\t\t if (level < 1) {\n\t\t return '';\n\t\t }\n\t\t\n\t\t return Array(level + 1).join(this.indent_string);\n\t\t };\n\t\t\n\t\t this.is_unformatted = function(tag_check, unformatted) {\n\t\t //is this an HTML5 block-level link?\n\t\t if (!this.Utils.in_array(tag_check, unformatted)) {\n\t\t return false;\n\t\t }\n\t\t\n\t\t if (tag_check.toLowerCase() !== 'a' || !this.Utils.in_array('a', unformatted)) {\n\t\t return true;\n\t\t }\n\t\t\n\t\t //at this point we have an tag; is its first child something we want to remain\n\t\t //unformatted?\n\t\t var next_tag = this.get_tag(true /* peek. */ );\n\t\t\n\t\t // test next_tag to see if it is just html tag (no external content)\n\t\t var tag = (next_tag || \"\").match(/^\\s*<\\s*\\/?([a-z]*)\\s*[^>]*>\\s*$/);\n\t\t\n\t\t // if next_tag comes back but is not an isolated tag, then\n\t\t // let's treat the 'a' tag as having content\n\t\t // and respect the unformatted option\n\t\t if (!tag || this.Utils.in_array(tag, unformatted)) {\n\t\t return true;\n\t\t } else {\n\t\t return false;\n\t\t }\n\t\t };\n\t\t\n\t\t this.printer = function(js_source, indent_character, indent_size, wrap_line_length, brace_style) { //handles input/output and some other printing functions\n\t\t\n\t\t this.input = js_source || ''; //gets the input for the Parser\n\t\t\n\t\t // HACK: newline parsing inconsistent. This brute force normalizes the input.\n\t\t this.input = this.input.replace(/\\r\\n|[\\r\\u2028\\u2029]/g, '\\n');\n\t\t\n\t\t this.output = [];\n\t\t this.indent_character = indent_character;\n\t\t this.indent_string = '';\n\t\t this.indent_size = indent_size;\n\t\t this.brace_style = brace_style;\n\t\t this.indent_level = 0;\n\t\t this.wrap_line_length = wrap_line_length;\n\t\t this.line_char_count = 0; //count to see if wrap_line_length was exceeded\n\t\t\n\t\t for (var i = 0; i < this.indent_size; i++) {\n\t\t this.indent_string += this.indent_character;\n\t\t }\n\t\t\n\t\t this.print_newline = function(force, arr) {\n\t\t this.line_char_count = 0;\n\t\t if (!arr || !arr.length) {\n\t\t return;\n\t\t }\n\t\t if (force || (arr[arr.length - 1] !== '\\n')) { //we might want the extra line\n\t\t if ((arr[arr.length - 1] !== '\\n')) {\n\t\t arr[arr.length - 1] = rtrim(arr[arr.length - 1]);\n\t\t }\n\t\t arr.push('\\n');\n\t\t }\n\t\t };\n\t\t\n\t\t this.print_indentation = function(arr) {\n\t\t for (var i = 0; i < this.indent_level; i++) {\n\t\t arr.push(this.indent_string);\n\t\t this.line_char_count += this.indent_string.length;\n\t\t }\n\t\t };\n\t\t\n\t\t this.print_token = function(text) {\n\t\t // Avoid printing initial whitespace.\n\t\t if (this.is_whitespace(text) && !this.output.length) {\n\t\t return;\n\t\t }\n\t\t if (text || text !== '') {\n\t\t if (this.output.length && this.output[this.output.length - 1] === '\\n') {\n\t\t this.print_indentation(this.output);\n\t\t text = ltrim(text);\n\t\t }\n\t\t }\n\t\t this.print_token_raw(text);\n\t\t };\n\t\t\n\t\t this.print_token_raw = function(text) {\n\t\t // If we are going to print newlines, truncate trailing\n\t\t // whitespace, as the newlines will represent the space.\n\t\t if (this.newlines > 0) {\n\t\t text = rtrim(text);\n\t\t }\n\t\t\n\t\t if (text && text !== '') {\n\t\t if (text.length > 1 && text.charAt(text.length - 1) === '\\n') {\n\t\t // unformatted tags can grab newlines as their last character\n\t\t this.output.push(text.slice(0, -1));\n\t\t this.print_newline(false, this.output);\n\t\t } else {\n\t\t this.output.push(text);\n\t\t }\n\t\t }\n\t\t\n\t\t for (var n = 0; n < this.newlines; n++) {\n\t\t this.print_newline(n > 0, this.output);\n\t\t }\n\t\t this.newlines = 0;\n\t\t };\n\t\t\n\t\t this.indent = function() {\n\t\t this.indent_level++;\n\t\t };\n\t\t\n\t\t this.unindent = function() {\n\t\t if (this.indent_level > 0) {\n\t\t this.indent_level--;\n\t\t }\n\t\t };\n\t\t };\n\t\t return this;\n\t\t }\n\t\t\n\t\t /*_____________________--------------------_____________________*/\n\t\t\n\t\t multi_parser = new Parser(); //wrapping functions Parser\n\t\t multi_parser.printer(html_source, indent_character, indent_size, wrap_line_length, brace_style); //initialize starting values\n\t\t\n\t\t while (true) {\n\t\t var t = multi_parser.get_token();\n\t\t multi_parser.token_text = t[0];\n\t\t multi_parser.token_type = t[1];\n\t\t\n\t\t if (multi_parser.token_type === 'TK_EOF') {\n\t\t break;\n\t\t }\n\t\t\n\t\t switch (multi_parser.token_type) {\n\t\t case 'TK_TAG_START':\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t if (multi_parser.indent_content) {\n\t\t if ((multi_parser.indent_body_inner_html || !multi_parser.token_text.match(/<body(?:.*)>/)) &&\n\t\t (multi_parser.indent_head_inner_html || !multi_parser.token_text.match(/<head(?:.*)>/))) {\n\t\t\n\t\t multi_parser.indent();\n\t\t }\n\t\t\n\t\t multi_parser.indent_content = false;\n\t\t }\n\t\t multi_parser.current_mode = 'CONTENT';\n\t\t break;\n\t\t case 'TK_TAG_STYLE':\n\t\t case 'TK_TAG_SCRIPT':\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t multi_parser.current_mode = 'CONTENT';\n\t\t break;\n\t\t case 'TK_TAG_END':\n\t\t //Print new line only if the tag has no content and has child\n\t\t if (multi_parser.last_token === 'TK_CONTENT' && multi_parser.last_text === '') {\n\t\t var tag_name = (multi_parser.token_text.match(/\\w+/) || [])[0];\n\t\t var tag_extracted_from_last_output = null;\n\t\t if (multi_parser.output.length) {\n\t\t tag_extracted_from_last_output = multi_parser.output[multi_parser.output.length - 1].match(/(?:<|{{#)\\s*(\\w+)/);\n\t\t }\n\t\t if (tag_extracted_from_last_output === null ||\n\t\t (tag_extracted_from_last_output[1] !== tag_name && !multi_parser.Utils.in_array(tag_extracted_from_last_output[1], unformatted))) {\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t }\n\t\t }\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t multi_parser.current_mode = 'CONTENT';\n\t\t break;\n\t\t case 'TK_TAG_SINGLE':\n\t\t // Don't add a newline before elements that should remain unformatted.\n\t\t var tag_check = multi_parser.token_text.match(/^\\s*<([a-z-]+)/i);\n\t\t if (!tag_check || !multi_parser.Utils.in_array(tag_check[1], unformatted)) {\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t }\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t multi_parser.current_mode = 'CONTENT';\n\t\t break;\n\t\t case 'TK_TAG_HANDLEBARS_ELSE':\n\t\t // Don't add a newline if opening {{#if}} tag is on the current line\n\t\t var foundIfOnCurrentLine = false;\n\t\t for (var lastCheckedOutput = multi_parser.output.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n\t\t if (multi_parser.output[lastCheckedOutput] === '\\n') {\n\t\t break;\n\t\t } else {\n\t\t if (multi_parser.output[lastCheckedOutput].match(/{{#if/)) {\n\t\t foundIfOnCurrentLine = true;\n\t\t break;\n\t\t }\n\t\t }\n\t\t }\n\t\t if (!foundIfOnCurrentLine) {\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t }\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t if (multi_parser.indent_content) {\n\t\t multi_parser.indent();\n\t\t multi_parser.indent_content = false;\n\t\t }\n\t\t multi_parser.current_mode = 'CONTENT';\n\t\t break;\n\t\t case 'TK_TAG_HANDLEBARS_COMMENT':\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t multi_parser.current_mode = 'TAG';\n\t\t break;\n\t\t case 'TK_CONTENT':\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t multi_parser.current_mode = 'TAG';\n\t\t break;\n\t\t case 'TK_STYLE':\n\t\t case 'TK_SCRIPT':\n\t\t if (multi_parser.token_text !== '') {\n\t\t multi_parser.print_newline(false, multi_parser.output);\n\t\t var text = multi_parser.token_text,\n\t\t _beautifier,\n\t\t script_indent_level = 1;\n\t\t if (multi_parser.token_type === 'TK_SCRIPT') {\n\t\t _beautifier = typeof js_beautify === 'function' && js_beautify;\n\t\t } else if (multi_parser.token_type === 'TK_STYLE') {\n\t\t _beautifier = typeof css_beautify === 'function' && css_beautify;\n\t\t }\n\t\t\n\t\t if (options.indent_scripts === \"keep\") {\n\t\t script_indent_level = 0;\n\t\t } else if (options.indent_scripts === \"separate\") {\n\t\t script_indent_level = -multi_parser.indent_level;\n\t\t }\n\t\t\n\t\t var indentation = multi_parser.get_full_indent(script_indent_level);\n\t\t if (_beautifier) {\n\t\t\n\t\t // call the Beautifier if avaliable\n\t\t var Child_options = function() {\n\t\t this.eol = '\\n';\n\t\t };\n\t\t Child_options.prototype = options;\n\t\t var child_options = new Child_options();\n\t\t text = _beautifier(text.replace(/^\\s*/, indentation), child_options);\n\t\t } else {\n\t\t // simply indent the string otherwise\n\t\t var white = text.match(/^\\s*/)[0];\n\t\t var _level = white.match(/[^\\n\\r]*$/)[0].split(multi_parser.indent_string).length - 1;\n\t\t var reindent = multi_parser.get_full_indent(script_indent_level - _level);\n\t\t text = text.replace(/^\\s*/, indentation)\n\t\t .replace(/\\r\\n|\\r|\\n/g, '\\n' + reindent)\n\t\t .replace(/\\s+$/, '');\n\t\t }\n\t\t if (text) {\n\t\t multi_parser.print_token_raw(text);\n\t\t multi_parser.print_newline(true, multi_parser.output);\n\t\t }\n\t\t }\n\t\t multi_parser.current_mode = 'TAG';\n\t\t break;\n\t\t default:\n\t\t // We should not be getting here but we don't want to drop input on the floor\n\t\t // Just output the text and move on\n\t\t if (multi_parser.token_text !== '') {\n\t\t multi_parser.print_token(multi_parser.token_text);\n\t\t }\n\t\t break;\n\t\t }\n\t\t multi_parser.last_token = multi_parser.token_type;\n\t\t multi_parser.last_text = multi_parser.token_text;\n\t\t }\n\t\t var sweet_code = multi_parser.output.join('').replace(/[\\r\\n\\t ]+$/, '');\n\t\t\n\t\t // establish end_with_newline\n\t\t if (end_with_newline) {\n\t\t sweet_code += '\\n';\n\t\t }\n\t\t\n\t\t if (eol !== '\\n') {\n\t\t sweet_code = sweet_code.replace(/[\\n]/g, eol);\n\t\t }\n\t\t\n\t\t return sweet_code;\n\t\t }\n\t\t\n\t\t if (true) {\n\t\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, __webpack_require__(10), __webpack_require__(11)], __WEBPACK_AMD_DEFINE_RESULT__ = function(requireamd) {\n\t\t var js_beautify = __webpack_require__(10);\n\t\t var css_beautify = __webpack_require__(11);\n\t\t\n\t\t return {\n\t\t html_beautify: function(html_source, options) {\n\t\t return style_html(html_source, options, js_beautify.js_beautify, css_beautify.css_beautify);\n\t\t }\n\t\t };\n\t\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t\t } else if (typeof exports !== \"undefined\") {\n\t\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t\t // and you will be able to `var html_beautify = require(\"beautify\").html_beautify`.\n\t\t var js_beautify = require('./beautify.js');\n\t\t var css_beautify = require('./beautify-css.js');\n\t\t\n\t\t exports.html_beautify = function(html_source, options) {\n\t\t return style_html(html_source, options, js_beautify.js_beautify, css_beautify.css_beautify);\n\t\t };\n\t\t } else if (typeof window !== \"undefined\") {\n\t\t // If we're running a web page and don't have either of the above, add our one global\n\t\t window.html_beautify = function(html_source, options) {\n\t\t return style_html(html_source, options, window.js_beautify, window.css_beautify);\n\t\t };\n\t\t } else if (typeof global !== \"undefined\") {\n\t\t // If we don't even have window, try global.\n\t\t global.html_beautify = function(html_source, options) {\n\t\t return style_html(html_source, options, global.js_beautify, global.css_beautify);\n\t\t };\n\t\t }\n\t\t\n\t\t}());\n\t\n\t/***/ },\n\t/* 13 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t\t};\n\t\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t\t};\n\t\tvar core_1 = __webpack_require__(7);\n\t\tvar html_code_pipe_1 = __webpack_require__(6);\n\t\tvar javascript_code_pipe_1 = __webpack_require__(8);\n\t\tvar utils_directive_1 = __webpack_require__(14);\n\t\tvar NguiUtilsModule = (function () {\n\t\t function NguiUtilsModule() {\n\t\t }\n\t\t return NguiUtilsModule;\n\t\t}());\n\t\tNguiUtilsModule = __decorate([\n\t\t core_1.NgModule({\n\t\t declarations: [\n\t\t html_code_pipe_1.HtmlCodePipe,\n\t\t javascript_code_pipe_1.JavascriptCodePipe,\n\t\t utils_directive_1.NguiUtilsDirective\n\t\t ],\n\t\t exports: [\n\t\t html_code_pipe_1.HtmlCodePipe,\n\t\t javascript_code_pipe_1.JavascriptCodePipe,\n\t\t utils_directive_1.NguiUtilsDirective\n\t\t ]\n\t\t }),\n\t\t __metadata(\"design:paramtypes\", [])\n\t\t], NguiUtilsModule);\n\t\texports.NguiUtilsModule = NguiUtilsModule;\n\t\n\t\n\t/***/ },\n\t/* 14 */\n\t/***/ function(module, exports, __webpack_require__) {\n\t\n\t\t\"use strict\";\n\t\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t\t};\n\t\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t\t};\n\t\tvar core_1 = __webpack_require__(7);\n\t\tvar NguiUtilsDirective = (function () {\n\t\t function NguiUtilsDirective() {\n\t\t }\n\t\t return NguiUtilsDirective;\n\t\t}()); // dummy directive to allow non-standard tags\n\t\tNguiUtilsDirective = __decorate([\n\t\t core_1.Directive({\n\t\t selector: 'ngui-utils-1, ngui-utils-2, ngui-utils-3, ngui-utils-4, ngui-utils-5,' +\n\t\t 'ngui-utils-6, ngui-utils-7, ngui-utils-8, ngui-utils-9, ngui-utils-10,' +\n\t\t 'ngui-utils-11, ngui-utils-12, ngui-utils-13, ngui-utils-14, ngui-utils-15,' +\n\t\t 'ngui-utils-16, ngui-utils-17, ngui-utils-18, ngui-utils-19, ngui-utils-20'\n\t\t }),\n\t\t __metadata(\"design:paramtypes\", [])\n\t\t], NguiUtilsDirective);\n\t\texports.NguiUtilsDirective = NguiUtilsDirective;\n\t\n\t\n\t/***/ }\n\t/******/ ])\n\t});\n\t;\n\t//# sourceMappingURL=utils.umd.js.map\n\n/***/ },\n/* 347 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar router_1 = __webpack_require__(348);\n\tvar directive_test_component_1 = __webpack_require__(362);\n\tvar component_test_component_1 = __webpack_require__(363);\n\texports.routes = [\n\t { path: 'directive-test', component: directive_test_component_1.DirectiveTestComponent },\n\t { path: 'component-test', component: component_test_component_1.ComponentTestComponent },\n\t { path: '', redirectTo: '/directive-test', pathMatch: 'full' },\n\t];\n\texports.APP_ROUTER_PROVIDERS = router_1.RouterModule.forRoot(exports.routes);\n\texports.APP_ROUTER_COMPONENTS = [\n\t directive_test_component_1.DirectiveTestComponent,\n\t component_test_component_1.ComponentTestComponent\n\t];\n\n\n/***/ },\n/* 348 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * @license Angular v3.2.2\n\t * (c) 2010-2016 Google, Inc. https://angular.io/\n\t * License: MIT\n\t */(function (global, factory) {\n\t true ? factory(exports, __webpack_require__(282), __webpack_require__(263), __webpack_require__(349), __webpack_require__(264), __webpack_require__(350), __webpack_require__(319), __webpack_require__(356), __webpack_require__(358), __webpack_require__(312), __webpack_require__(321), __webpack_require__(357), __webpack_require__(359), __webpack_require__(265), __webpack_require__(334), __webpack_require__(360), __webpack_require__(313), __webpack_require__(285), __webpack_require__(361), __webpack_require__(305), __webpack_require__(281), __webpack_require__(323)) :\n\t typeof define === 'function' && define.amd ? define(['exports', '@angular/common', '@angular/core', 'rxjs/BehaviorSubject', 'rxjs/Subject', 'rxjs/observable/from', 'rxjs/observable/of', 'rxjs/operator/concatMap', 'rxjs/operator/every', 'rxjs/operator/first', 'rxjs/operator/map', 'rxjs/operator/mergeMap', 'rxjs/operator/reduce', 'rxjs/Observable', 'rxjs/operator/catch', 'rxjs/operator/concatAll', 'rxjs/util/EmptyError', 'rxjs/observable/fromPromise', 'rxjs/operator/last', 'rxjs/operator/mergeAll', '@angular/platform-browser', 'rxjs/operator/filter'], factory) :\n\t (factory((global.ng = global.ng || {}, global.ng.router = global.ng.router || {}),global.ng.common,global.ng.core,global.Rx,global.Rx,global.Rx.Observable,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.ng.platformBrowser,global.Rx.Observable.prototype));\n\t}(this, function (exports,_angular_common,_angular_core,rxjs_BehaviorSubject,rxjs_Subject,rxjs_observable_from,rxjs_observable_of,rxjs_operator_concatMap,rxjs_operator_every,rxjs_operator_first,rxjs_operator_map,rxjs_operator_mergeMap,rxjs_operator_reduce,rxjs_Observable,rxjs_operator_catch,rxjs_operator_concatAll,rxjs_util_EmptyError,rxjs_observable_fromPromise,l,rxjs_operator_mergeAll,_angular_platformBrowser,rxjs_operator_filter) { 'use strict';\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @whatItDoes Name of the primary outlet.\n\t *\n\t * @stable\n\t */\n\t var PRIMARY_OUTLET = 'primary';\n\t var NavigationCancelingError = (function (_super) {\n\t __extends(NavigationCancelingError, _super);\n\t function NavigationCancelingError(message) {\n\t _super.call(this, message);\n\t this.message = message;\n\t this.stack = (new Error(message)).stack;\n\t }\n\t NavigationCancelingError.prototype.toString = function () { return this.message; };\n\t return NavigationCancelingError;\n\t }(Error));\n\t function defaultUrlMatcher(segments, segmentGroup, route) {\n\t var path = route.path;\n\t var parts = path.split('/');\n\t var posParams = {};\n\t var consumed = [];\n\t var currentIndex = 0;\n\t for (var i = 0; i < parts.length; ++i) {\n\t if (currentIndex >= segments.length)\n\t return null;\n\t var current = segments[currentIndex];\n\t var p = parts[i];\n\t var isPosParam = p.startsWith(':');\n\t if (!isPosParam && p !== current.path)\n\t return null;\n\t if (isPosParam) {\n\t posParams[p.substring(1)] = current;\n\t }\n\t consumed.push(current);\n\t currentIndex++;\n\t }\n\t if (route.pathMatch === 'full' &&\n\t (segmentGroup.hasChildren() || currentIndex < segments.length)) {\n\t return null;\n\t }\n\t else {\n\t return { consumed: consumed, posParams: posParams };\n\t }\n\t }\n\t\n\t function shallowEqualArrays(a, b) {\n\t if (a.length !== b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (!shallowEqual(a[i], b[i]))\n\t return false;\n\t }\n\t return true;\n\t }\n\t function shallowEqual(a, b) {\n\t var k1 = Object.keys(a);\n\t var k2 = Object.keys(b);\n\t if (k1.length != k2.length) {\n\t return false;\n\t }\n\t var key;\n\t for (var i = 0; i < k1.length; i++) {\n\t key = k1[i];\n\t if (a[key] !== b[key]) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t function flatten(a) {\n\t var target = [];\n\t for (var i = 0; i < a.length; ++i) {\n\t for (var j = 0; j < a[i].length; ++j) {\n\t target.push(a[i][j]);\n\t }\n\t }\n\t return target;\n\t }\n\t function last(a) {\n\t return a.length > 0 ? a[a.length - 1] : null;\n\t }\n\t function merge(m1, m2) {\n\t var m = {};\n\t for (var attr in m1) {\n\t if (m1.hasOwnProperty(attr)) {\n\t m[attr] = m1[attr];\n\t }\n\t }\n\t for (var attr in m2) {\n\t if (m2.hasOwnProperty(attr)) {\n\t m[attr] = m2[attr];\n\t }\n\t }\n\t return m;\n\t }\n\t function forEach(map, callback) {\n\t for (var prop in map) {\n\t if (map.hasOwnProperty(prop)) {\n\t callback(map[prop], prop);\n\t }\n\t }\n\t }\n\t function waitForMap(obj, fn) {\n\t var waitFor = [];\n\t var res = {};\n\t forEach(obj, function (a, k) {\n\t if (k === PRIMARY_OUTLET) {\n\t waitFor.push(rxjs_operator_map.map.call(fn(k, a), function (_) {\n\t res[k] = _;\n\t return _;\n\t }));\n\t }\n\t });\n\t forEach(obj, function (a, k) {\n\t if (k !== PRIMARY_OUTLET) {\n\t waitFor.push(rxjs_operator_map.map.call(fn(k, a), function (_) {\n\t res[k] = _;\n\t return _;\n\t }));\n\t }\n\t });\n\t if (waitFor.length > 0) {\n\t var concatted$ = rxjs_operator_concatAll.concatAll.call(rxjs_observable_of.of.apply(void 0, waitFor));\n\t var last$ = l.last.call(concatted$);\n\t return rxjs_operator_map.map.call(last$, function () { return res; });\n\t }\n\t else {\n\t return rxjs_observable_of.of(res);\n\t }\n\t }\n\t function andObservables(observables) {\n\t var merged$ = rxjs_operator_mergeAll.mergeAll.call(observables);\n\t return rxjs_operator_every.every.call(merged$, function (result) { return result === true; });\n\t }\n\t function wrapIntoObservable(value) {\n\t if (value instanceof rxjs_Observable.Observable) {\n\t return value;\n\t }\n\t else if (value instanceof Promise) {\n\t return rxjs_observable_fromPromise.fromPromise(value);\n\t }\n\t else {\n\t return rxjs_observable_of.of(value);\n\t }\n\t }\n\t\n\t /**\n\t * @experimental\n\t */\n\t var ROUTES = new _angular_core.OpaqueToken('ROUTES');\n\t var LoadedRouterConfig = (function () {\n\t function LoadedRouterConfig(routes, injector, factoryResolver, injectorFactory) {\n\t this.routes = routes;\n\t this.injector = injector;\n\t this.factoryResolver = factoryResolver;\n\t this.injectorFactory = injectorFactory;\n\t }\n\t return LoadedRouterConfig;\n\t }());\n\t var RouterConfigLoader = (function () {\n\t function RouterConfigLoader(loader, compiler) {\n\t this.loader = loader;\n\t this.compiler = compiler;\n\t }\n\t RouterConfigLoader.prototype.load = function (parentInjector, loadChildren) {\n\t return rxjs_operator_map.map.call(this.loadModuleFactory(loadChildren), function (r) {\n\t var ref = r.create(parentInjector);\n\t var injectorFactory = function (parent) { return r.create(parent).injector; };\n\t return new LoadedRouterConfig(flatten(ref.injector.get(ROUTES)), ref.injector, ref.componentFactoryResolver, injectorFactory);\n\t });\n\t };\n\t RouterConfigLoader.prototype.loadModuleFactory = function (loadChildren) {\n\t var _this = this;\n\t if (typeof loadChildren === 'string') {\n\t return rxjs_observable_fromPromise.fromPromise(this.loader.load(loadChildren));\n\t }\n\t else {\n\t var offlineMode_1 = this.compiler instanceof _angular_core.Compiler;\n\t return rxjs_operator_mergeMap.mergeMap.call(wrapIntoObservable(loadChildren()), function (t) { return offlineMode_1 ? rxjs_observable_of.of(t) : rxjs_observable_fromPromise.fromPromise(_this.compiler.compileModuleAsync(t)); });\n\t }\n\t };\n\t return RouterConfigLoader;\n\t }());\n\t\n\t function createEmptyUrlTree() {\n\t return new UrlTree(new UrlSegmentGroup([], {}), {}, null);\n\t }\n\t function containsTree(container, containee, exact) {\n\t if (exact) {\n\t return equalQueryParams(container.queryParams, containee.queryParams) &&\n\t equalSegmentGroups(container.root, containee.root);\n\t }\n\t else {\n\t return containsQueryParams(container.queryParams, containee.queryParams) &&\n\t containsSegmentGroup(container.root, containee.root);\n\t }\n\t }\n\t function equalQueryParams(container, containee) {\n\t return shallowEqual(container, containee);\n\t }\n\t function equalSegmentGroups(container, containee) {\n\t if (!equalPath(container.segments, containee.segments))\n\t return false;\n\t if (container.numberOfChildren !== containee.numberOfChildren)\n\t return false;\n\t for (var c in containee.children) {\n\t if (!container.children[c])\n\t return false;\n\t if (!equalSegmentGroups(container.children[c], containee.children[c]))\n\t return false;\n\t }\n\t return true;\n\t }\n\t function containsQueryParams(container, containee) {\n\t return Object.keys(containee) <= Object.keys(container) &&\n\t Object.keys(containee).every(function (key) { return containee[key] === container[key]; });\n\t }\n\t function containsSegmentGroup(container, containee) {\n\t return containsSegmentGroupHelper(container, containee, containee.segments);\n\t }\n\t function containsSegmentGroupHelper(container, containee, containeePaths) {\n\t if (container.segments.length > containeePaths.length) {\n\t var current = container.segments.slice(0, containeePaths.length);\n\t if (!equalPath(current, containeePaths))\n\t return false;\n\t if (containee.hasChildren())\n\t return false;\n\t return true;\n\t }\n\t else if (container.segments.length === containeePaths.length) {\n\t if (!equalPath(container.segments, containeePaths))\n\t return false;\n\t for (var c in containee.children) {\n\t if (!container.children[c])\n\t return false;\n\t if (!containsSegmentGroup(container.children[c], containee.children[c]))\n\t return false;\n\t }\n\t return true;\n\t }\n\t else {\n\t var current = containeePaths.slice(0, container.segments.length);\n\t var next = containeePaths.slice(container.segments.length);\n\t if (!equalPath(container.segments, current))\n\t return false;\n\t if (!container.children[PRIMARY_OUTLET])\n\t return false;\n\t return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next);\n\t }\n\t }\n\t /**\n\t * @whatItDoes Represents the parsed URL.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'template.html'})\n\t * class MyComponent {\n\t * constructor(router: Router) {\n\t * const tree: UrlTree =\n\t * router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n\t * const f = tree.fragment; // return 'fragment'\n\t * const q = tree.queryParams; // returns {debug: 'true'}\n\t * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n\t * const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n\t * g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n\t * g.children['support'].segments; // return 1 segment 'help'\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @description\n\t *\n\t * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n\t * serialized tree.\n\t * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n\t *\n\t * @stable\n\t */\n\t var UrlTree = (function () {\n\t /**\n\t * @internal\n\t */\n\t function UrlTree(\n\t /**\n\t * The root segment group of the URL tree.\n\t */\n\t root, \n\t /**\n\t * The query params of the URL.\n\t */\n\t queryParams, \n\t /**\n\t * The fragment of the URL.\n\t */\n\t fragment) {\n\t this.root = root;\n\t this.queryParams = queryParams;\n\t this.fragment = fragment;\n\t }\n\t /**\n\t * @docsNotRequired\n\t */\n\t UrlTree.prototype.toString = function () { return new DefaultUrlSerializer().serialize(this); };\n\t return UrlTree;\n\t }());\n\t /**\n\t * @whatItDoes Represents the parsed URL segment.\n\t *\n\t * See {@link UrlTree} for more information.\n\t *\n\t * @stable\n\t */\n\t var UrlSegmentGroup = (function () {\n\t function UrlSegmentGroup(\n\t /**\n\t * The URL segments of this group. See {@link UrlSegment} for more information.\n\t */\n\t segments, \n\t /**\n\t * The list of children of this group.\n\t */\n\t children) {\n\t var _this = this;\n\t this.segments = segments;\n\t this.children = children;\n\t /**\n\t * The parent node in the url tree.\n\t */\n\t this.parent = null;\n\t forEach(children, function (v, k) { return v.parent = _this; });\n\t }\n\t /**\n\t * Return true if the segment has child segments\n\t */\n\t UrlSegmentGroup.prototype.hasChildren = function () { return this.numberOfChildren > 0; };\n\t Object.defineProperty(UrlSegmentGroup.prototype, \"numberOfChildren\", {\n\t /**\n\t * Returns the number of child sements.\n\t */\n\t get: function () { return Object.keys(this.children).length; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * @docsNotRequired\n\t */\n\t UrlSegmentGroup.prototype.toString = function () { return serializePaths(this); };\n\t return UrlSegmentGroup;\n\t }());\n\t /**\n\t * @whatItDoes Represents a single URL segment.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'template.html'})\n\t * class MyComponent {\n\t * constructor(router: Router) {\n\t * const tree: UrlTree = router.parseUrl('/team;id=33');\n\t * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n\t * const s: UrlSegment[] = g.segments;\n\t * s[0].path; // returns 'team'\n\t * s[0].parameters; // returns {id: 33}\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @description\n\t *\n\t * A UrlSegment is a part of a URL between the two slashes. It contains a path and\n\t * the matrix parameters associated with the segment.\n\t *\n\t * @stable\n\t */\n\t var UrlSegment = (function () {\n\t function UrlSegment(\n\t /**\n\t * The path part of a URL segment.\n\t */\n\t path, \n\t /**\n\t * The matrix parameters associated with a segment.\n\t */\n\t parameters) {\n\t this.path = path;\n\t this.parameters = parameters;\n\t }\n\t /**\n\t * @docsNotRequired\n\t */\n\t UrlSegment.prototype.toString = function () { return serializePath(this); };\n\t return UrlSegment;\n\t }());\n\t function equalSegments(a, b) {\n\t if (a.length !== b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (a[i].path !== b[i].path)\n\t return false;\n\t if (!shallowEqual(a[i].parameters, b[i].parameters))\n\t return false;\n\t }\n\t return true;\n\t }\n\t function equalPath(a, b) {\n\t if (a.length !== b.length)\n\t return false;\n\t for (var i = 0; i < a.length; ++i) {\n\t if (a[i].path !== b[i].path)\n\t return false;\n\t }\n\t return true;\n\t }\n\t function mapChildrenIntoArray(segment, fn) {\n\t var res = [];\n\t forEach(segment.children, function (child, childOutlet) {\n\t if (childOutlet === PRIMARY_OUTLET) {\n\t res = res.concat(fn(child, childOutlet));\n\t }\n\t });\n\t forEach(segment.children, function (child, childOutlet) {\n\t if (childOutlet !== PRIMARY_OUTLET) {\n\t res = res.concat(fn(child, childOutlet));\n\t }\n\t });\n\t return res;\n\t }\n\t /**\n\t * @whatItDoes Serializes and deserializes a URL string into a URL tree.\n\t *\n\t * @description The url serialization strategy is customizable. You can\n\t * make all URLs case insensitive by providing a custom UrlSerializer.\n\t *\n\t * See {@link DefaultUrlSerializer} for an example of a URL serializer.\n\t *\n\t * @stable\n\t */\n\t var UrlSerializer = (function () {\n\t function UrlSerializer() {\n\t }\n\t return UrlSerializer;\n\t }());\n\t /**\n\t * @whatItDoes A default implementation of the {@link UrlSerializer}.\n\t *\n\t * @description\n\t *\n\t * Example URLs:\n\t *\n\t * ```\n\t * /inbox/33(popup:compose)\n\t * /inbox/33;open=true/messages/44\n\t * ```\n\t *\n\t * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n\t * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n\t * specify route specific parameters.\n\t *\n\t * @stable\n\t */\n\t var DefaultUrlSerializer = (function () {\n\t function DefaultUrlSerializer() {\n\t }\n\t /**\n\t * Parse a url into a {@link UrlTree}.\n\t */\n\t DefaultUrlSerializer.prototype.parse = function (url) {\n\t var p = new UrlParser(url);\n\t return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n\t };\n\t /**\n\t * Converts a {@link UrlTree} into a url.\n\t */\n\t DefaultUrlSerializer.prototype.serialize = function (tree) {\n\t var segment = \"/\" + serializeSegment(tree.root, true);\n\t var query = serializeQueryParams(tree.queryParams);\n\t var fragment = tree.fragment !== null && tree.fragment !== undefined ? \"#\" + encodeURI(tree.fragment) : '';\n\t return \"\" + segment + query + fragment;\n\t };\n\t return DefaultUrlSerializer;\n\t }());\n\t function serializePaths(segment) {\n\t return segment.segments.map(function (p) { return serializePath(p); }).join('/');\n\t }\n\t function serializeSegment(segment, root) {\n\t if (segment.hasChildren() && root) {\n\t var primary = segment.children[PRIMARY_OUTLET] ?\n\t serializeSegment(segment.children[PRIMARY_OUTLET], false) :\n\t '';\n\t var children_1 = [];\n\t forEach(segment.children, function (v, k) {\n\t if (k !== PRIMARY_OUTLET) {\n\t children_1.push(k + \":\" + serializeSegment(v, false));\n\t }\n\t });\n\t if (children_1.length > 0) {\n\t return primary + \"(\" + children_1.join('//') + \")\";\n\t }\n\t else {\n\t return \"\" + primary;\n\t }\n\t }\n\t else if (segment.hasChildren() && !root) {\n\t var children = mapChildrenIntoArray(segment, function (v, k) {\n\t if (k === PRIMARY_OUTLET) {\n\t return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n\t }\n\t else {\n\t return [(k + \":\" + serializeSegment(v, false))];\n\t }\n\t });\n\t return serializePaths(segment) + \"/(\" + children.join('//') + \")\";\n\t }\n\t else {\n\t return serializePaths(segment);\n\t }\n\t }\n\t function encode(s) {\n\t return encodeURIComponent(s);\n\t }\n\t function decode(s) {\n\t return decodeURIComponent(s);\n\t }\n\t function serializePath(path) {\n\t return \"\" + encode(path.path) + serializeParams(path.parameters);\n\t }\n\t function serializeParams(params) {\n\t return pairs(params).map(function (p) { return (\";\" + encode(p.first) + \"=\" + encode(p.second)); }).join('');\n\t }\n\t function serializeQueryParams(params) {\n\t var strs = pairs(params).map(function (p) { return (encode(p.first) + \"=\" + encode(p.second)); });\n\t return strs.length > 0 ? \"?\" + strs.join(\"&\") : '';\n\t }\n\t var Pair = (function () {\n\t function Pair(first, second) {\n\t this.first = first;\n\t this.second = second;\n\t }\n\t return Pair;\n\t }());\n\t function pairs(obj) {\n\t var res = [];\n\t for (var prop in obj) {\n\t if (obj.hasOwnProperty(prop)) {\n\t res.push(new Pair(prop, obj[prop]));\n\t }\n\t }\n\t return res;\n\t }\n\t var SEGMENT_RE = /^[^\\/\\(\\)\\?;=&#]+/;\n\t function matchSegments(str) {\n\t SEGMENT_RE.lastIndex = 0;\n\t var match = str.match(SEGMENT_RE);\n\t return match ? match[0] : '';\n\t }\n\t var QUERY_PARAM_RE = /^[^=\\?&#]+/;\n\t function matchQueryParams(str) {\n\t QUERY_PARAM_RE.lastIndex = 0;\n\t var match = str.match(SEGMENT_RE);\n\t return match ? match[0] : '';\n\t }\n\t var QUERY_PARAM_VALUE_RE = /^[^\\?&#]+/;\n\t function matchUrlQueryParamValue(str) {\n\t QUERY_PARAM_VALUE_RE.lastIndex = 0;\n\t var match = str.match(QUERY_PARAM_VALUE_RE);\n\t return match ? match[0] : '';\n\t }\n\t var UrlParser = (function () {\n\t function UrlParser(url) {\n\t this.url = url;\n\t this.remaining = url;\n\t }\n\t UrlParser.prototype.peekStartsWith = function (str) { return this.remaining.startsWith(str); };\n\t UrlParser.prototype.capture = function (str) {\n\t if (!this.remaining.startsWith(str)) {\n\t throw new Error(\"Expected \\\"\" + str + \"\\\".\");\n\t }\n\t this.remaining = this.remaining.substring(str.length);\n\t };\n\t UrlParser.prototype.parseRootSegment = function () {\n\t if (this.remaining.startsWith('/')) {\n\t this.capture('/');\n\t }\n\t if (this.remaining === '' || this.remaining.startsWith('?') || this.remaining.startsWith('#')) {\n\t return new UrlSegmentGroup([], {});\n\t }\n\t else {\n\t return new UrlSegmentGroup([], this.parseChildren());\n\t }\n\t };\n\t UrlParser.prototype.parseChildren = function () {\n\t if (this.remaining.length == 0) {\n\t return {};\n\t }\n\t if (this.peekStartsWith('/')) {\n\t this.capture('/');\n\t }\n\t var paths = [];\n\t if (!this.peekStartsWith('(')) {\n\t paths.push(this.parseSegments());\n\t }\n\t while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n\t this.capture('/');\n\t paths.push(this.parseSegments());\n\t }\n\t var children = {};\n\t if (this.peekStartsWith('/(')) {\n\t this.capture('/');\n\t children = this.parseParens(true);\n\t }\n\t var res = {};\n\t if (this.peekStartsWith('(')) {\n\t res = this.parseParens(false);\n\t }\n\t if (paths.length > 0 || Object.keys(children).length > 0) {\n\t res[PRIMARY_OUTLET] = new UrlSegmentGroup(paths, children);\n\t }\n\t return res;\n\t };\n\t UrlParser.prototype.parseSegments = function () {\n\t var path = matchSegments(this.remaining);\n\t if (path === '' && this.peekStartsWith(';')) {\n\t throw new Error(\"Empty path url segment cannot have parameters: '\" + this.remaining + \"'.\");\n\t }\n\t this.capture(path);\n\t var matrixParams = {};\n\t if (this.peekStartsWith(';')) {\n\t matrixParams = this.parseMatrixParams();\n\t }\n\t return new UrlSegment(decode(path), matrixParams);\n\t };\n\t UrlParser.prototype.parseQueryParams = function () {\n\t var params = {};\n\t if (this.peekStartsWith('?')) {\n\t this.capture('?');\n\t this.parseQueryParam(params);\n\t while (this.remaining.length > 0 && this.peekStartsWith('&')) {\n\t this.capture('&');\n\t this.parseQueryParam(params);\n\t }\n\t }\n\t return params;\n\t };\n\t UrlParser.prototype.parseFragment = function () {\n\t if (this.peekStartsWith('#')) {\n\t return decodeURI(this.remaining.substring(1));\n\t }\n\t else {\n\t return null;\n\t }\n\t };\n\t UrlParser.prototype.parseMatrixParams = function () {\n\t var params = {};\n\t while (this.remaining.length > 0 && this.peekStartsWith(';')) {\n\t this.capture(';');\n\t this.parseParam(params);\n\t }\n\t return params;\n\t };\n\t UrlParser.prototype.parseParam = function (params) {\n\t var key = matchSegments(this.remaining);\n\t if (!key) {\n\t return;\n\t }\n\t this.capture(key);\n\t var value = '';\n\t if (this.peekStartsWith('=')) {\n\t this.capture('=');\n\t var valueMatch = matchSegments(this.remaining);\n\t if (valueMatch) {\n\t value = valueMatch;\n\t this.capture(value);\n\t }\n\t }\n\t params[decode(key)] = decode(value);\n\t };\n\t UrlParser.prototype.parseQueryParam = function (params) {\n\t var key = matchQueryParams(this.remaining);\n\t if (!key) {\n\t return;\n\t }\n\t this.capture(key);\n\t var value = '';\n\t if (this.peekStartsWith('=')) {\n\t this.capture('=');\n\t var valueMatch = matchUrlQueryParamValue(this.remaining);\n\t if (valueMatch) {\n\t value = valueMatch;\n\t this.capture(value);\n\t }\n\t }\n\t params[decode(key)] = decode(value);\n\t };\n\t UrlParser.prototype.parseParens = function (allowPrimary) {\n\t var segments = {};\n\t this.capture('(');\n\t while (!this.peekStartsWith(')') && this.remaining.length > 0) {\n\t var path = matchSegments(this.remaining);\n\t var next = this.remaining[path.length];\n\t // if is is not one of these characters, then the segment was unescaped\n\t // or the group was not closed\n\t if (next !== '/' && next !== ')' && next !== ';') {\n\t throw new Error(\"Cannot parse url '\" + this.url + \"'\");\n\t }\n\t var outletName = void 0;\n\t if (path.indexOf(':') > -1) {\n\t outletName = path.substr(0, path.indexOf(':'));\n\t this.capture(outletName);\n\t this.capture(':');\n\t }\n\t else if (allowPrimary) {\n\t outletName = PRIMARY_OUTLET;\n\t }\n\t var children = this.parseChildren();\n\t segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] :\n\t new UrlSegmentGroup([], children);\n\t if (this.peekStartsWith('//')) {\n\t this.capture('//');\n\t }\n\t }\n\t this.capture(')');\n\t return segments;\n\t };\n\t return UrlParser;\n\t }());\n\t\n\t var NoMatch = (function () {\n\t function NoMatch(segmentGroup) {\n\t if (segmentGroup === void 0) { segmentGroup = null; }\n\t this.segmentGroup = segmentGroup;\n\t }\n\t return NoMatch;\n\t }());\n\t var AbsoluteRedirect = (function () {\n\t function AbsoluteRedirect(urlTree) {\n\t this.urlTree = urlTree;\n\t }\n\t return AbsoluteRedirect;\n\t }());\n\t function noMatch(segmentGroup) {\n\t return new rxjs_Observable.Observable(function (obs) { return obs.error(new NoMatch(segmentGroup)); });\n\t }\n\t function absoluteRedirect(newTree) {\n\t return new rxjs_Observable.Observable(function (obs) { return obs.error(new AbsoluteRedirect(newTree)); });\n\t }\n\t function namedOutletsRedirect(redirectTo) {\n\t return new rxjs_Observable.Observable(function (obs) { return obs.error(new Error(\"Only absolute redirects can have named outlets. redirectTo: '\" + redirectTo + \"'\")); });\n\t }\n\t function canLoadFails(route) {\n\t return new rxjs_Observable.Observable(function (obs) { return obs.error(new NavigationCancelingError(\"Cannot load children because the guard of the route \\\"path: '\" + route.path + \"'\\\" returned false\")); });\n\t }\n\t function applyRedirects(injector, configLoader, urlSerializer, urlTree, config) {\n\t return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();\n\t }\n\t var ApplyRedirects = (function () {\n\t function ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config) {\n\t this.injector = injector;\n\t this.configLoader = configLoader;\n\t this.urlSerializer = urlSerializer;\n\t this.urlTree = urlTree;\n\t this.config = config;\n\t this.allowRedirects = true;\n\t }\n\t ApplyRedirects.prototype.apply = function () {\n\t var _this = this;\n\t var expanded$ = this.expandSegmentGroup(this.injector, this.config, this.urlTree.root, PRIMARY_OUTLET);\n\t var urlTrees$ = rxjs_operator_map.map.call(expanded$, function (rootSegmentGroup) { return _this.createUrlTree(rootSegmentGroup, _this.urlTree.queryParams, _this.urlTree.fragment); });\n\t return rxjs_operator_catch._catch.call(urlTrees$, function (e) {\n\t if (e instanceof AbsoluteRedirect) {\n\t // after an absolute redirect we do not apply any more redirects!\n\t _this.allowRedirects = false;\n\t // we need to run matching, so we can fetch all lazy-loaded modules\n\t return _this.match(e.urlTree);\n\t }\n\t else if (e instanceof NoMatch) {\n\t throw _this.noMatchError(e);\n\t }\n\t else {\n\t throw e;\n\t }\n\t });\n\t };\n\t ApplyRedirects.prototype.match = function (tree) {\n\t var _this = this;\n\t var expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);\n\t var mapped$ = rxjs_operator_map.map.call(expanded$, function (rootSegmentGroup) {\n\t return _this.createUrlTree(rootSegmentGroup, tree.queryParams, tree.fragment);\n\t });\n\t return rxjs_operator_catch._catch.call(mapped$, function (e) {\n\t if (e instanceof NoMatch) {\n\t throw _this.noMatchError(e);\n\t }\n\t else {\n\t throw e;\n\t }\n\t });\n\t };\n\t ApplyRedirects.prototype.noMatchError = function (e) {\n\t return new Error(\"Cannot match any routes. URL Segment: '\" + e.segmentGroup + \"'\");\n\t };\n\t ApplyRedirects.prototype.createUrlTree = function (rootCandidate, queryParams, fragment) {\n\t var root = rootCandidate.segments.length > 0 ?\n\t new UrlSegmentGroup([], (_a = {}, _a[PRIMARY_OUTLET] = rootCandidate, _a)) :\n\t rootCandidate;\n\t return new UrlTree(root, queryParams, fragment);\n\t var _a;\n\t };\n\t ApplyRedirects.prototype.expandSegmentGroup = function (injector, routes, segmentGroup, outlet) {\n\t if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n\t return rxjs_operator_map.map.call(this.expandChildren(injector, routes, segmentGroup), function (children) { return new UrlSegmentGroup([], children); });\n\t }\n\t else {\n\t return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);\n\t }\n\t };\n\t ApplyRedirects.prototype.expandChildren = function (injector, routes, segmentGroup) {\n\t var _this = this;\n\t return waitForMap(segmentGroup.children, function (childOutlet, child) { return _this.expandSegmentGroup(injector, routes, child, childOutlet); });\n\t };\n\t ApplyRedirects.prototype.expandSegment = function (injector, segmentGroup, routes, segments, outlet, allowRedirects) {\n\t var _this = this;\n\t var routes$ = rxjs_observable_of.of.apply(void 0, routes);\n\t var processedRoutes$ = rxjs_operator_map.map.call(routes$, function (r) {\n\t var expanded$ = _this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);\n\t return rxjs_operator_catch._catch.call(expanded$, function (e) {\n\t if (e instanceof NoMatch)\n\t return rxjs_observable_of.of(null);\n\t else\n\t throw e;\n\t });\n\t });\n\t var concattedProcessedRoutes$ = rxjs_operator_concatAll.concatAll.call(processedRoutes$);\n\t var first$ = rxjs_operator_first.first.call(concattedProcessedRoutes$, function (s) { return !!s; });\n\t return rxjs_operator_catch._catch.call(first$, function (e, _) {\n\t if (e instanceof rxjs_util_EmptyError.EmptyError) {\n\t if (_this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n\t return rxjs_observable_of.of(new UrlSegmentGroup([], {}));\n\t }\n\t else {\n\t throw new NoMatch(segmentGroup);\n\t }\n\t }\n\t else {\n\t throw e;\n\t }\n\t });\n\t };\n\t ApplyRedirects.prototype.noLeftoversInUrl = function (segmentGroup, segments, outlet) {\n\t return segments.length === 0 && !segmentGroup.children[outlet];\n\t };\n\t ApplyRedirects.prototype.expandSegmentAgainstRoute = function (injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n\t if (getOutlet$1(route) !== outlet)\n\t return noMatch(segmentGroup);\n\t if (route.redirectTo !== undefined && !(allowRedirects && this.allowRedirects))\n\t return noMatch(segmentGroup);\n\t if (route.redirectTo === undefined) {\n\t return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths);\n\t }\n\t else {\n\t return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);\n\t }\n\t };\n\t ApplyRedirects.prototype.expandSegmentAgainstRouteUsingRedirect = function (injector, segmentGroup, routes, route, segments, outlet) {\n\t if (route.path === '**') {\n\t return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);\n\t }\n\t else {\n\t return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);\n\t }\n\t };\n\t ApplyRedirects.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect = function (injector, routes, route, outlet) {\n\t var _this = this;\n\t var newTree = this.applyRedirectCommands([], route.redirectTo, {});\n\t if (route.redirectTo.startsWith('/')) {\n\t return absoluteRedirect(newTree);\n\t }\n\t else {\n\t return rxjs_operator_mergeMap.mergeMap.call(this.lineralizeSegments(route, newTree), function (newSegments) {\n\t var group = new UrlSegmentGroup(newSegments, {});\n\t return _this.expandSegment(injector, group, routes, newSegments, outlet, false);\n\t });\n\t }\n\t };\n\t ApplyRedirects.prototype.expandRegularSegmentAgainstRouteUsingRedirect = function (injector, segmentGroup, routes, route, segments, outlet) {\n\t var _this = this;\n\t var _a = match(segmentGroup, route, segments), matched = _a.matched, consumedSegments = _a.consumedSegments, lastChild = _a.lastChild, positionalParamSegments = _a.positionalParamSegments;\n\t if (!matched)\n\t return noMatch(segmentGroup);\n\t var newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);\n\t if (route.redirectTo.startsWith('/')) {\n\t return absoluteRedirect(newTree);\n\t }\n\t else {\n\t return rxjs_operator_mergeMap.mergeMap.call(this.lineralizeSegments(route, newTree), function (newSegments) {\n\t return _this.expandSegment(injector, segmentGroup, routes, newSegments.concat(segments.slice(lastChild)), outlet, false);\n\t });\n\t }\n\t };\n\t ApplyRedirects.prototype.matchSegmentAgainstRoute = function (injector, rawSegmentGroup, route, segments) {\n\t var _this = this;\n\t if (route.path === '**') {\n\t if (route.loadChildren) {\n\t return rxjs_operator_map.map.call(this.configLoader.load(injector, route.loadChildren), function (r) {\n\t route._loadedConfig = r;\n\t return rxjs_observable_of.of(new UrlSegmentGroup(segments, {}));\n\t });\n\t }\n\t else {\n\t return rxjs_observable_of.of(new UrlSegmentGroup(segments, {}));\n\t }\n\t }\n\t else {\n\t var _a = match(rawSegmentGroup, route, segments), matched = _a.matched, consumedSegments_1 = _a.consumedSegments, lastChild = _a.lastChild;\n\t if (!matched)\n\t return noMatch(rawSegmentGroup);\n\t var rawSlicedSegments_1 = segments.slice(lastChild);\n\t var childConfig$ = this.getChildConfig(injector, route);\n\t return rxjs_operator_mergeMap.mergeMap.call(childConfig$, function (routerConfig) {\n\t var childInjector = routerConfig.injector;\n\t var childConfig = routerConfig.routes;\n\t var _a = split(rawSegmentGroup, consumedSegments_1, rawSlicedSegments_1, childConfig), segmentGroup = _a.segmentGroup, slicedSegments = _a.slicedSegments;\n\t if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n\t var expanded$ = _this.expandChildren(childInjector, childConfig, segmentGroup);\n\t return rxjs_operator_map.map.call(expanded$, function (children) { return new UrlSegmentGroup(consumedSegments_1, children); });\n\t }\n\t else if (childConfig.length === 0 && slicedSegments.length === 0) {\n\t return rxjs_observable_of.of(new UrlSegmentGroup(consumedSegments_1, {}));\n\t }\n\t else {\n\t var expanded$ = _this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, PRIMARY_OUTLET, true);\n\t return rxjs_operator_map.map.call(expanded$, function (cs) { return new UrlSegmentGroup(consumedSegments_1.concat(cs.segments), cs.children); });\n\t }\n\t });\n\t }\n\t };\n\t ApplyRedirects.prototype.getChildConfig = function (injector, route) {\n\t var _this = this;\n\t if (route.children) {\n\t return rxjs_observable_of.of(new LoadedRouterConfig(route.children, injector, null, null));\n\t }\n\t else if (route.loadChildren) {\n\t return rxjs_operator_mergeMap.mergeMap.call(runGuards(injector, route), function (shouldLoad) {\n\t if (shouldLoad) {\n\t if (route._loadedConfig) {\n\t return rxjs_observable_of.of(route._loadedConfig);\n\t }\n\t else {\n\t return rxjs_operator_map.map.call(_this.configLoader.load(injector, route.loadChildren), function (r) {\n\t route._loadedConfig = r;\n\t return r;\n\t });\n\t }\n\t }\n\t else {\n\t return canLoadFails(route);\n\t }\n\t });\n\t }\n\t else {\n\t return rxjs_observable_of.of(new LoadedRouterConfig([], injector, null, null));\n\t }\n\t };\n\t ApplyRedirects.prototype.lineralizeSegments = function (route, urlTree) {\n\t var res = [];\n\t var c = urlTree.root;\n\t while (true) {\n\t res = res.concat(c.segments);\n\t if (c.numberOfChildren === 0) {\n\t return rxjs_observable_of.of(res);\n\t }\n\t else if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n\t return namedOutletsRedirect(route.redirectTo);\n\t }\n\t else {\n\t c = c.children[PRIMARY_OUTLET];\n\t }\n\t }\n\t };\n\t ApplyRedirects.prototype.applyRedirectCommands = function (segments, redirectTo, posParams) {\n\t var t = this.urlSerializer.parse(redirectTo);\n\t return this.applyRedirectCreatreUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n\t };\n\t ApplyRedirects.prototype.applyRedirectCreatreUrlTree = function (redirectTo, urlTree, segments, posParams) {\n\t var newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n\t return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n\t };\n\t ApplyRedirects.prototype.createQueryParams = function (redirectToParams, actualParams) {\n\t var res = {};\n\t forEach(redirectToParams, function (v, k) {\n\t if (v.startsWith(':')) {\n\t res[k] = actualParams[v.substring(1)];\n\t }\n\t else {\n\t res[k] = v;\n\t }\n\t });\n\t return res;\n\t };\n\t ApplyRedirects.prototype.createSegmentGroup = function (redirectTo, group, segments, posParams) {\n\t var _this = this;\n\t var updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n\t var children = {};\n\t forEach(group.children, function (child, name) {\n\t children[name] = _this.createSegmentGroup(redirectTo, child, segments, posParams);\n\t });\n\t return new UrlSegmentGroup(updatedSegments, children);\n\t };\n\t ApplyRedirects.prototype.createSegments = function (redirectTo, redirectToSegments, actualSegments, posParams) {\n\t var _this = this;\n\t return redirectToSegments.map(function (s) { return s.path.startsWith(':') ? _this.findPosParam(redirectTo, s, posParams) :\n\t _this.findOrReturn(s, actualSegments); });\n\t };\n\t ApplyRedirects.prototype.findPosParam = function (redirectTo, redirectToUrlSegment, posParams) {\n\t var pos = posParams[redirectToUrlSegment.path.substring(1)];\n\t if (!pos)\n\t throw new Error(\"Cannot redirect to '\" + redirectTo + \"'. Cannot find '\" + redirectToUrlSegment.path + \"'.\");\n\t return pos;\n\t };\n\t ApplyRedirects.prototype.findOrReturn = function (redirectToUrlSegment, actualSegments) {\n\t var idx = 0;\n\t for (var _i = 0, actualSegments_1 = actualSegments; _i < actualSegments_1.length; _i++) {\n\t var s = actualSegments_1[_i];\n\t if (s.path === redirectToUrlSegment.path) {\n\t actualSegments.splice(idx);\n\t return s;\n\t }\n\t idx++;\n\t }\n\t return redirectToUrlSegment;\n\t };\n\t return ApplyRedirects;\n\t }());\n\t function runGuards(injector, route) {\n\t var canLoad = route.canLoad;\n\t if (!canLoad || canLoad.length === 0)\n\t return rxjs_observable_of.of(true);\n\t var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(canLoad), function (c) {\n\t var guard = injector.get(c);\n\t if (guard.canLoad) {\n\t return wrapIntoObservable(guard.canLoad(route));\n\t }\n\t else {\n\t return wrapIntoObservable(guard(route));\n\t }\n\t });\n\t return andObservables(obs);\n\t }\n\t function match(segmentGroup, route, segments) {\n\t var noMatch = { matched: false, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n\t if (route.path === '') {\n\t if ((route.pathMatch === 'full') && (segmentGroup.hasChildren() || segments.length > 0)) {\n\t return { matched: false, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n\t }\n\t else {\n\t return { matched: true, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n\t }\n\t }\n\t var matcher = route.matcher || defaultUrlMatcher;\n\t var res = matcher(segments, segmentGroup, route);\n\t if (!res)\n\t return noMatch;\n\t return {\n\t matched: true,\n\t consumedSegments: res.consumed,\n\t lastChild: res.consumed.length,\n\t positionalParamSegments: res.posParams\n\t };\n\t }\n\t function split(segmentGroup, consumedSegments, slicedSegments, config) {\n\t if (slicedSegments.length > 0 &&\n\t containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n\t var s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptySegments(config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n\t return { segmentGroup: mergeTrivialChildren(s), slicedSegments: [] };\n\t }\n\t else if (slicedSegments.length === 0 &&\n\t containsEmptyPathRedirects(segmentGroup, slicedSegments, config)) {\n\t var s = new UrlSegmentGroup(segmentGroup.segments, addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n\t return { segmentGroup: mergeTrivialChildren(s), slicedSegments: slicedSegments };\n\t }\n\t else {\n\t return { segmentGroup: segmentGroup, slicedSegments: slicedSegments };\n\t }\n\t }\n\t function mergeTrivialChildren(s) {\n\t if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n\t var c = s.children[PRIMARY_OUTLET];\n\t return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n\t }\n\t else {\n\t return s;\n\t }\n\t }\n\t function addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n\t var res = {};\n\t for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n\t var r = routes_1[_i];\n\t if (emptyPathRedirect(segmentGroup, slicedSegments, r) && !children[getOutlet$1(r)]) {\n\t res[getOutlet$1(r)] = new UrlSegmentGroup([], {});\n\t }\n\t }\n\t return merge(children, res);\n\t }\n\t function createChildrenForEmptySegments(routes, primarySegmentGroup) {\n\t var res = {};\n\t res[PRIMARY_OUTLET] = primarySegmentGroup;\n\t for (var _i = 0, routes_2 = routes; _i < routes_2.length; _i++) {\n\t var r = routes_2[_i];\n\t if (r.path === '' && getOutlet$1(r) !== PRIMARY_OUTLET) {\n\t res[getOutlet$1(r)] = new UrlSegmentGroup([], {});\n\t }\n\t }\n\t return res;\n\t }\n\t function containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n\t return routes\n\t .filter(function (r) { return emptyPathRedirect(segmentGroup, slicedSegments, r) &&\n\t getOutlet$1(r) !== PRIMARY_OUTLET; })\n\t .length > 0;\n\t }\n\t function containsEmptyPathRedirects(segmentGroup, slicedSegments, routes) {\n\t return routes.filter(function (r) { return emptyPathRedirect(segmentGroup, slicedSegments, r); }).length > 0;\n\t }\n\t function emptyPathRedirect(segmentGroup, slicedSegments, r) {\n\t if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full')\n\t return false;\n\t return r.path === '' && r.redirectTo !== undefined;\n\t }\n\t function getOutlet$1(route) {\n\t return route.outlet ? route.outlet : PRIMARY_OUTLET;\n\t }\n\t\n\t function validateConfig(config) {\n\t // forEach doesn't iterate undefined values\n\t for (var i = 0; i < config.length; i++) {\n\t validateNode(config[i]);\n\t }\n\t }\n\t function validateNode(route) {\n\t if (!route) {\n\t throw new Error(\"\\n Invalid route configuration: Encountered undefined route.\\n The reason might be an extra comma.\\n \\n Example: \\n const routes: Routes = [\\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\\n { path: 'dashboard', component: DashboardComponent },, << two commas\\n { path: 'detail/:id', component: HeroDetailComponent }\\n ];\\n \");\n\t }\n\t if (Array.isArray(route)) {\n\t throw new Error(\"Invalid route configuration: Array cannot be specified\");\n\t }\n\t if (route.component === undefined && (route.outlet && route.outlet !== PRIMARY_OUTLET)) {\n\t throw new Error(\"Invalid route configuration of route '\" + route.path + \"': a componentless route cannot have a named outlet set\");\n\t }\n\t if (!!route.redirectTo && !!route.children) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and children cannot be used together\");\n\t }\n\t if (!!route.redirectTo && !!route.loadChildren) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and loadChildren cannot be used together\");\n\t }\n\t if (!!route.children && !!route.loadChildren) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': children and loadChildren cannot be used together\");\n\t }\n\t if (!!route.redirectTo && !!route.component) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and component cannot be used together\");\n\t }\n\t if (!!route.path && !!route.matcher) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': path and matcher cannot be used together\");\n\t }\n\t if (route.redirectTo === undefined && !route.component && !route.children &&\n\t !route.loadChildren) {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': one of the following must be provided (component or redirectTo or children or loadChildren)\");\n\t }\n\t if (route.path === undefined) {\n\t throw new Error(\"Invalid route configuration: routes must have path specified\");\n\t }\n\t if (route.path.startsWith('/')) {\n\t throw new Error(\"Invalid route configuration of route '\" + route.path + \"': path cannot start with a slash\");\n\t }\n\t if (route.path === '' && route.redirectTo !== undefined && route.pathMatch === undefined) {\n\t var exp = \"The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.\";\n\t throw new Error(\"Invalid route configuration of route '{path: \\\"\" + route.path + \"\\\", redirectTo: \\\"\" + route.redirectTo + \"\\\"}': please provide 'pathMatch'. \" + exp);\n\t }\n\t if (route.pathMatch !== undefined && route.pathMatch !== 'full' && route.pathMatch !== 'prefix') {\n\t throw new Error(\"Invalid configuration of route '\" + route.path + \"': pathMatch can only be set to 'prefix' or 'full'\");\n\t }\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var Tree = (function () {\n\t function Tree(root) {\n\t this._root = root;\n\t }\n\t Object.defineProperty(Tree.prototype, \"root\", {\n\t get: function () { return this._root.value; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * @internal\n\t */\n\t Tree.prototype.parent = function (t) {\n\t var p = this.pathFromRoot(t);\n\t return p.length > 1 ? p[p.length - 2] : null;\n\t };\n\t /**\n\t * @internal\n\t */\n\t Tree.prototype.children = function (t) {\n\t var n = findNode(t, this._root);\n\t return n ? n.children.map(function (t) { return t.value; }) : [];\n\t };\n\t /**\n\t * @internal\n\t */\n\t Tree.prototype.firstChild = function (t) {\n\t var n = findNode(t, this._root);\n\t return n && n.children.length > 0 ? n.children[0].value : null;\n\t };\n\t /**\n\t * @internal\n\t */\n\t Tree.prototype.siblings = function (t) {\n\t var p = findPath(t, this._root, []);\n\t if (p.length < 2)\n\t return [];\n\t var c = p[p.length - 2].children.map(function (c) { return c.value; });\n\t return c.filter(function (cc) { return cc !== t; });\n\t };\n\t /**\n\t * @internal\n\t */\n\t Tree.prototype.pathFromRoot = function (t) { return findPath(t, this._root, []).map(function (s) { return s.value; }); };\n\t return Tree;\n\t }());\n\t function findNode(expected, c) {\n\t if (expected === c.value)\n\t return c;\n\t for (var _i = 0, _a = c.children; _i < _a.length; _i++) {\n\t var cc = _a[_i];\n\t var r = findNode(expected, cc);\n\t if (r)\n\t return r;\n\t }\n\t return null;\n\t }\n\t function findPath(expected, c, collected) {\n\t collected.push(c);\n\t if (expected === c.value)\n\t return collected;\n\t for (var _i = 0, _a = c.children; _i < _a.length; _i++) {\n\t var cc = _a[_i];\n\t var cloned = collected.slice(0);\n\t var r = findPath(expected, cc, cloned);\n\t if (r.length > 0)\n\t return r;\n\t }\n\t return [];\n\t }\n\t var TreeNode = (function () {\n\t function TreeNode(value, children) {\n\t this.value = value;\n\t this.children = children;\n\t }\n\t TreeNode.prototype.toString = function () { return \"TreeNode(\" + this.value + \")\"; };\n\t return TreeNode;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t var __extends$1 = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t };\n\t /**\n\t * @whatItDoes Represents the state of the router.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'template.html'})\n\t * class MyComponent {\n\t * constructor(router: Router) {\n\t * const state: RouterState = router.routerState;\n\t * const root: ActivatedRoute = state.root;\n\t * const child = root.firstChild;\n\t * const id: Observable<string> = child.params.map(p => p.id);\n\t * //...\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @description\n\t * RouterState is a tree of activated routes. Every node in this tree knows about the \"consumed\" URL\n\t * segments,\n\t * the extracted parameters, and the resolved data.\n\t *\n\t * See {@link ActivatedRoute} for more information.\n\t *\n\t * @stable\n\t */\n\t var RouterState = (function (_super) {\n\t __extends$1(RouterState, _super);\n\t /**\n\t * @internal\n\t */\n\t function RouterState(root, \n\t /**\n\t * The current snapshot of the router state.\n\t */\n\t snapshot) {\n\t _super.call(this, root);\n\t this.snapshot = snapshot;\n\t setRouterStateSnapshot(this, root);\n\t }\n\t RouterState.prototype.toString = function () { return this.snapshot.toString(); };\n\t return RouterState;\n\t }(Tree));\n\t function createEmptyState(urlTree, rootComponent) {\n\t var snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n\t var emptyUrl = new rxjs_BehaviorSubject.BehaviorSubject([new UrlSegment('', {})]);\n\t var emptyParams = new rxjs_BehaviorSubject.BehaviorSubject({});\n\t var emptyData = new rxjs_BehaviorSubject.BehaviorSubject({});\n\t var emptyQueryParams = new rxjs_BehaviorSubject.BehaviorSubject({});\n\t var fragment = new rxjs_BehaviorSubject.BehaviorSubject('');\n\t var activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n\t activated.snapshot = snapshot.root;\n\t return new RouterState(new TreeNode(activated, []), snapshot);\n\t }\n\t function createEmptyStateSnapshot(urlTree, rootComponent) {\n\t var emptyParams = {};\n\t var emptyData = {};\n\t var emptyQueryParams = {};\n\t var fragment = '';\n\t var activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n\t return new RouterStateSnapshot('', new TreeNode(activated, []));\n\t }\n\t /**\n\t * @whatItDoes Contains the information about a route associated with a component loaded in an\n\t * outlet.\n\t * ActivatedRoute can also be used to traverse the router state tree.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'./my-component.html'})\n\t * class MyComponent {\n\t * constructor(route: ActivatedRoute) {\n\t * const id: Observable<string> = route.params.map(p => p.id);\n\t * const url: Observable<string> = route.url.map(s => s.join(''));\n\t * const user = route.data.map(d => d.user); //includes `data` and `resolve`\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var ActivatedRoute = (function () {\n\t /**\n\t * @internal\n\t */\n\t function ActivatedRoute(\n\t /**\n\t * The URL segments matched by this route. The observable will emit a new value when\n\t * the array of segments changes.\n\t */\n\t url, \n\t /**\n\t * The matrix parameters scoped to this route. The observable will emit a new value when\n\t * the set of the parameters changes.\n\t */\n\t params, \n\t /**\n\t * The query parameters shared by all the routes. The observable will emit a new value when\n\t * the set of the parameters changes.\n\t */\n\t queryParams, \n\t /**\n\t * The URL fragment shared by all the routes. The observable will emit a new value when\n\t * the URL fragment changes.\n\t */\n\t fragment, \n\t /**\n\t * The static and resolved data of this route. The observable will emit a new value when\n\t * any of the resolvers returns a new object.\n\t */\n\t data, \n\t /**\n\t * The outlet name of the route. It's a constant.\n\t */\n\t outlet, \n\t /**\n\t * The component of the route. It's a constant.\n\t */\n\t component, // TODO: vsavkin: remove |string\n\t futureSnapshot) {\n\t this.url = url;\n\t this.params = params;\n\t this.queryParams = queryParams;\n\t this.fragment = fragment;\n\t this.data = data;\n\t this.outlet = outlet;\n\t this.component = component;\n\t this._futureSnapshot = futureSnapshot;\n\t }\n\t Object.defineProperty(ActivatedRoute.prototype, \"routeConfig\", {\n\t /**\n\t * The configuration used to match this route.\n\t */\n\t get: function () { return this._futureSnapshot.routeConfig; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRoute.prototype, \"root\", {\n\t /**\n\t * The root of the router state.\n\t */\n\t get: function () { return this._routerState.root; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRoute.prototype, \"parent\", {\n\t /**\n\t * The parent of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.parent(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRoute.prototype, \"firstChild\", {\n\t /**\n\t * The first child of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.firstChild(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRoute.prototype, \"children\", {\n\t /**\n\t * The children of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.children(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRoute.prototype, \"pathFromRoot\", {\n\t /**\n\t * The path from the root of the router state tree to this route.\n\t */\n\t get: function () { return this._routerState.pathFromRoot(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * @docsNotRequired\n\t */\n\t ActivatedRoute.prototype.toString = function () {\n\t return this.snapshot ? this.snapshot.toString() : \"Future(\" + this._futureSnapshot + \")\";\n\t };\n\t return ActivatedRoute;\n\t }());\n\t /**\n\t * @internal\n\t */\n\t function inheritedParamsDataResolve(route) {\n\t var pathToRoot = route.pathFromRoot;\n\t var inhertingStartingFrom = pathToRoot.length - 1;\n\t while (inhertingStartingFrom >= 1) {\n\t var current = pathToRoot[inhertingStartingFrom];\n\t var parent_1 = pathToRoot[inhertingStartingFrom - 1];\n\t // current route is an empty path => inherits its parent's params and data\n\t if (current.routeConfig && current.routeConfig.path === '') {\n\t inhertingStartingFrom--;\n\t }\n\t else if (!parent_1.component) {\n\t inhertingStartingFrom--;\n\t }\n\t else {\n\t break;\n\t }\n\t }\n\t return pathToRoot.slice(inhertingStartingFrom).reduce(function (res, curr) {\n\t var params = merge(res.params, curr.params);\n\t var data = merge(res.data, curr.data);\n\t var resolve = merge(res.resolve, curr._resolvedData);\n\t return { params: params, data: data, resolve: resolve };\n\t }, { params: {}, data: {}, resolve: {} });\n\t }\n\t /**\n\t * @whatItDoes Contains the information about a route associated with a component loaded in an\n\t * outlet\n\t * at a particular moment in time. ActivatedRouteSnapshot can also be used to traverse the router\n\t * state tree.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'./my-component.html'})\n\t * class MyComponent {\n\t * constructor(route: ActivatedRoute) {\n\t * const id: string = route.snapshot.params.id;\n\t * const url: string = route.snapshot.url.join('');\n\t * const user = route.snapshot.data.user;\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @stable\n\t */\n\t var ActivatedRouteSnapshot = (function () {\n\t /**\n\t * @internal\n\t */\n\t function ActivatedRouteSnapshot(\n\t /**\n\t * The URL segments matched by this route.\n\t */\n\t url, \n\t /**\n\t * The matrix parameters scoped to this route.\n\t */\n\t params, \n\t /**\n\t * The query parameters shared by all the routes.\n\t */\n\t queryParams, \n\t /**\n\t * The URL fragment shared by all the routes.\n\t */\n\t fragment, \n\t /**\n\t * The static and resolved data of this route.\n\t */\n\t data, \n\t /**\n\t * The outlet name of the route.\n\t */\n\t outlet, \n\t /**\n\t * The component of the route.\n\t */\n\t component, routeConfig, urlSegment, lastPathIndex, resolve) {\n\t this.url = url;\n\t this.params = params;\n\t this.queryParams = queryParams;\n\t this.fragment = fragment;\n\t this.data = data;\n\t this.outlet = outlet;\n\t this.component = component;\n\t this._routeConfig = routeConfig;\n\t this._urlSegment = urlSegment;\n\t this._lastPathIndex = lastPathIndex;\n\t this._resolve = resolve;\n\t }\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"routeConfig\", {\n\t /**\n\t * The configuration used to match this route.\n\t */\n\t get: function () { return this._routeConfig; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"root\", {\n\t /**\n\t * The root of the router state.\n\t */\n\t get: function () { return this._routerState.root; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"parent\", {\n\t /**\n\t * The parent of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.parent(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"firstChild\", {\n\t /**\n\t * The first child of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.firstChild(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"children\", {\n\t /**\n\t * The children of this route in the router state tree.\n\t */\n\t get: function () { return this._routerState.children(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(ActivatedRouteSnapshot.prototype, \"pathFromRoot\", {\n\t /**\n\t * The path from the root of the router state tree to this route.\n\t */\n\t get: function () { return this._routerState.pathFromRoot(this); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * @docsNotRequired\n\t */\n\t ActivatedRouteSnapshot.prototype.toString = function () {\n\t var url = this.url.map(function (s) { return s.toString(); }).join('/');\n\t var matched = this._routeConfig ? this._routeConfig.path : '';\n\t return \"Route(url:'\" + url + \"', path:'\" + matched + \"')\";\n\t };\n\t return ActivatedRouteSnapshot;\n\t }());\n\t /**\n\t * @whatItDoes Represents the state of the router at a moment in time.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @Component({templateUrl:'template.html'})\n\t * class MyComponent {\n\t * constructor(router: Router) {\n\t * const state: RouterState = router.routerState;\n\t * const snapshot: RouterStateSnapshot = state.snapshot;\n\t * const root: ActivatedRouteSnapshot = snapshot.root;\n\t * const child = root.firstChild;\n\t * const id: Observable<string> = child.params.map(p => p.id);\n\t * //...\n\t * }\n\t * }\n\t * ```\n\t *\n\t * @description\n\t * RouterStateSnapshot is a tree of activated route snapshots. Every node in this tree knows about\n\t * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n\t *\n\t * @stable\n\t */\n\t var RouterStateSnapshot = (function (_super) {\n\t __extends$1(RouterStateSnapshot, _super);\n\t /**\n\t * @internal\n\t */\n\t function RouterStateSnapshot(\n\t /** The url from which this snapshot was created */\n\t url, root) {\n\t _super.call(this, root);\n\t this.url = url;\n\t setRouterStateSnapshot(this, root);\n\t }\n\t RouterStateSnapshot.prototype.toString = function () { return serializeNode(this._root); };\n\t return RouterStateSnapshot;\n\t }(Tree));\n\t function setRouterStateSnapshot(state, node) {\n\t node.value._routerState = state;\n\t node.children.forEach(function (c) { return setRouterStateSnapshot(state, c); });\n\t }\n\t function serializeNode(node) {\n\t var c = node.children.length > 0 ? \" { \" + node.children.map(serializeNode).join(\", \") + \" } \" : '';\n\t return \"\" + node.value + c;\n\t }\n\t /**\n\t * The expectation is that the activate route is created with the right set of parameters.\n\t * So we push new values into the observables only when they are not the initial values.\n\t * And we detect that by checking if the snapshot field is set.\n\t */\n\t function advanceActivatedRoute(route) {\n\t if (route.snapshot) {\n\t if (!shallowEqual(route.snapshot.queryParams, route._futureSnapshot.queryParams)) {\n\t route.queryParams.next(route._futureSnapshot.queryParams);\n\t }\n\t if (route.snapshot.fragment !== route._futureSnapshot.fragment) {\n\t route.fragment.next(route._futureSnapshot.fragment);\n\t }\n\t if (!shallowEqual(route.snapshot.params, route._futureSnapshot.params)) {\n\t route.params.next(route._futureSnapshot.params);\n\t }\n\t if (!shallowEqualArrays(route.snapshot.url, route._futureSnapshot.url)) {\n\t route.url.next(route._futureSnapshot.url);\n\t }\n\t if (!equalParamsAndUrlSegments(route.snapshot, route._futureSnapshot)) {\n\t route.data.next(route._futureSnapshot.data);\n\t }\n\t route.snapshot = route._futureSnapshot;\n\t }\n\t else {\n\t route.snapshot = route._futureSnapshot;\n\t // this is for resolved data\n\t route.data.next(route._futureSnapshot.data);\n\t }\n\t }\n\t function equalParamsAndUrlSegments(a, b) {\n\t return shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n\t }\n\t\n\t function createRouterState(curr, prevState) {\n\t var root = createNode(curr._root, prevState ? prevState._root : undefined);\n\t return new RouterState(root, curr);\n\t }\n\t function createNode(curr, prevState) {\n\t if (prevState && equalRouteSnapshots(prevState.value.snapshot, curr.value)) {\n\t var value = prevState.value;\n\t value._futureSnapshot = curr.value;\n\t var children = createOrReuseChildren(curr, prevState);\n\t return new TreeNode(value, children);\n\t }\n\t else {\n\t var value = createActivatedRoute(curr.value);\n\t var children = curr.children.map(function (c) { return createNode(c); });\n\t return new TreeNode(value, children);\n\t }\n\t }\n\t function createOrReuseChildren(curr, prevState) {\n\t return curr.children.map(function (child) {\n\t for (var _i = 0, _a = prevState.children; _i < _a.length; _i++) {\n\t var p = _a[_i];\n\t if (equalRouteSnapshots(p.value.snapshot, child.value)) {\n\t return createNode(child, p);\n\t }\n\t }\n\t return createNode(child);\n\t });\n\t }\n\t function createActivatedRoute(c) {\n\t return new ActivatedRoute(new rxjs_BehaviorSubject.BehaviorSubject(c.url), new rxjs_BehaviorSubject.BehaviorSubject(c.params), new rxjs_BehaviorSubject.BehaviorSubject(c.queryParams), new rxjs_BehaviorSubject.BehaviorSubject(c.fragment), new rxjs_BehaviorSubject.BehaviorSubject(c.data), c.outlet, c.component, c);\n\t }\n\t function equalRouteSnapshots(a, b) {\n\t return a._routeConfig === b._routeConfig;\n\t }\n\t\n\t function createUrlTree(route, urlTree, commands, queryParams, fragment) {\n\t if (commands.length === 0) {\n\t return tree(urlTree.root, urlTree.root, urlTree, queryParams, fragment);\n\t }\n\t var normalizedCommands = normalizeCommands(commands);\n\t validateCommands(normalizedCommands);\n\t if (navigateToRoot(normalizedCommands)) {\n\t return tree(urlTree.root, new UrlSegmentGroup([], {}), urlTree, queryParams, fragment);\n\t }\n\t var startingPosition = findStartingPosition(normalizedCommands, urlTree, route);\n\t var segmentGroup = startingPosition.processChildren ?\n\t updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, normalizedCommands.commands) :\n\t updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, normalizedCommands.commands);\n\t return tree(startingPosition.segmentGroup, segmentGroup, urlTree, queryParams, fragment);\n\t }\n\t function validateCommands(n) {\n\t if (n.isAbsolute && n.commands.length > 0 && isMatrixParams(n.commands[0])) {\n\t throw new Error('Root segment cannot have matrix parameters');\n\t }\n\t var c = n.commands.filter(function (c) { return typeof c === 'object' && c.outlets !== undefined; });\n\t if (c.length > 0 && c[0] !== n.commands[n.commands.length - 1]) {\n\t throw new Error('{outlets:{}} has to be the last command');\n\t }\n\t }\n\t function isMatrixParams(command) {\n\t return typeof command === 'object' && command.outlets === undefined &&\n\t command.segmentPath === undefined;\n\t }\n\t function tree(oldSegmentGroup, newSegmentGroup, urlTree, queryParams, fragment) {\n\t if (urlTree.root === oldSegmentGroup) {\n\t return new UrlTree(newSegmentGroup, stringify(queryParams), fragment);\n\t }\n\t else {\n\t return new UrlTree(replaceSegment(urlTree.root, oldSegmentGroup, newSegmentGroup), stringify(queryParams), fragment);\n\t }\n\t }\n\t function replaceSegment(current, oldSegment, newSegment) {\n\t var children = {};\n\t forEach(current.children, function (c, outletName) {\n\t if (c === oldSegment) {\n\t children[outletName] = newSegment;\n\t }\n\t else {\n\t children[outletName] = replaceSegment(c, oldSegment, newSegment);\n\t }\n\t });\n\t return new UrlSegmentGroup(current.segments, children);\n\t }\n\t function navigateToRoot(normalizedChange) {\n\t return normalizedChange.isAbsolute && normalizedChange.commands.length === 1 &&\n\t normalizedChange.commands[0] == '/';\n\t }\n\t var NormalizedNavigationCommands = (function () {\n\t function NormalizedNavigationCommands(isAbsolute, numberOfDoubleDots, commands) {\n\t this.isAbsolute = isAbsolute;\n\t this.numberOfDoubleDots = numberOfDoubleDots;\n\t this.commands = commands;\n\t }\n\t return NormalizedNavigationCommands;\n\t }());\n\t function normalizeCommands(commands) {\n\t if ((typeof commands[0] === 'string') && commands.length === 1 && commands[0] == '/') {\n\t return new NormalizedNavigationCommands(true, 0, commands);\n\t }\n\t var numberOfDoubleDots = 0;\n\t var isAbsolute = false;\n\t var res = [];\n\t var _loop_1 = function(i) {\n\t var c = commands[i];\n\t if (typeof c === 'object' && c.outlets !== undefined) {\n\t var r_1 = {};\n\t forEach(c.outlets, function (commands, name) {\n\t if (typeof commands === 'string') {\n\t r_1[name] = commands.split('/');\n\t }\n\t else {\n\t r_1[name] = commands;\n\t }\n\t });\n\t res.push({ outlets: r_1 });\n\t return \"continue\";\n\t }\n\t if (typeof c === 'object' && c.segmentPath !== undefined) {\n\t res.push(c.segmentPath);\n\t return \"continue\";\n\t }\n\t if (!(typeof c === 'string')) {\n\t res.push(c);\n\t return \"continue\";\n\t }\n\t if (i === 0) {\n\t var parts = c.split('/');\n\t for (var j = 0; j < parts.length; ++j) {\n\t var cc = parts[j];\n\t if (j == 0 && cc == '.') {\n\t }\n\t else if (j == 0 && cc == '') {\n\t isAbsolute = true;\n\t }\n\t else if (cc == '..') {\n\t numberOfDoubleDots++;\n\t }\n\t else if (cc != '') {\n\t res.push(cc);\n\t }\n\t }\n\t }\n\t else {\n\t res.push(c);\n\t }\n\t };\n\t for (var i = 0; i < commands.length; ++i) {\n\t _loop_1(i);\n\t }\n\t return new NormalizedNavigationCommands(isAbsolute, numberOfDoubleDots, res);\n\t }\n\t var Position = (function () {\n\t function Position(segmentGroup, processChildren, index) {\n\t this.segmentGroup = segmentGroup;\n\t this.processChildren = processChildren;\n\t this.index = index;\n\t }\n\t return Position;\n\t }());\n\t function findStartingPosition(normalizedChange, urlTree, route) {\n\t if (normalizedChange.isAbsolute) {\n\t return new Position(urlTree.root, true, 0);\n\t }\n\t else if (route.snapshot._lastPathIndex === -1) {\n\t return new Position(route.snapshot._urlSegment, true, 0);\n\t }\n\t else {\n\t var modifier = isMatrixParams(normalizedChange.commands[0]) ? 0 : 1;\n\t var index = route.snapshot._lastPathIndex + modifier;\n\t return createPositionApplyingDoubleDots(route.snapshot._urlSegment, index, normalizedChange.numberOfDoubleDots);\n\t }\n\t }\n\t function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n\t var g = group;\n\t var ci = index;\n\t var dd = numberOfDoubleDots;\n\t while (dd > ci) {\n\t dd -= ci;\n\t g = g.parent;\n\t if (!g) {\n\t throw new Error('Invalid number of \\'../\\'');\n\t }\n\t ci = g.segments.length;\n\t }\n\t return new Position(g, false, ci - dd);\n\t }\n\t function getPath(command) {\n\t if (typeof command === 'object' && command.outlets)\n\t return command.outlets[PRIMARY_OUTLET];\n\t return \"\" + command;\n\t }\n\t function getOutlets(commands) {\n\t if (!(typeof commands[0] === 'object'))\n\t return (_a = {}, _a[PRIMARY_OUTLET] = commands, _a);\n\t if (commands[0].outlets === undefined)\n\t return (_b = {}, _b[PRIMARY_OUTLET] = commands, _b);\n\t return commands[0].outlets;\n\t var _a, _b;\n\t }\n\t function updateSegmentGroup(segmentGroup, startIndex, commands) {\n\t if (!segmentGroup) {\n\t segmentGroup = new UrlSegmentGroup([], {});\n\t }\n\t if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n\t return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n\t }\n\t var m = prefixedWith(segmentGroup, startIndex, commands);\n\t var slicedCommands = commands.slice(m.commandIndex);\n\t if (m.match && m.pathIndex < segmentGroup.segments.length) {\n\t var g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n\t g.children[PRIMARY_OUTLET] =\n\t new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n\t return updateSegmentGroupChildren(g, 0, slicedCommands);\n\t }\n\t else if (m.match && slicedCommands.length === 0) {\n\t return new UrlSegmentGroup(segmentGroup.segments, {});\n\t }\n\t else if (m.match && !segmentGroup.hasChildren()) {\n\t return createNewSegmentGroup(segmentGroup, startIndex, commands);\n\t }\n\t else if (m.match) {\n\t return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n\t }\n\t else {\n\t return createNewSegmentGroup(segmentGroup, startIndex, commands);\n\t }\n\t }\n\t function updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n\t if (commands.length === 0) {\n\t return new UrlSegmentGroup(segmentGroup.segments, {});\n\t }\n\t else {\n\t var outlets_1 = getOutlets(commands);\n\t var children_1 = {};\n\t forEach(outlets_1, function (commands, outlet) {\n\t if (commands !== null) {\n\t children_1[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n\t }\n\t });\n\t forEach(segmentGroup.children, function (child, childOutlet) {\n\t if (outlets_1[childOutlet] === undefined) {\n\t children_1[childOutlet] = child;\n\t }\n\t });\n\t return new UrlSegmentGroup(segmentGroup.segments, children_1);\n\t }\n\t }\n\t function prefixedWith(segmentGroup, startIndex, commands) {\n\t var currentCommandIndex = 0;\n\t var currentPathIndex = startIndex;\n\t var noMatch = { match: false, pathIndex: 0, commandIndex: 0 };\n\t while (currentPathIndex < segmentGroup.segments.length) {\n\t if (currentCommandIndex >= commands.length)\n\t return noMatch;\n\t var path = segmentGroup.segments[currentPathIndex];\n\t var curr = getPath(commands[currentCommandIndex]);\n\t var next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n\t if (currentPathIndex > 0 && curr === undefined)\n\t break;\n\t if (curr && next && (typeof next === 'object') && next.outlets === undefined) {\n\t if (!compare(curr, next, path))\n\t return noMatch;\n\t currentCommandIndex += 2;\n\t }\n\t else {\n\t if (!compare(curr, {}, path))\n\t return noMatch;\n\t currentCommandIndex++;\n\t }\n\t currentPathIndex++;\n\t }\n\t return { match: true, pathIndex: currentPathIndex, commandIndex: currentCommandIndex };\n\t }\n\t function createNewSegmentGroup(segmentGroup, startIndex, commands) {\n\t var paths = segmentGroup.segments.slice(0, startIndex);\n\t var i = 0;\n\t while (i < commands.length) {\n\t if (typeof commands[i] === 'object' && commands[i].outlets !== undefined) {\n\t var children = createNewSegmentChldren(commands[i].outlets);\n\t return new UrlSegmentGroup(paths, children);\n\t }\n\t // if we start with an object literal, we need to reuse the path part from the segment\n\t if (i === 0 && isMatrixParams(commands[0])) {\n\t var p = segmentGroup.segments[startIndex];\n\t paths.push(new UrlSegment(p.path, commands[0]));\n\t i++;\n\t continue;\n\t }\n\t var curr = getPath(commands[i]);\n\t var next = (i < commands.length - 1) ? commands[i + 1] : null;\n\t if (curr && next && isMatrixParams(next)) {\n\t paths.push(new UrlSegment(curr, stringify(next)));\n\t i += 2;\n\t }\n\t else {\n\t paths.push(new UrlSegment(curr, {}));\n\t i++;\n\t }\n\t }\n\t return new UrlSegmentGroup(paths, {});\n\t }\n\t function createNewSegmentChldren(outlets) {\n\t var children = {};\n\t forEach(outlets, function (commands, outlet) {\n\t if (commands !== null) {\n\t children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n\t }\n\t });\n\t return children;\n\t }\n\t function stringify(params) {\n\t var res = {};\n\t forEach(params, function (v, k) { return res[k] = \"\" + v; });\n\t return res;\n\t }\n\t function compare(path, params, segment) {\n\t return path == segment.path && shallowEqual(params, segment.parameters);\n\t }\n\t\n\t var NoMatch$1 = (function () {\n\t function NoMatch() {\n\t }\n\t return NoMatch;\n\t }());\n\t function recognize(rootComponentType, config, urlTree, url) {\n\t return new Recognizer(rootComponentType, config, urlTree, url).recognize();\n\t }\n\t var Recognizer = (function () {\n\t function Recognizer(rootComponentType, config, urlTree, url) {\n\t this.rootComponentType = rootComponentType;\n\t this.config = config;\n\t this.urlTree = urlTree;\n\t this.url = url;\n\t }\n\t Recognizer.prototype.recognize = function () {\n\t try {\n\t var rootSegmentGroup = split$1(this.urlTree.root, [], [], this.config).segmentGroup;\n\t var children = this.processSegmentGroup(this.config, rootSegmentGroup, PRIMARY_OUTLET);\n\t var root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n\t var rootNode = new TreeNode(root, children);\n\t var routeState = new RouterStateSnapshot(this.url, rootNode);\n\t this.inheriteParamsAndData(routeState._root);\n\t return rxjs_observable_of.of(routeState);\n\t }\n\t catch (e) {\n\t return new rxjs_Observable.Observable(function (obs) { return obs.error(e); });\n\t }\n\t };\n\t Recognizer.prototype.inheriteParamsAndData = function (routeNode) {\n\t var _this = this;\n\t var route = routeNode.value;\n\t var i = inheritedParamsDataResolve(route);\n\t route.params = Object.freeze(i.params);\n\t route.data = Object.freeze(i.data);\n\t routeNode.children.forEach(function (n) { return _this.inheriteParamsAndData(n); });\n\t };\n\t Recognizer.prototype.processSegmentGroup = function (config, segmentGroup, outlet) {\n\t if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n\t return this.processChildren(config, segmentGroup);\n\t }\n\t else {\n\t return this.processSegment(config, segmentGroup, 0, segmentGroup.segments, outlet);\n\t }\n\t };\n\t Recognizer.prototype.processChildren = function (config, segmentGroup) {\n\t var _this = this;\n\t var children = mapChildrenIntoArray(segmentGroup, function (child, childOutlet) { return _this.processSegmentGroup(config, child, childOutlet); });\n\t checkOutletNameUniqueness(children);\n\t sortActivatedRouteSnapshots(children);\n\t return children;\n\t };\n\t Recognizer.prototype.processSegment = function (config, segmentGroup, pathIndex, segments, outlet) {\n\t for (var _i = 0, config_1 = config; _i < config_1.length; _i++) {\n\t var r = config_1[_i];\n\t try {\n\t return this.processSegmentAgainstRoute(r, segmentGroup, pathIndex, segments, outlet);\n\t }\n\t catch (e) {\n\t if (!(e instanceof NoMatch$1))\n\t throw e;\n\t }\n\t }\n\t if (this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n\t return [];\n\t }\n\t else {\n\t throw new NoMatch$1();\n\t }\n\t };\n\t Recognizer.prototype.noLeftoversInUrl = function (segmentGroup, segments, outlet) {\n\t return segments.length === 0 && !segmentGroup.children[outlet];\n\t };\n\t Recognizer.prototype.processSegmentAgainstRoute = function (route, rawSegment, pathIndex, segments, outlet) {\n\t if (route.redirectTo)\n\t throw new NoMatch$1();\n\t if ((route.outlet ? route.outlet : PRIMARY_OUTLET) !== outlet)\n\t throw new NoMatch$1();\n\t if (route.path === '**') {\n\t var params = segments.length > 0 ? last(segments).parameters : {};\n\t var snapshot_1 = new ActivatedRouteSnapshot(segments, params, Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, getData(route), outlet, route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + segments.length, getResolve(route));\n\t return [new TreeNode(snapshot_1, [])];\n\t }\n\t var _a = match$1(rawSegment, route, segments), consumedSegments = _a.consumedSegments, parameters = _a.parameters, lastChild = _a.lastChild;\n\t var rawSlicedSegments = segments.slice(lastChild);\n\t var childConfig = getChildConfig(route);\n\t var _b = split$1(rawSegment, consumedSegments, rawSlicedSegments, childConfig), segmentGroup = _b.segmentGroup, slicedSegments = _b.slicedSegments;\n\t var snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, getData(route), outlet, route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + consumedSegments.length, getResolve(route));\n\t if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n\t var children = this.processChildren(childConfig, segmentGroup);\n\t return [new TreeNode(snapshot, children)];\n\t }\n\t else if (childConfig.length === 0 && slicedSegments.length === 0) {\n\t return [new TreeNode(snapshot, [])];\n\t }\n\t else {\n\t var children = this.processSegment(childConfig, segmentGroup, pathIndex + lastChild, slicedSegments, PRIMARY_OUTLET);\n\t return [new TreeNode(snapshot, children)];\n\t }\n\t };\n\t return Recognizer;\n\t }());\n\t function sortActivatedRouteSnapshots(nodes) {\n\t nodes.sort(function (a, b) {\n\t if (a.value.outlet === PRIMARY_OUTLET)\n\t return -1;\n\t if (b.value.outlet === PRIMARY_OUTLET)\n\t return 1;\n\t return a.value.outlet.localeCompare(b.value.outlet);\n\t });\n\t }\n\t function getChildConfig(route) {\n\t if (route.children) {\n\t return route.children;\n\t }\n\t else if (route.loadChildren) {\n\t return route._loadedConfig.routes;\n\t }\n\t else {\n\t return [];\n\t }\n\t }\n\t function match$1(segmentGroup, route, segments) {\n\t if (route.path === '') {\n\t if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n\t throw new NoMatch$1();\n\t }\n\t else {\n\t return { consumedSegments: [], lastChild: 0, parameters: {} };\n\t }\n\t }\n\t var matcher = route.matcher || defaultUrlMatcher;\n\t var res = matcher(segments, segmentGroup, route);\n\t if (!res)\n\t throw new NoMatch$1();\n\t var posParams = {};\n\t forEach(res.posParams, function (v, k) { posParams[k] = v.path; });\n\t var parameters = merge(posParams, res.consumed[res.consumed.length - 1].parameters);\n\t return { consumedSegments: res.consumed, lastChild: res.consumed.length, parameters: parameters };\n\t }\n\t function checkOutletNameUniqueness(nodes) {\n\t var names = {};\n\t nodes.forEach(function (n) {\n\t var routeWithSameOutletName = names[n.value.outlet];\n\t if (routeWithSameOutletName) {\n\t var p = routeWithSameOutletName.url.map(function (s) { return s.toString(); }).join('/');\n\t var c = n.value.url.map(function (s) { return s.toString(); }).join('/');\n\t throw new Error(\"Two segments cannot have the same outlet name: '\" + p + \"' and '\" + c + \"'.\");\n\t }\n\t names[n.value.outlet] = n.value;\n\t });\n\t }\n\t function getSourceSegmentGroup(segmentGroup) {\n\t var s = segmentGroup;\n\t while (s._sourceSegment) {\n\t s = s._sourceSegment;\n\t }\n\t return s;\n\t }\n\t function getPathIndexShift(segmentGroup) {\n\t var s = segmentGroup;\n\t var res = (s._segmentIndexShift ? s._segmentIndexShift : 0);\n\t while (s._sourceSegment) {\n\t s = s._sourceSegment;\n\t res += (s._segmentIndexShift ? s._segmentIndexShift : 0);\n\t }\n\t return res - 1;\n\t }\n\t function split$1(segmentGroup, consumedSegments, slicedSegments, config) {\n\t if (slicedSegments.length > 0 &&\n\t containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n\t var s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n\t s._sourceSegment = segmentGroup;\n\t s._segmentIndexShift = consumedSegments.length;\n\t return { segmentGroup: s, slicedSegments: [] };\n\t }\n\t else if (slicedSegments.length === 0 &&\n\t containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n\t var s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n\t s._sourceSegment = segmentGroup;\n\t s._segmentIndexShift = consumedSegments.length;\n\t return { segmentGroup: s, slicedSegments: slicedSegments };\n\t }\n\t else {\n\t var s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n\t s._sourceSegment = segmentGroup;\n\t s._segmentIndexShift = consumedSegments.length;\n\t return { segmentGroup: s, slicedSegments: slicedSegments };\n\t }\n\t }\n\t function addEmptyPathsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n\t var res = {};\n\t for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n\t var r = routes_1[_i];\n\t if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet$2(r)]) {\n\t var s = new UrlSegmentGroup([], {});\n\t s._sourceSegment = segmentGroup;\n\t s._segmentIndexShift = segmentGroup.segments.length;\n\t res[getOutlet$2(r)] = s;\n\t }\n\t }\n\t return merge(children, res);\n\t }\n\t function createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n\t var res = {};\n\t res[PRIMARY_OUTLET] = primarySegment;\n\t primarySegment._sourceSegment = segmentGroup;\n\t primarySegment._segmentIndexShift = consumedSegments.length;\n\t for (var _i = 0, routes_2 = routes; _i < routes_2.length; _i++) {\n\t var r = routes_2[_i];\n\t if (r.path === '' && getOutlet$2(r) !== PRIMARY_OUTLET) {\n\t var s = new UrlSegmentGroup([], {});\n\t s._sourceSegment = segmentGroup;\n\t s._segmentIndexShift = consumedSegments.length;\n\t res[getOutlet$2(r)] = s;\n\t }\n\t }\n\t return res;\n\t }\n\t function containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n\t return routes\n\t .filter(function (r) { return emptyPathMatch(segmentGroup, slicedSegments, r) &&\n\t getOutlet$2(r) !== PRIMARY_OUTLET; })\n\t .length > 0;\n\t }\n\t function containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n\t return routes.filter(function (r) { return emptyPathMatch(segmentGroup, slicedSegments, r); }).length > 0;\n\t }\n\t function emptyPathMatch(segmentGroup, slicedSegments, r) {\n\t if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full')\n\t return false;\n\t return r.path === '' && r.redirectTo === undefined;\n\t }\n\t function getOutlet$2(route) {\n\t return route.outlet ? route.outlet : PRIMARY_OUTLET;\n\t }\n\t function getData(route) {\n\t return route.data ? route.data : {};\n\t }\n\t function getResolve(route) {\n\t return route.resolve ? route.resolve : {};\n\t }\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @whatItDoes Contains all the router outlets created in a component.\n\t *\n\t * @stable\n\t */\n\t var RouterOutletMap = (function () {\n\t function RouterOutletMap() {\n\t /** @internal */\n\t this._outlets = {};\n\t }\n\t /**\n\t * Adds an outlet to this map.\n\t */\n\t RouterOutletMap.prototype.registerOutlet = function (name, outlet) { this._outlets[name] = outlet; };\n\t /**\n\t * Removes an outlet from this map.\n\t */\n\t RouterOutletMap.prototype.removeOutlet = function (name) { this._outlets[name] = undefined; };\n\t return RouterOutletMap;\n\t }());\n\t\n\t /**\n\t * @license\n\t * Copyright Google Inc. All Rights Reserved.\n\t *\n\t * Use of this source code is governed by an MIT-style license that can be\n\t * found in the LICENSE file at https://angular.io/license\n\t */\n\t /**\n\t * @whatItDoes Provides a way to migrate Angular 1 applications to Angular 2.\n\t *\n\t * @experimental\n\t */\n\t var UrlHandlingStrategy = (function () {\n\t function UrlHandlingStrategy() {\n\t }\n\t return UrlHandlingStrategy;\n\t }());\n\t /**\n\t * @experimental\n\t */\n\t var DefaultUrlHandlingStrategy = (function () {\n\t function DefaultUrlHandlingStrategy() {\n\t }\n\t DefaultUrlHandlingStrategy.prototype.shouldProcessUrl = function (url) { return true; };\n\t DefaultUrlHandlingStrategy.prototype.extract = function (url) { return url; };\n\t DefaultUrlHandlingStrategy.prototype.merge = function (newUrlPart, wholeUrl) { return newUrlPart; };\n\t return DefaultUrlHandlingStrategy;\n\t }());\n\t\n\t /**\n\t * @whatItDoes Represents an event triggered when a navigation starts.\n\t *\n\t * @stable\n\t */\n\t var NavigationStart = (function () {\n\t // TODO: vsavkin: make internal\n\t function NavigationStart(\n\t /** @docsNotRequired */\n\t id, \n\t /** @docsNotRequired */\n\t url) {\n\t this.id = id;\n\t this.url = url;\n\t }\n\t /** @docsNotRequired */\n\t NavigationStart.prototype.toString = function () { return \"NavigationStart(id: \" + this.id + \", url: '\" + this.url + \"')\"; };\n\t return NavigationStart;\n\t }());\n\t /**\n\t * @whatItDoes Represents an event triggered when a navigation ends successfully.\n\t *\n\t * @stable\n\t */\n\t var NavigationEnd = (function () {\n\t // TODO: vsavkin: make internal\n\t function NavigationEnd(\n\t /** @docsNotRequired */\n\t id, \n\t /** @docsNotRequired */\n\t url, \n\t /** @docsNotRequired */\n\t urlAfterRedirects) {\n\t this.id = id;\n\t this.url = url;\n\t this.urlAfterRedirects = urlAfterRedirects;\n\t }\n\t /** @docsNotRequired */\n\t NavigationEnd.prototype.toString = function () {\n\t return \"NavigationEnd(id: \" + this.id + \", url: '\" + this.url + \"', urlAfterRedirects: '\" + this.urlAfterRedirects + \"')\";\n\t };\n\t return NavigationEnd;\n\t }());\n\t /**\n\t * @whatItDoes Represents an event triggered when a navigation is canceled.\n\t *\n\t * @stable\n\t */\n\t var NavigationCancel = (function () {\n\t // TODO: vsavkin: make internal\n\t function NavigationCancel(\n\t /** @docsNotRequired */\n\t id, \n\t /** @docsNotRequired */\n\t url, \n\t /** @docsNotRequired */\n\t reason) {\n\t this.id = id;\n\t this.url = url;\n\t this.reason = reason;\n\t }\n\t /** @docsNotRequired */\n\t NavigationCancel.prototype.toString = function () { return \"NavigationCancel(id: \" + this.id + \", url: '\" + this.url + \"')\"; };\n\t return NavigationCancel;\n\t }());\n\t /**\n\t * @whatItDoes Represents an event triggered when a navigation fails due to an unexpected error.\n\t *\n\t * @stable\n\t */\n\t var NavigationError = (function () {\n\t // TODO: vsavkin: make internal\n\t function NavigationError(\n\t /** @docsNotRequired */\n\t id, \n\t /** @docsNotRequired */\n\t url, \n\t /** @docsNotRequired */\n\t error) {\n\t this.id = id;\n\t this.url = url;\n\t this.error = error;\n\t }\n\t /** @docsNotRequired */\n\t NavigationError.prototype.toString = function () {\n\t return \"NavigationError(id: \" + this.id + \", url: '\" + this.url + \"', error: \" + this.error + \")\";\n\t };\n\t return NavigationError;\n\t }());\n\t /**\n\t * @whatItDoes Represents an event triggered when routes are recognized.\n\t *\n\t * @stable\n\t */\n\t var RoutesRecognized = (function () {\n\t // TODO: vsavkin: make internal\n\t function RoutesRecognized(\n\t /** @docsNotRequired */\n\t id, \n\t /** @docsNotRequired */\n\t url, \n\t /** @docsNotRequired */\n\t urlAfterRedirects, \n\t /** @docsNotRequired */\n\t state) {\n\t this.id = id;\n\t this.url = url;\n\t this.urlAfterRedirects = urlAfterRedirects;\n\t this.state = state;\n\t }\n\t /** @docsNotRequired */\n\t RoutesRecognized.prototype.toString = function () {\n\t return \"RoutesRecognized(id: \" + this.id + \", url: '\" + this.url + \"', urlAfterRedirects: '\" + this.urlAfterRedirects + \"', state: \" + this.state + \")\";\n\t };\n\t return RoutesRecognized;\n\t }());\n\t function defaultErrorHandler(error) {\n\t throw error;\n\t }\n\t /**\n\t * @whatItDoes Provides the navigation and url manipulation capabilities.\n\t *\n\t * See {@link Routes} for more details and examples.\n\t *\n\t * @ngModule RouterModule\n\t *\n\t * @stable\n\t */\n\t var Router = (function () {\n\t /**\n\t * Creates the router service.\n\t */\n\t // TODO: vsavkin make internal after the final is out.\n\t function Router(rootComponentType, urlSerializer, outletMap, location, injector, loader, compiler, config) {\n\t this.rootComponentType = rootComponentType;\n\t this.urlSerializer = urlSerializer;\n\t this.outletMap = outletMap;\n\t this.location = location;\n\t this.injector = injector;\n\t this.config = config;\n\t this.navigations = new rxjs_BehaviorSubject.BehaviorSubject(null);\n\t this.routerEvents = new rxjs_Subject.Subject();\n\t this.navigationId = 0;\n\t /**\n\t * Error handler that is invoked when a navigation errors.\n\t *\n\t * See {@link ErrorHandler} for more information.\n\t */\n\t this.errorHandler = defaultErrorHandler;\n\t /**\n\t * Indicates if at least one navigation happened.\n\t */\n\t this.navigated = false;\n\t /**\n\t * Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations.\n\t */\n\t this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();\n\t this.resetConfig(config);\n\t this.currentUrlTree = createEmptyUrlTree();\n\t this.rawUrlTree = this.currentUrlTree;\n\t this.configLoader = new RouterConfigLoader(loader, compiler);\n\t this.currentRouterState = createEmptyState(this.currentUrlTree, this.rootComponentType);\n\t this.processNavigations();\n\t }\n\t /**\n\t * @internal\n\t * TODO: this should be removed once the constructor of the router made internal\n\t */\n\t Router.prototype.resetRootComponentType = function (rootComponentType) {\n\t this.rootComponentType = rootComponentType;\n\t // TODO: vsavkin router 4.0 should make the root component set to null\n\t // this will simplify the lifecycle of the router.\n\t this.currentRouterState.root.component = this.rootComponentType;\n\t };\n\t /**\n\t * Sets up the location change listener and performs the initial navigation.\n\t */\n\t Router.prototype.initialNavigation = function () {\n\t this.setUpLocationChangeListener();\n\t this.navigateByUrl(this.location.path(true), { replaceUrl: true });\n\t };\n\t /**\n\t * Sets up the location change listener.\n\t */\n\t Router.prototype.setUpLocationChangeListener = function () {\n\t var _this = this;\n\t // Zone.current.wrap is needed because of the issue with RxJS scheduler,\n\t // which does not work properly with zone.js in IE and Safari\n\t this.locationSubscription = this.location.subscribe(Zone.current.wrap(function (change) {\n\t var rawUrlTree = _this.urlSerializer.parse(change['url']);\n\t setTimeout(function () {\n\t _this.scheduleNavigation(rawUrlTree, { skipLocationChange: change['pop'], replaceUrl: true });\n\t }, 0);\n\t }));\n\t };\n\t Object.defineProperty(Router.prototype, \"routerState\", {\n\t /**\n\t * Returns the current route state.\n\t */\n\t get: function () { return this.currentRouterState; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(Router.prototype, \"url\", {\n\t /**\n\t * Returns the current url.\n\t */\n\t get: function () { return this.serializeUrl(this.currentUrlTree); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(Router.prototype, \"events\", {\n\t /**\n\t * Returns an observable of route events\n\t */\n\t get: function () { return this.routerEvents; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t /**\n\t * Resets the configuration used for navigation and generating links.\n\t *\n\t * ### Usage\n\t *\n\t * ```\n\t * router.resetConfig([\n\t * { path: 'team/:id', component: TeamCmp, children: [\n\t * { path: 'simple', component: SimpleCmp },\n\t * { path: 'user/:name', component: UserCmp }\n\t * ] }\n\t * ]);\n\t * ```\n\t */\n\t Router.prototype.resetConfig = function (config) {\n\t validateConfig(config);\n\t this.config = config;\n\t };\n\t /**\n\t * @docsNotRequired\n\t */\n\t Router.prototype.ngOnDestroy = function () { this.dispose(); };\n\t /**\n\t * Disposes of the router.\n\t */\n\t Router.prototype.dispose = function () { this.locationSubscription.unsubscribe(); };\n\t /**\n\t * Applies an array of commands to the current url tree and creates a new url tree.\n\t *\n\t * When given an activate route, applies the given commands starting from the route.\n\t * When not given a route, applies the given command starting from the root.\n\t *\n\t * ### Usage\n\t *\n\t * ```\n\t * // create /team/33/user/11\n\t * router.createUrlTree(['/team', 33, 'user', 11]);\n\t *\n\t * // create /team/33;expand=true/user/11\n\t * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n\t *\n\t * // you can collapse static segments like this (this works only with the first passed-in value):\n\t * router.createUrlTree(['/team/33/user', userId]);\n\t *\n\t * // If the first segment can contain slashes, and you do not want the router to split it, you\n\t * // can do the following:\n\t *\n\t * router.createUrlTree([{segmentPath: '/one/two'}]);\n\t *\n\t * // create /team/33/(user/11//right:chat)\n\t * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n\t *\n\t * // remove the right secondary node\n\t * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n\t *\n\t * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n\t *\n\t * // navigate to /team/33/user/11/details\n\t * router.createUrlTree(['details'], {relativeTo: route});\n\t *\n\t * // navigate to /team/33/user/22\n\t * router.createUrlTree(['../22'], {relativeTo: route});\n\t *\n\t * // navigate to /team/44/user/22\n\t * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n\t * ```\n\t */\n\t Router.prototype.createUrlTree = function (commands, _a) {\n\t var _b = _a === void 0 ? {} : _a, relativeTo = _b.relativeTo, queryParams = _b.queryParams, fragment = _b.fragment, preserveQueryParams = _b.preserveQueryParams, preserveFragment = _b.preserveFragment;\n\t var a = relativeTo ? relativeTo : this.routerState.root;\n\t var q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams;\n\t var f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n\t return createUrlTree(a, this.currentUrlTree, commands, q, f);\n\t };\n\t /**\n\t * Navigate based on the provided url. This navigation is always absolute.\n\t *\n\t * Returns a promise that:\n\t * - is resolved with 'true' when navigation succeeds\n\t * - is resolved with 'false' when navigation fails\n\t * - is rejected when an error happens\n\t *\n\t * ### Usage\n\t *\n\t * ```\n\t * router.navigateByUrl(\"/team/33/user/11\");\n\t *\n\t * // Navigate without updating the URL\n\t * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n\t * ```\n\t *\n\t * In opposite to `navigate`, `navigateByUrl` takes a whole URL\n\t * and does not apply any delta to the current one.\n\t */\n\t Router.prototype.navigateByUrl = function (url, extras) {\n\t if (extras === void 0) { extras = { skipLocationChange: false }; }\n\t if (url instanceof UrlTree) {\n\t return this.scheduleNavigation(this.urlHandlingStrategy.merge(url, this.rawUrlTree), extras);\n\t }\n\t else {\n\t var urlTree = this.urlSerializer.parse(url);\n\t return this.scheduleNavigation(this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree), extras);\n\t }\n\t };\n\t /**\n\t * Navigate based on the provided array of commands and a starting point.\n\t * If no starting route is provided, the navigation is absolute.\n\t *\n\t * Returns a promise that:\n\t * - is resolved with 'true' when navigation succeeds\n\t * - is resolved with 'false' when navigation fails\n\t * - is rejected when an error happens\n\t *\n\t * ### Usage\n\t *\n\t * ```\n\t * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n\t *\n\t * // Navigate without updating the URL\n\t * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true });\n\t * ```\n\t *\n\t * In opposite to `navigateByUrl`, `navigate` always takes a delta\n\t * that is applied to the current URL.\n\t */\n\t Router.prototype.navigate = function (commands, extras) {\n\t if (extras === void 0) { extras = { skipLocationChange: false }; }\n\t if (typeof extras.queryParams === 'object' && extras.queryParams !== null) {\n\t extras.queryParams = this.removeEmptyProps(extras.queryParams);\n\t }\n\t return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n\t };\n\t /**\n\t * Serializes a {@link UrlTree} into a string.\n\t */\n\t Router.prototype.serializeUrl = function (url) { return this.urlSerializer.serialize(url); };\n\t /**\n\t * Parses a string into a {@link UrlTree}.\n\t */\n\t Router.prototype.parseUrl = function (url) { return this.urlSerializer.parse(url); };\n\t /**\n\t * Returns if the url is activated or not.\n\t */\n\t Router.prototype.isActive = function (url, exact) {\n\t if (url instanceof UrlTree) {\n\t return containsTree(this.currentUrlTree, url, exact);\n\t }\n\t else {\n\t var urlTree = this.urlSerializer.parse(url);\n\t return containsTree(this.currentUrlTree, urlTree, exact);\n\t }\n\t };\n\t Router.prototype.removeEmptyProps = function (params) {\n\t return Object.keys(params).reduce(function (result, key) {\n\t var value = params[key];\n\t if (value !== null && value !== undefined) {\n\t result[key] = value;\n\t }\n\t return result;\n\t }, {});\n\t };\n\t Router.prototype.processNavigations = function () {\n\t var _this = this;\n\t rxjs_operator_concatMap.concatMap\n\t .call(this.navigations, function (nav) {\n\t if (nav) {\n\t _this.executeScheduledNavigation(nav);\n\t // a failed navigation should not stop the router from processing\n\t // further navigations => the catch\n\t return nav.promise.catch(function () { });\n\t }\n\t else {\n\t return rxjs_observable_of.of(null);\n\t }\n\t })\n\t .subscribe(function () { });\n\t };\n\t Router.prototype.scheduleNavigation = function (rawUrl, extras) {\n\t var prevRawUrl = this.navigations.value ? this.navigations.value.rawUrl : null;\n\t if (prevRawUrl && prevRawUrl.toString() === rawUrl.toString()) {\n\t return this.navigations.value.promise;\n\t }\n\t var resolve = null;\n\t var reject = null;\n\t var promise = new Promise(function (res, rej) {\n\t resolve = res;\n\t reject = rej;\n\t });\n\t var id = ++this.navigationId;\n\t this.navigations.next({ id: id, rawUrl: rawUrl, prevRawUrl: prevRawUrl, extras: extras, resolve: resolve, reject: reject, promise: promise });\n\t // Make sure that the error is propagated even though `processNavigations` catch\n\t // handler does not rethrow\n\t return promise.catch(function (e) { return Promise.reject(e); });\n\t };\n\t Router.prototype.executeScheduledNavigation = function (_a) {\n\t var _this = this;\n\t var id = _a.id, rawUrl = _a.rawUrl, prevRawUrl = _a.prevRawUrl, extras = _a.extras, resolve = _a.resolve, reject = _a.reject;\n\t var url = this.urlHandlingStrategy.extract(rawUrl);\n\t var prevUrl = prevRawUrl ? this.urlHandlingStrategy.extract(prevRawUrl) : null;\n\t var urlTransition = !prevUrl || url.toString() !== prevUrl.toString();\n\t if (urlTransition && this.urlHandlingStrategy.shouldProcessUrl(rawUrl)) {\n\t this.routerEvents.next(new NavigationStart(id, this.serializeUrl(url)));\n\t Promise.resolve()\n\t .then(function (_) { return _this.runNavigate(url, rawUrl, extras.skipLocationChange, extras.replaceUrl, id, null); })\n\t .then(resolve, reject);\n\t }\n\t else if (urlTransition && prevRawUrl && this.urlHandlingStrategy.shouldProcessUrl(prevRawUrl)) {\n\t this.routerEvents.next(new NavigationStart(id, this.serializeUrl(url)));\n\t Promise.resolve()\n\t .then(function (_) { return _this.runNavigate(url, rawUrl, false, false, id, createEmptyState(url, _this.rootComponentType).snapshot); })\n\t .then(resolve, reject);\n\t }\n\t else {\n\t this.rawUrlTree = rawUrl;\n\t resolve(null);\n\t }\n\t };\n\t Router.prototype.runNavigate = function (url, rawUrl, shouldPreventPushState, shouldReplaceUrl, id, precreatedState) {\n\t var _this = this;\n\t if (id !== this.navigationId) {\n\t this.location.go(this.urlSerializer.serialize(this.currentUrlTree));\n\t this.routerEvents.next(new NavigationCancel(id, this.serializeUrl(url), \"Navigation ID \" + id + \" is not equal to the current navigation id \" + this.navigationId));\n\t return Promise.resolve(false);\n\t }\n\t return new Promise(function (resolvePromise, rejectPromise) {\n\t // create an observable of the url and route state snapshot\n\t // this operation do not result in any side effects\n\t var urlAndSnapshot$;\n\t if (!precreatedState) {\n\t var redirectsApplied$ = applyRedirects(_this.injector, _this.configLoader, _this.urlSerializer, url, _this.config);\n\t urlAndSnapshot$ = rxjs_operator_mergeMap.mergeMap.call(redirectsApplied$, function (appliedUrl) {\n\t return rxjs_operator_map.map.call(recognize(_this.rootComponentType, _this.config, appliedUrl, _this.serializeUrl(appliedUrl)), function (snapshot) {\n\t _this.routerEvents.next(new RoutesRecognized(id, _this.serializeUrl(url), _this.serializeUrl(appliedUrl), snapshot));\n\t return { appliedUrl: appliedUrl, snapshot: snapshot };\n\t });\n\t });\n\t }\n\t else {\n\t urlAndSnapshot$ = rxjs_observable_of.of({ appliedUrl: url, snapshot: precreatedState });\n\t }\n\t // run preactivation: guards and data resolvers\n\t var preActivation;\n\t var preactivationTraverse$ = rxjs_operator_map.map.call(urlAndSnapshot$, function (_a) {\n\t var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot;\n\t preActivation =\n\t new PreActivation(snapshot, _this.currentRouterState.snapshot, _this.injector);\n\t preActivation.traverse(_this.outletMap);\n\t return { appliedUrl: appliedUrl, snapshot: snapshot };\n\t });\n\t var preactivationCheckGuards = rxjs_operator_mergeMap.mergeMap.call(preactivationTraverse$, function (_a) {\n\t var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot;\n\t if (_this.navigationId !== id)\n\t return rxjs_observable_of.of(false);\n\t return rxjs_operator_map.map.call(preActivation.checkGuards(), function (shouldActivate) {\n\t return { appliedUrl: appliedUrl, snapshot: snapshot, shouldActivate: shouldActivate };\n\t });\n\t });\n\t var preactivationResolveData$ = rxjs_operator_mergeMap.mergeMap.call(preactivationCheckGuards, function (p) {\n\t if (_this.navigationId !== id)\n\t return rxjs_observable_of.of(false);\n\t if (p.shouldActivate) {\n\t return rxjs_operator_map.map.call(preActivation.resolveData(), function () { return p; });\n\t }\n\t else {\n\t return rxjs_observable_of.of(p);\n\t }\n\t });\n\t // create router state\n\t // this operation has side effects => route state is being affected\n\t var routerState$ = rxjs_operator_map.map.call(preactivationResolveData$, function (_a) {\n\t var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot, shouldActivate = _a.shouldActivate;\n\t if (shouldActivate) {\n\t var state = createRouterState(snapshot, _this.currentRouterState);\n\t return { appliedUrl: appliedUrl, state: state, shouldActivate: shouldActivate };\n\t }\n\t else {\n\t return { appliedUrl: appliedUrl, state: null, shouldActivate: shouldActivate };\n\t }\n\t });\n\t // applied the new router state\n\t // this operation has side effects\n\t var navigationIsSuccessful;\n\t var storedState = _this.currentRouterState;\n\t var storedUrl = _this.currentUrlTree;\n\t routerState$\n\t .forEach(function (_a) {\n\t var appliedUrl = _a.appliedUrl, state = _a.state, shouldActivate = _a.shouldActivate;\n\t if (!shouldActivate || id !== _this.navigationId) {\n\t navigationIsSuccessful = false;\n\t return;\n\t }\n\t _this.currentUrlTree = appliedUrl;\n\t _this.rawUrlTree = _this.urlHandlingStrategy.merge(_this.currentUrlTree, rawUrl);\n\t _this.currentRouterState = state;\n\t if (!shouldPreventPushState) {\n\t var path = _this.urlSerializer.serialize(_this.rawUrlTree);\n\t if (_this.location.isCurrentPathEqualTo(path) || shouldReplaceUrl) {\n\t _this.location.replaceState(path);\n\t }\n\t else {\n\t _this.location.go(path);\n\t }\n\t }\n\t new ActivateRoutes(state, storedState).activate(_this.outletMap);\n\t navigationIsSuccessful = true;\n\t })\n\t .then(function () {\n\t _this.navigated = true;\n\t if (navigationIsSuccessful) {\n\t _this.routerEvents.next(new NavigationEnd(id, _this.serializeUrl(url), _this.serializeUrl(_this.currentUrlTree)));\n\t resolvePromise(true);\n\t }\n\t else {\n\t _this.resetUrlToCurrentUrlTree();\n\t _this.routerEvents.next(new NavigationCancel(id, _this.serializeUrl(url), ''));\n\t resolvePromise(false);\n\t }\n\t }, function (e) {\n\t if (e instanceof NavigationCancelingError) {\n\t _this.resetUrlToCurrentUrlTree();\n\t _this.navigated = true;\n\t _this.routerEvents.next(new NavigationCancel(id, _this.serializeUrl(url), e.message));\n\t resolvePromise(false);\n\t }\n\t else {\n\t _this.routerEvents.next(new NavigationError(id, _this.serializeUrl(url), e));\n\t try {\n\t resolvePromise(_this.errorHandler(e));\n\t }\n\t catch (ee) {\n\t rejectPromise(ee);\n\t }\n\t }\n\t _this.currentRouterState = storedState;\n\t _this.currentUrlTree = storedUrl;\n\t _this.rawUrlTree = _this.urlHandlingStrategy.merge(_this.currentUrlTree, rawUrl);\n\t _this.location.replaceState(_this.serializeUrl(_this.rawUrlTree));\n\t });\n\t });\n\t };\n\t Router.prototype.resetUrlToCurrentUrlTree = function () {\n\t var path = this.urlSerializer.serialize(this.rawUrlTree);\n\t this.location.replaceState(path);\n\t };\n\t return Router;\n\t }());\n\t var CanActivate = (function () {\n\t function CanActivate(path) {\n\t this.path = path;\n\t }\n\t Object.defineProperty(CanActivate.prototype, \"route\", {\n\t get: function () { return this.path[this.path.length - 1]; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t return CanActivate;\n\t }());\n\t var CanDeactivate = (function () {\n\t function CanDeactivate(component, route) {\n\t this.component = component;\n\t this.route = route;\n\t }\n\t return CanDeactivate;\n\t }());\n\t var PreActivation = (function () {\n\t function PreActivation(future, curr, injector) {\n\t this.future = future;\n\t this.curr = curr;\n\t this.injector = injector;\n\t this.checks = [];\n\t }\n\t PreActivation.prototype.traverse = function (parentOutletMap) {\n\t var futureRoot = this.future._root;\n\t var currRoot = this.curr ? this.curr._root : null;\n\t this.traverseChildRoutes(futureRoot, currRoot, parentOutletMap, [futureRoot.value]);\n\t };\n\t PreActivation.prototype.checkGuards = function () {\n\t var _this = this;\n\t if (this.checks.length === 0)\n\t return rxjs_observable_of.of(true);\n\t var checks$ = rxjs_observable_from.from(this.checks);\n\t var runningChecks$ = rxjs_operator_mergeMap.mergeMap.call(checks$, function (s) {\n\t if (s instanceof CanActivate) {\n\t return andObservables(rxjs_observable_from.from([_this.runCanActivateChild(s.path), _this.runCanActivate(s.route)]));\n\t }\n\t else if (s instanceof CanDeactivate) {\n\t // workaround https://github.com/Microsoft/TypeScript/issues/7271\n\t var s2 = s;\n\t return _this.runCanDeactivate(s2.component, s2.route);\n\t }\n\t else {\n\t throw new Error('Cannot be reached');\n\t }\n\t });\n\t return rxjs_operator_every.every.call(runningChecks$, function (result) { return result === true; });\n\t };\n\t PreActivation.prototype.resolveData = function () {\n\t var _this = this;\n\t if (this.checks.length === 0)\n\t return rxjs_observable_of.of(null);\n\t var checks$ = rxjs_observable_from.from(this.checks);\n\t var runningChecks$ = rxjs_operator_concatMap.concatMap.call(checks$, function (s) {\n\t if (s instanceof CanActivate) {\n\t return _this.runResolve(s.route);\n\t }\n\t else {\n\t return rxjs_observable_of.of(null);\n\t }\n\t });\n\t return rxjs_operator_reduce.reduce.call(runningChecks$, function (_, __) { return _; });\n\t };\n\t PreActivation.prototype.traverseChildRoutes = function (futureNode, currNode, outletMap, futurePath) {\n\t var _this = this;\n\t var prevChildren = nodeChildrenAsMap(currNode);\n\t futureNode.children.forEach(function (c) {\n\t _this.traverseRoutes(c, prevChildren[c.value.outlet], outletMap, futurePath.concat([c.value]));\n\t delete prevChildren[c.value.outlet];\n\t });\n\t forEach(prevChildren, function (v, k) { return _this.deactiveRouteAndItsChildren(v, outletMap._outlets[k]); });\n\t };\n\t PreActivation.prototype.traverseRoutes = function (futureNode, currNode, parentOutletMap, futurePath) {\n\t var future = futureNode.value;\n\t var curr = currNode ? currNode.value : null;\n\t var outlet = parentOutletMap ? parentOutletMap._outlets[futureNode.value.outlet] : null;\n\t // reusing the node\n\t if (curr && future._routeConfig === curr._routeConfig) {\n\t if (!equalParamsAndUrlSegments(future, curr)) {\n\t this.checks.push(new CanDeactivate(outlet.component, curr), new CanActivate(futurePath));\n\t }\n\t else {\n\t // we need to set the data\n\t future.data = curr.data;\n\t future._resolvedData = curr._resolvedData;\n\t }\n\t // If we have a component, we need to go through an outlet.\n\t if (future.component) {\n\t this.traverseChildRoutes(futureNode, currNode, outlet ? outlet.outletMap : null, futurePath);\n\t }\n\t else {\n\t this.traverseChildRoutes(futureNode, currNode, parentOutletMap, futurePath);\n\t }\n\t }\n\t else {\n\t if (curr) {\n\t this.deactiveRouteAndItsChildren(currNode, outlet);\n\t }\n\t this.checks.push(new CanActivate(futurePath));\n\t // If we have a component, we need to go through an outlet.\n\t if (future.component) {\n\t this.traverseChildRoutes(futureNode, null, outlet ? outlet.outletMap : null, futurePath);\n\t }\n\t else {\n\t this.traverseChildRoutes(futureNode, null, parentOutletMap, futurePath);\n\t }\n\t }\n\t };\n\t PreActivation.prototype.deactiveRouteAndItsChildren = function (route, outlet) {\n\t var _this = this;\n\t var prevChildren = nodeChildrenAsMap(route);\n\t var r = route.value;\n\t forEach(prevChildren, function (v, k) {\n\t if (!r.component) {\n\t _this.deactiveRouteAndItsChildren(v, outlet);\n\t }\n\t else if (!!outlet) {\n\t _this.deactiveRouteAndItsChildren(v, outlet.outletMap._outlets[k]);\n\t }\n\t else {\n\t _this.deactiveRouteAndItsChildren(v, null);\n\t }\n\t });\n\t if (!r.component) {\n\t this.checks.push(new CanDeactivate(null, r));\n\t }\n\t else if (outlet && outlet.isActivated) {\n\t this.checks.push(new CanDeactivate(outlet.component, r));\n\t }\n\t else {\n\t this.checks.push(new CanDeactivate(null, r));\n\t }\n\t };\n\t PreActivation.prototype.runCanActivate = function (future) {\n\t var _this = this;\n\t var canActivate = future._routeConfig ? future._routeConfig.canActivate : null;\n\t if (!canActivate || canActivate.length === 0)\n\t return rxjs_observable_of.of(true);\n\t var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(canActivate), function (c) {\n\t var guard = _this.getToken(c, future);\n\t var observable;\n\t if (guard.canActivate) {\n\t observable = wrapIntoObservable(guard.canActivate(future, _this.future));\n\t }\n\t else {\n\t observable = wrapIntoObservable(guard(future, _this.future));\n\t }\n\t return rxjs_operator_first.first.call(observable);\n\t });\n\t return andObservables(obs);\n\t };\n\t PreActivation.prototype.runCanActivateChild = function (path) {\n\t var _this = this;\n\t var future = path[path.length - 1];\n\t var canActivateChildGuards = path.slice(0, path.length - 1)\n\t .reverse()\n\t .map(function (p) { return _this.extractCanActivateChild(p); })\n\t .filter(function (_) { return _ !== null; });\n\t return andObservables(rxjs_operator_map.map.call(rxjs_observable_from.from(canActivateChildGuards), function (d) {\n\t var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(d.guards), function (c) {\n\t var guard = _this.getToken(c, c.node);\n\t var observable;\n\t if (guard.canActivateChild) {\n\t observable = wrapIntoObservable(guard.canActivateChild(future, _this.future));\n\t }\n\t else {\n\t observable = wrapIntoObservable(guard(future, _this.future));\n\t }\n\t return rxjs_operator_first.first.call(observable);\n\t });\n\t return andObservables(obs);\n\t }));\n\t };\n\t PreActivation.prototype.extractCanActivateChild = function (p) {\n\t var canActivateChild = p._routeConfig ? p._routeConfig.canActivateChild : null;\n\t if (!canActivateChild || canActivateChild.length === 0)\n\t return null;\n\t return { node: p, guards: canActivateChild };\n\t };\n\t PreActivation.prototype.runCanDeactivate = function (component, curr) {\n\t var _this = this;\n\t var canDeactivate = curr && curr._routeConfig ? curr._routeConfig.canDeactivate : null;\n\t if (!canDeactivate || canDeactivate.length === 0)\n\t return rxjs_observable_of.of(true);\n\t var canDeactivate$ = rxjs_operator_mergeMap.mergeMap.call(rxjs_observable_from.from(canDeactivate), function (c) {\n\t var guard = _this.getToken(c, curr);\n\t var observable;\n\t if (guard.canDeactivate) {\n\t observable = wrapIntoObservable(guard.canDeactivate(component, curr, _this.curr));\n\t }\n\t else {\n\t observable = wrapIntoObservable(guard(component, curr, _this.curr));\n\t }\n\t return rxjs_operator_first.first.call(observable);\n\t });\n\t return rxjs_operator_every.every.call(canDeactivate$, function (result) { return result === true; });\n\t };\n\t PreActivation.prototype.runResolve = function (future) {\n\t var resolve = future._resolve;\n\t return rxjs_operator_map.map.call(this.resolveNode(resolve, future), function (resolvedData) {\n\t future._resolvedData = resolvedData;\n\t future.data = merge(future.data, inheritedParamsDataResolve(future).resolve);\n\t return null;\n\t });\n\t };\n\t PreActivation.prototype.resolveNode = function (resolve, future) {\n\t var _this = this;\n\t return waitForMap(resolve, function (k, v) {\n\t var resolver = _this.getToken(v, future);\n\t return resolver.resolve ? wrapIntoObservable(resolver.resolve(future, _this.future)) :\n\t wrapIntoObservable(resolver(future, _this.future));\n\t });\n\t };\n\t PreActivation.prototype.getToken = function (token, snapshot) {\n\t var config = closestLoadedConfig(snapshot);\n\t var injector = config ? config.injector : this.injector;\n\t return injector.get(token);\n\t };\n\t return PreActivation;\n\t }());\n\t var ActivateRoutes = (function () {\n\t function ActivateRoutes(futureState, currState) {\n\t this.futureState = futureState;\n\t this.currState = currState;\n\t }\n\t ActivateRoutes.prototype.activate = function (parentOutletMap) {\n\t var futureRoot = this.futureState._root;\n\t var currRoot = this.currState ? this.currState._root : null;\n\t this.deactivateChildRoutes(futureRoot, currRoot, parentOutletMap);\n\t advanceActivatedRoute(this.futureState.root);\n\t this.activateChildRoutes(futureRoot, currRoot, parentOutletMap);\n\t };\n\t ActivateRoutes.prototype.deactivateChildRoutes = function (futureNode, currNode, outletMap) {\n\t var _this = this;\n\t var prevChildren = nodeChildrenAsMap(currNode);\n\t futureNode.children.forEach(function (c) {\n\t _this.deactivateRoutes(c, prevChildren[c.value.outlet], outletMap);\n\t delete prevChildren[c.value.outlet];\n\t });\n\t forEach(prevChildren, function (v, k) { return _this.deactiveRouteAndItsChildren(v, outletMap); });\n\t };\n\t ActivateRoutes.prototype.activateChildRoutes = function (futureNode, currNode, outletMap) {\n\t var _this = this;\n\t var prevChildren = nodeChildrenAsMap(currNode);\n\t futureNode.children.forEach(function (c) { _this.activateRoutes(c, prevChildren[c.value.outlet], outletMap); });\n\t };\n\t ActivateRoutes.prototype.deactivateRoutes = function (futureNode, currNode, parentOutletMap) {\n\t var future = futureNode.value;\n\t var curr = currNode ? currNode.value : null;\n\t // reusing the node\n\t if (future === curr) {\n\t // If we have a normal route, we need to go through an outlet.\n\t if (future.component) {\n\t var outlet = getOutlet(parentOutletMap, future);\n\t this.deactivateChildRoutes(futureNode, currNode, outlet.outletMap);\n\t }\n\t else {\n\t this.deactivateChildRoutes(futureNode, currNode, parentOutletMap);\n\t }\n\t }\n\t else {\n\t if (curr) {\n\t this.deactiveRouteAndItsChildren(currNode, parentOutletMap);\n\t }\n\t }\n\t };\n\t ActivateRoutes.prototype.activateRoutes = function (futureNode, currNode, parentOutletMap) {\n\t var future = futureNode.value;\n\t var curr = currNode ? currNode.value : null;\n\t // reusing the node\n\t if (future === curr) {\n\t // advance the route to push the parameters\n\t advanceActivatedRoute(future);\n\t // If we have a normal route, we need to go through an outlet.\n\t if (future.component) {\n\t var outlet = getOutlet(parentOutletMap, future);\n\t this.activateChildRoutes(futureNode, currNode, outlet.outletMap);\n\t }\n\t else {\n\t this.activateChildRoutes(futureNode, currNode, parentOutletMap);\n\t }\n\t }\n\t else {\n\t // if we have a normal route, we need to advance the route\n\t // and place the component into the outlet. After that recurse.\n\t if (future.component) {\n\t advanceActivatedRoute(future);\n\t var outlet = getOutlet(parentOutletMap, futureNode.value);\n\t var outletMap = new RouterOutletMap();\n\t this.placeComponentIntoOutlet(outletMap, future, outlet);\n\t this.activateChildRoutes(futureNode, null, outletMap);\n\t }\n\t else {\n\t advanceActivatedRoute(future);\n\t this.activateChildRoutes(futureNode, null, parentOutletMap);\n\t }\n\t }\n\t };\n\t ActivateRoutes.prototype.placeComponentIntoOutlet = function (outletMap, future, outlet) {\n\t var resolved = [{ provide: ActivatedRoute, useValue: future }, {\n\t provide: RouterOutletMap,\n\t useValue: outletMap\n\t }];\n\t var config = parentLoadedConfig(future.snapshot);\n\t var resolver = null;\n\t var injector = null;\n\t if (config) {\n\t injector = config.injectorFactory(outlet.locationInjector);\n\t resolver = config.factoryResolver;\n\t resolved.push({ provide: _angular_core.ComponentFactoryResolver, useValue: resolver });\n\t }\n\t else {\n\t injector = outlet.locationInjector;\n\t resolver = outlet.locationFactoryResolver;\n\t }\n\t outlet.activate(future, resolver, injector, _angular_core.ReflectiveInjector.resolve(resolved), outletMap);\n\t };\n\t ActivateRoutes.prototype.deactiveRouteAndItsChildren = function (route, parentOutletMap) {\n\t var _this = this;\n\t var prevChildren = nodeChildrenAsMap(route);\n\t var outlet = null;\n\t // getOutlet throws when cannot find the right outlet,\n\t // which can happen if an outlet was in an NgIf and was removed\n\t try {\n\t outlet = getOutlet(parentOutletMap, route.value);\n\t }\n\t catch (e) {\n\t return;\n\t }\n\t var childOutletMap = outlet.outletMap;\n\t forEach(prevChildren, function (v, k) {\n\t if (route.value.component) {\n\t _this.deactiveRouteAndItsChildren(v, childOutletMap);\n\t }\n\t else {\n\t _this.deactiveRouteAndItsChildren(v, parentOutletMap);\n\t }\n\t });\n\t if (outlet && outlet.isActivated) {\n\t outlet.deactivate();\n\t }\n\t };\n\t return ActivateRoutes;\n\t }());\n\t function parentLoadedConfig(snapshot) {\n\t var s = snapshot.parent;\n\t while (s) {\n\t var c = s._routeConfig;\n\t if (c && c._loadedConfig)\n\t return c._loadedConfig;\n\t if (c && c.component)\n\t return null;\n\t s = s.parent;\n\t }\n\t return null;\n\t }\n\t function closestLoadedConfig(snapshot) {\n\t if (!snapshot)\n\t return null;\n\t var s = snapshot.parent;\n\t while (s) {\n\t var c = s._routeConfig;\n\t if (c && c._loadedConfig)\n\t return c._loadedConfig;\n\t s = s.parent;\n\t }\n\t return null;\n\t }\n\t function nodeChildrenAsMap(node) {\n\t return node ? node.children.reduce(function (m, c) {\n\t m[c.value.outlet] = c;\n\t return m;\n\t }, {}) : {};\n\t }\n\t function getOutlet(outletMap, route) {\n\t var outlet = outletMap._outlets[route.outlet];\n\t if (!outlet) {\n\t var componentName = route.component.name;\n\t if (route.outlet === PRIMARY_OUTLET) {\n\t throw new Error(\"Cannot find primary outlet to load '\" + componentName + \"'\");\n\t }\n\t else {\n\t throw new Error(\"Cannot find the outlet \" + route.outlet + \" to load '\" + componentName + \"'\");\n\t }\n\t }\n\t return outlet;\n\t }\n\t\n\t /**\n\t * @whatItDoes Lets you link to specific parts of your app.\n\t *\n\t * @howToUse\n\t *\n\t * Consider the following route configuration:\n\t\n\t * ```\n\t * [{ path: 'user/:name', component: UserCmp }]\n\t * ```\n\t *\n\t * When linking to this `user/:name` route, you can write:\n\t *\n\t * ```\n\t * <a routerLink='/user/bob'>link to user component</a>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * The RouterLink directives let you link to specific parts of your app.\n\t *\n\t * Whe the link is static, you can use the directive as follows:\n\t *\n\t * ```\n\t * <a routerLink=\"/user/bob\">link to user component</a>\n\t * ```\n\t *\n\t * If you use dynamic values to generate the link, you can pass an array of path\n\t * segments, followed by the params for each segment.\n\t *\n\t * For instance `['/team', teamId, 'user', userName, {details: true}]`\n\t * means that we want to generate a link to `/team/11/user/bob;details=true`.\n\t *\n\t * Multiple static segments can be merged into one (e.g., `['/team/11/user', userName, {details:\n\t true}]`).\n\t *\n\t * The first segment name can be prepended with `/`, `./`, or `../`:\n\t * * If the first segment begins with `/`, the router will look up the route from the root of the\n\t app.\n\t * * If the first segment begins with `./`, or doesn't begin with a slash, the router will\n\t * instead look in the children of the current activated route.\n\t * * And if the first segment begins with `../`, the router will go up one level.\n\t *\n\t * You can set query params and fragment as follows:\n\t *\n\t * ```\n\t * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">link to user\n\t component</a>\n\t * ```\n\t * RouterLink will use these to generate this link: `/user/bob#education?debug=true`.\n\t *\n\t * You can also tell the directive to preserve the current query params and fragment:\n\t *\n\t * ```\n\t * <a [routerLink]=\"['/user/bob']\" preserveQueryParams preserveFragment>link to user\n\t component</a>\n\t * ```\n\t *\n\t * The router link directive always treats the provided input as a delta to the current url.\n\t *\n\t * For instance, if the current url is `/user/(box//aux:team)`.\n\t *\n\t * Then the following link `<a [routerLink]=\"['/user/jim']\">Jim</a>` will generate the link\n\t * `/user/(jim//aux:team)`.\n\t *\n\t * @selector ':not(a)[routerLink]'\n\t * @ngModule RouterModule\n\t *\n\t * See {@link Router.createUrlTree} for more information.\n\t *\n\t * @stable\n\t */\n\t var RouterLink = (function () {\n\t function RouterLink(router, route, locationStrategy) {\n\t this.router = router;\n\t this.route = route;\n\t this.locationStrategy = locationStrategy;\n\t this.commands = [];\n\t }\n\t Object.defineProperty(RouterLink.prototype, \"routerLink\", {\n\t set: function (data) {\n\t if (Array.isArray(data)) {\n\t this.commands = data;\n\t }\n\t else {\n\t this.commands = [data];\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLink.prototype.onClick = function () {\n\t this.router.navigateByUrl(this.urlTree);\n\t return true;\n\t };\n\t Object.defineProperty(RouterLink.prototype, \"urlTree\", {\n\t get: function () {\n\t return this.router.createUrlTree(this.commands, {\n\t relativeTo: this.route,\n\t queryParams: this.queryParams,\n\t fragment: this.fragment,\n\t preserveQueryParams: toBool(this.preserveQueryParams),\n\t preserveFragment: toBool(this.preserveFragment)\n\t });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLink.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: ':not(a)[routerLink]' },] },\n\t ];\n\t /** @nocollapse */\n\t RouterLink.ctorParameters = [\n\t { type: Router, },\n\t { type: ActivatedRoute, },\n\t { type: _angular_common.LocationStrategy, },\n\t ];\n\t RouterLink.propDecorators = {\n\t 'queryParams': [{ type: _angular_core.Input },],\n\t 'fragment': [{ type: _angular_core.Input },],\n\t 'preserveQueryParams': [{ type: _angular_core.Input },],\n\t 'preserveFragment': [{ type: _angular_core.Input },],\n\t 'routerLink': [{ type: _angular_core.Input },],\n\t 'onClick': [{ type: _angular_core.HostListener, args: ['click', [],] },],\n\t };\n\t return RouterLink;\n\t }());\n\t /**\n\t * @whatItDoes Lets you link to specific parts of your app.\n\t *\n\t * See {@link RouterLink} for more information.\n\t *\n\t * @selector 'a[routerLink]'\n\t * @ngModule RouterModule\n\t *\n\t * @stable\n\t */\n\t var RouterLinkWithHref = (function () {\n\t function RouterLinkWithHref(router, route, locationStrategy) {\n\t var _this = this;\n\t this.router = router;\n\t this.route = route;\n\t this.locationStrategy = locationStrategy;\n\t this.commands = [];\n\t this.subscription = router.events.subscribe(function (s) {\n\t if (s instanceof NavigationEnd) {\n\t _this.updateTargetUrlAndHref();\n\t }\n\t });\n\t }\n\t Object.defineProperty(RouterLinkWithHref.prototype, \"routerLink\", {\n\t set: function (data) {\n\t if (Array.isArray(data)) {\n\t this.commands = data;\n\t }\n\t else {\n\t this.commands = [data];\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLinkWithHref.prototype.ngOnChanges = function (changes) { this.updateTargetUrlAndHref(); };\n\t RouterLinkWithHref.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n\t RouterLinkWithHref.prototype.onClick = function (button, ctrlKey, metaKey) {\n\t if (button !== 0 || ctrlKey || metaKey) {\n\t return true;\n\t }\n\t if (typeof this.target === 'string' && this.target != '_self') {\n\t return true;\n\t }\n\t this.router.navigateByUrl(this.urlTree);\n\t return false;\n\t };\n\t RouterLinkWithHref.prototype.updateTargetUrlAndHref = function () {\n\t this.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree));\n\t };\n\t Object.defineProperty(RouterLinkWithHref.prototype, \"urlTree\", {\n\t get: function () {\n\t return this.router.createUrlTree(this.commands, {\n\t relativeTo: this.route,\n\t queryParams: this.queryParams,\n\t fragment: this.fragment,\n\t preserveQueryParams: toBool(this.preserveQueryParams),\n\t preserveFragment: toBool(this.preserveFragment)\n\t });\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLinkWithHref.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: 'a[routerLink]' },] },\n\t ];\n\t /** @nocollapse */\n\t RouterLinkWithHref.ctorParameters = [\n\t { type: Router, },\n\t { type: ActivatedRoute, },\n\t { type: _angular_common.LocationStrategy, },\n\t ];\n\t RouterLinkWithHref.propDecorators = {\n\t 'target': [{ type: _angular_core.Input },],\n\t 'queryParams': [{ type: _angular_core.Input },],\n\t 'fragment': [{ type: _angular_core.Input },],\n\t 'routerLinkOptions': [{ type: _angular_core.Input },],\n\t 'preserveQueryParams': [{ type: _angular_core.Input },],\n\t 'preserveFragment': [{ type: _angular_core.Input },],\n\t 'href': [{ type: _angular_core.HostBinding },],\n\t 'routerLink': [{ type: _angular_core.Input },],\n\t 'onClick': [{ type: _angular_core.HostListener, args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey'],] },],\n\t };\n\t return RouterLinkWithHref;\n\t }());\n\t function toBool(s) {\n\t if (s === '')\n\t return true;\n\t return !!s;\n\t }\n\t\n\t /**\n\t * @whatItDoes Lets you add a CSS class to an element when the link's route becomes active.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n\t * ```\n\t *\n\t * @description\n\t *\n\t * The RouterLinkActive directive lets you add a CSS class to an element when the link's route\n\t * becomes active.\n\t *\n\t * Consider the following example:\n\t *\n\t * ```\n\t * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n\t * ```\n\t *\n\t * When the url is either '/user' or '/user/bob', the active-link class will\n\t * be added to the `a` tag. If the url changes, the class will be removed.\n\t *\n\t * You can set more than one class, as follows:\n\t *\n\t * ```\n\t * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n\t * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n\t * ```\n\t *\n\t * You can configure RouterLinkActive by passing `exact: true`. This will add the classes\n\t * only when the url matches the link exactly.\n\t *\n\t * ```\n\t * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n\t * true}\">Bob</a>\n\t * ```\n\t *\n\t * You can assign the RouterLinkActive instance to a template variable and directly check\n\t * the `isActive` status.\n\t * ```\n\t * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n\t * Bob {{ rla.isActive ? '(already open)' : ''}}\n\t * </a>\n\t * ```\n\t *\n\t * Finally, you can apply the RouterLinkActive directive to an ancestor of a RouterLink.\n\t *\n\t * ```\n\t * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n\t * <a routerLink=\"/user/jim\">Jim</a>\n\t * <a routerLink=\"/user/bob\">Bob</a>\n\t * </div>\n\t * ```\n\t *\n\t * This will set the active-link class on the div tag if the url is either '/user/jim' or\n\t * '/user/bob'.\n\t *\n\t * @selector ':not(a)[routerLink]'\n\t * @ngModule RouterModule\n\t *\n\t * @stable\n\t */\n\t var RouterLinkActive = (function () {\n\t function RouterLinkActive(router, element, renderer) {\n\t var _this = this;\n\t this.router = router;\n\t this.element = element;\n\t this.renderer = renderer;\n\t this.classes = [];\n\t this.routerLinkActiveOptions = { exact: false };\n\t this.subscription = router.events.subscribe(function (s) {\n\t if (s instanceof NavigationEnd) {\n\t _this.update();\n\t }\n\t });\n\t }\n\t Object.defineProperty(RouterLinkActive.prototype, \"isActive\", {\n\t get: function () { return this.hasActiveLink(); },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLinkActive.prototype.ngAfterContentInit = function () {\n\t var _this = this;\n\t this.links.changes.subscribe(function (s) { return _this.update(); });\n\t this.linksWithHrefs.changes.subscribe(function (s) { return _this.update(); });\n\t this.update();\n\t };\n\t Object.defineProperty(RouterLinkActive.prototype, \"routerLinkActive\", {\n\t set: function (data) {\n\t if (Array.isArray(data)) {\n\t this.classes = data;\n\t }\n\t else {\n\t this.classes = data.split(' ');\n\t }\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterLinkActive.prototype.ngOnChanges = function (changes) { this.update(); };\n\t RouterLinkActive.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n\t RouterLinkActive.prototype.update = function () {\n\t var _this = this;\n\t if (!this.links || !this.linksWithHrefs || !this.router.navigated)\n\t return;\n\t var isActive = this.hasActiveLink();\n\t this.classes.forEach(function (c) {\n\t if (c) {\n\t _this.renderer.setElementClass(_this.element.nativeElement, c, isActive);\n\t }\n\t });\n\t };\n\t RouterLinkActive.prototype.isLinkActive = function (router) {\n\t var _this = this;\n\t return function (link) {\n\t return router.isActive(link.urlTree, _this.routerLinkActiveOptions.exact);\n\t };\n\t };\n\t RouterLinkActive.prototype.hasActiveLink = function () {\n\t return this.links.some(this.isLinkActive(this.router)) ||\n\t this.linksWithHrefs.some(this.isLinkActive(this.router));\n\t };\n\t RouterLinkActive.decorators = [\n\t { type: _angular_core.Directive, args: [{\n\t selector: '[routerLinkActive]',\n\t exportAs: 'routerLinkActive',\n\t },] },\n\t ];\n\t /** @nocollapse */\n\t RouterLinkActive.ctorParameters = [\n\t { type: Router, },\n\t { type: _angular_core.ElementRef, },\n\t { type: _angular_core.Renderer, },\n\t ];\n\t RouterLinkActive.propDecorators = {\n\t 'links': [{ type: _angular_core.ContentChildren, args: [RouterLink, { descendants: true },] },],\n\t 'linksWithHrefs': [{ type: _angular_core.ContentChildren, args: [RouterLinkWithHref, { descendants: true },] },],\n\t 'routerLinkActiveOptions': [{ type: _angular_core.Input },],\n\t 'routerLinkActive': [{ type: _angular_core.Input },],\n\t };\n\t return RouterLinkActive;\n\t }());\n\t\n\t /**\n\t * @whatItDoes Acts as a placeholder that Angular dynamically fills based on the current router\n\t * state.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * <router-outlet></router-outlet>\n\t * <router-outlet name='left'></router-outlet>\n\t * <router-outlet name='right'></router-outlet>\n\t * ```\n\t *\n\t * A router outlet will emit an activate event any time a new component is being instantiated,\n\t * and a deactivate event when it is being destroyed.\n\t *\n\t * ```\n\t * <router-outlet\n\t * (activate)='onActivate($event)'\n\t * (deactivate)='onDeactivate($event)'></router-outlet>\n\t * ```\n\t * @selector 'a[routerLink]'\n\t * @ngModule RouterModule\n\t *\n\t * @stable\n\t */\n\t var RouterOutlet = (function () {\n\t function RouterOutlet(parentOutletMap, location, resolver, name) {\n\t this.parentOutletMap = parentOutletMap;\n\t this.location = location;\n\t this.resolver = resolver;\n\t this.name = name;\n\t this.activateEvents = new _angular_core.EventEmitter();\n\t this.deactivateEvents = new _angular_core.EventEmitter();\n\t parentOutletMap.registerOutlet(name ? name : PRIMARY_OUTLET, this);\n\t }\n\t RouterOutlet.prototype.ngOnDestroy = function () { this.parentOutletMap.removeOutlet(this.name ? this.name : PRIMARY_OUTLET); };\n\t Object.defineProperty(RouterOutlet.prototype, \"locationInjector\", {\n\t get: function () { return this.location.injector; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RouterOutlet.prototype, \"locationFactoryResolver\", {\n\t get: function () { return this.resolver; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RouterOutlet.prototype, \"isActivated\", {\n\t get: function () { return !!this.activated; },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RouterOutlet.prototype, \"component\", {\n\t get: function () {\n\t if (!this.activated)\n\t throw new Error('Outlet is not activated');\n\t return this.activated.instance;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t Object.defineProperty(RouterOutlet.prototype, \"activatedRoute\", {\n\t get: function () {\n\t if (!this.activated)\n\t throw new Error('Outlet is not activated');\n\t return this._activatedRoute;\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t RouterOutlet.prototype.deactivate = function () {\n\t if (this.activated) {\n\t var c = this.component;\n\t this.activated.destroy();\n\t this.activated = null;\n\t this.deactivateEvents.emit(c);\n\t }\n\t };\n\t RouterOutlet.prototype.activate = function (activatedRoute, resolver, injector, providers, outletMap) {\n\t if (this.isActivated) {\n\t throw new Error('Cannot activate an already activated outlet');\n\t }\n\t this.outletMap = outletMap;\n\t this._activatedRoute = activatedRoute;\n\t var snapshot = activatedRoute._futureSnapshot;\n\t var component = snapshot._routeConfig.component;\n\t var factory = resolver.resolveComponentFactory(component);\n\t var inj = _angular_core.ReflectiveInjector.fromResolvedProviders(providers, injector);\n\t this.activated = this.location.createComponent(factory, this.location.length, inj, []);\n\t this.activated.changeDetectorRef.detectChanges();\n\t this.activateEvents.emit(this.activated.instance);\n\t };\n\t RouterOutlet.decorators = [\n\t { type: _angular_core.Directive, args: [{ selector: 'router-outlet' },] },\n\t ];\n\t /** @nocollapse */\n\t RouterOutlet.ctorParameters = [\n\t { type: RouterOutletMap, },\n\t { type: _angular_core.ViewContainerRef, },\n\t { type: _angular_core.ComponentFactoryResolver, },\n\t { type: undefined, decorators: [{ type: _angular_core.Attribute, args: ['name',] },] },\n\t ];\n\t RouterOutlet.propDecorators = {\n\t 'activateEvents': [{ type: _angular_core.Output, args: ['activate',] },],\n\t 'deactivateEvents': [{ type: _angular_core.Output, args: ['deactivate',] },],\n\t };\n\t return RouterOutlet;\n\t }());\n\t\n\t var getDOM = _angular_platformBrowser.__platform_browser_private__.getDOM;\n\t\n\t /**\n\t * @whatItDoes Provides a preloading strategy.\n\t *\n\t * @experimental\n\t */\n\t var PreloadingStrategy = (function () {\n\t function PreloadingStrategy() {\n\t }\n\t return PreloadingStrategy;\n\t }());\n\t /**\n\t * @whatItDoes Provides a preloading strategy that preloads all modules as quicky as possible.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n\t * ```\n\t *\n\t * @experimental\n\t */\n\t var PreloadAllModules = (function () {\n\t function PreloadAllModules() {\n\t }\n\t PreloadAllModules.prototype.preload = function (route, fn) {\n\t return rxjs_operator_catch._catch.call(fn(), function () { return rxjs_observable_of.of(null); });\n\t };\n\t return PreloadAllModules;\n\t }());\n\t /**\n\t * @whatItDoes Provides a preloading strategy that does not preload any modules.\n\t *\n\t * @description\n\t *\n\t * This strategy is enabled by default.\n\t *\n\t * @experimental\n\t */\n\t var NoPreloading = (function () {\n\t function NoPreloading() {\n\t }\n\t NoPreloading.prototype.preload = function (route, fn) { return rxjs_observable_of.of(null); };\n\t return NoPreloading;\n\t }());\n\t /**\n\t * The preloader optimistically loads all router configurations to\n\t * make navigations into lazily-loaded sections of the application faster.\n\t *\n\t * The preloader runs in the background. When the router bootstraps, the preloader\n\t * starts listening to all navigation events. After every such event, the preloader\n\t * will check if any configurations can be loaded lazily.\n\t *\n\t * If a route is protected by `canLoad` guards, the preloaded will not load it.\n\t *\n\t * @stable\n\t */\n\t var RouterPreloader = (function () {\n\t function RouterPreloader(router, moduleLoader, compiler, injector, preloadingStrategy) {\n\t this.router = router;\n\t this.injector = injector;\n\t this.preloadingStrategy = preloadingStrategy;\n\t this.loader = new RouterConfigLoader(moduleLoader, compiler);\n\t }\n\t ;\n\t RouterPreloader.prototype.setUpPreloading = function () {\n\t var _this = this;\n\t var navigations = rxjs_operator_filter.filter.call(this.router.events, function (e) { return e instanceof NavigationEnd; });\n\t this.subscription = rxjs_operator_concatMap.concatMap.call(navigations, function () { return _this.preload(); }).subscribe(function (v) { });\n\t };\n\t RouterPreloader.prototype.preload = function () { return this.processRoutes(this.injector, this.router.config); };\n\t RouterPreloader.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n\t RouterPreloader.prototype.processRoutes = function (injector, routes) {\n\t var res = [];\n\t for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n\t var c = routes_1[_i];\n\t // we already have the config loaded, just recurce\n\t if (c.loadChildren && !c.canLoad && c._loadedConfig) {\n\t var childConfig = c._loadedConfig;\n\t res.push(this.processRoutes(childConfig.injector, childConfig.routes));\n\t }\n\t else if (c.loadChildren && !c.canLoad) {\n\t res.push(this.preloadConfig(injector, c));\n\t }\n\t else if (c.children) {\n\t res.push(this.processRoutes(injector, c.children));\n\t }\n\t }\n\t return rxjs_operator_mergeAll.mergeAll.call(rxjs_observable_from.from(res));\n\t };\n\t RouterPreloader.prototype.preloadConfig = function (injector, route) {\n\t var _this = this;\n\t return this.preloadingStrategy.preload(route, function () {\n\t var loaded = _this.loader.load(injector, route.loadChildren);\n\t return rxjs_operator_mergeMap.mergeMap.call(loaded, function (config) {\n\t var c = route;\n\t c._loadedConfig = config;\n\t return _this.processRoutes(config.injector, config.routes);\n\t });\n\t });\n\t };\n\t RouterPreloader.decorators = [\n\t { type: _angular_core.Injectable },\n\t ];\n\t /** @nocollapse */\n\t RouterPreloader.ctorParameters = [\n\t { type: Router, },\n\t { type: _angular_core.NgModuleFactoryLoader, },\n\t { type: _angular_core.Compiler, },\n\t { type: _angular_core.Injector, },\n\t { type: PreloadingStrategy, },\n\t ];\n\t return RouterPreloader;\n\t }());\n\t\n\t /**\n\t * @whatItDoes Contains a list of directives\n\t * @stable\n\t */\n\t var ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive];\n\t /**\n\t * @whatItDoes Is used in DI to configure the router.\n\t * @stable\n\t */\n\t var ROUTER_CONFIGURATION = new _angular_core.OpaqueToken('ROUTER_CONFIGURATION');\n\t /**\n\t * @docsNotRequired\n\t */\n\t var ROUTER_FORROOT_GUARD = new _angular_core.OpaqueToken('ROUTER_FORROOT_GUARD');\n\t var ROUTER_PROVIDERS = [\n\t _angular_common.Location, { provide: UrlSerializer, useClass: DefaultUrlSerializer }, {\n\t provide: Router,\n\t useFactory: setupRouter,\n\t deps: [\n\t _angular_core.ApplicationRef, UrlSerializer, RouterOutletMap, _angular_common.Location, _angular_core.Injector, _angular_core.NgModuleFactoryLoader,\n\t _angular_core.Compiler, ROUTES, ROUTER_CONFIGURATION, [UrlHandlingStrategy, new _angular_core.Optional()]\n\t ]\n\t },\n\t RouterOutletMap, { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n\t { provide: _angular_core.NgModuleFactoryLoader, useClass: _angular_core.SystemJsNgModuleLoader }, RouterPreloader, NoPreloading,\n\t PreloadAllModules, { provide: ROUTER_CONFIGURATION, useValue: { enableTracing: false } }\n\t ];\n\t /**\n\t * @whatItDoes Adds router directives and providers.\n\t *\n\t * @howToUse\n\t *\n\t * RouterModule can be imported multiple times: once per lazily-loaded bundle.\n\t * Since the router deals with a global shared resource--location, we cannot have\n\t * more than one router service active.\n\t *\n\t * That is why there are two ways to create the module: `RouterModule.forRoot` and\n\t * `RouterModule.forChild`.\n\t *\n\t * * `forRoot` creates a module that contains all the directives, the given routes, and the router\n\t * service itself.\n\t * * `forChild` creates a module that contains all the directives and the given routes, but does not\n\t * include\n\t * the router service.\n\t *\n\t * When registered at the root, the module should be used as follows\n\t *\n\t * ```\n\t * @NgModule({\n\t * imports: [RouterModule.forRoot(ROUTES)]\n\t * })\n\t * class MyNgModule {}\n\t * ```\n\t *\n\t * For submodules and lazy loaded submodules the module should be used as follows:\n\t *\n\t * ```\n\t * @NgModule({\n\t * imports: [RouterModule.forChild(ROUTES)]\n\t * })\n\t * class MyNgModule {}\n\t * ```\n\t *\n\t * @description\n\t *\n\t * Managing state transitions is one of the hardest parts of building applications. This is\n\t * especially true on the web, where you also need to ensure that the state is reflected in the URL.\n\t * In addition, we often want to split applications into multiple bundles and load them on demand.\n\t * Doing this transparently is not trivial.\n\t *\n\t * The Angular 2 router solves these problems. Using the router, you can declaratively specify\n\t * application states, manage state transitions while taking care of the URL, and load bundles on\n\t * demand.\n\t *\n\t * [Read this developer guide](https://angular.io/docs/ts/latest/guide/router.html) to get an\n\t * overview of how the router should be used.\n\t *\n\t * @stable\n\t */\n\t var RouterModule = (function () {\n\t function RouterModule(guard) {\n\t }\n\t /**\n\t * Creates a module with all the router providers and directives. It also optionally sets up an\n\t * application listener to perform an initial navigation.\n\t *\n\t * Options:\n\t * * `enableTracing` makes the router log all its internal events to the console.\n\t * * `useHash` enables the location strategy that uses the URL fragment instead of the history\n\t * API.\n\t * * `initialNavigation` disables the initial navigation.\n\t * * `errorHandler` provides a custom error handler.\n\t */\n\t RouterModule.forRoot = function (routes, config) {\n\t return {\n\t ngModule: RouterModule,\n\t providers: [\n\t ROUTER_PROVIDERS, provideRoutes(routes), {\n\t provide: ROUTER_FORROOT_GUARD,\n\t useFactory: provideForRootGuard,\n\t deps: [[Router, new _angular_core.Optional(), new _angular_core.SkipSelf()]]\n\t },\n\t { provide: ROUTER_CONFIGURATION, useValue: config ? config : {} }, {\n\t provide: _angular_common.LocationStrategy,\n\t useFactory: provideLocationStrategy,\n\t deps: [\n\t _angular_common.PlatformLocation, [new _angular_core.Inject(_angular_common.APP_BASE_HREF), new _angular_core.Optional()], ROUTER_CONFIGURATION\n\t ]\n\t },\n\t {\n\t provide: PreloadingStrategy,\n\t useExisting: config && config.preloadingStrategy ? config.preloadingStrategy :\n\t NoPreloading\n\t },\n\t provideRouterInitializer()\n\t ]\n\t };\n\t };\n\t /**\n\t * Creates a module with all the router directives and a provider registering routes.\n\t */\n\t RouterModule.forChild = function (routes) {\n\t return { ngModule: RouterModule, providers: [provideRoutes(routes)] };\n\t };\n\t RouterModule.decorators = [\n\t { type: _angular_core.NgModule, args: [{ declarations: ROUTER_DIRECTIVES, exports: ROUTER_DIRECTIVES },] },\n\t ];\n\t /** @nocollapse */\n\t RouterModule.ctorParameters = [\n\t { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [ROUTER_FORROOT_GUARD,] },] },\n\t ];\n\t return RouterModule;\n\t }());\n\t function provideLocationStrategy(platformLocationStrategy, baseHref, options) {\n\t if (options === void 0) { options = {}; }\n\t return options.useHash ? new _angular_common.HashLocationStrategy(platformLocationStrategy, baseHref) :\n\t new _angular_common.PathLocationStrategy(platformLocationStrategy, baseHref);\n\t }\n\t function provideForRootGuard(router) {\n\t if (router) {\n\t throw new Error(\"RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.\");\n\t }\n\t return 'guarded';\n\t }\n\t /**\n\t * @whatItDoes Registers routes.\n\t *\n\t * @howToUse\n\t *\n\t * ```\n\t * @NgModule({\n\t * imports: [RouterModule.forChild(ROUTES)],\n\t * providers: [provideRoutes(EXTRA_ROUTES)]\n\t * })\n\t * class MyNgModule {}\n\t * ```\n\t *\n\t * @stable\n\t */\n\t function provideRoutes(routes) {\n\t return [\n\t { provide: _angular_core.ANALYZE_FOR_ENTRY_COMPONENTS, multi: true, useValue: routes },\n\t { provide: ROUTES, multi: true, useValue: routes }\n\t ];\n\t }\n\t function setupRouter(ref, urlSerializer, outletMap, location, injector, loader, compiler, config, opts, urlHandlingStrategy) {\n\t if (opts === void 0) { opts = {}; }\n\t var router = new Router(null, urlSerializer, outletMap, location, injector, loader, compiler, flatten(config));\n\t if (urlHandlingStrategy) {\n\t router.urlHandlingStrategy = urlHandlingStrategy;\n\t }\n\t if (opts.errorHandler) {\n\t router.errorHandler = opts.errorHandler;\n\t }\n\t if (opts.enableTracing) {\n\t var dom_1 = getDOM();\n\t router.events.subscribe(function (e) {\n\t dom_1.logGroup(\"Router Event: \" + e.constructor.name);\n\t dom_1.log(e.toString());\n\t dom_1.log(e);\n\t dom_1.logGroupEnd();\n\t });\n\t }\n\t return router;\n\t }\n\t function rootRoute(router) {\n\t return router.routerState.root;\n\t }\n\t function initialRouterNavigation(router, ref, preloader, opts) {\n\t return function (bootstrappedComponentRef) {\n\t if (bootstrappedComponentRef !== ref.components[0]) {\n\t return;\n\t }\n\t router.resetRootComponentType(ref.componentTypes[0]);\n\t preloader.setUpPreloading();\n\t if (opts.initialNavigation === false) {\n\t router.setUpLocationChangeListener();\n\t }\n\t else {\n\t router.initialNavigation();\n\t }\n\t };\n\t }\n\t /**\n\t * A token for the router initializer that will be called after the app is bootstrapped.\n\t *\n\t * @experimental\n\t */\n\t var ROUTER_INITIALIZER = new _angular_core.OpaqueToken('Router Initializer');\n\t function provideRouterInitializer() {\n\t return [\n\t {\n\t provide: ROUTER_INITIALIZER,\n\t useFactory: initialRouterNavigation,\n\t deps: [Router, _angular_core.ApplicationRef, RouterPreloader, ROUTER_CONFIGURATION]\n\t },\n\t { provide: _angular_core.APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER }\n\t ];\n\t }\n\t\n\t var __router_private__ = {\n\t ROUTER_PROVIDERS: ROUTER_PROVIDERS,\n\t ROUTES: ROUTES,\n\t flatten: flatten\n\t };\n\t\n\t exports.RouterLink = RouterLink;\n\t exports.RouterLinkWithHref = RouterLinkWithHref;\n\t exports.RouterLinkActive = RouterLinkActive;\n\t exports.RouterOutlet = RouterOutlet;\n\t exports.NavigationCancel = NavigationCancel;\n\t exports.NavigationEnd = NavigationEnd;\n\t exports.NavigationError = NavigationError;\n\t exports.NavigationStart = NavigationStart;\n\t exports.Router = Router;\n\t exports.RoutesRecognized = RoutesRecognized;\n\t exports.ROUTER_CONFIGURATION = ROUTER_CONFIGURATION;\n\t exports.ROUTER_INITIALIZER = ROUTER_INITIALIZER;\n\t exports.RouterModule = RouterModule;\n\t exports.provideRoutes = provideRoutes;\n\t exports.RouterOutletMap = RouterOutletMap;\n\t exports.NoPreloading = NoPreloading;\n\t exports.PreloadAllModules = PreloadAllModules;\n\t exports.PreloadingStrategy = PreloadingStrategy;\n\t exports.RouterPreloader = RouterPreloader;\n\t exports.ActivatedRoute = ActivatedRoute;\n\t exports.ActivatedRouteSnapshot = ActivatedRouteSnapshot;\n\t exports.RouterState = RouterState;\n\t exports.RouterStateSnapshot = RouterStateSnapshot;\n\t exports.PRIMARY_OUTLET = PRIMARY_OUTLET;\n\t exports.UrlHandlingStrategy = UrlHandlingStrategy;\n\t exports.DefaultUrlSerializer = DefaultUrlSerializer;\n\t exports.UrlSegment = UrlSegment;\n\t exports.UrlSegmentGroup = UrlSegmentGroup;\n\t exports.UrlSerializer = UrlSerializer;\n\t exports.UrlTree = UrlTree;\n\t exports.__router_private__ = __router_private__;\n\t\n\t}));\n\n/***/ },\n/* 349 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subject_1 = __webpack_require__(264);\n\tvar ObjectUnsubscribedError_1 = __webpack_require__(279);\n\t/**\n\t * @class BehaviorSubject<T>\n\t */\n\tvar BehaviorSubject = (function (_super) {\n\t __extends(BehaviorSubject, _super);\n\t function BehaviorSubject(_value) {\n\t _super.call(this);\n\t this._value = _value;\n\t }\n\t Object.defineProperty(BehaviorSubject.prototype, \"value\", {\n\t get: function () {\n\t return this.getValue();\n\t },\n\t enumerable: true,\n\t configurable: true\n\t });\n\t BehaviorSubject.prototype._subscribe = function (subscriber) {\n\t var subscription = _super.prototype._subscribe.call(this, subscriber);\n\t if (subscription && !subscription.closed) {\n\t subscriber.next(this._value);\n\t }\n\t return subscription;\n\t };\n\t BehaviorSubject.prototype.getValue = function () {\n\t if (this.hasError) {\n\t throw this.thrownError;\n\t }\n\t else if (this.closed) {\n\t throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n\t }\n\t else {\n\t return this._value;\n\t }\n\t };\n\t BehaviorSubject.prototype.next = function (value) {\n\t _super.prototype.next.call(this, this._value = value);\n\t };\n\t return BehaviorSubject;\n\t}(Subject_1.Subject));\n\texports.BehaviorSubject = BehaviorSubject;\n\t//# sourceMappingURL=BehaviorSubject.js.map\n\n/***/ },\n/* 350 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar FromObservable_1 = __webpack_require__(351);\n\texports.from = FromObservable_1.FromObservable.create;\n\t//# sourceMappingURL=from.js.map\n\n/***/ },\n/* 351 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar isArray_1 = __webpack_require__(271);\n\tvar isPromise_1 = __webpack_require__(308);\n\tvar PromiseObservable_1 = __webpack_require__(286);\n\tvar IteratorObservable_1 = __webpack_require__(352);\n\tvar ArrayObservable_1 = __webpack_require__(300);\n\tvar ArrayLikeObservable_1 = __webpack_require__(353);\n\tvar iterator_1 = __webpack_require__(309);\n\tvar Observable_1 = __webpack_require__(265);\n\tvar observeOn_1 = __webpack_require__(354);\n\tvar observable_1 = __webpack_require__(278);\n\tvar isArrayLike = (function (x) { return x && typeof x.length === 'number'; });\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar FromObservable = (function (_super) {\n\t __extends(FromObservable, _super);\n\t function FromObservable(ish, scheduler) {\n\t _super.call(this, null);\n\t this.ish = ish;\n\t this.scheduler = scheduler;\n\t }\n\t /**\n\t * Creates an Observable from an Array, an array-like object, a Promise, an\n\t * iterable object, or an Observable-like object.\n\t *\n\t * <span class=\"informal\">Converts almost anything to an Observable.</span>\n\t *\n\t * <img src=\"./img/from.png\" width=\"100%\">\n\t *\n\t * Convert various other objects and data types into Observables. `from`\n\t * converts a Promise or an array-like or an\n\t * [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterable)\n\t * object into an Observable that emits the items in that promise or array or\n\t * iterable. A String, in this context, is treated as an array of characters.\n\t * Observable-like objects (contains a function named with the ES2015 Symbol\n\t * for Observable) can also be converted through this operator.\n\t *\n\t * @example <caption>Converts an array to an Observable</caption>\n\t * var array = [10, 20, 30];\n\t * var result = Rx.Observable.from(array);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @example <caption>Convert an infinite iterable (from a generator) to an Observable</caption>\n\t * function* generateDoubles(seed) {\n\t * var i = seed;\n\t * while (true) {\n\t * yield i;\n\t * i = 2 * i; // double it\n\t * }\n\t * }\n\t *\n\t * var iterator = generateDoubles(3);\n\t * var result = Rx.Observable.from(iterator).take(10);\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link create}\n\t * @see {@link fromEvent}\n\t * @see {@link fromEventPattern}\n\t * @see {@link fromPromise}\n\t *\n\t * @param {ObservableInput<T>} ish A subscribable object, a Promise, an\n\t * Observable-like, an Array, an iterable or an array-like object to be\n\t * converted.\n\t * @param {Scheduler} [scheduler] The scheduler on which to schedule the\n\t * emissions of values.\n\t * @return {Observable<T>} The Observable whose values are originally from the\n\t * input object that was converted.\n\t * @static true\n\t * @name from\n\t * @owner Observable\n\t */\n\t FromObservable.create = function (ish, scheduler) {\n\t if (ish != null) {\n\t if (typeof ish[observable_1.$$observable] === 'function') {\n\t if (ish instanceof Observable_1.Observable && !scheduler) {\n\t return ish;\n\t }\n\t return new FromObservable(ish, scheduler);\n\t }\n\t else if (isArray_1.isArray(ish)) {\n\t return new ArrayObservable_1.ArrayObservable(ish, scheduler);\n\t }\n\t else if (isPromise_1.isPromise(ish)) {\n\t return new PromiseObservable_1.PromiseObservable(ish, scheduler);\n\t }\n\t else if (typeof ish[iterator_1.$$iterator] === 'function' || typeof ish === 'string') {\n\t return new IteratorObservable_1.IteratorObservable(ish, scheduler);\n\t }\n\t else if (isArrayLike(ish)) {\n\t return new ArrayLikeObservable_1.ArrayLikeObservable(ish, scheduler);\n\t }\n\t }\n\t throw new TypeError((ish !== null && typeof ish || ish) + ' is not observable');\n\t };\n\t FromObservable.prototype._subscribe = function (subscriber) {\n\t var ish = this.ish;\n\t var scheduler = this.scheduler;\n\t if (scheduler == null) {\n\t return ish[observable_1.$$observable]().subscribe(subscriber);\n\t }\n\t else {\n\t return ish[observable_1.$$observable]().subscribe(new observeOn_1.ObserveOnSubscriber(subscriber, scheduler, 0));\n\t }\n\t };\n\t return FromObservable;\n\t}(Observable_1.Observable));\n\texports.FromObservable = FromObservable;\n\t//# sourceMappingURL=FromObservable.js.map\n\n/***/ },\n/* 352 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar root_1 = __webpack_require__(266);\n\tvar Observable_1 = __webpack_require__(265);\n\tvar iterator_1 = __webpack_require__(309);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar IteratorObservable = (function (_super) {\n\t __extends(IteratorObservable, _super);\n\t function IteratorObservable(iterator, scheduler) {\n\t _super.call(this);\n\t this.scheduler = scheduler;\n\t if (iterator == null) {\n\t throw new Error('iterator cannot be null.');\n\t }\n\t this.iterator = getIterator(iterator);\n\t }\n\t IteratorObservable.create = function (iterator, scheduler) {\n\t return new IteratorObservable(iterator, scheduler);\n\t };\n\t IteratorObservable.dispatch = function (state) {\n\t var index = state.index, hasError = state.hasError, iterator = state.iterator, subscriber = state.subscriber;\n\t if (hasError) {\n\t subscriber.error(state.error);\n\t return;\n\t }\n\t var result = iterator.next();\n\t if (result.done) {\n\t subscriber.complete();\n\t return;\n\t }\n\t subscriber.next(result.value);\n\t state.index = index + 1;\n\t if (subscriber.closed) {\n\t return;\n\t }\n\t this.schedule(state);\n\t };\n\t IteratorObservable.prototype._subscribe = function (subscriber) {\n\t var index = 0;\n\t var _a = this, iterator = _a.iterator, scheduler = _a.scheduler;\n\t if (scheduler) {\n\t return scheduler.schedule(IteratorObservable.dispatch, 0, {\n\t index: index, iterator: iterator, subscriber: subscriber\n\t });\n\t }\n\t else {\n\t do {\n\t var result = iterator.next();\n\t if (result.done) {\n\t subscriber.complete();\n\t break;\n\t }\n\t else {\n\t subscriber.next(result.value);\n\t }\n\t if (subscriber.closed) {\n\t break;\n\t }\n\t } while (true);\n\t }\n\t };\n\t return IteratorObservable;\n\t}(Observable_1.Observable));\n\texports.IteratorObservable = IteratorObservable;\n\tvar StringIterator = (function () {\n\t function StringIterator(str, idx, len) {\n\t if (idx === void 0) { idx = 0; }\n\t if (len === void 0) { len = str.length; }\n\t this.str = str;\n\t this.idx = idx;\n\t this.len = len;\n\t }\n\t StringIterator.prototype[iterator_1.$$iterator] = function () { return (this); };\n\t StringIterator.prototype.next = function () {\n\t return this.idx < this.len ? {\n\t done: false,\n\t value: this.str.charAt(this.idx++)\n\t } : {\n\t done: true,\n\t value: undefined\n\t };\n\t };\n\t return StringIterator;\n\t}());\n\tvar ArrayIterator = (function () {\n\t function ArrayIterator(arr, idx, len) {\n\t if (idx === void 0) { idx = 0; }\n\t if (len === void 0) { len = toLength(arr); }\n\t this.arr = arr;\n\t this.idx = idx;\n\t this.len = len;\n\t }\n\t ArrayIterator.prototype[iterator_1.$$iterator] = function () { return this; };\n\t ArrayIterator.prototype.next = function () {\n\t return this.idx < this.len ? {\n\t done: false,\n\t value: this.arr[this.idx++]\n\t } : {\n\t done: true,\n\t value: undefined\n\t };\n\t };\n\t return ArrayIterator;\n\t}());\n\tfunction getIterator(obj) {\n\t var i = obj[iterator_1.$$iterator];\n\t if (!i && typeof obj === 'string') {\n\t return new StringIterator(obj);\n\t }\n\t if (!i && obj.length !== undefined) {\n\t return new ArrayIterator(obj);\n\t }\n\t if (!i) {\n\t throw new TypeError('object is not iterable');\n\t }\n\t return obj[iterator_1.$$iterator]();\n\t}\n\tvar maxSafeInteger = Math.pow(2, 53) - 1;\n\tfunction toLength(o) {\n\t var len = +o.length;\n\t if (isNaN(len)) {\n\t return 0;\n\t }\n\t if (len === 0 || !numberIsFinite(len)) {\n\t return len;\n\t }\n\t len = sign(len) * Math.floor(Math.abs(len));\n\t if (len <= 0) {\n\t return 0;\n\t }\n\t if (len > maxSafeInteger) {\n\t return maxSafeInteger;\n\t }\n\t return len;\n\t}\n\tfunction numberIsFinite(value) {\n\t return typeof value === 'number' && root_1.root.isFinite(value);\n\t}\n\tfunction sign(value) {\n\t var valueAsNumber = +value;\n\t if (valueAsNumber === 0) {\n\t return valueAsNumber;\n\t }\n\t if (isNaN(valueAsNumber)) {\n\t return valueAsNumber;\n\t }\n\t return valueAsNumber < 0 ? -1 : 1;\n\t}\n\t//# sourceMappingURL=IteratorObservable.js.map\n\n/***/ },\n/* 353 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Observable_1 = __webpack_require__(265);\n\tvar ScalarObservable_1 = __webpack_require__(301);\n\tvar EmptyObservable_1 = __webpack_require__(302);\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @extends {Ignored}\n\t * @hide true\n\t */\n\tvar ArrayLikeObservable = (function (_super) {\n\t __extends(ArrayLikeObservable, _super);\n\t function ArrayLikeObservable(arrayLike, scheduler) {\n\t _super.call(this);\n\t this.arrayLike = arrayLike;\n\t this.scheduler = scheduler;\n\t if (!scheduler && arrayLike.length === 1) {\n\t this._isScalar = true;\n\t this.value = arrayLike[0];\n\t }\n\t }\n\t ArrayLikeObservable.create = function (arrayLike, scheduler) {\n\t var length = arrayLike.length;\n\t if (length === 0) {\n\t return new EmptyObservable_1.EmptyObservable();\n\t }\n\t else if (length === 1) {\n\t return new ScalarObservable_1.ScalarObservable(arrayLike[0], scheduler);\n\t }\n\t else {\n\t return new ArrayLikeObservable(arrayLike, scheduler);\n\t }\n\t };\n\t ArrayLikeObservable.dispatch = function (state) {\n\t var arrayLike = state.arrayLike, index = state.index, length = state.length, subscriber = state.subscriber;\n\t if (subscriber.closed) {\n\t return;\n\t }\n\t if (index >= length) {\n\t subscriber.complete();\n\t return;\n\t }\n\t subscriber.next(arrayLike[index]);\n\t state.index = index + 1;\n\t this.schedule(state);\n\t };\n\t ArrayLikeObservable.prototype._subscribe = function (subscriber) {\n\t var index = 0;\n\t var _a = this, arrayLike = _a.arrayLike, scheduler = _a.scheduler;\n\t var length = arrayLike.length;\n\t if (scheduler) {\n\t return scheduler.schedule(ArrayLikeObservable.dispatch, 0, {\n\t arrayLike: arrayLike, index: index, length: length, subscriber: subscriber\n\t });\n\t }\n\t else {\n\t for (var i = 0; i < length && !subscriber.closed; i++) {\n\t subscriber.next(arrayLike[i]);\n\t }\n\t subscriber.complete();\n\t }\n\t };\n\t return ArrayLikeObservable;\n\t}(Observable_1.Observable));\n\texports.ArrayLikeObservable = ArrayLikeObservable;\n\t//# sourceMappingURL=ArrayLikeObservable.js.map\n\n/***/ },\n/* 354 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar Notification_1 = __webpack_require__(355);\n\t/**\n\t * @see {@link Notification}\n\t *\n\t * @param scheduler\n\t * @param delay\n\t * @return {Observable<R>|WebSocketSubject<T>|Observable<T>}\n\t * @method observeOn\n\t * @owner Observable\n\t */\n\tfunction observeOn(scheduler, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t return this.lift(new ObserveOnOperator(scheduler, delay));\n\t}\n\texports.observeOn = observeOn;\n\tvar ObserveOnOperator = (function () {\n\t function ObserveOnOperator(scheduler, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t this.scheduler = scheduler;\n\t this.delay = delay;\n\t }\n\t ObserveOnOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n\t };\n\t return ObserveOnOperator;\n\t}());\n\texports.ObserveOnOperator = ObserveOnOperator;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar ObserveOnSubscriber = (function (_super) {\n\t __extends(ObserveOnSubscriber, _super);\n\t function ObserveOnSubscriber(destination, scheduler, delay) {\n\t if (delay === void 0) { delay = 0; }\n\t _super.call(this, destination);\n\t this.scheduler = scheduler;\n\t this.delay = delay;\n\t }\n\t ObserveOnSubscriber.dispatch = function (arg) {\n\t var notification = arg.notification, destination = arg.destination;\n\t notification.observe(destination);\n\t };\n\t ObserveOnSubscriber.prototype.scheduleMessage = function (notification) {\n\t this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n\t };\n\t ObserveOnSubscriber.prototype._next = function (value) {\n\t this.scheduleMessage(Notification_1.Notification.createNext(value));\n\t };\n\t ObserveOnSubscriber.prototype._error = function (err) {\n\t this.scheduleMessage(Notification_1.Notification.createError(err));\n\t };\n\t ObserveOnSubscriber.prototype._complete = function () {\n\t this.scheduleMessage(Notification_1.Notification.createComplete());\n\t };\n\t return ObserveOnSubscriber;\n\t}(Subscriber_1.Subscriber));\n\texports.ObserveOnSubscriber = ObserveOnSubscriber;\n\tvar ObserveOnMessage = (function () {\n\t function ObserveOnMessage(notification, destination) {\n\t this.notification = notification;\n\t this.destination = destination;\n\t }\n\t return ObserveOnMessage;\n\t}());\n\texports.ObserveOnMessage = ObserveOnMessage;\n\t//# sourceMappingURL=observeOn.js.map\n\n/***/ },\n/* 355 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar Observable_1 = __webpack_require__(265);\n\t/**\n\t * Represents a push-based event or value that an {@link Observable} can emit.\n\t * This class is particularly useful for operators that manage notifications,\n\t * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n\t * others. Besides wrapping the actual delivered value, it also annotates it\n\t * with metadata of, for instance, what type of push message it is (`next`,\n\t * `error`, or `complete`).\n\t *\n\t * @see {@link materialize}\n\t * @see {@link dematerialize}\n\t * @see {@link observeOn}\n\t *\n\t * @class Notification<T>\n\t */\n\tvar Notification = (function () {\n\t function Notification(kind, value, exception) {\n\t this.kind = kind;\n\t this.value = value;\n\t this.exception = exception;\n\t this.hasValue = kind === 'N';\n\t }\n\t /**\n\t * Delivers to the given `observer` the value wrapped by this Notification.\n\t * @param {Observer} observer\n\t * @return\n\t */\n\t Notification.prototype.observe = function (observer) {\n\t switch (this.kind) {\n\t case 'N':\n\t return observer.next && observer.next(this.value);\n\t case 'E':\n\t return observer.error && observer.error(this.exception);\n\t case 'C':\n\t return observer.complete && observer.complete();\n\t }\n\t };\n\t /**\n\t * Given some {@link Observer} callbacks, deliver the value represented by the\n\t * current Notification to the correctly corresponding callback.\n\t * @param {function(value: T): void} next An Observer `next` callback.\n\t * @param {function(err: any): void} [error] An Observer `error` callback.\n\t * @param {function(): void} [complete] An Observer `complete` callback.\n\t * @return {any}\n\t */\n\t Notification.prototype.do = function (next, error, complete) {\n\t var kind = this.kind;\n\t switch (kind) {\n\t case 'N':\n\t return next && next(this.value);\n\t case 'E':\n\t return error && error(this.exception);\n\t case 'C':\n\t return complete && complete();\n\t }\n\t };\n\t /**\n\t * Takes an Observer or its individual callback functions, and calls `observe`\n\t * or `do` methods accordingly.\n\t * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n\t * the `next` callback.\n\t * @param {function(err: any): void} [error] An Observer `error` callback.\n\t * @param {function(): void} [complete] An Observer `complete` callback.\n\t * @return {any}\n\t */\n\t Notification.prototype.accept = function (nextOrObserver, error, complete) {\n\t if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n\t return this.observe(nextOrObserver);\n\t }\n\t else {\n\t return this.do(nextOrObserver, error, complete);\n\t }\n\t };\n\t /**\n\t * Returns a simple Observable that just delivers the notification represented\n\t * by this Notification instance.\n\t * @return {any}\n\t */\n\t Notification.prototype.toObservable = function () {\n\t var kind = this.kind;\n\t switch (kind) {\n\t case 'N':\n\t return Observable_1.Observable.of(this.value);\n\t case 'E':\n\t return Observable_1.Observable.throw(this.exception);\n\t case 'C':\n\t return Observable_1.Observable.empty();\n\t }\n\t throw new Error('unexpected notification kind value');\n\t };\n\t /**\n\t * A shortcut to create a Notification instance of the type `next` from a\n\t * given value.\n\t * @param {T} value The `next` value.\n\t * @return {Notification<T>} The \"next\" Notification representing the\n\t * argument.\n\t */\n\t Notification.createNext = function (value) {\n\t if (typeof value !== 'undefined') {\n\t return new Notification('N', value);\n\t }\n\t return this.undefinedValueNotification;\n\t };\n\t /**\n\t * A shortcut to create a Notification instance of the type `error` from a\n\t * given error.\n\t * @param {any} [err] The `error` exception.\n\t * @return {Notification<T>} The \"error\" Notification representing the\n\t * argument.\n\t */\n\t Notification.createError = function (err) {\n\t return new Notification('E', undefined, err);\n\t };\n\t /**\n\t * A shortcut to create a Notification instance of the type `complete`.\n\t * @return {Notification<any>} The valueless \"complete\" Notification.\n\t */\n\t Notification.createComplete = function () {\n\t return this.completeNotification;\n\t };\n\t Notification.completeNotification = new Notification('C');\n\t Notification.undefinedValueNotification = new Notification('N', undefined);\n\t return Notification;\n\t}());\n\texports.Notification = Notification;\n\t//# sourceMappingURL=Notification.js.map\n\n/***/ },\n/* 356 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar mergeMap_1 = __webpack_require__(357);\n\t/**\n\t * Projects each source value to an Observable which is merged in the output\n\t * Observable, in a serialized fashion waiting for each one to complete before\n\t * merging the next.\n\t *\n\t * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n\t * these inner Observables using {@link concatAll}.</span>\n\t *\n\t * <img src=\"./img/concatMap.png\" width=\"100%\">\n\t *\n\t * Returns an Observable that emits items based on applying a function that you\n\t * supply to each item emitted by the source Observable, where that function\n\t * returns an (so-called \"inner\") Observable. Each new inner Observable is\n\t * concatenated with the previous inner Observable.\n\t *\n\t * __Warning:__ if source values arrive endlessly and faster than their\n\t * corresponding inner Observables can complete, it will result in memory issues\n\t * as inner Observables amass in an unbounded buffer waiting for their turn to\n\t * be subscribed to.\n\t *\n\t * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set\n\t * to `1`.\n\t *\n\t * @example <caption>For each click event, tick every second from 0 to 3, with no concurrency</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4));\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link concat}\n\t * @see {@link concatAll}\n\t * @see {@link concatMapTo}\n\t * @see {@link exhaustMap}\n\t * @see {@link mergeMap}\n\t * @see {@link switchMap}\n\t *\n\t * @param {function(value: T, ?index: number): Observable} project A function\n\t * that, when applied to an item emitted by the source Observable, returns an\n\t * Observable.\n\t * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n\t * A function to produce the value on the output Observable based on the values\n\t * and the indices of the source (outer) emission and the inner Observable\n\t * emission. The arguments passed to this function are:\n\t * - `outerValue`: the value that came from the source\n\t * - `innerValue`: the value that came from the projected Observable\n\t * - `outerIndex`: the \"index\" of the value that came from the source\n\t * - `innerIndex`: the \"index\" of the value from the projected Observable\n\t * @return {Observable} an observable of values merged from the projected\n\t * Observables as they were subscribed to, one at a time. Optionally, these\n\t * values may have been projected from a passed `projectResult` argument.\n\t * @return {Observable} An Observable that emits the result of applying the\n\t * projection function (and the optional `resultSelector`) to each item emitted\n\t * by the source Observable and taking values from each projected inner\n\t * Observable sequentially.\n\t * @method concatMap\n\t * @owner Observable\n\t */\n\tfunction concatMap(project, resultSelector) {\n\t return this.lift(new mergeMap_1.MergeMapOperator(project, resultSelector, 1));\n\t}\n\texports.concatMap = concatMap;\n\t//# sourceMappingURL=concatMap.js.map\n\n/***/ },\n/* 357 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar subscribeToResult_1 = __webpack_require__(307);\n\tvar OuterSubscriber_1 = __webpack_require__(306);\n\t/**\n\t * Projects each source value to an Observable which is merged in the output\n\t * Observable.\n\t *\n\t * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n\t * these inner Observables using {@link mergeAll}.</span>\n\t *\n\t * <img src=\"./img/mergeMap.png\" width=\"100%\">\n\t *\n\t * Returns an Observable that emits items based on applying a function that you\n\t * supply to each item emitted by the source Observable, where that function\n\t * returns an Observable, and then merging those resulting Observables and\n\t * emitting the results of this merger.\n\t *\n\t * @example <caption>Map and flatten each letter to an Observable ticking every 1 second</caption>\n\t * var letters = Rx.Observable.of('a', 'b', 'c');\n\t * var result = letters.mergeMap(x =>\n\t * Rx.Observable.interval(1000).map(i => x+i)\n\t * );\n\t * result.subscribe(x => console.log(x));\n\t *\n\t * @see {@link concatMap}\n\t * @see {@link exhaustMap}\n\t * @see {@link merge}\n\t * @see {@link mergeAll}\n\t * @see {@link mergeMapTo}\n\t * @see {@link mergeScan}\n\t * @see {@link switchMap}\n\t *\n\t * @param {function(value: T, ?index: number): Observable} project A function\n\t * that, when applied to an item emitted by the source Observable, returns an\n\t * Observable.\n\t * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n\t * A function to produce the value on the output Observable based on the values\n\t * and the indices of the source (outer) emission and the inner Observable\n\t * emission. The arguments passed to this function are:\n\t * - `outerValue`: the value that came from the source\n\t * - `innerValue`: the value that came from the projected Observable\n\t * - `outerIndex`: the \"index\" of the value that came from the source\n\t * - `innerIndex`: the \"index\" of the value from the projected Observable\n\t * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n\t * Observables being subscribed to concurrently.\n\t * @return {Observable} An Observable that emits the result of applying the\n\t * projection function (and the optional `resultSelector`) to each item emitted\n\t * by the source Observable and merging the results of the Observables obtained\n\t * from this transformation.\n\t * @method mergeMap\n\t * @owner Observable\n\t */\n\tfunction mergeMap(project, resultSelector, concurrent) {\n\t if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n\t if (typeof resultSelector === 'number') {\n\t concurrent = resultSelector;\n\t resultSelector = null;\n\t }\n\t return this.lift(new MergeMapOperator(project, resultSelector, concurrent));\n\t}\n\texports.mergeMap = mergeMap;\n\tvar MergeMapOperator = (function () {\n\t function MergeMapOperator(project, resultSelector, concurrent) {\n\t if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n\t this.project = project;\n\t this.resultSelector = resultSelector;\n\t this.concurrent = concurrent;\n\t }\n\t MergeMapOperator.prototype.call = function (observer, source) {\n\t return source._subscribe(new MergeMapSubscriber(observer, this.project, this.resultSelector, this.concurrent));\n\t };\n\t return MergeMapOperator;\n\t}());\n\texports.MergeMapOperator = MergeMapOperator;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar MergeMapSubscriber = (function (_super) {\n\t __extends(MergeMapSubscriber, _super);\n\t function MergeMapSubscriber(destination, project, resultSelector, concurrent) {\n\t if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n\t _super.call(this, destination);\n\t this.project = project;\n\t this.resultSelector = resultSelector;\n\t this.concurrent = concurrent;\n\t this.hasCompleted = false;\n\t this.buffer = [];\n\t this.active = 0;\n\t this.index = 0;\n\t }\n\t MergeMapSubscriber.prototype._next = function (value) {\n\t if (this.active < this.concurrent) {\n\t this._tryNext(value);\n\t }\n\t else {\n\t this.buffer.push(value);\n\t }\n\t };\n\t MergeMapSubscriber.prototype._tryNext = function (value) {\n\t var result;\n\t var index = this.index++;\n\t try {\n\t result = this.project(value, index);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.active++;\n\t this._innerSub(result, value, index);\n\t };\n\t MergeMapSubscriber.prototype._innerSub = function (ish, value, index) {\n\t this.add(subscribeToResult_1.subscribeToResult(this, ish, value, index));\n\t };\n\t MergeMapSubscriber.prototype._complete = function () {\n\t this.hasCompleted = true;\n\t if (this.active === 0 && this.buffer.length === 0) {\n\t this.destination.complete();\n\t }\n\t };\n\t MergeMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n\t if (this.resultSelector) {\n\t this._notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex);\n\t }\n\t else {\n\t this.destination.next(innerValue);\n\t }\n\t };\n\t MergeMapSubscriber.prototype._notifyResultSelector = function (outerValue, innerValue, outerIndex, innerIndex) {\n\t var result;\n\t try {\n\t result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.destination.next(result);\n\t };\n\t MergeMapSubscriber.prototype.notifyComplete = function (innerSub) {\n\t var buffer = this.buffer;\n\t this.remove(innerSub);\n\t this.active--;\n\t if (buffer.length > 0) {\n\t this._next(buffer.shift());\n\t }\n\t else if (this.active === 0 && this.hasCompleted) {\n\t this.destination.complete();\n\t }\n\t };\n\t return MergeMapSubscriber;\n\t}(OuterSubscriber_1.OuterSubscriber));\n\texports.MergeMapSubscriber = MergeMapSubscriber;\n\t//# sourceMappingURL=mergeMap.js.map\n\n/***/ },\n/* 358 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Returns an Observable that emits whether or not every item of the source satisfies the condition specified.\n\t * @param {function} predicate a function for determining if an item meets a specified condition.\n\t * @param {any} [thisArg] optional object to use for `this` in the callback\n\t * @return {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified.\n\t * @method every\n\t * @owner Observable\n\t */\n\tfunction every(predicate, thisArg) {\n\t return this.lift(new EveryOperator(predicate, thisArg, this));\n\t}\n\texports.every = every;\n\tvar EveryOperator = (function () {\n\t function EveryOperator(predicate, thisArg, source) {\n\t this.predicate = predicate;\n\t this.thisArg = thisArg;\n\t this.source = source;\n\t }\n\t EveryOperator.prototype.call = function (observer, source) {\n\t return source._subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n\t };\n\t return EveryOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar EverySubscriber = (function (_super) {\n\t __extends(EverySubscriber, _super);\n\t function EverySubscriber(destination, predicate, thisArg, source) {\n\t _super.call(this, destination);\n\t this.predicate = predicate;\n\t this.thisArg = thisArg;\n\t this.source = source;\n\t this.index = 0;\n\t this.thisArg = thisArg || this;\n\t }\n\t EverySubscriber.prototype.notifyComplete = function (everyValueMatch) {\n\t this.destination.next(everyValueMatch);\n\t this.destination.complete();\n\t };\n\t EverySubscriber.prototype._next = function (value) {\n\t var result = false;\n\t try {\n\t result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t if (!result) {\n\t this.notifyComplete(false);\n\t }\n\t };\n\t EverySubscriber.prototype._complete = function () {\n\t this.notifyComplete(true);\n\t };\n\t return EverySubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=every.js.map\n\n/***/ },\n/* 359 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\t/**\n\t * Applies an accumulator function over the source Observable, and returns the\n\t * accumulated result when the source completes, given an optional seed value.\n\t *\n\t * <span class=\"informal\">Combines together all values emitted on the source,\n\t * using an accumulator function that knows how to join a new source value into\n\t * the accumulation from the past.</span>\n\t *\n\t * <img src=\"./img/reduce.png\" width=\"100%\">\n\t *\n\t * Like\n\t * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce),\n\t * `reduce` applies an `accumulator` function against an accumulation and each\n\t * value of the source Observable (from the past) to reduce it to a single\n\t * value, emitted on the output Observable. Note that `reduce` will only emit\n\t * one value, only when the source Observable completes. It is equivalent to\n\t * applying operator {@link scan} followed by operator {@link last}.\n\t *\n\t * Returns an Observable that applies a specified `accumulator` function to each\n\t * item emitted by the source Observable. If a `seed` value is specified, then\n\t * that value will be used as the initial value for the accumulator. If no seed\n\t * value is specified, the first item of the source is used as the seed.\n\t *\n\t * @example <caption>Count the number of click events that happened in 5 seconds</caption>\n\t * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click')\n\t * .takeUntil(Rx.Observable.interval(5000));\n\t * var ones = clicksInFiveSeconds.mapTo(1);\n\t * var seed = 0;\n\t * var count = ones.reduce((acc, one) => acc + one, seed);\n\t * count.subscribe(x => console.log(x));\n\t *\n\t * @see {@link count}\n\t * @see {@link expand}\n\t * @see {@link mergeScan}\n\t * @see {@link scan}\n\t *\n\t * @param {function(acc: R, value: T): R} accumulator The accumulator function\n\t * called on each source value.\n\t * @param {R} [seed] The initial accumulation value.\n\t * @return {Observable<R>} An observable of the accumulated values.\n\t * @return {Observable<R>} An Observable that emits a single value that is the\n\t * result of accumulating the values emitted by the source Observable.\n\t * @method reduce\n\t * @owner Observable\n\t */\n\tfunction reduce(accumulator, seed) {\n\t return this.lift(new ReduceOperator(accumulator, seed));\n\t}\n\texports.reduce = reduce;\n\tvar ReduceOperator = (function () {\n\t function ReduceOperator(accumulator, seed) {\n\t this.accumulator = accumulator;\n\t this.seed = seed;\n\t }\n\t ReduceOperator.prototype.call = function (subscriber, source) {\n\t return source._subscribe(new ReduceSubscriber(subscriber, this.accumulator, this.seed));\n\t };\n\t return ReduceOperator;\n\t}());\n\texports.ReduceOperator = ReduceOperator;\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar ReduceSubscriber = (function (_super) {\n\t __extends(ReduceSubscriber, _super);\n\t function ReduceSubscriber(destination, accumulator, seed) {\n\t _super.call(this, destination);\n\t this.accumulator = accumulator;\n\t this.hasValue = false;\n\t this.acc = seed;\n\t this.accumulator = accumulator;\n\t this.hasSeed = typeof seed !== 'undefined';\n\t }\n\t ReduceSubscriber.prototype._next = function (value) {\n\t if (this.hasValue || (this.hasValue = this.hasSeed)) {\n\t this._tryReduce(value);\n\t }\n\t else {\n\t this.acc = value;\n\t this.hasValue = true;\n\t }\n\t };\n\t ReduceSubscriber.prototype._tryReduce = function (value) {\n\t var result;\n\t try {\n\t result = this.accumulator(this.acc, value);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.acc = result;\n\t };\n\t ReduceSubscriber.prototype._complete = function () {\n\t if (this.hasValue || this.hasSeed) {\n\t this.destination.next(this.acc);\n\t }\n\t this.destination.complete();\n\t };\n\t return ReduceSubscriber;\n\t}(Subscriber_1.Subscriber));\n\texports.ReduceSubscriber = ReduceSubscriber;\n\t//# sourceMappingURL=reduce.js.map\n\n/***/ },\n/* 360 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar mergeAll_1 = __webpack_require__(305);\n\t/**\n\t * Converts a higher-order Observable into a first-order Observable by\n\t * concatenating the inner Observables in order.\n\t *\n\t * <span class=\"informal\">Flattens an Observable-of-Observables by putting one\n\t * inner Observable after the other.</span>\n\t *\n\t * <img src=\"./img/concatAll.png\" width=\"100%\">\n\t *\n\t * Joins every Observable emitted by the source (a higher-order Observable), in\n\t * a serial fashion. It subscribes to each inner Observable only after the\n\t * previous inner Observable has completed, and merges all of their values into\n\t * the returned observable.\n\t *\n\t * __Warning:__ If the source Observable emits Observables quickly and\n\t * endlessly, and the inner Observables it emits generally complete slower than\n\t * the source emits, you can run into memory issues as the incoming Observables\n\t * collect in an unbounded buffer.\n\t *\n\t * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set\n\t * to `1`.\n\t *\n\t * @example <caption>For each click event, tick every second from 0 to 3, with no concurrency</caption>\n\t * var clicks = Rx.Observable.fromEvent(document, 'click');\n\t * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4));\n\t * var firstOrder = higherOrder.concatAll();\n\t * firstOrder.subscribe(x => console.log(x));\n\t *\n\t * @see {@link combineAll}\n\t * @see {@link concat}\n\t * @see {@link concatMap}\n\t * @see {@link concatMapTo}\n\t * @see {@link exhaust}\n\t * @see {@link mergeAll}\n\t * @see {@link switch}\n\t * @see {@link zipAll}\n\t *\n\t * @return {Observable} An Observable emitting values from all the inner\n\t * Observables concatenated.\n\t * @method concatAll\n\t * @owner Observable\n\t */\n\tfunction concatAll() {\n\t return this.lift(new mergeAll_1.MergeAllOperator(1));\n\t}\n\texports.concatAll = concatAll;\n\t//# sourceMappingURL=concatAll.js.map\n\n/***/ },\n/* 361 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __extends = (this && this.__extends) || function (d, b) {\n\t for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n\t function __() { this.constructor = d; }\n\t d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n\t};\n\tvar Subscriber_1 = __webpack_require__(268);\n\tvar EmptyError_1 = __webpack_require__(313);\n\t/**\n\t * Returns an Observable that emits only the last item emitted by the source Observable.\n\t * It optionally takes a predicate function as a parameter, in which case, rather than emitting\n\t * the last item from the source Observable, the resulting Observable will emit the last item\n\t * from the source Observable that satisfies the predicate.\n\t *\n\t * <img src=\"./img/last.png\" width=\"100%\">\n\t *\n\t * @throws {EmptyError} Delivers an EmptyError to the Observer's `error`\n\t * callback if the Observable completes before any `next` notification was sent.\n\t * @param {function} predicate - the condition any source emitted item has to satisfy.\n\t * @return {Observable} an Observable that emits only the last item satisfying the given condition\n\t * from the source, or an NoSuchElementException if no such items are emitted.\n\t * @throws - Throws if no items that match the predicate are emitted by the source Observable.\n\t * @method last\n\t * @owner Observable\n\t */\n\tfunction last(predicate, resultSelector, defaultValue) {\n\t return this.lift(new LastOperator(predicate, resultSelector, defaultValue, this));\n\t}\n\texports.last = last;\n\tvar LastOperator = (function () {\n\t function LastOperator(predicate, resultSelector, defaultValue, source) {\n\t this.predicate = predicate;\n\t this.resultSelector = resultSelector;\n\t this.defaultValue = defaultValue;\n\t this.source = source;\n\t }\n\t LastOperator.prototype.call = function (observer, source) {\n\t return source._subscribe(new LastSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source));\n\t };\n\t return LastOperator;\n\t}());\n\t/**\n\t * We need this JSDoc comment for affecting ESDoc.\n\t * @ignore\n\t * @extends {Ignored}\n\t */\n\tvar LastSubscriber = (function (_super) {\n\t __extends(LastSubscriber, _super);\n\t function LastSubscriber(destination, predicate, resultSelector, defaultValue, source) {\n\t _super.call(this, destination);\n\t this.predicate = predicate;\n\t this.resultSelector = resultSelector;\n\t this.defaultValue = defaultValue;\n\t this.source = source;\n\t this.hasValue = false;\n\t this.index = 0;\n\t if (typeof defaultValue !== 'undefined') {\n\t this.lastValue = defaultValue;\n\t this.hasValue = true;\n\t }\n\t }\n\t LastSubscriber.prototype._next = function (value) {\n\t var index = this.index++;\n\t if (this.predicate) {\n\t this._tryPredicate(value, index);\n\t }\n\t else {\n\t if (this.resultSelector) {\n\t this._tryResultSelector(value, index);\n\t return;\n\t }\n\t this.lastValue = value;\n\t this.hasValue = true;\n\t }\n\t };\n\t LastSubscriber.prototype._tryPredicate = function (value, index) {\n\t var result;\n\t try {\n\t result = this.predicate(value, index, this.source);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t if (result) {\n\t if (this.resultSelector) {\n\t this._tryResultSelector(value, index);\n\t return;\n\t }\n\t this.lastValue = value;\n\t this.hasValue = true;\n\t }\n\t };\n\t LastSubscriber.prototype._tryResultSelector = function (value, index) {\n\t var result;\n\t try {\n\t result = this.resultSelector(value, index);\n\t }\n\t catch (err) {\n\t this.destination.error(err);\n\t return;\n\t }\n\t this.lastValue = result;\n\t this.hasValue = true;\n\t };\n\t LastSubscriber.prototype._complete = function () {\n\t var destination = this.destination;\n\t if (this.hasValue) {\n\t destination.next(this.lastValue);\n\t destination.complete();\n\t }\n\t else {\n\t destination.error(new EmptyError_1.EmptyError);\n\t }\n\t };\n\t return LastSubscriber;\n\t}(Subscriber_1.Subscriber));\n\t//# sourceMappingURL=last.js.map\n\n/***/ },\n/* 362 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\tvar forms_1 = __webpack_require__(283);\n\t//noinspection TypeScriptCheckImport\n\tvar datetime_picker_1 = __webpack_require__(341);\n\tmoment['locale']('en-ca'); //e.g. fr-ca\n\tvar templateStr = \"\\n <div id=\\\"my-div\\\">\\n <h1>Ng2 DateTime Picker Test</h1>\\n \\n <fieldset id=\\\"test2\\\"><legend><h2>min date, max date, disabled dates</h2></legend>\\n <ngui-utils-2>\\n <input\\n [(ngModel)]=\\\"date2\\\" \\n ngui-datetime-picker\\n [disabled-dates]=\\\"date2DisabledDates\\\"\\n [min-date]=\\\"date2MinDate\\\"\\n [max-date]=\\\"date2MaxDate\\\"\\n [show-close-layer]=\\\"true\\\"\\n [show-week-numbers]=\\\"true\\\"\\n [is-draggable]=\\\"false\\\"\\n date-only=\\\"true\\\"/>\\n date2: {{date2}}\\n <button id=\\\"set-date\\\" (click)=\\\"date2 = date2New\\\">Set 2017-12-31</button>\\n </ngui-utils-2>\\n <pre>{{templateStr | htmlCode:'ngui-utils-2'}}</pre>\\n </fieldset>\\n \\n <fieldset id=\\\"test3\\\"><legend><h2>time only</h2></legend>\\n <ngui-utils-4>\\n <input [(ngModel)]=\\\"date3\\\"\\n ngui-datetime-picker \\n date-format=\\\"DD-MM-YYYY hh:mm\\\"\\n time-only=\\\"true\\\"\\n minute-step=\\\"5\\\"\\n (popupClosed)=\\\"onDatetimePickerClosed()\\\"\\n [close-on-select]=\\\"false\\\" />\\n </ngui-utils-4>\\n <button (click)=\\\"date3='Thu Jan 31 2015 00:00:00 GMT-0500 (EST)'\\\">Change</button>\\n <pre>{{templateStr | htmlCode:'ngui-utils-4'}}</pre>\\n </fieldset>\\n \\n <fieldset id=\\\"test4\\\"><legend><h2>with timezone</h2></legend>\\n <ngui-utils-6>\\n <input \\n [(ngModel)]=\\\"date4\\\" \\n ngui-datetime-picker\\n [date-format]=\\\"date4TimezoneFormat\\\" />\\n dateWithTimezone: {{dateWithTimezone}}\\n <br/>\\n </ngui-utils-6>\\n <pre>{{templateStr | htmlCode:'ngui-utils-6'}}</pre>\\n </fieldset>\\n \\n <fieldset id=\\\"test5\\\"><legend><h2>Reactive form</h2></legend>\\n <ngui-utils-3>\\n <form [formGroup]=\\\"myForm\\\">\\n <input \\n required\\n formControlName=\\\"date\\\" \\n ngui-datetime-picker\\n [close-on-select]=\\\"false\\\"/>\\n </form>\\n myForm.controls.date.value: {{myForm.controls.date.value}}\\n <br/>myForm.value: {{myForm.value | json}}\\n <br/>myForm.dirty: {{myForm.dirty}}\\n <br/>myForm.controls.date.dirty: {{myForm.controls.date.dirty}}\\n <br/>\\n <a href=\\\"javascript:void()\\\" \\n (click)=\\\"myForm.controls.date.patchValue('2015-06-30')\\\">\\n 2015-06-30\\n </a>\\n <a href=\\\"javascript:void()\\\"\\n (click)=\\\"myForm.controls.date.patchValue('2015-07-19')\\\">\\n 2015-07-19\\n </a>\\n <a href=\\\"javascript:void()\\\"\\n (click)=\\\"myForm.controls.date.patchValue('2015-12-31')\\\">\\n 2015-12-31\\n </a>\\n </ngui-utils-3>\\n <pre>{{templateStr | htmlCode:'ngui-utils-3'}}</pre>\\n </fieldset>\\n\\n <fieldset id=\\\"test6\\\">\\n <legend><h2>Material Design</h2></legend>\\n <ngui-utils-4>\\n <md-input-container>\\n <input mdInput \\n [(ngModel)]=\\\"mdDate\\\"\\n name=\\\"mdDate\\\"\\n ngui-datetime-picker\\n date-only=\\\"true\\\" \\n [close-on-select]=\\\"false\\\" />\\n </md-input-container>\\n </ngui-utils-4>\\n </fieldset>\\n\\n </div>\\n\";\n\tvar DirectiveTestComponent = (function () {\n\t function DirectiveTestComponent(fb) {\n\t this.fb = fb;\n\t this.templateStr = templateStr;\n\t this.date2 = new Date(2017, 0, 28);\n\t this.date2DisabledDates = [new Date(2017, 0, 10), new Date(2017, 0, 20)];\n\t this.date2MinDate = new Date(2017, 0, 1);\n\t this.date2MaxDate = new Date(2017, 11, 31);\n\t this.date2New = new Date(2017, 11, 31);\n\t this.date3 = new Date(\"Thu Jan 01 2015 00:00:00 GMT-0500 (EST)\");\n\t this.date4TimezoneFormat = 'DD/MM/YYYY HH:mm Z';\n\t this.date4 = datetime_picker_1.NguiDatetime.formatDate(datetime_picker_1.NguiDatetime.parseDate('2017-01-15T14:22:00-06:00', this.date4TimezoneFormat), this.date4TimezoneFormat);\n\t this.mdDate = new Date(2017, 0, 28);\n\t }\n\t DirectiveTestComponent.prototype.ngOnInit = function () {\n\t this.myForm = this.fb.group({\n\t date: ['2016-02-15', [forms_1.Validators.required]],\n\t });\n\t //moment.tz.setDefault('US/Central'); // Set the default timezone that moment will use\n\t };\n\t DirectiveTestComponent.prototype.onDatetimePickerClosed = function () {\n\t };\n\t DirectiveTestComponent = __decorate([\n\t core_1.Component({\n\t selector: 'my-app',\n\t template: templateStr,\n\t encapsulation: core_1.ViewEncapsulation.None,\n\t styles: [\"\\n ngui-utils-1 .ngui-datetime-picker-wrapper { display: inline-block }\\n div { font-family: Courier; font-size: 13px}\\n input { min-width: 200px; font-size: 15px; }\\n input.ng-dirty { background: #ddd; }\\n fieldset {display: inline-block; vertical-align: top; margin: 10px; padding: 20px }\\n \"]\n\t }), \n\t __metadata('design:paramtypes', [forms_1.FormBuilder])\n\t ], DirectiveTestComponent);\n\t return DirectiveTestComponent;\n\t}());\n\texports.DirectiveTestComponent = DirectiveTestComponent;\n\n\n/***/ },\n/* 363 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(263);\n\tmoment['locale']('en-ca'); //e.g. fr-ca\n\tvar templateStr = \"\\n <fieldset><legend><h2>Attributes and Events</h2></legend>\\n <ngui-utils-1>\\n <ngui-datetime-picker\\n *ngIf=\\\"show !== false\\\"\\n date-format=\\\"DD-MM-YYYY hh:mm\\\"\\n [date-only]=\\\"false\\\"\\n [time-only]=\\\"false\\\"\\n [minuteStep]=\\\"5\\\"\\n [default-value]=\\\"defaultValue\\\"\\n [min-date]=\\\"minDate\\\"\\n [max-date]=\\\"maxDate\\\"\\n [min-hour]=\\\"9\\\"\\n [max-hour]=\\\"17\\\"\\n [show-am-pm]=\\\"true\\\"\\n [show-close-button]=\\\"true\\\"\\n [disabled-dates]=\\\"disabledDates\\\"\\n (closing$)=\\\"show = false\\\"\\n (selected$)=\\\"selectedDate = $event\\\">\\n </ngui-datetime-picker>\\n <br/> selected DateTime : {{ selectedDate || defaultValue }}\\n </ngui-utils-1>\\n <pre>{{templateStr | htmlCode:'ngui-utils-1'}}</pre>\\n </fieldset>\\n\";\n\tvar ComponentTestComponent = (function () {\n\t function ComponentTestComponent() {\n\t this.templateStr = templateStr;\n\t this.defaultValue = new Date(2017, 0, 31, 21, 45);\n\t this.minDate = new Date(2017, 0, 1);\n\t this.maxDate = new Date(2017, 11, 31);\n\t this.disabledDates = [new Date(2016, 11, 26), new Date(2016, 11, 27)];\n\t }\n\t ComponentTestComponent = __decorate([\n\t core_1.Component({\n\t selector: 'my-app',\n\t template: templateStr,\n\t encapsulation: core_1.ViewEncapsulation.None,\n\t styles: [\"\\n fieldset {display: inline-block; vertical-align: top; margin: 10px; padding: 20px }\\n \"]\n\t }), \n\t __metadata('design:paramtypes', [])\n\t ], ComponentTestComponent);\n\t return ComponentTestComponent;\n\t}());\n\texports.ComponentTestComponent = ComponentTestComponent;\n\n\n/***/ }\n/******/ ]);\n\n\n// WEBPACK FOOTER //\n// app.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\texports: {},\n \t\t\tid: moduleId,\n \t\t\tloaded: false\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.loaded = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/build/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap ce299b1faa43aee32492","// polyfills, comment the following out for debugging purpose\nimport 'core-js/es6';\nimport 'core-js/es7/reflect';\nimport 'zone.js/dist/zone';\nimport 'hammerjs';\n\n// The browser platform with a compiler\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\n\nimport { NgModule } from '@angular/core';\nimport { BrowserModule } from '@angular/platform-browser';\nimport { FormsModule, ReactiveFormsModule } from \"@angular/forms\";\nimport { LocationStrategy, HashLocationStrategy } from \"@angular/common\";\nimport { MaterialModule } from '@angular/material';\n\nimport { AppComponent } from './app.component';\n\n//noinspection TypeScriptCheckImport\nimport { NguiDatetimePickerModule, NguiDatetime } from '@ngui/datetime-picker';\nimport { NguiUtilsModule } from '@ngui/utils';\n\nimport { APP_ROUTER_PROVIDERS, APP_ROUTER_COMPONENTS } from './app.route';\n\n@NgModule({\n imports: [\n BrowserModule, \n APP_ROUTER_PROVIDERS,\n FormsModule,\n ReactiveFormsModule,\n NguiUtilsModule, \n NguiDatetimePickerModule,\n MaterialModule\n ],\n declarations: [AppComponent, APP_ROUTER_COMPONENTS],\n providers: [\n { provide: LocationStrategy, useClass: HashLocationStrategy },\n ],\n bootstrap: [ AppComponent ]\n})\nexport class AppModule { }\n\n// Compile and launch the module\nplatformBrowserDynamic().bootstrapModule(AppModule);\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./app/main.ts","require('../modules/es6.symbol');\nrequire('../modules/es6.object.create');\nrequire('../modules/es6.object.define-property');\nrequire('../modules/es6.object.define-properties');\nrequire('../modules/es6.object.get-own-property-descriptor');\nrequire('../modules/es6.object.get-prototype-of');\nrequire('../modules/es6.object.keys');\nrequire('../modules/es6.object.get-own-property-names');\nrequire('../modules/es6.object.freeze');\nrequire('../modules/es6.object.seal');\nrequire('../modules/es6.object.prevent-extensions');\nrequire('../modules/es6.object.is-frozen');\nrequire('../modules/es6.object.is-sealed');\nrequire('../modules/es6.object.is-extensible');\nrequire('../modules/es6.object.assign');\nrequire('../modules/es6.object.is');\nrequire('../modules/es6.object.set-prototype-of');\nrequire('../modules/es6.object.to-string');\nrequire('../modules/es6.function.bind');\nrequire('../modules/es6.function.name');\nrequire('../modules/es6.function.has-instance');\nrequire('../modules/es6.parse-int');\nrequire('../modules/es6.parse-float');\nrequire('../modules/es6.number.constructor');\nrequire('../modules/es6.number.to-fixed');\nrequire('../modules/es6.number.to-precision');\nrequire('../modules/es6.number.epsilon');\nrequire('../modules/es6.number.is-finite');\nrequire('../modules/es6.number.is-integer');\nrequire('../modules/es6.number.is-nan');\nrequire('../modules/es6.number.is-safe-integer');\nrequire('../modules/es6.number.max-safe-integer');\nrequire('../modules/es6.number.min-safe-integer');\nrequire('../modules/es6.number.parse-float');\nrequire('../modules/es6.number.parse-int');\nrequire('../modules/es6.math.acosh');\nrequire('../modules/es6.math.asinh');\nrequire('../modules/es6.math.atanh');\nrequire('../modules/es6.math.cbrt');\nrequire('../modules/es6.math.clz32');\nrequire('../modules/es6.math.cosh');\nrequire('../modules/es6.math.expm1');\nrequire('../modules/es6.math.fround');\nrequire('../modules/es6.math.hypot');\nrequire('../modules/es6.math.imul');\nrequire('../modules/es6.math.log10');\nrequire('../modules/es6.math.log1p');\nrequire('../modules/es6.math.log2');\nrequire('../modules/es6.math.sign');\nrequire('../modules/es6.math.sinh');\nrequire('../modules/es6.math.tanh');\nrequire('../modules/es6.math.trunc');\nrequire('../modules/es6.string.from-code-point');\nrequire('../modules/es6.string.raw');\nrequire('../modules/es6.string.trim');\nrequire('../modules/es6.string.iterator');\nrequire('../modules/es6.string.code-point-at');\nrequire('../modules/es6.string.ends-with');\nrequire('../modules/es6.string.includes');\nrequire('../modules/es6.string.repeat');\nrequire('../modules/es6.string.starts-with');\nrequire('../modules/es6.string.anchor');\nrequire('../modules/es6.string.big');\nrequire('../modules/es6.string.blink');\nrequire('../modules/es6.string.bold');\nrequire('../modules/es6.string.fixed');\nrequire('../modules/es6.string.fontcolor');\nrequire('../modules/es6.string.fontsize');\nrequire('../modules/es6.string.italics');\nrequire('../modules/es6.string.link');\nrequire('../modules/es6.string.small');\nrequire('../modules/es6.string.strike');\nrequire('../modules/es6.string.sub');\nrequire('../modules/es6.string.sup');\nrequire('../modules/es6.date.now');\nrequire('../modules/es6.date.to-json');\nrequire('../modules/es6.date.to-iso-string');\nrequire('../modules/es6.date.to-string');\nrequire('../modules/es6.date.to-primitive');\nrequire('../modules/es6.array.is-array');\nrequire('../modules/es6.array.from');\nrequire('../modules/es6.array.of');\nrequire('../modules/es6.array.join');\nrequire('../modules/es6.array.slice');\nrequire('../modules/es6.array.sort');\nrequire('../modules/es6.array.for-each');\nrequire('../modules/es6.array.map');\nrequire('../modules/es6.array.filter');\nrequire('../modules/es6.array.some');\nrequire('../modules/es6.array.every');\nrequire('../modules/es6.array.reduce');\nrequire('../modules/es6.array.reduce-right');\nrequire('../modules/es6.array.index-of');\nrequire('../modules/es6.array.last-index-of');\nrequire('../modules/es6.array.copy-within');\nrequire('../modules/es6.array.fill');\nrequire('../modules/es6.array.find');\nrequire('../modules/es6.array.find-index');\nrequire('../modules/es6.array.species');\nrequire('../modules/es6.array.iterator');\nrequire('../modules/es6.regexp.constructor');\nrequire('../modules/es6.regexp.to-string');\nrequire('../modules/es6.regexp.flags');\nrequire('../modules/es6.regexp.match');\nrequire('../modules/es6.regexp.replace');\nrequire('../modules/es6.regexp.search');\nrequire('../modules/es6.regexp.split');\nrequire('../modules/es6.promise');\nrequire('../modules/es6.map');\nrequire('../modules/es6.set');\nrequire('../modules/es6.weak-map');\nrequire('../modules/es6.weak-set');\nrequire('../modules/es6.typed.array-buffer');\nrequire('../modules/es6.typed.data-view');\nrequire('../modules/es6.typed.int8-array');\nrequire('../modules/es6.typed.uint8-array');\nrequire('../modules/es6.typed.uint8-clamped-array');\nrequire('../modules/es6.typed.int16-array');\nrequire('../modules/es6.typed.uint16-array');\nrequire('../modules/es6.typed.int32-array');\nrequire('../modules/es6.typed.uint32-array');\nrequire('../modules/es6.typed.float32-array');\nrequire('../modules/es6.typed.float64-array');\nrequire('../modules/es6.reflect.apply');\nrequire('../modules/es6.reflect.construct');\nrequire('../modules/es6.reflect.define-property');\nrequire('../modules/es6.reflect.delete-property');\nrequire('../modules/es6.reflect.enumerate');\nrequire('../modules/es6.reflect.get');\nrequire('../modules/es6.reflect.get-own-property-descriptor');\nrequire('../modules/es6.reflect.get-prototype-of');\nrequire('../modules/es6.reflect.has');\nrequire('../modules/es6.reflect.is-extensible');\nrequire('../modules/es6.reflect.own-keys');\nrequire('../modules/es6.reflect.prevent-extensions');\nrequire('../modules/es6.reflect.set');\nrequire('../modules/es6.reflect.set-prototype-of');\nmodule.exports = require('../modules/_core');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/es6/index.js\n// module id = 1\n// module chunks = 0","'use strict';\n// ECMAScript 6 symbols shim\nvar global = require('./_global')\n , has = require('./_has')\n , DESCRIPTORS = require('./_descriptors')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , META = require('./_meta').KEY\n , $fails = require('./_fails')\n , shared = require('./_shared')\n , setToStringTag = require('./_set-to-string-tag')\n , uid = require('./_uid')\n , wks = require('./_wks')\n , wksExt = require('./_wks-ext')\n , wksDefine = require('./_wks-define')\n , keyOf = require('./_keyof')\n , enumKeys = require('./_enum-keys')\n , isArray = require('./_is-array')\n , anObject = require('./_an-object')\n , toIObject = require('./_to-iobject')\n , toPrimitive = require('./_to-primitive')\n , createDesc = require('./_property-desc')\n , _create = require('./_object-create')\n , gOPNExt = require('./_object-gopn-ext')\n , $GOPD = require('./_object-gopd')\n , $DP = require('./_object-dp')\n , $keys = require('./_object-keys')\n , gOPD = $GOPD.f\n , dP = $DP.f\n , gOPN = gOPNExt.f\n , $Symbol = global.Symbol\n , $JSON = global.JSON\n , _stringify = $JSON && $JSON.stringify\n , PROTOTYPE = 'prototype'\n , HIDDEN = wks('_hidden')\n , TO_PRIMITIVE = wks('toPrimitive')\n , isEnum = {}.propertyIsEnumerable\n , SymbolRegistry = shared('symbol-registry')\n , AllSymbols = shared('symbols')\n , OPSymbols = shared('op-symbols')\n , ObjectProto = Object[PROTOTYPE]\n , USE_NATIVE = typeof $Symbol == 'function'\n , QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n return _create(dP({}, 'a', {\n get: function(){ return dP(this, 'a', {value: 7}).a; }\n })).a != 7;\n}) ? function(it, key, D){\n var protoDesc = gOPD(ObjectProto, key);\n if(protoDesc)delete ObjectProto[key];\n dP(it, key, D);\n if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function(tag){\n var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n sym._k = tag;\n return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n return typeof it == 'symbol';\n} : function(it){\n return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D){\n if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n anObject(it);\n key = toPrimitive(key, true);\n anObject(D);\n if(has(AllSymbols, key)){\n if(!D.enumerable){\n if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n it[HIDDEN][key] = true;\n } else {\n if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n D = _create(D, {enumerable: createDesc(0, false)});\n } return setSymbolDesc(it, key, D);\n } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P){\n anObject(it);\n var keys = enumKeys(P = toIObject(P))\n , i = 0\n , l = keys.length\n , key;\n while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n return it;\n};\nvar $create = function create(it, P){\n return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n var E = isEnum.call(this, key = toPrimitive(key, true));\n if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n it = toIObject(it);\n key = toPrimitive(key, true);\n if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n var D = gOPD(it, key);\n if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n var names = gOPN(toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n var IS_OP = it === ObjectProto\n , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n , result = []\n , i = 0\n , key;\n while(names.length > i){\n if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif(!USE_NATIVE){\n $Symbol = function Symbol(){\n if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n var $set = function(value){\n if(this === ObjectProto)$set.call(OPSymbols, value);\n if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n setSymbolDesc(this, tag, createDesc(1, value));\n };\n if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n return wrap(tag);\n };\n redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n return this._k;\n });\n\n $GOPD.f = $getOwnPropertyDescriptor;\n $DP.f = $defineProperty;\n require('./_object-gopn').f = gOPNExt.f = $getOwnPropertyNames;\n require('./_object-pie').f = $propertyIsEnumerable;\n require('./_object-gops').f = $getOwnPropertySymbols;\n\n if(DESCRIPTORS && !require('./_library')){\n redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n }\n\n wksExt.f = function(name){\n return wrap(wks(name));\n }\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\nfor(var symbols = (\n // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\nfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n // 19.4.2.1 Symbol.for(key)\n 'for': function(key){\n return has(SymbolRegistry, key += '')\n ? SymbolRegistry[key]\n : SymbolRegistry[key] = $Symbol(key);\n },\n // 19.4.2.5 Symbol.keyFor(sym)\n keyFor: function keyFor(key){\n if(isSymbol(key))return keyOf(SymbolRegistry, key);\n throw TypeError(key + ' is not a symbol!');\n },\n useSetter: function(){ setter = true; },\n useSimple: function(){ setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n // 19.1.2.2 Object.create(O [, Properties])\n create: $create,\n // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n defineProperty: $defineProperty,\n // 19.1.2.3 Object.defineProperties(O, Properties)\n defineProperties: $defineProperties,\n // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n // 19.1.2.7 Object.getOwnPropertyNames(O)\n getOwnPropertyNames: $getOwnPropertyNames,\n // 19.1.2.8 Object.getOwnPropertySymbols(O)\n getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n var S = $Symbol();\n // MS Edge converts symbol values to JSON as {}\n // WebKit converts symbol values to JSON as null\n // V8 throws on boxed symbols\n return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n stringify: function stringify(it){\n if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n var args = [it]\n , i = 1\n , replacer, $replacer;\n while(arguments.length > i)args.push(arguments[i++]);\n replacer = args[1];\n if(typeof replacer == 'function')$replacer = replacer;\n if($replacer || !isArray(replacer))replacer = function(key, value){\n if($replacer)value = $replacer.call(this, key, value);\n if(!isSymbol(value))return value;\n };\n args[1] = replacer;\n return _stringify.apply($JSON, args);\n }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || require('./_hide')($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.symbol.js\n// module id = 2\n// module chunks = 0","// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\nif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_global.js\n// module id = 3\n// module chunks = 0","var hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function(it, key){\n return hasOwnProperty.call(it, key);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_has.js\n// module id = 4\n// module chunks = 0","// Thank's IE8 for his funny defineProperty\nmodule.exports = !require('./_fails')(function(){\n return Object.defineProperty({}, 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_descriptors.js\n// module id = 5\n// module chunks = 0","module.exports = function(exec){\n try {\n return !!exec();\n } catch(e){\n return true;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_fails.js\n// module id = 6\n// module chunks = 0","var global = require('./_global')\n , core = require('./_core')\n , hide = require('./_hide')\n , redefine = require('./_redefine')\n , ctx = require('./_ctx')\n , PROTOTYPE = 'prototype';\n\nvar $export = function(type, name, source){\n var IS_FORCED = type & $export.F\n , IS_GLOBAL = type & $export.G\n , IS_STATIC = type & $export.S\n , IS_PROTO = type & $export.P\n , IS_BIND = type & $export.B\n , target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE]\n , exports = IS_GLOBAL ? core : core[name] || (core[name] = {})\n , expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {})\n , key, own, out, exp;\n if(IS_GLOBAL)source = name;\n for(key in source){\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined;\n // export native or passed\n out = (own ? target : source)[key];\n // bind timers to global for call from export context\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n // extend global\n if(target)redefine(target, key, out, type & $export.U);\n // export\n if(exports[key] != out)hide(exports, key, exp);\n if(IS_PROTO && expProto[key] != out)expProto[key] = out;\n }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1; // forced\n$export.G = 2; // global\n$export.S = 4; // static\n$export.P = 8; // proto\n$export.B = 16; // bind\n$export.W = 32; // wrap\n$export.U = 64; // safe\n$export.R = 128; // real proto method for `library` \nmodule.exports = $export;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_export.js\n// module id = 7\n// module chunks = 0","var core = module.exports = {version: '2.4.0'};\nif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_core.js\n// module id = 8\n// module chunks = 0","var dP = require('./_object-dp')\n , createDesc = require('./_property-desc');\nmodule.exports = require('./_descriptors') ? function(object, key, value){\n return dP.f(object, key, createDesc(1, value));\n} : function(object, key, value){\n object[key] = value;\n return object;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_hide.js\n// module id = 9\n// module chunks = 0","var anObject = require('./_an-object')\n , IE8_DOM_DEFINE = require('./_ie8-dom-define')\n , toPrimitive = require('./_to-primitive')\n , dP = Object.defineProperty;\n\nexports.f = require('./_descriptors') ? Object.defineProperty : function defineProperty(O, P, Attributes){\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if(IE8_DOM_DEFINE)try {\n return dP(O, P, Attributes);\n } catch(e){ /* empty */ }\n if('get' in Attributes || 'set' in Attributes)throw TypeError('Accessors not supported!');\n if('value' in Attributes)O[P] = Attributes.value;\n return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-dp.js\n// module id = 10\n// module chunks = 0","var isObject = require('./_is-object');\nmodule.exports = function(it){\n if(!isObject(it))throw TypeError(it + ' is not an object!');\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_an-object.js\n// module id = 11\n// module chunks = 0","module.exports = function(it){\n return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_is-object.js\n// module id = 12\n// module chunks = 0","module.exports = !require('./_descriptors') && !require('./_fails')(function(){\n return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7;\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_ie8-dom-define.js\n// module id = 13\n// module chunks = 0","var isObject = require('./_is-object')\n , document = require('./_global').document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_dom-create.js\n// module id = 14\n// module chunks = 0","// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = require('./_is-object');\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function(it, S){\n if(!isObject(it))return it;\n var fn, val;\n if(S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n if(typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it)))return val;\n if(!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it)))return val;\n throw TypeError(\"Can't convert object to primitive value\");\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-primitive.js\n// module id = 15\n// module chunks = 0","module.exports = function(bitmap, value){\n return {\n enumerable : !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable : !(bitmap & 4),\n value : value\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_property-desc.js\n// module id = 16\n// module chunks = 0","var global = require('./_global')\n , hide = require('./_hide')\n , has = require('./_has')\n , SRC = require('./_uid')('src')\n , TO_STRING = 'toString'\n , $toString = Function[TO_STRING]\n , TPL = ('' + $toString).split(TO_STRING);\n\nrequire('./_core').inspectSource = function(it){\n return $toString.call(it);\n};\n\n(module.exports = function(O, key, val, safe){\n var isFunction = typeof val == 'function';\n if(isFunction)has(val, 'name') || hide(val, 'name', key);\n if(O[key] === val)return;\n if(isFunction)has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n if(O === global){\n O[key] = val;\n } else {\n if(!safe){\n delete O[key];\n hide(O, key, val);\n } else {\n if(O[key])O[key] = val;\n else hide(O, key, val);\n }\n }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString(){\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_redefine.js\n// module id = 17\n// module chunks = 0","var id = 0\n , px = Math.random();\nmodule.exports = function(key){\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_uid.js\n// module id = 18\n// module chunks = 0","// optional / simple context binding\nvar aFunction = require('./_a-function');\nmodule.exports = function(fn, that, length){\n aFunction(fn);\n if(that === undefined)return fn;\n switch(length){\n case 1: return function(a){\n return fn.call(that, a);\n };\n case 2: return function(a, b){\n return fn.call(that, a, b);\n };\n case 3: return function(a, b, c){\n return fn.call(that, a, b, c);\n };\n }\n return function(/* ...args */){\n return fn.apply(that, arguments);\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_ctx.js\n// module id = 19\n// module chunks = 0","module.exports = function(it){\n if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_a-function.js\n// module id = 20\n// module chunks = 0","var META = require('./_uid')('meta')\n , isObject = require('./_is-object')\n , has = require('./_has')\n , setDesc = require('./_object-dp').f\n , id = 0;\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\nvar FREEZE = !require('./_fails')(function(){\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function(it){\n setDesc(it, META, {value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n }});\n};\nvar fastKey = function(it, create){\n // return primitive with prefix\n if(!isObject(it))return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return 'F';\n // not necessary to add metadata\n if(!create)return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function(it, create){\n if(!has(it, META)){\n // can't set metadata to uncaught frozen object\n if(!isExtensible(it))return true;\n // not necessary to add metadata\n if(!create)return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function(it){\n if(FREEZE && meta.NEED && isExtensible(it) && !has(it, META))setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_meta.js\n// module id = 21\n// module chunks = 0","var global = require('./_global')\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_shared.js\n// module id = 22\n// module chunks = 0","var def = require('./_object-dp').f\n , has = require('./_has')\n , TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_set-to-string-tag.js\n// module id = 23\n// module chunks = 0","var store = require('./_shared')('wks')\n , uid = require('./_uid')\n , Symbol = require('./_global').Symbol\n , USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function(name){\n return store[name] || (store[name] =\n USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_wks.js\n// module id = 24\n// module chunks = 0","exports.f = require('./_wks');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_wks-ext.js\n// module id = 25\n// module chunks = 0","var global = require('./_global')\n , core = require('./_core')\n , LIBRARY = require('./_library')\n , wksExt = require('./_wks-ext')\n , defineProperty = require('./_object-dp').f;\nmodule.exports = function(name){\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_wks-define.js\n// module id = 26\n// module chunks = 0","module.exports = false;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_library.js\n// module id = 27\n// module chunks = 0","var getKeys = require('./_object-keys')\n , toIObject = require('./_to-iobject');\nmodule.exports = function(object, el){\n var O = toIObject(object)\n , keys = getKeys(O)\n , length = keys.length\n , index = 0\n , key;\n while(length > index)if(O[key = keys[index++]] === el)return key;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_keyof.js\n// module id = 28\n// module chunks = 0","// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = require('./_object-keys-internal')\n , enumBugKeys = require('./_enum-bug-keys');\n\nmodule.exports = Object.keys || function keys(O){\n return $keys(O, enumBugKeys);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-keys.js\n// module id = 29\n// module chunks = 0","var has = require('./_has')\n , toIObject = require('./_to-iobject')\n , arrayIndexOf = require('./_array-includes')(false)\n , IE_PROTO = require('./_shared-key')('IE_PROTO');\n\nmodule.exports = function(object, names){\n var O = toIObject(object)\n , i = 0\n , result = []\n , key;\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\n // Don't enum bug & hidden keys\n while(names.length > i)if(has(O, key = names[i++])){\n ~arrayIndexOf(result, key) || result.push(key);\n }\n return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-keys-internal.js\n// module id = 30\n// module chunks = 0","// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = require('./_iobject')\n , defined = require('./_defined');\nmodule.exports = function(it){\n return IObject(defined(it));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-iobject.js\n// module id = 31\n// module chunks = 0","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iobject.js\n// module id = 32\n// module chunks = 0","var toString = {}.toString;\n\nmodule.exports = function(it){\n return toString.call(it).slice(8, -1);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_cof.js\n// module id = 33\n// module chunks = 0","// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function(it){\n if(it == undefined)throw TypeError(\"Can't call method on \" + it);\n return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_defined.js\n// module id = 34\n// module chunks = 0","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject')\n , toLength = require('./_to-length')\n , toIndex = require('./_to-index');\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-includes.js\n// module id = 35\n// module chunks = 0","// 7.1.15 ToLength\nvar toInteger = require('./_to-integer')\n , min = Math.min;\nmodule.exports = function(it){\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-length.js\n// module id = 36\n// module chunks = 0","// 7.1.4 ToInteger\nvar ceil = Math.ceil\n , floor = Math.floor;\nmodule.exports = function(it){\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-integer.js\n// module id = 37\n// module chunks = 0","var toInteger = require('./_to-integer')\n , max = Math.max\n , min = Math.min;\nmodule.exports = function(index, length){\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-index.js\n// module id = 38\n// module chunks = 0","var shared = require('./_shared')('keys')\n , uid = require('./_uid');\nmodule.exports = function(key){\n return shared[key] || (shared[key] = uid(key));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_shared-key.js\n// module id = 39\n// module chunks = 0","// IE 8- don't enum bug keys\nmodule.exports = (\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_enum-bug-keys.js\n// module id = 40\n// module chunks = 0","// all enumerable object keys, includes symbols\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie');\nmodule.exports = function(it){\n var result = getKeys(it)\n , getSymbols = gOPS.f;\n if(getSymbols){\n var symbols = getSymbols(it)\n , isEnum = pIE.f\n , i = 0\n , key;\n while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n } return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_enum-keys.js\n// module id = 41\n// module chunks = 0","exports.f = Object.getOwnPropertySymbols;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-gops.js\n// module id = 42\n// module chunks = 0","exports.f = {}.propertyIsEnumerable;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-pie.js\n// module id = 43\n// module chunks = 0","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg){\n return cof(arg) == 'Array';\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_is-array.js\n// module id = 44\n// module chunks = 0","// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = require('./_an-object')\n , dPs = require('./_object-dps')\n , enumBugKeys = require('./_enum-bug-keys')\n , IE_PROTO = require('./_shared-key')('IE_PROTO')\n , Empty = function(){ /* empty */ }\n , PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function(){\n // Thrash, waste and sodomy: IE GC bug\n var iframe = require('./_dom-create')('iframe')\n , i = enumBugKeys.length\n , lt = '<'\n , gt = '>'\n , iframeDocument;\n iframe.style.display = 'none';\n require('./_html').appendChild(iframe);\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n createDict = iframeDocument.F;\n while(i--)delete createDict[PROTOTYPE][enumBugKeys[i]];\n return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties){\n var result;\n if(O !== null){\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty;\n Empty[PROTOTYPE] = null;\n // add \"__proto__\" for Object.getPrototypeOf polyfill\n result[IE_PROTO] = O;\n } else result = createDict();\n return Properties === undefined ? result : dPs(result, Properties);\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-create.js\n// module id = 45\n// module chunks = 0","var dP = require('./_object-dp')\n , anObject = require('./_an-object')\n , getKeys = require('./_object-keys');\n\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties){\n anObject(O);\n var keys = getKeys(Properties)\n , length = keys.length\n , i = 0\n , P;\n while(length > i)dP.f(O, P = keys[i++], Properties[P]);\n return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-dps.js\n// module id = 46\n// module chunks = 0","module.exports = require('./_global').document && document.documentElement;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_html.js\n// module id = 47\n// module chunks = 0","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject')\n , gOPN = require('./_object-gopn').f\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return gOPN(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it){\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-gopn-ext.js\n// module id = 48\n// module chunks = 0","// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = require('./_object-keys-internal')\n , hiddenKeys = require('./_enum-bug-keys').concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O){\n return $keys(O, hiddenKeys);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-gopn.js\n// module id = 49\n// module chunks = 0","var pIE = require('./_object-pie')\n , createDesc = require('./_property-desc')\n , toIObject = require('./_to-iobject')\n , toPrimitive = require('./_to-primitive')\n , has = require('./_has')\n , IE8_DOM_DEFINE = require('./_ie8-dom-define')\n , gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = require('./_descriptors') ? gOPD : function getOwnPropertyDescriptor(O, P){\n O = toIObject(O);\n P = toPrimitive(P, true);\n if(IE8_DOM_DEFINE)try {\n return gOPD(O, P);\n } catch(e){ /* empty */ }\n if(has(O, P))return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-gopd.js\n// module id = 50\n// module chunks = 0","var $export = require('./_export')\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', {create: require('./_object-create')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.create.js\n// module id = 51\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperty: require('./_object-dp').f});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.define-property.js\n// module id = 52\n// module chunks = 0","var $export = require('./_export');\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !require('./_descriptors'), 'Object', {defineProperties: require('./_object-dps')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.define-properties.js\n// module id = 53\n// module chunks = 0","// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = require('./_to-iobject')\n , $getOwnPropertyDescriptor = require('./_object-gopd').f;\n\nrequire('./_object-sap')('getOwnPropertyDescriptor', function(){\n return function getOwnPropertyDescriptor(it, key){\n return $getOwnPropertyDescriptor(toIObject(it), key);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.get-own-property-descriptor.js\n// module id = 54\n// module chunks = 0","// most Object methods by ES6 should accept primitives\nvar $export = require('./_export')\n , core = require('./_core')\n , fails = require('./_fails');\nmodule.exports = function(KEY, exec){\n var fn = (core.Object || {})[KEY] || Object[KEY]\n , exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-sap.js\n// module id = 55\n// module chunks = 0","// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = require('./_to-object')\n , $getPrototypeOf = require('./_object-gpo');\n\nrequire('./_object-sap')('getPrototypeOf', function(){\n return function getPrototypeOf(it){\n return $getPrototypeOf(toObject(it));\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.get-prototype-of.js\n// module id = 56\n// module chunks = 0","// 7.1.13 ToObject(argument)\nvar defined = require('./_defined');\nmodule.exports = function(it){\n return Object(defined(it));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_to-object.js\n// module id = 57\n// module chunks = 0","// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = require('./_has')\n , toObject = require('./_to-object')\n , IE_PROTO = require('./_shared-key')('IE_PROTO')\n , ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function(O){\n O = toObject(O);\n if(has(O, IE_PROTO))return O[IE_PROTO];\n if(typeof O.constructor == 'function' && O instanceof O.constructor){\n return O.constructor.prototype;\n } return O instanceof Object ? ObjectProto : null;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-gpo.js\n// module id = 58\n// module chunks = 0","// 19.1.2.14 Object.keys(O)\nvar toObject = require('./_to-object')\n , $keys = require('./_object-keys');\n\nrequire('./_object-sap')('keys', function(){\n return function keys(it){\n return $keys(toObject(it));\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.keys.js\n// module id = 59\n// module chunks = 0","// 19.1.2.7 Object.getOwnPropertyNames(O)\nrequire('./_object-sap')('getOwnPropertyNames', function(){\n return require('./_object-gopn-ext').f;\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.get-own-property-names.js\n// module id = 60\n// module chunks = 0","// 19.1.2.5 Object.freeze(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('freeze', function($freeze){\n return function freeze(it){\n return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.freeze.js\n// module id = 61\n// module chunks = 0","// 19.1.2.17 Object.seal(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('seal', function($seal){\n return function seal(it){\n return $seal && isObject(it) ? $seal(meta(it)) : it;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.seal.js\n// module id = 62\n// module chunks = 0","// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = require('./_is-object')\n , meta = require('./_meta').onFreeze;\n\nrequire('./_object-sap')('preventExtensions', function($preventExtensions){\n return function preventExtensions(it){\n return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.prevent-extensions.js\n// module id = 63\n// module chunks = 0","// 19.1.2.12 Object.isFrozen(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isFrozen', function($isFrozen){\n return function isFrozen(it){\n return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.is-frozen.js\n// module id = 64\n// module chunks = 0","// 19.1.2.13 Object.isSealed(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isSealed', function($isSealed){\n return function isSealed(it){\n return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.is-sealed.js\n// module id = 65\n// module chunks = 0","// 19.1.2.11 Object.isExtensible(O)\nvar isObject = require('./_is-object');\n\nrequire('./_object-sap')('isExtensible', function($isExtensible){\n return function isExtensible(it){\n return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.is-extensible.js\n// module id = 66\n// module chunks = 0","// 19.1.3.1 Object.assign(target, source)\nvar $export = require('./_export');\n\n$export($export.S + $export.F, 'Object', {assign: require('./_object-assign')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.assign.js\n// module id = 67\n// module chunks = 0","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie')\n , toObject = require('./_to-object')\n , IObject = require('./_iobject')\n , $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function(){\n var A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , aLen = arguments.length\n , index = 1\n , getSymbols = gOPS.f\n , isEnum = pIE.f;\n while(aLen > index){\n var S = IObject(arguments[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n } return T;\n} : $assign;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_object-assign.js\n// module id = 68\n// module chunks = 0","// 19.1.3.10 Object.is(value1, value2)\nvar $export = require('./_export');\n$export($export.S, 'Object', {is: require('./_same-value')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.is.js\n// module id = 69\n// module chunks = 0","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_same-value.js\n// module id = 70\n// module chunks = 0","// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = require('./_export');\n$export($export.S, 'Object', {setPrototypeOf: require('./_set-proto').set});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.set-prototype-of.js\n// module id = 71\n// module chunks = 0","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object')\n , anObject = require('./_an-object');\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_set-proto.js\n// module id = 72\n// module chunks = 0","'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = require('./_classof')\n , test = {};\ntest[require('./_wks')('toStringTag')] = 'z';\nif(test + '' != '[object z]'){\n require('./_redefine')(Object.prototype, 'toString', function toString(){\n return '[object ' + classof(this) + ']';\n }, true);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.object.to-string.js\n// module id = 73\n// module chunks = 0","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof')\n , TAG = require('./_wks')('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function(it, key){\n try {\n return it[key];\n } catch(e){ /* empty */ }\n};\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_classof.js\n// module id = 74\n// module chunks = 0","// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = require('./_export');\n\n$export($export.P, 'Function', {bind: require('./_bind')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.function.bind.js\n// module id = 75\n// module chunks = 0","'use strict';\nvar aFunction = require('./_a-function')\n , isObject = require('./_is-object')\n , invoke = require('./_invoke')\n , arraySlice = [].slice\n , factories = {};\n\nvar construct = function(F, len, args){\n if(!(len in factories)){\n for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /*, args... */){\n var fn = aFunction(this)\n , partArgs = arraySlice.call(arguments, 1);\n var bound = function(/* args... */){\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if(isObject(fn.prototype))bound.prototype = fn.prototype;\n return bound;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_bind.js\n// module id = 76\n// module chunks = 0","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n var un = that === undefined;\n switch(args.length){\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_invoke.js\n// module id = 77\n// module chunks = 0","var dP = require('./_object-dp').f\n , createDesc = require('./_property-desc')\n , has = require('./_has')\n , FProto = Function.prototype\n , nameRE = /^\\s*function ([^ (]*)/\n , NAME = 'name';\n\nvar isExtensible = Object.isExtensible || function(){\n return true;\n};\n\n// 19.2.4.2 name\nNAME in FProto || require('./_descriptors') && dP(FProto, NAME, {\n configurable: true,\n get: function(){\n try {\n var that = this\n , name = ('' + that).match(nameRE)[1];\n has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));\n return name;\n } catch(e){\n return '';\n }\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.function.name.js\n// module id = 78\n// module chunks = 0","'use strict';\nvar isObject = require('./_is-object')\n , getPrototypeOf = require('./_object-gpo')\n , HAS_INSTANCE = require('./_wks')('hasInstance')\n , FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif(!(HAS_INSTANCE in FunctionProto))require('./_object-dp').f(FunctionProto, HAS_INSTANCE, {value: function(O){\n if(typeof this != 'function' || !isObject(O))return false;\n if(!isObject(this.prototype))return O instanceof this;\n // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n while(O = getPrototypeOf(O))if(this.prototype === O)return true;\n return false;\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.function.has-instance.js\n// module id = 79\n// module chunks = 0","var $export = require('./_export')\n , $parseInt = require('./_parse-int');\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.parse-int.js\n// module id = 80\n// module chunks = 0","var $parseInt = require('./_global').parseInt\n , $trim = require('./_string-trim').trim\n , ws = require('./_string-ws')\n , hex = /^[\\-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_parse-int.js\n// module id = 81\n// module chunks = 0","var $export = require('./_export')\n , defined = require('./_defined')\n , fails = require('./_fails')\n , spaces = require('./_string-ws')\n , space = '[' + spaces + ']'\n , non = '\\u200b\\u0085'\n , ltrim = RegExp('^' + space + space + '*')\n , rtrim = RegExp(space + space + '*$');\n\nvar exporter = function(KEY, exec, ALIAS){\n var exp = {};\n var FORCE = fails(function(){\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if(ALIAS)exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function(string, TYPE){\n string = String(defined(string));\n if(TYPE & 1)string = string.replace(ltrim, '');\n if(TYPE & 2)string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-trim.js\n// module id = 82\n// module chunks = 0","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-ws.js\n// module id = 83\n// module chunks = 0","var $export = require('./_export')\n , $parseFloat = require('./_parse-float');\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.parse-float.js\n// module id = 84\n// module chunks = 0","var $parseFloat = require('./_global').parseFloat\n , $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str){\n var string = $trim(String(str), 3)\n , result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_parse-float.js\n// module id = 85\n// module chunks = 0","'use strict';\nvar global = require('./_global')\n , has = require('./_has')\n , cof = require('./_cof')\n , inheritIfRequired = require('./_inherit-if-required')\n , toPrimitive = require('./_to-primitive')\n , fails = require('./_fails')\n , gOPN = require('./_object-gopn').f\n , gOPD = require('./_object-gopd').f\n , dP = require('./_object-dp').f\n , $trim = require('./_string-trim').trim\n , NUMBER = 'Number'\n , $Number = global[NUMBER]\n , Base = $Number\n , proto = $Number.prototype\n // Opera ~12 has broken Object#toString\n , BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER\n , TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function(argument){\n var it = toPrimitive(argument, false);\n if(typeof it == 'string' && it.length > 2){\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0)\n , third, radix, maxCode;\n if(first === 43 || first === 45){\n third = it.charCodeAt(2);\n if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if(first === 48){\n switch(it.charCodeAt(1)){\n case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default : return +it;\n }\n for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if(code < 48 || code > maxCode)return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n $Number = function Number(value){\n var it = arguments.length < 1 ? 0 : value\n , that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for(var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++){\n if(has(Base, key = keys[j]) && !has($Number, key)){\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.constructor.js\n// module id = 86\n// module chunks = 0","var isObject = require('./_is-object')\n , setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function(that, target, C){\n var P, S = target.constructor;\n if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){\n setPrototypeOf(that, P);\n } return that;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_inherit-if-required.js\n// module id = 87\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , toInteger = require('./_to-integer')\n , aNumberValue = require('./_a-number-value')\n , repeat = require('./_string-repeat')\n , $toFixed = 1..toFixed\n , floor = Math.floor\n , data = [0, 0, 0, 0, 0, 0]\n , ERROR = 'Number.toFixed: incorrect invocation!'\n , ZERO = '0';\n\nvar multiply = function(n, c){\n var i = -1\n , c2 = c;\n while(++i < 6){\n c2 += n * data[i];\n data[i] = c2 % 1e7;\n c2 = floor(c2 / 1e7);\n }\n};\nvar divide = function(n){\n var i = 6\n , c = 0;\n while(--i >= 0){\n c += data[i];\n data[i] = floor(c / n);\n c = (c % n) * 1e7;\n }\n};\nvar numToString = function(){\n var i = 6\n , s = '';\n while(--i >= 0){\n if(s !== '' || i === 0 || data[i] !== 0){\n var t = String(data[i]);\n s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n }\n } return s;\n};\nvar pow = function(x, n, acc){\n return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function(x){\n var n = 0\n , x2 = x;\n while(x2 >= 4096){\n n += 12;\n x2 /= 4096;\n }\n while(x2 >= 2){\n n += 1;\n x2 /= 2;\n } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n 0.00008.toFixed(3) !== '0.000' ||\n 0.9.toFixed(0) !== '1' ||\n 1.255.toFixed(2) !== '1.25' ||\n 1000000000000000128..toFixed(0) !== '1000000000000000128'\n) || !require('./_fails')(function(){\n // V8 ~ Android 4.3-\n $toFixed.call({});\n})), 'Number', {\n toFixed: function toFixed(fractionDigits){\n var x = aNumberValue(this, ERROR)\n , f = toInteger(fractionDigits)\n , s = ''\n , m = ZERO\n , e, z, j, k;\n if(f < 0 || f > 20)throw RangeError(ERROR);\n if(x != x)return 'NaN';\n if(x <= -1e21 || x >= 1e21)return String(x);\n if(x < 0){\n s = '-';\n x = -x;\n }\n if(x > 1e-21){\n e = log(x * pow(2, 69, 1)) - 69;\n z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n z *= 0x10000000000000;\n e = 52 - e;\n if(e > 0){\n multiply(0, z);\n j = f;\n while(j >= 7){\n multiply(1e7, 0);\n j -= 7;\n }\n multiply(pow(10, j, 1), 0);\n j = e - 1;\n while(j >= 23){\n divide(1 << 23);\n j -= 23;\n }\n divide(1 << j);\n multiply(1, 1);\n divide(2);\n m = numToString();\n } else {\n multiply(0, z);\n multiply(1 << -e, 0);\n m = numToString() + repeat.call(ZERO, f);\n }\n }\n if(f > 0){\n k = m.length;\n m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n } else {\n m = s + m;\n } return m;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.to-fixed.js\n// module id = 88\n// module chunks = 0","var cof = require('./_cof');\nmodule.exports = function(it, msg){\n if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);\n return +it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_a-number-value.js\n// module id = 89\n// module chunks = 0","'use strict';\nvar toInteger = require('./_to-integer')\n , defined = require('./_defined');\n\nmodule.exports = function repeat(count){\n var str = String(defined(this))\n , res = ''\n , n = toInteger(count);\n if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n return res;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-repeat.js\n// module id = 90\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $fails = require('./_fails')\n , aNumberValue = require('./_a-number-value')\n , $toPrecision = 1..toPrecision;\n\n$export($export.P + $export.F * ($fails(function(){\n // IE7-\n return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function(){\n // V8 ~ Android 4.3-\n $toPrecision.call({});\n})), 'Number', {\n toPrecision: function toPrecision(precision){\n var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); \n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.to-precision.js\n// module id = 91\n// module chunks = 0","// 20.1.2.1 Number.EPSILON\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.epsilon.js\n// module id = 92\n// module chunks = 0","// 20.1.2.2 Number.isFinite(number)\nvar $export = require('./_export')\n , _isFinite = require('./_global').isFinite;\n\n$export($export.S, 'Number', {\n isFinite: function isFinite(it){\n return typeof it == 'number' && _isFinite(it);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.is-finite.js\n// module id = 93\n// module chunks = 0","// 20.1.2.3 Number.isInteger(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {isInteger: require('./_is-integer')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.is-integer.js\n// module id = 94\n// module chunks = 0","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object')\n , floor = Math.floor;\nmodule.exports = function isInteger(it){\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_is-integer.js\n// module id = 95\n// module chunks = 0","// 20.1.2.4 Number.isNaN(number)\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {\n isNaN: function isNaN(number){\n return number != number;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.is-nan.js\n// module id = 96\n// module chunks = 0","// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = require('./_export')\n , isInteger = require('./_is-integer')\n , abs = Math.abs;\n\n$export($export.S, 'Number', {\n isSafeInteger: function isSafeInteger(number){\n return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.is-safe-integer.js\n// module id = 97\n// module chunks = 0","// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.max-safe-integer.js\n// module id = 98\n// module chunks = 0","// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = require('./_export');\n\n$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.min-safe-integer.js\n// module id = 99\n// module chunks = 0","var $export = require('./_export')\n , $parseFloat = require('./_parse-float');\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.parse-float.js\n// module id = 100\n// module chunks = 0","var $export = require('./_export')\n , $parseInt = require('./_parse-int');\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.number.parse-int.js\n// module id = 101\n// module chunks = 0","// 20.2.2.3 Math.acosh(x)\nvar $export = require('./_export')\n , log1p = require('./_math-log1p')\n , sqrt = Math.sqrt\n , $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n && Math.floor($acosh(Number.MAX_VALUE)) == 710\n // Tor Browser bug: Math.acosh(Infinity) -> NaN \n && $acosh(Infinity) == Infinity\n), 'Math', {\n acosh: function acosh(x){\n return (x = +x) < 1 ? NaN : x > 94906265.62425156\n ? Math.log(x) + Math.LN2\n : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.acosh.js\n// module id = 102\n// module chunks = 0","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x){\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_math-log1p.js\n// module id = 103\n// module chunks = 0","// 20.2.2.5 Math.asinh(x)\nvar $export = require('./_export')\n , $asinh = Math.asinh;\n\nfunction asinh(x){\n return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0 \n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.asinh.js\n// module id = 104\n// module chunks = 0","// 20.2.2.7 Math.atanh(x)\nvar $export = require('./_export')\n , $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0 \n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n atanh: function atanh(x){\n return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.atanh.js\n// module id = 105\n// module chunks = 0","// 20.2.2.9 Math.cbrt(x)\nvar $export = require('./_export')\n , sign = require('./_math-sign');\n\n$export($export.S, 'Math', {\n cbrt: function cbrt(x){\n return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.cbrt.js\n// module id = 106\n// module chunks = 0","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x){\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_math-sign.js\n// module id = 107\n// module chunks = 0","// 20.2.2.11 Math.clz32(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n clz32: function clz32(x){\n return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.clz32.js\n// module id = 108\n// module chunks = 0","// 20.2.2.12 Math.cosh(x)\nvar $export = require('./_export')\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n cosh: function cosh(x){\n return (exp(x = +x) + exp(-x)) / 2;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.cosh.js\n// module id = 109\n// module chunks = 0","// 20.2.2.14 Math.expm1(x)\nvar $export = require('./_export')\n , $expm1 = require('./_math-expm1');\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.expm1.js\n// module id = 110\n// module chunks = 0","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x){\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_math-expm1.js\n// module id = 111\n// module chunks = 0","// 20.2.2.16 Math.fround(x)\nvar $export = require('./_export')\n , sign = require('./_math-sign')\n , pow = Math.pow\n , EPSILON = pow(2, -52)\n , EPSILON32 = pow(2, -23)\n , MAX32 = pow(2, 127) * (2 - EPSILON32)\n , MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function(n){\n return n + 1 / EPSILON - 1 / EPSILON;\n};\n\n\n$export($export.S, 'Math', {\n fround: function fround(x){\n var $abs = Math.abs(x)\n , $sign = sign(x)\n , a, result;\n if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n a = (1 + EPSILON32 / EPSILON) * $abs;\n result = a - (a - $abs);\n if(result > MAX32 || result != result)return $sign * Infinity;\n return $sign * result;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.fround.js\n// module id = 112\n// module chunks = 0","// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = require('./_export')\n , abs = Math.abs;\n\n$export($export.S, 'Math', {\n hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n var sum = 0\n , i = 0\n , aLen = arguments.length\n , larg = 0\n , arg, div;\n while(i < aLen){\n arg = abs(arguments[i++]);\n if(larg < arg){\n div = larg / arg;\n sum = sum * div * div + 1;\n larg = arg;\n } else if(arg > 0){\n div = arg / larg;\n sum += div * div;\n } else sum += arg;\n }\n return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.hypot.js\n// module id = 113\n// module chunks = 0","// 20.2.2.18 Math.imul(x, y)\nvar $export = require('./_export')\n , $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * require('./_fails')(function(){\n return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n imul: function imul(x, y){\n var UINT16 = 0xffff\n , xn = +x\n , yn = +y\n , xl = UINT16 & xn\n , yl = UINT16 & yn;\n return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.imul.js\n// module id = 114\n// module chunks = 0","// 20.2.2.21 Math.log10(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log10: function log10(x){\n return Math.log(x) / Math.LN10;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.log10.js\n// module id = 115\n// module chunks = 0","// 20.2.2.20 Math.log1p(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {log1p: require('./_math-log1p')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.log1p.js\n// module id = 116\n// module chunks = 0","// 20.2.2.22 Math.log2(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n log2: function log2(x){\n return Math.log(x) / Math.LN2;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.log2.js\n// module id = 117\n// module chunks = 0","// 20.2.2.28 Math.sign(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {sign: require('./_math-sign')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.sign.js\n// module id = 118\n// module chunks = 0","// 20.2.2.30 Math.sinh(x)\nvar $export = require('./_export')\n , expm1 = require('./_math-expm1')\n , exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * require('./_fails')(function(){\n return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n sinh: function sinh(x){\n return Math.abs(x = +x) < 1\n ? (expm1(x) - expm1(-x)) / 2\n : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.sinh.js\n// module id = 119\n// module chunks = 0","// 20.2.2.33 Math.tanh(x)\nvar $export = require('./_export')\n , expm1 = require('./_math-expm1')\n , exp = Math.exp;\n\n$export($export.S, 'Math', {\n tanh: function tanh(x){\n var a = expm1(x = +x)\n , b = expm1(-x);\n return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.tanh.js\n// module id = 120\n// module chunks = 0","// 20.2.2.34 Math.trunc(x)\nvar $export = require('./_export');\n\n$export($export.S, 'Math', {\n trunc: function trunc(it){\n return (it > 0 ? Math.floor : Math.ceil)(it);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.math.trunc.js\n// module id = 121\n// module chunks = 0","var $export = require('./_export')\n , toIndex = require('./_to-index')\n , fromCharCode = String.fromCharCode\n , $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n // 21.1.2.2 String.fromCodePoint(...codePoints)\n fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n var res = []\n , aLen = arguments.length\n , i = 0\n , code;\n while(aLen > i){\n code = +arguments[i++];\n if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n res.push(code < 0x10000\n ? fromCharCode(code)\n : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n );\n } return res.join('');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.from-code-point.js\n// module id = 122\n// module chunks = 0","var $export = require('./_export')\n , toIObject = require('./_to-iobject')\n , toLength = require('./_to-length');\n\n$export($export.S, 'String', {\n // 21.1.2.4 String.raw(callSite, ...substitutions)\n raw: function raw(callSite){\n var tpl = toIObject(callSite.raw)\n , len = toLength(tpl.length)\n , aLen = arguments.length\n , res = []\n , i = 0;\n while(len > i){\n res.push(String(tpl[i++]));\n if(i < aLen)res.push(String(arguments[i]));\n } return res.join('');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.raw.js\n// module id = 123\n// module chunks = 0","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function($trim){\n return function trim(){\n return $trim(this, 3);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.trim.js\n// module id = 124\n// module chunks = 0","'use strict';\nvar $at = require('./_string-at')(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\nrequire('./_iter-define')(String, 'String', function(iterated){\n this._t = String(iterated); // target\n this._i = 0; // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , index = this._i\n , point;\n if(index >= O.length)return {value: undefined, done: true};\n point = $at(O, index);\n this._i += point.length;\n return {value: point, done: false};\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.iterator.js\n// module id = 125\n// module chunks = 0","var toInteger = require('./_to-integer')\n , defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-at.js\n// module id = 126\n// module chunks = 0","'use strict';\nvar LIBRARY = require('./_library')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , hide = require('./_hide')\n , has = require('./_has')\n , Iterators = require('./_iterators')\n , $iterCreate = require('./_iter-create')\n , setToStringTag = require('./_set-to-string-tag')\n , getPrototypeOf = require('./_object-gpo')\n , ITERATOR = require('./_wks')('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n , methods, key, IteratorPrototype;\n // Fix native\n if($anyNative){\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n if(IteratorPrototype !== Object.prototype){\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iter-define.js\n// module id = 127\n// module chunks = 0","module.exports = {};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iterators.js\n// module id = 128\n// module chunks = 0","'use strict';\nvar create = require('./_object-create')\n , descriptor = require('./_property-desc')\n , setToStringTag = require('./_set-to-string-tag')\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iter-create.js\n// module id = 129\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $at = require('./_string-at')(false);\n$export($export.P, 'String', {\n // 21.1.3.3 String.prototype.codePointAt(pos)\n codePointAt: function codePointAt(pos){\n return $at(this, pos);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.code-point-at.js\n// module id = 130\n// module chunks = 0","// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = require('./_export')\n , toLength = require('./_to-length')\n , context = require('./_string-context')\n , ENDS_WITH = 'endsWith'\n , $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(ENDS_WITH), 'String', {\n endsWith: function endsWith(searchString /*, endPosition = @length */){\n var that = context(this, searchString, ENDS_WITH)\n , endPosition = arguments.length > 1 ? arguments[1] : undefined\n , len = toLength(that.length)\n , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n , search = String(searchString);\n return $endsWith\n ? $endsWith.call(that, search, end)\n : that.slice(end - search.length, end) === search;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.ends-with.js\n// module id = 131\n// module chunks = 0","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp')\n , defined = require('./_defined');\n\nmodule.exports = function(that, searchString, NAME){\n if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-context.js\n// module id = 132\n// module chunks = 0","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object')\n , cof = require('./_cof')\n , MATCH = require('./_wks')('match');\nmodule.exports = function(it){\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_is-regexp.js\n// module id = 133\n// module chunks = 0","var MATCH = require('./_wks')('match');\nmodule.exports = function(KEY){\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch(e){\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch(f){ /* empty */ }\n } return true;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_fails-is-regexp.js\n// module id = 134\n// module chunks = 0","// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = require('./_export')\n , context = require('./_string-context')\n , INCLUDES = 'includes';\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(INCLUDES), 'String', {\n includes: function includes(searchString /*, position = 0 */){\n return !!~context(this, searchString, INCLUDES)\n .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.includes.js\n// module id = 135\n// module chunks = 0","var $export = require('./_export');\n\n$export($export.P, 'String', {\n // 21.1.3.13 String.prototype.repeat(count)\n repeat: require('./_string-repeat')\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.repeat.js\n// module id = 136\n// module chunks = 0","// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = require('./_export')\n , toLength = require('./_to-length')\n , context = require('./_string-context')\n , STARTS_WITH = 'startsWith'\n , $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * require('./_fails-is-regexp')(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString /*, position = 0 */){\n var that = context(this, searchString, STARTS_WITH)\n , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))\n , search = String(searchString);\n return $startsWith\n ? $startsWith.call(that, search, index)\n : that.slice(index, index + search.length) === search;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.starts-with.js\n// module id = 137\n// module chunks = 0","'use strict';\n// B.2.3.2 String.prototype.anchor(name)\nrequire('./_string-html')('anchor', function(createHTML){\n return function anchor(name){\n return createHTML(this, 'a', 'name', name);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.anchor.js\n// module id = 138\n// module chunks = 0","var $export = require('./_export')\n , fails = require('./_fails')\n , defined = require('./_defined')\n , quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function(string, tag, attribute, value) {\n var S = String(defined(string))\n , p1 = '<' + tag;\n if(attribute !== '')p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '"') + '\"';\n return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function(NAME, exec){\n var O = {};\n O[NAME] = exec(createHTML);\n $export($export.P + $export.F * fails(function(){\n var test = ''[NAME]('\"');\n return test !== test.toLowerCase() || test.split('\"').length > 3;\n }), 'String', O);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_string-html.js\n// module id = 139\n// module chunks = 0","'use strict';\n// B.2.3.3 String.prototype.big()\nrequire('./_string-html')('big', function(createHTML){\n return function big(){\n return createHTML(this, 'big', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.big.js\n// module id = 140\n// module chunks = 0","'use strict';\n// B.2.3.4 String.prototype.blink()\nrequire('./_string-html')('blink', function(createHTML){\n return function blink(){\n return createHTML(this, 'blink', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.blink.js\n// module id = 141\n// module chunks = 0","'use strict';\n// B.2.3.5 String.prototype.bold()\nrequire('./_string-html')('bold', function(createHTML){\n return function bold(){\n return createHTML(this, 'b', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.bold.js\n// module id = 142\n// module chunks = 0","'use strict';\n// B.2.3.6 String.prototype.fixed()\nrequire('./_string-html')('fixed', function(createHTML){\n return function fixed(){\n return createHTML(this, 'tt', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.fixed.js\n// module id = 143\n// module chunks = 0","'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\nrequire('./_string-html')('fontcolor', function(createHTML){\n return function fontcolor(color){\n return createHTML(this, 'font', 'color', color);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.fontcolor.js\n// module id = 144\n// module chunks = 0","'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\nrequire('./_string-html')('fontsize', function(createHTML){\n return function fontsize(size){\n return createHTML(this, 'font', 'size', size);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.fontsize.js\n// module id = 145\n// module chunks = 0","'use strict';\n// B.2.3.9 String.prototype.italics()\nrequire('./_string-html')('italics', function(createHTML){\n return function italics(){\n return createHTML(this, 'i', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.italics.js\n// module id = 146\n// module chunks = 0","'use strict';\n// B.2.3.10 String.prototype.link(url)\nrequire('./_string-html')('link', function(createHTML){\n return function link(url){\n return createHTML(this, 'a', 'href', url);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.link.js\n// module id = 147\n// module chunks = 0","'use strict';\n// B.2.3.11 String.prototype.small()\nrequire('./_string-html')('small', function(createHTML){\n return function small(){\n return createHTML(this, 'small', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.small.js\n// module id = 148\n// module chunks = 0","'use strict';\n// B.2.3.12 String.prototype.strike()\nrequire('./_string-html')('strike', function(createHTML){\n return function strike(){\n return createHTML(this, 'strike', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.strike.js\n// module id = 149\n// module chunks = 0","'use strict';\n// B.2.3.13 String.prototype.sub()\nrequire('./_string-html')('sub', function(createHTML){\n return function sub(){\n return createHTML(this, 'sub', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.sub.js\n// module id = 150\n// module chunks = 0","'use strict';\n// B.2.3.14 String.prototype.sup()\nrequire('./_string-html')('sup', function(createHTML){\n return function sup(){\n return createHTML(this, 'sup', '', '');\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.string.sup.js\n// module id = 151\n// module chunks = 0","// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = require('./_export');\n\n$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.date.now.js\n// module id = 152\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , toObject = require('./_to-object')\n , toPrimitive = require('./_to-primitive');\n\n$export($export.P + $export.F * require('./_fails')(function(){\n return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;\n}), 'Date', {\n toJSON: function toJSON(key){\n var O = toObject(this)\n , pv = toPrimitive(O);\n return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.date.to-json.js\n// module id = 153\n// module chunks = 0","'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = require('./_export')\n , fails = require('./_fails')\n , getTime = Date.prototype.getTime;\n\nvar lz = function(num){\n return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (fails(function(){\n return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\n}) || !fails(function(){\n new Date(NaN).toISOString();\n})), 'Date', {\n toISOString: function toISOString(){\n if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');\n var d = this\n , y = d.getUTCFullYear()\n , m = d.getUTCMilliseconds()\n , s = y < 0 ? '-' : y > 9999 ? '+' : '';\n return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.date.to-iso-string.js\n// module id = 154\n// module chunks = 0","var DateProto = Date.prototype\n , INVALID_DATE = 'Invalid Date'\n , TO_STRING = 'toString'\n , $toString = DateProto[TO_STRING]\n , getTime = DateProto.getTime;\nif(new Date(NaN) + '' != INVALID_DATE){\n require('./_redefine')(DateProto, TO_STRING, function toString(){\n var value = getTime.call(this);\n return value === value ? $toString.call(this) : INVALID_DATE;\n });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.date.to-string.js\n// module id = 155\n// module chunks = 0","var TO_PRIMITIVE = require('./_wks')('toPrimitive')\n , proto = Date.prototype;\n\nif(!(TO_PRIMITIVE in proto))require('./_hide')(proto, TO_PRIMITIVE, require('./_date-to-primitive'));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.date.to-primitive.js\n// module id = 156\n// module chunks = 0","'use strict';\nvar anObject = require('./_an-object')\n , toPrimitive = require('./_to-primitive')\n , NUMBER = 'number';\n\nmodule.exports = function(hint){\n if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');\n return toPrimitive(anObject(this), hint != NUMBER);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_date-to-primitive.js\n// module id = 157\n// module chunks = 0","// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = require('./_export');\n\n$export($export.S, 'Array', {isArray: require('./_is-array')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.is-array.js\n// module id = 158\n// module chunks = 0","'use strict';\nvar ctx = require('./_ctx')\n , $export = require('./_export')\n , toObject = require('./_to-object')\n , call = require('./_iter-call')\n , isArrayIter = require('./_is-array-iter')\n , toLength = require('./_to-length')\n , createProperty = require('./_create-property')\n , getIterFn = require('./core.get-iterator-method');\n\n$export($export.S + $export.F * !require('./_iter-detect')(function(iter){ Array.from(iter); }), 'Array', {\n // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n var O = toObject(arrayLike)\n , C = typeof this == 'function' ? this : Array\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , index = 0\n , iterFn = getIterFn(O)\n , length, result, step, iterator;\n if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n // if object isn't iterable or it's array with default iterator - use simple case\n if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n }\n } else {\n length = toLength(O.length);\n for(result = new C(length); length > index; index++){\n createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n }\n }\n result.length = index;\n return result;\n }\n});\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.from.js\n// module id = 159\n// module chunks = 0","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iter-call.js\n// module id = 160\n// module chunks = 0","// check on default Array iterator\nvar Iterators = require('./_iterators')\n , ITERATOR = require('./_wks')('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_is-array-iter.js\n// module id = 161\n// module chunks = 0","'use strict';\nvar $defineProperty = require('./_object-dp')\n , createDesc = require('./_property-desc');\n\nmodule.exports = function(object, index, value){\n if(index in object)$defineProperty.f(object, index, createDesc(0, value));\n else object[index] = value;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_create-property.js\n// module id = 162\n// module chunks = 0","var classof = require('./_classof')\n , ITERATOR = require('./_wks')('iterator')\n , Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/core.get-iterator-method.js\n// module id = 163\n// module chunks = 0","var ITERATOR = require('./_wks')('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ return {done: safe = true}; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iter-detect.js\n// module id = 164\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , createProperty = require('./_create-property');\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * require('./_fails')(function(){\n function F(){}\n return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n // 22.1.2.3 Array.of( ...items)\n of: function of(/* ...args */){\n var index = 0\n , aLen = arguments.length\n , result = new (typeof this == 'function' ? this : Array)(aLen);\n while(aLen > index)createProperty(result, index, arguments[index++]);\n result.length = aLen;\n return result;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.of.js\n// module id = 165\n// module chunks = 0","'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = require('./_export')\n , toIObject = require('./_to-iobject')\n , arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (require('./_iobject') != Object || !require('./_strict-method')(arrayJoin)), 'Array', {\n join: function join(separator){\n return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.join.js\n// module id = 166\n// module chunks = 0","var fails = require('./_fails');\n\nmodule.exports = function(method, arg){\n return !!method && fails(function(){\n arg ? method.call(null, function(){}, 1) : method.call(null);\n });\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_strict-method.js\n// module id = 167\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , html = require('./_html')\n , cof = require('./_cof')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length')\n , arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * require('./_fails')(function(){\n if(html)arraySlice.call(html);\n}), 'Array', {\n slice: function slice(begin, end){\n var len = toLength(this.length)\n , klass = cof(this);\n end = end === undefined ? len : end;\n if(klass == 'Array')return arraySlice.call(this, begin, end);\n var start = toIndex(begin, len)\n , upTo = toIndex(end, len)\n , size = toLength(upTo - start)\n , cloned = Array(size)\n , i = 0;\n for(; i < size; i++)cloned[i] = klass == 'String'\n ? this.charAt(start + i)\n : this[start + i];\n return cloned;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.slice.js\n// module id = 168\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , aFunction = require('./_a-function')\n , toObject = require('./_to-object')\n , fails = require('./_fails')\n , $sort = [].sort\n , test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function(){\n // IE8-\n test.sort(undefined);\n}) || !fails(function(){\n // V8 bug\n test.sort(null);\n // Old WebKit\n}) || !require('./_strict-method')($sort)), 'Array', {\n // 22.1.3.25 Array.prototype.sort(comparefn)\n sort: function sort(comparefn){\n return comparefn === undefined\n ? $sort.call(toObject(this))\n : $sort.call(toObject(this), aFunction(comparefn));\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.sort.js\n// module id = 169\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $forEach = require('./_array-methods')(0)\n , STRICT = require('./_strict-method')([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n forEach: function forEach(callbackfn /* , thisArg */){\n return $forEach(this, callbackfn, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.for-each.js\n// module id = 170\n// module chunks = 0","// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = require('./_ctx')\n , IObject = require('./_iobject')\n , toObject = require('./_to-object')\n , toLength = require('./_to-length')\n , asc = require('./_array-species-create');\nmodule.exports = function(TYPE, $create){\n var IS_MAP = TYPE == 1\n , IS_FILTER = TYPE == 2\n , IS_SOME = TYPE == 3\n , IS_EVERY = TYPE == 4\n , IS_FIND_INDEX = TYPE == 6\n , NO_HOLES = TYPE == 5 || IS_FIND_INDEX\n , create = $create || asc;\n return function($this, callbackfn, that){\n var O = toObject($this)\n , self = IObject(O)\n , f = ctx(callbackfn, that, 3)\n , length = toLength(self.length)\n , index = 0\n , result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined\n , val, res;\n for(;length > index; index++)if(NO_HOLES || index in self){\n val = self[index];\n res = f(val, index, O);\n if(TYPE){\n if(IS_MAP)result[index] = res; // map\n else if(res)switch(TYPE){\n case 3: return true; // some\n case 5: return val; // find\n case 6: return index; // findIndex\n case 2: result.push(val); // filter\n } else if(IS_EVERY)return false; // every\n }\n }\n return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-methods.js\n// module id = 171\n// module chunks = 0","// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = require('./_array-species-constructor');\n\nmodule.exports = function(original, length){\n return new (speciesConstructor(original))(length);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-species-create.js\n// module id = 172\n// module chunks = 0","var isObject = require('./_is-object')\n , isArray = require('./_is-array')\n , SPECIES = require('./_wks')('species');\n\nmodule.exports = function(original){\n var C;\n if(isArray(original)){\n C = original.constructor;\n // cross-realm fallback\n if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\n if(isObject(C)){\n C = C[SPECIES];\n if(C === null)C = undefined;\n }\n } return C === undefined ? Array : C;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-species-constructor.js\n// module id = 173\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $map = require('./_array-methods')(1);\n\n$export($export.P + $export.F * !require('./_strict-method')([].map, true), 'Array', {\n // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n map: function map(callbackfn /* , thisArg */){\n return $map(this, callbackfn, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.map.js\n// module id = 174\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $filter = require('./_array-methods')(2);\n\n$export($export.P + $export.F * !require('./_strict-method')([].filter, true), 'Array', {\n // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n filter: function filter(callbackfn /* , thisArg */){\n return $filter(this, callbackfn, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.filter.js\n// module id = 175\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $some = require('./_array-methods')(3);\n\n$export($export.P + $export.F * !require('./_strict-method')([].some, true), 'Array', {\n // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n some: function some(callbackfn /* , thisArg */){\n return $some(this, callbackfn, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.some.js\n// module id = 176\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $every = require('./_array-methods')(4);\n\n$export($export.P + $export.F * !require('./_strict-method')([].every, true), 'Array', {\n // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n every: function every(callbackfn /* , thisArg */){\n return $every(this, callbackfn, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.every.js\n// module id = 177\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduce, true), 'Array', {\n // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n reduce: function reduce(callbackfn /* , initialValue */){\n return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.reduce.js\n// module id = 178\n// module chunks = 0","var aFunction = require('./_a-function')\n , toObject = require('./_to-object')\n , IObject = require('./_iobject')\n , toLength = require('./_to-length');\n\nmodule.exports = function(that, callbackfn, aLen, memo, isRight){\n aFunction(callbackfn);\n var O = toObject(that)\n , self = IObject(O)\n , length = toLength(O.length)\n , index = isRight ? length - 1 : 0\n , i = isRight ? -1 : 1;\n if(aLen < 2)for(;;){\n if(index in self){\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if(isRight ? index < 0 : length <= index){\n throw TypeError('Reduce of empty array with no initial value');\n }\n }\n for(;isRight ? index >= 0 : length > index; index += i)if(index in self){\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-reduce.js\n// module id = 179\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $reduce = require('./_array-reduce');\n\n$export($export.P + $export.F * !require('./_strict-method')([].reduceRight, true), 'Array', {\n // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n reduceRight: function reduceRight(callbackfn /* , initialValue */){\n return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.reduce-right.js\n// module id = 180\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $indexOf = require('./_array-includes')(false)\n , $native = [].indexOf\n , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n indexOf: function indexOf(searchElement /*, fromIndex = 0 */){\n return NEGATIVE_ZERO\n // convert -0 to +0\n ? $native.apply(this, arguments) || 0\n : $indexOf(this, searchElement, arguments[1]);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.index-of.js\n// module id = 181\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , toIObject = require('./_to-iobject')\n , toInteger = require('./_to-integer')\n , toLength = require('./_to-length')\n , $native = [].lastIndexOf\n , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !require('./_strict-method')($native)), 'Array', {\n // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){\n // convert -0 to +0\n if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;\n var O = toIObject(this)\n , length = toLength(O.length)\n , index = length - 1;\n if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));\n if(index < 0)index = length + index;\n for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;\n return -1;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.last-index-of.js\n// module id = 182\n// module chunks = 0","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', {copyWithin: require('./_array-copy-within')});\n\nrequire('./_add-to-unscopables')('copyWithin');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.copy-within.js\n// module id = 183\n// module chunks = 0","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n var O = toObject(this)\n , len = toLength(O.length)\n , to = toIndex(target, len)\n , from = toIndex(start, len)\n , end = arguments.length > 2 ? arguments[2] : undefined\n , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n , inc = 1;\n if(from < to && to < from + count){\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while(count-- > 0){\n if(from in O)O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-copy-within.js\n// module id = 184\n// module chunks = 0","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables')\n , ArrayProto = Array.prototype;\nif(ArrayProto[UNSCOPABLES] == undefined)require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function(key){\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_add-to-unscopables.js\n// module id = 185\n// module chunks = 0","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = require('./_export');\n\n$export($export.P, 'Array', {fill: require('./_array-fill')});\n\nrequire('./_add-to-unscopables')('fill');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.fill.js\n// module id = 186\n// module chunks = 0","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length');\nmodule.exports = function fill(value /*, start = 0, end = @length */){\n var O = toObject(this)\n , length = toLength(O.length)\n , aLen = arguments.length\n , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)\n , end = aLen > 2 ? arguments[2] : undefined\n , endPos = end === undefined ? length : toIndex(end, length);\n while(endPos > index)O[index++] = value;\n return O;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-fill.js\n// module id = 187\n// module chunks = 0","'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = require('./_export')\n , $find = require('./_array-methods')(5)\n , KEY = 'find'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n find: function find(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.find.js\n// module id = 188\n// module chunks = 0","'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = require('./_export')\n , $find = require('./_array-methods')(6)\n , KEY = 'findIndex'\n , forced = true;\n// Shouldn't skip holes\nif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n findIndex: function findIndex(callbackfn/*, that = undefined */){\n return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\nrequire('./_add-to-unscopables')(KEY);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.find-index.js\n// module id = 189\n// module chunks = 0","require('./_set-species')('Array');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.species.js\n// module id = 190\n// module chunks = 0","'use strict';\nvar global = require('./_global')\n , dP = require('./_object-dp')\n , DESCRIPTORS = require('./_descriptors')\n , SPECIES = require('./_wks')('species');\n\nmodule.exports = function(KEY){\n var C = global[KEY];\n if(DESCRIPTORS && C && !C[SPECIES])dP.f(C, SPECIES, {\n configurable: true,\n get: function(){ return this; }\n });\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_set-species.js\n// module id = 191\n// module chunks = 0","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables')\n , step = require('./_iter-step')\n , Iterators = require('./_iterators')\n , toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.array.iterator.js\n// module id = 192\n// module chunks = 0","module.exports = function(done, value){\n return {value: value, done: !!done};\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_iter-step.js\n// module id = 193\n// module chunks = 0","var global = require('./_global')\n , inheritIfRequired = require('./_inherit-if-required')\n , dP = require('./_object-dp').f\n , gOPN = require('./_object-gopn').f\n , isRegExp = require('./_is-regexp')\n , $flags = require('./_flags')\n , $RegExp = global.RegExp\n , Base = $RegExp\n , proto = $RegExp.prototype\n , re1 = /a/g\n , re2 = /a/g\n // \"new\" creates a new object, old webkit buggy here\n , CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif(require('./_descriptors') && (!CORRECT_NEW || require('./_fails')(function(){\n re2[require('./_wks')('match')] = false;\n // RegExp constructor can alter flags and IsRegExp works correct with @@match\n return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))){\n $RegExp = function RegExp(p, f){\n var tiRE = this instanceof $RegExp\n , piRE = isRegExp(p)\n , fiU = f === undefined;\n return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n : inheritIfRequired(CORRECT_NEW\n ? new Base(piRE && !fiU ? p.source : p, f)\n : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n , tiRE ? this : proto, $RegExp);\n };\n var proxy = function(key){\n key in $RegExp || dP($RegExp, key, {\n configurable: true,\n get: function(){ return Base[key]; },\n set: function(it){ Base[key] = it; }\n });\n };\n for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);\n proto.constructor = $RegExp;\n $RegExp.prototype = proto;\n require('./_redefine')(global, 'RegExp', $RegExp);\n}\n\nrequire('./_set-species')('RegExp');\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.constructor.js\n// module id = 194\n// module chunks = 0","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function(){\n var that = anObject(this)\n , result = '';\n if(that.global) result += 'g';\n if(that.ignoreCase) result += 'i';\n if(that.multiline) result += 'm';\n if(that.unicode) result += 'u';\n if(that.sticky) result += 'y';\n return result;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_flags.js\n// module id = 195\n// module chunks = 0","'use strict';\nrequire('./es6.regexp.flags');\nvar anObject = require('./_an-object')\n , $flags = require('./_flags')\n , DESCRIPTORS = require('./_descriptors')\n , TO_STRING = 'toString'\n , $toString = /./[TO_STRING];\n\nvar define = function(fn){\n require('./_redefine')(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif(require('./_fails')(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){\n define(function toString(){\n var R = anObject(this);\n return '/'.concat(R.source, '/',\n 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n });\n// FF44- RegExp#toString has a wrong name\n} else if($toString.name != TO_STRING){\n define(function toString(){\n return $toString.call(this);\n });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.to-string.js\n// module id = 196\n// module chunks = 0","// 21.2.5.3 get RegExp.prototype.flags()\nif(require('./_descriptors') && /./g.flags != 'g')require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.flags.js\n// module id = 197\n// module chunks = 0","// @@match logic\nrequire('./_fix-re-wks')('match', 1, function(defined, MATCH, $match){\n // 21.1.3.11 String.prototype.match(regexp)\n return [function match(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[MATCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n }, $match];\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.match.js\n// module id = 198\n// module chunks = 0","'use strict';\nvar hide = require('./_hide')\n , redefine = require('./_redefine')\n , fails = require('./_fails')\n , defined = require('./_defined')\n , wks = require('./_wks');\n\nmodule.exports = function(KEY, length, exec){\n var SYMBOL = wks(KEY)\n , fns = exec(defined, SYMBOL, ''[KEY])\n , strfn = fns[0]\n , rxfn = fns[1];\n if(fails(function(){\n var O = {};\n O[SYMBOL] = function(){ return 7; };\n return ''[KEY](O) != 7;\n })){\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function(string, arg){ return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function(string){ return rxfn.call(string, this); }\n );\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_fix-re-wks.js\n// module id = 199\n// module chunks = 0","// @@replace logic\nrequire('./_fix-re-wks')('replace', 2, function(defined, REPLACE, $replace){\n // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n return [function replace(searchValue, replaceValue){\n 'use strict';\n var O = defined(this)\n , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined\n ? fn.call(searchValue, O, replaceValue)\n : $replace.call(String(O), searchValue, replaceValue);\n }, $replace];\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.replace.js\n// module id = 200\n// module chunks = 0","// @@search logic\nrequire('./_fix-re-wks')('search', 1, function(defined, SEARCH, $search){\n // 21.1.3.15 String.prototype.search(regexp)\n return [function search(regexp){\n 'use strict';\n var O = defined(this)\n , fn = regexp == undefined ? undefined : regexp[SEARCH];\n return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n }, $search];\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.search.js\n// module id = 201\n// module chunks = 0","// @@split logic\nrequire('./_fix-re-wks')('split', 2, function(defined, SPLIT, $split){\n 'use strict';\n var isRegExp = require('./_is-regexp')\n , _split = $split\n , $push = [].push\n , $SPLIT = 'split'\n , LENGTH = 'length'\n , LAST_INDEX = 'lastIndex';\n if(\n 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n ''[$SPLIT](/.?/)[LENGTH]\n ){\n var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n // based on es5-shim implementation, need to rework it\n $split = function(separator, limit){\n var string = String(this);\n if(separator === undefined && limit === 0)return [];\n // If `separator` is not a regex, use native split\n if(!isRegExp(separator))return _split.call(string, separator, limit);\n var output = [];\n var flags = (separator.ignoreCase ? 'i' : '') +\n (separator.multiline ? 'm' : '') +\n (separator.unicode ? 'u' : '') +\n (separator.sticky ? 'y' : '');\n var lastLastIndex = 0;\n var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n // Make `global` and avoid `lastIndex` issues by working with a copy\n var separatorCopy = new RegExp(separator.source, flags + 'g');\n var separator2, match, lastIndex, lastLength, i;\n // Doesn't need flags gy, but they don't hurt\n if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n while(match = separatorCopy.exec(string)){\n // `separatorCopy.lastIndex` is not reliable cross-browser\n lastIndex = match.index + match[0][LENGTH];\n if(lastIndex > lastLastIndex){\n output.push(string.slice(lastLastIndex, match.index));\n // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){\n for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;\n });\n if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));\n lastLength = match[0][LENGTH];\n lastLastIndex = lastIndex;\n if(output[LENGTH] >= splitLimit)break;\n }\n if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n }\n if(lastLastIndex === string[LENGTH]){\n if(lastLength || !separatorCopy.test(''))output.push('');\n } else output.push(string.slice(lastLastIndex));\n return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n };\n // Chakra, V8\n } else if('0'[$SPLIT](undefined, 0)[LENGTH]){\n $split = function(separator, limit){\n return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n };\n }\n // 21.1.3.17 String.prototype.split(separator, limit)\n return [function split(separator, limit){\n var O = defined(this)\n , fn = separator == undefined ? undefined : separator[SPLIT];\n return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n }, $split];\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.regexp.split.js\n// module id = 202\n// module chunks = 0","'use strict';\nvar LIBRARY = require('./_library')\n , global = require('./_global')\n , ctx = require('./_ctx')\n , classof = require('./_classof')\n , $export = require('./_export')\n , isObject = require('./_is-object')\n , aFunction = require('./_a-function')\n , anInstance = require('./_an-instance')\n , forOf = require('./_for-of')\n , speciesConstructor = require('./_species-constructor')\n , task = require('./_task').set\n , microtask = require('./_microtask')()\n , PROMISE = 'Promise'\n , TypeError = global.TypeError\n , process = global.process\n , $Promise = global[PROMISE]\n , process = global.process\n , isNode = classof(process) == 'process'\n , empty = function(){ /* empty */ }\n , Internal, GenericPromiseCapability, Wrapper;\n\nvar USE_NATIVE = !!function(){\n try {\n // correct subclassing with @@species support\n var promise = $Promise.resolve(1)\n , FakePromise = (promise.constructor = {})[require('./_wks')('species')] = function(exec){ exec(empty, empty); };\n // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;\n } catch(e){ /* empty */ }\n}();\n\n// helpers\nvar sameConstructor = function(a, b){\n // with library wrapper special case\n return a === b || a === $Promise && b === Wrapper;\n};\nvar isThenable = function(it){\n var then;\n return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar newPromiseCapability = function(C){\n return sameConstructor($Promise, C)\n ? new PromiseCapability(C)\n : new GenericPromiseCapability(C);\n};\nvar PromiseCapability = GenericPromiseCapability = function(C){\n var resolve, reject;\n this.promise = new C(function($$resolve, $$reject){\n if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n resolve = $$resolve;\n reject = $$reject;\n });\n this.resolve = aFunction(resolve);\n this.reject = aFunction(reject);\n};\nvar perform = function(exec){\n try {\n exec();\n } catch(e){\n return {error: e};\n }\n};\nvar notify = function(promise, isReject){\n if(promise._n)return;\n promise._n = true;\n var chain = promise._c;\n microtask(function(){\n var value = promise._v\n , ok = promise._s == 1\n , i = 0;\n var run = function(reaction){\n var handler = ok ? reaction.ok : reaction.fail\n , resolve = reaction.resolve\n , reject = reaction.reject\n , domain = reaction.domain\n , result, then;\n try {\n if(handler){\n if(!ok){\n if(promise._h == 2)onHandleUnhandled(promise);\n promise._h = 1;\n }\n if(handler === true)result = value;\n else {\n if(domain)domain.enter();\n result = handler(value);\n if(domain)domain.exit();\n }\n if(result === reaction.promise){\n reject(TypeError('Promise-chain cycle'));\n } else if(then = isThenable(result)){\n then.call(result, resolve, reject);\n } else resolve(result);\n } else reject(value);\n } catch(e){\n reject(e);\n }\n };\n while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n promise._c = [];\n promise._n = false;\n if(isReject && !promise._h)onUnhandled(promise);\n });\n};\nvar onUnhandled = function(promise){\n task.call(global, function(){\n var value = promise._v\n , abrupt, handler, console;\n if(isUnhandled(promise)){\n abrupt = perform(function(){\n if(isNode){\n process.emit('unhandledRejection', value, promise);\n } else if(handler = global.onunhandledrejection){\n handler({promise: promise, reason: value});\n } else if((console = global.console) && console.error){\n console.error('Unhandled promise rejection', value);\n }\n });\n // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n } promise._a = undefined;\n if(abrupt)throw abrupt.error;\n });\n};\nvar isUnhandled = function(promise){\n if(promise._h == 1)return false;\n var chain = promise._a || promise._c\n , i = 0\n , reaction;\n while(chain.length > i){\n reaction = chain[i++];\n if(reaction.fail || !isUnhandled(reaction.promise))return false;\n } return true;\n};\nvar onHandleUnhandled = function(promise){\n task.call(global, function(){\n var handler;\n if(isNode){\n process.emit('rejectionHandled', promise);\n } else if(handler = global.onrejectionhandled){\n handler({promise: promise, reason: promise._v});\n }\n });\n};\nvar $reject = function(value){\n var promise = this;\n if(promise._d)return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n promise._v = value;\n promise._s = 2;\n if(!promise._a)promise._a = promise._c.slice();\n notify(promise, true);\n};\nvar $resolve = function(value){\n var promise = this\n , then;\n if(promise._d)return;\n promise._d = true;\n promise = promise._w || promise; // unwrap\n try {\n if(promise === value)throw TypeError(\"Promise can't be resolved itself\");\n if(then = isThenable(value)){\n microtask(function(){\n var wrapper = {_w: promise, _d: false}; // wrap\n try {\n then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n } catch(e){\n $reject.call(wrapper, e);\n }\n });\n } else {\n promise._v = value;\n promise._s = 1;\n notify(promise, false);\n }\n } catch(e){\n $reject.call({_w: promise, _d: false}, e); // wrap\n }\n};\n\n// constructor polyfill\nif(!USE_NATIVE){\n // 25.4.3.1 Promise(executor)\n $Promise = function Promise(executor){\n anInstance(this, $Promise, PROMISE, '_h');\n aFunction(executor);\n Internal.call(this);\n try {\n executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n } catch(err){\n $reject.call(this, err);\n }\n };\n Internal = function Promise(executor){\n this._c = []; // <- awaiting reactions\n this._a = undefined; // <- checked in isUnhandled reactions\n this._s = 0; // <- state\n this._d = false; // <- done\n this._v = undefined; // <- value\n this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n this._n = false; // <- notify\n };\n Internal.prototype = require('./_redefine-all')($Promise.prototype, {\n // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n then: function then(onFulfilled, onRejected){\n var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n reaction.fail = typeof onRejected == 'function' && onRejected;\n reaction.domain = isNode ? process.domain : undefined;\n this._c.push(reaction);\n if(this._a)this._a.push(reaction);\n if(this._s)notify(this, false);\n return reaction.promise;\n },\n // 25.4.5.1 Promise.prototype.catch(onRejected)\n 'catch': function(onRejected){\n return this.then(undefined, onRejected);\n }\n });\n PromiseCapability = function(){\n var promise = new Internal;\n this.promise = promise;\n this.resolve = ctx($resolve, promise, 1);\n this.reject = ctx($reject, promise, 1);\n };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});\nrequire('./_set-to-string-tag')($Promise, PROMISE);\nrequire('./_set-species')(PROMISE);\nWrapper = require('./_core')[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n // 25.4.4.5 Promise.reject(r)\n reject: function reject(r){\n var capability = newPromiseCapability(this)\n , $$reject = capability.reject;\n $$reject(r);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n // 25.4.4.6 Promise.resolve(x)\n resolve: function resolve(x){\n // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;\n var capability = newPromiseCapability(this)\n , $$resolve = capability.resolve;\n $$resolve(x);\n return capability.promise;\n }\n});\n$export($export.S + $export.F * !(USE_NATIVE && require('./_iter-detect')(function(iter){\n $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n // 25.4.4.1 Promise.all(iterable)\n all: function all(iterable){\n var C = this\n , capability = newPromiseCapability(C)\n , resolve = capability.resolve\n , reject = capability.reject;\n var abrupt = perform(function(){\n var values = []\n , index = 0\n , remaining = 1;\n forOf(iterable, false, function(promise){\n var $index = index++\n , alreadyCalled = false;\n values.push(undefined);\n remaining++;\n C.resolve(promise).then(function(value){\n if(alreadyCalled)return;\n alreadyCalled = true;\n values[$index] = value;\n --remaining || resolve(values);\n }, reject);\n });\n --remaining || resolve(values);\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n },\n // 25.4.4.4 Promise.race(iterable)\n race: function race(iterable){\n var C = this\n , capability = newPromiseCapability(C)\n , reject = capability.reject;\n var abrupt = perform(function(){\n forOf(iterable, false, function(promise){\n C.resolve(promise).then(capability.resolve, reject);\n });\n });\n if(abrupt)reject(abrupt.error);\n return capability.promise;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.promise.js\n// module id = 203\n// module chunks = 0","module.exports = function(it, Constructor, name, forbiddenField){\n if(!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)){\n throw TypeError(name + ': incorrect invocation!');\n } return it;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_an-instance.js\n// module id = 204\n// module chunks = 0","var ctx = require('./_ctx')\n , call = require('./_iter-call')\n , isArrayIter = require('./_is-array-iter')\n , anObject = require('./_an-object')\n , toLength = require('./_to-length')\n , getIterFn = require('./core.get-iterator-method')\n , BREAK = {}\n , RETURN = {};\nvar exports = module.exports = function(iterable, entries, fn, that, ITERATOR){\n var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)\n , f = ctx(fn, that, entries ? 2 : 1)\n , index = 0\n , length, step, iterator, result;\n if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if(result === BREAK || result === RETURN)return result;\n } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n result = call(iterator, f, step.value, entries);\n if(result === BREAK || result === RETURN)return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_for-of.js\n// module id = 205\n// module chunks = 0","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object')\n , aFunction = require('./_a-function')\n , SPECIES = require('./_wks')('species');\nmodule.exports = function(O, D){\n var C = anObject(O).constructor, S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_species-constructor.js\n// module id = 206\n// module chunks = 0","var ctx = require('./_ctx')\n , invoke = require('./_invoke')\n , html = require('./_html')\n , cel = require('./_dom-create')\n , global = require('./_global')\n , process = global.process\n , setTask = global.setImmediate\n , clearTask = global.clearImmediate\n , MessageChannel = global.MessageChannel\n , counter = 0\n , queue = {}\n , ONREADYSTATECHANGE = 'onreadystatechange'\n , defer, channel, port;\nvar run = function(){\n var id = +this;\n if(queue.hasOwnProperty(id)){\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function(event){\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif(!setTask || !clearTask){\n setTask = function setImmediate(fn){\n var args = [], i = 1;\n while(arguments.length > i)args.push(arguments[i++]);\n queue[++counter] = function(){\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id){\n delete queue[id];\n };\n // Node.js 0.8-\n if(require('./_cof')(process) == 'process'){\n defer = function(id){\n process.nextTick(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if(MessageChannel){\n channel = new MessageChannel;\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n defer = function(id){\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if(ONREADYSTATECHANGE in cel('script')){\n defer = function(id){\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function(id){\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_task.js\n// module id = 207\n// module chunks = 0","var global = require('./_global')\n , macrotask = require('./_task').set\n , Observer = global.MutationObserver || global.WebKitMutationObserver\n , process = global.process\n , Promise = global.Promise\n , isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function(){\n var head, last, notify;\n\n var flush = function(){\n var parent, fn;\n if(isNode && (parent = process.domain))parent.exit();\n while(head){\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch(e){\n if(head)notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if(parent)parent.enter();\n };\n\n // Node.js\n if(isNode){\n notify = function(){\n process.nextTick(flush);\n };\n // browsers with MutationObserver\n } else if(Observer){\n var toggle = true\n , node = document.createTextNode('');\n new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n notify = function(){\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if(Promise && Promise.resolve){\n var promise = Promise.resolve();\n notify = function(){\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function(){\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function(fn){\n var task = {fn: fn, next: undefined};\n if(last)last.next = task;\n if(!head){\n head = task;\n notify();\n } last = task;\n };\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_microtask.js\n// module id = 208\n// module chunks = 0","var redefine = require('./_redefine');\nmodule.exports = function(target, src, safe){\n for(var key in src)redefine(target, key, src[key], safe);\n return target;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_redefine-all.js\n// module id = 209\n// module chunks = 0","'use strict';\nvar strong = require('./_collection-strong');\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')('Map', function(get){\n return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key){\n var entry = strong.getEntry(this, key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value){\n return strong.def(this, key === 0 ? 0 : key, value);\n }\n}, strong, true);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.map.js\n// module id = 210\n// module chunks = 0","'use strict';\nvar dP = require('./_object-dp').f\n , create = require('./_object-create')\n , redefineAll = require('./_redefine-all')\n , ctx = require('./_ctx')\n , anInstance = require('./_an-instance')\n , defined = require('./_defined')\n , forOf = require('./_for-of')\n , $iterDefine = require('./_iter-define')\n , step = require('./_iter-step')\n , setSpecies = require('./_set-species')\n , DESCRIPTORS = require('./_descriptors')\n , fastKey = require('./_meta').fastKey\n , SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function(that, key){\n // fast case\n var index = fastKey(key), entry;\n if(index !== 'F')return that._i[index];\n // frozen object case\n for(entry = that._f; entry; entry = entry.n){\n if(entry.k == key)return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n anInstance(that, C, NAME, '_i');\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear(){\n for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n entry.r = true;\n if(entry.p)entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function(key){\n var that = this\n , entry = getEntry(that, key);\n if(entry){\n var next = entry.n\n , prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if(prev)prev.n = next;\n if(next)next.p = prev;\n if(that._f == entry)that._f = next;\n if(that._l == entry)that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /*, that = undefined */){\n anInstance(this, C, 'forEach');\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n , entry;\n while(entry = entry ? entry.n : this._f){\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key){\n return !!getEntry(this, key);\n }\n });\n if(DESCRIPTORS)dP(C.prototype, 'size', {\n get: function(){\n return defined(this[SIZE]);\n }\n });\n return C;\n },\n def: function(that, key, value){\n var entry = getEntry(that, key)\n , prev, index;\n // change existing entry\n if(entry){\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if(!that._f)that._f = entry;\n if(prev)prev.n = entry;\n that[SIZE]++;\n // add to index\n if(index !== 'F')that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function(C, NAME, IS_MAP){\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function(iterated, kind){\n this._t = iterated; // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function(){\n var that = this\n , kind = that._k\n , entry = that._l;\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n // get next entry\n if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if(kind == 'keys' )return step(0, entry.k);\n if(kind == 'values')return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_collection-strong.js\n// module id = 211\n// module chunks = 0","'use strict';\nvar global = require('./_global')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , redefineAll = require('./_redefine-all')\n , meta = require('./_meta')\n , forOf = require('./_for-of')\n , anInstance = require('./_an-instance')\n , isObject = require('./_is-object')\n , fails = require('./_fails')\n , $iterDetect = require('./_iter-detect')\n , setToStringTag = require('./_set-to-string-tag')\n , inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n var Base = global[NAME]\n , C = Base\n , ADDER = IS_MAP ? 'set' : 'add'\n , proto = C && C.prototype\n , O = {};\n var fixMethod = function(KEY){\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a){\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n new C().entries().next();\n }))){\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C\n // early implementations not supports chaining\n , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n , BUGGY_ZERO = !IS_WEAK && fails(function(){\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C()\n , index = 5;\n while(index--)$instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if(!ACCEPT_ITERABLES){ \n C = wrapper(function(target, iterable){\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base, target, C);\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n // weak collections should not contains .clear method\n if(IS_WEAK && proto.clear)delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_collection.js\n// module id = 212\n// module chunks = 0","'use strict';\nvar strong = require('./_collection-strong');\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')('Set', function(get){\n return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value){\n return strong.def(this, value = value === 0 ? 0 : value, value);\n }\n}, strong);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.set.js\n// module id = 213\n// module chunks = 0","'use strict';\nvar each = require('./_array-methods')(0)\n , redefine = require('./_redefine')\n , meta = require('./_meta')\n , assign = require('./_object-assign')\n , weak = require('./_collection-weak')\n , isObject = require('./_is-object')\n , getWeak = meta.getWeak\n , isExtensible = Object.isExtensible\n , uncaughtFrozenStore = weak.ufstore\n , tmp = {}\n , InternalMap;\n\nvar wrapper = function(get){\n return function WeakMap(){\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key){\n if(isObject(key)){\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value){\n return weak.def(this, key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')('WeakMap', wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n InternalMap = weak.getConstructor(wrapper);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function(key){\n var proto = $WeakMap.prototype\n , method = proto[key];\n redefine(proto, key, function(a, b){\n // store frozen objects on internal weakmap shim\n if(isObject(a) && !isExtensible(a)){\n if(!this._f)this._f = new InternalMap;\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.weak-map.js\n// module id = 214\n// module chunks = 0","'use strict';\nvar redefineAll = require('./_redefine-all')\n , getWeak = require('./_meta').getWeak\n , anObject = require('./_an-object')\n , isObject = require('./_is-object')\n , anInstance = require('./_an-instance')\n , forOf = require('./_for-of')\n , createArrayMethod = require('./_array-methods')\n , $has = require('./_has')\n , arrayFind = createArrayMethod(5)\n , arrayFindIndex = createArrayMethod(6)\n , id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function(that){\n return that._l || (that._l = new UncaughtFrozenStore);\n};\nvar UncaughtFrozenStore = function(){\n this.a = [];\n};\nvar findUncaughtFrozen = function(store, key){\n return arrayFind(store.a, function(it){\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function(key){\n var entry = findUncaughtFrozen(this, key);\n if(entry)return entry[1];\n },\n has: function(key){\n return !!findUncaughtFrozen(this, key);\n },\n set: function(key, value){\n var entry = findUncaughtFrozen(this, key);\n if(entry)entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function(key){\n var index = arrayFindIndex(this.a, function(it){\n return it[0] === key;\n });\n if(~index)this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n anInstance(that, C, NAME, '_i');\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function(key){\n if(!isObject(key))return false;\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this)['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key){\n if(!isObject(key))return false;\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function(that, key, value){\n var data = getWeak(anObject(key), true);\n if(data === true)uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_collection-weak.js\n// module id = 215\n// module chunks = 0","'use strict';\nvar weak = require('./_collection-weak');\n\n// 23.4 WeakSet Objects\nrequire('./_collection')('WeakSet', function(get){\n return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.4.3.1 WeakSet.prototype.add(value)\n add: function add(value){\n return weak.def(this, value, true);\n }\n}, weak, false, true);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.weak-set.js\n// module id = 216\n// module chunks = 0","'use strict';\nvar $export = require('./_export')\n , $typed = require('./_typed')\n , buffer = require('./_typed-buffer')\n , anObject = require('./_an-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length')\n , isObject = require('./_is-object')\n , ArrayBuffer = require('./_global').ArrayBuffer\n , speciesConstructor = require('./_species-constructor')\n , $ArrayBuffer = buffer.ArrayBuffer\n , $DataView = buffer.DataView\n , $isView = $typed.ABV && ArrayBuffer.isView\n , $slice = $ArrayBuffer.prototype.slice\n , VIEW = $typed.VIEW\n , ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n // 24.1.3.1 ArrayBuffer.isView(arg)\n isView: function isView(it){\n return $isView && $isView(it) || isObject(it) && VIEW in it;\n }\n});\n\n$export($export.P + $export.U + $export.F * require('./_fails')(function(){\n return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n slice: function slice(start, end){\n if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix\n var len = anObject(this).byteLength\n , first = toIndex(start, len)\n , final = toIndex(end === undefined ? len : end, len)\n , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))\n , viewS = new $DataView(this)\n , viewT = new $DataView(result)\n , index = 0;\n while(first < final){\n viewT.setUint8(index++, viewS.getUint8(first++));\n } return result;\n }\n});\n\nrequire('./_set-species')(ARRAY_BUFFER);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.array-buffer.js\n// module id = 217\n// module chunks = 0","var global = require('./_global')\n , hide = require('./_hide')\n , uid = require('./_uid')\n , TYPED = uid('typed_array')\n , VIEW = uid('view')\n , ABV = !!(global.ArrayBuffer && global.DataView)\n , CONSTR = ABV\n , i = 0, l = 9, Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile(i < l){\n if(Typed = global[TypedArrayConstructors[i++]]){\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_typed.js\n// module id = 218\n// module chunks = 0","'use strict';\nvar global = require('./_global')\n , DESCRIPTORS = require('./_descriptors')\n , LIBRARY = require('./_library')\n , $typed = require('./_typed')\n , hide = require('./_hide')\n , redefineAll = require('./_redefine-all')\n , fails = require('./_fails')\n , anInstance = require('./_an-instance')\n , toInteger = require('./_to-integer')\n , toLength = require('./_to-length')\n , gOPN = require('./_object-gopn').f\n , dP = require('./_object-dp').f\n , arrayFill = require('./_array-fill')\n , setToStringTag = require('./_set-to-string-tag')\n , ARRAY_BUFFER = 'ArrayBuffer'\n , DATA_VIEW = 'DataView'\n , PROTOTYPE = 'prototype'\n , WRONG_LENGTH = 'Wrong length!'\n , WRONG_INDEX = 'Wrong index!'\n , $ArrayBuffer = global[ARRAY_BUFFER]\n , $DataView = global[DATA_VIEW]\n , Math = global.Math\n , RangeError = global.RangeError\n , Infinity = global.Infinity\n , BaseBuffer = $ArrayBuffer\n , abs = Math.abs\n , pow = Math.pow\n , floor = Math.floor\n , log = Math.log\n , LN2 = Math.LN2\n , BUFFER = 'buffer'\n , BYTE_LENGTH = 'byteLength'\n , BYTE_OFFSET = 'byteOffset'\n , $BUFFER = DESCRIPTORS ? '_b' : BUFFER\n , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH\n , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nvar packIEEE754 = function(value, mLen, nBytes){\n var buffer = Array(nBytes)\n , eLen = nBytes * 8 - mLen - 1\n , eMax = (1 << eLen) - 1\n , eBias = eMax >> 1\n , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0\n , i = 0\n , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0\n , e, m, c;\n value = abs(value)\n if(value != value || value === Infinity){\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if(value * (c = pow(2, -e)) < 1){\n e--;\n c *= 2;\n }\n if(e + eBias >= 1){\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if(value * c >= 2){\n e++;\n c /= 2;\n }\n if(e + eBias >= eMax){\n m = 0;\n e = eMax;\n } else if(e + eBias >= 1){\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n};\nvar unpackIEEE754 = function(buffer, mLen, nBytes){\n var eLen = nBytes * 8 - mLen - 1\n , eMax = (1 << eLen) - 1\n , eBias = eMax >> 1\n , nBits = eLen - 7\n , i = nBytes - 1\n , s = buffer[i--]\n , e = s & 127\n , m;\n s >>= 7;\n for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if(e === 0){\n e = 1 - eBias;\n } else if(e === eMax){\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n};\n\nvar unpackI32 = function(bytes){\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n};\nvar packI8 = function(it){\n return [it & 0xff];\n};\nvar packI16 = function(it){\n return [it & 0xff, it >> 8 & 0xff];\n};\nvar packI32 = function(it){\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n};\nvar packF64 = function(it){\n return packIEEE754(it, 52, 8);\n};\nvar packF32 = function(it){\n return packIEEE754(it, 23, 4);\n};\n\nvar addGetter = function(C, key, internal){\n dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});\n};\n\nvar get = function(view, bytes, index, isLittleEndian){\n var numIndex = +index\n , intIndex = toInteger(numIndex);\n if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b\n , start = intIndex + view[$OFFSET]\n , pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n};\nvar set = function(view, bytes, index, conversion, value, isLittleEndian){\n var numIndex = +index\n , intIndex = toInteger(numIndex);\n if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b\n , start = intIndex + view[$OFFSET]\n , pack = conversion(+value);\n for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n};\n\nvar validateArrayBufferArguments = function(that, length){\n anInstance(that, $ArrayBuffer, ARRAY_BUFFER);\n var numberLength = +length\n , byteLength = toLength(numberLength);\n if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);\n return byteLength;\n};\n\nif(!$typed.ABV){\n $ArrayBuffer = function ArrayBuffer(length){\n var byteLength = validateArrayBufferArguments(this, length);\n this._b = arrayFill.call(Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength){\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH]\n , offset = toInteger(byteOffset);\n if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if(DESCRIPTORS){\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset){\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset){\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /*, littleEndian */){\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /*, littleEndian */){\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /*, littleEndian */){\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /*, littleEndian */){\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /*, littleEndian */){\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /*, littleEndian */){\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value){\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value){\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /*, littleEndian */){\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /*, littleEndian */){\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if(!fails(function(){\n new $ArrayBuffer; // eslint-disable-line no-new\n }) || !fails(function(){\n new $ArrayBuffer(.5); // eslint-disable-line no-new\n })){\n $ArrayBuffer = function ArrayBuffer(length){\n return new BaseBuffer(validateArrayBufferArguments(this, length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){\n if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);\n };\n if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2))\n , $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value){\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value){\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_typed-buffer.js\n// module id = 219\n// module chunks = 0","var $export = require('./_export');\n$export($export.G + $export.W + $export.F * !require('./_typed').ABV, {\n DataView: require('./_typed-buffer').DataView\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.data-view.js\n// module id = 220\n// module chunks = 0","require('./_typed-array')('Int8', 1, function(init){\n return function Int8Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.int8-array.js\n// module id = 221\n// module chunks = 0","'use strict';\nif(require('./_descriptors')){\n var LIBRARY = require('./_library')\n , global = require('./_global')\n , fails = require('./_fails')\n , $export = require('./_export')\n , $typed = require('./_typed')\n , $buffer = require('./_typed-buffer')\n , ctx = require('./_ctx')\n , anInstance = require('./_an-instance')\n , propertyDesc = require('./_property-desc')\n , hide = require('./_hide')\n , redefineAll = require('./_redefine-all')\n , toInteger = require('./_to-integer')\n , toLength = require('./_to-length')\n , toIndex = require('./_to-index')\n , toPrimitive = require('./_to-primitive')\n , has = require('./_has')\n , same = require('./_same-value')\n , classof = require('./_classof')\n , isObject = require('./_is-object')\n , toObject = require('./_to-object')\n , isArrayIter = require('./_is-array-iter')\n , create = require('./_object-create')\n , getPrototypeOf = require('./_object-gpo')\n , gOPN = require('./_object-gopn').f\n , getIterFn = require('./core.get-iterator-method')\n , uid = require('./_uid')\n , wks = require('./_wks')\n , createArrayMethod = require('./_array-methods')\n , createArrayIncludes = require('./_array-includes')\n , speciesConstructor = require('./_species-constructor')\n , ArrayIterators = require('./es6.array.iterator')\n , Iterators = require('./_iterators')\n , $iterDetect = require('./_iter-detect')\n , setSpecies = require('./_set-species')\n , arrayFill = require('./_array-fill')\n , arrayCopyWithin = require('./_array-copy-within')\n , $DP = require('./_object-dp')\n , $GOPD = require('./_object-gopd')\n , dP = $DP.f\n , gOPD = $GOPD.f\n , RangeError = global.RangeError\n , TypeError = global.TypeError\n , Uint8Array = global.Uint8Array\n , ARRAY_BUFFER = 'ArrayBuffer'\n , SHARED_BUFFER = 'Shared' + ARRAY_BUFFER\n , BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT'\n , PROTOTYPE = 'prototype'\n , ArrayProto = Array[PROTOTYPE]\n , $ArrayBuffer = $buffer.ArrayBuffer\n , $DataView = $buffer.DataView\n , arrayForEach = createArrayMethod(0)\n , arrayFilter = createArrayMethod(2)\n , arraySome = createArrayMethod(3)\n , arrayEvery = createArrayMethod(4)\n , arrayFind = createArrayMethod(5)\n , arrayFindIndex = createArrayMethod(6)\n , arrayIncludes = createArrayIncludes(true)\n , arrayIndexOf = createArrayIncludes(false)\n , arrayValues = ArrayIterators.values\n , arrayKeys = ArrayIterators.keys\n , arrayEntries = ArrayIterators.entries\n , arrayLastIndexOf = ArrayProto.lastIndexOf\n , arrayReduce = ArrayProto.reduce\n , arrayReduceRight = ArrayProto.reduceRight\n , arrayJoin = ArrayProto.join\n , arraySort = ArrayProto.sort\n , arraySlice = ArrayProto.slice\n , arrayToString = ArrayProto.toString\n , arrayToLocaleString = ArrayProto.toLocaleString\n , ITERATOR = wks('iterator')\n , TAG = wks('toStringTag')\n , TYPED_CONSTRUCTOR = uid('typed_constructor')\n , DEF_CONSTRUCTOR = uid('def_constructor')\n , ALL_CONSTRUCTORS = $typed.CONSTR\n , TYPED_ARRAY = $typed.TYPED\n , VIEW = $typed.VIEW\n , WRONG_LENGTH = 'Wrong length!';\n\n var $map = createArrayMethod(1, function(O, length){\n return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n });\n\n var LITTLE_ENDIAN = fails(function(){\n return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n });\n\n var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function(){\n new Uint8Array(1).set({});\n });\n\n var strictToLength = function(it, SAME){\n if(it === undefined)throw TypeError(WRONG_LENGTH);\n var number = +it\n , length = toLength(it);\n if(SAME && !same(number, length))throw RangeError(WRONG_LENGTH);\n return length;\n };\n\n var toOffset = function(it, BYTES){\n var offset = toInteger(it);\n if(offset < 0 || offset % BYTES)throw RangeError('Wrong offset!');\n return offset;\n };\n\n var validate = function(it){\n if(isObject(it) && TYPED_ARRAY in it)return it;\n throw TypeError(it + ' is not a typed array!');\n };\n\n var allocate = function(C, length){\n if(!(isObject(C) && TYPED_CONSTRUCTOR in C)){\n throw TypeError('It is not a typed array constructor!');\n } return new C(length);\n };\n\n var speciesFromList = function(O, list){\n return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n };\n\n var fromList = function(C, list){\n var index = 0\n , length = list.length\n , result = allocate(C, length);\n while(length > index)result[index] = list[index++];\n return result;\n };\n\n var addGetter = function(it, key, internal){\n dP(it, key, {get: function(){ return this._d[internal]; }});\n };\n\n var $from = function from(source /*, mapfn, thisArg */){\n var O = toObject(source)\n , aLen = arguments.length\n , mapfn = aLen > 1 ? arguments[1] : undefined\n , mapping = mapfn !== undefined\n , iterFn = getIterFn(O)\n , i, length, values, result, step, iterator;\n if(iterFn != undefined && !isArrayIter(iterFn)){\n for(iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++){\n values.push(step.value);\n } O = values;\n }\n if(mapping && aLen > 2)mapfn = ctx(mapfn, arguments[2], 2);\n for(i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++){\n result[i] = mapping ? mapfn(O[i], i) : O[i];\n }\n return result;\n };\n\n var $of = function of(/*...items*/){\n var index = 0\n , length = arguments.length\n , result = allocate(this, length);\n while(length > index)result[index] = arguments[index++];\n return result;\n };\n\n // iOS Safari 6.x fails here\n var TO_LOCALE_BUG = !!Uint8Array && fails(function(){ arrayToLocaleString.call(new Uint8Array(1)); });\n\n var $toLocaleString = function toLocaleString(){\n return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n };\n\n var proto = {\n copyWithin: function copyWithin(target, start /*, end */){\n return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n },\n every: function every(callbackfn /*, thisArg */){\n return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n fill: function fill(value /*, start, end */){ // eslint-disable-line no-unused-vars\n return arrayFill.apply(validate(this), arguments);\n },\n filter: function filter(callbackfn /*, thisArg */){\n return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n arguments.length > 1 ? arguments[1] : undefined));\n },\n find: function find(predicate /*, thisArg */){\n return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n findIndex: function findIndex(predicate /*, thisArg */){\n return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n },\n forEach: function forEach(callbackfn /*, thisArg */){\n arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n indexOf: function indexOf(searchElement /*, fromIndex */){\n return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n includes: function includes(searchElement /*, fromIndex */){\n return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n },\n join: function join(separator){ // eslint-disable-line no-unused-vars\n return arrayJoin.apply(validate(this), arguments);\n },\n lastIndexOf: function lastIndexOf(searchElement /*, fromIndex */){ // eslint-disable-line no-unused-vars\n return arrayLastIndexOf.apply(validate(this), arguments);\n },\n map: function map(mapfn /*, thisArg */){\n return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n reduce: function reduce(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars\n return arrayReduce.apply(validate(this), arguments);\n },\n reduceRight: function reduceRight(callbackfn /*, initialValue */){ // eslint-disable-line no-unused-vars\n return arrayReduceRight.apply(validate(this), arguments);\n },\n reverse: function reverse(){\n var that = this\n , length = validate(that).length\n , middle = Math.floor(length / 2)\n , index = 0\n , value;\n while(index < middle){\n value = that[index];\n that[index++] = that[--length];\n that[length] = value;\n } return that;\n },\n some: function some(callbackfn /*, thisArg */){\n return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n },\n sort: function sort(comparefn){\n return arraySort.call(validate(this), comparefn);\n },\n subarray: function subarray(begin, end){\n var O = validate(this)\n , length = O.length\n , $begin = toIndex(begin, length);\n return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n O.buffer,\n O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n toLength((end === undefined ? length : toIndex(end, length)) - $begin)\n );\n }\n };\n\n var $slice = function slice(start, end){\n return speciesFromList(this, arraySlice.call(validate(this), start, end));\n };\n\n var $set = function set(arrayLike /*, offset */){\n validate(this);\n var offset = toOffset(arguments[1], 1)\n , length = this.length\n , src = toObject(arrayLike)\n , len = toLength(src.length)\n , index = 0;\n if(len + offset > length)throw RangeError(WRONG_LENGTH);\n while(index < len)this[offset + index] = src[index++];\n };\n\n var $iterators = {\n entries: function entries(){\n return arrayEntries.call(validate(this));\n },\n keys: function keys(){\n return arrayKeys.call(validate(this));\n },\n values: function values(){\n return arrayValues.call(validate(this));\n }\n };\n\n var isTAIndex = function(target, key){\n return isObject(target)\n && target[TYPED_ARRAY]\n && typeof key != 'symbol'\n && key in target\n && String(+key) == String(key);\n };\n var $getDesc = function getOwnPropertyDescriptor(target, key){\n return isTAIndex(target, key = toPrimitive(key, true))\n ? propertyDesc(2, target[key])\n : gOPD(target, key);\n };\n var $setDesc = function defineProperty(target, key, desc){\n if(isTAIndex(target, key = toPrimitive(key, true))\n && isObject(desc)\n && has(desc, 'value')\n && !has(desc, 'get')\n && !has(desc, 'set')\n // TODO: add validation descriptor w/o calling accessors\n && !desc.configurable\n && (!has(desc, 'writable') || desc.writable)\n && (!has(desc, 'enumerable') || desc.enumerable)\n ){\n target[key] = desc.value;\n return target;\n } else return dP(target, key, desc);\n };\n\n if(!ALL_CONSTRUCTORS){\n $GOPD.f = $getDesc;\n $DP.f = $setDesc;\n }\n\n $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n getOwnPropertyDescriptor: $getDesc,\n defineProperty: $setDesc\n });\n\n if(fails(function(){ arrayToString.call({}); })){\n arrayToString = arrayToLocaleString = function toString(){\n return arrayJoin.call(this);\n }\n }\n\n var $TypedArrayPrototype$ = redefineAll({}, proto);\n redefineAll($TypedArrayPrototype$, $iterators);\n hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n redefineAll($TypedArrayPrototype$, {\n slice: $slice,\n set: $set,\n constructor: function(){ /* noop */ },\n toString: arrayToString,\n toLocaleString: $toLocaleString\n });\n addGetter($TypedArrayPrototype$, 'buffer', 'b');\n addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n addGetter($TypedArrayPrototype$, 'length', 'e');\n dP($TypedArrayPrototype$, TAG, {\n get: function(){ return this[TYPED_ARRAY]; }\n });\n\n module.exports = function(KEY, BYTES, wrapper, CLAMPED){\n CLAMPED = !!CLAMPED;\n var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array'\n , ISNT_UINT8 = NAME != 'Uint8Array'\n , GETTER = 'get' + KEY\n , SETTER = 'set' + KEY\n , TypedArray = global[NAME]\n , Base = TypedArray || {}\n , TAC = TypedArray && getPrototypeOf(TypedArray)\n , FORCED = !TypedArray || !$typed.ABV\n , O = {}\n , TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n var getter = function(that, index){\n var data = that._d;\n return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n };\n var setter = function(that, index, value){\n var data = that._d;\n if(CLAMPED)value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n };\n var addElement = function(that, index){\n dP(that, index, {\n get: function(){\n return getter(this, index);\n },\n set: function(value){\n return setter(this, index, value);\n },\n enumerable: true\n });\n };\n if(FORCED){\n TypedArray = wrapper(function(that, data, $offset, $length){\n anInstance(that, TypedArray, NAME, '_d');\n var index = 0\n , offset = 0\n , buffer, byteLength, length, klass;\n if(!isObject(data)){\n length = strictToLength(data, true)\n byteLength = length * BYTES;\n buffer = new $ArrayBuffer(byteLength);\n } else if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){\n buffer = data;\n offset = toOffset($offset, BYTES);\n var $len = data.byteLength;\n if($length === undefined){\n if($len % BYTES)throw RangeError(WRONG_LENGTH);\n byteLength = $len - offset;\n if(byteLength < 0)throw RangeError(WRONG_LENGTH);\n } else {\n byteLength = toLength($length) * BYTES;\n if(byteLength + offset > $len)throw RangeError(WRONG_LENGTH);\n }\n length = byteLength / BYTES;\n } else if(TYPED_ARRAY in data){\n return fromList(TypedArray, data);\n } else {\n return $from.call(TypedArray, data);\n }\n hide(that, '_d', {\n b: buffer,\n o: offset,\n l: byteLength,\n e: length,\n v: new $DataView(buffer)\n });\n while(index < length)addElement(that, index++);\n });\n TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n hide(TypedArrayPrototype, 'constructor', TypedArray);\n } else if(!$iterDetect(function(iter){\n // V8 works with iterators, but fails in many other cases\n // https://code.google.com/p/v8/issues/detail?id=4552\n new TypedArray(null); // eslint-disable-line no-new\n new TypedArray(iter); // eslint-disable-line no-new\n }, true)){\n TypedArray = wrapper(function(that, data, $offset, $length){\n anInstance(that, TypedArray, NAME);\n var klass;\n // `ws` module bug, temporarily remove validation length for Uint8Array\n // https://github.com/websockets/ws/pull/645\n if(!isObject(data))return new Base(strictToLength(data, ISNT_UINT8));\n if(data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER){\n return $length !== undefined\n ? new Base(data, toOffset($offset, BYTES), $length)\n : $offset !== undefined\n ? new Base(data, toOffset($offset, BYTES))\n : new Base(data);\n }\n if(TYPED_ARRAY in data)return fromList(TypedArray, data);\n return $from.call(TypedArray, data);\n });\n arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function(key){\n if(!(key in TypedArray))hide(TypedArray, key, Base[key]);\n });\n TypedArray[PROTOTYPE] = TypedArrayPrototype;\n if(!LIBRARY)TypedArrayPrototype.constructor = TypedArray;\n }\n var $nativeIterator = TypedArrayPrototype[ITERATOR]\n , CORRECT_ITER_NAME = !!$nativeIterator && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined)\n , $iterator = $iterators.values;\n hide(TypedArray, TYPED_CONSTRUCTOR, true);\n hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n hide(TypedArrayPrototype, VIEW, true);\n hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n if(CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)){\n dP(TypedArrayPrototype, TAG, {\n get: function(){ return NAME; }\n });\n }\n\n O[NAME] = TypedArray;\n\n $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n $export($export.S, NAME, {\n BYTES_PER_ELEMENT: BYTES,\n from: $from,\n of: $of\n });\n\n if(!(BYTES_PER_ELEMENT in TypedArrayPrototype))hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n $export($export.P, NAME, proto);\n\n setSpecies(NAME);\n\n $export($export.P + $export.F * FORCED_SET, NAME, {set: $set});\n\n $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n $export($export.P + $export.F * (TypedArrayPrototype.toString != arrayToString), NAME, {toString: arrayToString});\n\n $export($export.P + $export.F * fails(function(){\n new TypedArray(1).slice();\n }), NAME, {slice: $slice});\n\n $export($export.P + $export.F * (fails(function(){\n return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString()\n }) || !fails(function(){\n TypedArrayPrototype.toLocaleString.call([1, 2]);\n })), NAME, {toLocaleString: $toLocaleString});\n\n Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n if(!LIBRARY && !CORRECT_ITER_NAME)hide(TypedArrayPrototype, ITERATOR, $iterator);\n };\n} else module.exports = function(){ /* empty */ };\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_typed-array.js\n// module id = 222\n// module chunks = 0","require('./_typed-array')('Uint8', 1, function(init){\n return function Uint8Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.uint8-array.js\n// module id = 223\n// module chunks = 0","require('./_typed-array')('Uint8', 1, function(init){\n return function Uint8ClampedArray(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n}, true);\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.uint8-clamped-array.js\n// module id = 224\n// module chunks = 0","require('./_typed-array')('Int16', 2, function(init){\n return function Int16Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.int16-array.js\n// module id = 225\n// module chunks = 0","require('./_typed-array')('Uint16', 2, function(init){\n return function Uint16Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.uint16-array.js\n// module id = 226\n// module chunks = 0","require('./_typed-array')('Int32', 4, function(init){\n return function Int32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.int32-array.js\n// module id = 227\n// module chunks = 0","require('./_typed-array')('Uint32', 4, function(init){\n return function Uint32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.uint32-array.js\n// module id = 228\n// module chunks = 0","require('./_typed-array')('Float32', 4, function(init){\n return function Float32Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.float32-array.js\n// module id = 229\n// module chunks = 0","require('./_typed-array')('Float64', 8, function(init){\n return function Float64Array(data, byteOffset, length){\n return init(this, data, byteOffset, length);\n };\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.typed.float64-array.js\n// module id = 230\n// module chunks = 0","// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = require('./_export')\n , aFunction = require('./_a-function')\n , anObject = require('./_an-object')\n , rApply = (require('./_global').Reflect || {}).apply\n , fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !require('./_fails')(function(){\n rApply(function(){});\n}), 'Reflect', {\n apply: function apply(target, thisArgument, argumentsList){\n var T = aFunction(target)\n , L = anObject(argumentsList);\n return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.apply.js\n// module id = 231\n// module chunks = 0","// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = require('./_export')\n , create = require('./_object-create')\n , aFunction = require('./_a-function')\n , anObject = require('./_an-object')\n , isObject = require('./_is-object')\n , fails = require('./_fails')\n , bind = require('./_bind')\n , rConstruct = (require('./_global').Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function(){\n function F(){}\n return !(rConstruct(function(){}, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function(){\n rConstruct(function(){});\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n construct: function construct(Target, args /*, newTarget*/){\n aFunction(Target);\n anObject(args);\n var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n if(ARGS_BUG && !NEW_TARGET_BUG)return rConstruct(Target, args, newTarget);\n if(Target == newTarget){\n // w/o altered newTarget, optimization for 0-4 arguments\n switch(args.length){\n case 0: return new Target;\n case 1: return new Target(args[0]);\n case 2: return new Target(args[0], args[1]);\n case 3: return new Target(args[0], args[1], args[2]);\n case 4: return new Target(args[0], args[1], args[2], args[3]);\n }\n // w/o altered newTarget, lot of arguments case\n var $args = [null];\n $args.push.apply($args, args);\n return new (bind.apply(Target, $args));\n }\n // with altered newTarget, not support built-in constructors\n var proto = newTarget.prototype\n , instance = create(isObject(proto) ? proto : Object.prototype)\n , result = Function.apply.call(Target, instance, args);\n return isObject(result) ? result : instance;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.construct.js\n// module id = 232\n// module chunks = 0","// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = require('./_object-dp')\n , $export = require('./_export')\n , anObject = require('./_an-object')\n , toPrimitive = require('./_to-primitive');\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * require('./_fails')(function(){\n Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});\n}), 'Reflect', {\n defineProperty: function defineProperty(target, propertyKey, attributes){\n anObject(target);\n propertyKey = toPrimitive(propertyKey, true);\n anObject(attributes);\n try {\n dP.f(target, propertyKey, attributes);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.define-property.js\n// module id = 233\n// module chunks = 0","// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = require('./_export')\n , gOPD = require('./_object-gopd').f\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n deleteProperty: function deleteProperty(target, propertyKey){\n var desc = gOPD(anObject(target), propertyKey);\n return desc && !desc.configurable ? false : delete target[propertyKey];\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.delete-property.js\n// module id = 234\n// module chunks = 0","'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object');\nvar Enumerate = function(iterated){\n this._t = anObject(iterated); // target\n this._i = 0; // next index\n var keys = this._k = [] // keys\n , key;\n for(key in iterated)keys.push(key);\n};\nrequire('./_iter-create')(Enumerate, 'Object', function(){\n var that = this\n , keys = that._k\n , key;\n do {\n if(that._i >= keys.length)return {value: undefined, done: true};\n } while(!((key = keys[that._i++]) in that._t));\n return {value: key, done: false};\n});\n\n$export($export.S, 'Reflect', {\n enumerate: function enumerate(target){\n return new Enumerate(target);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.enumerate.js\n// module id = 235\n// module chunks = 0","// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = require('./_object-gopd')\n , getPrototypeOf = require('./_object-gpo')\n , has = require('./_has')\n , $export = require('./_export')\n , isObject = require('./_is-object')\n , anObject = require('./_an-object');\n\nfunction get(target, propertyKey/*, receiver*/){\n var receiver = arguments.length < 3 ? target : arguments[2]\n , desc, proto;\n if(anObject(target) === receiver)return target[propertyKey];\n if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')\n ? desc.value\n : desc.get !== undefined\n ? desc.get.call(receiver)\n : undefined;\n if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', {get: get});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.get.js\n// module id = 236\n// module chunks = 0","// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = require('./_object-gopd')\n , $export = require('./_export')\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n return gOPD.f(anObject(target), propertyKey);\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.get-own-property-descriptor.js\n// module id = 237\n// module chunks = 0","// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = require('./_export')\n , getProto = require('./_object-gpo')\n , anObject = require('./_an-object');\n\n$export($export.S, 'Reflect', {\n getPrototypeOf: function getPrototypeOf(target){\n return getProto(anObject(target));\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.get-prototype-of.js\n// module id = 238\n// module chunks = 0","// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {\n has: function has(target, propertyKey){\n return propertyKey in target;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.has.js\n// module id = 239\n// module chunks = 0","// 26.1.10 Reflect.isExtensible(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object')\n , $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n isExtensible: function isExtensible(target){\n anObject(target);\n return $isExtensible ? $isExtensible(target) : true;\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.is-extensible.js\n// module id = 240\n// module chunks = 0","// 26.1.11 Reflect.ownKeys(target)\nvar $export = require('./_export');\n\n$export($export.S, 'Reflect', {ownKeys: require('./_own-keys')});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.own-keys.js\n// module id = 241\n// module chunks = 0","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn')\n , gOPS = require('./_object-gops')\n , anObject = require('./_an-object')\n , Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n var keys = gOPN.f(anObject(it))\n , getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_own-keys.js\n// module id = 242\n// module chunks = 0","// 26.1.12 Reflect.preventExtensions(target)\nvar $export = require('./_export')\n , anObject = require('./_an-object')\n , $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n preventExtensions: function preventExtensions(target){\n anObject(target);\n try {\n if($preventExtensions)$preventExtensions(target);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.prevent-extensions.js\n// module id = 243\n// module chunks = 0","// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = require('./_object-dp')\n , gOPD = require('./_object-gopd')\n , getPrototypeOf = require('./_object-gpo')\n , has = require('./_has')\n , $export = require('./_export')\n , createDesc = require('./_property-desc')\n , anObject = require('./_an-object')\n , isObject = require('./_is-object');\n\nfunction set(target, propertyKey, V/*, receiver*/){\n var receiver = arguments.length < 4 ? target : arguments[3]\n , ownDesc = gOPD.f(anObject(target), propertyKey)\n , existingDescriptor, proto;\n if(!ownDesc){\n if(isObject(proto = getPrototypeOf(target))){\n return set(proto, propertyKey, V, receiver);\n }\n ownDesc = createDesc(0);\n }\n if(has(ownDesc, 'value')){\n if(ownDesc.writable === false || !isObject(receiver))return false;\n existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n existingDescriptor.value = V;\n dP.f(receiver, propertyKey, existingDescriptor);\n return true;\n }\n return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', {set: set});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.set.js\n// module id = 244\n// module chunks = 0","// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = require('./_export')\n , setProto = require('./_set-proto');\n\nif(setProto)$export($export.S, 'Reflect', {\n setPrototypeOf: function setPrototypeOf(target, proto){\n setProto.check(target, proto);\n try {\n setProto.set(target, proto);\n return true;\n } catch(e){\n return false;\n }\n }\n});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es6.reflect.set-prototype-of.js\n// module id = 245\n// module chunks = 0","require('../modules/es7.reflect.define-metadata');\nrequire('../modules/es7.reflect.delete-metadata');\nrequire('../modules/es7.reflect.get-metadata');\nrequire('../modules/es7.reflect.get-metadata-keys');\nrequire('../modules/es7.reflect.get-own-metadata');\nrequire('../modules/es7.reflect.get-own-metadata-keys');\nrequire('../modules/es7.reflect.has-metadata');\nrequire('../modules/es7.reflect.has-own-metadata');\nrequire('../modules/es7.reflect.metadata');\nmodule.exports = require('../modules/_core').Reflect;\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/es7/reflect.js\n// module id = 246\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , toMetaKey = metadata.key\n , ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){\n ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.define-metadata.js\n// module id = 247\n// module chunks = 0","var Map = require('./es6.map')\n , $export = require('./_export')\n , shared = require('./_shared')('metadata')\n , store = shared.store || (shared.store = new (require('./es6.weak-map')));\n\nvar getOrCreateMetadataMap = function(target, targetKey, create){\n var targetMetadata = store.get(target);\n if(!targetMetadata){\n if(!create)return undefined;\n store.set(target, targetMetadata = new Map);\n }\n var keyMetadata = targetMetadata.get(targetKey);\n if(!keyMetadata){\n if(!create)return undefined;\n targetMetadata.set(targetKey, keyMetadata = new Map);\n } return keyMetadata;\n};\nvar ordinaryHasOwnMetadata = function(MetadataKey, O, P){\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? false : metadataMap.has(MetadataKey);\n};\nvar ordinaryGetOwnMetadata = function(MetadataKey, O, P){\n var metadataMap = getOrCreateMetadataMap(O, P, false);\n return metadataMap === undefined ? undefined : metadataMap.get(MetadataKey);\n};\nvar ordinaryDefineOwnMetadata = function(MetadataKey, MetadataValue, O, P){\n getOrCreateMetadataMap(O, P, true).set(MetadataKey, MetadataValue);\n};\nvar ordinaryOwnMetadataKeys = function(target, targetKey){\n var metadataMap = getOrCreateMetadataMap(target, targetKey, false)\n , keys = [];\n if(metadataMap)metadataMap.forEach(function(_, key){ keys.push(key); });\n return keys;\n};\nvar toMetaKey = function(it){\n return it === undefined || typeof it == 'symbol' ? it : String(it);\n};\nvar exp = function(O){\n $export($export.S, 'Reflect', O);\n};\n\nmodule.exports = {\n store: store,\n map: getOrCreateMetadataMap,\n has: ordinaryHasOwnMetadata,\n get: ordinaryGetOwnMetadata,\n set: ordinaryDefineOwnMetadata,\n keys: ordinaryOwnMetadataKeys,\n key: toMetaKey,\n exp: exp\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_metadata.js\n// module id = 248\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , toMetaKey = metadata.key\n , getOrCreateMetadataMap = metadata.map\n , store = metadata.store;\n\nmetadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){\n var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])\n , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;\n if(metadataMap.size)return true;\n var targetMetadata = store.get(target);\n targetMetadata['delete'](targetKey);\n return !!targetMetadata.size || store['delete'](target);\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.delete-metadata.js\n// module id = 249\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryHasOwnMetadata = metadata.has\n , ordinaryGetOwnMetadata = metadata.get\n , toMetaKey = metadata.key;\n\nvar ordinaryGetMetadata = function(MetadataKey, O, P){\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n};\n\nmetadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){\n return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.get-metadata.js\n// module id = 250\n// module chunks = 0","var Set = require('./es6.set')\n , from = require('./_array-from-iterable')\n , metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryOwnMetadataKeys = metadata.keys\n , toMetaKey = metadata.key;\n\nvar ordinaryMetadataKeys = function(O, P){\n var oKeys = ordinaryOwnMetadataKeys(O, P)\n , parent = getPrototypeOf(O);\n if(parent === null)return oKeys;\n var pKeys = ordinaryMetadataKeys(parent, P);\n return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n};\n\nmetadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){\n return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.get-metadata-keys.js\n// module id = 251\n// module chunks = 0","var forOf = require('./_for-of');\n\nmodule.exports = function(iter, ITERATOR){\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/_array-from-iterable.js\n// module id = 252\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryGetOwnMetadata = metadata.get\n , toMetaKey = metadata.key;\n\nmetadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){\n return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.get-own-metadata.js\n// module id = 253\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryOwnMetadataKeys = metadata.keys\n , toMetaKey = metadata.key;\n\nmetadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){\n return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.get-own-metadata-keys.js\n// module id = 254\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , getPrototypeOf = require('./_object-gpo')\n , ordinaryHasOwnMetadata = metadata.has\n , toMetaKey = metadata.key;\n\nvar ordinaryHasMetadata = function(MetadataKey, O, P){\n var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n if(hasOwn)return true;\n var parent = getPrototypeOf(O);\n return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n};\n\nmetadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){\n return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.has-metadata.js\n// module id = 255\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , ordinaryHasOwnMetadata = metadata.has\n , toMetaKey = metadata.key;\n\nmetadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){\n return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.has-own-metadata.js\n// module id = 256\n// module chunks = 0","var metadata = require('./_metadata')\n , anObject = require('./_an-object')\n , aFunction = require('./_a-function')\n , toMetaKey = metadata.key\n , ordinaryDefineOwnMetadata = metadata.set;\n\nmetadata.exp({metadata: function metadata(metadataKey, metadataValue){\n return function decorator(target, targetKey){\n ordinaryDefineOwnMetadata(\n metadataKey, metadataValue,\n (targetKey !== undefined ? anObject : aFunction)(target),\n toMetaKey(targetKey)\n );\n };\n}});\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/core-js/modules/es7.reflect.metadata.js\n// module id = 257\n// module chunks = 0","/**\n* @license\n* Copyright Google Inc. All Rights Reserved.\n*\n* Use of this source code is governed by an MIT-style license that can be\n* found in the LICENSE file at https://angular.io/license\n*/\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory() :\n typeof define === 'function' && define.amd ? define(factory) :\n (factory());\n}(this, (function () { 'use strict';\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n\nvar Zone$1 = (function (global) {\n if (global.Zone) {\n throw new Error('Zone already loaded.');\n }\n var Zone = (function () {\n function Zone(parent, zoneSpec) {\n this._properties = null;\n this._parent = parent;\n this._name = zoneSpec ? zoneSpec.name || 'unnamed' : '<root>';\n this._properties = zoneSpec && zoneSpec.properties || {};\n this._zoneDelegate =\n new ZoneDelegate(this, this._parent && this._parent._zoneDelegate, zoneSpec);\n }\n Zone.assertZonePatched = function () {\n if (global.Promise !== ZoneAwarePromise) {\n throw new Error('Zone.js has detected that ZoneAwarePromise `(window|global).Promise` ' +\n 'has been overwritten.\\n' +\n 'Most likely cause is that a Promise polyfill has been loaded ' +\n 'after Zone.js (Polyfilling Promise api is not necessary when zone.js is loaded. ' +\n 'If you must load one, do so before loading zone.js.)');\n }\n };\n Object.defineProperty(Zone, \"current\", {\n get: function () {\n return _currentZone;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone, \"currentTask\", {\n get: function () {\n return _currentTask;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"parent\", {\n get: function () {\n return this._parent;\n },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(Zone.prototype, \"name\", {\n get: function () {\n return this._name;\n },\n enumerable: true,\n configurable: true\n });\n \n Zone.prototype.get = function (key) {\n var zone = this.getZoneWith(key);\n if (zone)\n return zone._properties[key];\n };\n Zone.prototype.getZoneWith = function (key) {\n var current = this;\n while (current) {\n if (current._properties.hasOwnProperty(key)) {\n return current;\n }\n current = current._parent;\n }\n return null;\n };\n Zone.prototype.fork = function (zoneSpec) {\n if (!zoneSpec)\n throw new Error('ZoneSpec required!');\n return this._zoneDelegate.fork(this, zoneSpec);\n };\n Zone.prototype.wrap = function (callback, source) {\n if (typeof callback !== 'function') {\n throw new Error('Expecting function got: ' + callback);\n }\n var _callback = this._zoneDelegate.intercept(this, callback, source);\n var zone = this;\n return function () {\n return zone.runGuarded(_callback, this, arguments, source);\n };\n };\n Zone.prototype.run = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n finally {\n _currentZone = oldZone;\n }\n };\n Zone.prototype.runGuarded = function (callback, applyThis, applyArgs, source) {\n if (applyThis === void 0) { applyThis = null; }\n if (applyArgs === void 0) { applyArgs = null; }\n if (source === void 0) { source = null; }\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n try {\n return this._zoneDelegate.invoke(this, callback, applyThis, applyArgs, source);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZone = oldZone;\n }\n };\n Zone.prototype.runTask = function (task, applyThis, applyArgs) {\n task.runCount++;\n if (task.zone != this)\n throw new Error('A task can only be run in the zone which created it! (Creation: ' + task.zone.name +\n '; Execution: ' + this.name + ')');\n var previousTask = _currentTask;\n _currentTask = task;\n var oldZone = _currentZone;\n _currentZone = this;\n try {\n if (task.type == 'macroTask' && task.data && !task.data.isPeriodic) {\n task.cancelFn = null;\n }\n try {\n return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);\n }\n catch (error) {\n if (this._zoneDelegate.handleError(this, error)) {\n throw error;\n }\n }\n }\n finally {\n _currentZone = oldZone;\n _currentTask = previousTask;\n }\n };\n Zone.prototype.scheduleMicroTask = function (source, callback, data, customSchedule) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('microTask', this, source, callback, data, customSchedule, null));\n };\n Zone.prototype.scheduleMacroTask = function (source, callback, data, customSchedule, customCancel) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('macroTask', this, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.scheduleEventTask = function (source, callback, data, customSchedule, customCancel) {\n return this._zoneDelegate.scheduleTask(this, new ZoneTask('eventTask', this, source, callback, data, customSchedule, customCancel));\n };\n Zone.prototype.cancelTask = function (task) {\n var value = this._zoneDelegate.cancelTask(this, task);\n task.runCount = -1;\n task.cancelFn = null;\n return value;\n };\n Zone.__symbol__ = __symbol__;\n return Zone;\n }());\n \n var ZoneDelegate = (function () {\n function ZoneDelegate(zone, parentDelegate, zoneSpec) {\n this._taskCounts = { microTask: 0, macroTask: 0, eventTask: 0 };\n this.zone = zone;\n this._parentDelegate = parentDelegate;\n this._forkZS = zoneSpec && (zoneSpec && zoneSpec.onFork ? zoneSpec : parentDelegate._forkZS);\n this._forkDlgt = zoneSpec && (zoneSpec.onFork ? parentDelegate : parentDelegate._forkDlgt);\n this._interceptZS =\n zoneSpec && (zoneSpec.onIntercept ? zoneSpec : parentDelegate._interceptZS);\n this._interceptDlgt =\n zoneSpec && (zoneSpec.onIntercept ? parentDelegate : parentDelegate._interceptDlgt);\n this._invokeZS = zoneSpec && (zoneSpec.onInvoke ? zoneSpec : parentDelegate._invokeZS);\n this._invokeDlgt =\n zoneSpec && (zoneSpec.onInvoke ? parentDelegate : parentDelegate._invokeDlgt);\n this._handleErrorZS =\n zoneSpec && (zoneSpec.onHandleError ? zoneSpec : parentDelegate._handleErrorZS);\n this._handleErrorDlgt =\n zoneSpec && (zoneSpec.onHandleError ? parentDelegate : parentDelegate._handleErrorDlgt);\n this._scheduleTaskZS =\n zoneSpec && (zoneSpec.onScheduleTask ? zoneSpec : parentDelegate._scheduleTaskZS);\n this._scheduleTaskDlgt =\n zoneSpec && (zoneSpec.onScheduleTask ? parentDelegate : parentDelegate._scheduleTaskDlgt);\n this._invokeTaskZS =\n zoneSpec && (zoneSpec.onInvokeTask ? zoneSpec : parentDelegate._invokeTaskZS);\n this._invokeTaskDlgt =\n zoneSpec && (zoneSpec.onInvokeTask ? parentDelegate : parentDelegate._invokeTaskDlgt);\n this._cancelTaskZS =\n zoneSpec && (zoneSpec.onCancelTask ? zoneSpec : parentDelegate._cancelTaskZS);\n this._cancelTaskDlgt =\n zoneSpec && (zoneSpec.onCancelTask ? parentDelegate : parentDelegate._cancelTaskDlgt);\n this._hasTaskZS = zoneSpec && (zoneSpec.onHasTask ? zoneSpec : parentDelegate._hasTaskZS);\n this._hasTaskDlgt =\n zoneSpec && (zoneSpec.onHasTask ? parentDelegate : parentDelegate._hasTaskDlgt);\n }\n ZoneDelegate.prototype.fork = function (targetZone, zoneSpec) {\n return this._forkZS ? this._forkZS.onFork(this._forkDlgt, this.zone, targetZone, zoneSpec) :\n new Zone(targetZone, zoneSpec);\n };\n ZoneDelegate.prototype.intercept = function (targetZone, callback, source) {\n return this._interceptZS ?\n this._interceptZS.onIntercept(this._interceptDlgt, this.zone, targetZone, callback, source) :\n callback;\n };\n ZoneDelegate.prototype.invoke = function (targetZone, callback, applyThis, applyArgs, source) {\n return this._invokeZS ?\n this._invokeZS.onInvoke(this._invokeDlgt, this.zone, targetZone, callback, applyThis, applyArgs, source) :\n callback.apply(applyThis, applyArgs);\n };\n ZoneDelegate.prototype.handleError = function (targetZone, error) {\n return this._handleErrorZS ?\n this._handleErrorZS.onHandleError(this._handleErrorDlgt, this.zone, targetZone, error) :\n true;\n };\n ZoneDelegate.prototype.scheduleTask = function (targetZone, task) {\n try {\n if (this._scheduleTaskZS) {\n return this._scheduleTaskZS.onScheduleTask(this._scheduleTaskDlgt, this.zone, targetZone, task);\n }\n else if (task.scheduleFn) {\n task.scheduleFn(task);\n }\n else if (task.type == 'microTask') {\n scheduleMicroTask(task);\n }\n else {\n throw new Error('Task is missing scheduleFn.');\n }\n return task;\n }\n finally {\n if (targetZone == this.zone) {\n this._updateTaskCount(task.type, 1);\n }\n }\n };\n ZoneDelegate.prototype.invokeTask = function (targetZone, task, applyThis, applyArgs) {\n try {\n return this._invokeTaskZS ?\n this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this.zone, targetZone, task, applyThis, applyArgs) :\n task.callback.apply(applyThis, applyArgs);\n }\n finally {\n if (targetZone == this.zone && (task.type != 'eventTask') &&\n !(task.data && task.data.isPeriodic)) {\n this._updateTaskCount(task.type, -1);\n }\n }\n };\n ZoneDelegate.prototype.cancelTask = function (targetZone, task) {\n var value;\n if (this._cancelTaskZS) {\n value = this._cancelTaskZS.onCancelTask(this._cancelTaskDlgt, this.zone, targetZone, task);\n }\n else if (!task.cancelFn) {\n throw new Error('Task does not support cancellation, or is already canceled.');\n }\n else {\n value = task.cancelFn(task);\n }\n if (targetZone == this.zone) {\n // this should not be in the finally block, because exceptions assume not canceled.\n this._updateTaskCount(task.type, -1);\n }\n return value;\n };\n ZoneDelegate.prototype.hasTask = function (targetZone, isEmpty) {\n return this._hasTaskZS &&\n this._hasTaskZS.onHasTask(this._hasTaskDlgt, this.zone, targetZone, isEmpty);\n };\n ZoneDelegate.prototype._updateTaskCount = function (type, count) {\n var counts = this._taskCounts;\n var prev = counts[type];\n var next = counts[type] = prev + count;\n if (next < 0) {\n throw new Error('More tasks executed then were scheduled.');\n }\n if (prev == 0 || next == 0) {\n var isEmpty = {\n microTask: counts.microTask > 0,\n macroTask: counts.macroTask > 0,\n eventTask: counts.eventTask > 0,\n change: type\n };\n try {\n this.hasTask(this.zone, isEmpty);\n }\n finally {\n if (this._parentDelegate) {\n this._parentDelegate._updateTaskCount(type, count);\n }\n }\n }\n };\n return ZoneDelegate;\n }());\n var ZoneTask = (function () {\n function ZoneTask(type, zone, source, callback, options, scheduleFn, cancelFn) {\n this.runCount = 0;\n this.type = type;\n this.zone = zone;\n this.source = source;\n this.data = options;\n this.scheduleFn = scheduleFn;\n this.cancelFn = cancelFn;\n this.callback = callback;\n var self = this;\n this.invoke = function () {\n _numberOfNestedTaskFrames++;\n try {\n return zone.runTask(self, this, arguments);\n }\n finally {\n if (_numberOfNestedTaskFrames == 1) {\n drainMicroTaskQueue();\n }\n _numberOfNestedTaskFrames--;\n }\n };\n }\n ZoneTask.prototype.toString = function () {\n if (this.data && typeof this.data.handleId !== 'undefined') {\n return this.data.handleId;\n }\n else {\n return Object.prototype.toString.call(this);\n }\n };\n return ZoneTask;\n }());\n function __symbol__(name) {\n return '__zone_symbol__' + name;\n }\n \n var symbolSetTimeout = __symbol__('setTimeout');\n var symbolPromise = __symbol__('Promise');\n var symbolThen = __symbol__('then');\n var _currentZone = new Zone(null, null);\n var _currentTask = null;\n var _microTaskQueue = [];\n var _isDrainingMicrotaskQueue = false;\n var _uncaughtPromiseErrors = [];\n var _numberOfNestedTaskFrames = 0;\n function scheduleQueueDrain() {\n // if we are not running in any task, and there has not been anything scheduled\n // we must bootstrap the initial task creation by manually scheduling the drain\n if (_numberOfNestedTaskFrames == 0 && _microTaskQueue.length == 0) {\n // We are not running in Task, so we need to kickstart the microtask queue.\n if (global[symbolPromise]) {\n global[symbolPromise].resolve(0)[symbolThen](drainMicroTaskQueue);\n }\n else {\n global[symbolSetTimeout](drainMicroTaskQueue, 0);\n }\n }\n }\n function scheduleMicroTask(task) {\n scheduleQueueDrain();\n _microTaskQueue.push(task);\n }\n function consoleError(e) {\n var rejection = e && e.rejection;\n if (rejection) {\n console.error('Unhandled Promise rejection:', rejection instanceof Error ? rejection.message : rejection, '; Zone:', e.zone.name, '; Task:', e.task && e.task.source, '; Value:', rejection, rejection instanceof Error ? rejection.stack : undefined);\n }\n console.error(e);\n }\n function drainMicroTaskQueue() {\n if (!_isDrainingMicrotaskQueue) {\n _isDrainingMicrotaskQueue = true;\n while (_microTaskQueue.length) {\n var queue = _microTaskQueue;\n _microTaskQueue = [];\n for (var i = 0; i < queue.length; i++) {\n var task = queue[i];\n try {\n task.zone.runTask(task, null, null);\n }\n catch (e) {\n consoleError(e);\n }\n }\n }\n while (_uncaughtPromiseErrors.length) {\n var _loop_1 = function() {\n var uncaughtPromiseError = _uncaughtPromiseErrors.shift();\n try {\n uncaughtPromiseError.zone.runGuarded(function () {\n throw uncaughtPromiseError;\n });\n }\n catch (e) {\n consoleError(e);\n }\n };\n while (_uncaughtPromiseErrors.length) {\n _loop_1();\n }\n }\n _isDrainingMicrotaskQueue = false;\n }\n }\n function isThenable(value) {\n return value && value.then;\n }\n function forwardResolution(value) {\n return value;\n }\n function forwardRejection(rejection) {\n return ZoneAwarePromise.reject(rejection);\n }\n var symbolState = __symbol__('state');\n var symbolValue = __symbol__('value');\n var source = 'Promise.then';\n var UNRESOLVED = null;\n var RESOLVED = true;\n var REJECTED = false;\n var REJECTED_NO_CATCH = 0;\n function makeResolver(promise, state) {\n return function (v) {\n resolvePromise(promise, state, v);\n // Do not return value or you will break the Promise spec.\n };\n }\n function resolvePromise(promise, state, value) {\n if (promise[symbolState] === UNRESOLVED) {\n if (value instanceof ZoneAwarePromise && value[symbolState] !== UNRESOLVED) {\n clearRejectedNoCatch(value);\n resolvePromise(promise, value[symbolState], value[symbolValue]);\n }\n else if (isThenable(value)) {\n value.then(makeResolver(promise, state), makeResolver(promise, false));\n }\n else {\n promise[symbolState] = state;\n var queue = promise[symbolValue];\n promise[symbolValue] = value;\n for (var i = 0; i < queue.length;) {\n scheduleResolveOrReject(promise, queue[i++], queue[i++], queue[i++], queue[i++]);\n }\n if (queue.length == 0 && state == REJECTED) {\n promise[symbolState] = REJECTED_NO_CATCH;\n try {\n throw new Error('Uncaught (in promise): ' + value +\n (value && value.stack ? '\\n' + value.stack : ''));\n }\n catch (e) {\n var error_1 = e;\n error_1.rejection = value;\n error_1.promise = promise;\n error_1.zone = Zone.current;\n error_1.task = Zone.currentTask;\n _uncaughtPromiseErrors.push(error_1);\n scheduleQueueDrain();\n }\n }\n }\n }\n // Resolving an already resolved promise is a noop.\n return promise;\n }\n function clearRejectedNoCatch(promise) {\n if (promise[symbolState] === REJECTED_NO_CATCH) {\n promise[symbolState] = REJECTED;\n for (var i = 0; i < _uncaughtPromiseErrors.length; i++) {\n if (promise === _uncaughtPromiseErrors[i].promise) {\n _uncaughtPromiseErrors.splice(i, 1);\n break;\n }\n }\n }\n }\n function scheduleResolveOrReject(promise, zone, chainPromise, onFulfilled, onRejected) {\n clearRejectedNoCatch(promise);\n var delegate = promise[symbolState] ? onFulfilled || forwardResolution : onRejected || forwardRejection;\n zone.scheduleMicroTask(source, function () {\n try {\n resolvePromise(chainPromise, true, zone.run(delegate, null, [promise[symbolValue]]));\n }\n catch (error) {\n resolvePromise(chainPromise, false, error);\n }\n });\n }\n var ZoneAwarePromise = (function () {\n function ZoneAwarePromise(executor) {\n var promise = this;\n if (!(promise instanceof ZoneAwarePromise)) {\n throw new Error('Must be an instanceof Promise.');\n }\n promise[symbolState] = UNRESOLVED;\n promise[symbolValue] = []; // queue;\n try {\n executor && executor(makeResolver(promise, RESOLVED), makeResolver(promise, REJECTED));\n }\n catch (e) {\n resolvePromise(promise, false, e);\n }\n }\n ZoneAwarePromise.resolve = function (value) {\n return resolvePromise(new this(null), RESOLVED, value);\n };\n ZoneAwarePromise.reject = function (error) {\n return resolvePromise(new this(null), REJECTED, error);\n };\n ZoneAwarePromise.race = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n _a = [res, rej], resolve = _a[0], reject = _a[1];\n var _a;\n });\n function onResolve(value) {\n promise && (promise = null || resolve(value));\n }\n function onReject(error) {\n promise && (promise = null || reject(error));\n }\n for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {\n var value = values_1[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then(onResolve, onReject);\n }\n return promise;\n };\n ZoneAwarePromise.all = function (values) {\n var resolve;\n var reject;\n var promise = new this(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var count = 0;\n var resolvedValues = [];\n for (var _i = 0, values_2 = values; _i < values_2.length; _i++) {\n var value = values_2[_i];\n if (!isThenable(value)) {\n value = this.resolve(value);\n }\n value.then((function (index) { return function (value) {\n resolvedValues[index] = value;\n count--;\n if (!count) {\n resolve(resolvedValues);\n }\n }; })(count), reject);\n count++;\n }\n if (!count)\n resolve(resolvedValues);\n return promise;\n };\n ZoneAwarePromise.prototype.then = function (onFulfilled, onRejected) {\n var chainPromise = new this.constructor(null);\n var zone = Zone.current;\n if (this[symbolState] == UNRESOLVED) {\n this[symbolValue].push(zone, chainPromise, onFulfilled, onRejected);\n }\n else {\n scheduleResolveOrReject(this, zone, chainPromise, onFulfilled, onRejected);\n }\n return chainPromise;\n };\n ZoneAwarePromise.prototype.catch = function (onRejected) {\n return this.then(null, onRejected);\n };\n return ZoneAwarePromise;\n }());\n // Protect against aggressive optimizers dropping seemingly unused properties.\n // E.g. Closure Compiler in advanced mode.\n ZoneAwarePromise['resolve'] = ZoneAwarePromise.resolve;\n ZoneAwarePromise['reject'] = ZoneAwarePromise.reject;\n ZoneAwarePromise['race'] = ZoneAwarePromise.race;\n ZoneAwarePromise['all'] = ZoneAwarePromise.all;\n var NativePromise = global[__symbol__('Promise')] = global.Promise;\n global.Promise = ZoneAwarePromise;\n function patchThen(NativePromise) {\n var NativePromiseProtototype = NativePromise.prototype;\n var NativePromiseThen = NativePromiseProtototype[__symbol__('then')] =\n NativePromiseProtototype.then;\n NativePromiseProtototype.then = function (onResolve, onReject) {\n var nativePromise = this;\n return new ZoneAwarePromise(function (resolve, reject) {\n NativePromiseThen.call(nativePromise, resolve, reject);\n })\n .then(onResolve, onReject);\n };\n }\n if (NativePromise) {\n patchThen(NativePromise);\n if (typeof global['fetch'] !== 'undefined') {\n var fetchPromise = void 0;\n try {\n // In MS Edge this throws\n fetchPromise = global['fetch']();\n }\n catch (e) {\n // In Chrome this throws instead.\n fetchPromise = global['fetch']('about:blank');\n }\n // ignore output to prevent error;\n fetchPromise.then(function () { return null; }, function () { return null; });\n if (fetchPromise.constructor != NativePromise &&\n fetchPromise.constructor != ZoneAwarePromise) {\n patchThen(fetchPromise.constructor);\n }\n }\n }\n // This is not part of public API, but it is usefull for tests, so we expose it.\n Promise[Zone.__symbol__('uncaughtPromiseErrors')] = _uncaughtPromiseErrors;\n return global.Zone = Zone;\n})(typeof window === 'object' && window || typeof self === 'object' && self || global);\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar zoneSymbol = Zone['__symbol__'];\nvar _global$1 = typeof window === 'object' && window || typeof self === 'object' && self || global;\nfunction bindArguments(args, source) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (typeof args[i] === 'function') {\n args[i] = Zone.current.wrap(args[i], source + '_' + i);\n }\n }\n return args;\n}\n\nfunction patchPrototype(prototype, fnNames) {\n var source = prototype.constructor['name'];\n var _loop_1 = function(i) {\n var name_1 = fnNames[i];\n var delegate = prototype[name_1];\n if (delegate) {\n prototype[name_1] = (function (delegate) {\n return function () {\n return delegate.apply(this, bindArguments(arguments, source + '.' + name_1));\n };\n })(delegate);\n }\n };\n for (var i = 0; i < fnNames.length; i++) {\n _loop_1(i);\n }\n}\n\nvar isWebWorker = (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope);\nvar isNode = (typeof process !== 'undefined' && {}.toString.call(process) === '[object process]');\nvar isBrowser = !isNode && !isWebWorker && !!(typeof window !== 'undefined' && window['HTMLElement']);\nfunction patchProperty(obj, prop) {\n var desc = Object.getOwnPropertyDescriptor(obj, prop) || { enumerable: true, configurable: true };\n // A property descriptor cannot have getter/setter and be writable\n // deleting the writable and value properties avoids this error:\n //\n // TypeError: property descriptors must not specify a value or be writable when a\n // getter or setter has been specified\n delete desc.writable;\n delete desc.value;\n // substr(2) cuz 'onclick' -> 'click', etc\n var eventName = prop.substr(2);\n var _prop = '_' + prop;\n desc.set = function (fn) {\n if (this[_prop]) {\n this.removeEventListener(eventName, this[_prop]);\n }\n if (typeof fn === 'function') {\n var wrapFn = function (event) {\n var result;\n result = fn.apply(this, arguments);\n if (result != undefined && !result)\n event.preventDefault();\n };\n this[_prop] = wrapFn;\n this.addEventListener(eventName, wrapFn, false);\n }\n else {\n this[_prop] = null;\n }\n };\n // The getter would return undefined for unassigned properties but the default value of an\n // unassigned property is null\n desc.get = function () {\n return this[_prop] || null;\n };\n Object.defineProperty(obj, prop, desc);\n}\n\nfunction patchOnProperties(obj, properties) {\n var onProperties = [];\n for (var prop in obj) {\n if (prop.substr(0, 2) == 'on') {\n onProperties.push(prop);\n }\n }\n for (var j = 0; j < onProperties.length; j++) {\n patchProperty(obj, onProperties[j]);\n }\n if (properties) {\n for (var i = 0; i < properties.length; i++) {\n patchProperty(obj, 'on' + properties[i]);\n }\n }\n}\n\nvar EVENT_TASKS = zoneSymbol('eventTasks');\n// For EventTarget\nvar ADD_EVENT_LISTENER = 'addEventListener';\nvar REMOVE_EVENT_LISTENER = 'removeEventListener';\nfunction findExistingRegisteredTask(target, handler, name, capture, remove) {\n var eventTasks = target[EVENT_TASKS];\n if (eventTasks) {\n for (var i = 0; i < eventTasks.length; i++) {\n var eventTask = eventTasks[i];\n var data = eventTask.data;\n if (data.handler === handler && data.useCapturing === capture && data.eventName === name) {\n if (remove) {\n eventTasks.splice(i, 1);\n }\n return eventTask;\n }\n }\n }\n return null;\n}\nfunction attachRegisteredEvent(target, eventTask) {\n var eventTasks = target[EVENT_TASKS];\n if (!eventTasks) {\n eventTasks = target[EVENT_TASKS] = [];\n }\n eventTasks.push(eventTask);\n}\nfunction makeZoneAwareAddListener(addFnName, removeFnName, useCapturingParam, allowDuplicates) {\n if (useCapturingParam === void 0) { useCapturingParam = true; }\n if (allowDuplicates === void 0) { allowDuplicates = false; }\n var addFnSymbol = zoneSymbol(addFnName);\n var removeFnSymbol = zoneSymbol(removeFnName);\n var defaultUseCapturing = useCapturingParam ? false : undefined;\n function scheduleEventListener(eventTask) {\n var meta = eventTask.data;\n attachRegisteredEvent(meta.target, eventTask);\n return meta.target[addFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n }\n function cancelEventListener(eventTask) {\n var meta = eventTask.data;\n findExistingRegisteredTask(meta.target, eventTask.invoke, meta.eventName, meta.useCapturing, true);\n meta.target[removeFnSymbol](meta.eventName, eventTask.invoke, meta.useCapturing);\n }\n return function zoneAwareAddListener(self, args) {\n var eventName = args[0];\n var handler = args[1];\n var useCapturing = args[2] || defaultUseCapturing;\n // - Inside a Web Worker, `this` is undefined, the context is `global`\n // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n // see https://github.com/angular/zone.js/issues/190\n var target = self || _global$1;\n var delegate = null;\n if (typeof handler == 'function') {\n delegate = handler;\n }\n else if (handler && handler.handleEvent) {\n delegate = function (event) { return handler.handleEvent(event); };\n }\n var validZoneHandler = false;\n try {\n // In cross site contexts (such as WebDriver frameworks like Selenium),\n // accessing the handler object here will cause an exception to be thrown which\n // will fail tests prematurely.\n validZoneHandler = handler && handler.toString() === '[object FunctionWrapper]';\n }\n catch (e) {\n // Returning nothing here is fine, because objects in a cross-site context are unusable\n return;\n }\n // Ignore special listeners of IE11 & Edge dev tools, see\n // https://github.com/angular/zone.js/issues/150\n if (!delegate || validZoneHandler) {\n return target[addFnSymbol](eventName, handler, useCapturing);\n }\n if (!allowDuplicates) {\n var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, false);\n if (eventTask) {\n // we already registered, so this will have noop.\n return target[addFnSymbol](eventName, eventTask.invoke, useCapturing);\n }\n }\n var zone = Zone.current;\n var source = target.constructor['name'] + '.' + addFnName + ':' + eventName;\n var data = {\n target: target,\n eventName: eventName,\n name: eventName,\n useCapturing: useCapturing,\n handler: handler\n };\n zone.scheduleEventTask(source, delegate, data, scheduleEventListener, cancelEventListener);\n };\n}\nfunction makeZoneAwareRemoveListener(fnName, useCapturingParam) {\n if (useCapturingParam === void 0) { useCapturingParam = true; }\n var symbol = zoneSymbol(fnName);\n var defaultUseCapturing = useCapturingParam ? false : undefined;\n return function zoneAwareRemoveListener(self, args) {\n var eventName = args[0];\n var handler = args[1];\n var useCapturing = args[2] || defaultUseCapturing;\n // - Inside a Web Worker, `this` is undefined, the context is `global`\n // - When `addEventListener` is called on the global context in strict mode, `this` is undefined\n // see https://github.com/angular/zone.js/issues/190\n var target = self || _global$1;\n var eventTask = findExistingRegisteredTask(target, handler, eventName, useCapturing, true);\n if (eventTask) {\n eventTask.zone.cancelTask(eventTask);\n }\n else {\n target[symbol](eventName, handler, useCapturing);\n }\n };\n}\n\nvar zoneAwareAddEventListener = makeZoneAwareAddListener(ADD_EVENT_LISTENER, REMOVE_EVENT_LISTENER);\nvar zoneAwareRemoveEventListener = makeZoneAwareRemoveListener(REMOVE_EVENT_LISTENER);\nfunction patchEventTargetMethods(obj) {\n if (obj && obj.addEventListener) {\n patchMethod(obj, ADD_EVENT_LISTENER, function () { return zoneAwareAddEventListener; });\n patchMethod(obj, REMOVE_EVENT_LISTENER, function () { return zoneAwareRemoveEventListener; });\n return true;\n }\n else {\n return false;\n }\n}\nvar originalInstanceKey = zoneSymbol('originalInstance');\n// wrap some native API on `window`\nfunction patchClass(className) {\n var OriginalClass = _global$1[className];\n if (!OriginalClass)\n return;\n _global$1[className] = function () {\n var a = bindArguments(arguments, className);\n switch (a.length) {\n case 0:\n this[originalInstanceKey] = new OriginalClass();\n break;\n case 1:\n this[originalInstanceKey] = new OriginalClass(a[0]);\n break;\n case 2:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1]);\n break;\n case 3:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2]);\n break;\n case 4:\n this[originalInstanceKey] = new OriginalClass(a[0], a[1], a[2], a[3]);\n break;\n default:\n throw new Error('Arg list too long.');\n }\n };\n var instance = new OriginalClass(function () { });\n var prop;\n for (prop in instance) {\n // https://bugs.webkit.org/show_bug.cgi?id=44721\n if (className === 'XMLHttpRequest' && prop === 'responseBlob')\n continue;\n (function (prop) {\n if (typeof instance[prop] === 'function') {\n _global$1[className].prototype[prop] = function () {\n return this[originalInstanceKey][prop].apply(this[originalInstanceKey], arguments);\n };\n }\n else {\n Object.defineProperty(_global$1[className].prototype, prop, {\n set: function (fn) {\n if (typeof fn === 'function') {\n this[originalInstanceKey][prop] = Zone.current.wrap(fn, className + '.' + prop);\n }\n else {\n this[originalInstanceKey][prop] = fn;\n }\n },\n get: function () {\n return this[originalInstanceKey][prop];\n }\n });\n }\n }(prop));\n }\n for (prop in OriginalClass) {\n if (prop !== 'prototype' && OriginalClass.hasOwnProperty(prop)) {\n _global$1[className][prop] = OriginalClass[prop];\n }\n }\n}\n\nfunction createNamedFn(name, delegate) {\n try {\n return (Function('f', \"return function \" + name + \"(){return f(this, arguments)}\"))(delegate);\n }\n catch (e) {\n // if we fail, we must be CSP, just return delegate.\n return function () {\n return delegate(this, arguments);\n };\n }\n}\nfunction patchMethod(target, name, patchFn) {\n var proto = target;\n while (proto && Object.getOwnPropertyNames(proto).indexOf(name) === -1) {\n proto = Object.getPrototypeOf(proto);\n }\n if (!proto && target[name]) {\n // somehow we did not find it, but we can see it. This happens on IE for Window properties.\n proto = target;\n }\n var delegateName = zoneSymbol(name);\n var delegate;\n if (proto && !(delegate = proto[delegateName])) {\n delegate = proto[delegateName] = proto[name];\n proto[name] = createNamedFn(name, patchFn(delegate, delegateName, name));\n }\n return delegate;\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction patchTimer(window, setName, cancelName, nameSuffix) {\n var setNative = null;\n var clearNative = null;\n setName += nameSuffix;\n cancelName += nameSuffix;\n var tasksByHandleId = {};\n function scheduleTask(task) {\n var data = task.data;\n data.args[0] = function () {\n task.invoke.apply(this, arguments);\n delete tasksByHandleId[data.handleId];\n };\n data.handleId = setNative.apply(window, data.args);\n tasksByHandleId[data.handleId] = task;\n return task;\n }\n function clearTask(task) {\n delete tasksByHandleId[task.data.handleId];\n return clearNative(task.data.handleId);\n }\n setNative =\n patchMethod(window, setName, function (delegate) { return function (self, args) {\n if (typeof args[0] === 'function') {\n var zone = Zone.current;\n var options = {\n handleId: null,\n isPeriodic: nameSuffix === 'Interval',\n delay: (nameSuffix === 'Timeout' || nameSuffix === 'Interval') ? args[1] || 0 : null,\n args: args\n };\n var task = zone.scheduleMacroTask(setName, args[0], options, scheduleTask, clearTask);\n if (!task) {\n return task;\n }\n // Node.js must additionally support the ref and unref functions.\n var handle = task.data.handleId;\n if (handle.ref && handle.unref) {\n task.ref = handle.ref.bind(handle);\n task.unref = handle.unref.bind(handle);\n }\n return task;\n }\n else {\n // cause an error by calling it directly.\n return delegate.apply(window, args);\n }\n }; });\n clearNative =\n patchMethod(window, cancelName, function (delegate) { return function (self, args) {\n var task = typeof args[0] === 'number' ? tasksByHandleId[args[0]] : args[0];\n if (task && typeof task.type === 'string') {\n if (task.cancelFn && task.data.isPeriodic || task.runCount === 0) {\n // Do not cancel already canceled functions\n task.zone.cancelTask(task);\n }\n }\n else {\n // cause an error by calling it directly.\n delegate.apply(window, args);\n }\n }; });\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n/*\n * This is necessary for Chrome and Chrome mobile, to enable\n * things like redefining `createdCallback` on an element.\n */\nvar _defineProperty = Object[zoneSymbol('defineProperty')] = Object.defineProperty;\nvar _getOwnPropertyDescriptor = Object[zoneSymbol('getOwnPropertyDescriptor')] =\n Object.getOwnPropertyDescriptor;\nvar _create = Object.create;\nvar unconfigurablesKey = zoneSymbol('unconfigurables');\nfunction propertyPatch() {\n Object.defineProperty = function (obj, prop, desc) {\n if (isUnconfigurable(obj, prop)) {\n throw new TypeError('Cannot assign to read only property \\'' + prop + '\\' of ' + obj);\n }\n var originalConfigurableFlag = desc.configurable;\n if (prop !== 'prototype') {\n desc = rewriteDescriptor(obj, prop, desc);\n }\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n };\n Object.defineProperties = function (obj, props) {\n Object.keys(props).forEach(function (prop) {\n Object.defineProperty(obj, prop, props[prop]);\n });\n return obj;\n };\n Object.create = function (obj, proto) {\n if (typeof proto === 'object' && !Object.isFrozen(proto)) {\n Object.keys(proto).forEach(function (prop) {\n proto[prop] = rewriteDescriptor(obj, prop, proto[prop]);\n });\n }\n return _create(obj, proto);\n };\n Object.getOwnPropertyDescriptor = function (obj, prop) {\n var desc = _getOwnPropertyDescriptor(obj, prop);\n if (isUnconfigurable(obj, prop)) {\n desc.configurable = false;\n }\n return desc;\n };\n}\n\nfunction _redefineProperty(obj, prop, desc) {\n var originalConfigurableFlag = desc.configurable;\n desc = rewriteDescriptor(obj, prop, desc);\n return _tryDefineProperty(obj, prop, desc, originalConfigurableFlag);\n}\n\nfunction isUnconfigurable(obj, prop) {\n return obj && obj[unconfigurablesKey] && obj[unconfigurablesKey][prop];\n}\nfunction rewriteDescriptor(obj, prop, desc) {\n desc.configurable = true;\n if (!desc.configurable) {\n if (!obj[unconfigurablesKey]) {\n _defineProperty(obj, unconfigurablesKey, { writable: true, value: {} });\n }\n obj[unconfigurablesKey][prop] = true;\n }\n return desc;\n}\nfunction _tryDefineProperty(obj, prop, desc, originalConfigurableFlag) {\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (e) {\n if (desc.configurable) {\n // In case of errors, when the configurable flag was likely set by rewriteDescriptor(), let's\n // retry with the original flag value\n if (typeof originalConfigurableFlag == 'undefined') {\n delete desc.configurable;\n }\n else {\n desc.configurable = originalConfigurableFlag;\n }\n try {\n return _defineProperty(obj, prop, desc);\n }\n catch (e) {\n var descJson = null;\n try {\n descJson = JSON.stringify(desc);\n }\n catch (e) {\n descJson = descJson.toString();\n }\n console.log(\"Attempting to configure '\" + prop + \"' with descriptor '\" + descJson + \"' on object '\" + obj + \"' and got error, giving up: \" + e);\n }\n }\n else {\n throw e;\n }\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar WTF_ISSUE_555 = 'Anchor,Area,Audio,BR,Base,BaseFont,Body,Button,Canvas,Content,DList,Directory,Div,Embed,FieldSet,Font,Form,Frame,FrameSet,HR,Head,Heading,Html,IFrame,Image,Input,Keygen,LI,Label,Legend,Link,Map,Marquee,Media,Menu,Meta,Meter,Mod,OList,Object,OptGroup,Option,Output,Paragraph,Pre,Progress,Quote,Script,Select,Source,Span,Style,TableCaption,TableCell,TableCol,Table,TableRow,TableSection,TextArea,Title,Track,UList,Unknown,Video';\nvar NO_EVENT_TARGET = 'ApplicationCache,EventSource,FileReader,InputMethodContext,MediaController,MessagePort,Node,Performance,SVGElementInstance,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebKitNamedFlow,Window,Worker,WorkerGlobalScope,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload,IDBRequest,IDBOpenDBRequest,IDBDatabase,IDBTransaction,IDBCursor,DBIndex'\n .split(',');\nvar EVENT_TARGET = 'EventTarget';\nfunction eventTargetPatch(_global) {\n var apis = [];\n var isWtf = _global['wtf'];\n if (isWtf) {\n // Workaround for: https://github.com/google/tracing-framework/issues/555\n apis = WTF_ISSUE_555.split(',').map(function (v) { return 'HTML' + v + 'Element'; }).concat(NO_EVENT_TARGET);\n }\n else if (_global[EVENT_TARGET]) {\n apis.push(EVENT_TARGET);\n }\n else {\n // Note: EventTarget is not available in all browsers,\n // if it's not available, we instead patch the APIs in the IDL that inherit from EventTarget\n apis = NO_EVENT_TARGET;\n }\n for (var i = 0; i < apis.length; i++) {\n var type = _global[apis[i]];\n patchEventTargetMethods(type && type.prototype);\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n// we have to patch the instance since the proto is non-configurable\nfunction apply(_global) {\n var WS = _global.WebSocket;\n // On Safari window.EventTarget doesn't exist so need to patch WS add/removeEventListener\n // On older Chrome, no need since EventTarget was already patched\n if (!_global.EventTarget) {\n patchEventTargetMethods(WS.prototype);\n }\n _global.WebSocket = function (a, b) {\n var socket = arguments.length > 1 ? new WS(a, b) : new WS(a);\n var proxySocket;\n // Safari 7.0 has non-configurable own 'onmessage' and friends properties on the socket instance\n var onmessageDesc = Object.getOwnPropertyDescriptor(socket, 'onmessage');\n if (onmessageDesc && onmessageDesc.configurable === false) {\n proxySocket = Object.create(socket);\n ['addEventListener', 'removeEventListener', 'send', 'close'].forEach(function (propName) {\n proxySocket[propName] = function () {\n return socket[propName].apply(socket, arguments);\n };\n });\n }\n else {\n // we can patch the real socket\n proxySocket = socket;\n }\n patchOnProperties(proxySocket, ['close', 'error', 'message', 'open']);\n return proxySocket;\n };\n for (var prop in WS) {\n _global.WebSocket[prop] = WS[prop];\n }\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar eventNames = 'copy cut paste abort blur focus canplay canplaythrough change click contextmenu dblclick drag dragend dragenter dragleave dragover dragstart drop durationchange emptied ended input invalid keydown keypress keyup load loadeddata loadedmetadata loadstart message mousedown mouseenter mouseleave mousemove mouseout mouseover mouseup pause play playing progress ratechange reset scroll seeked seeking select show stalled submit suspend timeupdate volumechange waiting mozfullscreenchange mozfullscreenerror mozpointerlockchange mozpointerlockerror error webglcontextrestored webglcontextlost webglcontextcreationerror'\n .split(' ');\nfunction propertyDescriptorPatch(_global) {\n if (isNode) {\n return;\n }\n var supportsWebSocket = typeof WebSocket !== 'undefined';\n if (canPatchViaPropertyDescriptor()) {\n // for browsers that we can patch the descriptor: Chrome & Firefox\n if (isBrowser) {\n patchOnProperties(HTMLElement.prototype, eventNames);\n }\n patchOnProperties(XMLHttpRequest.prototype, null);\n if (typeof IDBIndex !== 'undefined') {\n patchOnProperties(IDBIndex.prototype, null);\n patchOnProperties(IDBRequest.prototype, null);\n patchOnProperties(IDBOpenDBRequest.prototype, null);\n patchOnProperties(IDBDatabase.prototype, null);\n patchOnProperties(IDBTransaction.prototype, null);\n patchOnProperties(IDBCursor.prototype, null);\n }\n if (supportsWebSocket) {\n patchOnProperties(WebSocket.prototype, null);\n }\n }\n else {\n // Safari, Android browsers (Jelly Bean)\n patchViaCapturingAllTheEvents();\n patchClass('XMLHttpRequest');\n if (supportsWebSocket) {\n apply(_global);\n }\n }\n}\nfunction canPatchViaPropertyDescriptor() {\n if (isBrowser && !Object.getOwnPropertyDescriptor(HTMLElement.prototype, 'onclick') &&\n typeof Element !== 'undefined') {\n // WebKit https://bugs.webkit.org/show_bug.cgi?id=134364\n // IDL interface attributes are not configurable\n var desc = Object.getOwnPropertyDescriptor(Element.prototype, 'onclick');\n if (desc && !desc.configurable)\n return false;\n }\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {\n get: function () {\n return true;\n }\n });\n var req = new XMLHttpRequest();\n var result = !!req.onreadystatechange;\n Object.defineProperty(XMLHttpRequest.prototype, 'onreadystatechange', {});\n return result;\n}\n\nvar unboundKey = zoneSymbol('unbound');\n// Whenever any eventListener fires, we check the eventListener target and all parents\n// for `onwhatever` properties and replace them with zone-bound functions\n// - Chrome (for now)\nfunction patchViaCapturingAllTheEvents() {\n var _loop_1 = function(i) {\n var property = eventNames[i];\n var onproperty = 'on' + property;\n self.addEventListener(property, function (event) {\n var elt = event.target, bound, source;\n if (elt) {\n source = elt.constructor['name'] + '.' + onproperty;\n }\n else {\n source = 'unknown.' + onproperty;\n }\n while (elt) {\n if (elt[onproperty] && !elt[onproperty][unboundKey]) {\n bound = Zone.current.wrap(elt[onproperty], source);\n bound[unboundKey] = elt[onproperty];\n elt[onproperty] = bound;\n }\n elt = elt.parentElement;\n }\n }, true);\n };\n for (var i = 0; i < eventNames.length; i++) {\n _loop_1(i);\n }\n \n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nfunction registerElementPatch(_global) {\n if (!isBrowser || !('registerElement' in _global.document)) {\n return;\n }\n var _registerElement = document.registerElement;\n var callbacks = ['createdCallback', 'attachedCallback', 'detachedCallback', 'attributeChangedCallback'];\n document.registerElement = function (name, opts) {\n if (opts && opts.prototype) {\n callbacks.forEach(function (callback) {\n var source = 'Document.registerElement::' + callback;\n if (opts.prototype.hasOwnProperty(callback)) {\n var descriptor = Object.getOwnPropertyDescriptor(opts.prototype, callback);\n if (descriptor && descriptor.value) {\n descriptor.value = Zone.current.wrap(descriptor.value, source);\n _redefineProperty(opts.prototype, callback, descriptor);\n }\n else {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n }\n else if (opts.prototype[callback]) {\n opts.prototype[callback] = Zone.current.wrap(opts.prototype[callback], source);\n }\n });\n }\n return _registerElement.apply(document, [name, opts]);\n };\n}\n\n/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nvar set = 'set';\nvar clear = 'clear';\nvar blockingMethods = ['alert', 'prompt', 'confirm'];\nvar _global = typeof window === 'object' && window || typeof self === 'object' && self || global;\npatchTimer(_global, set, clear, 'Timeout');\npatchTimer(_global, set, clear, 'Interval');\npatchTimer(_global, set, clear, 'Immediate');\npatchTimer(_global, 'request', 'cancel', 'AnimationFrame');\npatchTimer(_global, 'mozRequest', 'mozCancel', 'AnimationFrame');\npatchTimer(_global, 'webkitRequest', 'webkitCancel', 'AnimationFrame');\nfor (var i = 0; i < blockingMethods.length; i++) {\n var name = blockingMethods[i];\n patchMethod(_global, name, function (delegate, symbol, name) {\n return function (s, args) {\n return Zone.current.run(delegate, _global, args, name);\n };\n });\n}\neventTargetPatch(_global);\npropertyDescriptorPatch(_global);\npatchClass('MutationObserver');\npatchClass('WebKitMutationObserver');\npatchClass('FileReader');\npropertyPatch();\nregisterElementPatch(_global);\n// Treat XMLHTTPRequest as a macrotask.\npatchXHR(_global);\nvar XHR_TASK = zoneSymbol('xhrTask');\nvar XHR_SYNC = zoneSymbol('xhrSync');\nfunction patchXHR(window) {\n function findPendingTask(target) {\n var pendingTask = target[XHR_TASK];\n return pendingTask;\n }\n function scheduleTask(task) {\n var data = task.data;\n data.target.addEventListener('readystatechange', function () {\n if (data.target.readyState === data.target.DONE) {\n if (!data.aborted) {\n task.invoke();\n }\n }\n });\n var storedTask = data.target[XHR_TASK];\n if (!storedTask) {\n data.target[XHR_TASK] = task;\n }\n sendNative.apply(data.target, data.args);\n return task;\n }\n function placeholderCallback() { }\n function clearTask(task) {\n var data = task.data;\n // Note - ideally, we would call data.target.removeEventListener here, but it's too late\n // to prevent it from firing. So instead, we store info for the event listener.\n data.aborted = true;\n return abortNative.apply(data.target, data.args);\n }\n var openNative = patchMethod(window.XMLHttpRequest.prototype, 'open', function () { return function (self, args) {\n self[XHR_SYNC] = args[2] == false;\n return openNative.apply(self, args);\n }; });\n var sendNative = patchMethod(window.XMLHttpRequest.prototype, 'send', function () { return function (self, args) {\n var zone = Zone.current;\n if (self[XHR_SYNC]) {\n // if the XHR is sync there is no task to schedule, just execute the code.\n return sendNative.apply(self, args);\n }\n else {\n var options = { target: self, isPeriodic: false, delay: null, args: args, aborted: false };\n return zone.scheduleMacroTask('XMLHttpRequest.send', placeholderCallback, options, scheduleTask, clearTask);\n }\n }; });\n var abortNative = patchMethod(window.XMLHttpRequest.prototype, 'abort', function (delegate) { return function (self, args) {\n var task = findPendingTask(self);\n if (task && typeof task.type == 'string') {\n // If the XHR has already completed, do nothing.\n if (task.cancelFn == null) {\n return;\n }\n task.zone.cancelTask(task);\n }\n // Otherwise, we are trying to abort an XHR which has not yet been sent, so there is no task\n // to cancel. Do nothing.\n }; });\n}\n/// GEO_LOCATION\nif (_global['navigator'] && _global['navigator'].geolocation) {\n patchPrototype(_global['navigator'].geolocation, ['getCurrentPosition', 'watchPosition']);\n}\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/zone.js/dist/zone.js\n// module id = 258\n// module chunks = 0","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/process/browser.js\n// module id = 259\n// module chunks = 0","/*! Hammer.JS - v2.0.7 - 2016-04-22\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2016 Jorik Tangelder;\n * Licensed under the MIT license */\n(function(window, document, exportName, undefined) {\n 'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n if (Array.isArray(arg)) {\n each(arg, context[fn], context);\n return true;\n }\n return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n var i;\n\n if (!obj) {\n return;\n }\n\n if (obj.forEach) {\n obj.forEach(iterator, context);\n } else if (obj.length !== undefined) {\n i = 0;\n while (i < obj.length) {\n iterator.call(context, obj[i], i, obj);\n i++;\n }\n } else {\n for (i in obj) {\n obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n }\n }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n return function() {\n var e = new Error('get-stack-trace');\n var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n .replace(/^\\s+at\\s+/gm, '')\n .replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n var log = window.console && (window.console.warn || window.console.log);\n if (log) {\n log.call(window.console, deprecationMessage, stack);\n }\n return method.apply(this, arguments);\n };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n assign = function assign(target) {\n if (target === undefined || target === null) {\n throw new TypeError('Cannot convert undefined or null to object');\n }\n\n var output = Object(target);\n for (var index = 1; index < arguments.length; index++) {\n var source = arguments[index];\n if (source !== undefined && source !== null) {\n for (var nextKey in source) {\n if (source.hasOwnProperty(nextKey)) {\n output[nextKey] = source[nextKey];\n }\n }\n }\n }\n return output;\n };\n} else {\n assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean} [merge=false]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n var keys = Object.keys(src);\n var i = 0;\n while (i < keys.length) {\n if (!merge || (merge && dest[keys[i]] === undefined)) {\n dest[keys[i]] = src[keys[i]];\n }\n i++;\n }\n return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n var baseP = base.prototype,\n childP;\n\n childP = child.prototype = Object.create(baseP);\n childP.constructor = child;\n childP._super = baseP;\n\n if (properties) {\n assign(childP, properties);\n }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n return function boundFn() {\n return fn.apply(context, arguments);\n };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n if (typeof val == TYPE_FUNCTION) {\n return val.apply(args ? args[0] || undefined : undefined, args);\n }\n return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.addEventListener(type, handler, false);\n });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n each(splitStr(types), function(type) {\n target.removeEventListener(type, handler, false);\n });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n while (node) {\n if (node == parent) {\n return true;\n }\n node = node.parentNode;\n }\n return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n if (src.indexOf && !findByKey) {\n return src.indexOf(find);\n } else {\n var i = 0;\n while (i < src.length) {\n if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n return i;\n }\n i++;\n }\n return -1;\n }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n var results = [];\n var values = [];\n var i = 0;\n\n while (i < src.length) {\n var val = key ? src[i][key] : src[i];\n if (inArray(values, val) < 0) {\n results.push(src[i]);\n }\n values[i] = val;\n i++;\n }\n\n if (sort) {\n if (!key) {\n results = results.sort();\n } else {\n results = results.sort(function sortUniqueArray(a, b) {\n return a[key] > b[key];\n });\n }\n }\n\n return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n var prefix, prop;\n var camelProp = property[0].toUpperCase() + property.slice(1);\n\n var i = 0;\n while (i < VENDOR_PREFIXES.length) {\n prefix = VENDOR_PREFIXES[i];\n prop = (prefix) ? prefix + camelProp : property;\n\n if (prop in obj) {\n return prop;\n }\n i++;\n }\n return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n var doc = element.ownerDocument || element;\n return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n var self = this;\n this.manager = manager;\n this.callback = callback;\n this.element = manager.element;\n this.target = manager.options.inputTarget;\n\n // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n // so when disabled the input events are completely bypassed.\n this.domHandler = function(ev) {\n if (boolOrFn(manager.options.enable, [manager])) {\n self.handler(ev);\n }\n };\n\n this.init();\n\n}\n\nInput.prototype = {\n /**\n * should handle the inputEvent data and trigger the callback\n * @virtual\n */\n handler: function() { },\n\n /**\n * bind the events\n */\n init: function() {\n this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n },\n\n /**\n * unbind the events\n */\n destroy: function() {\n this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n var Type;\n var inputClass = manager.options.inputClass;\n\n if (inputClass) {\n Type = inputClass;\n } else if (SUPPORT_POINTER_EVENTS) {\n Type = PointerEventInput;\n } else if (SUPPORT_ONLY_TOUCH) {\n Type = TouchInput;\n } else if (!SUPPORT_TOUCH) {\n Type = MouseInput;\n } else {\n Type = TouchMouseInput;\n }\n return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n var pointersLen = input.pointers.length;\n var changedPointersLen = input.changedPointers.length;\n var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n input.isFirst = !!isFirst;\n input.isFinal = !!isFinal;\n\n if (isFirst) {\n manager.session = {};\n }\n\n // source event is the normalized value of the domEvents\n // like 'touchstart, mouseup, pointerdown'\n input.eventType = eventType;\n\n // compute scale, rotation etc\n computeInputData(manager, input);\n\n // emit secret event\n manager.emit('hammer.input', input);\n\n manager.recognize(input);\n manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n var session = manager.session;\n var pointers = input.pointers;\n var pointersLength = pointers.length;\n\n // store the first input to calculate the distance and direction\n if (!session.firstInput) {\n session.firstInput = simpleCloneInputData(input);\n }\n\n // to compute scale and rotation we need to store the multiple touches\n if (pointersLength > 1 && !session.firstMultiple) {\n session.firstMultiple = simpleCloneInputData(input);\n } else if (pointersLength === 1) {\n session.firstMultiple = false;\n }\n\n var firstInput = session.firstInput;\n var firstMultiple = session.firstMultiple;\n var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n var center = input.center = getCenter(pointers);\n input.timeStamp = now();\n input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n input.angle = getAngle(offsetCenter, center);\n input.distance = getDistance(offsetCenter, center);\n\n computeDeltaXY(session, input);\n input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n input.overallVelocityX = overallVelocity.x;\n input.overallVelocityY = overallVelocity.y;\n input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n computeIntervalInputData(session, input);\n\n // find the correct target\n var target = manager.element;\n if (hasParent(input.srcEvent.target, target)) {\n target = input.srcEvent.target;\n }\n input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n var center = input.center;\n var offset = session.offsetDelta || {};\n var prevDelta = session.prevDelta || {};\n var prevInput = session.prevInput || {};\n\n if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n prevDelta = session.prevDelta = {\n x: prevInput.deltaX || 0,\n y: prevInput.deltaY || 0\n };\n\n offset = session.offsetDelta = {\n x: center.x,\n y: center.y\n };\n }\n\n input.deltaX = prevDelta.x + (center.x - offset.x);\n input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n var last = session.lastInterval || input,\n deltaTime = input.timeStamp - last.timeStamp,\n velocity, velocityX, velocityY, direction;\n\n if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n var deltaX = input.deltaX - last.deltaX;\n var deltaY = input.deltaY - last.deltaY;\n\n var v = getVelocity(deltaTime, deltaX, deltaY);\n velocityX = v.x;\n velocityY = v.y;\n velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n direction = getDirection(deltaX, deltaY);\n\n session.lastInterval = input;\n } else {\n // use latest velocity info if it doesn't overtake a minimum period\n velocity = last.velocity;\n velocityX = last.velocityX;\n velocityY = last.velocityY;\n direction = last.direction;\n }\n\n input.velocity = velocity;\n input.velocityX = velocityX;\n input.velocityY = velocityY;\n input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n // make a simple copy of the pointers because we will get a reference if we don't\n // we only need clientXY for the calculations\n var pointers = [];\n var i = 0;\n while (i < input.pointers.length) {\n pointers[i] = {\n clientX: round(input.pointers[i].clientX),\n clientY: round(input.pointers[i].clientY)\n };\n i++;\n }\n\n return {\n timeStamp: now(),\n pointers: pointers,\n center: getCenter(pointers),\n deltaX: input.deltaX,\n deltaY: input.deltaY\n };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n var pointersLength = pointers.length;\n\n // no need to loop when only one touch\n if (pointersLength === 1) {\n return {\n x: round(pointers[0].clientX),\n y: round(pointers[0].clientY)\n };\n }\n\n var x = 0, y = 0, i = 0;\n while (i < pointersLength) {\n x += pointers[i].clientX;\n y += pointers[i].clientY;\n i++;\n }\n\n return {\n x: round(x / pointersLength),\n y: round(y / pointersLength)\n };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n return {\n x: x / deltaTime || 0,\n y: y / deltaTime || 0\n };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n if (x === y) {\n return DIRECTION_NONE;\n }\n\n if (abs(x) >= abs(y)) {\n return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n }\n return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n\n return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n if (!props) {\n props = PROPS_XY;\n }\n var x = p2[props[0]] - p1[props[0]],\n y = p2[props[1]] - p1[props[1]];\n return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n mousedown: INPUT_START,\n mousemove: INPUT_MOVE,\n mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n this.evEl = MOUSE_ELEMENT_EVENTS;\n this.evWin = MOUSE_WINDOW_EVENTS;\n\n this.pressed = false; // mousedown state\n\n Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function MEhandler(ev) {\n var eventType = MOUSE_INPUT_MAP[ev.type];\n\n // on start we want to have the left mouse button down\n if (eventType & INPUT_START && ev.button === 0) {\n this.pressed = true;\n }\n\n if (eventType & INPUT_MOVE && ev.which !== 1) {\n eventType = INPUT_END;\n }\n\n // mouse must be down\n if (!this.pressed) {\n return;\n }\n\n if (eventType & INPUT_END) {\n this.pressed = false;\n }\n\n this.callback(this.manager, eventType, {\n pointers: [ev],\n changedPointers: [ev],\n pointerType: INPUT_TYPE_MOUSE,\n srcEvent: ev\n });\n }\n});\n\nvar POINTER_INPUT_MAP = {\n pointerdown: INPUT_START,\n pointermove: INPUT_MOVE,\n pointerup: INPUT_END,\n pointercancel: INPUT_CANCEL,\n pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n 2: INPUT_TYPE_TOUCH,\n 3: INPUT_TYPE_PEN,\n 4: INPUT_TYPE_MOUSE,\n 5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n this.evEl = POINTER_ELEMENT_EVENTS;\n this.evWin = POINTER_WINDOW_EVENTS;\n\n Input.apply(this, arguments);\n\n this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n /**\n * handle mouse events\n * @param {Object} ev\n */\n handler: function PEhandler(ev) {\n var store = this.store;\n var removePointer = false;\n\n var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n // get index of the event in the store\n var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n // start and mouse must be down\n if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n if (storeIndex < 0) {\n store.push(ev);\n storeIndex = store.length - 1;\n }\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n removePointer = true;\n }\n\n // it not found, so the pointer hasn't been down (so it's probably a hover)\n if (storeIndex < 0) {\n return;\n }\n\n // update the event in the store\n store[storeIndex] = ev;\n\n this.callback(this.manager, eventType, {\n pointers: store,\n changedPointers: [ev],\n pointerType: pointerType,\n srcEvent: ev\n });\n\n if (removePointer) {\n // remove from the store\n store.splice(storeIndex, 1);\n }\n }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n this.started = false;\n\n Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n handler: function TEhandler(ev) {\n var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n // should we handle the touch events?\n if (type === INPUT_START) {\n this.started = true;\n }\n\n if (!this.started) {\n return;\n }\n\n var touches = normalizeSingleTouches.call(this, ev, type);\n\n // when done, reset the started state\n if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n this.started = false;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n var all = toArray(ev.touches);\n var changed = toArray(ev.changedTouches);\n\n if (type & (INPUT_END | INPUT_CANCEL)) {\n all = uniqueArray(all.concat(changed), 'identifier', true);\n }\n\n return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n touchstart: INPUT_START,\n touchmove: INPUT_MOVE,\n touchend: INPUT_END,\n touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n this.evTarget = TOUCH_TARGET_EVENTS;\n this.targetIds = {};\n\n Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n handler: function MTEhandler(ev) {\n var type = TOUCH_INPUT_MAP[ev.type];\n var touches = getTouches.call(this, ev, type);\n if (!touches) {\n return;\n }\n\n this.callback(this.manager, type, {\n pointers: touches[0],\n changedPointers: touches[1],\n pointerType: INPUT_TYPE_TOUCH,\n srcEvent: ev\n });\n }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n var allTouches = toArray(ev.touches);\n var targetIds = this.targetIds;\n\n // when there is only one touch, the process can be simplified\n if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n targetIds[allTouches[0].identifier] = true;\n return [allTouches, allTouches];\n }\n\n var i,\n targetTouches,\n changedTouches = toArray(ev.changedTouches),\n changedTargetTouches = [],\n target = this.target;\n\n // get target touches from touches\n targetTouches = allTouches.filter(function(touch) {\n return hasParent(touch.target, target);\n });\n\n // collect touches\n if (type === INPUT_START) {\n i = 0;\n while (i < targetTouches.length) {\n targetIds[targetTouches[i].identifier] = true;\n i++;\n }\n }\n\n // filter changed touches to only contain touches that exist in the collected target ids\n i = 0;\n while (i < changedTouches.length) {\n if (targetIds[changedTouches[i].identifier]) {\n changedTargetTouches.push(changedTouches[i]);\n }\n\n // cleanup removed touches\n if (type & (INPUT_END | INPUT_CANCEL)) {\n delete targetIds[changedTouches[i].identifier];\n }\n i++;\n }\n\n if (!changedTargetTouches.length) {\n return;\n }\n\n return [\n // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n changedTargetTouches\n ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\n\nvar DEDUP_TIMEOUT = 2500;\nvar DEDUP_DISTANCE = 25;\n\nfunction TouchMouseInput() {\n Input.apply(this, arguments);\n\n var handler = bindFn(this.handler, this);\n this.touch = new TouchInput(this.manager, handler);\n this.mouse = new MouseInput(this.manager, handler);\n\n this.primaryTouch = null;\n this.lastTouches = [];\n}\n\ninherit(TouchMouseInput, Input, {\n /**\n * handle mouse and touch events\n * @param {Hammer} manager\n * @param {String} inputEvent\n * @param {Object} inputData\n */\n handler: function TMEhandler(manager, inputEvent, inputData) {\n var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n if (isMouse && inputData.sourceCapabilities && inputData.sourceCapabilities.firesTouchEvents) {\n return;\n }\n\n // when we're in a touch event, record touches to de-dupe synthetic mouse event\n if (isTouch) {\n recordTouches.call(this, inputEvent, inputData);\n } else if (isMouse && isSyntheticEvent.call(this, inputData)) {\n return;\n }\n\n this.callback(manager, inputEvent, inputData);\n },\n\n /**\n * remove the event listeners\n */\n destroy: function destroy() {\n this.touch.destroy();\n this.mouse.destroy();\n }\n});\n\nfunction recordTouches(eventType, eventData) {\n if (eventType & INPUT_START) {\n this.primaryTouch = eventData.changedPointers[0].identifier;\n setLastTouch.call(this, eventData);\n } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n setLastTouch.call(this, eventData);\n }\n}\n\nfunction setLastTouch(eventData) {\n var touch = eventData.changedPointers[0];\n\n if (touch.identifier === this.primaryTouch) {\n var lastTouch = {x: touch.clientX, y: touch.clientY};\n this.lastTouches.push(lastTouch);\n var lts = this.lastTouches;\n var removeLastTouch = function() {\n var i = lts.indexOf(lastTouch);\n if (i > -1) {\n lts.splice(i, 1);\n }\n };\n setTimeout(removeLastTouch, DEDUP_TIMEOUT);\n }\n}\n\nfunction isSyntheticEvent(eventData) {\n var x = eventData.srcEvent.clientX, y = eventData.srcEvent.clientY;\n for (var i = 0; i < this.lastTouches.length; i++) {\n var t = this.lastTouches[i];\n var dx = Math.abs(x - t.x), dy = Math.abs(y - t.y);\n if (dx <= DEDUP_DISTANCE && dy <= DEDUP_DISTANCE) {\n return true;\n }\n }\n return false;\n}\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\nvar TOUCH_ACTION_MAP = getTouchActionProps();\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n this.manager = manager;\n this.set(value);\n}\n\nTouchAction.prototype = {\n /**\n * set the touchAction value on the element or enable the polyfill\n * @param {String} value\n */\n set: function(value) {\n // find out the touch-action by the event handlers\n if (value == TOUCH_ACTION_COMPUTE) {\n value = this.compute();\n }\n\n if (NATIVE_TOUCH_ACTION && this.manager.element.style && TOUCH_ACTION_MAP[value]) {\n this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n }\n this.actions = value.toLowerCase().trim();\n },\n\n /**\n * just re-set the touchAction value\n */\n update: function() {\n this.set(this.manager.options.touchAction);\n },\n\n /**\n * compute the value for the touchAction property based on the recognizer's settings\n * @returns {String} value\n */\n compute: function() {\n var actions = [];\n each(this.manager.recognizers, function(recognizer) {\n if (boolOrFn(recognizer.options.enable, [recognizer])) {\n actions = actions.concat(recognizer.getTouchAction());\n }\n });\n return cleanTouchActions(actions.join(' '));\n },\n\n /**\n * this method is called on each input cycle and provides the preventing of the browser behavior\n * @param {Object} input\n */\n preventDefaults: function(input) {\n var srcEvent = input.srcEvent;\n var direction = input.offsetDirection;\n\n // if the touch action did prevented once this session\n if (this.manager.session.prevented) {\n srcEvent.preventDefault();\n return;\n }\n\n var actions = this.actions;\n var hasNone = inStr(actions, TOUCH_ACTION_NONE) && !TOUCH_ACTION_MAP[TOUCH_ACTION_NONE];\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_Y];\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X) && !TOUCH_ACTION_MAP[TOUCH_ACTION_PAN_X];\n\n if (hasNone) {\n //do not prevent defaults if this is a tap gesture\n\n var isTapPointer = input.pointers.length === 1;\n var isTapMovement = input.distance < 2;\n var isTapTouchTime = input.deltaTime < 250;\n\n if (isTapPointer && isTapMovement && isTapTouchTime) {\n return;\n }\n }\n\n if (hasPanX && hasPanY) {\n // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n return;\n }\n\n if (hasNone ||\n (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n (hasPanX && direction & DIRECTION_VERTICAL)) {\n return this.preventSrc(srcEvent);\n }\n },\n\n /**\n * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n * @param {Object} srcEvent\n */\n preventSrc: function(srcEvent) {\n this.manager.session.prevented = true;\n srcEvent.preventDefault();\n }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n // none\n if (inStr(actions, TOUCH_ACTION_NONE)) {\n return TOUCH_ACTION_NONE;\n }\n\n var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n // if both pan-x and pan-y are set (different recognizers\n // for different directions, e.g. horizontal pan but vertical swipe?)\n // we need none (as otherwise with pan-x pan-y combined none of these\n // recognizers will work, since the browser would handle all panning\n if (hasPanX && hasPanY) {\n return TOUCH_ACTION_NONE;\n }\n\n // pan-x OR pan-y\n if (hasPanX || hasPanY) {\n return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n }\n\n // manipulation\n if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n return TOUCH_ACTION_MANIPULATION;\n }\n\n return TOUCH_ACTION_AUTO;\n}\n\nfunction getTouchActionProps() {\n if (!NATIVE_TOUCH_ACTION) {\n return false;\n }\n var touchMap = {};\n var cssSupports = window.CSS && window.CSS.supports;\n ['auto', 'manipulation', 'pan-y', 'pan-x', 'pan-x pan-y', 'none'].forEach(function(val) {\n\n // If css.supports is not supported but there is native touch-action assume it supports\n // all values. This is the case for IE 10 and 11.\n touchMap[val] = cssSupports ? window.CSS.supports('touch-action', val) : true;\n });\n return touchMap;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n * Possible\n * |\n * +-----+---------------+\n * | |\n * +-----+-----+ |\n * | | |\n * Failed Cancelled |\n * +-------+------+\n * | |\n * Recognized Began\n * |\n * Changed\n * |\n * Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n this.options = assign({}, this.defaults, options || {});\n\n this.id = uniqueId();\n\n this.manager = null;\n\n // default is enable true\n this.options.enable = ifUndefined(this.options.enable, true);\n\n this.state = STATE_POSSIBLE;\n\n this.simultaneous = {};\n this.requireFail = [];\n}\n\nRecognizer.prototype = {\n /**\n * @virtual\n * @type {Object}\n */\n defaults: {},\n\n /**\n * set options\n * @param {Object} options\n * @return {Recognizer}\n */\n set: function(options) {\n assign(this.options, options);\n\n // also update the touchAction, in case something changed about the directions/enabled state\n this.manager && this.manager.touchAction.update();\n return this;\n },\n\n /**\n * recognize simultaneous with an other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n recognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n return this;\n }\n\n var simultaneous = this.simultaneous;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (!simultaneous[otherRecognizer.id]) {\n simultaneous[otherRecognizer.id] = otherRecognizer;\n otherRecognizer.recognizeWith(this);\n }\n return this;\n },\n\n /**\n * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRecognizeWith: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n delete this.simultaneous[otherRecognizer.id];\n return this;\n },\n\n /**\n * recognizer can only run when an other is failing\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n requireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n return this;\n }\n\n var requireFail = this.requireFail;\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n if (inArray(requireFail, otherRecognizer) === -1) {\n requireFail.push(otherRecognizer);\n otherRecognizer.requireFailure(this);\n }\n return this;\n },\n\n /**\n * drop the requireFailure link. it does not remove the link on the other recognizer.\n * @param {Recognizer} otherRecognizer\n * @returns {Recognizer} this\n */\n dropRequireFailure: function(otherRecognizer) {\n if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n return this;\n }\n\n otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n var index = inArray(this.requireFail, otherRecognizer);\n if (index > -1) {\n this.requireFail.splice(index, 1);\n }\n return this;\n },\n\n /**\n * has require failures boolean\n * @returns {boolean}\n */\n hasRequireFailures: function() {\n return this.requireFail.length > 0;\n },\n\n /**\n * if the recognizer can recognize simultaneous with an other recognizer\n * @param {Recognizer} otherRecognizer\n * @returns {Boolean}\n */\n canRecognizeWith: function(otherRecognizer) {\n return !!this.simultaneous[otherRecognizer.id];\n },\n\n /**\n * You should use `tryEmit` instead of `emit` directly to check\n * that all the needed recognizers has failed before emitting.\n * @param {Object} input\n */\n emit: function(input) {\n var self = this;\n var state = this.state;\n\n function emit(event) {\n self.manager.emit(event, input);\n }\n\n // 'panstart' and 'panmove'\n if (state < STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n\n emit(self.options.event); // simple 'eventName' events\n\n if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n emit(input.additionalEvent);\n }\n\n // panend and pancancel\n if (state >= STATE_ENDED) {\n emit(self.options.event + stateStr(state));\n }\n },\n\n /**\n * Check that all the require failure recognizers has failed,\n * if true, it emits a gesture event,\n * otherwise, setup the state to FAILED.\n * @param {Object} input\n */\n tryEmit: function(input) {\n if (this.canEmit()) {\n return this.emit(input);\n }\n // it's failing anyway\n this.state = STATE_FAILED;\n },\n\n /**\n * can we emit?\n * @returns {boolean}\n */\n canEmit: function() {\n var i = 0;\n while (i < this.requireFail.length) {\n if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n return false;\n }\n i++;\n }\n return true;\n },\n\n /**\n * update the recognizer\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n // make a new copy of the inputData\n // so we can change the inputData without messing up the other recognizers\n var inputDataClone = assign({}, inputData);\n\n // is is enabled and allow recognizing?\n if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n this.reset();\n this.state = STATE_FAILED;\n return;\n }\n\n // reset when we've reached the end\n if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n this.state = STATE_POSSIBLE;\n }\n\n this.state = this.process(inputDataClone);\n\n // the recognizer has recognized a gesture\n // so trigger an event\n if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n this.tryEmit(inputDataClone);\n }\n },\n\n /**\n * return the state of the recognizer\n * the actual recognizing happens in this method\n * @virtual\n * @param {Object} inputData\n * @returns {Const} STATE\n */\n process: function(inputData) { }, // jshint ignore:line\n\n /**\n * return the preferred touch-action\n * @virtual\n * @returns {Array}\n */\n getTouchAction: function() { },\n\n /**\n * called when the gesture isn't allowed to recognize\n * like when another is being recognized or it is disabled\n * @virtual\n */\n reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n if (state & STATE_CANCELLED) {\n return 'cancel';\n } else if (state & STATE_ENDED) {\n return 'end';\n } else if (state & STATE_CHANGED) {\n return 'move';\n } else if (state & STATE_BEGAN) {\n return 'start';\n }\n return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n if (direction == DIRECTION_DOWN) {\n return 'down';\n } else if (direction == DIRECTION_UP) {\n return 'up';\n } else if (direction == DIRECTION_LEFT) {\n return 'left';\n } else if (direction == DIRECTION_RIGHT) {\n return 'right';\n }\n return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n var manager = recognizer.manager;\n if (manager) {\n return manager.get(otherRecognizer);\n }\n return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof AttrRecognizer\n */\n defaults: {\n /**\n * @type {Number}\n * @default 1\n */\n pointers: 1\n },\n\n /**\n * Used to check if it the recognizer receives valid input, like input.distance > 10.\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {Boolean} recognized\n */\n attrTest: function(input) {\n var optionPointers = this.options.pointers;\n return optionPointers === 0 || input.pointers.length === optionPointers;\n },\n\n /**\n * Process the input and return the state for the recognizer\n * @memberof AttrRecognizer\n * @param {Object} input\n * @returns {*} State\n */\n process: function(input) {\n var state = this.state;\n var eventType = input.eventType;\n\n var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n var isValid = this.attrTest(input);\n\n // on cancel input and we've recognized before, return STATE_CANCELLED\n if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n return state | STATE_CANCELLED;\n } else if (isRecognized || isValid) {\n if (eventType & INPUT_END) {\n return state | STATE_ENDED;\n } else if (!(state & STATE_BEGAN)) {\n return STATE_BEGAN;\n }\n return state | STATE_CHANGED;\n }\n return STATE_FAILED;\n }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n AttrRecognizer.apply(this, arguments);\n\n this.pX = null;\n this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PanRecognizer\n */\n defaults: {\n event: 'pan',\n threshold: 10,\n pointers: 1,\n direction: DIRECTION_ALL\n },\n\n getTouchAction: function() {\n var direction = this.options.direction;\n var actions = [];\n if (direction & DIRECTION_HORIZONTAL) {\n actions.push(TOUCH_ACTION_PAN_Y);\n }\n if (direction & DIRECTION_VERTICAL) {\n actions.push(TOUCH_ACTION_PAN_X);\n }\n return actions;\n },\n\n directionTest: function(input) {\n var options = this.options;\n var hasMoved = true;\n var distance = input.distance;\n var direction = input.direction;\n var x = input.deltaX;\n var y = input.deltaY;\n\n // lock to axis?\n if (!(direction & options.direction)) {\n if (options.direction & DIRECTION_HORIZONTAL) {\n direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n hasMoved = x != this.pX;\n distance = Math.abs(input.deltaX);\n } else {\n direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n hasMoved = y != this.pY;\n distance = Math.abs(input.deltaY);\n }\n }\n input.direction = direction;\n return hasMoved && distance > options.threshold && direction & options.direction;\n },\n\n attrTest: function(input) {\n return AttrRecognizer.prototype.attrTest.call(this, input) &&\n (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n },\n\n emit: function(input) {\n\n this.pX = input.deltaX;\n this.pY = input.deltaY;\n\n var direction = directionStr(input.direction);\n\n if (direction) {\n input.additionalEvent = this.options.event + direction;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'pinch',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n },\n\n emit: function(input) {\n if (input.scale !== 1) {\n var inOut = input.scale < 1 ? 'in' : 'out';\n input.additionalEvent = this.options.event + inOut;\n }\n this._super.emit.call(this, input);\n }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n Recognizer.apply(this, arguments);\n\n this._timer = null;\n this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PressRecognizer\n */\n defaults: {\n event: 'press',\n pointers: 1,\n time: 251, // minimal time of the pointer to be pressed\n threshold: 9 // a minimal movement is ok, but keep it low\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_AUTO];\n },\n\n process: function(input) {\n var options = this.options;\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTime = input.deltaTime > options.time;\n\n this._input = input;\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n this.reset();\n } else if (input.eventType & INPUT_START) {\n this.reset();\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.time, this);\n } else if (input.eventType & INPUT_END) {\n return STATE_RECOGNIZED;\n }\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function(input) {\n if (this.state !== STATE_RECOGNIZED) {\n return;\n }\n\n if (input && (input.eventType & INPUT_END)) {\n this.manager.emit(this.options.event + 'up', input);\n } else {\n this._input.timeStamp = now();\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof RotateRecognizer\n */\n defaults: {\n event: 'rotate',\n threshold: 0,\n pointers: 2\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_NONE];\n },\n\n attrTest: function(input) {\n return this._super.attrTest.call(this, input) &&\n (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n /**\n * @namespace\n * @memberof SwipeRecognizer\n */\n defaults: {\n event: 'swipe',\n threshold: 10,\n velocity: 0.3,\n direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n pointers: 1\n },\n\n getTouchAction: function() {\n return PanRecognizer.prototype.getTouchAction.call(this);\n },\n\n attrTest: function(input) {\n var direction = this.options.direction;\n var velocity;\n\n if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n velocity = input.overallVelocity;\n } else if (direction & DIRECTION_HORIZONTAL) {\n velocity = input.overallVelocityX;\n } else if (direction & DIRECTION_VERTICAL) {\n velocity = input.overallVelocityY;\n }\n\n return this._super.attrTest.call(this, input) &&\n direction & input.offsetDirection &&\n input.distance > this.options.threshold &&\n input.maxPointers == this.options.pointers &&\n abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n },\n\n emit: function(input) {\n var direction = directionStr(input.offsetDirection);\n if (direction) {\n this.manager.emit(this.options.event + direction, input);\n }\n\n this.manager.emit(this.options.event, input);\n }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n Recognizer.apply(this, arguments);\n\n // previous time and center,\n // used for tap counting\n this.pTime = false;\n this.pCenter = false;\n\n this._timer = null;\n this._input = null;\n this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n /**\n * @namespace\n * @memberof PinchRecognizer\n */\n defaults: {\n event: 'tap',\n pointers: 1,\n taps: 1,\n interval: 300, // max time between the multi-tap taps\n time: 250, // max time of the pointer to be down (like finger on the screen)\n threshold: 9, // a minimal movement is ok, but keep it low\n posThreshold: 10 // a multi-tap can be a bit off the initial position\n },\n\n getTouchAction: function() {\n return [TOUCH_ACTION_MANIPULATION];\n },\n\n process: function(input) {\n var options = this.options;\n\n var validPointers = input.pointers.length === options.pointers;\n var validMovement = input.distance < options.threshold;\n var validTouchTime = input.deltaTime < options.time;\n\n this.reset();\n\n if ((input.eventType & INPUT_START) && (this.count === 0)) {\n return this.failTimeout();\n }\n\n // we only allow little movement\n // and we've reached an end event, so a tap is possible\n if (validMovement && validTouchTime && validPointers) {\n if (input.eventType != INPUT_END) {\n return this.failTimeout();\n }\n\n var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n this.pTime = input.timeStamp;\n this.pCenter = input.center;\n\n if (!validMultiTap || !validInterval) {\n this.count = 1;\n } else {\n this.count += 1;\n }\n\n this._input = input;\n\n // if tap count matches we have recognized it,\n // else it has began recognizing...\n var tapCount = this.count % options.taps;\n if (tapCount === 0) {\n // no failing requirements, immediately trigger the tap event\n // or wait as long as the multitap interval to trigger\n if (!this.hasRequireFailures()) {\n return STATE_RECOGNIZED;\n } else {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_RECOGNIZED;\n this.tryEmit();\n }, options.interval, this);\n return STATE_BEGAN;\n }\n }\n }\n return STATE_FAILED;\n },\n\n failTimeout: function() {\n this._timer = setTimeoutContext(function() {\n this.state = STATE_FAILED;\n }, this.options.interval, this);\n return STATE_FAILED;\n },\n\n reset: function() {\n clearTimeout(this._timer);\n },\n\n emit: function() {\n if (this.state == STATE_RECOGNIZED) {\n this._input.tapCount = this.count;\n this.manager.emit(this.options.event, this._input);\n }\n }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n options = options || {};\n options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.7';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n /**\n * set if DOM events are being triggered.\n * But this is slower and unused by simple implementations, so disabled by default.\n * @type {Boolean}\n * @default false\n */\n domEvents: false,\n\n /**\n * The value for the touchAction property/fallback.\n * When set to `compute` it will magically set the correct value based on the added recognizers.\n * @type {String}\n * @default compute\n */\n touchAction: TOUCH_ACTION_COMPUTE,\n\n /**\n * @type {Boolean}\n * @default true\n */\n enable: true,\n\n /**\n * EXPERIMENTAL FEATURE -- can be removed/changed\n * Change the parent input target element.\n * If Null, then it is being set the to main element.\n * @type {Null|EventTarget}\n * @default null\n */\n inputTarget: null,\n\n /**\n * force an input class\n * @type {Null|Function}\n * @default null\n */\n inputClass: null,\n\n /**\n * Default recognizer setup when calling `Hammer()`\n * When creating a new Manager these will be skipped.\n * @type {Array}\n */\n preset: [\n // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n [RotateRecognizer, {enable: false}],\n [PinchRecognizer, {enable: false}, ['rotate']],\n [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n [TapRecognizer],\n [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n [PressRecognizer]\n ],\n\n /**\n * Some CSS properties can be used to improve the working of Hammer.\n * Add them to this method and they will be set when creating a new Manager.\n * @namespace\n */\n cssProps: {\n /**\n * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userSelect: 'none',\n\n /**\n * Disable the Windows Phone grippers when pressing an element.\n * @type {String}\n * @default 'none'\n */\n touchSelect: 'none',\n\n /**\n * Disables the default callout shown when you touch and hold a touch target.\n * On iOS, when you touch and hold a touch target such as a link, Safari displays\n * a callout containing information about the link. This property allows you to disable that callout.\n * @type {String}\n * @default 'none'\n */\n touchCallout: 'none',\n\n /**\n * Specifies whether zooming is enabled. Used by IE10>\n * @type {String}\n * @default 'none'\n */\n contentZooming: 'none',\n\n /**\n * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n * @type {String}\n * @default 'none'\n */\n userDrag: 'none',\n\n /**\n * Overrides the highlight color shown when the user taps a link or a JavaScript\n * clickable element in iOS. This property obeys the alpha value, if specified.\n * @type {String}\n * @default 'rgba(0,0,0,0)'\n */\n tapHighlightColor: 'rgba(0,0,0,0)'\n }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n this.options = assign({}, Hammer.defaults, options || {});\n\n this.options.inputTarget = this.options.inputTarget || element;\n\n this.handlers = {};\n this.session = {};\n this.recognizers = [];\n this.oldCssProps = {};\n\n this.element = element;\n this.input = createInputInstance(this);\n this.touchAction = new TouchAction(this, this.options.touchAction);\n\n toggleCssProps(this, true);\n\n each(this.options.recognizers, function(item) {\n var recognizer = this.add(new (item[0])(item[1]));\n item[2] && recognizer.recognizeWith(item[2]);\n item[3] && recognizer.requireFailure(item[3]);\n }, this);\n}\n\nManager.prototype = {\n /**\n * set options\n * @param {Object} options\n * @returns {Manager}\n */\n set: function(options) {\n assign(this.options, options);\n\n // Options that need a little more setup\n if (options.touchAction) {\n this.touchAction.update();\n }\n if (options.inputTarget) {\n // Clean up existing event listeners and reinitialize\n this.input.destroy();\n this.input.target = options.inputTarget;\n this.input.init();\n }\n return this;\n },\n\n /**\n * stop recognizing for this session.\n * This session will be discarded, when a new [input]start event is fired.\n * When forced, the recognizer cycle is stopped immediately.\n * @param {Boolean} [force]\n */\n stop: function(force) {\n this.session.stopped = force ? FORCED_STOP : STOP;\n },\n\n /**\n * run the recognizers!\n * called by the inputHandler function on every movement of the pointers (touches)\n * it walks through all the recognizers and tries to detect the gesture that is being made\n * @param {Object} inputData\n */\n recognize: function(inputData) {\n var session = this.session;\n if (session.stopped) {\n return;\n }\n\n // run the touch-action polyfill\n this.touchAction.preventDefaults(inputData);\n\n var recognizer;\n var recognizers = this.recognizers;\n\n // this holds the recognizer that is being recognized.\n // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n // if no recognizer is detecting a thing, it is set to `null`\n var curRecognizer = session.curRecognizer;\n\n // reset when the last recognizer is recognized\n // or when we're in a new session\n if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n curRecognizer = session.curRecognizer = null;\n }\n\n var i = 0;\n while (i < recognizers.length) {\n recognizer = recognizers[i];\n\n // find out if we are allowed try to recognize the input for this one.\n // 1. allow if the session is NOT forced stopped (see the .stop() method)\n // 2. allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n // that is being recognized.\n // 3. allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n // this can be setup with the `recognizeWith()` method on the recognizer.\n if (session.stopped !== FORCED_STOP && ( // 1\n !curRecognizer || recognizer == curRecognizer || // 2\n recognizer.canRecognizeWith(curRecognizer))) { // 3\n recognizer.recognize(inputData);\n } else {\n recognizer.reset();\n }\n\n // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n // current active recognizer. but only if we don't already have an active recognizer\n if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n curRecognizer = session.curRecognizer = recognizer;\n }\n i++;\n }\n },\n\n /**\n * get a recognizer by its event name.\n * @param {Recognizer|String} recognizer\n * @returns {Recognizer|Null}\n */\n get: function(recognizer) {\n if (recognizer instanceof Recognizer) {\n return recognizer;\n }\n\n var recognizers = this.recognizers;\n for (var i = 0; i < recognizers.length; i++) {\n if (recognizers[i].options.event == recognizer) {\n return recognizers[i];\n }\n }\n return null;\n },\n\n /**\n * add a recognizer to the manager\n * existing recognizers with the same event name will be removed\n * @param {Recognizer} recognizer\n * @returns {Recognizer|Manager}\n */\n add: function(recognizer) {\n if (invokeArrayArg(recognizer, 'add', this)) {\n return this;\n }\n\n // remove existing\n var existing = this.get(recognizer.options.event);\n if (existing) {\n this.remove(existing);\n }\n\n this.recognizers.push(recognizer);\n recognizer.manager = this;\n\n this.touchAction.update();\n return recognizer;\n },\n\n /**\n * remove a recognizer by name or instance\n * @param {Recognizer|String} recognizer\n * @returns {Manager}\n */\n remove: function(recognizer) {\n if (invokeArrayArg(recognizer, 'remove', this)) {\n return this;\n }\n\n recognizer = this.get(recognizer);\n\n // let's make sure this recognizer exists\n if (recognizer) {\n var recognizers = this.recognizers;\n var index = inArray(recognizers, recognizer);\n\n if (index !== -1) {\n recognizers.splice(index, 1);\n this.touchAction.update();\n }\n }\n\n return this;\n },\n\n /**\n * bind event\n * @param {String} events\n * @param {Function} handler\n * @returns {EventEmitter} this\n */\n on: function(events, handler) {\n if (events === undefined) {\n return;\n }\n if (handler === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n handlers[event] = handlers[event] || [];\n handlers[event].push(handler);\n });\n return this;\n },\n\n /**\n * unbind event, leave emit blank to remove all handlers\n * @param {String} events\n * @param {Function} [handler]\n * @returns {EventEmitter} this\n */\n off: function(events, handler) {\n if (events === undefined) {\n return;\n }\n\n var handlers = this.handlers;\n each(splitStr(events), function(event) {\n if (!handler) {\n delete handlers[event];\n } else {\n handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n }\n });\n return this;\n },\n\n /**\n * emit event to the listeners\n * @param {String} event\n * @param {Object} data\n */\n emit: function(event, data) {\n // we also want to trigger dom events\n if (this.options.domEvents) {\n triggerDomEvent(event, data);\n }\n\n // no handlers, so skip it all\n var handlers = this.handlers[event] && this.handlers[event].slice();\n if (!handlers || !handlers.length) {\n return;\n }\n\n data.type = event;\n data.preventDefault = function() {\n data.srcEvent.preventDefault();\n };\n\n var i = 0;\n while (i < handlers.length) {\n handlers[i](data);\n i++;\n }\n },\n\n /**\n * destroy the manager and unbinds all events\n * it doesn't unbind dom events, that is the user own responsibility\n */\n destroy: function() {\n this.element && toggleCssProps(this, false);\n\n this.handlers = {};\n this.session = {};\n this.input.destroy();\n this.element = null;\n }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n var element = manager.element;\n if (!element.style) {\n return;\n }\n var prop;\n each(manager.options.cssProps, function(value, name) {\n prop = prefixed(element.style, name);\n if (add) {\n manager.oldCssProps[prop] = element.style[prop];\n element.style[prop] = value;\n } else {\n element.style[prop] = manager.oldCssProps[prop] || '';\n }\n });\n if (!add) {\n manager.oldCssProps = {};\n }\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n var gestureEvent = document.createEvent('Event');\n gestureEvent.initEvent(event, true, true);\n gestureEvent.gesture = data;\n data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n INPUT_START: INPUT_START,\n INPUT_MOVE: INPUT_MOVE,\n INPUT_END: INPUT_END,\n INPUT_CANCEL: INPUT_CANCEL,\n\n STATE_POSSIBLE: STATE_POSSIBLE,\n STATE_BEGAN: STATE_BEGAN,\n STATE_CHANGED: STATE_CHANGED,\n STATE_ENDED: STATE_ENDED,\n STATE_RECOGNIZED: STATE_RECOGNIZED,\n STATE_CANCELLED: STATE_CANCELLED,\n STATE_FAILED: STATE_FAILED,\n\n DIRECTION_NONE: DIRECTION_NONE,\n DIRECTION_LEFT: DIRECTION_LEFT,\n DIRECTION_RIGHT: DIRECTION_RIGHT,\n DIRECTION_UP: DIRECTION_UP,\n DIRECTION_DOWN: DIRECTION_DOWN,\n DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n DIRECTION_ALL: DIRECTION_ALL,\n\n Manager: Manager,\n Input: Input,\n TouchAction: TouchAction,\n\n TouchInput: TouchInput,\n MouseInput: MouseInput,\n PointerEventInput: PointerEventInput,\n TouchMouseInput: TouchMouseInput,\n SingleTouchInput: SingleTouchInput,\n\n Recognizer: Recognizer,\n AttrRecognizer: AttrRecognizer,\n Tap: TapRecognizer,\n Pan: PanRecognizer,\n Swipe: SwipeRecognizer,\n Pinch: PinchRecognizer,\n Rotate: RotateRecognizer,\n Press: PressRecognizer,\n\n on: addEventListeners,\n off: removeEventListeners,\n each: each,\n merge: merge,\n extend: extend,\n assign: assign,\n inherit: inherit,\n bindFn: bindFn,\n prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n// style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (typeof define === 'function' && define.amd) {\n define(function() {\n return Hammer;\n });\n} else if (typeof module != 'undefined' && module.exports) {\n module.exports = Hammer;\n} else {\n window[exportName] = Hammer;\n}\n\n})(window, document, 'Hammer');\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/hammerjs/hammer.js\n// module id = 260\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler'), require('@angular/core'), require('@angular/platform-browser')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/compiler', '@angular/core', '@angular/platform-browser'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = global.ng.platformBrowserDynamic || {}),global.ng.compiler,global.ng.core,global.ng.platformBrowser));\n}(this, function (exports,_angular_compiler,_angular_core,_angular_platformBrowser) { 'use strict';\n\n var INTERNAL_BROWSER_PLATFORM_PROVIDERS = _angular_platformBrowser.__platform_browser_private__.INTERNAL_BROWSER_PLATFORM_PROVIDERS;\n\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var ResourceLoaderImpl = (function (_super) {\n __extends(ResourceLoaderImpl, _super);\n function ResourceLoaderImpl() {\n _super.apply(this, arguments);\n }\n ResourceLoaderImpl.prototype.get = function (url) {\n var resolve;\n var reject;\n var promise = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n xhr.onload = function () {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n var response = xhr.response || xhr.responseText;\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = xhr.status === 1223 ? 204 : xhr.status;\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n if (200 <= status && status <= 300) {\n resolve(response);\n }\n else {\n reject(\"Failed to load \" + url);\n }\n };\n xhr.onerror = function () { reject(\"Failed to load \" + url); };\n xhr.send();\n return promise;\n };\n ResourceLoaderImpl.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n ResourceLoaderImpl.ctorParameters = [];\n return ResourceLoaderImpl;\n }(_angular_compiler.ResourceLoader));\n\n var INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: _angular_core.COMPILER_OPTIONS,\n useValue: { providers: [{ provide: _angular_compiler.ResourceLoader, useClass: ResourceLoaderImpl }] },\n multi: true\n },\n ];\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalScope;\n if (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n }\n else {\n globalScope = window;\n }\n // Need to declare a new variable for global here since TypeScript\n // exports the original value of the symbol.\n var _global = globalScope;\n // TODO: remove calls to assert in production environment\n // Note: Can't just export this and import in in other files\n // as `assert` is a reserved keyword in Dart\n _global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n };\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n */\n var CachedResourceLoader = (function (_super) {\n __extends$1(CachedResourceLoader, _super);\n function CachedResourceLoader() {\n _super.call(this);\n this._cache = _global.$templateCache;\n if (this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n }\n CachedResourceLoader.prototype.get = function (url) {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n }\n else {\n return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);\n }\n };\n return CachedResourceLoader;\n }(_angular_compiler.ResourceLoader));\n\n var __platform_browser_dynamic_private__ = {\n INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS,\n ResourceLoaderImpl: ResourceLoaderImpl\n };\n\n /**\n * @experimental\n */\n var RESOURCE_CACHE_PROVIDER = [{ provide: _angular_compiler.ResourceLoader, useClass: CachedResourceLoader }];\n /**\n * @stable\n */\n var platformBrowserDynamic = _angular_core.createPlatformFactory(_angular_compiler.platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n exports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER;\n exports.platformBrowserDynamic = platformBrowserDynamic;\n exports.__platform_browser_dynamic_private__ = __platform_browser_dynamic_private__;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/platform-browser-dynamic/bundles/platform-browser-dynamic.umd.js\n// module id = 261\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}),global.ng.core));\n}(this, function (exports,_angular_core) { 'use strict';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * A segment of text within the template.\n */\n var TextAst = (function () {\n function TextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n TextAst.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return TextAst;\n }());\n /**\n * A bound expression within the text of a template.\n */\n var BoundTextAst = (function () {\n function BoundTextAst(value, ngContentIndex, sourceSpan) {\n this.value = value;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n BoundTextAst.prototype.visit = function (visitor, context) {\n return visitor.visitBoundText(this, context);\n };\n return BoundTextAst;\n }());\n /**\n * A plain attribute on an element.\n */\n var AttrAst = (function () {\n function AttrAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n AttrAst.prototype.visit = function (visitor, context) { return visitor.visitAttr(this, context); };\n return AttrAst;\n }());\n /**\n * A binding for an element property (e.g. `[property]=\"expression\"`) or an animation trigger (e.g.\n * `[@trigger]=\"stateExp\"`)\n */\n var BoundElementPropertyAst = (function () {\n function BoundElementPropertyAst(name, type, securityContext, needsRuntimeSecurityContext, value, unit, sourceSpan) {\n this.name = name;\n this.type = type;\n this.securityContext = securityContext;\n this.needsRuntimeSecurityContext = needsRuntimeSecurityContext;\n this.value = value;\n this.unit = unit;\n this.sourceSpan = sourceSpan;\n }\n BoundElementPropertyAst.prototype.visit = function (visitor, context) {\n return visitor.visitElementProperty(this, context);\n };\n Object.defineProperty(BoundElementPropertyAst.prototype, \"isAnimation\", {\n get: function () { return this.type === exports.PropertyBindingType.Animation; },\n enumerable: true,\n configurable: true\n });\n return BoundElementPropertyAst;\n }());\n /**\n * A binding for an element event (e.g. `(event)=\"handler()\"`) or an animation trigger event (e.g.\n * `(@trigger.phase)=\"callback($event)\"`).\n */\n var BoundEventAst = (function () {\n function BoundEventAst(name, target, phase, handler, sourceSpan) {\n this.name = name;\n this.target = target;\n this.phase = phase;\n this.handler = handler;\n this.sourceSpan = sourceSpan;\n }\n BoundEventAst.calcFullName = function (name, target, phase) {\n if (target) {\n return target + \":\" + name;\n }\n else if (phase) {\n return \"@\" + name + \".\" + phase;\n }\n else {\n return name;\n }\n };\n BoundEventAst.prototype.visit = function (visitor, context) {\n return visitor.visitEvent(this, context);\n };\n Object.defineProperty(BoundEventAst.prototype, \"fullName\", {\n get: function () { return BoundEventAst.calcFullName(this.name, this.target, this.phase); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BoundEventAst.prototype, \"isAnimation\", {\n get: function () { return !!this.phase; },\n enumerable: true,\n configurable: true\n });\n return BoundEventAst;\n }());\n /**\n * A reference declaration on an element (e.g. `let someName=\"expression\"`).\n */\n var ReferenceAst = (function () {\n function ReferenceAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n ReferenceAst.prototype.visit = function (visitor, context) {\n return visitor.visitReference(this, context);\n };\n return ReferenceAst;\n }());\n /**\n * A variable declaration on a <template> (e.g. `var-someName=\"someLocalName\"`).\n */\n var VariableAst = (function () {\n function VariableAst(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n VariableAst.prototype.visit = function (visitor, context) {\n return visitor.visitVariable(this, context);\n };\n return VariableAst;\n }());\n /**\n * An element declaration in a template.\n */\n var ElementAst = (function () {\n function ElementAst(name, attrs, inputs, outputs, references, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan, endSourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.inputs = inputs;\n this.outputs = outputs;\n this.references = references;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n this.endSourceSpan = endSourceSpan;\n }\n ElementAst.prototype.visit = function (visitor, context) {\n return visitor.visitElement(this, context);\n };\n return ElementAst;\n }());\n /**\n * A `<template>` element included in an Angular template.\n */\n var EmbeddedTemplateAst = (function () {\n function EmbeddedTemplateAst(attrs, outputs, references, variables, directives, providers, hasViewContainer, children, ngContentIndex, sourceSpan) {\n this.attrs = attrs;\n this.outputs = outputs;\n this.references = references;\n this.variables = variables;\n this.directives = directives;\n this.providers = providers;\n this.hasViewContainer = hasViewContainer;\n this.children = children;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n EmbeddedTemplateAst.prototype.visit = function (visitor, context) {\n return visitor.visitEmbeddedTemplate(this, context);\n };\n return EmbeddedTemplateAst;\n }());\n /**\n * A directive property with a bound value (e.g. `*ngIf=\"condition\").\n */\n var BoundDirectivePropertyAst = (function () {\n function BoundDirectivePropertyAst(directiveName, templateName, value, sourceSpan) {\n this.directiveName = directiveName;\n this.templateName = templateName;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n BoundDirectivePropertyAst.prototype.visit = function (visitor, context) {\n return visitor.visitDirectiveProperty(this, context);\n };\n return BoundDirectivePropertyAst;\n }());\n /**\n * A directive declared on an element.\n */\n var DirectiveAst = (function () {\n function DirectiveAst(directive, inputs, hostProperties, hostEvents, sourceSpan) {\n this.directive = directive;\n this.inputs = inputs;\n this.hostProperties = hostProperties;\n this.hostEvents = hostEvents;\n this.sourceSpan = sourceSpan;\n }\n DirectiveAst.prototype.visit = function (visitor, context) {\n return visitor.visitDirective(this, context);\n };\n return DirectiveAst;\n }());\n /**\n * A provider declared on an element\n */\n var ProviderAst = (function () {\n function ProviderAst(token, multiProvider, eager, providers, providerType, lifecycleHooks, sourceSpan) {\n this.token = token;\n this.multiProvider = multiProvider;\n this.eager = eager;\n this.providers = providers;\n this.providerType = providerType;\n this.lifecycleHooks = lifecycleHooks;\n this.sourceSpan = sourceSpan;\n }\n ProviderAst.prototype.visit = function (visitor, context) {\n // No visit method in the visitor for now...\n return null;\n };\n return ProviderAst;\n }());\n exports.ProviderAstType;\n (function (ProviderAstType) {\n ProviderAstType[ProviderAstType[\"PublicService\"] = 0] = \"PublicService\";\n ProviderAstType[ProviderAstType[\"PrivateService\"] = 1] = \"PrivateService\";\n ProviderAstType[ProviderAstType[\"Component\"] = 2] = \"Component\";\n ProviderAstType[ProviderAstType[\"Directive\"] = 3] = \"Directive\";\n ProviderAstType[ProviderAstType[\"Builtin\"] = 4] = \"Builtin\";\n })(exports.ProviderAstType || (exports.ProviderAstType = {}));\n /**\n * Position where content is to be projected (instance of `<ng-content>` in a template).\n */\n var NgContentAst = (function () {\n function NgContentAst(index, ngContentIndex, sourceSpan) {\n this.index = index;\n this.ngContentIndex = ngContentIndex;\n this.sourceSpan = sourceSpan;\n }\n NgContentAst.prototype.visit = function (visitor, context) {\n return visitor.visitNgContent(this, context);\n };\n return NgContentAst;\n }());\n /**\n * Enumeration of types of property bindings.\n */\n exports.PropertyBindingType;\n (function (PropertyBindingType) {\n /**\n * A normal binding to a property (e.g. `[property]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Property\"] = 0] = \"Property\";\n /**\n * A binding to an element attribute (e.g. `[attr.name]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Attribute\"] = 1] = \"Attribute\";\n /**\n * A binding to a CSS class (e.g. `[class.name]=\"condition\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Class\"] = 2] = \"Class\";\n /**\n * A binding to a style rule (e.g. `[style.rule]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Style\"] = 3] = \"Style\";\n /**\n * A binding to an animation reference (e.g. `[animate.key]=\"expression\"`).\n */\n PropertyBindingType[PropertyBindingType[\"Animation\"] = 4] = \"Animation\";\n })(exports.PropertyBindingType || (exports.PropertyBindingType = {}));\n /**\n * Visit every node in a list of {@link TemplateAst}s with the given {@link TemplateAstVisitor}.\n */\n function templateVisitAll(visitor, asts, context) {\n if (context === void 0) { context = null; }\n var result = [];\n var visit = visitor.visit ?\n function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n function (ast) { return ast.visit(visitor, context); };\n asts.forEach(function (ast) {\n var astResult = visit(ast);\n if (astResult) {\n result.push(astResult);\n }\n });\n return result;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var $EOF = 0;\n var $TAB = 9;\n var $LF = 10;\n var $VTAB = 11;\n var $FF = 12;\n var $CR = 13;\n var $SPACE = 32;\n var $BANG = 33;\n var $DQ = 34;\n var $HASH = 35;\n var $$ = 36;\n var $PERCENT = 37;\n var $AMPERSAND = 38;\n var $SQ = 39;\n var $LPAREN = 40;\n var $RPAREN = 41;\n var $STAR = 42;\n var $PLUS = 43;\n var $COMMA = 44;\n var $MINUS = 45;\n var $PERIOD = 46;\n var $SLASH = 47;\n var $COLON = 58;\n var $SEMICOLON = 59;\n var $LT = 60;\n var $EQ = 61;\n var $GT = 62;\n var $QUESTION = 63;\n var $0 = 48;\n var $9 = 57;\n var $A = 65;\n var $E = 69;\n var $F = 70;\n var $X = 88;\n var $Z = 90;\n var $LBRACKET = 91;\n var $BACKSLASH = 92;\n var $RBRACKET = 93;\n var $CARET = 94;\n var $_ = 95;\n var $a = 97;\n var $e = 101;\n var $f = 102;\n var $n = 110;\n var $r = 114;\n var $t = 116;\n var $u = 117;\n var $v = 118;\n var $x = 120;\n var $z = 122;\n var $LBRACE = 123;\n var $BAR = 124;\n var $RBRACE = 125;\n var $NBSP = 160;\n var $BT = 96;\n function isWhitespace(code) {\n return (code >= $TAB && code <= $SPACE) || (code == $NBSP);\n }\n function isDigit(code) {\n return $0 <= code && code <= $9;\n }\n function isAsciiLetter(code) {\n return code >= $a && code <= $z || code >= $A && code <= $Z;\n }\n function isAsciiHexDigit(code) {\n return code >= $a && code <= $f || code >= $A && code <= $F || isDigit(code);\n }\n\n function isPresent(obj) {\n return obj != null;\n }\n function isBlank(obj) {\n return obj == null;\n }\n var STRING_MAP_PROTO = Object.getPrototypeOf({});\n function isStrictStringMap(obj) {\n return typeof obj === 'object' && obj !== null && Object.getPrototypeOf(obj) === STRING_MAP_PROTO;\n }\n function stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n }\n var NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n }());\n function isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n }\n function isPrimitive(obj) {\n return !isJsObject(obj);\n }\n function escapeRegExp(s) {\n return s.replace(/([.*+?^=!:${}()|[\\]\\/\\\\])/g, '\\\\$1');\n }\n\n function assertArrayOfStrings(identifier, value) {\n if (!_angular_core.isDevMode() || isBlank(value)) {\n return;\n }\n if (!Array.isArray(value)) {\n throw new Error(\"Expected '\" + identifier + \"' to be an array of strings.\");\n }\n for (var i = 0; i < value.length; i += 1) {\n if (typeof value[i] !== 'string') {\n throw new Error(\"Expected '\" + identifier + \"' to be an array of strings.\");\n }\n }\n }\n var INTERPOLATION_BLACKLIST_REGEXPS = [\n /^\\s*$/,\n /[<>]/,\n /^[{}]$/,\n /&(#|[a-z])/i,\n /^\\/\\//,\n ];\n function assertInterpolationSymbols(identifier, value) {\n if (isPresent(value) && !(Array.isArray(value) && value.length == 2)) {\n throw new Error(\"Expected '\" + identifier + \"' to be an array, [start, end].\");\n }\n else if (_angular_core.isDevMode() && !isBlank(value)) {\n var start_1 = value[0];\n var end_1 = value[1];\n // black list checking\n INTERPOLATION_BLACKLIST_REGEXPS.forEach(function (regexp) {\n if (regexp.test(start_1) || regexp.test(end_1)) {\n throw new Error(\"['\" + start_1 + \"', '\" + end_1 + \"'] contains unusable interpolation symbol.\");\n }\n });\n }\n }\n\n var InterpolationConfig = (function () {\n function InterpolationConfig(start, end) {\n this.start = start;\n this.end = end;\n }\n InterpolationConfig.fromArray = function (markers) {\n if (!markers) {\n return DEFAULT_INTERPOLATION_CONFIG;\n }\n assertInterpolationSymbols('interpolation', markers);\n return new InterpolationConfig(markers[0], markers[1]);\n };\n ;\n return InterpolationConfig;\n }());\n var DEFAULT_INTERPOLATION_CONFIG = new InterpolationConfig('{{', '}}');\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var ParserError = (function () {\n function ParserError(message, input, errLocation, ctxLocation) {\n this.input = input;\n this.errLocation = errLocation;\n this.ctxLocation = ctxLocation;\n this.message = \"Parser Error: \" + message + \" \" + errLocation + \" [\" + input + \"] in \" + ctxLocation;\n }\n return ParserError;\n }());\n var ParseSpan = (function () {\n function ParseSpan(start, end) {\n this.start = start;\n this.end = end;\n }\n return ParseSpan;\n }());\n var AST = (function () {\n function AST(span) {\n this.span = span;\n }\n AST.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return null;\n };\n AST.prototype.toString = function () { return 'AST'; };\n return AST;\n }());\n /**\n * Represents a quoted expression of the form:\n *\n * quote = prefix `:` uninterpretedExpression\n * prefix = identifier\n * uninterpretedExpression = arbitrary string\n *\n * A quoted expression is meant to be pre-processed by an AST transformer that\n * converts it into another AST that no longer contains quoted expressions.\n * It is meant to allow third-party developers to extend Angular template\n * expression language. The `uninterpretedExpression` part of the quote is\n * therefore not interpreted by the Angular's own expression parser.\n */\n var Quote = (function (_super) {\n __extends$1(Quote, _super);\n function Quote(span, prefix, uninterpretedExpression, location) {\n _super.call(this, span);\n this.prefix = prefix;\n this.uninterpretedExpression = uninterpretedExpression;\n this.location = location;\n }\n Quote.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitQuote(this, context);\n };\n Quote.prototype.toString = function () { return 'Quote'; };\n return Quote;\n }(AST));\n var EmptyExpr = (function (_super) {\n __extends$1(EmptyExpr, _super);\n function EmptyExpr() {\n _super.apply(this, arguments);\n }\n EmptyExpr.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n // do nothing\n };\n return EmptyExpr;\n }(AST));\n var ImplicitReceiver = (function (_super) {\n __extends$1(ImplicitReceiver, _super);\n function ImplicitReceiver() {\n _super.apply(this, arguments);\n }\n ImplicitReceiver.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitImplicitReceiver(this, context);\n };\n return ImplicitReceiver;\n }(AST));\n /**\n * Multiple expressions separated by a semicolon.\n */\n var Chain = (function (_super) {\n __extends$1(Chain, _super);\n function Chain(span, expressions) {\n _super.call(this, span);\n this.expressions = expressions;\n }\n Chain.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitChain(this, context);\n };\n return Chain;\n }(AST));\n var Conditional = (function (_super) {\n __extends$1(Conditional, _super);\n function Conditional(span, condition, trueExp, falseExp) {\n _super.call(this, span);\n this.condition = condition;\n this.trueExp = trueExp;\n this.falseExp = falseExp;\n }\n Conditional.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitConditional(this, context);\n };\n return Conditional;\n }(AST));\n var PropertyRead = (function (_super) {\n __extends$1(PropertyRead, _super);\n function PropertyRead(span, receiver, name) {\n _super.call(this, span);\n this.receiver = receiver;\n this.name = name;\n }\n PropertyRead.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitPropertyRead(this, context);\n };\n return PropertyRead;\n }(AST));\n var PropertyWrite = (function (_super) {\n __extends$1(PropertyWrite, _super);\n function PropertyWrite(span, receiver, name, value) {\n _super.call(this, span);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n PropertyWrite.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitPropertyWrite(this, context);\n };\n return PropertyWrite;\n }(AST));\n var SafePropertyRead = (function (_super) {\n __extends$1(SafePropertyRead, _super);\n function SafePropertyRead(span, receiver, name) {\n _super.call(this, span);\n this.receiver = receiver;\n this.name = name;\n }\n SafePropertyRead.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitSafePropertyRead(this, context);\n };\n return SafePropertyRead;\n }(AST));\n var KeyedRead = (function (_super) {\n __extends$1(KeyedRead, _super);\n function KeyedRead(span, obj, key) {\n _super.call(this, span);\n this.obj = obj;\n this.key = key;\n }\n KeyedRead.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitKeyedRead(this, context);\n };\n return KeyedRead;\n }(AST));\n var KeyedWrite = (function (_super) {\n __extends$1(KeyedWrite, _super);\n function KeyedWrite(span, obj, key, value) {\n _super.call(this, span);\n this.obj = obj;\n this.key = key;\n this.value = value;\n }\n KeyedWrite.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitKeyedWrite(this, context);\n };\n return KeyedWrite;\n }(AST));\n var BindingPipe = (function (_super) {\n __extends$1(BindingPipe, _super);\n function BindingPipe(span, exp, name, args) {\n _super.call(this, span);\n this.exp = exp;\n this.name = name;\n this.args = args;\n }\n BindingPipe.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitPipe(this, context);\n };\n return BindingPipe;\n }(AST));\n var LiteralPrimitive = (function (_super) {\n __extends$1(LiteralPrimitive, _super);\n function LiteralPrimitive(span, value) {\n _super.call(this, span);\n this.value = value;\n }\n LiteralPrimitive.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitLiteralPrimitive(this, context);\n };\n return LiteralPrimitive;\n }(AST));\n var LiteralArray = (function (_super) {\n __extends$1(LiteralArray, _super);\n function LiteralArray(span, expressions) {\n _super.call(this, span);\n this.expressions = expressions;\n }\n LiteralArray.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitLiteralArray(this, context);\n };\n return LiteralArray;\n }(AST));\n var LiteralMap = (function (_super) {\n __extends$1(LiteralMap, _super);\n function LiteralMap(span, keys, values) {\n _super.call(this, span);\n this.keys = keys;\n this.values = values;\n }\n LiteralMap.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitLiteralMap(this, context);\n };\n return LiteralMap;\n }(AST));\n var Interpolation = (function (_super) {\n __extends$1(Interpolation, _super);\n function Interpolation(span, strings, expressions) {\n _super.call(this, span);\n this.strings = strings;\n this.expressions = expressions;\n }\n Interpolation.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitInterpolation(this, context);\n };\n return Interpolation;\n }(AST));\n var Binary = (function (_super) {\n __extends$1(Binary, _super);\n function Binary(span, operation, left, right) {\n _super.call(this, span);\n this.operation = operation;\n this.left = left;\n this.right = right;\n }\n Binary.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitBinary(this, context);\n };\n return Binary;\n }(AST));\n var PrefixNot = (function (_super) {\n __extends$1(PrefixNot, _super);\n function PrefixNot(span, expression) {\n _super.call(this, span);\n this.expression = expression;\n }\n PrefixNot.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitPrefixNot(this, context);\n };\n return PrefixNot;\n }(AST));\n var MethodCall = (function (_super) {\n __extends$1(MethodCall, _super);\n function MethodCall(span, receiver, name, args) {\n _super.call(this, span);\n this.receiver = receiver;\n this.name = name;\n this.args = args;\n }\n MethodCall.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitMethodCall(this, context);\n };\n return MethodCall;\n }(AST));\n var SafeMethodCall = (function (_super) {\n __extends$1(SafeMethodCall, _super);\n function SafeMethodCall(span, receiver, name, args) {\n _super.call(this, span);\n this.receiver = receiver;\n this.name = name;\n this.args = args;\n }\n SafeMethodCall.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitSafeMethodCall(this, context);\n };\n return SafeMethodCall;\n }(AST));\n var FunctionCall = (function (_super) {\n __extends$1(FunctionCall, _super);\n function FunctionCall(span, target, args) {\n _super.call(this, span);\n this.target = target;\n this.args = args;\n }\n FunctionCall.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return visitor.visitFunctionCall(this, context);\n };\n return FunctionCall;\n }(AST));\n var ASTWithSource = (function (_super) {\n __extends$1(ASTWithSource, _super);\n function ASTWithSource(ast, source, location, errors) {\n _super.call(this, new ParseSpan(0, isBlank(source) ? 0 : source.length));\n this.ast = ast;\n this.source = source;\n this.location = location;\n this.errors = errors;\n }\n ASTWithSource.prototype.visit = function (visitor, context) {\n if (context === void 0) { context = null; }\n return this.ast.visit(visitor, context);\n };\n ASTWithSource.prototype.toString = function () { return this.source + \" in \" + this.location; };\n return ASTWithSource;\n }(AST));\n var TemplateBinding = (function () {\n function TemplateBinding(span, key, keyIsVar, name, expression) {\n this.span = span;\n this.key = key;\n this.keyIsVar = keyIsVar;\n this.name = name;\n this.expression = expression;\n }\n return TemplateBinding;\n }());\n var RecursiveAstVisitor = (function () {\n function RecursiveAstVisitor() {\n }\n RecursiveAstVisitor.prototype.visitBinary = function (ast, context) {\n ast.left.visit(this);\n ast.right.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitChain = function (ast, context) { return this.visitAll(ast.expressions, context); };\n RecursiveAstVisitor.prototype.visitConditional = function (ast, context) {\n ast.condition.visit(this);\n ast.trueExp.visit(this);\n ast.falseExp.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPipe = function (ast, context) {\n ast.exp.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n RecursiveAstVisitor.prototype.visitFunctionCall = function (ast, context) {\n ast.target.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n RecursiveAstVisitor.prototype.visitImplicitReceiver = function (ast, context) { return null; };\n RecursiveAstVisitor.prototype.visitInterpolation = function (ast, context) {\n return this.visitAll(ast.expressions, context);\n };\n RecursiveAstVisitor.prototype.visitKeyedRead = function (ast, context) {\n ast.obj.visit(this);\n ast.key.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitKeyedWrite = function (ast, context) {\n ast.obj.visit(this);\n ast.key.visit(this);\n ast.value.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitLiteralArray = function (ast, context) {\n return this.visitAll(ast.expressions, context);\n };\n RecursiveAstVisitor.prototype.visitLiteralMap = function (ast, context) { return this.visitAll(ast.values, context); };\n RecursiveAstVisitor.prototype.visitLiteralPrimitive = function (ast, context) { return null; };\n RecursiveAstVisitor.prototype.visitMethodCall = function (ast, context) {\n ast.receiver.visit(this);\n return this.visitAll(ast.args, context);\n };\n RecursiveAstVisitor.prototype.visitPrefixNot = function (ast, context) {\n ast.expression.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPropertyRead = function (ast, context) {\n ast.receiver.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitPropertyWrite = function (ast, context) {\n ast.receiver.visit(this);\n ast.value.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitSafePropertyRead = function (ast, context) {\n ast.receiver.visit(this);\n return null;\n };\n RecursiveAstVisitor.prototype.visitSafeMethodCall = function (ast, context) {\n ast.receiver.visit(this);\n return this.visitAll(ast.args, context);\n };\n RecursiveAstVisitor.prototype.visitAll = function (asts, context) {\n var _this = this;\n asts.forEach(function (ast) { return ast.visit(_this, context); });\n return null;\n };\n RecursiveAstVisitor.prototype.visitQuote = function (ast, context) { return null; };\n return RecursiveAstVisitor;\n }());\n\n exports.TokenType;\n (function (TokenType) {\n TokenType[TokenType[\"Character\"] = 0] = \"Character\";\n TokenType[TokenType[\"Identifier\"] = 1] = \"Identifier\";\n TokenType[TokenType[\"Keyword\"] = 2] = \"Keyword\";\n TokenType[TokenType[\"String\"] = 3] = \"String\";\n TokenType[TokenType[\"Operator\"] = 4] = \"Operator\";\n TokenType[TokenType[\"Number\"] = 5] = \"Number\";\n TokenType[TokenType[\"Error\"] = 6] = \"Error\";\n })(exports.TokenType || (exports.TokenType = {}));\n var KEYWORDS = ['var', 'let', 'null', 'undefined', 'true', 'false', 'if', 'else', 'this'];\n var Lexer = (function () {\n function Lexer() {\n }\n Lexer.prototype.tokenize = function (text) {\n var scanner = new _Scanner(text);\n var tokens = [];\n var token = scanner.scanToken();\n while (token != null) {\n tokens.push(token);\n token = scanner.scanToken();\n }\n return tokens;\n };\n Lexer.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n Lexer.ctorParameters = [];\n return Lexer;\n }());\n var Token = (function () {\n function Token(index, type, numValue, strValue) {\n this.index = index;\n this.type = type;\n this.numValue = numValue;\n this.strValue = strValue;\n }\n Token.prototype.isCharacter = function (code) {\n return this.type == exports.TokenType.Character && this.numValue == code;\n };\n Token.prototype.isNumber = function () { return this.type == exports.TokenType.Number; };\n Token.prototype.isString = function () { return this.type == exports.TokenType.String; };\n Token.prototype.isOperator = function (operater) {\n return this.type == exports.TokenType.Operator && this.strValue == operater;\n };\n Token.prototype.isIdentifier = function () { return this.type == exports.TokenType.Identifier; };\n Token.prototype.isKeyword = function () { return this.type == exports.TokenType.Keyword; };\n Token.prototype.isKeywordLet = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'let'; };\n Token.prototype.isKeywordNull = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'null'; };\n Token.prototype.isKeywordUndefined = function () {\n return this.type == exports.TokenType.Keyword && this.strValue == 'undefined';\n };\n Token.prototype.isKeywordTrue = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'true'; };\n Token.prototype.isKeywordFalse = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'false'; };\n Token.prototype.isKeywordThis = function () { return this.type == exports.TokenType.Keyword && this.strValue == 'this'; };\n Token.prototype.isError = function () { return this.type == exports.TokenType.Error; };\n Token.prototype.toNumber = function () { return this.type == exports.TokenType.Number ? this.numValue : -1; };\n Token.prototype.toString = function () {\n switch (this.type) {\n case exports.TokenType.Character:\n case exports.TokenType.Identifier:\n case exports.TokenType.Keyword:\n case exports.TokenType.Operator:\n case exports.TokenType.String:\n case exports.TokenType.Error:\n return this.strValue;\n case exports.TokenType.Number:\n return this.numValue.toString();\n default:\n return null;\n }\n };\n return Token;\n }());\n function newCharacterToken(index, code) {\n return new Token(index, exports.TokenType.Character, code, String.fromCharCode(code));\n }\n function newIdentifierToken(index, text) {\n return new Token(index, exports.TokenType.Identifier, 0, text);\n }\n function newKeywordToken(index, text) {\n return new Token(index, exports.TokenType.Keyword, 0, text);\n }\n function newOperatorToken(index, text) {\n return new Token(index, exports.TokenType.Operator, 0, text);\n }\n function newStringToken(index, text) {\n return new Token(index, exports.TokenType.String, 0, text);\n }\n function newNumberToken(index, n) {\n return new Token(index, exports.TokenType.Number, n, '');\n }\n function newErrorToken(index, message) {\n return new Token(index, exports.TokenType.Error, 0, message);\n }\n var EOF = new Token(-1, exports.TokenType.Character, 0, '');\n var _Scanner = (function () {\n function _Scanner(input) {\n this.input = input;\n this.peek = 0;\n this.index = -1;\n this.length = input.length;\n this.advance();\n }\n _Scanner.prototype.advance = function () {\n this.peek = ++this.index >= this.length ? $EOF : this.input.charCodeAt(this.index);\n };\n _Scanner.prototype.scanToken = function () {\n var input = this.input, length = this.length;\n var peek = this.peek, index = this.index;\n // Skip whitespace.\n while (peek <= $SPACE) {\n if (++index >= length) {\n peek = $EOF;\n break;\n }\n else {\n peek = input.charCodeAt(index);\n }\n }\n this.peek = peek;\n this.index = index;\n if (index >= length) {\n return null;\n }\n // Handle identifiers and numbers.\n if (isIdentifierStart(peek))\n return this.scanIdentifier();\n if (isDigit(peek))\n return this.scanNumber(index);\n var start = index;\n switch (peek) {\n case $PERIOD:\n this.advance();\n return isDigit(this.peek) ? this.scanNumber(start) :\n newCharacterToken(start, $PERIOD);\n case $LPAREN:\n case $RPAREN:\n case $LBRACE:\n case $RBRACE:\n case $LBRACKET:\n case $RBRACKET:\n case $COMMA:\n case $COLON:\n case $SEMICOLON:\n return this.scanCharacter(start, peek);\n case $SQ:\n case $DQ:\n return this.scanString();\n case $HASH:\n case $PLUS:\n case $MINUS:\n case $STAR:\n case $SLASH:\n case $PERCENT:\n case $CARET:\n return this.scanOperator(start, String.fromCharCode(peek));\n case $QUESTION:\n return this.scanComplexOperator(start, '?', $PERIOD, '.');\n case $LT:\n case $GT:\n return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=');\n case $BANG:\n case $EQ:\n return this.scanComplexOperator(start, String.fromCharCode(peek), $EQ, '=', $EQ, '=');\n case $AMPERSAND:\n return this.scanComplexOperator(start, '&', $AMPERSAND, '&');\n case $BAR:\n return this.scanComplexOperator(start, '|', $BAR, '|');\n case $NBSP:\n while (isWhitespace(this.peek))\n this.advance();\n return this.scanToken();\n }\n this.advance();\n return this.error(\"Unexpected character [\" + String.fromCharCode(peek) + \"]\", 0);\n };\n _Scanner.prototype.scanCharacter = function (start, code) {\n this.advance();\n return newCharacterToken(start, code);\n };\n _Scanner.prototype.scanOperator = function (start, str) {\n this.advance();\n return newOperatorToken(start, str);\n };\n /**\n * Tokenize a 2/3 char long operator\n *\n * @param start start index in the expression\n * @param one first symbol (always part of the operator)\n * @param twoCode code point for the second symbol\n * @param two second symbol (part of the operator when the second code point matches)\n * @param threeCode code point for the third symbol\n * @param three third symbol (part of the operator when provided and matches source expression)\n * @returns {Token}\n */\n _Scanner.prototype.scanComplexOperator = function (start, one, twoCode, two, threeCode, three) {\n this.advance();\n var str = one;\n if (this.peek == twoCode) {\n this.advance();\n str += two;\n }\n if (isPresent(threeCode) && this.peek == threeCode) {\n this.advance();\n str += three;\n }\n return newOperatorToken(start, str);\n };\n _Scanner.prototype.scanIdentifier = function () {\n var start = this.index;\n this.advance();\n while (isIdentifierPart(this.peek))\n this.advance();\n var str = this.input.substring(start, this.index);\n return KEYWORDS.indexOf(str) > -1 ? newKeywordToken(start, str) :\n newIdentifierToken(start, str);\n };\n _Scanner.prototype.scanNumber = function (start) {\n var simple = (this.index === start);\n this.advance(); // Skip initial digit.\n while (true) {\n if (isDigit(this.peek)) {\n }\n else if (this.peek == $PERIOD) {\n simple = false;\n }\n else if (isExponentStart(this.peek)) {\n this.advance();\n if (isExponentSign(this.peek))\n this.advance();\n if (!isDigit(this.peek))\n return this.error('Invalid exponent', -1);\n simple = false;\n }\n else {\n break;\n }\n this.advance();\n }\n var str = this.input.substring(start, this.index);\n var value = simple ? NumberWrapper.parseIntAutoRadix(str) : parseFloat(str);\n return newNumberToken(start, value);\n };\n _Scanner.prototype.scanString = function () {\n var start = this.index;\n var quote = this.peek;\n this.advance(); // Skip initial quote.\n var buffer = '';\n var marker = this.index;\n var input = this.input;\n while (this.peek != quote) {\n if (this.peek == $BACKSLASH) {\n buffer += input.substring(marker, this.index);\n this.advance();\n var unescapedCode = void 0;\n if (this.peek == $u) {\n // 4 character hex code for unicode character.\n var hex = input.substring(this.index + 1, this.index + 5);\n if (/^[0-9a-f]+$/i.test(hex)) {\n unescapedCode = parseInt(hex, 16);\n }\n else {\n return this.error(\"Invalid unicode escape [\\\\u\" + hex + \"]\", 0);\n }\n for (var i = 0; i < 5; i++) {\n this.advance();\n }\n }\n else {\n unescapedCode = unescape(this.peek);\n this.advance();\n }\n buffer += String.fromCharCode(unescapedCode);\n marker = this.index;\n }\n else if (this.peek == $EOF) {\n return this.error('Unterminated quote', 0);\n }\n else {\n this.advance();\n }\n }\n var last = input.substring(marker, this.index);\n this.advance(); // Skip terminating quote.\n return newStringToken(start, buffer + last);\n };\n _Scanner.prototype.error = function (message, offset) {\n var position = this.index + offset;\n return newErrorToken(position, \"Lexer Error: \" + message + \" at column \" + position + \" in expression [\" + this.input + \"]\");\n };\n return _Scanner;\n }());\n function isIdentifierStart(code) {\n return ($a <= code && code <= $z) || ($A <= code && code <= $Z) ||\n (code == $_) || (code == $$);\n }\n function isIdentifier(input) {\n if (input.length == 0)\n return false;\n var scanner = new _Scanner(input);\n if (!isIdentifierStart(scanner.peek))\n return false;\n scanner.advance();\n while (scanner.peek !== $EOF) {\n if (!isIdentifierPart(scanner.peek))\n return false;\n scanner.advance();\n }\n return true;\n }\n function isIdentifierPart(code) {\n return isAsciiLetter(code) || isDigit(code) || (code == $_) ||\n (code == $$);\n }\n function isExponentStart(code) {\n return code == $e || code == $E;\n }\n function isExponentSign(code) {\n return code == $MINUS || code == $PLUS;\n }\n function isQuote(code) {\n return code === $SQ || code === $DQ || code === $BT;\n }\n function unescape(code) {\n switch (code) {\n case $n:\n return $LF;\n case $f:\n return $FF;\n case $r:\n return $CR;\n case $t:\n return $TAB;\n case $v:\n return $VTAB;\n default:\n return code;\n }\n }\n\n var SplitInterpolation = (function () {\n function SplitInterpolation(strings, expressions, offsets) {\n this.strings = strings;\n this.expressions = expressions;\n this.offsets = offsets;\n }\n return SplitInterpolation;\n }());\n var TemplateBindingParseResult = (function () {\n function TemplateBindingParseResult(templateBindings, warnings, errors) {\n this.templateBindings = templateBindings;\n this.warnings = warnings;\n this.errors = errors;\n }\n return TemplateBindingParseResult;\n }());\n function _createInterpolateRegExp(config) {\n var pattern = escapeRegExp(config.start) + '([\\\\s\\\\S]*?)' + escapeRegExp(config.end);\n return new RegExp(pattern, 'g');\n }\n var Parser = (function () {\n function Parser(_lexer) {\n this._lexer = _lexer;\n this.errors = [];\n }\n Parser.prototype.parseAction = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n this._checkNoInterpolation(input, location, interpolationConfig);\n var sourceToLex = this._stripComments(input);\n var tokens = this._lexer.tokenize(this._stripComments(input));\n var ast = new _ParseAST(input, location, tokens, sourceToLex.length, true, this.errors, input.length - sourceToLex.length)\n .parseChain();\n return new ASTWithSource(ast, input, location, this.errors);\n };\n Parser.prototype.parseBinding = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var ast = this._parseBindingAst(input, location, interpolationConfig);\n return new ASTWithSource(ast, input, location, this.errors);\n };\n Parser.prototype.parseSimpleBinding = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var ast = this._parseBindingAst(input, location, interpolationConfig);\n var errors = SimpleExpressionChecker.check(ast);\n if (errors.length > 0) {\n this._reportError(\"Host binding expression cannot contain \" + errors.join(' '), input, location);\n }\n return new ASTWithSource(ast, input, location, this.errors);\n };\n Parser.prototype._reportError = function (message, input, errLocation, ctxLocation) {\n this.errors.push(new ParserError(message, input, errLocation, ctxLocation));\n };\n Parser.prototype._parseBindingAst = function (input, location, interpolationConfig) {\n // Quotes expressions use 3rd-party expression language. We don't want to use\n // our lexer or parser for that, so we check for that ahead of time.\n var quote = this._parseQuote(input, location);\n if (isPresent(quote)) {\n return quote;\n }\n this._checkNoInterpolation(input, location, interpolationConfig);\n var sourceToLex = this._stripComments(input);\n var tokens = this._lexer.tokenize(sourceToLex);\n return new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, input.length - sourceToLex.length)\n .parseChain();\n };\n Parser.prototype._parseQuote = function (input, location) {\n if (isBlank(input))\n return null;\n var prefixSeparatorIndex = input.indexOf(':');\n if (prefixSeparatorIndex == -1)\n return null;\n var prefix = input.substring(0, prefixSeparatorIndex).trim();\n if (!isIdentifier(prefix))\n return null;\n var uninterpretedExpression = input.substring(prefixSeparatorIndex + 1);\n return new Quote(new ParseSpan(0, input.length), prefix, uninterpretedExpression, location);\n };\n Parser.prototype.parseTemplateBindings = function (prefixToken, input, location) {\n var tokens = this._lexer.tokenize(input);\n if (prefixToken) {\n // Prefix the tokens with the tokens from prefixToken but have them take no space (0 index).\n var prefixTokens = this._lexer.tokenize(prefixToken).map(function (t) {\n t.index = 0;\n return t;\n });\n tokens.unshift.apply(tokens, prefixTokens);\n }\n return new _ParseAST(input, location, tokens, input.length, false, this.errors, 0)\n .parseTemplateBindings();\n };\n Parser.prototype.parseInterpolation = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var split = this.splitInterpolation(input, location, interpolationConfig);\n if (split == null)\n return null;\n var expressions = [];\n for (var i = 0; i < split.expressions.length; ++i) {\n var expressionText = split.expressions[i];\n var sourceToLex = this._stripComments(expressionText);\n var tokens = this._lexer.tokenize(this._stripComments(split.expressions[i]));\n var ast = new _ParseAST(input, location, tokens, sourceToLex.length, false, this.errors, split.offsets[i] + (expressionText.length - sourceToLex.length))\n .parseChain();\n expressions.push(ast);\n }\n return new ASTWithSource(new Interpolation(new ParseSpan(0, isBlank(input) ? 0 : input.length), split.strings, expressions), input, location, this.errors);\n };\n Parser.prototype.splitInterpolation = function (input, location, interpolationConfig) {\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var regexp = _createInterpolateRegExp(interpolationConfig);\n var parts = input.split(regexp);\n if (parts.length <= 1) {\n return null;\n }\n var strings = [];\n var expressions = [];\n var offsets = [];\n var offset = 0;\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n if (i % 2 === 0) {\n // fixed string\n strings.push(part);\n offset += part.length;\n }\n else if (part.trim().length > 0) {\n offset += interpolationConfig.start.length;\n expressions.push(part);\n offsets.push(offset);\n offset += part.length + interpolationConfig.end.length;\n }\n else {\n this._reportError('Blank expressions are not allowed in interpolated strings', input, \"at column \" + this._findInterpolationErrorColumn(parts, i, interpolationConfig) + \" in\", location);\n expressions.push('$implict');\n offsets.push(offset);\n }\n }\n return new SplitInterpolation(strings, expressions, offsets);\n };\n Parser.prototype.wrapLiteralPrimitive = function (input, location) {\n return new ASTWithSource(new LiteralPrimitive(new ParseSpan(0, isBlank(input) ? 0 : input.length), input), input, location, this.errors);\n };\n Parser.prototype._stripComments = function (input) {\n var i = this._commentStart(input);\n return isPresent(i) ? input.substring(0, i).trim() : input;\n };\n Parser.prototype._commentStart = function (input) {\n var outerQuote = null;\n for (var i = 0; i < input.length - 1; i++) {\n var char = input.charCodeAt(i);\n var nextChar = input.charCodeAt(i + 1);\n if (char === $SLASH && nextChar == $SLASH && isBlank(outerQuote))\n return i;\n if (outerQuote === char) {\n outerQuote = null;\n }\n else if (isBlank(outerQuote) && isQuote(char)) {\n outerQuote = char;\n }\n }\n return null;\n };\n Parser.prototype._checkNoInterpolation = function (input, location, interpolationConfig) {\n var regexp = _createInterpolateRegExp(interpolationConfig);\n var parts = input.split(regexp);\n if (parts.length > 1) {\n this._reportError(\"Got interpolation (\" + interpolationConfig.start + interpolationConfig.end + \") where expression was expected\", input, \"at column \" + this._findInterpolationErrorColumn(parts, 1, interpolationConfig) + \" in\", location);\n }\n };\n Parser.prototype._findInterpolationErrorColumn = function (parts, partInErrIdx, interpolationConfig) {\n var errLocation = '';\n for (var j = 0; j < partInErrIdx; j++) {\n errLocation += j % 2 === 0 ?\n parts[j] :\n \"\" + interpolationConfig.start + parts[j] + interpolationConfig.end;\n }\n return errLocation.length;\n };\n Parser.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n Parser.ctorParameters = [\n { type: Lexer, },\n ];\n return Parser;\n }());\n var _ParseAST = (function () {\n function _ParseAST(input, location, tokens, inputLength, parseAction, errors, offset) {\n this.input = input;\n this.location = location;\n this.tokens = tokens;\n this.inputLength = inputLength;\n this.parseAction = parseAction;\n this.errors = errors;\n this.offset = offset;\n this.rparensExpected = 0;\n this.rbracketsExpected = 0;\n this.rbracesExpected = 0;\n this.index = 0;\n }\n _ParseAST.prototype.peek = function (offset) {\n var i = this.index + offset;\n return i < this.tokens.length ? this.tokens[i] : EOF;\n };\n Object.defineProperty(_ParseAST.prototype, \"next\", {\n get: function () { return this.peek(0); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(_ParseAST.prototype, \"inputIndex\", {\n get: function () {\n return (this.index < this.tokens.length) ? this.next.index + this.offset :\n this.inputLength + this.offset;\n },\n enumerable: true,\n configurable: true\n });\n _ParseAST.prototype.span = function (start) { return new ParseSpan(start, this.inputIndex); };\n _ParseAST.prototype.advance = function () { this.index++; };\n _ParseAST.prototype.optionalCharacter = function (code) {\n if (this.next.isCharacter(code)) {\n this.advance();\n return true;\n }\n else {\n return false;\n }\n };\n _ParseAST.prototype.peekKeywordLet = function () { return this.next.isKeywordLet(); };\n _ParseAST.prototype.expectCharacter = function (code) {\n if (this.optionalCharacter(code))\n return;\n this.error(\"Missing expected \" + String.fromCharCode(code));\n };\n _ParseAST.prototype.optionalOperator = function (op) {\n if (this.next.isOperator(op)) {\n this.advance();\n return true;\n }\n else {\n return false;\n }\n };\n _ParseAST.prototype.expectOperator = function (operator) {\n if (this.optionalOperator(operator))\n return;\n this.error(\"Missing expected operator \" + operator);\n };\n _ParseAST.prototype.expectIdentifierOrKeyword = function () {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword()) {\n this.error(\"Unexpected token \" + n + \", expected identifier or keyword\");\n return '';\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.expectIdentifierOrKeywordOrString = function () {\n var n = this.next;\n if (!n.isIdentifier() && !n.isKeyword() && !n.isString()) {\n this.error(\"Unexpected token \" + n + \", expected identifier, keyword, or string\");\n return '';\n }\n this.advance();\n return n.toString();\n };\n _ParseAST.prototype.parseChain = function () {\n var exprs = [];\n var start = this.inputIndex;\n while (this.index < this.tokens.length) {\n var expr = this.parsePipe();\n exprs.push(expr);\n if (this.optionalCharacter($SEMICOLON)) {\n if (!this.parseAction) {\n this.error('Binding expression cannot contain chained expression');\n }\n while (this.optionalCharacter($SEMICOLON)) {\n } // read all semicolons\n }\n else if (this.index < this.tokens.length) {\n this.error(\"Unexpected token '\" + this.next + \"'\");\n }\n }\n if (exprs.length == 0)\n return new EmptyExpr(this.span(start));\n if (exprs.length == 1)\n return exprs[0];\n return new Chain(this.span(start), exprs);\n };\n _ParseAST.prototype.parsePipe = function () {\n var result = this.parseExpression();\n if (this.optionalOperator('|')) {\n if (this.parseAction) {\n this.error('Cannot have a pipe in an action expression');\n }\n do {\n var name_1 = this.expectIdentifierOrKeyword();\n var args = [];\n while (this.optionalCharacter($COLON)) {\n args.push(this.parseExpression());\n }\n result = new BindingPipe(this.span(result.span.start - this.offset), result, name_1, args);\n } while (this.optionalOperator('|'));\n }\n return result;\n };\n _ParseAST.prototype.parseExpression = function () { return this.parseConditional(); };\n _ParseAST.prototype.parseConditional = function () {\n var start = this.inputIndex;\n var result = this.parseLogicalOr();\n if (this.optionalOperator('?')) {\n var yes = this.parsePipe();\n var no = void 0;\n if (!this.optionalCharacter($COLON)) {\n var end = this.inputIndex;\n var expression = this.input.substring(start, end);\n this.error(\"Conditional expression \" + expression + \" requires all 3 expressions\");\n no = new EmptyExpr(this.span(start));\n }\n else {\n no = this.parsePipe();\n }\n return new Conditional(this.span(start), result, yes, no);\n }\n else {\n return result;\n }\n };\n _ParseAST.prototype.parseLogicalOr = function () {\n // '||'\n var result = this.parseLogicalAnd();\n while (this.optionalOperator('||')) {\n var right = this.parseLogicalAnd();\n result = new Binary(this.span(result.span.start), '||', result, right);\n }\n return result;\n };\n _ParseAST.prototype.parseLogicalAnd = function () {\n // '&&'\n var result = this.parseEquality();\n while (this.optionalOperator('&&')) {\n var right = this.parseEquality();\n result = new Binary(this.span(result.span.start), '&&', result, right);\n }\n return result;\n };\n _ParseAST.prototype.parseEquality = function () {\n // '==','!=','===','!=='\n var result = this.parseRelational();\n while (this.next.type == exports.TokenType.Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '==':\n case '===':\n case '!=':\n case '!==':\n this.advance();\n var right = this.parseRelational();\n result = new Binary(this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseRelational = function () {\n // '<', '>', '<=', '>='\n var result = this.parseAdditive();\n while (this.next.type == exports.TokenType.Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '<':\n case '>':\n case '<=':\n case '>=':\n this.advance();\n var right = this.parseAdditive();\n result = new Binary(this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseAdditive = function () {\n // '+', '-'\n var result = this.parseMultiplicative();\n while (this.next.type == exports.TokenType.Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '+':\n case '-':\n this.advance();\n var right = this.parseMultiplicative();\n result = new Binary(this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parseMultiplicative = function () {\n // '*', '%', '/'\n var result = this.parsePrefix();\n while (this.next.type == exports.TokenType.Operator) {\n var operator = this.next.strValue;\n switch (operator) {\n case '*':\n case '%':\n case '/':\n this.advance();\n var right = this.parsePrefix();\n result = new Binary(this.span(result.span.start), operator, result, right);\n continue;\n }\n break;\n }\n return result;\n };\n _ParseAST.prototype.parsePrefix = function () {\n if (this.next.type == exports.TokenType.Operator) {\n var start = this.inputIndex;\n var operator = this.next.strValue;\n var result = void 0;\n switch (operator) {\n case '+':\n this.advance();\n return this.parsePrefix();\n case '-':\n this.advance();\n result = this.parsePrefix();\n return new Binary(this.span(start), operator, new LiteralPrimitive(new ParseSpan(start, start), 0), result);\n case '!':\n this.advance();\n result = this.parsePrefix();\n return new PrefixNot(this.span(start), result);\n }\n }\n return this.parseCallChain();\n };\n _ParseAST.prototype.parseCallChain = function () {\n var result = this.parsePrimary();\n while (true) {\n if (this.optionalCharacter($PERIOD)) {\n result = this.parseAccessMemberOrMethodCall(result, false);\n }\n else if (this.optionalOperator('?.')) {\n result = this.parseAccessMemberOrMethodCall(result, true);\n }\n else if (this.optionalCharacter($LBRACKET)) {\n this.rbracketsExpected++;\n var key = this.parsePipe();\n this.rbracketsExpected--;\n this.expectCharacter($RBRACKET);\n if (this.optionalOperator('=')) {\n var value = this.parseConditional();\n result = new KeyedWrite(this.span(result.span.start), result, key, value);\n }\n else {\n result = new KeyedRead(this.span(result.span.start), result, key);\n }\n }\n else if (this.optionalCharacter($LPAREN)) {\n this.rparensExpected++;\n var args = this.parseCallArguments();\n this.rparensExpected--;\n this.expectCharacter($RPAREN);\n result = new FunctionCall(this.span(result.span.start), result, args);\n }\n else {\n return result;\n }\n }\n };\n _ParseAST.prototype.parsePrimary = function () {\n var start = this.inputIndex;\n if (this.optionalCharacter($LPAREN)) {\n this.rparensExpected++;\n var result = this.parsePipe();\n this.rparensExpected--;\n this.expectCharacter($RPAREN);\n return result;\n }\n else if (this.next.isKeywordNull()) {\n this.advance();\n return new LiteralPrimitive(this.span(start), null);\n }\n else if (this.next.isKeywordUndefined()) {\n this.advance();\n return new LiteralPrimitive(this.span(start), void 0);\n }\n else if (this.next.isKeywordTrue()) {\n this.advance();\n return new LiteralPrimitive(this.span(start), true);\n }\n else if (this.next.isKeywordFalse()) {\n this.advance();\n return new LiteralPrimitive(this.span(start), false);\n }\n else if (this.next.isKeywordThis()) {\n this.advance();\n return new ImplicitReceiver(this.span(start));\n }\n else if (this.optionalCharacter($LBRACKET)) {\n this.rbracketsExpected++;\n var elements = this.parseExpressionList($RBRACKET);\n this.rbracketsExpected--;\n this.expectCharacter($RBRACKET);\n return new LiteralArray(this.span(start), elements);\n }\n else if (this.next.isCharacter($LBRACE)) {\n return this.parseLiteralMap();\n }\n else if (this.next.isIdentifier()) {\n return this.parseAccessMemberOrMethodCall(new ImplicitReceiver(this.span(start)), false);\n }\n else if (this.next.isNumber()) {\n var value = this.next.toNumber();\n this.advance();\n return new LiteralPrimitive(this.span(start), value);\n }\n else if (this.next.isString()) {\n var literalValue = this.next.toString();\n this.advance();\n return new LiteralPrimitive(this.span(start), literalValue);\n }\n else if (this.index >= this.tokens.length) {\n this.error(\"Unexpected end of expression: \" + this.input);\n return new EmptyExpr(this.span(start));\n }\n else {\n this.error(\"Unexpected token \" + this.next);\n return new EmptyExpr(this.span(start));\n }\n };\n _ParseAST.prototype.parseExpressionList = function (terminator) {\n var result = [];\n if (!this.next.isCharacter(terminator)) {\n do {\n result.push(this.parsePipe());\n } while (this.optionalCharacter($COMMA));\n }\n return result;\n };\n _ParseAST.prototype.parseLiteralMap = function () {\n var keys = [];\n var values = [];\n var start = this.inputIndex;\n this.expectCharacter($LBRACE);\n if (!this.optionalCharacter($RBRACE)) {\n this.rbracesExpected++;\n do {\n var key = this.expectIdentifierOrKeywordOrString();\n keys.push(key);\n this.expectCharacter($COLON);\n values.push(this.parsePipe());\n } while (this.optionalCharacter($COMMA));\n this.rbracesExpected--;\n this.expectCharacter($RBRACE);\n }\n return new LiteralMap(this.span(start), keys, values);\n };\n _ParseAST.prototype.parseAccessMemberOrMethodCall = function (receiver, isSafe) {\n if (isSafe === void 0) { isSafe = false; }\n var start = receiver.span.start;\n var id = this.expectIdentifierOrKeyword();\n if (this.optionalCharacter($LPAREN)) {\n this.rparensExpected++;\n var args = this.parseCallArguments();\n this.expectCharacter($RPAREN);\n this.rparensExpected--;\n var span = this.span(start);\n return isSafe ? new SafeMethodCall(span, receiver, id, args) :\n new MethodCall(span, receiver, id, args);\n }\n else {\n if (isSafe) {\n if (this.optionalOperator('=')) {\n this.error('The \\'?.\\' operator cannot be used in the assignment');\n return new EmptyExpr(this.span(start));\n }\n else {\n return new SafePropertyRead(this.span(start), receiver, id);\n }\n }\n else {\n if (this.optionalOperator('=')) {\n if (!this.parseAction) {\n this.error('Bindings cannot contain assignments');\n return new EmptyExpr(this.span(start));\n }\n var value = this.parseConditional();\n return new PropertyWrite(this.span(start), receiver, id, value);\n }\n else {\n return new PropertyRead(this.span(start), receiver, id);\n }\n }\n }\n };\n _ParseAST.prototype.parseCallArguments = function () {\n if (this.next.isCharacter($RPAREN))\n return [];\n var positionals = [];\n do {\n positionals.push(this.parsePipe());\n } while (this.optionalCharacter($COMMA));\n return positionals;\n };\n /**\n * An identifier, a keyword, a string with an optional `-` inbetween.\n */\n _ParseAST.prototype.expectTemplateBindingKey = function () {\n var result = '';\n var operatorFound = false;\n do {\n result += this.expectIdentifierOrKeywordOrString();\n operatorFound = this.optionalOperator('-');\n if (operatorFound) {\n result += '-';\n }\n } while (operatorFound);\n return result.toString();\n };\n _ParseAST.prototype.parseTemplateBindings = function () {\n var bindings = [];\n var prefix = null;\n var warnings = [];\n while (this.index < this.tokens.length) {\n var start = this.inputIndex;\n var keyIsVar = this.peekKeywordLet();\n if (keyIsVar) {\n this.advance();\n }\n var key = this.expectTemplateBindingKey();\n if (!keyIsVar) {\n if (prefix == null) {\n prefix = key;\n }\n else {\n key = prefix + key[0].toUpperCase() + key.substring(1);\n }\n }\n this.optionalCharacter($COLON);\n var name_2 = null;\n var expression = null;\n if (keyIsVar) {\n if (this.optionalOperator('=')) {\n name_2 = this.expectTemplateBindingKey();\n }\n else {\n name_2 = '\\$implicit';\n }\n }\n else if (this.next !== EOF && !this.peekKeywordLet()) {\n var start_1 = this.inputIndex;\n var ast = this.parsePipe();\n var source = this.input.substring(start_1 - this.offset, this.inputIndex - this.offset);\n expression = new ASTWithSource(ast, source, this.location, this.errors);\n }\n bindings.push(new TemplateBinding(this.span(start), key, keyIsVar, name_2, expression));\n if (!this.optionalCharacter($SEMICOLON)) {\n this.optionalCharacter($COMMA);\n }\n }\n return new TemplateBindingParseResult(bindings, warnings, this.errors);\n };\n _ParseAST.prototype.error = function (message, index) {\n if (index === void 0) { index = null; }\n this.errors.push(new ParserError(message, this.input, this.locationText(index), this.location));\n this.skip();\n };\n _ParseAST.prototype.locationText = function (index) {\n if (index === void 0) { index = null; }\n if (isBlank(index))\n index = this.index;\n return (index < this.tokens.length) ? \"at column \" + (this.tokens[index].index + 1) + \" in\" :\n \"at the end of the expression\";\n };\n // Error recovery should skip tokens until it encounters a recovery point. skip() treats\n // the end of input and a ';' as unconditionally a recovery point. It also treats ')',\n // '}' and ']' as conditional recovery points if one of calling productions is expecting\n // one of these symbols. This allows skip() to recover from errors such as '(a.) + 1' allowing\n // more of the AST to be retained (it doesn't skip any tokens as the ')' is retained because\n // of the '(' begins an '(' <expr> ')' production). The recovery points of grouping symbols\n // must be conditional as they must be skipped if none of the calling productions are not\n // expecting the closing token else we will never make progress in the case of an\n // extraneous group closing symbol (such as a stray ')'). This is not the case for ';' because\n // parseChain() is always the root production and it expects a ';'.\n // If a production expects one of these token it increments the corresponding nesting count,\n // and then decrements it just prior to checking if the token is in the input.\n _ParseAST.prototype.skip = function () {\n var n = this.next;\n while (this.index < this.tokens.length && !n.isCharacter($SEMICOLON) &&\n (this.rparensExpected <= 0 || !n.isCharacter($RPAREN)) &&\n (this.rbracesExpected <= 0 || !n.isCharacter($RBRACE)) &&\n (this.rbracketsExpected <= 0 || !n.isCharacter($RBRACKET))) {\n if (this.next.isError()) {\n this.errors.push(new ParserError(this.next.toString(), this.input, this.locationText(), this.location));\n }\n this.advance();\n n = this.next;\n }\n };\n return _ParseAST;\n }());\n var SimpleExpressionChecker = (function () {\n function SimpleExpressionChecker() {\n this.errors = [];\n }\n SimpleExpressionChecker.check = function (ast) {\n var s = new SimpleExpressionChecker();\n ast.visit(s);\n return s.errors;\n };\n SimpleExpressionChecker.prototype.visitImplicitReceiver = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitInterpolation = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitLiteralPrimitive = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPropertyRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPropertyWrite = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitSafePropertyRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitMethodCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitSafeMethodCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitFunctionCall = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitLiteralArray = function (ast, context) { this.visitAll(ast.expressions); };\n SimpleExpressionChecker.prototype.visitLiteralMap = function (ast, context) { this.visitAll(ast.values); };\n SimpleExpressionChecker.prototype.visitBinary = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPrefixNot = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitConditional = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitPipe = function (ast, context) { this.errors.push('pipes'); };\n SimpleExpressionChecker.prototype.visitKeyedRead = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitKeyedWrite = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitAll = function (asts) {\n var _this = this;\n return asts.map(function (node) { return node.visit(_this); });\n };\n SimpleExpressionChecker.prototype.visitChain = function (ast, context) { };\n SimpleExpressionChecker.prototype.visitQuote = function (ast, context) { };\n return SimpleExpressionChecker;\n }());\n\n var ParseLocation = (function () {\n function ParseLocation(file, offset, line, col) {\n this.file = file;\n this.offset = offset;\n this.line = line;\n this.col = col;\n }\n ParseLocation.prototype.toString = function () {\n return isPresent(this.offset) ? this.file.url + \"@\" + this.line + \":\" + this.col : this.file.url;\n };\n return ParseLocation;\n }());\n var ParseSourceFile = (function () {\n function ParseSourceFile(content, url) {\n this.content = content;\n this.url = url;\n }\n return ParseSourceFile;\n }());\n var ParseSourceSpan = (function () {\n function ParseSourceSpan(start, end, details) {\n if (details === void 0) { details = null; }\n this.start = start;\n this.end = end;\n this.details = details;\n }\n ParseSourceSpan.prototype.toString = function () {\n return this.start.file.content.substring(this.start.offset, this.end.offset);\n };\n return ParseSourceSpan;\n }());\n exports.ParseErrorLevel;\n (function (ParseErrorLevel) {\n ParseErrorLevel[ParseErrorLevel[\"WARNING\"] = 0] = \"WARNING\";\n ParseErrorLevel[ParseErrorLevel[\"FATAL\"] = 1] = \"FATAL\";\n })(exports.ParseErrorLevel || (exports.ParseErrorLevel = {}));\n var ParseError = (function () {\n function ParseError(span, msg, level) {\n if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n this.span = span;\n this.msg = msg;\n this.level = level;\n }\n ParseError.prototype.toString = function () {\n var source = this.span.start.file.content;\n var ctxStart = this.span.start.offset;\n var contextStr = '';\n var details = '';\n if (isPresent(ctxStart)) {\n if (ctxStart > source.length - 1) {\n ctxStart = source.length - 1;\n }\n var ctxEnd = ctxStart;\n var ctxLen = 0;\n var ctxLines = 0;\n while (ctxLen < 100 && ctxStart > 0) {\n ctxStart--;\n ctxLen++;\n if (source[ctxStart] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n ctxLen = 0;\n ctxLines = 0;\n while (ctxLen < 100 && ctxEnd < source.length - 1) {\n ctxEnd++;\n ctxLen++;\n if (source[ctxEnd] == '\\n') {\n if (++ctxLines == 3) {\n break;\n }\n }\n }\n var context = source.substring(ctxStart, this.span.start.offset) + '[ERROR ->]' +\n source.substring(this.span.start.offset, ctxEnd + 1);\n contextStr = \" (\\\"\" + context + \"\\\")\";\n }\n if (this.span.details) {\n details = \", \" + this.span.details;\n }\n return \"\" + this.msg + contextStr + \": \" + this.span.start + details;\n };\n return ParseError;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Text = (function () {\n function Text(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n Text.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return Text;\n }());\n var Expansion = (function () {\n function Expansion(switchValue, type, cases, sourceSpan, switchValueSourceSpan) {\n this.switchValue = switchValue;\n this.type = type;\n this.cases = cases;\n this.sourceSpan = sourceSpan;\n this.switchValueSourceSpan = switchValueSourceSpan;\n }\n Expansion.prototype.visit = function (visitor, context) { return visitor.visitExpansion(this, context); };\n return Expansion;\n }());\n var ExpansionCase = (function () {\n function ExpansionCase(value, expression, sourceSpan, valueSourceSpan, expSourceSpan) {\n this.value = value;\n this.expression = expression;\n this.sourceSpan = sourceSpan;\n this.valueSourceSpan = valueSourceSpan;\n this.expSourceSpan = expSourceSpan;\n }\n ExpansionCase.prototype.visit = function (visitor, context) { return visitor.visitExpansionCase(this, context); };\n return ExpansionCase;\n }());\n var Attribute$1 = (function () {\n function Attribute(name, value, sourceSpan, valueSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n this.valueSpan = valueSpan;\n }\n Attribute.prototype.visit = function (visitor, context) { return visitor.visitAttribute(this, context); };\n return Attribute;\n }());\n var Element = (function () {\n function Element(name, attrs, children, sourceSpan, startSourceSpan, endSourceSpan) {\n this.name = name;\n this.attrs = attrs;\n this.children = children;\n this.sourceSpan = sourceSpan;\n this.startSourceSpan = startSourceSpan;\n this.endSourceSpan = endSourceSpan;\n }\n Element.prototype.visit = function (visitor, context) { return visitor.visitElement(this, context); };\n return Element;\n }());\n var Comment = (function () {\n function Comment(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n Comment.prototype.visit = function (visitor, context) { return visitor.visitComment(this, context); };\n return Comment;\n }());\n function visitAll(visitor, nodes, context) {\n if (context === void 0) { context = null; }\n var result = [];\n var visit = visitor.visit ?\n function (ast) { return visitor.visit(ast, context) || ast.visit(visitor, context); } :\n function (ast) { return ast.visit(visitor, context); };\n nodes.forEach(function (ast) {\n var astResult = visit(ast);\n if (astResult) {\n result.push(astResult);\n }\n });\n return result;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var TagContentType;\n (function (TagContentType) {\n TagContentType[TagContentType[\"RAW_TEXT\"] = 0] = \"RAW_TEXT\";\n TagContentType[TagContentType[\"ESCAPABLE_RAW_TEXT\"] = 1] = \"ESCAPABLE_RAW_TEXT\";\n TagContentType[TagContentType[\"PARSABLE_DATA\"] = 2] = \"PARSABLE_DATA\";\n })(TagContentType || (TagContentType = {}));\n function splitNsName(elementName) {\n if (elementName[0] != ':') {\n return [null, elementName];\n }\n var colonIndex = elementName.indexOf(':', 1);\n if (colonIndex == -1) {\n throw new Error(\"Unsupported format \\\"\" + elementName + \"\\\" expecting \\\":namespace:name\\\"\");\n }\n return [elementName.slice(1, colonIndex), elementName.slice(colonIndex + 1)];\n }\n function getNsPrefix(fullName) {\n return fullName === null ? null : splitNsName(fullName)[0];\n }\n function mergeNsAndName(prefix, localName) {\n return prefix ? \":\" + prefix + \":\" + localName : localName;\n }\n // see http://www.w3.org/TR/html51/syntax.html#named-character-references\n // see https://html.spec.whatwg.org/multipage/entities.json\n // This list is not exhaustive to keep the compiler footprint low.\n // The `{` / `ƫ` syntax should be used when the named character reference does not exist.\n var NAMED_ENTITIES = {\n 'Aacute': '\\u00C1',\n 'aacute': '\\u00E1',\n 'Acirc': '\\u00C2',\n 'acirc': '\\u00E2',\n 'acute': '\\u00B4',\n 'AElig': '\\u00C6',\n 'aelig': '\\u00E6',\n 'Agrave': '\\u00C0',\n 'agrave': '\\u00E0',\n 'alefsym': '\\u2135',\n 'Alpha': '\\u0391',\n 'alpha': '\\u03B1',\n 'amp': '&',\n 'and': '\\u2227',\n 'ang': '\\u2220',\n 'apos': '\\u0027',\n 'Aring': '\\u00C5',\n 'aring': '\\u00E5',\n 'asymp': '\\u2248',\n 'Atilde': '\\u00C3',\n 'atilde': '\\u00E3',\n 'Auml': '\\u00C4',\n 'auml': '\\u00E4',\n 'bdquo': '\\u201E',\n 'Beta': '\\u0392',\n 'beta': '\\u03B2',\n 'brvbar': '\\u00A6',\n 'bull': '\\u2022',\n 'cap': '\\u2229',\n 'Ccedil': '\\u00C7',\n 'ccedil': '\\u00E7',\n 'cedil': '\\u00B8',\n 'cent': '\\u00A2',\n 'Chi': '\\u03A7',\n 'chi': '\\u03C7',\n 'circ': '\\u02C6',\n 'clubs': '\\u2663',\n 'cong': '\\u2245',\n 'copy': '\\u00A9',\n 'crarr': '\\u21B5',\n 'cup': '\\u222A',\n 'curren': '\\u00A4',\n 'dagger': '\\u2020',\n 'Dagger': '\\u2021',\n 'darr': '\\u2193',\n 'dArr': '\\u21D3',\n 'deg': '\\u00B0',\n 'Delta': '\\u0394',\n 'delta': '\\u03B4',\n 'diams': '\\u2666',\n 'divide': '\\u00F7',\n 'Eacute': '\\u00C9',\n 'eacute': '\\u00E9',\n 'Ecirc': '\\u00CA',\n 'ecirc': '\\u00EA',\n 'Egrave': '\\u00C8',\n 'egrave': '\\u00E8',\n 'empty': '\\u2205',\n 'emsp': '\\u2003',\n 'ensp': '\\u2002',\n 'Epsilon': '\\u0395',\n 'epsilon': '\\u03B5',\n 'equiv': '\\u2261',\n 'Eta': '\\u0397',\n 'eta': '\\u03B7',\n 'ETH': '\\u00D0',\n 'eth': '\\u00F0',\n 'Euml': '\\u00CB',\n 'euml': '\\u00EB',\n 'euro': '\\u20AC',\n 'exist': '\\u2203',\n 'fnof': '\\u0192',\n 'forall': '\\u2200',\n 'frac12': '\\u00BD',\n 'frac14': '\\u00BC',\n 'frac34': '\\u00BE',\n 'frasl': '\\u2044',\n 'Gamma': '\\u0393',\n 'gamma': '\\u03B3',\n 'ge': '\\u2265',\n 'gt': '>',\n 'harr': '\\u2194',\n 'hArr': '\\u21D4',\n 'hearts': '\\u2665',\n 'hellip': '\\u2026',\n 'Iacute': '\\u00CD',\n 'iacute': '\\u00ED',\n 'Icirc': '\\u00CE',\n 'icirc': '\\u00EE',\n 'iexcl': '\\u00A1',\n 'Igrave': '\\u00CC',\n 'igrave': '\\u00EC',\n 'image': '\\u2111',\n 'infin': '\\u221E',\n 'int': '\\u222B',\n 'Iota': '\\u0399',\n 'iota': '\\u03B9',\n 'iquest': '\\u00BF',\n 'isin': '\\u2208',\n 'Iuml': '\\u00CF',\n 'iuml': '\\u00EF',\n 'Kappa': '\\u039A',\n 'kappa': '\\u03BA',\n 'Lambda': '\\u039B',\n 'lambda': '\\u03BB',\n 'lang': '\\u27E8',\n 'laquo': '\\u00AB',\n 'larr': '\\u2190',\n 'lArr': '\\u21D0',\n 'lceil': '\\u2308',\n 'ldquo': '\\u201C',\n 'le': '\\u2264',\n 'lfloor': '\\u230A',\n 'lowast': '\\u2217',\n 'loz': '\\u25CA',\n 'lrm': '\\u200E',\n 'lsaquo': '\\u2039',\n 'lsquo': '\\u2018',\n 'lt': '<',\n 'macr': '\\u00AF',\n 'mdash': '\\u2014',\n 'micro': '\\u00B5',\n 'middot': '\\u00B7',\n 'minus': '\\u2212',\n 'Mu': '\\u039C',\n 'mu': '\\u03BC',\n 'nabla': '\\u2207',\n 'nbsp': '\\u00A0',\n 'ndash': '\\u2013',\n 'ne': '\\u2260',\n 'ni': '\\u220B',\n 'not': '\\u00AC',\n 'notin': '\\u2209',\n 'nsub': '\\u2284',\n 'Ntilde': '\\u00D1',\n 'ntilde': '\\u00F1',\n 'Nu': '\\u039D',\n 'nu': '\\u03BD',\n 'Oacute': '\\u00D3',\n 'oacute': '\\u00F3',\n 'Ocirc': '\\u00D4',\n 'ocirc': '\\u00F4',\n 'OElig': '\\u0152',\n 'oelig': '\\u0153',\n 'Ograve': '\\u00D2',\n 'ograve': '\\u00F2',\n 'oline': '\\u203E',\n 'Omega': '\\u03A9',\n 'omega': '\\u03C9',\n 'Omicron': '\\u039F',\n 'omicron': '\\u03BF',\n 'oplus': '\\u2295',\n 'or': '\\u2228',\n 'ordf': '\\u00AA',\n 'ordm': '\\u00BA',\n 'Oslash': '\\u00D8',\n 'oslash': '\\u00F8',\n 'Otilde': '\\u00D5',\n 'otilde': '\\u00F5',\n 'otimes': '\\u2297',\n 'Ouml': '\\u00D6',\n 'ouml': '\\u00F6',\n 'para': '\\u00B6',\n 'permil': '\\u2030',\n 'perp': '\\u22A5',\n 'Phi': '\\u03A6',\n 'phi': '\\u03C6',\n 'Pi': '\\u03A0',\n 'pi': '\\u03C0',\n 'piv': '\\u03D6',\n 'plusmn': '\\u00B1',\n 'pound': '\\u00A3',\n 'prime': '\\u2032',\n 'Prime': '\\u2033',\n 'prod': '\\u220F',\n 'prop': '\\u221D',\n 'Psi': '\\u03A8',\n 'psi': '\\u03C8',\n 'quot': '\\u0022',\n 'radic': '\\u221A',\n 'rang': '\\u27E9',\n 'raquo': '\\u00BB',\n 'rarr': '\\u2192',\n 'rArr': '\\u21D2',\n 'rceil': '\\u2309',\n 'rdquo': '\\u201D',\n 'real': '\\u211C',\n 'reg': '\\u00AE',\n 'rfloor': '\\u230B',\n 'Rho': '\\u03A1',\n 'rho': '\\u03C1',\n 'rlm': '\\u200F',\n 'rsaquo': '\\u203A',\n 'rsquo': '\\u2019',\n 'sbquo': '\\u201A',\n 'Scaron': '\\u0160',\n 'scaron': '\\u0161',\n 'sdot': '\\u22C5',\n 'sect': '\\u00A7',\n 'shy': '\\u00AD',\n 'Sigma': '\\u03A3',\n 'sigma': '\\u03C3',\n 'sigmaf': '\\u03C2',\n 'sim': '\\u223C',\n 'spades': '\\u2660',\n 'sub': '\\u2282',\n 'sube': '\\u2286',\n 'sum': '\\u2211',\n 'sup': '\\u2283',\n 'sup1': '\\u00B9',\n 'sup2': '\\u00B2',\n 'sup3': '\\u00B3',\n 'supe': '\\u2287',\n 'szlig': '\\u00DF',\n 'Tau': '\\u03A4',\n 'tau': '\\u03C4',\n 'there4': '\\u2234',\n 'Theta': '\\u0398',\n 'theta': '\\u03B8',\n 'thetasym': '\\u03D1',\n 'thinsp': '\\u2009',\n 'THORN': '\\u00DE',\n 'thorn': '\\u00FE',\n 'tilde': '\\u02DC',\n 'times': '\\u00D7',\n 'trade': '\\u2122',\n 'Uacute': '\\u00DA',\n 'uacute': '\\u00FA',\n 'uarr': '\\u2191',\n 'uArr': '\\u21D1',\n 'Ucirc': '\\u00DB',\n 'ucirc': '\\u00FB',\n 'Ugrave': '\\u00D9',\n 'ugrave': '\\u00F9',\n 'uml': '\\u00A8',\n 'upsih': '\\u03D2',\n 'Upsilon': '\\u03A5',\n 'upsilon': '\\u03C5',\n 'Uuml': '\\u00DC',\n 'uuml': '\\u00FC',\n 'weierp': '\\u2118',\n 'Xi': '\\u039E',\n 'xi': '\\u03BE',\n 'Yacute': '\\u00DD',\n 'yacute': '\\u00FD',\n 'yen': '\\u00A5',\n 'yuml': '\\u00FF',\n 'Yuml': '\\u0178',\n 'Zeta': '\\u0396',\n 'zeta': '\\u03B6',\n 'zwj': '\\u200D',\n 'zwnj': '\\u200C',\n };\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var TokenType$1;\n (function (TokenType) {\n TokenType[TokenType[\"TAG_OPEN_START\"] = 0] = \"TAG_OPEN_START\";\n TokenType[TokenType[\"TAG_OPEN_END\"] = 1] = \"TAG_OPEN_END\";\n TokenType[TokenType[\"TAG_OPEN_END_VOID\"] = 2] = \"TAG_OPEN_END_VOID\";\n TokenType[TokenType[\"TAG_CLOSE\"] = 3] = \"TAG_CLOSE\";\n TokenType[TokenType[\"TEXT\"] = 4] = \"TEXT\";\n TokenType[TokenType[\"ESCAPABLE_RAW_TEXT\"] = 5] = \"ESCAPABLE_RAW_TEXT\";\n TokenType[TokenType[\"RAW_TEXT\"] = 6] = \"RAW_TEXT\";\n TokenType[TokenType[\"COMMENT_START\"] = 7] = \"COMMENT_START\";\n TokenType[TokenType[\"COMMENT_END\"] = 8] = \"COMMENT_END\";\n TokenType[TokenType[\"CDATA_START\"] = 9] = \"CDATA_START\";\n TokenType[TokenType[\"CDATA_END\"] = 10] = \"CDATA_END\";\n TokenType[TokenType[\"ATTR_NAME\"] = 11] = \"ATTR_NAME\";\n TokenType[TokenType[\"ATTR_VALUE\"] = 12] = \"ATTR_VALUE\";\n TokenType[TokenType[\"DOC_TYPE\"] = 13] = \"DOC_TYPE\";\n TokenType[TokenType[\"EXPANSION_FORM_START\"] = 14] = \"EXPANSION_FORM_START\";\n TokenType[TokenType[\"EXPANSION_CASE_VALUE\"] = 15] = \"EXPANSION_CASE_VALUE\";\n TokenType[TokenType[\"EXPANSION_CASE_EXP_START\"] = 16] = \"EXPANSION_CASE_EXP_START\";\n TokenType[TokenType[\"EXPANSION_CASE_EXP_END\"] = 17] = \"EXPANSION_CASE_EXP_END\";\n TokenType[TokenType[\"EXPANSION_FORM_END\"] = 18] = \"EXPANSION_FORM_END\";\n TokenType[TokenType[\"EOF\"] = 19] = \"EOF\";\n })(TokenType$1 || (TokenType$1 = {}));\n var Token$1 = (function () {\n function Token(type, parts, sourceSpan) {\n this.type = type;\n this.parts = parts;\n this.sourceSpan = sourceSpan;\n }\n return Token;\n }());\n var TokenError = (function (_super) {\n __extends$3(TokenError, _super);\n function TokenError(errorMsg, tokenType, span) {\n _super.call(this, span, errorMsg);\n this.tokenType = tokenType;\n }\n return TokenError;\n }(ParseError));\n var TokenizeResult = (function () {\n function TokenizeResult(tokens, errors) {\n this.tokens = tokens;\n this.errors = errors;\n }\n return TokenizeResult;\n }());\n function tokenize(source, url, getTagDefinition, tokenizeExpansionForms, interpolationConfig) {\n if (tokenizeExpansionForms === void 0) { tokenizeExpansionForms = false; }\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n return new _Tokenizer(new ParseSourceFile(source, url), getTagDefinition, tokenizeExpansionForms, interpolationConfig)\n .tokenize();\n }\n var _CR_OR_CRLF_REGEXP = /\\r\\n?/g;\n function _unexpectedCharacterErrorMsg(charCode) {\n var char = charCode === $EOF ? 'EOF' : String.fromCharCode(charCode);\n return \"Unexpected character \\\"\" + char + \"\\\"\";\n }\n function _unknownEntityErrorMsg(entitySrc) {\n return \"Unknown entity \\\"\" + entitySrc + \"\\\" - use the \\\"&#<decimal>;\\\" or \\\"&#x<hex>;\\\" syntax\";\n }\n var _ControlFlowError = (function () {\n function _ControlFlowError(error) {\n this.error = error;\n }\n return _ControlFlowError;\n }());\n // See http://www.w3.org/TR/html51/syntax.html#writing\n var _Tokenizer = (function () {\n /**\n * @param _file The html source\n * @param _getTagDefinition\n * @param _tokenizeIcu Whether to tokenize ICU messages (considered as text nodes when false)\n * @param _interpolationConfig\n */\n function _Tokenizer(_file, _getTagDefinition, _tokenizeIcu, _interpolationConfig) {\n if (_interpolationConfig === void 0) { _interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n this._file = _file;\n this._getTagDefinition = _getTagDefinition;\n this._tokenizeIcu = _tokenizeIcu;\n this._interpolationConfig = _interpolationConfig;\n // Note: this is always lowercase!\n this._peek = -1;\n this._nextPeek = -1;\n this._index = -1;\n this._line = 0;\n this._column = -1;\n this._expansionCaseStack = [];\n this._inInterpolation = false;\n this.tokens = [];\n this.errors = [];\n this._input = _file.content;\n this._length = _file.content.length;\n this._advance();\n }\n _Tokenizer.prototype._processCarriageReturns = function (content) {\n // http://www.w3.org/TR/html5/syntax.html#preprocessing-the-input-stream\n // In order to keep the original position in the source, we can not\n // pre-process it.\n // Instead CRs are processed right before instantiating the tokens.\n return content.replace(_CR_OR_CRLF_REGEXP, '\\n');\n };\n _Tokenizer.prototype.tokenize = function () {\n while (this._peek !== $EOF) {\n var start = this._getLocation();\n try {\n if (this._attemptCharCode($LT)) {\n if (this._attemptCharCode($BANG)) {\n if (this._attemptCharCode($LBRACKET)) {\n this._consumeCdata(start);\n }\n else if (this._attemptCharCode($MINUS)) {\n this._consumeComment(start);\n }\n else {\n this._consumeDocType(start);\n }\n }\n else if (this._attemptCharCode($SLASH)) {\n this._consumeTagClose(start);\n }\n else {\n this._consumeTagOpen(start);\n }\n }\n else if (!this._tokenizeIcu || !this._tokenizeExpansionForm()) {\n this._consumeText();\n }\n }\n catch (e) {\n if (e instanceof _ControlFlowError) {\n this.errors.push(e.error);\n }\n else {\n throw e;\n }\n }\n }\n this._beginToken(TokenType$1.EOF);\n this._endToken([]);\n return new TokenizeResult(mergeTextTokens(this.tokens), this.errors);\n };\n /**\n * @returns {boolean} whether an ICU token has been created\n * @internal\n */\n _Tokenizer.prototype._tokenizeExpansionForm = function () {\n if (isExpansionFormStart(this._input, this._index, this._interpolationConfig)) {\n this._consumeExpansionFormStart();\n return true;\n }\n if (isExpansionCaseStart(this._peek) && this._isInExpansionForm()) {\n this._consumeExpansionCaseStart();\n return true;\n }\n if (this._peek === $RBRACE) {\n if (this._isInExpansionCase()) {\n this._consumeExpansionCaseEnd();\n return true;\n }\n if (this._isInExpansionForm()) {\n this._consumeExpansionFormEnd();\n return true;\n }\n }\n return false;\n };\n _Tokenizer.prototype._getLocation = function () {\n return new ParseLocation(this._file, this._index, this._line, this._column);\n };\n _Tokenizer.prototype._getSpan = function (start, end) {\n if (start === void 0) { start = this._getLocation(); }\n if (end === void 0) { end = this._getLocation(); }\n return new ParseSourceSpan(start, end);\n };\n _Tokenizer.prototype._beginToken = function (type, start) {\n if (start === void 0) { start = this._getLocation(); }\n this._currentTokenStart = start;\n this._currentTokenType = type;\n };\n _Tokenizer.prototype._endToken = function (parts, end) {\n if (end === void 0) { end = this._getLocation(); }\n var token = new Token$1(this._currentTokenType, parts, new ParseSourceSpan(this._currentTokenStart, end));\n this.tokens.push(token);\n this._currentTokenStart = null;\n this._currentTokenType = null;\n return token;\n };\n _Tokenizer.prototype._createError = function (msg, span) {\n if (this._isInExpansionForm()) {\n msg += \" (Do you have an unescaped \\\"{\\\" in your template? Use \\\"{{ '{' }}\\\") to escape it.)\";\n }\n var error = new TokenError(msg, this._currentTokenType, span);\n this._currentTokenStart = null;\n this._currentTokenType = null;\n return new _ControlFlowError(error);\n };\n _Tokenizer.prototype._advance = function () {\n if (this._index >= this._length) {\n throw this._createError(_unexpectedCharacterErrorMsg($EOF), this._getSpan());\n }\n if (this._peek === $LF) {\n this._line++;\n this._column = 0;\n }\n else if (this._peek !== $LF && this._peek !== $CR) {\n this._column++;\n }\n this._index++;\n this._peek = this._index >= this._length ? $EOF : this._input.charCodeAt(this._index);\n this._nextPeek =\n this._index + 1 >= this._length ? $EOF : this._input.charCodeAt(this._index + 1);\n };\n _Tokenizer.prototype._attemptCharCode = function (charCode) {\n if (this._peek === charCode) {\n this._advance();\n return true;\n }\n return false;\n };\n _Tokenizer.prototype._attemptCharCodeCaseInsensitive = function (charCode) {\n if (compareCharCodeCaseInsensitive(this._peek, charCode)) {\n this._advance();\n return true;\n }\n return false;\n };\n _Tokenizer.prototype._requireCharCode = function (charCode) {\n var location = this._getLocation();\n if (!this._attemptCharCode(charCode)) {\n throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(location, location));\n }\n };\n _Tokenizer.prototype._attemptStr = function (chars) {\n var len = chars.length;\n if (this._index + len > this._length) {\n return false;\n }\n var initialPosition = this._savePosition();\n for (var i = 0; i < len; i++) {\n if (!this._attemptCharCode(chars.charCodeAt(i))) {\n // If attempting to parse the string fails, we want to reset the parser\n // to where it was before the attempt\n this._restorePosition(initialPosition);\n return false;\n }\n }\n return true;\n };\n _Tokenizer.prototype._attemptStrCaseInsensitive = function (chars) {\n for (var i = 0; i < chars.length; i++) {\n if (!this._attemptCharCodeCaseInsensitive(chars.charCodeAt(i))) {\n return false;\n }\n }\n return true;\n };\n _Tokenizer.prototype._requireStr = function (chars) {\n var location = this._getLocation();\n if (!this._attemptStr(chars)) {\n throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(location));\n }\n };\n _Tokenizer.prototype._attemptCharCodeUntilFn = function (predicate) {\n while (!predicate(this._peek)) {\n this._advance();\n }\n };\n _Tokenizer.prototype._requireCharCodeUntilFn = function (predicate, len) {\n var start = this._getLocation();\n this._attemptCharCodeUntilFn(predicate);\n if (this._index - start.offset < len) {\n throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan(start, start));\n }\n };\n _Tokenizer.prototype._attemptUntilChar = function (char) {\n while (this._peek !== char) {\n this._advance();\n }\n };\n _Tokenizer.prototype._readChar = function (decodeEntities) {\n if (decodeEntities && this._peek === $AMPERSAND) {\n return this._decodeEntity();\n }\n else {\n var index = this._index;\n this._advance();\n return this._input[index];\n }\n };\n _Tokenizer.prototype._decodeEntity = function () {\n var start = this._getLocation();\n this._advance();\n if (this._attemptCharCode($HASH)) {\n var isHex = this._attemptCharCode($x) || this._attemptCharCode($X);\n var numberStart = this._getLocation().offset;\n this._attemptCharCodeUntilFn(isDigitEntityEnd);\n if (this._peek != $SEMICOLON) {\n throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan());\n }\n this._advance();\n var strNum = this._input.substring(numberStart, this._index - 1);\n try {\n var charCode = parseInt(strNum, isHex ? 16 : 10);\n return String.fromCharCode(charCode);\n }\n catch (e) {\n var entity = this._input.substring(start.offset + 1, this._index - 1);\n throw this._createError(_unknownEntityErrorMsg(entity), this._getSpan(start));\n }\n }\n else {\n var startPosition = this._savePosition();\n this._attemptCharCodeUntilFn(isNamedEntityEnd);\n if (this._peek != $SEMICOLON) {\n this._restorePosition(startPosition);\n return '&';\n }\n this._advance();\n var name_1 = this._input.substring(start.offset + 1, this._index - 1);\n var char = NAMED_ENTITIES[name_1];\n if (!char) {\n throw this._createError(_unknownEntityErrorMsg(name_1), this._getSpan(start));\n }\n return char;\n }\n };\n _Tokenizer.prototype._consumeRawText = function (decodeEntities, firstCharOfEnd, attemptEndRest) {\n var tagCloseStart;\n var textStart = this._getLocation();\n this._beginToken(decodeEntities ? TokenType$1.ESCAPABLE_RAW_TEXT : TokenType$1.RAW_TEXT, textStart);\n var parts = [];\n while (true) {\n tagCloseStart = this._getLocation();\n if (this._attemptCharCode(firstCharOfEnd) && attemptEndRest()) {\n break;\n }\n if (this._index > tagCloseStart.offset) {\n // add the characters consumed by the previous if statement to the output\n parts.push(this._input.substring(tagCloseStart.offset, this._index));\n }\n while (this._peek !== firstCharOfEnd) {\n parts.push(this._readChar(decodeEntities));\n }\n }\n return this._endToken([this._processCarriageReturns(parts.join(''))], tagCloseStart);\n };\n _Tokenizer.prototype._consumeComment = function (start) {\n var _this = this;\n this._beginToken(TokenType$1.COMMENT_START, start);\n this._requireCharCode($MINUS);\n this._endToken([]);\n var textToken = this._consumeRawText(false, $MINUS, function () { return _this._attemptStr('->'); });\n this._beginToken(TokenType$1.COMMENT_END, textToken.sourceSpan.end);\n this._endToken([]);\n };\n _Tokenizer.prototype._consumeCdata = function (start) {\n var _this = this;\n this._beginToken(TokenType$1.CDATA_START, start);\n this._requireStr('CDATA[');\n this._endToken([]);\n var textToken = this._consumeRawText(false, $RBRACKET, function () { return _this._attemptStr(']>'); });\n this._beginToken(TokenType$1.CDATA_END, textToken.sourceSpan.end);\n this._endToken([]);\n };\n _Tokenizer.prototype._consumeDocType = function (start) {\n this._beginToken(TokenType$1.DOC_TYPE, start);\n this._attemptUntilChar($GT);\n this._advance();\n this._endToken([this._input.substring(start.offset + 2, this._index - 1)]);\n };\n _Tokenizer.prototype._consumePrefixAndName = function () {\n var nameOrPrefixStart = this._index;\n var prefix = null;\n while (this._peek !== $COLON && !isPrefixEnd(this._peek)) {\n this._advance();\n }\n var nameStart;\n if (this._peek === $COLON) {\n this._advance();\n prefix = this._input.substring(nameOrPrefixStart, this._index - 1);\n nameStart = this._index;\n }\n else {\n nameStart = nameOrPrefixStart;\n }\n this._requireCharCodeUntilFn(isNameEnd, this._index === nameStart ? 1 : 0);\n var name = this._input.substring(nameStart, this._index);\n return [prefix, name];\n };\n _Tokenizer.prototype._consumeTagOpen = function (start) {\n var savedPos = this._savePosition();\n var tagName;\n var lowercaseTagName;\n try {\n if (!isAsciiLetter(this._peek)) {\n throw this._createError(_unexpectedCharacterErrorMsg(this._peek), this._getSpan());\n }\n var nameStart = this._index;\n this._consumeTagOpenStart(start);\n tagName = this._input.substring(nameStart, this._index);\n lowercaseTagName = tagName.toLowerCase();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n while (this._peek !== $SLASH && this._peek !== $GT) {\n this._consumeAttributeName();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n if (this._attemptCharCode($EQ)) {\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._consumeAttributeValue();\n }\n this._attemptCharCodeUntilFn(isNotWhitespace);\n }\n this._consumeTagOpenEnd();\n }\n catch (e) {\n if (e instanceof _ControlFlowError) {\n // When the start tag is invalid, assume we want a \"<\"\n this._restorePosition(savedPos);\n // Back to back text tokens are merged at the end\n this._beginToken(TokenType$1.TEXT, start);\n this._endToken(['<']);\n return;\n }\n throw e;\n }\n var contentTokenType = this._getTagDefinition(tagName).contentType;\n if (contentTokenType === TagContentType.RAW_TEXT) {\n this._consumeRawTextWithTagClose(lowercaseTagName, false);\n }\n else if (contentTokenType === TagContentType.ESCAPABLE_RAW_TEXT) {\n this._consumeRawTextWithTagClose(lowercaseTagName, true);\n }\n };\n _Tokenizer.prototype._consumeRawTextWithTagClose = function (lowercaseTagName, decodeEntities) {\n var _this = this;\n var textToken = this._consumeRawText(decodeEntities, $LT, function () {\n if (!_this._attemptCharCode($SLASH))\n return false;\n _this._attemptCharCodeUntilFn(isNotWhitespace);\n if (!_this._attemptStrCaseInsensitive(lowercaseTagName))\n return false;\n _this._attemptCharCodeUntilFn(isNotWhitespace);\n return _this._attemptCharCode($GT);\n });\n this._beginToken(TokenType$1.TAG_CLOSE, textToken.sourceSpan.end);\n this._endToken([null, lowercaseTagName]);\n };\n _Tokenizer.prototype._consumeTagOpenStart = function (start) {\n this._beginToken(TokenType$1.TAG_OPEN_START, start);\n var parts = this._consumePrefixAndName();\n this._endToken(parts);\n };\n _Tokenizer.prototype._consumeAttributeName = function () {\n this._beginToken(TokenType$1.ATTR_NAME);\n var prefixAndName = this._consumePrefixAndName();\n this._endToken(prefixAndName);\n };\n _Tokenizer.prototype._consumeAttributeValue = function () {\n this._beginToken(TokenType$1.ATTR_VALUE);\n var value;\n if (this._peek === $SQ || this._peek === $DQ) {\n var quoteChar = this._peek;\n this._advance();\n var parts = [];\n while (this._peek !== quoteChar) {\n parts.push(this._readChar(true));\n }\n value = parts.join('');\n this._advance();\n }\n else {\n var valueStart = this._index;\n this._requireCharCodeUntilFn(isNameEnd, 1);\n value = this._input.substring(valueStart, this._index);\n }\n this._endToken([this._processCarriageReturns(value)]);\n };\n _Tokenizer.prototype._consumeTagOpenEnd = function () {\n var tokenType = this._attemptCharCode($SLASH) ? TokenType$1.TAG_OPEN_END_VOID : TokenType$1.TAG_OPEN_END;\n this._beginToken(tokenType);\n this._requireCharCode($GT);\n this._endToken([]);\n };\n _Tokenizer.prototype._consumeTagClose = function (start) {\n this._beginToken(TokenType$1.TAG_CLOSE, start);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n var prefixAndName = this._consumePrefixAndName();\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._requireCharCode($GT);\n this._endToken(prefixAndName);\n };\n _Tokenizer.prototype._consumeExpansionFormStart = function () {\n this._beginToken(TokenType$1.EXPANSION_FORM_START, this._getLocation());\n this._requireCharCode($LBRACE);\n this._endToken([]);\n this._expansionCaseStack.push(TokenType$1.EXPANSION_FORM_START);\n this._beginToken(TokenType$1.RAW_TEXT, this._getLocation());\n var condition = this._readUntil($COMMA);\n this._endToken([condition], this._getLocation());\n this._requireCharCode($COMMA);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._beginToken(TokenType$1.RAW_TEXT, this._getLocation());\n var type = this._readUntil($COMMA);\n this._endToken([type], this._getLocation());\n this._requireCharCode($COMMA);\n this._attemptCharCodeUntilFn(isNotWhitespace);\n };\n _Tokenizer.prototype._consumeExpansionCaseStart = function () {\n this._beginToken(TokenType$1.EXPANSION_CASE_VALUE, this._getLocation());\n var value = this._readUntil($LBRACE).trim();\n this._endToken([value], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._beginToken(TokenType$1.EXPANSION_CASE_EXP_START, this._getLocation());\n this._requireCharCode($LBRACE);\n this._endToken([], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._expansionCaseStack.push(TokenType$1.EXPANSION_CASE_EXP_START);\n };\n _Tokenizer.prototype._consumeExpansionCaseEnd = function () {\n this._beginToken(TokenType$1.EXPANSION_CASE_EXP_END, this._getLocation());\n this._requireCharCode($RBRACE);\n this._endToken([], this._getLocation());\n this._attemptCharCodeUntilFn(isNotWhitespace);\n this._expansionCaseStack.pop();\n };\n _Tokenizer.prototype._consumeExpansionFormEnd = function () {\n this._beginToken(TokenType$1.EXPANSION_FORM_END, this._getLocation());\n this._requireCharCode($RBRACE);\n this._endToken([]);\n this._expansionCaseStack.pop();\n };\n _Tokenizer.prototype._consumeText = function () {\n var start = this._getLocation();\n this._beginToken(TokenType$1.TEXT, start);\n var parts = [];\n do {\n if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.start)) {\n parts.push(this._interpolationConfig.start);\n this._inInterpolation = true;\n }\n else if (this._interpolationConfig && this._attemptStr(this._interpolationConfig.end) &&\n this._inInterpolation) {\n parts.push(this._interpolationConfig.end);\n this._inInterpolation = false;\n }\n else {\n parts.push(this._readChar(true));\n }\n } while (!this._isTextEnd());\n this._endToken([this._processCarriageReturns(parts.join(''))]);\n };\n _Tokenizer.prototype._isTextEnd = function () {\n if (this._peek === $LT || this._peek === $EOF) {\n return true;\n }\n if (this._tokenizeIcu && !this._inInterpolation) {\n if (isExpansionFormStart(this._input, this._index, this._interpolationConfig)) {\n // start of an expansion form\n return true;\n }\n if (this._peek === $RBRACE && this._isInExpansionCase()) {\n // end of and expansion case\n return true;\n }\n }\n return false;\n };\n _Tokenizer.prototype._savePosition = function () {\n return [this._peek, this._index, this._column, this._line, this.tokens.length];\n };\n _Tokenizer.prototype._readUntil = function (char) {\n var start = this._index;\n this._attemptUntilChar(char);\n return this._input.substring(start, this._index);\n };\n _Tokenizer.prototype._restorePosition = function (position) {\n this._peek = position[0];\n this._index = position[1];\n this._column = position[2];\n this._line = position[3];\n var nbTokens = position[4];\n if (nbTokens < this.tokens.length) {\n // remove any extra tokens\n this.tokens = this.tokens.slice(0, nbTokens);\n }\n };\n _Tokenizer.prototype._isInExpansionCase = function () {\n return this._expansionCaseStack.length > 0 &&\n this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n TokenType$1.EXPANSION_CASE_EXP_START;\n };\n _Tokenizer.prototype._isInExpansionForm = function () {\n return this._expansionCaseStack.length > 0 &&\n this._expansionCaseStack[this._expansionCaseStack.length - 1] ===\n TokenType$1.EXPANSION_FORM_START;\n };\n return _Tokenizer;\n }());\n function isNotWhitespace(code) {\n return !isWhitespace(code) || code === $EOF;\n }\n function isNameEnd(code) {\n return isWhitespace(code) || code === $GT || code === $SLASH ||\n code === $SQ || code === $DQ || code === $EQ;\n }\n function isPrefixEnd(code) {\n return (code < $a || $z < code) && (code < $A || $Z < code) &&\n (code < $0 || code > $9);\n }\n function isDigitEntityEnd(code) {\n return code == $SEMICOLON || code == $EOF || !isAsciiHexDigit(code);\n }\n function isNamedEntityEnd(code) {\n return code == $SEMICOLON || code == $EOF || !isAsciiLetter(code);\n }\n function isExpansionFormStart(input, offset, interpolationConfig) {\n var isInterpolationStart = interpolationConfig ? input.indexOf(interpolationConfig.start, offset) == offset : false;\n return input.charCodeAt(offset) == $LBRACE && !isInterpolationStart;\n }\n function isExpansionCaseStart(peek) {\n return peek === $EQ || isAsciiLetter(peek);\n }\n function compareCharCodeCaseInsensitive(code1, code2) {\n return toUpperCaseCharCode(code1) == toUpperCaseCharCode(code2);\n }\n function toUpperCaseCharCode(code) {\n return code >= $a && code <= $z ? code - $a + $A : code;\n }\n function mergeTextTokens(srcTokens) {\n var dstTokens = [];\n var lastDstToken;\n for (var i = 0; i < srcTokens.length; i++) {\n var token = srcTokens[i];\n if (lastDstToken && lastDstToken.type == TokenType$1.TEXT && token.type == TokenType$1.TEXT) {\n lastDstToken.parts[0] += token.parts[0];\n lastDstToken.sourceSpan.end = token.sourceSpan.end;\n }\n else {\n lastDstToken = token;\n dstTokens.push(lastDstToken);\n }\n }\n return dstTokens;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var TreeError = (function (_super) {\n __extends$2(TreeError, _super);\n function TreeError(elementName, span, msg) {\n _super.call(this, span, msg);\n this.elementName = elementName;\n }\n TreeError.create = function (elementName, span, msg) {\n return new TreeError(elementName, span, msg);\n };\n return TreeError;\n }(ParseError));\n var ParseTreeResult = (function () {\n function ParseTreeResult(rootNodes, errors) {\n this.rootNodes = rootNodes;\n this.errors = errors;\n }\n return ParseTreeResult;\n }());\n var Parser$1 = (function () {\n function Parser(getTagDefinition) {\n this.getTagDefinition = getTagDefinition;\n }\n Parser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var tokensAndErrors = tokenize(source, url, this.getTagDefinition, parseExpansionForms, interpolationConfig);\n var treeAndErrors = new _TreeBuilder(tokensAndErrors.tokens, this.getTagDefinition).build();\n return new ParseTreeResult(treeAndErrors.rootNodes, tokensAndErrors.errors.concat(treeAndErrors.errors));\n };\n return Parser;\n }());\n var _TreeBuilder = (function () {\n function _TreeBuilder(tokens, getTagDefinition) {\n this.tokens = tokens;\n this.getTagDefinition = getTagDefinition;\n this._index = -1;\n this._rootNodes = [];\n this._errors = [];\n this._elementStack = [];\n this._advance();\n }\n _TreeBuilder.prototype.build = function () {\n while (this._peek.type !== TokenType$1.EOF) {\n if (this._peek.type === TokenType$1.TAG_OPEN_START) {\n this._consumeStartTag(this._advance());\n }\n else if (this._peek.type === TokenType$1.TAG_CLOSE) {\n this._consumeEndTag(this._advance());\n }\n else if (this._peek.type === TokenType$1.CDATA_START) {\n this._closeVoidElement();\n this._consumeCdata(this._advance());\n }\n else if (this._peek.type === TokenType$1.COMMENT_START) {\n this._closeVoidElement();\n this._consumeComment(this._advance());\n }\n else if (this._peek.type === TokenType$1.TEXT || this._peek.type === TokenType$1.RAW_TEXT ||\n this._peek.type === TokenType$1.ESCAPABLE_RAW_TEXT) {\n this._closeVoidElement();\n this._consumeText(this._advance());\n }\n else if (this._peek.type === TokenType$1.EXPANSION_FORM_START) {\n this._consumeExpansion(this._advance());\n }\n else {\n // Skip all other tokens...\n this._advance();\n }\n }\n return new ParseTreeResult(this._rootNodes, this._errors);\n };\n _TreeBuilder.prototype._advance = function () {\n var prev = this._peek;\n if (this._index < this.tokens.length - 1) {\n // Note: there is always an EOF token at the end\n this._index++;\n }\n this._peek = this.tokens[this._index];\n return prev;\n };\n _TreeBuilder.prototype._advanceIf = function (type) {\n if (this._peek.type === type) {\n return this._advance();\n }\n return null;\n };\n _TreeBuilder.prototype._consumeCdata = function (startToken) {\n this._consumeText(this._advance());\n this._advanceIf(TokenType$1.CDATA_END);\n };\n _TreeBuilder.prototype._consumeComment = function (token) {\n var text = this._advanceIf(TokenType$1.RAW_TEXT);\n this._advanceIf(TokenType$1.COMMENT_END);\n var value = isPresent(text) ? text.parts[0].trim() : null;\n this._addToParent(new Comment(value, token.sourceSpan));\n };\n _TreeBuilder.prototype._consumeExpansion = function (token) {\n var switchValue = this._advance();\n var type = this._advance();\n var cases = [];\n // read =\n while (this._peek.type === TokenType$1.EXPANSION_CASE_VALUE) {\n var expCase = this._parseExpansionCase();\n if (!expCase)\n return; // error\n cases.push(expCase);\n }\n // read the final }\n if (this._peek.type !== TokenType$1.EXPANSION_FORM_END) {\n this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return;\n }\n var sourceSpan = new ParseSourceSpan(token.sourceSpan.start, this._peek.sourceSpan.end);\n this._addToParent(new Expansion(switchValue.parts[0], type.parts[0], cases, sourceSpan, switchValue.sourceSpan));\n this._advance();\n };\n _TreeBuilder.prototype._parseExpansionCase = function () {\n var value = this._advance();\n // read {\n if (this._peek.type !== TokenType$1.EXPANSION_CASE_EXP_START) {\n this._errors.push(TreeError.create(null, this._peek.sourceSpan, \"Invalid ICU message. Missing '{'.\"));\n return null;\n }\n // read until }\n var start = this._advance();\n var exp = this._collectExpansionExpTokens(start);\n if (!exp)\n return null;\n var end = this._advance();\n exp.push(new Token$1(TokenType$1.EOF, [], end.sourceSpan));\n // parse everything in between { and }\n var parsedExp = new _TreeBuilder(exp, this.getTagDefinition).build();\n if (parsedExp.errors.length > 0) {\n this._errors = this._errors.concat(parsedExp.errors);\n return null;\n }\n var sourceSpan = new ParseSourceSpan(value.sourceSpan.start, end.sourceSpan.end);\n var expSourceSpan = new ParseSourceSpan(start.sourceSpan.start, end.sourceSpan.end);\n return new ExpansionCase(value.parts[0], parsedExp.rootNodes, sourceSpan, value.sourceSpan, expSourceSpan);\n };\n _TreeBuilder.prototype._collectExpansionExpTokens = function (start) {\n var exp = [];\n var expansionFormStack = [TokenType$1.EXPANSION_CASE_EXP_START];\n while (true) {\n if (this._peek.type === TokenType$1.EXPANSION_FORM_START ||\n this._peek.type === TokenType$1.EXPANSION_CASE_EXP_START) {\n expansionFormStack.push(this._peek.type);\n }\n if (this._peek.type === TokenType$1.EXPANSION_CASE_EXP_END) {\n if (lastOnStack(expansionFormStack, TokenType$1.EXPANSION_CASE_EXP_START)) {\n expansionFormStack.pop();\n if (expansionFormStack.length == 0)\n return exp;\n }\n else {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n }\n if (this._peek.type === TokenType$1.EXPANSION_FORM_END) {\n if (lastOnStack(expansionFormStack, TokenType$1.EXPANSION_FORM_START)) {\n expansionFormStack.pop();\n }\n else {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n }\n if (this._peek.type === TokenType$1.EOF) {\n this._errors.push(TreeError.create(null, start.sourceSpan, \"Invalid ICU message. Missing '}'.\"));\n return null;\n }\n exp.push(this._advance());\n }\n };\n _TreeBuilder.prototype._consumeText = function (token) {\n var text = token.parts[0];\n if (text.length > 0 && text[0] == '\\n') {\n var parent_1 = this._getParentElement();\n if (isPresent(parent_1) && parent_1.children.length == 0 &&\n this.getTagDefinition(parent_1.name).ignoreFirstLf) {\n text = text.substring(1);\n }\n }\n if (text.length > 0) {\n this._addToParent(new Text(text, token.sourceSpan));\n }\n };\n _TreeBuilder.prototype._closeVoidElement = function () {\n if (this._elementStack.length > 0) {\n var el = this._elementStack[this._elementStack.length - 1];\n if (this.getTagDefinition(el.name).isVoid) {\n this._elementStack.pop();\n }\n }\n };\n _TreeBuilder.prototype._consumeStartTag = function (startTagToken) {\n var prefix = startTagToken.parts[0];\n var name = startTagToken.parts[1];\n var attrs = [];\n while (this._peek.type === TokenType$1.ATTR_NAME) {\n attrs.push(this._consumeAttr(this._advance()));\n }\n var fullName = this._getElementFullName(prefix, name, this._getParentElement());\n var selfClosing = false;\n // Note: There could have been a tokenizer error\n // so that we don't get a token for the end tag...\n if (this._peek.type === TokenType$1.TAG_OPEN_END_VOID) {\n this._advance();\n selfClosing = true;\n var tagDef = this.getTagDefinition(fullName);\n if (!(tagDef.canSelfClose || getNsPrefix(fullName) !== null || tagDef.isVoid)) {\n this._errors.push(TreeError.create(fullName, startTagToken.sourceSpan, \"Only void and foreign elements can be self closed \\\"\" + startTagToken.parts[1] + \"\\\"\"));\n }\n }\n else if (this._peek.type === TokenType$1.TAG_OPEN_END) {\n this._advance();\n selfClosing = false;\n }\n var end = this._peek.sourceSpan.start;\n var span = new ParseSourceSpan(startTagToken.sourceSpan.start, end);\n var el = new Element(fullName, attrs, [], span, span, null);\n this._pushElement(el);\n if (selfClosing) {\n this._popElement(fullName);\n el.endSourceSpan = span;\n }\n };\n _TreeBuilder.prototype._pushElement = function (el) {\n if (this._elementStack.length > 0) {\n var parentEl = this._elementStack[this._elementStack.length - 1];\n if (this.getTagDefinition(parentEl.name).isClosedByChild(el.name)) {\n this._elementStack.pop();\n }\n }\n var tagDef = this.getTagDefinition(el.name);\n var _a = this._getParentElementSkippingContainers(), parent = _a.parent, container = _a.container;\n if (isPresent(parent) && tagDef.requireExtraParent(parent.name)) {\n var newParent = new Element(tagDef.parentToAdd, [], [], el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n this._insertBeforeContainer(parent, container, newParent);\n }\n this._addToParent(el);\n this._elementStack.push(el);\n };\n _TreeBuilder.prototype._consumeEndTag = function (endTagToken) {\n var fullName = this._getElementFullName(endTagToken.parts[0], endTagToken.parts[1], this._getParentElement());\n if (this._getParentElement()) {\n this._getParentElement().endSourceSpan = endTagToken.sourceSpan;\n }\n if (this.getTagDefinition(fullName).isVoid) {\n this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Void elements do not have end tags \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n }\n else if (!this._popElement(fullName)) {\n this._errors.push(TreeError.create(fullName, endTagToken.sourceSpan, \"Unexpected closing tag \\\"\" + endTagToken.parts[1] + \"\\\"\"));\n }\n };\n _TreeBuilder.prototype._popElement = function (fullName) {\n for (var stackIndex = this._elementStack.length - 1; stackIndex >= 0; stackIndex--) {\n var el = this._elementStack[stackIndex];\n if (el.name == fullName) {\n this._elementStack.splice(stackIndex, this._elementStack.length - stackIndex);\n return true;\n }\n if (!this.getTagDefinition(el.name).closedByParent) {\n return false;\n }\n }\n return false;\n };\n _TreeBuilder.prototype._consumeAttr = function (attrName) {\n var fullName = mergeNsAndName(attrName.parts[0], attrName.parts[1]);\n var end = attrName.sourceSpan.end;\n var value = '';\n var valueSpan;\n if (this._peek.type === TokenType$1.ATTR_VALUE) {\n var valueToken = this._advance();\n value = valueToken.parts[0];\n end = valueToken.sourceSpan.end;\n valueSpan = valueToken.sourceSpan;\n }\n return new Attribute$1(fullName, value, new ParseSourceSpan(attrName.sourceSpan.start, end), valueSpan);\n };\n _TreeBuilder.prototype._getParentElement = function () {\n return this._elementStack.length > 0 ? this._elementStack[this._elementStack.length - 1] : null;\n };\n /**\n * Returns the parent in the DOM and the container.\n *\n * `<ng-container>` elements are skipped as they are not rendered as DOM element.\n */\n _TreeBuilder.prototype._getParentElementSkippingContainers = function () {\n var container = null;\n for (var i = this._elementStack.length - 1; i >= 0; i--) {\n if (this._elementStack[i].name !== 'ng-container') {\n return { parent: this._elementStack[i], container: container };\n }\n container = this._elementStack[i];\n }\n return { parent: this._elementStack[this._elementStack.length - 1], container: container };\n };\n _TreeBuilder.prototype._addToParent = function (node) {\n var parent = this._getParentElement();\n if (isPresent(parent)) {\n parent.children.push(node);\n }\n else {\n this._rootNodes.push(node);\n }\n };\n /**\n * Insert a node between the parent and the container.\n * When no container is given, the node is appended as a child of the parent.\n * Also updates the element stack accordingly.\n *\n * @internal\n */\n _TreeBuilder.prototype._insertBeforeContainer = function (parent, container, node) {\n if (!container) {\n this._addToParent(node);\n this._elementStack.push(node);\n }\n else {\n if (parent) {\n // replace the container with the new node in the children\n var index = parent.children.indexOf(container);\n parent.children[index] = node;\n }\n else {\n this._rootNodes.push(node);\n }\n node.children.push(container);\n this._elementStack.splice(this._elementStack.indexOf(container), 0, node);\n }\n };\n _TreeBuilder.prototype._getElementFullName = function (prefix, localName, parentElement) {\n if (isBlank(prefix)) {\n prefix = this.getTagDefinition(localName).implicitNamespacePrefix;\n if (isBlank(prefix) && isPresent(parentElement)) {\n prefix = getNsPrefix(parentElement.name);\n }\n }\n return mergeNsAndName(prefix, localName);\n };\n return _TreeBuilder;\n }());\n function lastOnStack(stack, element) {\n return stack.length > 0 && stack[stack.length - 1] === element;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function digestMessage(message) {\n return sha1(serializeNodes(message.nodes).join('') + (\"[\" + message.meaning + \"]\"));\n }\n /**\n * Serialize the i18n ast to something xml-like in order to generate an UID.\n *\n * The visitor is also used in the i18n parser tests\n *\n * @internal\n */\n var _SerializerVisitor = (function () {\n function _SerializerVisitor() {\n }\n _SerializerVisitor.prototype.visitText = function (text, context) { return text.value; };\n _SerializerVisitor.prototype.visitContainer = function (container, context) {\n var _this = this;\n return \"[\" + container.children.map(function (child) { return child.visit(_this); }).join(', ') + \"]\";\n };\n _SerializerVisitor.prototype.visitIcu = function (icu, context) {\n var _this = this;\n var strCases = Object.keys(icu.cases).map(function (k) { return (k + \" {\" + icu.cases[k].visit(_this) + \"}\"); });\n return \"{\" + icu.expression + \", \" + icu.type + \", \" + strCases.join(', ') + \"}\";\n };\n _SerializerVisitor.prototype.visitTagPlaceholder = function (ph, context) {\n var _this = this;\n return ph.isVoid ?\n \"<ph tag name=\\\"\" + ph.startName + \"\\\"/>\" :\n \"<ph tag name=\\\"\" + ph.startName + \"\\\">\" + ph.children.map(function (child) { return child.visit(_this); }).join(', ') + \"</ph name=\\\"\" + ph.closeName + \"\\\">\";\n };\n _SerializerVisitor.prototype.visitPlaceholder = function (ph, context) {\n return \"<ph name=\\\"\" + ph.name + \"\\\">\" + ph.value + \"</ph>\";\n };\n _SerializerVisitor.prototype.visitIcuPlaceholder = function (ph, context) {\n return \"<ph icu name=\\\"\" + ph.name + \"\\\">\" + ph.value.visit(this) + \"</ph>\";\n };\n return _SerializerVisitor;\n }());\n var serializerVisitor = new _SerializerVisitor();\n function serializeNodes(nodes) {\n return nodes.map(function (a) { return a.visit(serializerVisitor, null); });\n }\n /**\n * Compute the SHA1 of the given string\n *\n * see http://csrc.nist.gov/publications/fips/fips180-4/fips-180-4.pdf\n *\n * WARNING: this function has not been designed not tested with security in mind.\n * DO NOT USE IT IN A SECURITY SENSITIVE CONTEXT.\n */\n function sha1(str) {\n var utf8 = utf8Encode(str);\n var words32 = stringToWords32(utf8);\n var len = utf8.length * 8;\n var w = new Array(80);\n var _a = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476, 0xc3d2e1f0], a = _a[0], b = _a[1], c = _a[2], d = _a[3], e = _a[4];\n words32[len >> 5] |= 0x80 << (24 - len % 32);\n words32[((len + 64 >> 9) << 4) + 15] = len;\n for (var i = 0; i < words32.length; i += 16) {\n var _b = [a, b, c, d, e], h0 = _b[0], h1 = _b[1], h2 = _b[2], h3 = _b[3], h4 = _b[4];\n for (var j = 0; j < 80; j++) {\n if (j < 16) {\n w[j] = words32[i + j];\n }\n else {\n w[j] = rol32(w[j - 3] ^ w[j - 8] ^ w[j - 14] ^ w[j - 16], 1);\n }\n var _c = fk(j, b, c, d), f = _c[0], k = _c[1];\n var temp = [rol32(a, 5), f, e, k, w[j]].reduce(add32);\n _d = [d, c, rol32(b, 30), a, temp], e = _d[0], d = _d[1], c = _d[2], b = _d[3], a = _d[4];\n }\n _e = [add32(a, h0), add32(b, h1), add32(c, h2), add32(d, h3), add32(e, h4)], a = _e[0], b = _e[1], c = _e[2], d = _e[3], e = _e[4];\n }\n var sha1 = words32ToString([a, b, c, d, e]);\n var hex = '';\n for (var i = 0; i < sha1.length; i++) {\n var b_1 = sha1.charCodeAt(i);\n hex += (b_1 >>> 4 & 0x0f).toString(16) + (b_1 & 0x0f).toString(16);\n }\n return hex.toLowerCase();\n var _d, _e;\n }\n function utf8Encode(str) {\n var encoded = '';\n for (var index = 0; index < str.length; index++) {\n var codePoint = decodeSurrogatePairs(str, index);\n if (codePoint <= 0x7f) {\n encoded += String.fromCharCode(codePoint);\n }\n else if (codePoint <= 0x7ff) {\n encoded += String.fromCharCode(0xc0 | codePoint >>> 6, 0x80 | codePoint & 0x3f);\n }\n else if (codePoint <= 0xffff) {\n encoded += String.fromCharCode(0xe0 | codePoint >>> 12, 0x80 | codePoint >>> 6 & 0x3f, 0x80 | codePoint & 0x3f);\n }\n else if (codePoint <= 0x1fffff) {\n encoded += String.fromCharCode(0xf0 | codePoint >>> 18, 0x80 | codePoint >>> 12 & 0x3f, 0x80 | codePoint >>> 6 & 0x3f, 0x80 | codePoint & 0x3f);\n }\n }\n return encoded;\n }\n // see https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae\n function decodeSurrogatePairs(str, index) {\n if (index < 0 || index >= str.length) {\n throw new Error(\"index=\" + index + \" is out of range in \\\"\" + str + \"\\\"\");\n }\n var high = str.charCodeAt(index);\n var low;\n if (high >= 0xd800 && high <= 0xdfff && str.length > index + 1) {\n low = str.charCodeAt(index + 1);\n if (low >= 0xdc00 && low <= 0xdfff) {\n return (high - 0xd800) * 0x400 + low - 0xdc00 + 0x10000;\n }\n }\n return high;\n }\n function stringToWords32(str) {\n var words32 = Array(str.length >>> 2);\n for (var i = 0; i < words32.length; i++) {\n words32[i] = 0;\n }\n for (var i = 0; i < str.length; i++) {\n words32[i >>> 2] |= (str.charCodeAt(i) & 0xff) << 8 * (3 - i & 0x3);\n }\n return words32;\n }\n function words32ToString(words32) {\n var str = '';\n for (var i = 0; i < words32.length * 4; i++) {\n str += String.fromCharCode((words32[i >>> 2] >>> 8 * (3 - i & 0x3)) & 0xff);\n }\n return str;\n }\n function fk(index, b, c, d) {\n if (index < 20) {\n return [(b & c) | (~b & d), 0x5a827999];\n }\n if (index < 40) {\n return [b ^ c ^ d, 0x6ed9eba1];\n }\n if (index < 60) {\n return [(b & c) | (b & d) | (c & d), 0x8f1bbcdc];\n }\n return [b ^ c ^ d, 0xca62c1d6];\n }\n function add32(a, b) {\n var low = (a & 0xffff) + (b & 0xffff);\n var high = (a >> 16) + (b >> 16) + (low >> 16);\n return (high << 16) | (low & 0xffff);\n }\n function rol32(a, count) {\n return (a << count) | (a >>> (32 - count));\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Message = (function () {\n /**\n * @param nodes message AST\n * @param placeholders maps placeholder names to static content\n * @param placeholderToMsgIds maps placeholder names to translatable message IDs (used for ICU\n * messages)\n * @param meaning\n * @param description\n */\n function Message(nodes, placeholders, placeholderToMsgIds, meaning, description) {\n this.nodes = nodes;\n this.placeholders = placeholders;\n this.placeholderToMsgIds = placeholderToMsgIds;\n this.meaning = meaning;\n this.description = description;\n }\n return Message;\n }());\n var Text$1 = (function () {\n function Text(value, sourceSpan) {\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n Text.prototype.visit = function (visitor, context) { return visitor.visitText(this, context); };\n return Text;\n }());\n var Container = (function () {\n function Container(children, sourceSpan) {\n this.children = children;\n this.sourceSpan = sourceSpan;\n }\n Container.prototype.visit = function (visitor, context) { return visitor.visitContainer(this, context); };\n return Container;\n }());\n var Icu = (function () {\n function Icu(expression, type, cases, sourceSpan) {\n this.expression = expression;\n this.type = type;\n this.cases = cases;\n this.sourceSpan = sourceSpan;\n }\n Icu.prototype.visit = function (visitor, context) { return visitor.visitIcu(this, context); };\n return Icu;\n }());\n var TagPlaceholder = (function () {\n function TagPlaceholder(tag, attrs, startName, closeName, children, isVoid, sourceSpan) {\n this.tag = tag;\n this.attrs = attrs;\n this.startName = startName;\n this.closeName = closeName;\n this.children = children;\n this.isVoid = isVoid;\n this.sourceSpan = sourceSpan;\n }\n TagPlaceholder.prototype.visit = function (visitor, context) { return visitor.visitTagPlaceholder(this, context); };\n return TagPlaceholder;\n }());\n var Placeholder = (function () {\n function Placeholder(value, name, sourceSpan) {\n if (name === void 0) { name = ''; }\n this.value = value;\n this.name = name;\n this.sourceSpan = sourceSpan;\n }\n Placeholder.prototype.visit = function (visitor, context) { return visitor.visitPlaceholder(this, context); };\n return Placeholder;\n }());\n var IcuPlaceholder = (function () {\n function IcuPlaceholder(value, name, sourceSpan) {\n if (name === void 0) { name = ''; }\n this.value = value;\n this.name = name;\n this.sourceSpan = sourceSpan;\n }\n IcuPlaceholder.prototype.visit = function (visitor, context) { return visitor.visitIcuPlaceholder(this, context); };\n return IcuPlaceholder;\n }());\n\n var HtmlTagDefinition = (function () {\n function HtmlTagDefinition(_a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, closedByChildren = _b.closedByChildren, requiredParents = _b.requiredParents, implicitNamespacePrefix = _b.implicitNamespacePrefix, _c = _b.contentType, contentType = _c === void 0 ? TagContentType.PARSABLE_DATA : _c, _d = _b.closedByParent, closedByParent = _d === void 0 ? false : _d, _e = _b.isVoid, isVoid = _e === void 0 ? false : _e, _f = _b.ignoreFirstLf, ignoreFirstLf = _f === void 0 ? false : _f;\n this.closedByChildren = {};\n this.closedByParent = false;\n this.canSelfClose = false;\n if (closedByChildren && closedByChildren.length > 0) {\n closedByChildren.forEach(function (tagName) { return _this.closedByChildren[tagName] = true; });\n }\n this.isVoid = isVoid;\n this.closedByParent = closedByParent || isVoid;\n if (requiredParents && requiredParents.length > 0) {\n this.requiredParents = {};\n // The first parent is the list is automatically when none of the listed parents are present\n this.parentToAdd = requiredParents[0];\n requiredParents.forEach(function (tagName) { return _this.requiredParents[tagName] = true; });\n }\n this.implicitNamespacePrefix = implicitNamespacePrefix;\n this.contentType = contentType;\n this.ignoreFirstLf = ignoreFirstLf;\n }\n HtmlTagDefinition.prototype.requireExtraParent = function (currentParent) {\n if (!this.requiredParents) {\n return false;\n }\n if (!currentParent) {\n return true;\n }\n var lcParent = currentParent.toLowerCase();\n return this.requiredParents[lcParent] != true && lcParent != 'template';\n };\n HtmlTagDefinition.prototype.isClosedByChild = function (name) {\n return this.isVoid || name.toLowerCase() in this.closedByChildren;\n };\n return HtmlTagDefinition;\n }());\n // see http://www.w3.org/TR/html51/syntax.html#optional-tags\n // This implementation does not fully conform to the HTML5 spec.\n var TAG_DEFINITIONS = {\n 'base': new HtmlTagDefinition({ isVoid: true }),\n 'meta': new HtmlTagDefinition({ isVoid: true }),\n 'area': new HtmlTagDefinition({ isVoid: true }),\n 'embed': new HtmlTagDefinition({ isVoid: true }),\n 'link': new HtmlTagDefinition({ isVoid: true }),\n 'img': new HtmlTagDefinition({ isVoid: true }),\n 'input': new HtmlTagDefinition({ isVoid: true }),\n 'param': new HtmlTagDefinition({ isVoid: true }),\n 'hr': new HtmlTagDefinition({ isVoid: true }),\n 'br': new HtmlTagDefinition({ isVoid: true }),\n 'source': new HtmlTagDefinition({ isVoid: true }),\n 'track': new HtmlTagDefinition({ isVoid: true }),\n 'wbr': new HtmlTagDefinition({ isVoid: true }),\n 'p': new HtmlTagDefinition({\n closedByChildren: [\n 'address', 'article', 'aside', 'blockquote', 'div', 'dl', 'fieldset', 'footer', 'form',\n 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr',\n 'main', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul'\n ],\n closedByParent: true\n }),\n 'thead': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'] }),\n 'tbody': new HtmlTagDefinition({ closedByChildren: ['tbody', 'tfoot'], closedByParent: true }),\n 'tfoot': new HtmlTagDefinition({ closedByChildren: ['tbody'], closedByParent: true }),\n 'tr': new HtmlTagDefinition({\n closedByChildren: ['tr'],\n requiredParents: ['tbody', 'tfoot', 'thead'],\n closedByParent: true\n }),\n 'td': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n 'th': new HtmlTagDefinition({ closedByChildren: ['td', 'th'], closedByParent: true }),\n 'col': new HtmlTagDefinition({ requiredParents: ['colgroup'], isVoid: true }),\n 'svg': new HtmlTagDefinition({ implicitNamespacePrefix: 'svg' }),\n 'math': new HtmlTagDefinition({ implicitNamespacePrefix: 'math' }),\n 'li': new HtmlTagDefinition({ closedByChildren: ['li'], closedByParent: true }),\n 'dt': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'] }),\n 'dd': new HtmlTagDefinition({ closedByChildren: ['dt', 'dd'], closedByParent: true }),\n 'rb': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n 'rt': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n 'rtc': new HtmlTagDefinition({ closedByChildren: ['rb', 'rtc', 'rp'], closedByParent: true }),\n 'rp': new HtmlTagDefinition({ closedByChildren: ['rb', 'rt', 'rtc', 'rp'], closedByParent: true }),\n 'optgroup': new HtmlTagDefinition({ closedByChildren: ['optgroup'], closedByParent: true }),\n 'option': new HtmlTagDefinition({ closedByChildren: ['option', 'optgroup'], closedByParent: true }),\n 'pre': new HtmlTagDefinition({ ignoreFirstLf: true }),\n 'listing': new HtmlTagDefinition({ ignoreFirstLf: true }),\n 'style': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n 'script': new HtmlTagDefinition({ contentType: TagContentType.RAW_TEXT }),\n 'title': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT }),\n 'textarea': new HtmlTagDefinition({ contentType: TagContentType.ESCAPABLE_RAW_TEXT, ignoreFirstLf: true }),\n };\n var _DEFAULT_TAG_DEFINITION = new HtmlTagDefinition();\n function getHtmlTagDefinition(tagName) {\n return TAG_DEFINITIONS[tagName.toLowerCase()] || _DEFAULT_TAG_DEFINITION;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var TAG_TO_PLACEHOLDER_NAMES = {\n 'A': 'LINK',\n 'B': 'BOLD_TEXT',\n 'BR': 'LINE_BREAK',\n 'EM': 'EMPHASISED_TEXT',\n 'H1': 'HEADING_LEVEL1',\n 'H2': 'HEADING_LEVEL2',\n 'H3': 'HEADING_LEVEL3',\n 'H4': 'HEADING_LEVEL4',\n 'H5': 'HEADING_LEVEL5',\n 'H6': 'HEADING_LEVEL6',\n 'HR': 'HORIZONTAL_RULE',\n 'I': 'ITALIC_TEXT',\n 'LI': 'LIST_ITEM',\n 'LINK': 'MEDIA_LINK',\n 'OL': 'ORDERED_LIST',\n 'P': 'PARAGRAPH',\n 'Q': 'QUOTATION',\n 'S': 'STRIKETHROUGH_TEXT',\n 'SMALL': 'SMALL_TEXT',\n 'SUB': 'SUBSTRIPT',\n 'SUP': 'SUPERSCRIPT',\n 'TBODY': 'TABLE_BODY',\n 'TD': 'TABLE_CELL',\n 'TFOOT': 'TABLE_FOOTER',\n 'TH': 'TABLE_HEADER_CELL',\n 'THEAD': 'TABLE_HEADER',\n 'TR': 'TABLE_ROW',\n 'TT': 'MONOSPACED_TEXT',\n 'U': 'UNDERLINED_TEXT',\n 'UL': 'UNORDERED_LIST',\n };\n /**\n * Creates unique names for placeholder with different content\n *\n * @internal\n */\n var PlaceholderRegistry = (function () {\n function PlaceholderRegistry() {\n // Count the occurrence of the base name top generate a unique name\n this._placeHolderNameCounts = {};\n // Maps signature to placeholder names\n this._signatureToName = {};\n }\n PlaceholderRegistry.prototype.getStartTagPlaceholderName = function (tag, attrs, isVoid) {\n var signature = this._hashTag(tag, attrs, isVoid);\n if (this._signatureToName[signature]) {\n return this._signatureToName[signature];\n }\n var upperTag = tag.toUpperCase();\n var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\" + upperTag;\n var name = this._generateUniqueName(isVoid ? baseName : \"START_\" + baseName);\n this._signatureToName[signature] = name;\n return name;\n };\n PlaceholderRegistry.prototype.getCloseTagPlaceholderName = function (tag) {\n var signature = this._hashClosingTag(tag);\n if (this._signatureToName[signature]) {\n return this._signatureToName[signature];\n }\n var upperTag = tag.toUpperCase();\n var baseName = TAG_TO_PLACEHOLDER_NAMES[upperTag] || \"TAG_\" + upperTag;\n var name = this._generateUniqueName(\"CLOSE_\" + baseName);\n this._signatureToName[signature] = name;\n return name;\n };\n PlaceholderRegistry.prototype.getPlaceholderName = function (name, content) {\n var upperName = name.toUpperCase();\n var signature = \"PH: \" + upperName + \"=\" + content;\n if (this._signatureToName[signature]) {\n return this._signatureToName[signature];\n }\n var uniqueName = this._generateUniqueName(upperName);\n this._signatureToName[signature] = uniqueName;\n return uniqueName;\n };\n // Generate a hash for a tag - does not take attribute order into account\n PlaceholderRegistry.prototype._hashTag = function (tag, attrs, isVoid) {\n var start = \"<\" + tag;\n var strAttrs = Object.keys(attrs).sort().map(function (name) { return (\" \" + name + \"=\" + attrs[name]); }).join('');\n var end = isVoid ? '/>' : \"></\" + tag + \">\";\n return start + strAttrs + end;\n };\n PlaceholderRegistry.prototype._hashClosingTag = function (tag) { return this._hashTag(\"/\" + tag, {}, false); };\n PlaceholderRegistry.prototype._generateUniqueName = function (base) {\n var name = base;\n var next = this._placeHolderNameCounts[name];\n if (!next) {\n next = 1;\n }\n else {\n name += \"_\" + next;\n next++;\n }\n this._placeHolderNameCounts[base] = next;\n return name;\n };\n return PlaceholderRegistry;\n }());\n\n var _expParser = new Parser(new Lexer());\n /**\n * Returns a function converting html nodes to an i18n Message given an interpolationConfig\n */\n function createI18nMessageFactory(interpolationConfig) {\n var visitor = new _I18nVisitor(_expParser, interpolationConfig);\n return function (nodes, meaning, description) {\n return visitor.toI18nMessage(nodes, meaning, description);\n };\n }\n var _I18nVisitor = (function () {\n function _I18nVisitor(_expressionParser, _interpolationConfig) {\n this._expressionParser = _expressionParser;\n this._interpolationConfig = _interpolationConfig;\n }\n _I18nVisitor.prototype.toI18nMessage = function (nodes, meaning, description) {\n this._isIcu = nodes.length == 1 && nodes[0] instanceof Expansion;\n this._icuDepth = 0;\n this._placeholderRegistry = new PlaceholderRegistry();\n this._placeholderToContent = {};\n this._placeholderToIds = {};\n var i18nodes = visitAll(this, nodes, {});\n return new Message(i18nodes, this._placeholderToContent, this._placeholderToIds, meaning, description);\n };\n _I18nVisitor.prototype.visitElement = function (el, context) {\n var children = visitAll(this, el.children);\n var attrs = {};\n el.attrs.forEach(function (attr) {\n // Do not visit the attributes, translatable ones are top-level ASTs\n attrs[attr.name] = attr.value;\n });\n var isVoid = getHtmlTagDefinition(el.name).isVoid;\n var startPhName = this._placeholderRegistry.getStartTagPlaceholderName(el.name, attrs, isVoid);\n this._placeholderToContent[startPhName] = el.sourceSpan.toString();\n var closePhName = '';\n if (!isVoid) {\n closePhName = this._placeholderRegistry.getCloseTagPlaceholderName(el.name);\n this._placeholderToContent[closePhName] = \"</\" + el.name + \">\";\n }\n return new TagPlaceholder(el.name, attrs, startPhName, closePhName, children, isVoid, el.sourceSpan);\n };\n _I18nVisitor.prototype.visitAttribute = function (attribute, context) {\n return this._visitTextWithInterpolation(attribute.value, attribute.sourceSpan);\n };\n _I18nVisitor.prototype.visitText = function (text, context) {\n return this._visitTextWithInterpolation(text.value, text.sourceSpan);\n };\n _I18nVisitor.prototype.visitComment = function (comment, context) { return null; };\n _I18nVisitor.prototype.visitExpansion = function (icu, context) {\n var _this = this;\n this._icuDepth++;\n var i18nIcuCases = {};\n var i18nIcu = new Icu(icu.switchValue, icu.type, i18nIcuCases, icu.sourceSpan);\n icu.cases.forEach(function (caze) {\n i18nIcuCases[caze.value] = new Container(caze.expression.map(function (node) { return node.visit(_this, {}); }), caze.expSourceSpan);\n });\n this._icuDepth--;\n if (this._isIcu || this._icuDepth > 0) {\n // If the message (vs a part of the message) is an ICU message returns it\n return i18nIcu;\n }\n // Else returns a placeholder\n // ICU placeholders should not be replaced with their original content but with the their\n // translations. We need to create a new visitor (they are not re-entrant) to compute the\n // message id.\n // TODO(vicb): add a html.Node -> i18n.Message cache to avoid having to re-create the msg\n var phName = this._placeholderRegistry.getPlaceholderName('ICU', icu.sourceSpan.toString());\n var visitor = new _I18nVisitor(this._expressionParser, this._interpolationConfig);\n this._placeholderToIds[phName] = digestMessage(visitor.toI18nMessage([icu], '', ''));\n return new IcuPlaceholder(i18nIcu, phName, icu.sourceSpan);\n };\n _I18nVisitor.prototype.visitExpansionCase = function (icuCase, context) {\n throw new Error('Unreachable code');\n };\n _I18nVisitor.prototype._visitTextWithInterpolation = function (text, sourceSpan) {\n var splitInterpolation = this._expressionParser.splitInterpolation(text, sourceSpan.start.toString(), this._interpolationConfig);\n if (!splitInterpolation) {\n // No expression, return a single text\n return new Text$1(text, sourceSpan);\n }\n // Return a group of text + expressions\n var nodes = [];\n var container = new Container(nodes, sourceSpan);\n var _a = this._interpolationConfig, sDelimiter = _a.start, eDelimiter = _a.end;\n for (var i = 0; i < splitInterpolation.strings.length - 1; i++) {\n var expression = splitInterpolation.expressions[i];\n var baseName = _extractPlaceholderName(expression) || 'INTERPOLATION';\n var phName = this._placeholderRegistry.getPlaceholderName(baseName, expression);\n if (splitInterpolation.strings[i].length) {\n // No need to add empty strings\n nodes.push(new Text$1(splitInterpolation.strings[i], sourceSpan));\n }\n nodes.push(new Placeholder(expression, phName, sourceSpan));\n this._placeholderToContent[phName] = sDelimiter + expression + eDelimiter;\n }\n // The last index contains no expression\n var lastStringIdx = splitInterpolation.strings.length - 1;\n if (splitInterpolation.strings[lastStringIdx].length) {\n nodes.push(new Text$1(splitInterpolation.strings[lastStringIdx], sourceSpan));\n }\n return container;\n };\n return _I18nVisitor;\n }());\n var _CUSTOM_PH_EXP = /\\/\\/[\\s\\S]*i18n[\\s\\S]*\\([\\s\\S]*ph[\\s\\S]*=[\\s\\S]*\"([\\s\\S]*?)\"[\\s\\S]*\\)/g;\n function _extractPlaceholderName(input) {\n return input.split(_CUSTOM_PH_EXP)[1];\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * An i18n error.\n */\n var I18nError = (function (_super) {\n __extends$4(I18nError, _super);\n function I18nError(span, msg) {\n _super.call(this, span, msg);\n }\n return I18nError;\n }(ParseError));\n\n var _I18N_ATTR = 'i18n';\n var _I18N_ATTR_PREFIX = 'i18n-';\n var _I18N_COMMENT_PREFIX_REGEXP = /^i18n:?/;\n /**\n * Extract translatable messages from an html AST\n */\n function extractMessages(nodes, interpolationConfig, implicitTags, implicitAttrs) {\n var visitor = new _Visitor(implicitTags, implicitAttrs);\n return visitor.extract(nodes, interpolationConfig);\n }\n function mergeTranslations(nodes, translations, interpolationConfig, implicitTags, implicitAttrs) {\n var visitor = new _Visitor(implicitTags, implicitAttrs);\n return visitor.merge(nodes, translations, interpolationConfig);\n }\n var ExtractionResult = (function () {\n function ExtractionResult(messages, errors) {\n this.messages = messages;\n this.errors = errors;\n }\n return ExtractionResult;\n }());\n var _VisitorMode;\n (function (_VisitorMode) {\n _VisitorMode[_VisitorMode[\"Extract\"] = 0] = \"Extract\";\n _VisitorMode[_VisitorMode[\"Merge\"] = 1] = \"Merge\";\n })(_VisitorMode || (_VisitorMode = {}));\n /**\n * This Visitor is used:\n * 1. to extract all the translatable strings from an html AST (see `extract()`),\n * 2. to replace the translatable strings with the actual translations (see `merge()`)\n *\n * @internal\n */\n var _Visitor = (function () {\n function _Visitor(_implicitTags, _implicitAttrs) {\n this._implicitTags = _implicitTags;\n this._implicitAttrs = _implicitAttrs;\n }\n /**\n * Extracts the messages from the tree\n */\n _Visitor.prototype.extract = function (nodes, interpolationConfig) {\n var _this = this;\n this._init(_VisitorMode.Extract, interpolationConfig);\n nodes.forEach(function (node) { return node.visit(_this, null); });\n if (this._inI18nBlock) {\n this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n }\n return new ExtractionResult(this._messages, this._errors);\n };\n /**\n * Returns a tree where all translatable nodes are translated\n */\n _Visitor.prototype.merge = function (nodes, translations, interpolationConfig) {\n this._init(_VisitorMode.Merge, interpolationConfig);\n this._translations = translations;\n // Construct a single fake root element\n var wrapper = new Element('wrapper', [], nodes, null, null, null);\n var translatedNode = wrapper.visit(this, null);\n if (this._inI18nBlock) {\n this._reportError(nodes[nodes.length - 1], 'Unclosed block');\n }\n return new ParseTreeResult(translatedNode.children, this._errors);\n };\n _Visitor.prototype.visitExpansionCase = function (icuCase, context) {\n // Parse cases for translatable html attributes\n var expression = visitAll(this, icuCase.expression, context);\n if (this._mode === _VisitorMode.Merge) {\n return new ExpansionCase(icuCase.value, expression, icuCase.sourceSpan, icuCase.valueSourceSpan, icuCase.expSourceSpan);\n }\n };\n _Visitor.prototype.visitExpansion = function (icu, context) {\n this._mayBeAddBlockChildren(icu);\n var wasInIcu = this._inIcu;\n if (!this._inIcu) {\n // nested ICU messages should not be extracted but top-level translated as a whole\n if (this._isInTranslatableSection) {\n this._addMessage([icu]);\n }\n this._inIcu = true;\n }\n var cases = visitAll(this, icu.cases, context);\n if (this._mode === _VisitorMode.Merge) {\n icu = new Expansion(icu.switchValue, icu.type, cases, icu.sourceSpan, icu.switchValueSourceSpan);\n }\n this._inIcu = wasInIcu;\n return icu;\n };\n _Visitor.prototype.visitComment = function (comment, context) {\n var isOpening = _isOpeningComment(comment);\n if (isOpening && this._isInTranslatableSection) {\n this._reportError(comment, 'Could not start a block inside a translatable section');\n return;\n }\n var isClosing = _isClosingComment(comment);\n if (isClosing && !this._inI18nBlock) {\n this._reportError(comment, 'Trying to close an unopened block');\n return;\n }\n if (!this._inI18nNode && !this._inIcu) {\n if (!this._inI18nBlock) {\n if (isOpening) {\n this._inI18nBlock = true;\n this._blockStartDepth = this._depth;\n this._blockChildren = [];\n this._blockMeaningAndDesc = comment.value.replace(_I18N_COMMENT_PREFIX_REGEXP, '').trim();\n this._openTranslatableSection(comment);\n }\n }\n else {\n if (isClosing) {\n if (this._depth == this._blockStartDepth) {\n this._closeTranslatableSection(comment, this._blockChildren);\n this._inI18nBlock = false;\n var message = this._addMessage(this._blockChildren, this._blockMeaningAndDesc);\n // merge attributes in sections\n var nodes = this._translateMessage(comment, message);\n return visitAll(this, nodes);\n }\n else {\n this._reportError(comment, 'I18N blocks should not cross element boundaries');\n return;\n }\n }\n }\n }\n };\n _Visitor.prototype.visitText = function (text, context) {\n if (this._isInTranslatableSection) {\n this._mayBeAddBlockChildren(text);\n }\n return text;\n };\n _Visitor.prototype.visitElement = function (el, context) {\n var _this = this;\n this._mayBeAddBlockChildren(el);\n this._depth++;\n var wasInI18nNode = this._inI18nNode;\n var wasInImplicitNode = this._inImplicitNode;\n var childNodes;\n // Extract only top level nodes with the (implicit) \"i18n\" attribute if not in a block or an ICU\n // message\n var i18nAttr = _getI18nAttr(el);\n var isImplicit = this._implicitTags.some(function (tag) { return el.name === tag; }) &&\n !this._inIcu && !this._isInTranslatableSection;\n var isTopLevelImplicit = !wasInImplicitNode && isImplicit;\n this._inImplicitNode = this._inImplicitNode || isImplicit;\n if (!this._isInTranslatableSection && !this._inIcu) {\n if (i18nAttr) {\n // explicit translation\n this._inI18nNode = true;\n var message = this._addMessage(el.children, i18nAttr.value);\n childNodes = this._translateMessage(el, message);\n }\n else if (isTopLevelImplicit) {\n // implicit translation\n this._inI18nNode = true;\n var message = this._addMessage(el.children);\n childNodes = this._translateMessage(el, message);\n }\n if (this._mode == _VisitorMode.Extract) {\n var isTranslatable = i18nAttr || isTopLevelImplicit;\n if (isTranslatable) {\n this._openTranslatableSection(el);\n }\n visitAll(this, el.children);\n if (isTranslatable) {\n this._closeTranslatableSection(el, el.children);\n }\n }\n if (this._mode === _VisitorMode.Merge && !i18nAttr && !isTopLevelImplicit) {\n childNodes = [];\n el.children.forEach(function (child) {\n var visited = child.visit(_this, context);\n if (visited && !_this._isInTranslatableSection) {\n // Do not add the children from translatable sections (= i18n blocks here)\n // They will be added when the section is close (i.e. on `<!-- /i18n -->`)\n childNodes = childNodes.concat(visited);\n }\n });\n }\n }\n else {\n if (i18nAttr || isTopLevelImplicit) {\n this._reportError(el, 'Could not mark an element as translatable inside a translatable section');\n }\n if (this._mode == _VisitorMode.Extract) {\n // Descend into child nodes for extraction\n visitAll(this, el.children);\n }\n if (this._mode == _VisitorMode.Merge) {\n // Translate attributes in ICU messages\n childNodes = [];\n el.children.forEach(function (child) {\n var visited = child.visit(_this, context);\n if (visited && !_this._isInTranslatableSection) {\n // Do not add the children from translatable sections (= i18n blocks here)\n // They will be added when the section is close (i.e. on `<!-- /i18n -->`)\n childNodes = childNodes.concat(visited);\n }\n });\n }\n }\n this._visitAttributesOf(el);\n this._depth--;\n this._inI18nNode = wasInI18nNode;\n this._inImplicitNode = wasInImplicitNode;\n if (this._mode === _VisitorMode.Merge) {\n // There are no childNodes in translatable sections - those nodes will be replace anyway\n var translatedAttrs = this._translateAttributes(el);\n return new Element(el.name, translatedAttrs, childNodes, el.sourceSpan, el.startSourceSpan, el.endSourceSpan);\n }\n };\n _Visitor.prototype.visitAttribute = function (attribute, context) {\n throw new Error('unreachable code');\n };\n _Visitor.prototype._init = function (mode, interpolationConfig) {\n this._mode = mode;\n this._inI18nBlock = false;\n this._inI18nNode = false;\n this._depth = 0;\n this._inIcu = false;\n this._msgCountAtSectionStart = void 0;\n this._errors = [];\n this._messages = [];\n this._inImplicitNode = false;\n this._createI18nMessage = createI18nMessageFactory(interpolationConfig);\n };\n // looks for translatable attributes\n _Visitor.prototype._visitAttributesOf = function (el) {\n var _this = this;\n var explicitAttrNameToValue = {};\n var implicitAttrNames = this._implicitAttrs[el.name] || [];\n el.attrs.filter(function (attr) { return attr.name.startsWith(_I18N_ATTR_PREFIX); })\n .forEach(function (attr) { return explicitAttrNameToValue[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n attr.value; });\n el.attrs.forEach(function (attr) {\n if (attr.name in explicitAttrNameToValue) {\n _this._addMessage([attr], explicitAttrNameToValue[attr.name]);\n }\n else if (implicitAttrNames.some(function (name) { return attr.name === name; })) {\n _this._addMessage([attr]);\n }\n });\n };\n // add a translatable message\n _Visitor.prototype._addMessage = function (ast, meaningAndDesc) {\n if (ast.length == 0 ||\n ast.length == 1 && ast[0] instanceof Attribute$1 && !ast[0].value) {\n // Do not create empty messages\n return;\n }\n var _a = _splitMeaningAndDesc(meaningAndDesc), meaning = _a[0], description = _a[1];\n var message = this._createI18nMessage(ast, meaning, description);\n this._messages.push(message);\n return message;\n };\n // Translates the given message given the `TranslationBundle`\n // no-op when called in extraction mode (returns [])\n _Visitor.prototype._translateMessage = function (el, message) {\n if (message && this._mode === _VisitorMode.Merge) {\n var id = digestMessage(message);\n var nodes = this._translations.get(id);\n if (nodes) {\n return nodes;\n }\n this._reportError(el, \"Translation unavailable for message id=\\\"\" + id + \"\\\"\");\n }\n return [];\n };\n // translate the attributes of an element and remove i18n specific attributes\n _Visitor.prototype._translateAttributes = function (el) {\n var _this = this;\n var attributes = el.attrs;\n var i18nAttributeMeanings = {};\n attributes.forEach(function (attr) {\n if (attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n i18nAttributeMeanings[attr.name.slice(_I18N_ATTR_PREFIX.length)] =\n _splitMeaningAndDesc(attr.value)[0];\n }\n });\n var translatedAttributes = [];\n attributes.forEach(function (attr) {\n if (attr.name === _I18N_ATTR || attr.name.startsWith(_I18N_ATTR_PREFIX)) {\n // strip i18n specific attributes\n return;\n }\n if (attr.value && attr.value != '' && i18nAttributeMeanings.hasOwnProperty(attr.name)) {\n var meaning = i18nAttributeMeanings[attr.name];\n var message = _this._createI18nMessage([attr], meaning, '');\n var id = digestMessage(message);\n var nodes = _this._translations.get(id);\n if (nodes) {\n if (nodes[0] instanceof Text) {\n var value = nodes[0].value;\n translatedAttributes.push(new Attribute$1(attr.name, value, attr.sourceSpan));\n }\n else {\n _this._reportError(el, \"Unexpected translation for attribute \\\"\" + attr.name + \"\\\" (id=\\\"\" + id + \"\\\")\");\n }\n }\n else {\n _this._reportError(el, \"Translation unavailable for attribute \\\"\" + attr.name + \"\\\" (id=\\\"\" + id + \"\\\")\");\n }\n }\n else {\n translatedAttributes.push(attr);\n }\n });\n return translatedAttributes;\n };\n /**\n * Add the node as a child of the block when:\n * - we are in a block,\n * - we are not inside a ICU message (those are handled separately),\n * - the node is a \"direct child\" of the block\n */\n _Visitor.prototype._mayBeAddBlockChildren = function (node) {\n if (this._inI18nBlock && !this._inIcu && this._depth == this._blockStartDepth) {\n this._blockChildren.push(node);\n }\n };\n /**\n * Marks the start of a section, see `_endSection`\n */\n _Visitor.prototype._openTranslatableSection = function (node) {\n if (this._isInTranslatableSection) {\n this._reportError(node, 'Unexpected section start');\n }\n else {\n this._msgCountAtSectionStart = this._messages.length;\n }\n };\n Object.defineProperty(_Visitor.prototype, \"_isInTranslatableSection\", {\n /**\n * A translatable section could be:\n * - a translatable element,\n * - nodes between `<!-- i18n -->` and `<!-- /i18n -->` comments\n */\n get: function () {\n return this._msgCountAtSectionStart !== void 0;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Terminates a section.\n *\n * If a section has only one significant children (comments not significant) then we should not\n * keep the message from this children:\n *\n * `<p i18n=\"meaning|description\">{ICU message}</p>` would produce two messages:\n * - one for the <p> content with meaning and description,\n * - another one for the ICU message.\n *\n * In this case the last message is discarded as it contains less information (the AST is\n * otherwise identical).\n *\n * Note that we should still keep messages extracted from attributes inside the section (ie in the\n * ICU message here)\n */\n _Visitor.prototype._closeTranslatableSection = function (node, directChildren) {\n if (!this._isInTranslatableSection) {\n this._reportError(node, 'Unexpected section end');\n return;\n }\n var startIndex = this._msgCountAtSectionStart;\n var significantChildren = directChildren.reduce(function (count, node) { return count + (node instanceof Comment ? 0 : 1); }, 0);\n if (significantChildren == 1) {\n for (var i = this._messages.length - 1; i >= startIndex; i--) {\n var ast = this._messages[i].nodes;\n if (!(ast.length == 1 && ast[0] instanceof Text$1)) {\n this._messages.splice(i, 1);\n break;\n }\n }\n }\n this._msgCountAtSectionStart = void 0;\n };\n _Visitor.prototype._reportError = function (node, msg) {\n this._errors.push(new I18nError(node.sourceSpan, msg));\n };\n return _Visitor;\n }());\n function _isOpeningComment(n) {\n return n instanceof Comment && n.value && n.value.startsWith('i18n');\n }\n function _isClosingComment(n) {\n return n instanceof Comment && n.value && n.value === '/i18n';\n }\n function _getI18nAttr(p) {\n return p.attrs.find(function (attr) { return attr.name === _I18N_ATTR; }) || null;\n }\n function _splitMeaningAndDesc(i18n) {\n if (!i18n)\n return ['', ''];\n var pipeIndex = i18n.indexOf('|');\n return pipeIndex == -1 ? ['', i18n] : [i18n.slice(0, pipeIndex), i18n.slice(pipeIndex + 1)];\n }\n\n /**\n * A container for message extracted from the templates.\n */\n var MessageBundle = (function () {\n function MessageBundle(_htmlParser, _implicitTags, _implicitAttrs) {\n this._htmlParser = _htmlParser;\n this._implicitTags = _implicitTags;\n this._implicitAttrs = _implicitAttrs;\n this._messageMap = {};\n }\n MessageBundle.prototype.updateFromTemplate = function (html, url, interpolationConfig) {\n var _this = this;\n var htmlParserResult = this._htmlParser.parse(html, url, true, interpolationConfig);\n if (htmlParserResult.errors.length) {\n return htmlParserResult.errors;\n }\n var i18nParserResult = extractMessages(htmlParserResult.rootNodes, interpolationConfig, this._implicitTags, this._implicitAttrs);\n if (i18nParserResult.errors.length) {\n return i18nParserResult.errors;\n }\n i18nParserResult.messages.forEach(function (message) { _this._messageMap[digestMessage(message)] = message; });\n };\n MessageBundle.prototype.getMessageMap = function () { return this._messageMap; };\n MessageBundle.prototype.write = function (serializer) { return serializer.write(this._messageMap); };\n return MessageBundle;\n }());\n\n var XmlTagDefinition = (function () {\n function XmlTagDefinition() {\n this.closedByParent = false;\n this.contentType = TagContentType.PARSABLE_DATA;\n this.isVoid = false;\n this.ignoreFirstLf = false;\n this.canSelfClose = true;\n }\n XmlTagDefinition.prototype.requireExtraParent = function (currentParent) { return false; };\n XmlTagDefinition.prototype.isClosedByChild = function (name) { return false; };\n return XmlTagDefinition;\n }());\n var _TAG_DEFINITION = new XmlTagDefinition();\n function getXmlTagDefinition(tagName) {\n return _TAG_DEFINITION;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var XmlParser = (function (_super) {\n __extends$5(XmlParser, _super);\n function XmlParser() {\n _super.call(this, getXmlTagDefinition);\n }\n XmlParser.prototype.parse = function (source, url, parseExpansionForms) {\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n return _super.prototype.parse.call(this, source, url, parseExpansionForms, null);\n };\n return XmlParser;\n }(Parser$1));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n // Generate a map of placeholder to content indexed by message ids\n function extractPlaceholders(messageBundle) {\n var messageMap = messageBundle.getMessageMap();\n var placeholders = {};\n Object.keys(messageMap).forEach(function (msgId) {\n placeholders[msgId] = messageMap[msgId].placeholders;\n });\n return placeholders;\n }\n // Generate a map of placeholder to message ids indexed by message ids\n function extractPlaceholderToIds(messageBundle) {\n var messageMap = messageBundle.getMessageMap();\n var placeholderToIds = {};\n Object.keys(messageMap).forEach(function (msgId) {\n placeholderToIds[msgId] = messageMap[msgId].placeholderToMsgIds;\n });\n return placeholderToIds;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$6 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _Visitor$1 = (function () {\n function _Visitor() {\n }\n _Visitor.prototype.visitTag = function (tag) {\n var _this = this;\n var strAttrs = this._serializeAttributes(tag.attrs);\n if (tag.children.length == 0) {\n return \"<\" + tag.name + strAttrs + \"/>\";\n }\n var strChildren = tag.children.map(function (node) { return node.visit(_this); });\n return \"<\" + tag.name + strAttrs + \">\" + strChildren.join('') + \"</\" + tag.name + \">\";\n };\n _Visitor.prototype.visitText = function (text) { return text.value; };\n _Visitor.prototype.visitDeclaration = function (decl) {\n return \"<?xml\" + this._serializeAttributes(decl.attrs) + \" ?>\";\n };\n _Visitor.prototype._serializeAttributes = function (attrs) {\n var strAttrs = Object.keys(attrs).map(function (name) { return (name + \"=\\\"\" + attrs[name] + \"\\\"\"); }).join(' ');\n return strAttrs.length > 0 ? ' ' + strAttrs : '';\n };\n _Visitor.prototype.visitDoctype = function (doctype) {\n return \"<!DOCTYPE \" + doctype.rootTag + \" [\\n\" + doctype.dtd + \"\\n]>\";\n };\n return _Visitor;\n }());\n var _visitor = new _Visitor$1();\n function serialize(nodes) {\n return nodes.map(function (node) { return node.visit(_visitor); }).join('');\n }\n var Declaration = (function () {\n function Declaration(unescapedAttrs) {\n var _this = this;\n this.attrs = {};\n Object.keys(unescapedAttrs).forEach(function (k) {\n _this.attrs[k] = _escapeXml(unescapedAttrs[k]);\n });\n }\n Declaration.prototype.visit = function (visitor) { return visitor.visitDeclaration(this); };\n return Declaration;\n }());\n var Doctype = (function () {\n function Doctype(rootTag, dtd) {\n this.rootTag = rootTag;\n this.dtd = dtd;\n }\n ;\n Doctype.prototype.visit = function (visitor) { return visitor.visitDoctype(this); };\n return Doctype;\n }());\n var Tag = (function () {\n function Tag(name, unescapedAttrs, children) {\n var _this = this;\n if (unescapedAttrs === void 0) { unescapedAttrs = {}; }\n if (children === void 0) { children = []; }\n this.name = name;\n this.children = children;\n this.attrs = {};\n Object.keys(unescapedAttrs).forEach(function (k) {\n _this.attrs[k] = _escapeXml(unescapedAttrs[k]);\n });\n }\n Tag.prototype.visit = function (visitor) { return visitor.visitTag(this); };\n return Tag;\n }());\n var Text$2 = (function () {\n function Text(unescapedValue) {\n this.value = _escapeXml(unescapedValue);\n }\n ;\n Text.prototype.visit = function (visitor) { return visitor.visitText(this); };\n return Text;\n }());\n var CR = (function (_super) {\n __extends$6(CR, _super);\n function CR(ws) {\n if (ws === void 0) { ws = 0; }\n _super.call(this, \"\\n\" + new Array(ws + 1).join(' '));\n }\n return CR;\n }(Text$2));\n var _ESCAPED_CHARS = [\n [/&/g, '&'],\n [/\"/g, '"'],\n [/'/g, '''],\n [/</g, '<'],\n [/>/g, '>'],\n ];\n function _escapeXml(text) {\n return _ESCAPED_CHARS.reduce(function (text, entry) { return text.replace(entry[0], entry[1]); }, text);\n }\n\n var _VERSION = '1.2';\n var _XMLNS = 'urn:oasis:names:tc:xliff:document:1.2';\n // TODO(vicb): make this a param (s/_/-/)\n var _SOURCE_LANG = 'en';\n var _PLACEHOLDER_TAG = 'x';\n var _SOURCE_TAG = 'source';\n var _TARGET_TAG = 'target';\n var _UNIT_TAG = 'trans-unit';\n // http://docs.oasis-open.org/xliff/v1.2/os/xliff-core.html\n // http://docs.oasis-open.org/xliff/v1.2/xliff-profile-html/xliff-profile-html-1.2.html\n var Xliff = (function () {\n function Xliff(_htmlParser, _interpolationConfig) {\n this._htmlParser = _htmlParser;\n this._interpolationConfig = _interpolationConfig;\n }\n Xliff.prototype.write = function (messageMap) {\n var visitor = new _WriteVisitor();\n var transUnits = [];\n Object.keys(messageMap).forEach(function (id) {\n var message = messageMap[id];\n var transUnit = new Tag(_UNIT_TAG, { id: id, datatype: 'html' });\n transUnit.children.push(new CR(8), new Tag(_SOURCE_TAG, {}, visitor.serialize(message.nodes)), new CR(8), new Tag(_TARGET_TAG));\n if (message.description) {\n transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'description' }, [new Text$2(message.description)]));\n }\n if (message.meaning) {\n transUnit.children.push(new CR(8), new Tag('note', { priority: '1', from: 'meaning' }, [new Text$2(message.meaning)]));\n }\n transUnit.children.push(new CR(6));\n transUnits.push(new CR(6), transUnit);\n });\n var body = new Tag('body', {}, transUnits.concat([new CR(4)]));\n var file = new Tag('file', { 'source-language': _SOURCE_LANG, datatype: 'plaintext', original: 'ng2.template' }, [new CR(4), body, new CR(2)]);\n var xliff = new Tag('xliff', { version: _VERSION, xmlns: _XMLNS }, [new CR(2), file, new CR()]);\n return serialize([\n new Declaration({ version: '1.0', encoding: 'UTF-8' }), new CR(), xliff, new CR()\n ]);\n };\n Xliff.prototype.load = function (content, url, messageBundle) {\n var _this = this;\n // Parse the xtb file into xml nodes\n var result = new XmlParser().parse(content, url);\n if (result.errors.length) {\n throw new Error(\"xtb parse errors:\\n\" + result.errors.join('\\n'));\n }\n // Replace the placeholders, messages are now string\n var _a = new _LoadVisitor().parse(result.rootNodes, messageBundle), messages = _a.messages, errors = _a.errors;\n if (errors.length) {\n throw new Error(\"xtb parse errors:\\n\" + errors.join('\\n'));\n }\n // Convert the string messages to html ast\n // TODO(vicb): map error message back to the original message in xtb\n var messageMap = {};\n var parseErrors = [];\n Object.keys(messages).forEach(function (id) {\n var res = _this._htmlParser.parse(messages[id], url, true, _this._interpolationConfig);\n parseErrors.push.apply(parseErrors, res.errors);\n messageMap[id] = res.rootNodes;\n });\n if (parseErrors.length) {\n throw new Error(\"xtb parse errors:\\n\" + parseErrors.join('\\n'));\n }\n return messageMap;\n };\n return Xliff;\n }());\n var _WriteVisitor = (function () {\n function _WriteVisitor() {\n }\n _WriteVisitor.prototype.visitText = function (text, context) { return [new Text$2(text.value)]; };\n _WriteVisitor.prototype.visitContainer = function (container, context) {\n var _this = this;\n var nodes = [];\n container.children.forEach(function (node) { return nodes.push.apply(nodes, node.visit(_this)); });\n return nodes;\n };\n _WriteVisitor.prototype.visitIcu = function (icu, context) {\n if (this._isInIcu) {\n // nested ICU is not supported\n throw new Error('xliff does not support nested ICU messages');\n }\n this._isInIcu = true;\n // TODO(vicb): support ICU messages\n // https://lists.oasis-open.org/archives/xliff/201201/msg00028.html\n // http://docs.oasis-open.org/xliff/v1.2/xliff-profile-po/xliff-profile-po-1.2-cd02.html\n var nodes = [];\n this._isInIcu = false;\n return nodes;\n };\n _WriteVisitor.prototype.visitTagPlaceholder = function (ph, context) {\n var ctype = getCtypeForTag(ph.tag);\n var startTagPh = new Tag(_PLACEHOLDER_TAG, { id: ph.startName, ctype: ctype });\n if (ph.isVoid) {\n // void tags have no children nor closing tags\n return [startTagPh];\n }\n var closeTagPh = new Tag(_PLACEHOLDER_TAG, { id: ph.closeName, ctype: ctype });\n return [startTagPh].concat(this.serialize(ph.children), [closeTagPh]);\n };\n _WriteVisitor.prototype.visitPlaceholder = function (ph, context) {\n return [new Tag(_PLACEHOLDER_TAG, { id: ph.name })];\n };\n _WriteVisitor.prototype.visitIcuPlaceholder = function (ph, context) {\n return [new Tag(_PLACEHOLDER_TAG, { id: ph.name })];\n };\n _WriteVisitor.prototype.serialize = function (nodes) {\n var _this = this;\n this._isInIcu = false;\n return (_a = []).concat.apply(_a, nodes.map(function (node) { return node.visit(_this); }));\n var _a;\n };\n return _WriteVisitor;\n }());\n // TODO(vicb): add error management (structure)\n // TODO(vicb): factorize (xtb) ?\n var _LoadVisitor = (function () {\n function _LoadVisitor() {\n }\n _LoadVisitor.prototype.parse = function (nodes, messageBundle) {\n var _this = this;\n this._messageNodes = [];\n this._translatedMessages = {};\n this._msgId = '';\n this._target = [];\n this._errors = [];\n // Find all messages\n visitAll(this, nodes, null);\n var messageMap = messageBundle.getMessageMap();\n var placeholders = extractPlaceholders(messageBundle);\n var placeholderToIds = extractPlaceholderToIds(messageBundle);\n this._messageNodes\n .filter(function (message) {\n // Remove any messages that is not present in the source message bundle.\n return messageMap.hasOwnProperty(message[0]);\n })\n .sort(function (a, b) {\n // Because there could be no ICU placeholders inside an ICU message,\n // we do not need to take into account the `placeholderToMsgIds` of the referenced\n // messages, those would always be empty\n // TODO(vicb): overkill - create 2 buckets and [...woDeps, ...wDeps].process()\n if (Object.keys(messageMap[a[0]].placeholderToMsgIds).length == 0) {\n return -1;\n }\n if (Object.keys(messageMap[b[0]].placeholderToMsgIds).length == 0) {\n return 1;\n }\n return 0;\n })\n .forEach(function (message) {\n var id = message[0];\n _this._placeholders = placeholders[id] || {};\n _this._placeholderToIds = placeholderToIds[id] || {};\n // TODO(vicb): make sure there is no `_TRANSLATIONS_TAG` nor `_TRANSLATION_TAG`\n _this._translatedMessages[id] = visitAll(_this, message[1]).join('');\n });\n return { messages: this._translatedMessages, errors: this._errors };\n };\n _LoadVisitor.prototype.visitElement = function (element, context) {\n switch (element.name) {\n case _UNIT_TAG:\n this._target = null;\n var msgId = element.attrs.find(function (attr) { return attr.name === 'id'; });\n if (!msgId) {\n this._addError(element, \"<\" + _UNIT_TAG + \"> misses the \\\"id\\\" attribute\");\n }\n else {\n this._msgId = msgId.value;\n }\n visitAll(this, element.children, null);\n if (this._msgId !== null) {\n this._messageNodes.push([this._msgId, this._target]);\n }\n break;\n case _SOURCE_TAG:\n // ignore source message\n break;\n case _TARGET_TAG:\n this._target = element.children;\n break;\n case _PLACEHOLDER_TAG:\n var idAttr = element.attrs.find(function (attr) { return attr.name === 'id'; });\n if (!idAttr) {\n this._addError(element, \"<\" + _PLACEHOLDER_TAG + \"> misses the \\\"id\\\" attribute\");\n }\n else {\n var id = idAttr.value;\n if (this._placeholders.hasOwnProperty(id)) {\n return this._placeholders[id];\n }\n if (this._placeholderToIds.hasOwnProperty(id) &&\n this._translatedMessages.hasOwnProperty(this._placeholderToIds[id])) {\n return this._translatedMessages[this._placeholderToIds[id]];\n }\n // TODO(vicb): better error message for when\n // !this._translatedMessages.hasOwnProperty(this._placeholderToIds[id])\n this._addError(element, \"The placeholder \\\"\" + id + \"\\\" does not exists in the source message\");\n }\n break;\n default:\n visitAll(this, element.children, null);\n }\n };\n _LoadVisitor.prototype.visitAttribute = function (attribute, context) {\n throw new Error('unreachable code');\n };\n _LoadVisitor.prototype.visitText = function (text, context) { return text.value; };\n _LoadVisitor.prototype.visitComment = function (comment, context) { return ''; };\n _LoadVisitor.prototype.visitExpansion = function (expansion, context) {\n throw new Error('unreachable code');\n };\n _LoadVisitor.prototype.visitExpansionCase = function (expansionCase, context) {\n throw new Error('unreachable code');\n };\n _LoadVisitor.prototype._addError = function (node, message) {\n this._errors.push(new I18nError(node.sourceSpan, message));\n };\n return _LoadVisitor;\n }());\n function getCtypeForTag(tag) {\n switch (tag.toLowerCase()) {\n case 'br':\n return 'lb';\n case 'img':\n return 'image';\n default:\n return \"x-\" + tag;\n }\n }\n\n var _MESSAGES_TAG = 'messagebundle';\n var _MESSAGE_TAG = 'msg';\n var _PLACEHOLDER_TAG$1 = 'ph';\n var _EXEMPLE_TAG = 'ex';\n var _DOCTYPE = \"<!ELEMENT messagebundle (msg)*>\\n<!ATTLIST messagebundle class CDATA #IMPLIED>\\n\\n<!ELEMENT msg (#PCDATA|ph|source)*>\\n<!ATTLIST msg id CDATA #IMPLIED>\\n<!ATTLIST msg seq CDATA #IMPLIED>\\n<!ATTLIST msg name CDATA #IMPLIED>\\n<!ATTLIST msg desc CDATA #IMPLIED>\\n<!ATTLIST msg meaning CDATA #IMPLIED>\\n<!ATTLIST msg obsolete (obsolete) #IMPLIED>\\n<!ATTLIST msg xml:space (default|preserve) \\\"default\\\">\\n<!ATTLIST msg is_hidden CDATA #IMPLIED>\\n\\n<!ELEMENT source (#PCDATA)>\\n\\n<!ELEMENT ph (#PCDATA|ex)*>\\n<!ATTLIST ph name CDATA #REQUIRED>\\n\\n<!ELEMENT ex (#PCDATA)>\";\n var Xmb = (function () {\n function Xmb() {\n }\n Xmb.prototype.write = function (messageMap) {\n var visitor = new _Visitor$2();\n var rootNode = new Tag(_MESSAGES_TAG);\n Object.keys(messageMap).forEach(function (id) {\n var message = messageMap[id];\n var attrs = { id: id };\n if (message.description) {\n attrs['desc'] = message.description;\n }\n if (message.meaning) {\n attrs['meaning'] = message.meaning;\n }\n rootNode.children.push(new CR(2), new Tag(_MESSAGE_TAG, attrs, visitor.serialize(message.nodes)));\n });\n rootNode.children.push(new CR());\n return serialize([\n new Declaration({ version: '1.0', encoding: 'UTF-8' }),\n new CR(),\n new Doctype(_MESSAGES_TAG, _DOCTYPE),\n new CR(),\n rootNode,\n new CR(),\n ]);\n };\n Xmb.prototype.load = function (content, url, messageBundle) {\n throw new Error('Unsupported');\n };\n return Xmb;\n }());\n var _Visitor$2 = (function () {\n function _Visitor() {\n }\n _Visitor.prototype.visitText = function (text, context) { return [new Text$2(text.value)]; };\n _Visitor.prototype.visitContainer = function (container, context) {\n var _this = this;\n var nodes = [];\n container.children.forEach(function (node) { return nodes.push.apply(nodes, node.visit(_this)); });\n return nodes;\n };\n _Visitor.prototype.visitIcu = function (icu, context) {\n var _this = this;\n var nodes = [new Text$2(\"{\" + icu.expression + \", \" + icu.type + \", \")];\n Object.keys(icu.cases).forEach(function (c) {\n nodes.push.apply(nodes, [new Text$2(c + \" {\")].concat(icu.cases[c].visit(_this), [new Text$2(\"} \")]));\n });\n nodes.push(new Text$2(\"}\"));\n return nodes;\n };\n _Visitor.prototype.visitTagPlaceholder = function (ph, context) {\n var startEx = new Tag(_EXEMPLE_TAG, {}, [new Text$2(\"<\" + ph.tag + \">\")]);\n var startTagPh = new Tag(_PLACEHOLDER_TAG$1, { name: ph.startName }, [startEx]);\n if (ph.isVoid) {\n // void tags have no children nor closing tags\n return [startTagPh];\n }\n var closeEx = new Tag(_EXEMPLE_TAG, {}, [new Text$2(\"</\" + ph.tag + \">\")]);\n var closeTagPh = new Tag(_PLACEHOLDER_TAG$1, { name: ph.closeName }, [closeEx]);\n return [startTagPh].concat(this.serialize(ph.children), [closeTagPh]);\n };\n _Visitor.prototype.visitPlaceholder = function (ph, context) {\n return [new Tag(_PLACEHOLDER_TAG$1, { name: ph.name })];\n };\n _Visitor.prototype.visitIcuPlaceholder = function (ph, context) {\n return [new Tag(_PLACEHOLDER_TAG$1, { name: ph.name })];\n };\n _Visitor.prototype.serialize = function (nodes) {\n var _this = this;\n return (_a = []).concat.apply(_a, nodes.map(function (node) { return node.visit(_this); }));\n var _a;\n };\n return _Visitor;\n }());\n\n var _TRANSLATIONS_TAG = 'translationbundle';\n var _TRANSLATION_TAG = 'translation';\n var _PLACEHOLDER_TAG$2 = 'ph';\n var Xtb = (function () {\n function Xtb(_htmlParser, _interpolationConfig) {\n this._htmlParser = _htmlParser;\n this._interpolationConfig = _interpolationConfig;\n }\n Xtb.prototype.write = function (messageMap) { throw new Error('Unsupported'); };\n Xtb.prototype.load = function (content, url, messageBundle) {\n var _this = this;\n // Parse the xtb file into xml nodes\n var result = new XmlParser().parse(content, url);\n if (result.errors.length) {\n throw new Error(\"xtb parse errors:\\n\" + result.errors.join('\\n'));\n }\n // Replace the placeholders, messages are now string\n var _a = new _Visitor$3().parse(result.rootNodes, messageBundle), messages = _a.messages, errors = _a.errors;\n if (errors.length) {\n throw new Error(\"xtb parse errors:\\n\" + errors.join('\\n'));\n }\n // Convert the string messages to html ast\n // TODO(vicb): map error message back to the original message in xtb\n var messageMap = {};\n var parseErrors = [];\n Object.keys(messages).forEach(function (id) {\n var res = _this._htmlParser.parse(messages[id], url, true, _this._interpolationConfig);\n parseErrors.push.apply(parseErrors, res.errors);\n messageMap[id] = res.rootNodes;\n });\n if (parseErrors.length) {\n throw new Error(\"xtb parse errors:\\n\" + parseErrors.join('\\n'));\n }\n return messageMap;\n };\n return Xtb;\n }());\n var _Visitor$3 = (function () {\n function _Visitor() {\n }\n _Visitor.prototype.parse = function (nodes, messageBundle) {\n var _this = this;\n this._messageNodes = [];\n this._translatedMessages = {};\n this._bundleDepth = 0;\n this._translationDepth = 0;\n this._errors = [];\n // Find all messages\n visitAll(this, nodes, null);\n var messageMap = messageBundle.getMessageMap();\n var placeholders = extractPlaceholders(messageBundle);\n var placeholderToIds = extractPlaceholderToIds(messageBundle);\n this._messageNodes\n .filter(function (message) {\n // Remove any messages that is not present in the source message bundle.\n return messageMap.hasOwnProperty(message[0]);\n })\n .sort(function (a, b) {\n // Because there could be no ICU placeholders inside an ICU message,\n // we do not need to take into account the `placeholderToMsgIds` of the referenced\n // messages, those would always be empty\n // TODO(vicb): overkill - create 2 buckets and [...woDeps, ...wDeps].process()\n if (Object.keys(messageMap[a[0]].placeholderToMsgIds).length == 0) {\n return -1;\n }\n if (Object.keys(messageMap[b[0]].placeholderToMsgIds).length == 0) {\n return 1;\n }\n return 0;\n })\n .forEach(function (message) {\n var id = message[0];\n _this._placeholders = placeholders[id] || {};\n _this._placeholderToIds = placeholderToIds[id] || {};\n // TODO(vicb): make sure there is no `_TRANSLATIONS_TAG` nor `_TRANSLATION_TAG`\n _this._translatedMessages[id] = visitAll(_this, message[1]).join('');\n });\n return { messages: this._translatedMessages, errors: this._errors };\n };\n _Visitor.prototype.visitElement = function (element, context) {\n switch (element.name) {\n case _TRANSLATIONS_TAG:\n this._bundleDepth++;\n if (this._bundleDepth > 1) {\n this._addError(element, \"<\" + _TRANSLATIONS_TAG + \"> elements can not be nested\");\n }\n visitAll(this, element.children, null);\n this._bundleDepth--;\n break;\n case _TRANSLATION_TAG:\n this._translationDepth++;\n if (this._translationDepth > 1) {\n this._addError(element, \"<\" + _TRANSLATION_TAG + \"> elements can not be nested\");\n }\n var idAttr = element.attrs.find(function (attr) { return attr.name === 'id'; });\n if (!idAttr) {\n this._addError(element, \"<\" + _TRANSLATION_TAG + \"> misses the \\\"id\\\" attribute\");\n }\n else {\n // ICU placeholders are reference to other messages.\n // The referenced message might not have been decoded yet.\n // We need to have all messages available to make sure deps are decoded first.\n // TODO(vicb): report an error on duplicate id\n this._messageNodes.push([idAttr.value, element.children]);\n }\n this._translationDepth--;\n break;\n case _PLACEHOLDER_TAG$2:\n var nameAttr = element.attrs.find(function (attr) { return attr.name === 'name'; });\n if (!nameAttr) {\n this._addError(element, \"<\" + _PLACEHOLDER_TAG$2 + \"> misses the \\\"name\\\" attribute\");\n }\n else {\n var name_1 = nameAttr.value;\n if (this._placeholders.hasOwnProperty(name_1)) {\n return this._placeholders[name_1];\n }\n if (this._placeholderToIds.hasOwnProperty(name_1) &&\n this._translatedMessages.hasOwnProperty(this._placeholderToIds[name_1])) {\n return this._translatedMessages[this._placeholderToIds[name_1]];\n }\n // TODO(vicb): better error message for when\n // !this._translatedMessages.hasOwnProperty(this._placeholderToIds[name])\n this._addError(element, \"The placeholder \\\"\" + name_1 + \"\\\" does not exists in the source message\");\n }\n break;\n default:\n this._addError(element, 'Unexpected tag');\n }\n };\n _Visitor.prototype.visitAttribute = function (attribute, context) {\n throw new Error('unreachable code');\n };\n _Visitor.prototype.visitText = function (text, context) { return text.value; };\n _Visitor.prototype.visitComment = function (comment, context) { return ''; };\n _Visitor.prototype.visitExpansion = function (expansion, context) {\n var _this = this;\n var strCases = expansion.cases.map(function (c) { return c.visit(_this, null); });\n return \"{\" + expansion.switchValue + \", \" + expansion.type + \", strCases.join(' ')}\";\n };\n _Visitor.prototype.visitExpansionCase = function (expansionCase, context) {\n return expansionCase.value + \" {\" + visitAll(this, expansionCase.expression, null) + \"}\";\n };\n _Visitor.prototype._addError = function (node, message) {\n this._errors.push(new I18nError(node.sourceSpan, message));\n };\n return _Visitor;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * A container for translated messages\n */\n var TranslationBundle = (function () {\n function TranslationBundle(_messageMap) {\n if (_messageMap === void 0) { _messageMap = {}; }\n this._messageMap = _messageMap;\n }\n TranslationBundle.load = function (content, url, messageBundle, serializer) {\n return new TranslationBundle(serializer.load(content, url, messageBundle));\n };\n TranslationBundle.prototype.get = function (id) { return this._messageMap[id]; };\n TranslationBundle.prototype.has = function (id) { return id in this._messageMap; };\n return TranslationBundle;\n }());\n\n var I18NHtmlParser = (function () {\n // TODO(vicb): transB.load() should not need a msgB & add transB.resolve(msgB,\n // interpolationConfig)\n // TODO(vicb): remove the interpolationConfig from the Xtb serializer\n function I18NHtmlParser(_htmlParser, _translations, _translationsFormat) {\n this._htmlParser = _htmlParser;\n this._translations = _translations;\n this._translationsFormat = _translationsFormat;\n }\n I18NHtmlParser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n var parseResult = this._htmlParser.parse(source, url, parseExpansionForms, interpolationConfig);\n if (!this._translations || this._translations === '') {\n // Do not enable i18n when no translation bundle is provided\n return parseResult;\n }\n // TODO(vicb): add support for implicit tags / attributes\n var messageBundle = new MessageBundle(this._htmlParser, [], {});\n var errors = messageBundle.updateFromTemplate(source, url, interpolationConfig);\n if (errors && errors.length) {\n return new ParseTreeResult(parseResult.rootNodes, parseResult.errors.concat(errors));\n }\n var serializer = this._createSerializer(interpolationConfig);\n var translationBundle = TranslationBundle.load(this._translations, url, messageBundle, serializer);\n return mergeTranslations(parseResult.rootNodes, translationBundle, interpolationConfig, [], {});\n };\n I18NHtmlParser.prototype._createSerializer = function (interpolationConfig) {\n var format = (this._translationsFormat || 'xlf').toLowerCase();\n switch (format) {\n case 'xmb':\n return new Xmb();\n case 'xtb':\n return new Xtb(this._htmlParser, interpolationConfig);\n case 'xliff':\n case 'xlf':\n default:\n return new Xliff(this._htmlParser, interpolationConfig);\n }\n };\n return I18NHtmlParser;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function isStaticSymbol(value) {\n return typeof value === 'object' && value !== null && value['name'] && value['filePath'];\n }\n /**\n * A token representing the a reference to a static type.\n *\n * This token is unique for a filePath and name and can be used as a hash table key.\n */\n var StaticSymbol = (function () {\n function StaticSymbol(filePath, name, members) {\n this.filePath = filePath;\n this.name = name;\n this.members = members;\n }\n return StaticSymbol;\n }());\n\n /**\n * Wraps Javascript Objects\n */\n var StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n }());\n var ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n if (index > -1) {\n list.splice(index, 1);\n }\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.flatten = function (list) {\n return list.reduce(function (flat, item) {\n var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n return flat.concat(flatItem);\n }, []);\n };\n return ListWrapper;\n }());\n\n var _SELECTOR_REGEXP = new RegExp('(\\\\:not\\\\()|' +\n '([-\\\\w]+)|' +\n '(?:\\\\.([-\\\\w]+))|' +\n '(?:\\\\[([-\\\\w*]+)(?:=([^\\\\]]*))?\\\\])|' +\n '(\\\\))|' +\n '(\\\\s*,\\\\s*)', // \",\"\n 'g');\n /**\n * A css selector contains an element name,\n * css classes and attribute/value pairs with the purpose\n * of selecting subsets out of them.\n */\n var CssSelector = (function () {\n function CssSelector() {\n this.element = null;\n this.classNames = [];\n this.attrs = [];\n this.notSelectors = [];\n }\n CssSelector.parse = function (selector) {\n var results = [];\n var _addResult = function (res, cssSel) {\n if (cssSel.notSelectors.length > 0 && !cssSel.element && cssSel.classNames.length == 0 &&\n cssSel.attrs.length == 0) {\n cssSel.element = '*';\n }\n res.push(cssSel);\n };\n var cssSelector = new CssSelector();\n var match;\n var current = cssSelector;\n var inNot = false;\n _SELECTOR_REGEXP.lastIndex = 0;\n while (match = _SELECTOR_REGEXP.exec(selector)) {\n if (match[1]) {\n if (inNot) {\n throw new Error('Nesting :not is not allowed in a selector');\n }\n inNot = true;\n current = new CssSelector();\n cssSelector.notSelectors.push(current);\n }\n if (match[2]) {\n current.setElement(match[2]);\n }\n if (match[3]) {\n current.addClassName(match[3]);\n }\n if (match[4]) {\n current.addAttribute(match[4], match[5]);\n }\n if (match[6]) {\n inNot = false;\n current = cssSelector;\n }\n if (match[7]) {\n if (inNot) {\n throw new Error('Multiple selectors in :not are not supported');\n }\n _addResult(results, cssSelector);\n cssSelector = current = new CssSelector();\n }\n }\n _addResult(results, cssSelector);\n return results;\n };\n CssSelector.prototype.isElementSelector = function () {\n return this.hasElementSelector() && this.classNames.length == 0 && this.attrs.length == 0 &&\n this.notSelectors.length === 0;\n };\n CssSelector.prototype.hasElementSelector = function () { return !!this.element; };\n CssSelector.prototype.setElement = function (element) {\n if (element === void 0) { element = null; }\n this.element = element;\n };\n /** Gets a template string for an element that matches the selector. */\n CssSelector.prototype.getMatchingElementTemplate = function () {\n var tagName = this.element || 'div';\n var classAttr = this.classNames.length > 0 ? \" class=\\\"\" + this.classNames.join(' ') + \"\\\"\" : '';\n var attrs = '';\n for (var i = 0; i < this.attrs.length; i += 2) {\n var attrName = this.attrs[i];\n var attrValue = this.attrs[i + 1] !== '' ? \"=\\\"\" + this.attrs[i + 1] + \"\\\"\" : '';\n attrs += \" \" + attrName + attrValue;\n }\n return getHtmlTagDefinition(tagName).isVoid ? \"<\" + tagName + classAttr + attrs + \"/>\" :\n \"<\" + tagName + classAttr + attrs + \"></\" + tagName + \">\";\n };\n CssSelector.prototype.addAttribute = function (name, value) {\n if (value === void 0) { value = ''; }\n this.attrs.push(name, value && value.toLowerCase() || '');\n };\n CssSelector.prototype.addClassName = function (name) { this.classNames.push(name.toLowerCase()); };\n CssSelector.prototype.toString = function () {\n var res = this.element || '';\n if (this.classNames) {\n this.classNames.forEach(function (klass) { return res += \".\" + klass; });\n }\n if (this.attrs) {\n for (var i = 0; i < this.attrs.length; i += 2) {\n var name_1 = this.attrs[i];\n var value = this.attrs[i + 1];\n res += \"[\" + name_1 + (value ? '=' + value : '') + \"]\";\n }\n }\n this.notSelectors.forEach(function (notSelector) { return res += \":not(\" + notSelector + \")\"; });\n return res;\n };\n return CssSelector;\n }());\n /**\n * Reads a list of CssSelectors and allows to calculate which ones\n * are contained in a given CssSelector.\n */\n var SelectorMatcher = (function () {\n function SelectorMatcher() {\n this._elementMap = new Map();\n this._elementPartialMap = new Map();\n this._classMap = new Map();\n this._classPartialMap = new Map();\n this._attrValueMap = new Map();\n this._attrValuePartialMap = new Map();\n this._listContexts = [];\n }\n SelectorMatcher.createNotMatcher = function (notSelectors) {\n var notMatcher = new SelectorMatcher();\n notMatcher.addSelectables(notSelectors, null);\n return notMatcher;\n };\n SelectorMatcher.prototype.addSelectables = function (cssSelectors, callbackCtxt) {\n var listContext = null;\n if (cssSelectors.length > 1) {\n listContext = new SelectorListContext(cssSelectors);\n this._listContexts.push(listContext);\n }\n for (var i = 0; i < cssSelectors.length; i++) {\n this._addSelectable(cssSelectors[i], callbackCtxt, listContext);\n }\n };\n /**\n * Add an object that can be found later on by calling `match`.\n * @param cssSelector A css selector\n * @param callbackCtxt An opaque object that will be given to the callback of the `match` function\n */\n SelectorMatcher.prototype._addSelectable = function (cssSelector, callbackCtxt, listContext) {\n var matcher = this;\n var element = cssSelector.element;\n var classNames = cssSelector.classNames;\n var attrs = cssSelector.attrs;\n var selectable = new SelectorContext(cssSelector, callbackCtxt, listContext);\n if (element) {\n var isTerminal = attrs.length === 0 && classNames.length === 0;\n if (isTerminal) {\n this._addTerminal(matcher._elementMap, element, selectable);\n }\n else {\n matcher = this._addPartial(matcher._elementPartialMap, element);\n }\n }\n if (classNames) {\n for (var i = 0; i < classNames.length; i++) {\n var isTerminal = attrs.length === 0 && i === classNames.length - 1;\n var className = classNames[i];\n if (isTerminal) {\n this._addTerminal(matcher._classMap, className, selectable);\n }\n else {\n matcher = this._addPartial(matcher._classPartialMap, className);\n }\n }\n }\n if (attrs) {\n for (var i = 0; i < attrs.length; i += 2) {\n var isTerminal = i === attrs.length - 2;\n var name_2 = attrs[i];\n var value = attrs[i + 1];\n if (isTerminal) {\n var terminalMap = matcher._attrValueMap;\n var terminalValuesMap = terminalMap.get(name_2);\n if (!terminalValuesMap) {\n terminalValuesMap = new Map();\n terminalMap.set(name_2, terminalValuesMap);\n }\n this._addTerminal(terminalValuesMap, value, selectable);\n }\n else {\n var partialMap = matcher._attrValuePartialMap;\n var partialValuesMap = partialMap.get(name_2);\n if (!partialValuesMap) {\n partialValuesMap = new Map();\n partialMap.set(name_2, partialValuesMap);\n }\n matcher = this._addPartial(partialValuesMap, value);\n }\n }\n }\n };\n SelectorMatcher.prototype._addTerminal = function (map, name, selectable) {\n var terminalList = map.get(name);\n if (!terminalList) {\n terminalList = [];\n map.set(name, terminalList);\n }\n terminalList.push(selectable);\n };\n SelectorMatcher.prototype._addPartial = function (map, name) {\n var matcher = map.get(name);\n if (!matcher) {\n matcher = new SelectorMatcher();\n map.set(name, matcher);\n }\n return matcher;\n };\n /**\n * Find the objects that have been added via `addSelectable`\n * whose css selector is contained in the given css selector.\n * @param cssSelector A css selector\n * @param matchedCallback This callback will be called with the object handed into `addSelectable`\n * @return boolean true if a match was found\n */\n SelectorMatcher.prototype.match = function (cssSelector, matchedCallback) {\n var result = false;\n var element = cssSelector.element;\n var classNames = cssSelector.classNames;\n var attrs = cssSelector.attrs;\n for (var i = 0; i < this._listContexts.length; i++) {\n this._listContexts[i].alreadyMatched = false;\n }\n result = this._matchTerminal(this._elementMap, element, cssSelector, matchedCallback) || result;\n result = this._matchPartial(this._elementPartialMap, element, cssSelector, matchedCallback) ||\n result;\n if (classNames) {\n for (var i = 0; i < classNames.length; i++) {\n var className = classNames[i];\n result =\n this._matchTerminal(this._classMap, className, cssSelector, matchedCallback) || result;\n result =\n this._matchPartial(this._classPartialMap, className, cssSelector, matchedCallback) ||\n result;\n }\n }\n if (attrs) {\n for (var i = 0; i < attrs.length; i += 2) {\n var name_3 = attrs[i];\n var value = attrs[i + 1];\n var terminalValuesMap = this._attrValueMap.get(name_3);\n if (value) {\n result =\n this._matchTerminal(terminalValuesMap, '', cssSelector, matchedCallback) || result;\n }\n result =\n this._matchTerminal(terminalValuesMap, value, cssSelector, matchedCallback) || result;\n var partialValuesMap = this._attrValuePartialMap.get(name_3);\n if (value) {\n result = this._matchPartial(partialValuesMap, '', cssSelector, matchedCallback) || result;\n }\n result =\n this._matchPartial(partialValuesMap, value, cssSelector, matchedCallback) || result;\n }\n }\n return result;\n };\n /** @internal */\n SelectorMatcher.prototype._matchTerminal = function (map, name, cssSelector, matchedCallback) {\n if (!map || typeof name !== 'string') {\n return false;\n }\n var selectables = map.get(name);\n var starSelectables = map.get('*');\n if (starSelectables) {\n selectables = selectables.concat(starSelectables);\n }\n if (!selectables) {\n return false;\n }\n var selectable;\n var result = false;\n for (var i = 0; i < selectables.length; i++) {\n selectable = selectables[i];\n result = selectable.finalize(cssSelector, matchedCallback) || result;\n }\n return result;\n };\n /** @internal */\n SelectorMatcher.prototype._matchPartial = function (map, name, cssSelector, matchedCallback) {\n if (!map || typeof name !== 'string') {\n return false;\n }\n var nestedSelector = map.get(name);\n if (!nestedSelector) {\n return false;\n }\n // TODO(perf): get rid of recursion and measure again\n // TODO(perf): don't pass the whole selector into the recursion,\n // but only the not processed parts\n return nestedSelector.match(cssSelector, matchedCallback);\n };\n return SelectorMatcher;\n }());\n var SelectorListContext = (function () {\n function SelectorListContext(selectors) {\n this.selectors = selectors;\n this.alreadyMatched = false;\n }\n return SelectorListContext;\n }());\n // Store context to pass back selector and context when a selector is matched\n var SelectorContext = (function () {\n function SelectorContext(selector, cbContext, listContext) {\n this.selector = selector;\n this.cbContext = cbContext;\n this.listContext = listContext;\n this.notSelectors = selector.notSelectors;\n }\n SelectorContext.prototype.finalize = function (cssSelector, callback) {\n var result = true;\n if (this.notSelectors.length > 0 && (!this.listContext || !this.listContext.alreadyMatched)) {\n var notMatcher = SelectorMatcher.createNotMatcher(this.notSelectors);\n result = !notMatcher.match(cssSelector, null);\n }\n if (result && callback && (!this.listContext || !this.listContext.alreadyMatched)) {\n if (this.listContext) {\n this.listContext.alreadyMatched = true;\n }\n callback(this.selector, this.cbContext);\n }\n return result;\n };\n return SelectorContext;\n }());\n\n var MODULE_SUFFIX = '';\n var DASH_CASE_REGEXP = /-+([a-z0-9])/g;\n function dashCaseToCamelCase(input) {\n return input.replace(DASH_CASE_REGEXP, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n return m[1].toUpperCase();\n });\n }\n function splitAtColon(input, defaultValues) {\n return _splitAt(input, ':', defaultValues);\n }\n function splitAtPeriod(input, defaultValues) {\n return _splitAt(input, '.', defaultValues);\n }\n function _splitAt(input, character, defaultValues) {\n var characterIndex = input.indexOf(character);\n if (characterIndex == -1)\n return defaultValues;\n return [input.slice(0, characterIndex).trim(), input.slice(characterIndex + 1).trim()];\n }\n function sanitizeIdentifier(name) {\n return name.replace(/\\W/g, '_');\n }\n function visitValue(value, visitor, context) {\n if (Array.isArray(value)) {\n return visitor.visitArray(value, context);\n }\n if (isStrictStringMap(value)) {\n return visitor.visitStringMap(value, context);\n }\n if (isBlank(value) || isPrimitive(value)) {\n return visitor.visitPrimitive(value, context);\n }\n return visitor.visitOther(value, context);\n }\n var ValueTransformer = (function () {\n function ValueTransformer() {\n }\n ValueTransformer.prototype.visitArray = function (arr, context) {\n var _this = this;\n return arr.map(function (value) { return visitValue(value, _this, context); });\n };\n ValueTransformer.prototype.visitStringMap = function (map, context) {\n var _this = this;\n var result = {};\n Object.keys(map).forEach(function (key) { result[key] = visitValue(map[key], _this, context); });\n return result;\n };\n ValueTransformer.prototype.visitPrimitive = function (value, context) { return value; };\n ValueTransformer.prototype.visitOther = function (value, context) { return value; };\n return ValueTransformer;\n }());\n var SyncAsyncResult = (function () {\n function SyncAsyncResult(syncResult, asyncResult) {\n if (asyncResult === void 0) { asyncResult = null; }\n this.syncResult = syncResult;\n this.asyncResult = asyncResult;\n if (!asyncResult) {\n this.asyncResult = Promise.resolve(syncResult);\n }\n }\n return SyncAsyncResult;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$7 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function unimplemented() {\n throw new Error('unimplemented');\n }\n // group 0: \"[prop] or (event) or @trigger\"\n // group 1: \"prop\" from \"[prop]\"\n // group 2: \"event\" from \"(event)\"\n // group 3: \"@trigger\" from \"@trigger\"\n var HOST_REG_EXP = /^(?:(?:\\[([^\\]]+)\\])|(?:\\(([^\\)]+)\\)))|(\\@[-\\w]+)$/;\n var CompileMetadataWithIdentifier = (function () {\n function CompileMetadataWithIdentifier() {\n }\n Object.defineProperty(CompileMetadataWithIdentifier.prototype, \"identifier\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return CompileMetadataWithIdentifier;\n }());\n var CompileAnimationEntryMetadata = (function () {\n function CompileAnimationEntryMetadata(name, definitions) {\n if (name === void 0) { name = null; }\n if (definitions === void 0) { definitions = null; }\n this.name = name;\n this.definitions = definitions;\n }\n return CompileAnimationEntryMetadata;\n }());\n var CompileAnimationStateMetadata = (function () {\n function CompileAnimationStateMetadata() {\n }\n return CompileAnimationStateMetadata;\n }());\n var CompileAnimationStateDeclarationMetadata = (function (_super) {\n __extends$7(CompileAnimationStateDeclarationMetadata, _super);\n function CompileAnimationStateDeclarationMetadata(stateNameExpr, styles) {\n _super.call(this);\n this.stateNameExpr = stateNameExpr;\n this.styles = styles;\n }\n return CompileAnimationStateDeclarationMetadata;\n }(CompileAnimationStateMetadata));\n var CompileAnimationStateTransitionMetadata = (function (_super) {\n __extends$7(CompileAnimationStateTransitionMetadata, _super);\n function CompileAnimationStateTransitionMetadata(stateChangeExpr, steps) {\n _super.call(this);\n this.stateChangeExpr = stateChangeExpr;\n this.steps = steps;\n }\n return CompileAnimationStateTransitionMetadata;\n }(CompileAnimationStateMetadata));\n var CompileAnimationMetadata = (function () {\n function CompileAnimationMetadata() {\n }\n return CompileAnimationMetadata;\n }());\n var CompileAnimationKeyframesSequenceMetadata = (function (_super) {\n __extends$7(CompileAnimationKeyframesSequenceMetadata, _super);\n function CompileAnimationKeyframesSequenceMetadata(steps) {\n if (steps === void 0) { steps = []; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationKeyframesSequenceMetadata;\n }(CompileAnimationMetadata));\n var CompileAnimationStyleMetadata = (function (_super) {\n __extends$7(CompileAnimationStyleMetadata, _super);\n function CompileAnimationStyleMetadata(offset, styles) {\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.offset = offset;\n this.styles = styles;\n }\n return CompileAnimationStyleMetadata;\n }(CompileAnimationMetadata));\n var CompileAnimationAnimateMetadata = (function (_super) {\n __extends$7(CompileAnimationAnimateMetadata, _super);\n function CompileAnimationAnimateMetadata(timings, styles) {\n if (timings === void 0) { timings = 0; }\n if (styles === void 0) { styles = null; }\n _super.call(this);\n this.timings = timings;\n this.styles = styles;\n }\n return CompileAnimationAnimateMetadata;\n }(CompileAnimationMetadata));\n var CompileAnimationWithStepsMetadata = (function (_super) {\n __extends$7(CompileAnimationWithStepsMetadata, _super);\n function CompileAnimationWithStepsMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this);\n this.steps = steps;\n }\n return CompileAnimationWithStepsMetadata;\n }(CompileAnimationMetadata));\n var CompileAnimationSequenceMetadata = (function (_super) {\n __extends$7(CompileAnimationSequenceMetadata, _super);\n function CompileAnimationSequenceMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationSequenceMetadata;\n }(CompileAnimationWithStepsMetadata));\n var CompileAnimationGroupMetadata = (function (_super) {\n __extends$7(CompileAnimationGroupMetadata, _super);\n function CompileAnimationGroupMetadata(steps) {\n if (steps === void 0) { steps = null; }\n _super.call(this, steps);\n }\n return CompileAnimationGroupMetadata;\n }(CompileAnimationWithStepsMetadata));\n var CompileIdentifierMetadata = (function () {\n function CompileIdentifierMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, value = _b.value;\n this.reference = reference;\n this.name = name;\n this.prefix = prefix;\n this.moduleUrl = moduleUrl;\n this.value = value;\n }\n Object.defineProperty(CompileIdentifierMetadata.prototype, \"identifier\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n return CompileIdentifierMetadata;\n }());\n var CompileDiDependencyMetadata = (function () {\n function CompileDiDependencyMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, isAttribute = _b.isAttribute, isSelf = _b.isSelf, isHost = _b.isHost, isSkipSelf = _b.isSkipSelf, isOptional = _b.isOptional, isValue = _b.isValue, token = _b.token, value = _b.value;\n this.isAttribute = !!isAttribute;\n this.isSelf = !!isSelf;\n this.isHost = !!isHost;\n this.isSkipSelf = !!isSkipSelf;\n this.isOptional = !!isOptional;\n this.isValue = !!isValue;\n this.token = token;\n this.value = value;\n }\n return CompileDiDependencyMetadata;\n }());\n var CompileProviderMetadata = (function () {\n function CompileProviderMetadata(_a) {\n var token = _a.token, useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.deps = deps || null;\n this.multi = !!multi;\n }\n return CompileProviderMetadata;\n }());\n var CompileFactoryMetadata = (function (_super) {\n __extends$7(CompileFactoryMetadata, _super);\n function CompileFactoryMetadata(_a) {\n var reference = _a.reference, name = _a.name, moduleUrl = _a.moduleUrl, prefix = _a.prefix, diDeps = _a.diDeps, value = _a.value;\n _super.call(this, { reference: reference, name: name, prefix: prefix, moduleUrl: moduleUrl, value: value });\n this.diDeps = _normalizeArray(diDeps);\n }\n return CompileFactoryMetadata;\n }(CompileIdentifierMetadata));\n var CompileTokenMetadata = (function () {\n function CompileTokenMetadata(_a) {\n var value = _a.value, identifier = _a.identifier, identifierIsInstance = _a.identifierIsInstance;\n this.value = value;\n this.identifier = identifier;\n this.identifierIsInstance = !!identifierIsInstance;\n }\n Object.defineProperty(CompileTokenMetadata.prototype, \"reference\", {\n get: function () {\n if (isPresent(this.identifier)) {\n return this.identifier.reference;\n }\n else {\n return this.value;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompileTokenMetadata.prototype, \"name\", {\n get: function () {\n return isPresent(this.value) ? sanitizeIdentifier(this.value) : this.identifier.name;\n },\n enumerable: true,\n configurable: true\n });\n return CompileTokenMetadata;\n }());\n /**\n * Metadata regarding compilation of a type.\n */\n var CompileTypeMetadata = (function (_super) {\n __extends$7(CompileTypeMetadata, _super);\n function CompileTypeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, reference = _b.reference, name = _b.name, moduleUrl = _b.moduleUrl, prefix = _b.prefix, isHost = _b.isHost, value = _b.value, diDeps = _b.diDeps, lifecycleHooks = _b.lifecycleHooks;\n _super.call(this, { reference: reference, name: name, moduleUrl: moduleUrl, prefix: prefix, value: value });\n this.isHost = !!isHost;\n this.diDeps = _normalizeArray(diDeps);\n this.lifecycleHooks = _normalizeArray(lifecycleHooks);\n }\n return CompileTypeMetadata;\n }(CompileIdentifierMetadata));\n var CompileQueryMetadata = (function () {\n function CompileQueryMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, selectors = _b.selectors, descendants = _b.descendants, first = _b.first, propertyName = _b.propertyName, read = _b.read;\n this.selectors = selectors;\n this.descendants = !!descendants;\n this.first = !!first;\n this.propertyName = propertyName;\n this.read = read;\n }\n return CompileQueryMetadata;\n }());\n /**\n * Metadata about a stylesheet\n */\n var CompileStylesheetMetadata = (function () {\n function CompileStylesheetMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, moduleUrl = _b.moduleUrl, styles = _b.styles, styleUrls = _b.styleUrls;\n this.moduleUrl = moduleUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n }\n return CompileStylesheetMetadata;\n }());\n /**\n * Metadata regarding compilation of a template.\n */\n var CompileTemplateMetadata = (function () {\n function CompileTemplateMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, encapsulation = _b.encapsulation, template = _b.template, templateUrl = _b.templateUrl, styles = _b.styles, styleUrls = _b.styleUrls, externalStylesheets = _b.externalStylesheets, animations = _b.animations, ngContentSelectors = _b.ngContentSelectors, interpolation = _b.interpolation;\n this.encapsulation = encapsulation;\n this.template = template;\n this.templateUrl = templateUrl;\n this.styles = _normalizeArray(styles);\n this.styleUrls = _normalizeArray(styleUrls);\n this.externalStylesheets = _normalizeArray(externalStylesheets);\n this.animations = animations ? ListWrapper.flatten(animations) : [];\n this.ngContentSelectors = ngContentSelectors || [];\n if (interpolation && interpolation.length != 2) {\n throw new Error(\"'interpolation' should have a start and an end symbol.\");\n }\n this.interpolation = interpolation;\n }\n CompileTemplateMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n animations: this.animations.map(function (anim) { return anim.name; }),\n ngContentSelectors: this.ngContentSelectors,\n encapsulation: this.encapsulation\n };\n };\n return CompileTemplateMetadata;\n }());\n /**\n * Metadata regarding compilation of a directive.\n */\n var CompileDirectiveMetadata = (function () {\n function CompileDirectiveMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, hostListeners = _b.hostListeners, hostProperties = _b.hostProperties, hostAttributes = _b.hostAttributes, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n this.type = type;\n this.isComponent = isComponent;\n this.selector = selector;\n this.exportAs = exportAs;\n this.changeDetection = changeDetection;\n this.inputs = inputs;\n this.outputs = outputs;\n this.hostListeners = hostListeners;\n this.hostProperties = hostProperties;\n this.hostAttributes = hostAttributes;\n this.providers = _normalizeArray(providers);\n this.viewProviders = _normalizeArray(viewProviders);\n this.queries = _normalizeArray(queries);\n this.viewQueries = _normalizeArray(viewQueries);\n this.entryComponents = _normalizeArray(entryComponents);\n this.template = template;\n }\n CompileDirectiveMetadata.create = function (_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, isComponent = _b.isComponent, selector = _b.selector, exportAs = _b.exportAs, changeDetection = _b.changeDetection, inputs = _b.inputs, outputs = _b.outputs, host = _b.host, providers = _b.providers, viewProviders = _b.viewProviders, queries = _b.queries, viewQueries = _b.viewQueries, entryComponents = _b.entryComponents, template = _b.template;\n var hostListeners = {};\n var hostProperties = {};\n var hostAttributes = {};\n if (isPresent(host)) {\n Object.keys(host).forEach(function (key) {\n var value = host[key];\n var matches = key.match(HOST_REG_EXP);\n if (matches === null) {\n hostAttributes[key] = value;\n }\n else if (isPresent(matches[1])) {\n hostProperties[matches[1]] = value;\n }\n else if (isPresent(matches[2])) {\n hostListeners[matches[2]] = value;\n }\n });\n }\n var inputsMap = {};\n if (isPresent(inputs)) {\n inputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n inputsMap[parts[0]] = parts[1];\n });\n }\n var outputsMap = {};\n if (isPresent(outputs)) {\n outputs.forEach(function (bindConfig) {\n // canonical syntax: `dirProp: elProp`\n // if there is no `:`, use dirProp = elProp\n var parts = splitAtColon(bindConfig, [bindConfig, bindConfig]);\n outputsMap[parts[0]] = parts[1];\n });\n }\n return new CompileDirectiveMetadata({\n type: type,\n isComponent: !!isComponent, selector: selector, exportAs: exportAs, changeDetection: changeDetection,\n inputs: inputsMap,\n outputs: outputsMap,\n hostListeners: hostListeners,\n hostProperties: hostProperties,\n hostAttributes: hostAttributes,\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries,\n entryComponents: entryComponents,\n template: template,\n });\n };\n Object.defineProperty(CompileDirectiveMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompileDirectiveMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n isComponent: this.isComponent,\n selector: this.selector,\n exportAs: this.exportAs,\n inputs: this.inputs,\n outputs: this.outputs,\n hostListeners: this.hostListeners,\n hostProperties: this.hostProperties,\n hostAttributes: this.hostAttributes,\n providers: this.providers,\n viewProviders: this.viewProviders,\n queries: this.queries,\n entryComponents: this.entryComponents,\n changeDetection: this.changeDetection,\n template: this.template && this.template.toSummary()\n };\n };\n return CompileDirectiveMetadata;\n }());\n /**\n * Construct {@link CompileDirectiveMetadata} from {@link ComponentTypeMetadata} and a selector.\n */\n function createHostComponentMeta(compMeta) {\n var template = CssSelector.parse(compMeta.selector)[0].getMatchingElementTemplate();\n return CompileDirectiveMetadata.create({\n type: new CompileTypeMetadata({\n reference: Object,\n name: compMeta.type.name + \"_Host\",\n moduleUrl: compMeta.type.moduleUrl,\n isHost: true\n }),\n template: new CompileTemplateMetadata({\n encapsulation: _angular_core.ViewEncapsulation.None,\n template: template,\n templateUrl: '',\n styles: [],\n styleUrls: [],\n ngContentSelectors: [],\n animations: []\n }),\n changeDetection: _angular_core.ChangeDetectionStrategy.Default,\n inputs: [],\n outputs: [],\n host: {},\n isComponent: true,\n selector: '*',\n providers: [],\n viewProviders: [],\n queries: [],\n viewQueries: []\n });\n }\n var CompilePipeMetadata = (function () {\n function CompilePipeMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, name = _b.name, pure = _b.pure;\n this.type = type;\n this.name = name;\n this.pure = !!pure;\n }\n Object.defineProperty(CompilePipeMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompilePipeMetadata.prototype.toSummary = function () {\n return { isSummary: true, type: this.type, name: this.name, pure: this.pure };\n };\n return CompilePipeMetadata;\n }());\n /**\n * Metadata regarding compilation of a module.\n */\n var CompileNgModuleMetadata = (function () {\n function CompileNgModuleMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, type = _b.type, providers = _b.providers, declaredDirectives = _b.declaredDirectives, exportedDirectives = _b.exportedDirectives, declaredPipes = _b.declaredPipes, exportedPipes = _b.exportedPipes, entryComponents = _b.entryComponents, bootstrapComponents = _b.bootstrapComponents, importedModules = _b.importedModules, exportedModules = _b.exportedModules, schemas = _b.schemas, transitiveModule = _b.transitiveModule, id = _b.id;\n this.type = type;\n this.declaredDirectives = _normalizeArray(declaredDirectives);\n this.exportedDirectives = _normalizeArray(exportedDirectives);\n this.declaredPipes = _normalizeArray(declaredPipes);\n this.exportedPipes = _normalizeArray(exportedPipes);\n this.providers = _normalizeArray(providers);\n this.entryComponents = _normalizeArray(entryComponents);\n this.bootstrapComponents = _normalizeArray(bootstrapComponents);\n this.importedModules = _normalizeArray(importedModules);\n this.exportedModules = _normalizeArray(exportedModules);\n this.schemas = _normalizeArray(schemas);\n this.id = id;\n this.transitiveModule = transitiveModule;\n }\n Object.defineProperty(CompileNgModuleMetadata.prototype, \"identifier\", {\n get: function () { return this.type; },\n enumerable: true,\n configurable: true\n });\n CompileNgModuleMetadata.prototype.toSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n entryComponents: this.entryComponents,\n providers: this.providers,\n importedModules: this.importedModules,\n exportedModules: this.exportedModules,\n exportedDirectives: this.exportedDirectives,\n exportedPipes: this.exportedPipes,\n directiveLoaders: this.transitiveModule.directiveLoaders\n };\n };\n CompileNgModuleMetadata.prototype.toInjectorSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n entryComponents: this.entryComponents,\n providers: this.providers,\n importedModules: this.importedModules,\n exportedModules: this.exportedModules\n };\n };\n CompileNgModuleMetadata.prototype.toDirectiveSummary = function () {\n return {\n isSummary: true,\n type: this.type,\n exportedDirectives: this.exportedDirectives,\n exportedPipes: this.exportedPipes,\n exportedModules: this.exportedModules,\n directiveLoaders: this.transitiveModule.directiveLoaders\n };\n };\n return CompileNgModuleMetadata;\n }());\n var TransitiveCompileNgModuleMetadata = (function () {\n function TransitiveCompileNgModuleMetadata(modules, providers, entryComponents, directives, pipes, directiveLoaders) {\n var _this = this;\n this.modules = modules;\n this.providers = providers;\n this.entryComponents = entryComponents;\n this.directives = directives;\n this.pipes = pipes;\n this.directiveLoaders = directiveLoaders;\n this.directivesSet = new Set();\n this.pipesSet = new Set();\n directives.forEach(function (dir) { return _this.directivesSet.add(dir.reference); });\n pipes.forEach(function (pipe) { return _this.pipesSet.add(pipe.reference); });\n }\n return TransitiveCompileNgModuleMetadata;\n }());\n function removeIdentifierDuplicates(items) {\n var map = new Map();\n items.forEach(function (item) {\n if (!map.get(item.identifier.reference)) {\n map.set(item.identifier.reference, item);\n }\n });\n return Array.from(map.values());\n }\n function _normalizeArray(obj) {\n return obj || [];\n }\n var ProviderMeta = (function () {\n function ProviderMeta(token, _a) {\n var useClass = _a.useClass, useValue = _a.useValue, useExisting = _a.useExisting, useFactory = _a.useFactory, deps = _a.deps, multi = _a.multi;\n this.token = token;\n this.useClass = useClass;\n this.useValue = useValue;\n this.useExisting = useExisting;\n this.useFactory = useFactory;\n this.dependencies = deps;\n this.multi = !!multi;\n }\n return ProviderMeta;\n }());\n\n var isDefaultChangeDetectionStrategy = _angular_core.__core_private__.isDefaultChangeDetectionStrategy;\n var ChangeDetectorStatus = _angular_core.__core_private__.ChangeDetectorStatus;\n var LifecycleHooks = _angular_core.__core_private__.LifecycleHooks;\n var LIFECYCLE_HOOKS_VALUES = _angular_core.__core_private__.LIFECYCLE_HOOKS_VALUES;\n var ReflectorReader = _angular_core.__core_private__.ReflectorReader;\n var ViewContainer = _angular_core.__core_private__.ViewContainer;\n var CodegenComponentFactoryResolver = _angular_core.__core_private__.CodegenComponentFactoryResolver;\n var ComponentRef_ = _angular_core.__core_private__.ComponentRef_;\n var AppView = _angular_core.__core_private__.AppView;\n var DebugAppView = _angular_core.__core_private__.DebugAppView;\n var NgModuleInjector = _angular_core.__core_private__.NgModuleInjector;\n var registerModuleFactory = _angular_core.__core_private__.registerModuleFactory;\n var ViewType = _angular_core.__core_private__.ViewType;\n var view_utils = _angular_core.__core_private__.view_utils;\n var DebugContext = _angular_core.__core_private__.DebugContext;\n var StaticNodeDebugInfo = _angular_core.__core_private__.StaticNodeDebugInfo;\n var devModeEqual = _angular_core.__core_private__.devModeEqual;\n var UNINITIALIZED = _angular_core.__core_private__.UNINITIALIZED;\n var ValueUnwrapper = _angular_core.__core_private__.ValueUnwrapper;\n var TemplateRef_ = _angular_core.__core_private__.TemplateRef_;\n var Console = _angular_core.__core_private__.Console;\n var reflector = _angular_core.__core_private__.reflector;\n var Reflector = _angular_core.__core_private__.Reflector;\n var ReflectionCapabilities = _angular_core.__core_private__.ReflectionCapabilities;\n var NoOpAnimationPlayer = _angular_core.__core_private__.NoOpAnimationPlayer;\n var AnimationSequencePlayer = _angular_core.__core_private__.AnimationSequencePlayer;\n var AnimationGroupPlayer = _angular_core.__core_private__.AnimationGroupPlayer;\n var AnimationKeyframe = _angular_core.__core_private__.AnimationKeyframe;\n var AnimationStyles = _angular_core.__core_private__.AnimationStyles;\n var ANY_STATE = _angular_core.__core_private__.ANY_STATE;\n var DEFAULT_STATE = _angular_core.__core_private__.DEFAULT_STATE;\n var EMPTY_STATE = _angular_core.__core_private__.EMPTY_STATE;\n var FILL_STYLE_FLAG = _angular_core.__core_private__.FILL_STYLE_FLAG;\n var prepareFinalAnimationStyles = _angular_core.__core_private__.prepareFinalAnimationStyles;\n var balanceAnimationKeyframes = _angular_core.__core_private__.balanceAnimationKeyframes;\n var clearStyles = _angular_core.__core_private__.clearStyles;\n var collectAndResolveStyles = _angular_core.__core_private__.collectAndResolveStyles;\n var renderStyles = _angular_core.__core_private__.renderStyles;\n var ComponentStillLoadingError = _angular_core.__core_private__.ComponentStillLoadingError;\n var AnimationTransition = _angular_core.__core_private__.AnimationTransition;\n\n var APP_VIEW_MODULE_URL = assetUrl('core', 'linker/view');\n var VIEW_UTILS_MODULE_URL = assetUrl('core', 'linker/view_utils');\n var CD_MODULE_URL = assetUrl('core', 'change_detection/change_detection');\n var ANIMATION_STYLE_UTIL_ASSET_URL = assetUrl('core', 'animation/animation_style_util');\n var Identifiers = (function () {\n function Identifiers() {\n }\n Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS = {\n name: 'ANALYZE_FOR_ENTRY_COMPONENTS',\n moduleUrl: assetUrl('core', 'metadata/di'),\n runtime: _angular_core.ANALYZE_FOR_ENTRY_COMPONENTS\n };\n Identifiers.ViewUtils = {\n name: 'ViewUtils',\n moduleUrl: assetUrl('core', 'linker/view_utils'),\n runtime: view_utils.ViewUtils\n };\n Identifiers.AppView = { name: 'AppView', moduleUrl: APP_VIEW_MODULE_URL, runtime: AppView };\n Identifiers.DebugAppView = {\n name: 'DebugAppView',\n moduleUrl: APP_VIEW_MODULE_URL,\n runtime: DebugAppView\n };\n Identifiers.ViewContainer = {\n name: 'ViewContainer',\n moduleUrl: assetUrl('core', 'linker/view_container'),\n runtime: ViewContainer\n };\n Identifiers.ElementRef = {\n name: 'ElementRef',\n moduleUrl: assetUrl('core', 'linker/element_ref'),\n runtime: _angular_core.ElementRef\n };\n Identifiers.ViewContainerRef = {\n name: 'ViewContainerRef',\n moduleUrl: assetUrl('core', 'linker/view_container_ref'),\n runtime: _angular_core.ViewContainerRef\n };\n Identifiers.ChangeDetectorRef = {\n name: 'ChangeDetectorRef',\n moduleUrl: assetUrl('core', 'change_detection/change_detector_ref'),\n runtime: _angular_core.ChangeDetectorRef\n };\n Identifiers.RenderComponentType = {\n name: 'RenderComponentType',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: _angular_core.RenderComponentType\n };\n Identifiers.QueryList = {\n name: 'QueryList',\n moduleUrl: assetUrl('core', 'linker/query_list'),\n runtime: _angular_core.QueryList\n };\n Identifiers.TemplateRef = {\n name: 'TemplateRef',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: _angular_core.TemplateRef\n };\n Identifiers.TemplateRef_ = {\n name: 'TemplateRef_',\n moduleUrl: assetUrl('core', 'linker/template_ref'),\n runtime: TemplateRef_\n };\n Identifiers.CodegenComponentFactoryResolver = {\n name: 'CodegenComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: CodegenComponentFactoryResolver\n };\n Identifiers.ComponentFactoryResolver = {\n name: 'ComponentFactoryResolver',\n moduleUrl: assetUrl('core', 'linker/component_factory_resolver'),\n runtime: _angular_core.ComponentFactoryResolver\n };\n Identifiers.ComponentFactory = {\n name: 'ComponentFactory',\n runtime: _angular_core.ComponentFactory,\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.ComponentRef_ = {\n name: 'ComponentRef_',\n runtime: ComponentRef_,\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.ComponentRef = {\n name: 'ComponentRef',\n runtime: _angular_core.ComponentRef,\n moduleUrl: assetUrl('core', 'linker/component_factory')\n };\n Identifiers.NgModuleFactory = {\n name: 'NgModuleFactory',\n runtime: _angular_core.NgModuleFactory,\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.NgModuleInjector = {\n name: 'NgModuleInjector',\n runtime: NgModuleInjector,\n moduleUrl: assetUrl('core', 'linker/ng_module_factory')\n };\n Identifiers.RegisterModuleFactoryFn = {\n name: 'registerModuleFactory',\n runtime: registerModuleFactory,\n moduleUrl: assetUrl('core', 'linker/ng_module_factory_loader')\n };\n Identifiers.ValueUnwrapper = { name: 'ValueUnwrapper', moduleUrl: CD_MODULE_URL, runtime: ValueUnwrapper };\n Identifiers.Injector = {\n name: 'Injector',\n moduleUrl: assetUrl('core', 'di/injector'),\n runtime: _angular_core.Injector\n };\n Identifiers.ViewEncapsulation = {\n name: 'ViewEncapsulation',\n moduleUrl: assetUrl('core', 'metadata/view'),\n runtime: _angular_core.ViewEncapsulation\n };\n Identifiers.ViewType = {\n name: 'ViewType',\n moduleUrl: assetUrl('core', 'linker/view_type'),\n runtime: ViewType\n };\n Identifiers.ChangeDetectionStrategy = {\n name: 'ChangeDetectionStrategy',\n moduleUrl: CD_MODULE_URL,\n runtime: _angular_core.ChangeDetectionStrategy\n };\n Identifiers.StaticNodeDebugInfo = {\n name: 'StaticNodeDebugInfo',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: StaticNodeDebugInfo\n };\n Identifiers.DebugContext = {\n name: 'DebugContext',\n moduleUrl: assetUrl('core', 'linker/debug_context'),\n runtime: DebugContext\n };\n Identifiers.Renderer = {\n name: 'Renderer',\n moduleUrl: assetUrl('core', 'render/api'),\n runtime: _angular_core.Renderer\n };\n Identifiers.SimpleChange = { name: 'SimpleChange', moduleUrl: CD_MODULE_URL, runtime: _angular_core.SimpleChange };\n Identifiers.UNINITIALIZED = { name: 'UNINITIALIZED', moduleUrl: CD_MODULE_URL, runtime: UNINITIALIZED };\n Identifiers.ChangeDetectorStatus = {\n name: 'ChangeDetectorStatus',\n moduleUrl: CD_MODULE_URL,\n runtime: ChangeDetectorStatus\n };\n Identifiers.checkBinding = {\n name: 'checkBinding',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.checkBinding\n };\n Identifiers.devModeEqual = { name: 'devModeEqual', moduleUrl: CD_MODULE_URL, runtime: devModeEqual };\n Identifiers.inlineInterpolate = {\n name: 'inlineInterpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.inlineInterpolate\n };\n Identifiers.interpolate = {\n name: 'interpolate',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.interpolate\n };\n Identifiers.castByValue = {\n name: 'castByValue',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.castByValue\n };\n Identifiers.EMPTY_ARRAY = {\n name: 'EMPTY_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.EMPTY_ARRAY\n };\n Identifiers.EMPTY_MAP = {\n name: 'EMPTY_MAP',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.EMPTY_MAP\n };\n Identifiers.createRenderElement = {\n name: 'createRenderElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.createRenderElement\n };\n Identifiers.selectOrCreateRenderHostElement = {\n name: 'selectOrCreateRenderHostElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.selectOrCreateRenderHostElement\n };\n Identifiers.pureProxies = [\n null,\n { name: 'pureProxy1', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy1 },\n { name: 'pureProxy2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy2 },\n { name: 'pureProxy3', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy3 },\n { name: 'pureProxy4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy4 },\n { name: 'pureProxy5', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy5 },\n { name: 'pureProxy6', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy6 },\n { name: 'pureProxy7', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy7 },\n { name: 'pureProxy8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy8 },\n { name: 'pureProxy9', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy9 },\n { name: 'pureProxy10', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.pureProxy10 },\n ];\n Identifiers.SecurityContext = {\n name: 'SecurityContext',\n moduleUrl: assetUrl('core', 'security'),\n runtime: _angular_core.SecurityContext,\n };\n Identifiers.AnimationKeyframe = {\n name: 'AnimationKeyframe',\n moduleUrl: assetUrl('core', 'animation/animation_keyframe'),\n runtime: AnimationKeyframe\n };\n Identifiers.AnimationStyles = {\n name: 'AnimationStyles',\n moduleUrl: assetUrl('core', 'animation/animation_styles'),\n runtime: AnimationStyles\n };\n Identifiers.NoOpAnimationPlayer = {\n name: 'NoOpAnimationPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_player'),\n runtime: NoOpAnimationPlayer\n };\n Identifiers.AnimationGroupPlayer = {\n name: 'AnimationGroupPlayer',\n moduleUrl: assetUrl('core', 'animation/animation_group_player'),\n runtime: AnimationGroupPlayer\n };\n Identifiers.AnimationSequencePlayer = {\n name: 'AnimationSequencePlayer',\n moduleUrl: assetUrl('core', 'animation/animation_sequence_player'),\n runtime: AnimationSequencePlayer\n };\n Identifiers.prepareFinalAnimationStyles = {\n name: 'prepareFinalAnimationStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: prepareFinalAnimationStyles\n };\n Identifiers.balanceAnimationKeyframes = {\n name: 'balanceAnimationKeyframes',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: balanceAnimationKeyframes\n };\n Identifiers.clearStyles = {\n name: 'clearStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: clearStyles\n };\n Identifiers.renderStyles = {\n name: 'renderStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: renderStyles\n };\n Identifiers.collectAndResolveStyles = {\n name: 'collectAndResolveStyles',\n moduleUrl: ANIMATION_STYLE_UTIL_ASSET_URL,\n runtime: collectAndResolveStyles\n };\n Identifiers.LOCALE_ID = {\n name: 'LOCALE_ID',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: _angular_core.LOCALE_ID\n };\n Identifiers.TRANSLATIONS_FORMAT = {\n name: 'TRANSLATIONS_FORMAT',\n moduleUrl: assetUrl('core', 'i18n/tokens'),\n runtime: _angular_core.TRANSLATIONS_FORMAT\n };\n Identifiers.setBindingDebugInfo = {\n name: 'setBindingDebugInfo',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.setBindingDebugInfo\n };\n Identifiers.setBindingDebugInfoForChanges = {\n name: 'setBindingDebugInfoForChanges',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.setBindingDebugInfoForChanges\n };\n Identifiers.AnimationTransition = {\n name: 'AnimationTransition',\n moduleUrl: assetUrl('core', 'animation/animation_transition'),\n runtime: AnimationTransition\n };\n // This is just the interface!\n Identifiers.InlineArray = { name: 'InlineArray', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: null };\n Identifiers.inlineArrays = [\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray2 },\n { name: 'InlineArray2', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray2 },\n { name: 'InlineArray4', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray4 },\n { name: 'InlineArray8', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray8 },\n { name: 'InlineArray16', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.InlineArray16 },\n ];\n Identifiers.EMPTY_INLINE_ARRAY = {\n name: 'EMPTY_INLINE_ARRAY',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.EMPTY_INLINE_ARRAY\n };\n Identifiers.InlineArrayDynamic = {\n name: 'InlineArrayDynamic',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.InlineArrayDynamic\n };\n Identifiers.subscribeToRenderElement = {\n name: 'subscribeToRenderElement',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.subscribeToRenderElement\n };\n Identifiers.createRenderComponentType = {\n name: 'createRenderComponentType',\n moduleUrl: VIEW_UTILS_MODULE_URL,\n runtime: view_utils.createRenderComponentType\n };\n Identifiers.noop = { name: 'noop', moduleUrl: VIEW_UTILS_MODULE_URL, runtime: view_utils.noop };\n return Identifiers;\n }());\n function assetUrl(pkg, path, type) {\n if (path === void 0) { path = null; }\n if (type === void 0) { type = 'src'; }\n if (path == null) {\n return \"@angular/\" + pkg + \"/index\";\n }\n else {\n return \"@angular/\" + pkg + \"/\" + type + \"/\" + path;\n }\n }\n function resolveIdentifier(identifier) {\n var moduleUrl = identifier.moduleUrl;\n var reference = reflector.resolveIdentifier(identifier.name, identifier.moduleUrl, identifier.runtime);\n if (isStaticSymbol(reference)) {\n moduleUrl = reference.filePath;\n }\n return new CompileIdentifierMetadata({ name: identifier.name, moduleUrl: moduleUrl, reference: reference });\n }\n function identifierToken(identifier) {\n return new CompileTokenMetadata({ identifier: identifier });\n }\n function resolveIdentifierToken(identifier) {\n return identifierToken(resolveIdentifier(identifier));\n }\n function resolveEnumIdentifier(enumType, name) {\n var resolvedEnum = reflector.resolveEnum(enumType.reference, name);\n return new CompileIdentifierMetadata({ name: enumType.name + \".\" + name, moduleUrl: enumType.moduleUrl, reference: resolvedEnum });\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$8 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var HtmlParser = (function (_super) {\n __extends$8(HtmlParser, _super);\n function HtmlParser() {\n _super.call(this, getHtmlTagDefinition);\n }\n HtmlParser.prototype.parse = function (source, url, parseExpansionForms, interpolationConfig) {\n if (parseExpansionForms === void 0) { parseExpansionForms = false; }\n if (interpolationConfig === void 0) { interpolationConfig = DEFAULT_INTERPOLATION_CONFIG; }\n return _super.prototype.parse.call(this, source, url, parseExpansionForms, interpolationConfig);\n };\n HtmlParser.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n HtmlParser.ctorParameters = [];\n return HtmlParser;\n }(Parser$1));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$9 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n // http://cldr.unicode.org/index/cldr-spec/plural-rules\n var PLURAL_CASES = ['zero', 'one', 'two', 'few', 'many', 'other'];\n /**\n * Expands special forms into elements.\n *\n * For example,\n *\n * ```\n * { messages.length, plural,\n * =0 {zero}\n * =1 {one}\n * other {more than one}\n * }\n * ```\n *\n * will be expanded into\n *\n * ```\n * <ng-container [ngPlural]=\"messages.length\">\n * <template ngPluralCase=\"=0\">zero</ng-container>\n * <template ngPluralCase=\"=1\">one</ng-container>\n * <template ngPluralCase=\"other\">more than one</ng-container>\n * </ng-container>\n * ```\n */\n function expandNodes(nodes) {\n var expander = new _Expander();\n return new ExpansionResult(visitAll(expander, nodes), expander.isExpanded, expander.errors);\n }\n var ExpansionResult = (function () {\n function ExpansionResult(nodes, expanded, errors) {\n this.nodes = nodes;\n this.expanded = expanded;\n this.errors = errors;\n }\n return ExpansionResult;\n }());\n var ExpansionError = (function (_super) {\n __extends$9(ExpansionError, _super);\n function ExpansionError(span, errorMsg) {\n _super.call(this, span, errorMsg);\n }\n return ExpansionError;\n }(ParseError));\n /**\n * Expand expansion forms (plural, select) to directives\n *\n * @internal\n */\n var _Expander = (function () {\n function _Expander() {\n this.isExpanded = false;\n this.errors = [];\n }\n _Expander.prototype.visitElement = function (element, context) {\n return new Element(element.name, element.attrs, visitAll(this, element.children), element.sourceSpan, element.startSourceSpan, element.endSourceSpan);\n };\n _Expander.prototype.visitAttribute = function (attribute, context) { return attribute; };\n _Expander.prototype.visitText = function (text, context) { return text; };\n _Expander.prototype.visitComment = function (comment, context) { return comment; };\n _Expander.prototype.visitExpansion = function (icu, context) {\n this.isExpanded = true;\n return icu.type == 'plural' ? _expandPluralForm(icu, this.errors) :\n _expandDefaultForm(icu, this.errors);\n };\n _Expander.prototype.visitExpansionCase = function (icuCase, context) {\n throw new Error('Should not be reached');\n };\n return _Expander;\n }());\n function _expandPluralForm(ast, errors) {\n var children = ast.cases.map(function (c) {\n if (PLURAL_CASES.indexOf(c.value) == -1 && !c.value.match(/^=\\d+$/)) {\n errors.push(new ExpansionError(c.valueSourceSpan, \"Plural cases should be \\\"=<number>\\\" or one of \" + PLURAL_CASES.join(\", \")));\n }\n var expansionResult = expandNodes(c.expression);\n errors.push.apply(errors, expansionResult.errors);\n return new Element(\"template\", [new Attribute$1('ngPluralCase', \"\" + c.value, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n });\n var switchAttr = new Attribute$1('[ngPlural]', ast.switchValue, ast.switchValueSourceSpan);\n return new Element('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n }\n function _expandDefaultForm(ast, errors) {\n var children = ast.cases.map(function (c) {\n var expansionResult = expandNodes(c.expression);\n errors.push.apply(errors, expansionResult.errors);\n if (c.value === 'other') {\n // other is the default case when no values match\n return new Element(\"template\", [new Attribute$1('ngSwitchDefault', '', c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n }\n return new Element(\"template\", [new Attribute$1('ngSwitchCase', \"\" + c.value, c.valueSourceSpan)], expansionResult.nodes, c.sourceSpan, c.sourceSpan, c.sourceSpan);\n });\n var switchAttr = new Attribute$1('[ngSwitch]', ast.switchValue, ast.switchValueSourceSpan);\n return new Element('ng-container', [switchAttr], children, ast.sourceSpan, ast.sourceSpan, ast.sourceSpan);\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$10 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var ProviderError = (function (_super) {\n __extends$10(ProviderError, _super);\n function ProviderError(message, span) {\n _super.call(this, span, message);\n }\n return ProviderError;\n }(ParseError));\n var ProviderViewContext = (function () {\n function ProviderViewContext(component, sourceSpan) {\n var _this = this;\n this.component = component;\n this.sourceSpan = sourceSpan;\n this.errors = [];\n this.viewQueries = _getViewQueries(component);\n this.viewProviders = new Map();\n _normalizeProviders(component.viewProviders, sourceSpan, this.errors).forEach(function (provider) {\n if (isBlank(_this.viewProviders.get(provider.token.reference))) {\n _this.viewProviders.set(provider.token.reference, true);\n }\n });\n }\n return ProviderViewContext;\n }());\n var ProviderElementContext = (function () {\n function ProviderElementContext(viewContext, _parent, _isViewRoot, _directiveAsts, attrs, refs, _sourceSpan) {\n var _this = this;\n this.viewContext = viewContext;\n this._parent = _parent;\n this._isViewRoot = _isViewRoot;\n this._directiveAsts = _directiveAsts;\n this._sourceSpan = _sourceSpan;\n this._transformedProviders = new Map();\n this._seenProviders = new Map();\n this._hasViewContainer = false;\n this._attrs = {};\n attrs.forEach(function (attrAst) { return _this._attrs[attrAst.name] = attrAst.value; });\n var directivesMeta = _directiveAsts.map(function (directiveAst) { return directiveAst.directive; });\n this._allProviders =\n _resolveProvidersFromDirectives(directivesMeta, _sourceSpan, viewContext.errors);\n this._contentQueries = _getContentQueries(directivesMeta);\n var queriedTokens = new Map();\n Array.from(this._allProviders.values()).forEach(function (provider) {\n _this._addQueryReadsTo(provider.token, queriedTokens);\n });\n refs.forEach(function (refAst) {\n _this._addQueryReadsTo(new CompileTokenMetadata({ value: refAst.name }), queriedTokens);\n });\n if (isPresent(queriedTokens.get(resolveIdentifierToken(Identifiers.ViewContainerRef).reference))) {\n this._hasViewContainer = true;\n }\n // create the providers that we know are eager first\n Array.from(this._allProviders.values()).forEach(function (provider) {\n var eager = provider.eager || isPresent(queriedTokens.get(provider.token.reference));\n if (eager) {\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, true);\n }\n });\n }\n ProviderElementContext.prototype.afterElement = function () {\n var _this = this;\n // collect lazy providers\n Array.from(this._allProviders.values()).forEach(function (provider) {\n _this._getOrCreateLocalProvider(provider.providerType, provider.token, false);\n });\n };\n Object.defineProperty(ProviderElementContext.prototype, \"transformProviders\", {\n get: function () {\n return Array.from(this._transformedProviders.values());\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ProviderElementContext.prototype, \"transformedDirectiveAsts\", {\n get: function () {\n var sortedProviderTypes = this.transformProviders.map(function (provider) { return provider.token.identifier; });\n var sortedDirectives = this._directiveAsts.slice();\n sortedDirectives.sort(function (dir1, dir2) { return sortedProviderTypes.indexOf(dir1.directive.type) -\n sortedProviderTypes.indexOf(dir2.directive.type); });\n return sortedDirectives;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ProviderElementContext.prototype, \"transformedHasViewContainer\", {\n get: function () { return this._hasViewContainer; },\n enumerable: true,\n configurable: true\n });\n ProviderElementContext.prototype._addQueryReadsTo = function (token, queryReadTokens) {\n this._getQueriesFor(token).forEach(function (query) {\n var queryReadToken = query.read || token;\n if (isBlank(queryReadTokens.get(queryReadToken.reference))) {\n queryReadTokens.set(queryReadToken.reference, true);\n }\n });\n };\n ProviderElementContext.prototype._getQueriesFor = function (token) {\n var result = [];\n var currentEl = this;\n var distance = 0;\n var queries;\n while (currentEl !== null) {\n queries = currentEl._contentQueries.get(token.reference);\n if (isPresent(queries)) {\n result.push.apply(result, queries.filter(function (query) { return query.descendants || distance <= 1; }));\n }\n if (currentEl._directiveAsts.length > 0) {\n distance++;\n }\n currentEl = currentEl._parent;\n }\n queries = this.viewContext.viewQueries.get(token.reference);\n if (isPresent(queries)) {\n result.push.apply(result, queries);\n }\n return result;\n };\n ProviderElementContext.prototype._getOrCreateLocalProvider = function (requestingProviderType, token, eager) {\n var _this = this;\n var resolvedProvider = this._allProviders.get(token.reference);\n if (!resolvedProvider || ((requestingProviderType === exports.ProviderAstType.Directive ||\n requestingProviderType === exports.ProviderAstType.PublicService) &&\n resolvedProvider.providerType === exports.ProviderAstType.PrivateService) ||\n ((requestingProviderType === exports.ProviderAstType.PrivateService ||\n requestingProviderType === exports.ProviderAstType.PublicService) &&\n resolvedProvider.providerType === exports.ProviderAstType.Builtin)) {\n return null;\n }\n var transformedProviderAst = this._transformedProviders.get(token.reference);\n if (isPresent(transformedProviderAst)) {\n return transformedProviderAst;\n }\n if (isPresent(this._seenProviders.get(token.reference))) {\n this.viewContext.errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, this._sourceSpan));\n return null;\n }\n this._seenProviders.set(token.reference, true);\n var transformedProviders = resolvedProvider.providers.map(function (provider) {\n var transformedUseValue = provider.useValue;\n var transformedUseExisting = provider.useExisting;\n var transformedDeps;\n if (isPresent(provider.useExisting)) {\n var existingDiDep = _this._getDependency(resolvedProvider.providerType, new CompileDiDependencyMetadata({ token: provider.useExisting }), eager);\n if (isPresent(existingDiDep.token)) {\n transformedUseExisting = existingDiDep.token;\n }\n else {\n transformedUseExisting = null;\n transformedUseValue = existingDiDep.value;\n }\n }\n else if (isPresent(provider.useFactory)) {\n var deps = provider.deps || provider.useFactory.diDeps;\n transformedDeps =\n deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\n }\n else if (isPresent(provider.useClass)) {\n var deps = provider.deps || provider.useClass.diDeps;\n transformedDeps =\n deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep, eager); });\n }\n return _transformProvider(provider, {\n useExisting: transformedUseExisting,\n useValue: transformedUseValue,\n deps: transformedDeps\n });\n });\n transformedProviderAst =\n _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n this._transformedProviders.set(token.reference, transformedProviderAst);\n return transformedProviderAst;\n };\n ProviderElementContext.prototype._getLocalDependency = function (requestingProviderType, dep, eager) {\n if (eager === void 0) { eager = null; }\n if (dep.isAttribute) {\n var attrValue = this._attrs[dep.token.value];\n return new CompileDiDependencyMetadata({ isValue: true, value: attrValue == null ? null : attrValue });\n }\n if (isPresent(dep.token)) {\n // access builtints\n if ((requestingProviderType === exports.ProviderAstType.Directive ||\n requestingProviderType === exports.ProviderAstType.Component)) {\n if (dep.token.reference === resolveIdentifierToken(Identifiers.Renderer).reference ||\n dep.token.reference === resolveIdentifierToken(Identifiers.ElementRef).reference ||\n dep.token.reference ===\n resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference ||\n dep.token.reference === resolveIdentifierToken(Identifiers.TemplateRef).reference) {\n return dep;\n }\n if (dep.token.reference ===\n resolveIdentifierToken(Identifiers.ViewContainerRef).reference) {\n this._hasViewContainer = true;\n }\n }\n // access the injector\n if (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference) {\n return dep;\n }\n // access providers\n if (isPresent(this._getOrCreateLocalProvider(requestingProviderType, dep.token, eager))) {\n return dep;\n }\n }\n return null;\n };\n ProviderElementContext.prototype._getDependency = function (requestingProviderType, dep, eager) {\n if (eager === void 0) { eager = null; }\n var currElement = this;\n var currEager = eager;\n var result = null;\n if (!dep.isSkipSelf) {\n result = this._getLocalDependency(requestingProviderType, dep, eager);\n }\n if (dep.isSelf) {\n if (!result && dep.isOptional) {\n result = new CompileDiDependencyMetadata({ isValue: true, value: null });\n }\n }\n else {\n // check parent elements\n while (!result && isPresent(currElement._parent)) {\n var prevElement = currElement;\n currElement = currElement._parent;\n if (prevElement._isViewRoot) {\n currEager = false;\n }\n result = currElement._getLocalDependency(exports.ProviderAstType.PublicService, dep, currEager);\n }\n // check @Host restriction\n if (!result) {\n if (!dep.isHost || this.viewContext.component.type.isHost ||\n this.viewContext.component.type.reference === dep.token.reference ||\n isPresent(this.viewContext.viewProviders.get(dep.token.reference))) {\n result = dep;\n }\n else {\n result = dep.isOptional ?\n result = new CompileDiDependencyMetadata({ isValue: true, value: null }) :\n null;\n }\n }\n }\n if (!result) {\n this.viewContext.errors.push(new ProviderError(\"No provider for \" + dep.token.name, this._sourceSpan));\n }\n return result;\n };\n return ProviderElementContext;\n }());\n var NgModuleProviderAnalyzer = (function () {\n function NgModuleProviderAnalyzer(ngModule, extraProviders, sourceSpan) {\n var _this = this;\n this._transformedProviders = new Map();\n this._seenProviders = new Map();\n this._errors = [];\n this._allProviders = new Map();\n var ngModuleTypes = ngModule.transitiveModule.modules.map(function (moduleMeta) { return moduleMeta.type; });\n ngModuleTypes.forEach(function (ngModuleType) {\n var ngModuleProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: ngModuleType }), useClass: ngModuleType });\n _resolveProviders([ngModuleProvider], exports.ProviderAstType.PublicService, true, sourceSpan, _this._errors, _this._allProviders);\n });\n _resolveProviders(_normalizeProviders(ngModule.transitiveModule.providers.concat(extraProviders), sourceSpan, this._errors), exports.ProviderAstType.PublicService, false, sourceSpan, this._errors, this._allProviders);\n }\n NgModuleProviderAnalyzer.prototype.parse = function () {\n var _this = this;\n Array.from(this._allProviders.values()).forEach(function (provider) {\n _this._getOrCreateLocalProvider(provider.token, provider.eager);\n });\n if (this._errors.length > 0) {\n var errorString = this._errors.join('\\n');\n throw new Error(\"Provider parse errors:\\n\" + errorString);\n }\n return Array.from(this._transformedProviders.values());\n };\n NgModuleProviderAnalyzer.prototype._getOrCreateLocalProvider = function (token, eager) {\n var _this = this;\n var resolvedProvider = this._allProviders.get(token.reference);\n if (!resolvedProvider) {\n return null;\n }\n var transformedProviderAst = this._transformedProviders.get(token.reference);\n if (isPresent(transformedProviderAst)) {\n return transformedProviderAst;\n }\n if (isPresent(this._seenProviders.get(token.reference))) {\n this._errors.push(new ProviderError(\"Cannot instantiate cyclic dependency! \" + token.name, resolvedProvider.sourceSpan));\n return null;\n }\n this._seenProviders.set(token.reference, true);\n var transformedProviders = resolvedProvider.providers.map(function (provider) {\n var transformedUseValue = provider.useValue;\n var transformedUseExisting = provider.useExisting;\n var transformedDeps;\n if (isPresent(provider.useExisting)) {\n var existingDiDep = _this._getDependency(new CompileDiDependencyMetadata({ token: provider.useExisting }), eager, resolvedProvider.sourceSpan);\n if (isPresent(existingDiDep.token)) {\n transformedUseExisting = existingDiDep.token;\n }\n else {\n transformedUseExisting = null;\n transformedUseValue = existingDiDep.value;\n }\n }\n else if (isPresent(provider.useFactory)) {\n var deps = provider.deps || provider.useFactory.diDeps;\n transformedDeps =\n deps.map(function (dep) { return _this._getDependency(dep, eager, resolvedProvider.sourceSpan); });\n }\n else if (isPresent(provider.useClass)) {\n var deps = provider.deps || provider.useClass.diDeps;\n transformedDeps =\n deps.map(function (dep) { return _this._getDependency(dep, eager, resolvedProvider.sourceSpan); });\n }\n return _transformProvider(provider, {\n useExisting: transformedUseExisting,\n useValue: transformedUseValue,\n deps: transformedDeps\n });\n });\n transformedProviderAst =\n _transformProviderAst(resolvedProvider, { eager: eager, providers: transformedProviders });\n this._transformedProviders.set(token.reference, transformedProviderAst);\n return transformedProviderAst;\n };\n NgModuleProviderAnalyzer.prototype._getDependency = function (dep, eager, requestorSourceSpan) {\n if (eager === void 0) { eager = null; }\n var foundLocal = false;\n if (!dep.isSkipSelf && isPresent(dep.token)) {\n // access the injector\n if (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference ||\n dep.token.reference ===\n resolveIdentifierToken(Identifiers.ComponentFactoryResolver).reference) {\n foundLocal = true;\n }\n else if (isPresent(this._getOrCreateLocalProvider(dep.token, eager))) {\n foundLocal = true;\n }\n }\n var result = dep;\n if (dep.isSelf && !foundLocal) {\n if (dep.isOptional) {\n result = new CompileDiDependencyMetadata({ isValue: true, value: null });\n }\n else {\n this._errors.push(new ProviderError(\"No provider for \" + dep.token.name, requestorSourceSpan));\n }\n }\n return result;\n };\n return NgModuleProviderAnalyzer;\n }());\n function _transformProvider(provider, _a) {\n var useExisting = _a.useExisting, useValue = _a.useValue, deps = _a.deps;\n return new CompileProviderMetadata({\n token: provider.token,\n useClass: provider.useClass,\n useExisting: useExisting,\n useFactory: provider.useFactory,\n useValue: useValue,\n deps: deps,\n multi: provider.multi\n });\n }\n function _transformProviderAst(provider, _a) {\n var eager = _a.eager, providers = _a.providers;\n return new ProviderAst(provider.token, provider.multiProvider, provider.eager || eager, providers, provider.providerType, provider.lifecycleHooks, provider.sourceSpan);\n }\n function _normalizeProviders(providers, sourceSpan, targetErrors, targetProviders) {\n if (targetProviders === void 0) { targetProviders = null; }\n if (!targetProviders) {\n targetProviders = [];\n }\n if (isPresent(providers)) {\n providers.forEach(function (provider) {\n if (Array.isArray(provider)) {\n _normalizeProviders(provider, sourceSpan, targetErrors, targetProviders);\n }\n else {\n var normalizeProvider = void 0;\n if (provider instanceof CompileProviderMetadata) {\n normalizeProvider = provider;\n }\n else if (provider instanceof CompileTypeMetadata) {\n normalizeProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: provider }), useClass: provider });\n }\n else {\n targetErrors.push(new ProviderError(\"Unknown provider type \" + provider, sourceSpan));\n }\n if (isPresent(normalizeProvider)) {\n targetProviders.push(normalizeProvider);\n }\n }\n });\n }\n return targetProviders;\n }\n function _resolveProvidersFromDirectives(directives, sourceSpan, targetErrors) {\n var providersByToken = new Map();\n directives.forEach(function (directive) {\n var dirProvider = new CompileProviderMetadata({ token: new CompileTokenMetadata({ identifier: directive.type }), useClass: directive.type });\n _resolveProviders([dirProvider], directive.isComponent ? exports.ProviderAstType.Component : exports.ProviderAstType.Directive, true, sourceSpan, targetErrors, providersByToken);\n });\n // Note: directives need to be able to overwrite providers of a component!\n var directivesWithComponentFirst = directives.filter(function (dir) { return dir.isComponent; }).concat(directives.filter(function (dir) { return !dir.isComponent; }));\n directivesWithComponentFirst.forEach(function (directive) {\n _resolveProviders(_normalizeProviders(directive.providers, sourceSpan, targetErrors), exports.ProviderAstType.PublicService, false, sourceSpan, targetErrors, providersByToken);\n _resolveProviders(_normalizeProviders(directive.viewProviders, sourceSpan, targetErrors), exports.ProviderAstType.PrivateService, false, sourceSpan, targetErrors, providersByToken);\n });\n return providersByToken;\n }\n function _resolveProviders(providers, providerType, eager, sourceSpan, targetErrors, targetProvidersByToken) {\n providers.forEach(function (provider) {\n var resolvedProvider = targetProvidersByToken.get(provider.token.reference);\n if (isPresent(resolvedProvider) && resolvedProvider.multiProvider !== provider.multi) {\n targetErrors.push(new ProviderError(\"Mixing multi and non multi provider is not possible for token \" + resolvedProvider.token.name, sourceSpan));\n }\n if (!resolvedProvider) {\n var lifecycleHooks = provider.token.identifier && provider.token.identifier instanceof CompileTypeMetadata ?\n provider.token.identifier.lifecycleHooks :\n [];\n resolvedProvider = new ProviderAst(provider.token, provider.multi, eager || lifecycleHooks.length > 0, [provider], providerType, lifecycleHooks, sourceSpan);\n targetProvidersByToken.set(provider.token.reference, resolvedProvider);\n }\n else {\n if (!provider.multi) {\n resolvedProvider.providers.length = 0;\n }\n resolvedProvider.providers.push(provider);\n }\n });\n }\n function _getViewQueries(component) {\n var viewQueries = new Map();\n if (isPresent(component.viewQueries)) {\n component.viewQueries.forEach(function (query) { return _addQueryToTokenMap(viewQueries, query); });\n }\n return viewQueries;\n }\n function _getContentQueries(directives) {\n var contentQueries = new Map();\n directives.forEach(function (directive) {\n if (isPresent(directive.queries)) {\n directive.queries.forEach(function (query) { return _addQueryToTokenMap(contentQueries, query); });\n }\n });\n return contentQueries;\n }\n function _addQueryToTokenMap(map, query) {\n query.selectors.forEach(function (token) {\n var entry = map.get(token.reference);\n if (!entry) {\n entry = [];\n map.set(token.reference, entry);\n }\n entry.push(query);\n });\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var ElementSchemaRegistry = (function () {\n function ElementSchemaRegistry() {\n }\n return ElementSchemaRegistry;\n }());\n\n var StyleWithImports = (function () {\n function StyleWithImports(style, styleUrls) {\n this.style = style;\n this.styleUrls = styleUrls;\n }\n return StyleWithImports;\n }());\n function isStyleUrlResolvable(url) {\n if (isBlank(url) || url.length === 0 || url[0] == '/')\n return false;\n var schemeMatch = url.match(_urlWithSchemaRe);\n return schemeMatch === null || schemeMatch[1] == 'package' || schemeMatch[1] == 'asset';\n }\n /**\n * Rewrites stylesheets by resolving and removing the @import urls that\n * are either relative or don't have a `package:` scheme\n */\n function extractStyleUrls(resolver, baseUrl, cssText) {\n var foundUrls = [];\n var modifiedCssText = cssText.replace(_cssImportRe, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n var url = m[1] || m[2];\n if (!isStyleUrlResolvable(url)) {\n // Do not attempt to resolve non-package absolute URLs with URI scheme\n return m[0];\n }\n foundUrls.push(resolver.resolve(baseUrl, url));\n return '';\n });\n return new StyleWithImports(modifiedCssText, foundUrls);\n }\n var _cssImportRe = /@import\\s+(?:url\\()?\\s*(?:(?:['\"]([^'\"]*))|([^;\\)\\s]*))[^;]*;?/g;\n var _urlWithSchemaRe = /^([^:/?#]+):/;\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$11 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var PROPERTY_PARTS_SEPARATOR = '.';\n var ATTRIBUTE_PREFIX = 'attr';\n var CLASS_PREFIX = 'class';\n var STYLE_PREFIX = 'style';\n var ANIMATE_PROP_PREFIX = 'animate-';\n var BoundPropertyType;\n (function (BoundPropertyType) {\n BoundPropertyType[BoundPropertyType[\"DEFAULT\"] = 0] = \"DEFAULT\";\n BoundPropertyType[BoundPropertyType[\"LITERAL_ATTR\"] = 1] = \"LITERAL_ATTR\";\n BoundPropertyType[BoundPropertyType[\"ANIMATION\"] = 2] = \"ANIMATION\";\n })(BoundPropertyType || (BoundPropertyType = {}));\n /**\n * Represents a parsed property.\n */\n var BoundProperty = (function () {\n function BoundProperty(name, expression, type, sourceSpan) {\n this.name = name;\n this.expression = expression;\n this.type = type;\n this.sourceSpan = sourceSpan;\n }\n Object.defineProperty(BoundProperty.prototype, \"isLiteral\", {\n get: function () { return this.type === BoundPropertyType.LITERAL_ATTR; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BoundProperty.prototype, \"isAnimation\", {\n get: function () { return this.type === BoundPropertyType.ANIMATION; },\n enumerable: true,\n configurable: true\n });\n return BoundProperty;\n }());\n /**\n * Parses bindings in templates and in the directive host area.\n */\n var BindingParser = (function () {\n function BindingParser(_exprParser, _interpolationConfig, _schemaRegistry, pipes, _targetErrors) {\n var _this = this;\n this._exprParser = _exprParser;\n this._interpolationConfig = _interpolationConfig;\n this._schemaRegistry = _schemaRegistry;\n this._targetErrors = _targetErrors;\n this.pipesByName = new Map();\n pipes.forEach(function (pipe) { return _this.pipesByName.set(pipe.name, pipe); });\n }\n BindingParser.prototype.createDirectiveHostPropertyAsts = function (dirMeta, sourceSpan) {\n var _this = this;\n if (dirMeta.hostProperties) {\n var boundProps_1 = [];\n Object.keys(dirMeta.hostProperties).forEach(function (propName) {\n var expression = dirMeta.hostProperties[propName];\n if (typeof expression === 'string') {\n _this.parsePropertyBinding(propName, expression, true, sourceSpan, [], boundProps_1);\n }\n else {\n _this._reportError(\"Value of the host property binding \\\"\" + propName + \"\\\" needs to be a string representing an expression but got \\\"\" + expression + \"\\\" (\" + typeof expression + \")\", sourceSpan);\n }\n });\n return boundProps_1.map(function (prop) { return _this.createElementPropertyAst(dirMeta.selector, prop); });\n }\n };\n BindingParser.prototype.createDirectiveHostEventAsts = function (dirMeta, sourceSpan) {\n var _this = this;\n if (dirMeta.hostListeners) {\n var targetEventAsts_1 = [];\n Object.keys(dirMeta.hostListeners).forEach(function (propName) {\n var expression = dirMeta.hostListeners[propName];\n if (typeof expression === 'string') {\n _this.parseEvent(propName, expression, sourceSpan, [], targetEventAsts_1);\n }\n else {\n _this._reportError(\"Value of the host listener \\\"\" + propName + \"\\\" needs to be a string representing an expression but got \\\"\" + expression + \"\\\" (\" + typeof expression + \")\", sourceSpan);\n }\n });\n return targetEventAsts_1;\n }\n };\n BindingParser.prototype.parseInterpolation = function (value, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = this._exprParser.parseInterpolation(value, sourceInfo, this._interpolationConfig);\n if (ast)\n this._reportExpressionParserErrors(ast.errors, sourceSpan);\n this._checkPipes(ast, sourceSpan);\n return ast;\n }\n catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n BindingParser.prototype.parseInlineTemplateBinding = function (name, prefixToken, value, sourceSpan, targetMatchableAttrs, targetProps, targetVars) {\n var bindings = this._parseTemplateBindings(prefixToken, value, sourceSpan);\n for (var i = 0; i < bindings.length; i++) {\n var binding = bindings[i];\n if (binding.keyIsVar) {\n targetVars.push(new VariableAst(binding.key, binding.name, sourceSpan));\n }\n else if (isPresent(binding.expression)) {\n this._parsePropertyAst(binding.key, binding.expression, sourceSpan, targetMatchableAttrs, targetProps);\n }\n else {\n targetMatchableAttrs.push([binding.key, '']);\n this.parseLiteralAttr(binding.key, null, sourceSpan, targetMatchableAttrs, targetProps);\n }\n }\n };\n BindingParser.prototype._parseTemplateBindings = function (prefixToken, value, sourceSpan) {\n var _this = this;\n var sourceInfo = sourceSpan.start.toString();\n try {\n var bindingsResult = this._exprParser.parseTemplateBindings(prefixToken, value, sourceInfo);\n this._reportExpressionParserErrors(bindingsResult.errors, sourceSpan);\n bindingsResult.templateBindings.forEach(function (binding) {\n if (isPresent(binding.expression)) {\n _this._checkPipes(binding.expression, sourceSpan);\n }\n });\n bindingsResult.warnings.forEach(function (warning) { _this._reportError(warning, sourceSpan, exports.ParseErrorLevel.WARNING); });\n return bindingsResult.templateBindings;\n }\n catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return [];\n }\n };\n BindingParser.prototype.parseLiteralAttr = function (name, value, sourceSpan, targetMatchableAttrs, targetProps) {\n if (_isAnimationLabel(name)) {\n name = name.substring(1);\n if (value) {\n this._reportError(\"Assigning animation triggers via @prop=\\\"exp\\\" attributes with an expression is invalid.\" +\n \" Use property bindings (e.g. [@prop]=\\\"exp\\\") or use an attribute without a value (e.g. @prop) instead.\", sourceSpan, exports.ParseErrorLevel.FATAL);\n }\n this._parseAnimation(name, value, sourceSpan, targetMatchableAttrs, targetProps);\n }\n else {\n targetProps.push(new BoundProperty(name, this._exprParser.wrapLiteralPrimitive(value, ''), BoundPropertyType.LITERAL_ATTR, sourceSpan));\n }\n };\n BindingParser.prototype.parsePropertyBinding = function (name, expression, isHost, sourceSpan, targetMatchableAttrs, targetProps) {\n var isAnimationProp = false;\n if (name.startsWith(ANIMATE_PROP_PREFIX)) {\n isAnimationProp = true;\n name = name.substring(ANIMATE_PROP_PREFIX.length);\n }\n else if (_isAnimationLabel(name)) {\n isAnimationProp = true;\n name = name.substring(1);\n }\n if (isAnimationProp) {\n this._parseAnimation(name, expression, sourceSpan, targetMatchableAttrs, targetProps);\n }\n else {\n this._parsePropertyAst(name, this._parseBinding(expression, isHost, sourceSpan), sourceSpan, targetMatchableAttrs, targetProps);\n }\n };\n BindingParser.prototype.parsePropertyInterpolation = function (name, value, sourceSpan, targetMatchableAttrs, targetProps) {\n var expr = this.parseInterpolation(value, sourceSpan);\n if (isPresent(expr)) {\n this._parsePropertyAst(name, expr, sourceSpan, targetMatchableAttrs, targetProps);\n return true;\n }\n return false;\n };\n BindingParser.prototype._parsePropertyAst = function (name, ast, sourceSpan, targetMatchableAttrs, targetProps) {\n targetMatchableAttrs.push([name, ast.source]);\n targetProps.push(new BoundProperty(name, ast, BoundPropertyType.DEFAULT, sourceSpan));\n };\n BindingParser.prototype._parseAnimation = function (name, expression, sourceSpan, targetMatchableAttrs, targetProps) {\n // This will occur when a @trigger is not paired with an expression.\n // For animations it is valid to not have an expression since */void\n // states will be applied by angular when the element is attached/detached\n var ast = this._parseBinding(expression || 'null', false, sourceSpan);\n targetMatchableAttrs.push([name, ast.source]);\n targetProps.push(new BoundProperty(name, ast, BoundPropertyType.ANIMATION, sourceSpan));\n };\n BindingParser.prototype._parseBinding = function (value, isHostBinding, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = isHostBinding ?\n this._exprParser.parseSimpleBinding(value, sourceInfo, this._interpolationConfig) :\n this._exprParser.parseBinding(value, sourceInfo, this._interpolationConfig);\n if (ast)\n this._reportExpressionParserErrors(ast.errors, sourceSpan);\n this._checkPipes(ast, sourceSpan);\n return ast;\n }\n catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n BindingParser.prototype.createElementPropertyAst = function (elementSelector, boundProp) {\n if (boundProp.isAnimation) {\n return new BoundElementPropertyAst(boundProp.name, exports.PropertyBindingType.Animation, _angular_core.SecurityContext.NONE, false, boundProp.expression, null, boundProp.sourceSpan);\n }\n var unit = null;\n var bindingType;\n var boundPropertyName;\n var parts = boundProp.name.split(PROPERTY_PARTS_SEPARATOR);\n var securityContexts;\n if (parts.length === 1) {\n var partValue = parts[0];\n boundPropertyName = this._schemaRegistry.getMappedPropName(partValue);\n securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, false);\n bindingType = exports.PropertyBindingType.Property;\n this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, false);\n }\n else {\n if (parts[0] == ATTRIBUTE_PREFIX) {\n boundPropertyName = parts[1];\n this._validatePropertyOrAttributeName(boundPropertyName, boundProp.sourceSpan, true);\n securityContexts = calcPossibleSecurityContexts(this._schemaRegistry, elementSelector, boundPropertyName, true);\n var nsSeparatorIdx = boundPropertyName.indexOf(':');\n if (nsSeparatorIdx > -1) {\n var ns = boundPropertyName.substring(0, nsSeparatorIdx);\n var name_1 = boundPropertyName.substring(nsSeparatorIdx + 1);\n boundPropertyName = mergeNsAndName(ns, name_1);\n }\n bindingType = exports.PropertyBindingType.Attribute;\n }\n else if (parts[0] == CLASS_PREFIX) {\n boundPropertyName = parts[1];\n bindingType = exports.PropertyBindingType.Class;\n securityContexts = [_angular_core.SecurityContext.NONE];\n }\n else if (parts[0] == STYLE_PREFIX) {\n unit = parts.length > 2 ? parts[2] : null;\n boundPropertyName = parts[1];\n bindingType = exports.PropertyBindingType.Style;\n securityContexts = [_angular_core.SecurityContext.STYLE];\n }\n else {\n this._reportError(\"Invalid property name '\" + boundProp.name + \"'\", boundProp.sourceSpan);\n bindingType = null;\n securityContexts = [];\n }\n }\n return new BoundElementPropertyAst(boundPropertyName, bindingType, securityContexts.length === 1 ? securityContexts[0] : null, securityContexts.length > 1, boundProp.expression, unit, boundProp.sourceSpan);\n };\n BindingParser.prototype.parseEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n if (_isAnimationLabel(name)) {\n name = name.substr(1);\n this._parseAnimationEvent(name, expression, sourceSpan, targetEvents);\n }\n else {\n this._parseEvent(name, expression, sourceSpan, targetMatchableAttrs, targetEvents);\n }\n };\n BindingParser.prototype._parseAnimationEvent = function (name, expression, sourceSpan, targetEvents) {\n var matches = splitAtPeriod(name, [name, '']);\n var eventName = matches[0];\n var phase = matches[1].toLowerCase();\n if (phase) {\n switch (phase) {\n case 'start':\n case 'done':\n var ast = this._parseAction(expression, sourceSpan);\n targetEvents.push(new BoundEventAst(eventName, null, phase, ast, sourceSpan));\n break;\n default:\n this._reportError(\"The provided animation output phase value \\\"\" + phase + \"\\\" for \\\"@\" + eventName + \"\\\" is not supported (use start or done)\", sourceSpan);\n break;\n }\n }\n else {\n this._reportError(\"The animation trigger output event (@\" + eventName + \") is missing its phase value name (start or done are currently supported)\", sourceSpan);\n }\n };\n BindingParser.prototype._parseEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n // long format: 'target: eventName'\n var _a = splitAtColon(name, [null, name]), target = _a[0], eventName = _a[1];\n var ast = this._parseAction(expression, sourceSpan);\n targetMatchableAttrs.push([name, ast.source]);\n targetEvents.push(new BoundEventAst(eventName, target, null, ast, sourceSpan));\n // Don't detect directives for event names for now,\n // so don't add the event name to the matchableAttrs\n };\n BindingParser.prototype._parseAction = function (value, sourceSpan) {\n var sourceInfo = sourceSpan.start.toString();\n try {\n var ast = this._exprParser.parseAction(value, sourceInfo, this._interpolationConfig);\n if (ast) {\n this._reportExpressionParserErrors(ast.errors, sourceSpan);\n }\n if (!ast || ast.ast instanceof EmptyExpr) {\n this._reportError(\"Empty expressions are not allowed\", sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n this._checkPipes(ast, sourceSpan);\n return ast;\n }\n catch (e) {\n this._reportError(\"\" + e, sourceSpan);\n return this._exprParser.wrapLiteralPrimitive('ERROR', sourceInfo);\n }\n };\n BindingParser.prototype._reportError = function (message, sourceSpan, level) {\n if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n this._targetErrors.push(new ParseError(sourceSpan, message, level));\n };\n BindingParser.prototype._reportExpressionParserErrors = function (errors, sourceSpan) {\n for (var _i = 0, errors_1 = errors; _i < errors_1.length; _i++) {\n var error = errors_1[_i];\n this._reportError(error.message, sourceSpan);\n }\n };\n BindingParser.prototype._checkPipes = function (ast, sourceSpan) {\n var _this = this;\n if (isPresent(ast)) {\n var collector = new PipeCollector();\n ast.visit(collector);\n collector.pipes.forEach(function (pipeName) {\n if (!_this.pipesByName.has(pipeName)) {\n _this._reportError(\"The pipe '\" + pipeName + \"' could not be found\", sourceSpan);\n }\n });\n }\n };\n /**\n * @param propName the name of the property / attribute\n * @param sourceSpan\n * @param isAttr true when binding to an attribute\n * @private\n */\n BindingParser.prototype._validatePropertyOrAttributeName = function (propName, sourceSpan, isAttr) {\n var report = isAttr ? this._schemaRegistry.validateAttribute(propName) :\n this._schemaRegistry.validateProperty(propName);\n if (report.error) {\n this._reportError(report.msg, sourceSpan, exports.ParseErrorLevel.FATAL);\n }\n };\n return BindingParser;\n }());\n var PipeCollector = (function (_super) {\n __extends$11(PipeCollector, _super);\n function PipeCollector() {\n _super.apply(this, arguments);\n this.pipes = new Set();\n }\n PipeCollector.prototype.visitPipe = function (ast, context) {\n this.pipes.add(ast.name);\n ast.exp.visit(this);\n this.visitAll(ast.args, context);\n return null;\n };\n return PipeCollector;\n }(RecursiveAstVisitor));\n function _isAnimationLabel(name) {\n return name[0] == '@';\n }\n function calcPossibleSecurityContexts(registry, selector, propName, isAttribute) {\n var ctxs = [];\n CssSelector.parse(selector).forEach(function (selector) {\n var elementNames = selector.element ? [selector.element] : registry.allKnownElementNames();\n var notElementNames = new Set(selector.notSelectors.filter(function (selector) { return selector.isElementSelector(); })\n .map(function (selector) { return selector.element; }));\n var possibleElementNames = elementNames.filter(function (elementName) { return !notElementNames.has(elementName); });\n ctxs.push.apply(ctxs, possibleElementNames.map(function (elementName) { return registry.securityContext(elementName, propName, isAttribute); }));\n });\n return ctxs.length === 0 ? [_angular_core.SecurityContext.NONE] : Array.from(new Set(ctxs)).sort();\n }\n\n var NG_CONTENT_SELECT_ATTR = 'select';\n var NG_CONTENT_ELEMENT = 'ng-content';\n var LINK_ELEMENT = 'link';\n var LINK_STYLE_REL_ATTR = 'rel';\n var LINK_STYLE_HREF_ATTR = 'href';\n var LINK_STYLE_REL_VALUE = 'stylesheet';\n var STYLE_ELEMENT = 'style';\n var SCRIPT_ELEMENT = 'script';\n var NG_NON_BINDABLE_ATTR = 'ngNonBindable';\n var NG_PROJECT_AS = 'ngProjectAs';\n function preparseElement(ast) {\n var selectAttr = null;\n var hrefAttr = null;\n var relAttr = null;\n var nonBindable = false;\n var projectAs = null;\n ast.attrs.forEach(function (attr) {\n var lcAttrName = attr.name.toLowerCase();\n if (lcAttrName == NG_CONTENT_SELECT_ATTR) {\n selectAttr = attr.value;\n }\n else if (lcAttrName == LINK_STYLE_HREF_ATTR) {\n hrefAttr = attr.value;\n }\n else if (lcAttrName == LINK_STYLE_REL_ATTR) {\n relAttr = attr.value;\n }\n else if (attr.name == NG_NON_BINDABLE_ATTR) {\n nonBindable = true;\n }\n else if (attr.name == NG_PROJECT_AS) {\n if (attr.value.length > 0) {\n projectAs = attr.value;\n }\n }\n });\n selectAttr = normalizeNgContentSelect(selectAttr);\n var nodeName = ast.name.toLowerCase();\n var type = PreparsedElementType.OTHER;\n if (splitNsName(nodeName)[1] == NG_CONTENT_ELEMENT) {\n type = PreparsedElementType.NG_CONTENT;\n }\n else if (nodeName == STYLE_ELEMENT) {\n type = PreparsedElementType.STYLE;\n }\n else if (nodeName == SCRIPT_ELEMENT) {\n type = PreparsedElementType.SCRIPT;\n }\n else if (nodeName == LINK_ELEMENT && relAttr == LINK_STYLE_REL_VALUE) {\n type = PreparsedElementType.STYLESHEET;\n }\n return new PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs);\n }\n var PreparsedElementType;\n (function (PreparsedElementType) {\n PreparsedElementType[PreparsedElementType[\"NG_CONTENT\"] = 0] = \"NG_CONTENT\";\n PreparsedElementType[PreparsedElementType[\"STYLE\"] = 1] = \"STYLE\";\n PreparsedElementType[PreparsedElementType[\"STYLESHEET\"] = 2] = \"STYLESHEET\";\n PreparsedElementType[PreparsedElementType[\"SCRIPT\"] = 3] = \"SCRIPT\";\n PreparsedElementType[PreparsedElementType[\"OTHER\"] = 4] = \"OTHER\";\n })(PreparsedElementType || (PreparsedElementType = {}));\n var PreparsedElement = (function () {\n function PreparsedElement(type, selectAttr, hrefAttr, nonBindable, projectAs) {\n this.type = type;\n this.selectAttr = selectAttr;\n this.hrefAttr = hrefAttr;\n this.nonBindable = nonBindable;\n this.projectAs = projectAs;\n }\n return PreparsedElement;\n }());\n function normalizeNgContentSelect(selectAttr) {\n if (selectAttr === null || selectAttr.length === 0) {\n return '*';\n }\n return selectAttr;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n // Group 1 = \"bind-\"\n // Group 2 = \"let-\"\n // Group 3 = \"ref-/#\"\n // Group 4 = \"on-\"\n // Group 5 = \"bindon-\"\n // Group 6 = \"@\"\n // Group 7 = the identifier after \"bind-\", \"let-\", \"ref-/#\", \"on-\", \"bindon-\" or \"@\"\n // Group 8 = identifier inside [()]\n // Group 9 = identifier inside []\n // Group 10 = identifier inside ()\n var BIND_NAME_REGEXP = /^(?:(?:(?:(bind-)|(let-)|(ref-|#)|(on-)|(bindon-)|(@))(.+))|\\[\\(([^\\)]+)\\)\\]|\\[([^\\]]+)\\]|\\(([^\\)]+)\\))$/;\n var KW_BIND_IDX = 1;\n var KW_LET_IDX = 2;\n var KW_REF_IDX = 3;\n var KW_ON_IDX = 4;\n var KW_BINDON_IDX = 5;\n var KW_AT_IDX = 6;\n var IDENT_KW_IDX = 7;\n var IDENT_BANANA_BOX_IDX = 8;\n var IDENT_PROPERTY_IDX = 9;\n var IDENT_EVENT_IDX = 10;\n var TEMPLATE_ELEMENT = 'template';\n var TEMPLATE_ATTR = 'template';\n var TEMPLATE_ATTR_PREFIX = '*';\n var CLASS_ATTR = 'class';\n var TEXT_CSS_SELECTOR = CssSelector.parse('*')[0];\n /**\n * Provides an array of {@link TemplateAstVisitor}s which will be used to transform\n * parsed templates before compilation is invoked, allowing custom expression syntax\n * and other advanced transformations.\n *\n * This is currently an internal-only feature and not meant for general use.\n */\n var TEMPLATE_TRANSFORMS = new _angular_core.OpaqueToken('TemplateTransforms');\n var TemplateParseError = (function (_super) {\n __extends(TemplateParseError, _super);\n function TemplateParseError(message, span, level) {\n _super.call(this, span, message, level);\n }\n return TemplateParseError;\n }(ParseError));\n var TemplateParseResult = (function () {\n function TemplateParseResult(templateAst, errors) {\n this.templateAst = templateAst;\n this.errors = errors;\n }\n return TemplateParseResult;\n }());\n var TemplateParser = (function () {\n function TemplateParser(_exprParser, _schemaRegistry, _htmlParser, _console, transforms) {\n this._exprParser = _exprParser;\n this._schemaRegistry = _schemaRegistry;\n this._htmlParser = _htmlParser;\n this._console = _console;\n this.transforms = transforms;\n }\n TemplateParser.prototype.parse = function (component, template, directives, pipes, schemas, templateUrl) {\n var result = this.tryParse(component, template, directives, pipes, schemas, templateUrl);\n var warnings = result.errors.filter(function (error) { return error.level === exports.ParseErrorLevel.WARNING; });\n var errors = result.errors.filter(function (error) { return error.level === exports.ParseErrorLevel.FATAL; });\n if (warnings.length > 0) {\n this._console.warn(\"Template parse warnings:\\n\" + warnings.join('\\n'));\n }\n if (errors.length > 0) {\n var errorString = errors.join('\\n');\n throw new Error(\"Template parse errors:\\n\" + errorString);\n }\n return result.templateAst;\n };\n TemplateParser.prototype.tryParse = function (component, template, directives, pipes, schemas, templateUrl) {\n return this.tryParseHtml(this.expandHtml(this._htmlParser.parse(template, templateUrl, true, this.getInterpolationConfig(component))), component, template, directives, pipes, schemas, templateUrl);\n };\n TemplateParser.prototype.tryParseHtml = function (htmlAstWithErrors, component, template, directives, pipes, schemas, templateUrl) {\n var result;\n var errors = htmlAstWithErrors.errors;\n if (htmlAstWithErrors.rootNodes.length > 0) {\n var uniqDirectives = removeSummaryDuplicates(directives);\n var uniqPipes = removeSummaryDuplicates(pipes);\n var providerViewContext = new ProviderViewContext(component, htmlAstWithErrors.rootNodes[0].sourceSpan);\n var interpolationConfig = void 0;\n if (component.template && component.template.interpolation) {\n interpolationConfig = {\n start: component.template.interpolation[0],\n end: component.template.interpolation[1]\n };\n }\n var bindingParser = new BindingParser(this._exprParser, interpolationConfig, this._schemaRegistry, uniqPipes, errors);\n var parseVisitor = new TemplateParseVisitor(providerViewContext, uniqDirectives, bindingParser, this._schemaRegistry, schemas, errors);\n result = visitAll(parseVisitor, htmlAstWithErrors.rootNodes, EMPTY_ELEMENT_CONTEXT);\n errors.push.apply(errors, providerViewContext.errors);\n }\n else {\n result = [];\n }\n this._assertNoReferenceDuplicationOnTemplate(result, errors);\n if (errors.length > 0) {\n return new TemplateParseResult(result, errors);\n }\n if (isPresent(this.transforms)) {\n this.transforms.forEach(function (transform) { result = templateVisitAll(transform, result); });\n }\n return new TemplateParseResult(result, errors);\n };\n TemplateParser.prototype.expandHtml = function (htmlAstWithErrors, forced) {\n if (forced === void 0) { forced = false; }\n var errors = htmlAstWithErrors.errors;\n if (errors.length == 0 || forced) {\n // Transform ICU messages to angular directives\n var expandedHtmlAst = expandNodes(htmlAstWithErrors.rootNodes);\n errors.push.apply(errors, expandedHtmlAst.errors);\n htmlAstWithErrors = new ParseTreeResult(expandedHtmlAst.nodes, errors);\n }\n return htmlAstWithErrors;\n };\n TemplateParser.prototype.getInterpolationConfig = function (component) {\n if (component.template) {\n return InterpolationConfig.fromArray(component.template.interpolation);\n }\n };\n /** @internal */\n TemplateParser.prototype._assertNoReferenceDuplicationOnTemplate = function (result, errors) {\n var existingReferences = [];\n result.filter(function (element) { return !!element.references; })\n .forEach(function (element) { return element.references.forEach(function (reference) {\n var name = reference.name;\n if (existingReferences.indexOf(name) < 0) {\n existingReferences.push(name);\n }\n else {\n var error = new TemplateParseError(\"Reference \\\"#\" + name + \"\\\" is defined several times\", reference.sourceSpan, exports.ParseErrorLevel.FATAL);\n errors.push(error);\n }\n }); });\n };\n TemplateParser.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n TemplateParser.ctorParameters = [\n { type: Parser, },\n { type: ElementSchemaRegistry, },\n { type: I18NHtmlParser, },\n { type: Console, },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [TEMPLATE_TRANSFORMS,] },] },\n ];\n return TemplateParser;\n }());\n var TemplateParseVisitor = (function () {\n function TemplateParseVisitor(providerViewContext, directives, _bindingParser, _schemaRegistry, _schemas, _targetErrors) {\n var _this = this;\n this.providerViewContext = providerViewContext;\n this._bindingParser = _bindingParser;\n this._schemaRegistry = _schemaRegistry;\n this._schemas = _schemas;\n this._targetErrors = _targetErrors;\n this.selectorMatcher = new SelectorMatcher();\n this.directivesIndex = new Map();\n this.ngContentCount = 0;\n directives.forEach(function (directive, index) {\n var selector = CssSelector.parse(directive.selector);\n _this.selectorMatcher.addSelectables(selector, directive);\n _this.directivesIndex.set(directive, index);\n });\n }\n TemplateParseVisitor.prototype.visitExpansion = function (expansion, context) { return null; };\n TemplateParseVisitor.prototype.visitExpansionCase = function (expansionCase, context) { return null; };\n TemplateParseVisitor.prototype.visitText = function (text, parent) {\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n var expr = this._bindingParser.parseInterpolation(text.value, text.sourceSpan);\n if (isPresent(expr)) {\n return new BoundTextAst(expr, ngContentIndex, text.sourceSpan);\n }\n else {\n return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n }\n };\n TemplateParseVisitor.prototype.visitAttribute = function (attribute, context) {\n return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n };\n TemplateParseVisitor.prototype.visitComment = function (comment, context) { return null; };\n TemplateParseVisitor.prototype.visitElement = function (element, parent) {\n var _this = this;\n var nodeName = element.name;\n var preparsedElement = preparseElement(element);\n if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n preparsedElement.type === PreparsedElementType.STYLE) {\n // Skipping <script> for security reasons\n // Skipping <style> as we already processed them\n // in the StyleCompiler\n return null;\n }\n if (preparsedElement.type === PreparsedElementType.STYLESHEET &&\n isStyleUrlResolvable(preparsedElement.hrefAttr)) {\n // Skipping stylesheets with either relative urls or package scheme as we already processed\n // them in the StyleCompiler\n return null;\n }\n var matchableAttrs = [];\n var elementOrDirectiveProps = [];\n var elementOrDirectiveRefs = [];\n var elementVars = [];\n var events = [];\n var templateElementOrDirectiveProps = [];\n var templateMatchableAttrs = [];\n var templateElementVars = [];\n var hasInlineTemplates = false;\n var attrs = [];\n var lcElName = splitNsName(nodeName.toLowerCase())[1];\n var isTemplateElement = lcElName == TEMPLATE_ELEMENT;\n element.attrs.forEach(function (attr) {\n var hasBinding = _this._parseAttr(isTemplateElement, attr, matchableAttrs, elementOrDirectiveProps, events, elementOrDirectiveRefs, elementVars);\n var templateBindingsSource = undefined;\n var prefixToken = undefined;\n if (_this._normalizeAttributeName(attr.name) == TEMPLATE_ATTR) {\n templateBindingsSource = attr.value;\n }\n else if (attr.name.startsWith(TEMPLATE_ATTR_PREFIX)) {\n templateBindingsSource = attr.value;\n prefixToken = attr.name.substring(TEMPLATE_ATTR_PREFIX.length); // remove the star\n }\n var hasTemplateBinding = isPresent(templateBindingsSource);\n if (hasTemplateBinding) {\n if (hasInlineTemplates) {\n _this._reportError(\"Can't have multiple template bindings on one element. Use only one attribute named 'template' or prefixed with *\", attr.sourceSpan);\n }\n hasInlineTemplates = true;\n _this._bindingParser.parseInlineTemplateBinding(attr.name, prefixToken, templateBindingsSource, attr.sourceSpan, templateMatchableAttrs, templateElementOrDirectiveProps, templateElementVars);\n }\n if (!hasBinding && !hasTemplateBinding) {\n // don't include the bindings as attributes as well in the AST\n attrs.push(_this.visitAttribute(attr, null));\n matchableAttrs.push([attr.name, attr.value]);\n }\n });\n var elementCssSelector = createElementCssSelector(nodeName, matchableAttrs);\n var _a = this._parseDirectives(this.selectorMatcher, elementCssSelector), directiveMetas = _a.directives, matchElement = _a.matchElement;\n var references = [];\n var directiveAsts = this._createDirectiveAsts(isTemplateElement, element.name, directiveMetas, elementOrDirectiveProps, elementOrDirectiveRefs, element.sourceSpan, references);\n var elementProps = this._createElementPropertyAsts(element.name, elementOrDirectiveProps, directiveAsts);\n var isViewRoot = parent.isTemplateElement || hasInlineTemplates;\n var providerContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, isViewRoot, directiveAsts, attrs, references, element.sourceSpan);\n var children = visitAll(preparsedElement.nonBindable ? NON_BINDABLE_VISITOR : this, element.children, ElementContext.create(isTemplateElement, directiveAsts, isTemplateElement ? parent.providerContext : providerContext));\n providerContext.afterElement();\n // Override the actual selector when the `ngProjectAs` attribute is provided\n var projectionSelector = isPresent(preparsedElement.projectAs) ?\n CssSelector.parse(preparsedElement.projectAs)[0] :\n elementCssSelector;\n var ngContentIndex = parent.findNgContentIndex(projectionSelector);\n var parsedElement;\n if (preparsedElement.type === PreparsedElementType.NG_CONTENT) {\n if (element.children && !element.children.every(_isEmptyTextNode)) {\n this._reportError(\"<ng-content> element cannot have content.\", element.sourceSpan);\n }\n parsedElement = new NgContentAst(this.ngContentCount++, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n }\n else if (isTemplateElement) {\n this._assertAllEventsPublishedByDirectives(directiveAsts, events);\n this._assertNoComponentsNorElementBindingsOnTemplate(directiveAsts, elementProps, element.sourceSpan);\n parsedElement = new EmbeddedTemplateAst(attrs, events, references, elementVars, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex, element.sourceSpan);\n }\n else {\n this._assertElementExists(matchElement, element);\n this._assertOnlyOneComponent(directiveAsts, element.sourceSpan);\n var ngContentIndex_1 = hasInlineTemplates ? null : parent.findNgContentIndex(projectionSelector);\n parsedElement = new ElementAst(nodeName, attrs, elementProps, events, references, providerContext.transformedDirectiveAsts, providerContext.transformProviders, providerContext.transformedHasViewContainer, children, hasInlineTemplates ? null : ngContentIndex_1, element.sourceSpan, element.endSourceSpan);\n this._findComponentDirectives(directiveAsts)\n .forEach(function (componentDirectiveAst) { return _this._validateElementAnimationInputOutputs(componentDirectiveAst.hostProperties, componentDirectiveAst.hostEvents, componentDirectiveAst.directive.template); });\n var componentTemplate = providerContext.viewContext.component.template;\n this._validateElementAnimationInputOutputs(elementProps, events, componentTemplate.toSummary());\n }\n if (hasInlineTemplates) {\n var templateCssSelector = createElementCssSelector(TEMPLATE_ELEMENT, templateMatchableAttrs);\n var templateDirectiveMetas = this._parseDirectives(this.selectorMatcher, templateCssSelector).directives;\n var templateDirectiveAsts = this._createDirectiveAsts(true, element.name, templateDirectiveMetas, templateElementOrDirectiveProps, [], element.sourceSpan, []);\n var templateElementProps = this._createElementPropertyAsts(element.name, templateElementOrDirectiveProps, templateDirectiveAsts);\n this._assertNoComponentsNorElementBindingsOnTemplate(templateDirectiveAsts, templateElementProps, element.sourceSpan);\n var templateProviderContext = new ProviderElementContext(this.providerViewContext, parent.providerContext, parent.isTemplateElement, templateDirectiveAsts, [], [], element.sourceSpan);\n templateProviderContext.afterElement();\n parsedElement = new EmbeddedTemplateAst([], [], [], templateElementVars, templateProviderContext.transformedDirectiveAsts, templateProviderContext.transformProviders, templateProviderContext.transformedHasViewContainer, [parsedElement], ngContentIndex, element.sourceSpan);\n }\n return parsedElement;\n };\n TemplateParseVisitor.prototype._validateElementAnimationInputOutputs = function (inputs, outputs, template) {\n var _this = this;\n var triggerLookup = new Set();\n template.animations.forEach(function (entry) { triggerLookup.add(entry); });\n var animationInputs = inputs.filter(function (input) { return input.isAnimation; });\n animationInputs.forEach(function (input) {\n var name = input.name;\n if (!triggerLookup.has(name)) {\n _this._reportError(\"Couldn't find an animation entry for \\\"\" + name + \"\\\"\", input.sourceSpan);\n }\n });\n outputs.forEach(function (output) {\n if (output.isAnimation) {\n var found = animationInputs.find(function (input) { return input.name == output.name; });\n if (!found) {\n _this._reportError(\"Unable to listen on (@\" + output.name + \".\" + output.phase + \") because the animation trigger [@\" + output.name + \"] isn't being used on the same element\", output.sourceSpan);\n }\n }\n });\n };\n TemplateParseVisitor.prototype._parseAttr = function (isTemplateElement, attr, targetMatchableAttrs, targetProps, targetEvents, targetRefs, targetVars) {\n var name = this._normalizeAttributeName(attr.name);\n var value = attr.value;\n var srcSpan = attr.sourceSpan;\n var bindParts = name.match(BIND_NAME_REGEXP);\n var hasBinding = false;\n if (bindParts !== null) {\n hasBinding = true;\n if (isPresent(bindParts[KW_BIND_IDX])) {\n this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n }\n else if (bindParts[KW_LET_IDX]) {\n if (isTemplateElement) {\n var identifier = bindParts[IDENT_KW_IDX];\n this._parseVariable(identifier, value, srcSpan, targetVars);\n }\n else {\n this._reportError(\"\\\"let-\\\" is only supported on template elements.\", srcSpan);\n }\n }\n else if (bindParts[KW_REF_IDX]) {\n var identifier = bindParts[IDENT_KW_IDX];\n this._parseReference(identifier, value, srcSpan, targetRefs);\n }\n else if (bindParts[KW_ON_IDX]) {\n this._bindingParser.parseEvent(bindParts[IDENT_KW_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n }\n else if (bindParts[KW_BINDON_IDX]) {\n this._bindingParser.parsePropertyBinding(bindParts[IDENT_KW_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n this._parseAssignmentEvent(bindParts[IDENT_KW_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n }\n else if (bindParts[KW_AT_IDX]) {\n this._bindingParser.parseLiteralAttr(name, value, srcSpan, targetMatchableAttrs, targetProps);\n }\n else if (bindParts[IDENT_BANANA_BOX_IDX]) {\n this._bindingParser.parsePropertyBinding(bindParts[IDENT_BANANA_BOX_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n this._parseAssignmentEvent(bindParts[IDENT_BANANA_BOX_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n }\n else if (bindParts[IDENT_PROPERTY_IDX]) {\n this._bindingParser.parsePropertyBinding(bindParts[IDENT_PROPERTY_IDX], value, false, srcSpan, targetMatchableAttrs, targetProps);\n }\n else if (bindParts[IDENT_EVENT_IDX]) {\n this._bindingParser.parseEvent(bindParts[IDENT_EVENT_IDX], value, srcSpan, targetMatchableAttrs, targetEvents);\n }\n }\n else {\n hasBinding = this._bindingParser.parsePropertyInterpolation(name, value, srcSpan, targetMatchableAttrs, targetProps);\n }\n if (!hasBinding) {\n this._bindingParser.parseLiteralAttr(name, value, srcSpan, targetMatchableAttrs, targetProps);\n }\n return hasBinding;\n };\n TemplateParseVisitor.prototype._normalizeAttributeName = function (attrName) {\n return /^data-/i.test(attrName) ? attrName.substring(5) : attrName;\n };\n TemplateParseVisitor.prototype._parseVariable = function (identifier, value, sourceSpan, targetVars) {\n if (identifier.indexOf('-') > -1) {\n this._reportError(\"\\\"-\\\" is not allowed in variable names\", sourceSpan);\n }\n targetVars.push(new VariableAst(identifier, value, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseReference = function (identifier, value, sourceSpan, targetRefs) {\n if (identifier.indexOf('-') > -1) {\n this._reportError(\"\\\"-\\\" is not allowed in reference names\", sourceSpan);\n }\n targetRefs.push(new ElementOrDirectiveRef(identifier, value, sourceSpan));\n };\n TemplateParseVisitor.prototype._parseAssignmentEvent = function (name, expression, sourceSpan, targetMatchableAttrs, targetEvents) {\n this._bindingParser.parseEvent(name + \"Change\", expression + \"=$event\", sourceSpan, targetMatchableAttrs, targetEvents);\n };\n TemplateParseVisitor.prototype._parseDirectives = function (selectorMatcher, elementCssSelector) {\n var _this = this;\n // Need to sort the directives so that we get consistent results throughout,\n // as selectorMatcher uses Maps inside.\n // Also deduplicate directives as they might match more than one time!\n var directives = new Array(this.directivesIndex.size);\n // Whether any directive selector matches on the element name\n var matchElement = false;\n selectorMatcher.match(elementCssSelector, function (selector, directive) {\n directives[_this.directivesIndex.get(directive)] = directive;\n matchElement = matchElement || selector.hasElementSelector();\n });\n return {\n directives: directives.filter(function (dir) { return !!dir; }),\n matchElement: matchElement,\n };\n };\n TemplateParseVisitor.prototype._createDirectiveAsts = function (isTemplateElement, elementName, directives, props, elementOrDirectiveRefs, elementSourceSpan, targetReferences) {\n var _this = this;\n var matchedReferences = new Set();\n var component = null;\n var directiveAsts = directives.map(function (directive) {\n var sourceSpan = new ParseSourceSpan(elementSourceSpan.start, elementSourceSpan.end, \"Directive \" + directive.type.name);\n if (directive.isComponent) {\n component = directive;\n }\n var directiveProperties = [];\n var hostProperties = _this._bindingParser.createDirectiveHostPropertyAsts(directive, sourceSpan);\n // Note: We need to check the host properties here as well,\n // as we don't know the element name in the DirectiveWrapperCompiler yet.\n _this._checkPropertiesInSchema(elementName, hostProperties);\n var hostEvents = _this._bindingParser.createDirectiveHostEventAsts(directive, sourceSpan);\n _this._createDirectivePropertyAsts(directive.inputs, props, directiveProperties);\n elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n if ((elOrDirRef.value.length === 0 && directive.isComponent) ||\n (directive.exportAs == elOrDirRef.value)) {\n targetReferences.push(new ReferenceAst(elOrDirRef.name, identifierToken(directive.type), elOrDirRef.sourceSpan));\n matchedReferences.add(elOrDirRef.name);\n }\n });\n return new DirectiveAst(directive, directiveProperties, hostProperties, hostEvents, sourceSpan);\n });\n elementOrDirectiveRefs.forEach(function (elOrDirRef) {\n if (elOrDirRef.value.length > 0) {\n if (!matchedReferences.has(elOrDirRef.name)) {\n _this._reportError(\"There is no directive with \\\"exportAs\\\" set to \\\"\" + elOrDirRef.value + \"\\\"\", elOrDirRef.sourceSpan);\n }\n }\n else if (!component) {\n var refToken = null;\n if (isTemplateElement) {\n refToken = resolveIdentifierToken(Identifiers.TemplateRef);\n }\n targetReferences.push(new ReferenceAst(elOrDirRef.name, refToken, elOrDirRef.sourceSpan));\n }\n }); // fix syntax highlighting issue: `\n return directiveAsts;\n };\n TemplateParseVisitor.prototype._createDirectivePropertyAsts = function (directiveProperties, boundProps, targetBoundDirectiveProps) {\n if (directiveProperties) {\n var boundPropsByName_1 = new Map();\n boundProps.forEach(function (boundProp) {\n var prevValue = boundPropsByName_1.get(boundProp.name);\n if (!prevValue || prevValue.isLiteral) {\n // give [a]=\"b\" a higher precedence than a=\"b\" on the same element\n boundPropsByName_1.set(boundProp.name, boundProp);\n }\n });\n Object.keys(directiveProperties).forEach(function (dirProp) {\n var elProp = directiveProperties[dirProp];\n var boundProp = boundPropsByName_1.get(elProp);\n // Bindings are optional, so this binding only needs to be set up if an expression is given.\n if (boundProp) {\n targetBoundDirectiveProps.push(new BoundDirectivePropertyAst(dirProp, boundProp.name, boundProp.expression, boundProp.sourceSpan));\n }\n });\n }\n };\n TemplateParseVisitor.prototype._createElementPropertyAsts = function (elementName, props, directives) {\n var _this = this;\n var boundElementProps = [];\n var boundDirectivePropsIndex = new Map();\n directives.forEach(function (directive) {\n directive.inputs.forEach(function (prop) {\n boundDirectivePropsIndex.set(prop.templateName, prop);\n });\n });\n props.forEach(function (prop) {\n if (!prop.isLiteral && !boundDirectivePropsIndex.get(prop.name)) {\n boundElementProps.push(_this._bindingParser.createElementPropertyAst(elementName, prop));\n }\n });\n this._checkPropertiesInSchema(elementName, boundElementProps);\n return boundElementProps;\n };\n TemplateParseVisitor.prototype._findComponentDirectives = function (directives) {\n return directives.filter(function (directive) { return directive.directive.isComponent; });\n };\n TemplateParseVisitor.prototype._findComponentDirectiveNames = function (directives) {\n return this._findComponentDirectives(directives)\n .map(function (directive) { return directive.directive.type.name; });\n };\n TemplateParseVisitor.prototype._assertOnlyOneComponent = function (directives, sourceSpan) {\n var componentTypeNames = this._findComponentDirectiveNames(directives);\n if (componentTypeNames.length > 1) {\n this._reportError(\"More than one component matched on this element.\\n\" +\n \"Make sure that only one component's selector can match a given element.\\n\" +\n (\"Conflicting components: \" + componentTypeNames.join(',')), sourceSpan);\n }\n };\n /**\n * Make sure that non-angular tags conform to the schemas.\n *\n * Note: An element is considered an angular tag when at least one directive selector matches the\n * tag name.\n *\n * @param matchElement Whether any directive has matched on the tag name\n * @param element the html element\n */\n TemplateParseVisitor.prototype._assertElementExists = function (matchElement, element) {\n var elName = element.name.replace(/^:xhtml:/, '');\n if (!matchElement && !this._schemaRegistry.hasElement(elName, this._schemas)) {\n var errorMsg = (\"'\" + elName + \"' is not a known element:\\n\") +\n (\"1. If '\" + elName + \"' is an Angular component, then verify that it is part of this module.\\n\") +\n (\"2. If '\" + elName + \"' is a Web Component then add \\\"CUSTOM_ELEMENTS_SCHEMA\\\" to the '@NgModule.schemas' of this component to suppress this message.\");\n this._reportError(errorMsg, element.sourceSpan);\n }\n };\n TemplateParseVisitor.prototype._assertNoComponentsNorElementBindingsOnTemplate = function (directives, elementProps, sourceSpan) {\n var _this = this;\n var componentTypeNames = this._findComponentDirectiveNames(directives);\n if (componentTypeNames.length > 0) {\n this._reportError(\"Components on an embedded template: \" + componentTypeNames.join(','), sourceSpan);\n }\n elementProps.forEach(function (prop) {\n _this._reportError(\"Property binding \" + prop.name + \" not used by any directive on an embedded template. Make sure that the property name is spelled correctly and all directives are listed in the \\\"directives\\\" section.\", sourceSpan);\n });\n };\n TemplateParseVisitor.prototype._assertAllEventsPublishedByDirectives = function (directives, events) {\n var _this = this;\n var allDirectiveEvents = new Set();\n directives.forEach(function (directive) {\n Object.keys(directive.directive.outputs).forEach(function (k) {\n var eventName = directive.directive.outputs[k];\n allDirectiveEvents.add(eventName);\n });\n });\n events.forEach(function (event) {\n if (isPresent(event.target) || !allDirectiveEvents.has(event.name)) {\n _this._reportError(\"Event binding \" + event.fullName + \" not emitted by any directive on an embedded template. Make sure that the event name is spelled correctly and all directives are listed in the \\\"directives\\\" section.\", event.sourceSpan);\n }\n });\n };\n TemplateParseVisitor.prototype._checkPropertiesInSchema = function (elementName, boundProps) {\n var _this = this;\n boundProps.forEach(function (boundProp) {\n if (boundProp.type === exports.PropertyBindingType.Property &&\n !_this._schemaRegistry.hasProperty(elementName, boundProp.name, _this._schemas)) {\n var errorMsg = \"Can't bind to '\" + boundProp.name + \"' since it isn't a known property of '\" + elementName + \"'.\";\n if (elementName.indexOf('-') > -1) {\n errorMsg +=\n (\"\\n1. If '\" + elementName + \"' is an Angular component and it has '\" + boundProp.name + \"' input, then verify that it is part of this module.\") +\n (\"\\n2. If '\" + elementName + \"' is a Web Component then add \\\"CUSTOM_ELEMENTS_SCHEMA\\\" to the '@NgModule.schemas' of this component to suppress this message.\\n\");\n }\n _this._reportError(errorMsg, boundProp.sourceSpan);\n }\n });\n };\n TemplateParseVisitor.prototype._reportError = function (message, sourceSpan, level) {\n if (level === void 0) { level = exports.ParseErrorLevel.FATAL; }\n this._targetErrors.push(new ParseError(sourceSpan, message, level));\n };\n return TemplateParseVisitor;\n }());\n var NonBindableVisitor = (function () {\n function NonBindableVisitor() {\n }\n NonBindableVisitor.prototype.visitElement = function (ast, parent) {\n var preparsedElement = preparseElement(ast);\n if (preparsedElement.type === PreparsedElementType.SCRIPT ||\n preparsedElement.type === PreparsedElementType.STYLE ||\n preparsedElement.type === PreparsedElementType.STYLESHEET) {\n // Skipping <script> for security reasons\n // Skipping <style> and stylesheets as we already processed them\n // in the StyleCompiler\n return null;\n }\n var attrNameAndValues = ast.attrs.map(function (attrAst) { return [attrAst.name, attrAst.value]; });\n var selector = createElementCssSelector(ast.name, attrNameAndValues);\n var ngContentIndex = parent.findNgContentIndex(selector);\n var children = visitAll(this, ast.children, EMPTY_ELEMENT_CONTEXT);\n return new ElementAst(ast.name, visitAll(this, ast.attrs), [], [], [], [], [], false, children, ngContentIndex, ast.sourceSpan, ast.endSourceSpan);\n };\n NonBindableVisitor.prototype.visitComment = function (comment, context) { return null; };\n NonBindableVisitor.prototype.visitAttribute = function (attribute, context) {\n return new AttrAst(attribute.name, attribute.value, attribute.sourceSpan);\n };\n NonBindableVisitor.prototype.visitText = function (text, parent) {\n var ngContentIndex = parent.findNgContentIndex(TEXT_CSS_SELECTOR);\n return new TextAst(text.value, ngContentIndex, text.sourceSpan);\n };\n NonBindableVisitor.prototype.visitExpansion = function (expansion, context) { return expansion; };\n NonBindableVisitor.prototype.visitExpansionCase = function (expansionCase, context) { return expansionCase; };\n return NonBindableVisitor;\n }());\n var ElementOrDirectiveRef = (function () {\n function ElementOrDirectiveRef(name, value, sourceSpan) {\n this.name = name;\n this.value = value;\n this.sourceSpan = sourceSpan;\n }\n return ElementOrDirectiveRef;\n }());\n function splitClasses(classAttrValue) {\n return classAttrValue.trim().split(/\\s+/g);\n }\n var ElementContext = (function () {\n function ElementContext(isTemplateElement, _ngContentIndexMatcher, _wildcardNgContentIndex, providerContext) {\n this.isTemplateElement = isTemplateElement;\n this._ngContentIndexMatcher = _ngContentIndexMatcher;\n this._wildcardNgContentIndex = _wildcardNgContentIndex;\n this.providerContext = providerContext;\n }\n ElementContext.create = function (isTemplateElement, directives, providerContext) {\n var matcher = new SelectorMatcher();\n var wildcardNgContentIndex = null;\n var component = directives.find(function (directive) { return directive.directive.isComponent; });\n if (component) {\n var ngContentSelectors = component.directive.template.ngContentSelectors;\n for (var i = 0; i < ngContentSelectors.length; i++) {\n var selector = ngContentSelectors[i];\n if (selector === '*') {\n wildcardNgContentIndex = i;\n }\n else {\n matcher.addSelectables(CssSelector.parse(ngContentSelectors[i]), i);\n }\n }\n }\n return new ElementContext(isTemplateElement, matcher, wildcardNgContentIndex, providerContext);\n };\n ElementContext.prototype.findNgContentIndex = function (selector) {\n var ngContentIndices = [];\n this._ngContentIndexMatcher.match(selector, function (selector, ngContentIndex) { ngContentIndices.push(ngContentIndex); });\n ngContentIndices.sort();\n if (isPresent(this._wildcardNgContentIndex)) {\n ngContentIndices.push(this._wildcardNgContentIndex);\n }\n return ngContentIndices.length > 0 ? ngContentIndices[0] : null;\n };\n return ElementContext;\n }());\n function createElementCssSelector(elementName, matchableAttrs) {\n var cssSelector = new CssSelector();\n var elNameNoNs = splitNsName(elementName)[1];\n cssSelector.setElement(elNameNoNs);\n for (var i = 0; i < matchableAttrs.length; i++) {\n var attrName = matchableAttrs[i][0];\n var attrNameNoNs = splitNsName(attrName)[1];\n var attrValue = matchableAttrs[i][1];\n cssSelector.addAttribute(attrNameNoNs, attrValue);\n if (attrName.toLowerCase() == CLASS_ATTR) {\n var classes = splitClasses(attrValue);\n classes.forEach(function (className) { return cssSelector.addClassName(className); });\n }\n }\n return cssSelector;\n }\n var EMPTY_ELEMENT_CONTEXT = new ElementContext(true, new SelectorMatcher(), null, null);\n var NON_BINDABLE_VISITOR = new NonBindableVisitor();\n function _isEmptyTextNode(node) {\n return node instanceof Text && node.value.trim().length == 0;\n }\n function removeSummaryDuplicates(items) {\n var map = new Map();\n items.forEach(function (item) {\n if (!map.get(item.type.reference)) {\n map.set(item.type.reference, item);\n }\n });\n return Array.from(map.values());\n }\n\n function unimplemented$1() {\n throw new Error('unimplemented');\n }\n var CompilerConfig = (function () {\n function CompilerConfig(_a) {\n var _b = _a === void 0 ? {} : _a, _c = _b.renderTypes, renderTypes = _c === void 0 ? new DefaultRenderTypes() : _c, _d = _b.defaultEncapsulation, defaultEncapsulation = _d === void 0 ? _angular_core.ViewEncapsulation.Emulated : _d, genDebugInfo = _b.genDebugInfo, logBindingUpdate = _b.logBindingUpdate, _e = _b.useJit, useJit = _e === void 0 ? true : _e;\n this.renderTypes = renderTypes;\n this.defaultEncapsulation = defaultEncapsulation;\n this._genDebugInfo = genDebugInfo;\n this._logBindingUpdate = logBindingUpdate;\n this.useJit = useJit;\n }\n Object.defineProperty(CompilerConfig.prototype, \"genDebugInfo\", {\n get: function () {\n return this._genDebugInfo === void 0 ? _angular_core.isDevMode() : this._genDebugInfo;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(CompilerConfig.prototype, \"logBindingUpdate\", {\n get: function () {\n return this._logBindingUpdate === void 0 ? _angular_core.isDevMode() : this._logBindingUpdate;\n },\n enumerable: true,\n configurable: true\n });\n return CompilerConfig;\n }());\n /**\n * Types used for the renderer.\n * Can be replaced to specialize the generated output to a specific renderer\n * to help tree shaking.\n */\n var RenderTypes = (function () {\n function RenderTypes() {\n }\n Object.defineProperty(RenderTypes.prototype, \"renderer\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderText\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderElement\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderComment\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderNode\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderTypes.prototype, \"renderEvent\", {\n get: function () { return unimplemented$1(); },\n enumerable: true,\n configurable: true\n });\n return RenderTypes;\n }());\n var DefaultRenderTypes = (function () {\n function DefaultRenderTypes() {\n this.renderText = null;\n this.renderElement = null;\n this.renderComment = null;\n this.renderNode = null;\n this.renderEvent = null;\n }\n Object.defineProperty(DefaultRenderTypes.prototype, \"renderer\", {\n get: function () { return resolveIdentifier(Identifiers.Renderer); },\n enumerable: true,\n configurable: true\n });\n ;\n return DefaultRenderTypes;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$13 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var AnimationAst = (function () {\n function AnimationAst() {\n this.startTime = 0;\n this.playTime = 0;\n }\n return AnimationAst;\n }());\n var AnimationStateAst = (function (_super) {\n __extends$13(AnimationStateAst, _super);\n function AnimationStateAst() {\n _super.apply(this, arguments);\n }\n return AnimationStateAst;\n }(AnimationAst));\n var AnimationEntryAst = (function (_super) {\n __extends$13(AnimationEntryAst, _super);\n function AnimationEntryAst(name, stateDeclarations, stateTransitions) {\n _super.call(this);\n this.name = name;\n this.stateDeclarations = stateDeclarations;\n this.stateTransitions = stateTransitions;\n }\n AnimationEntryAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationEntry(this, context);\n };\n return AnimationEntryAst;\n }(AnimationAst));\n var AnimationStateDeclarationAst = (function (_super) {\n __extends$13(AnimationStateDeclarationAst, _super);\n function AnimationStateDeclarationAst(stateName, styles) {\n _super.call(this);\n this.stateName = stateName;\n this.styles = styles;\n }\n AnimationStateDeclarationAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationStateDeclaration(this, context);\n };\n return AnimationStateDeclarationAst;\n }(AnimationStateAst));\n var AnimationStateTransitionExpression = (function () {\n function AnimationStateTransitionExpression(fromState, toState) {\n this.fromState = fromState;\n this.toState = toState;\n }\n return AnimationStateTransitionExpression;\n }());\n var AnimationStateTransitionAst = (function (_super) {\n __extends$13(AnimationStateTransitionAst, _super);\n function AnimationStateTransitionAst(stateChanges, animation) {\n _super.call(this);\n this.stateChanges = stateChanges;\n this.animation = animation;\n }\n AnimationStateTransitionAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationStateTransition(this, context);\n };\n return AnimationStateTransitionAst;\n }(AnimationStateAst));\n var AnimationStepAst = (function (_super) {\n __extends$13(AnimationStepAst, _super);\n function AnimationStepAst(startingStyles, keyframes, duration, delay, easing) {\n _super.call(this);\n this.startingStyles = startingStyles;\n this.keyframes = keyframes;\n this.duration = duration;\n this.delay = delay;\n this.easing = easing;\n }\n AnimationStepAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationStep(this, context);\n };\n return AnimationStepAst;\n }(AnimationAst));\n var AnimationStylesAst = (function (_super) {\n __extends$13(AnimationStylesAst, _super);\n function AnimationStylesAst(styles) {\n _super.call(this);\n this.styles = styles;\n }\n AnimationStylesAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationStyles(this, context);\n };\n return AnimationStylesAst;\n }(AnimationAst));\n var AnimationKeyframeAst = (function (_super) {\n __extends$13(AnimationKeyframeAst, _super);\n function AnimationKeyframeAst(offset, styles) {\n _super.call(this);\n this.offset = offset;\n this.styles = styles;\n }\n AnimationKeyframeAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationKeyframe(this, context);\n };\n return AnimationKeyframeAst;\n }(AnimationAst));\n var AnimationWithStepsAst = (function (_super) {\n __extends$13(AnimationWithStepsAst, _super);\n function AnimationWithStepsAst(steps) {\n _super.call(this);\n this.steps = steps;\n }\n return AnimationWithStepsAst;\n }(AnimationAst));\n var AnimationGroupAst = (function (_super) {\n __extends$13(AnimationGroupAst, _super);\n function AnimationGroupAst(steps) {\n _super.call(this, steps);\n }\n AnimationGroupAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationGroup(this, context);\n };\n return AnimationGroupAst;\n }(AnimationWithStepsAst));\n var AnimationSequenceAst = (function (_super) {\n __extends$13(AnimationSequenceAst, _super);\n function AnimationSequenceAst(steps) {\n _super.call(this, steps);\n }\n AnimationSequenceAst.prototype.visit = function (visitor, context) {\n return visitor.visitAnimationSequence(this, context);\n };\n return AnimationSequenceAst;\n }(AnimationWithStepsAst));\n\n var StylesCollectionEntry = (function () {\n function StylesCollectionEntry(time, value) {\n this.time = time;\n this.value = value;\n }\n StylesCollectionEntry.prototype.matches = function (time, value) {\n return time == this.time && value == this.value;\n };\n return StylesCollectionEntry;\n }());\n var StylesCollection = (function () {\n function StylesCollection() {\n this.styles = {};\n }\n StylesCollection.prototype.insertAtTime = function (property, time, value) {\n var tuple = new StylesCollectionEntry(time, value);\n var entries = this.styles[property];\n if (!isPresent(entries)) {\n entries = this.styles[property] = [];\n }\n // insert this at the right stop in the array\n // this way we can keep it sorted\n var insertionIndex = 0;\n for (var i = entries.length - 1; i >= 0; i--) {\n if (entries[i].time <= time) {\n insertionIndex = i + 1;\n break;\n }\n }\n entries.splice(insertionIndex, 0, tuple);\n };\n StylesCollection.prototype.getByIndex = function (property, index) {\n var items = this.styles[property];\n if (isPresent(items)) {\n return index >= items.length ? null : items[index];\n }\n return null;\n };\n StylesCollection.prototype.indexOfAtOrBeforeTime = function (property, time) {\n var entries = this.styles[property];\n if (isPresent(entries)) {\n for (var i = entries.length - 1; i >= 0; i--) {\n if (entries[i].time <= time)\n return i;\n }\n }\n return null;\n };\n return StylesCollection;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$12 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _INITIAL_KEYFRAME = 0;\n var _TERMINAL_KEYFRAME = 1;\n var _ONE_SECOND = 1000;\n var AnimationParseError = (function (_super) {\n __extends$12(AnimationParseError, _super);\n function AnimationParseError(message) {\n _super.call(this, null, message);\n }\n AnimationParseError.prototype.toString = function () { return \"\" + this.msg; };\n return AnimationParseError;\n }(ParseError));\n var AnimationEntryParseResult = (function () {\n function AnimationEntryParseResult(ast, errors) {\n this.ast = ast;\n this.errors = errors;\n }\n return AnimationEntryParseResult;\n }());\n var AnimationParser = (function () {\n function AnimationParser(_schema) {\n this._schema = _schema;\n }\n AnimationParser.prototype.parseComponent = function (component) {\n var _this = this;\n var errors = [];\n var componentName = component.type.name;\n var animationTriggerNames = new Set();\n var asts = component.template.animations.map(function (entry) {\n var result = _this.parseEntry(entry);\n var ast = result.ast;\n var triggerName = ast.name;\n if (animationTriggerNames.has(triggerName)) {\n result.errors.push(new AnimationParseError(\"The animation trigger \\\"\" + triggerName + \"\\\" has already been registered for the \" + componentName + \" component\"));\n }\n else {\n animationTriggerNames.add(triggerName);\n }\n if (result.errors.length > 0) {\n var errorMessage_1 = \"- Unable to parse the animation sequence for \\\"\" + triggerName + \"\\\" on the \" + componentName + \" component due to the following errors:\";\n result.errors.forEach(function (error) { errorMessage_1 += '\\n-- ' + error.msg; });\n errors.push(errorMessage_1);\n }\n return ast;\n });\n if (errors.length > 0) {\n var errorString = errors.join('\\n');\n throw new Error(\"Animation parse errors:\\n\" + errorString);\n }\n return asts;\n };\n AnimationParser.prototype.parseEntry = function (entry) {\n var _this = this;\n var errors = [];\n var stateStyles = {};\n var transitions = [];\n var stateDeclarationAsts = [];\n entry.definitions.forEach(function (def) {\n if (def instanceof CompileAnimationStateDeclarationMetadata) {\n _parseAnimationDeclarationStates(def, _this._schema, errors).forEach(function (ast) {\n stateDeclarationAsts.push(ast);\n stateStyles[ast.stateName] = ast.styles;\n });\n }\n else {\n transitions.push(def);\n }\n });\n var stateTransitionAsts = transitions.map(function (transDef) { return _parseAnimationStateTransition(transDef, stateStyles, _this._schema, errors); });\n var ast = new AnimationEntryAst(entry.name, stateDeclarationAsts, stateTransitionAsts);\n return new AnimationEntryParseResult(ast, errors);\n };\n AnimationParser.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n AnimationParser.ctorParameters = [\n { type: ElementSchemaRegistry, },\n ];\n return AnimationParser;\n }());\n function _parseAnimationDeclarationStates(stateMetadata, schema, errors) {\n var normalizedStyles = _normalizeStyleMetadata(stateMetadata.styles, {}, schema, errors, false);\n var defStyles = new AnimationStylesAst(normalizedStyles);\n var states = stateMetadata.stateNameExpr.split(/\\s*,\\s*/);\n return states.map(function (state) { return new AnimationStateDeclarationAst(state, defStyles); });\n }\n function _parseAnimationStateTransition(transitionStateMetadata, stateStyles, schema, errors) {\n var styles = new StylesCollection();\n var transitionExprs = [];\n var transitionStates = transitionStateMetadata.stateChangeExpr.split(/\\s*,\\s*/);\n transitionStates.forEach(function (expr) { transitionExprs.push.apply(transitionExprs, _parseAnimationTransitionExpr(expr, errors)); });\n var entry = _normalizeAnimationEntry(transitionStateMetadata.steps);\n var animation = _normalizeStyleSteps(entry, stateStyles, schema, errors);\n var animationAst = _parseTransitionAnimation(animation, 0, styles, stateStyles, errors);\n if (errors.length == 0) {\n _fillAnimationAstStartingKeyframes(animationAst, styles, errors);\n }\n var stepsAst = (animationAst instanceof AnimationWithStepsAst) ?\n animationAst :\n new AnimationSequenceAst([animationAst]);\n return new AnimationStateTransitionAst(transitionExprs, stepsAst);\n }\n function _parseAnimationAlias(alias, errors) {\n switch (alias) {\n case ':enter':\n return 'void => *';\n case ':leave':\n return '* => void';\n default:\n errors.push(new AnimationParseError(\"the transition alias value \\\"\" + alias + \"\\\" is not supported\"));\n return '* => *';\n }\n }\n function _parseAnimationTransitionExpr(eventStr, errors) {\n var expressions = [];\n if (eventStr[0] == ':') {\n eventStr = _parseAnimationAlias(eventStr, errors);\n }\n var match = eventStr.match(/^(\\*|[-\\w]+)\\s*(<?[=-]>)\\s*(\\*|[-\\w]+)$/);\n if (!isPresent(match) || match.length < 4) {\n errors.push(new AnimationParseError(\"the provided \" + eventStr + \" is not of a supported format\"));\n return expressions;\n }\n var fromState = match[1];\n var separator = match[2];\n var toState = match[3];\n expressions.push(new AnimationStateTransitionExpression(fromState, toState));\n var isFullAnyStateExpr = fromState == ANY_STATE && toState == ANY_STATE;\n if (separator[0] == '<' && !isFullAnyStateExpr) {\n expressions.push(new AnimationStateTransitionExpression(toState, fromState));\n }\n return expressions;\n }\n function _normalizeAnimationEntry(entry) {\n return Array.isArray(entry) ? new CompileAnimationSequenceMetadata(entry) : entry;\n }\n function _normalizeStyleMetadata(entry, stateStyles, schema, errors, permitStateReferences) {\n var normalizedStyles = [];\n entry.styles.forEach(function (styleEntry) {\n if (typeof styleEntry === 'string') {\n if (permitStateReferences) {\n normalizedStyles.push.apply(normalizedStyles, _resolveStylesFromState(styleEntry, stateStyles, errors));\n }\n else {\n errors.push(new AnimationParseError(\"State based animations cannot contain references to other states\"));\n }\n }\n else {\n var stylesObj_1 = styleEntry;\n var normalizedStylesObj_1 = {};\n Object.keys(stylesObj_1).forEach(function (propName) {\n var normalizedProp = schema.normalizeAnimationStyleProperty(propName);\n var normalizedOutput = schema.normalizeAnimationStyleValue(normalizedProp, propName, stylesObj_1[propName]);\n var normalizationError = normalizedOutput['error'];\n if (normalizationError) {\n errors.push(new AnimationParseError(normalizationError));\n }\n normalizedStylesObj_1[normalizedProp] = normalizedOutput['value'];\n });\n normalizedStyles.push(normalizedStylesObj_1);\n }\n });\n return normalizedStyles;\n }\n function _normalizeStyleSteps(entry, stateStyles, schema, errors) {\n var steps = _normalizeStyleStepEntry(entry, stateStyles, schema, errors);\n return (entry instanceof CompileAnimationGroupMetadata) ?\n new CompileAnimationGroupMetadata(steps) :\n new CompileAnimationSequenceMetadata(steps);\n }\n function _mergeAnimationStyles(stylesList, newItem) {\n if (typeof newItem === 'object' && newItem !== null && stylesList.length > 0) {\n var lastIndex = stylesList.length - 1;\n var lastItem = stylesList[lastIndex];\n if (typeof lastItem === 'object' && lastItem !== null) {\n stylesList[lastIndex] = StringMapWrapper.merge(lastItem, newItem);\n return;\n }\n }\n stylesList.push(newItem);\n }\n function _normalizeStyleStepEntry(entry, stateStyles, schema, errors) {\n var steps;\n if (entry instanceof CompileAnimationWithStepsMetadata) {\n steps = entry.steps;\n }\n else {\n return [entry];\n }\n var newSteps = [];\n var combinedStyles;\n steps.forEach(function (step) {\n if (step instanceof CompileAnimationStyleMetadata) {\n // this occurs when a style step is followed by a previous style step\n // or when the first style step is run. We want to concatenate all subsequent\n // style steps together into a single style step such that we have the correct\n // starting keyframe data to pass into the animation player.\n if (!isPresent(combinedStyles)) {\n combinedStyles = [];\n }\n _normalizeStyleMetadata(step, stateStyles, schema, errors, true)\n .forEach(function (entry) { _mergeAnimationStyles(combinedStyles, entry); });\n }\n else {\n // it is important that we create a metadata entry of the combined styles\n // before we go on an process the animate, sequence or group metadata steps.\n // This will ensure that the AST will have the previous styles painted on\n // screen before any further animations that use the styles take place.\n if (isPresent(combinedStyles)) {\n newSteps.push(new CompileAnimationStyleMetadata(0, combinedStyles));\n combinedStyles = null;\n }\n if (step instanceof CompileAnimationAnimateMetadata) {\n // we do not recurse into CompileAnimationAnimateMetadata since\n // those style steps are not going to be squashed\n var animateStyleValue = step.styles;\n if (animateStyleValue instanceof CompileAnimationStyleMetadata) {\n animateStyleValue.styles =\n _normalizeStyleMetadata(animateStyleValue, stateStyles, schema, errors, true);\n }\n else if (animateStyleValue instanceof CompileAnimationKeyframesSequenceMetadata) {\n animateStyleValue.steps.forEach(function (step) {\n step.styles = _normalizeStyleMetadata(step, stateStyles, schema, errors, true);\n });\n }\n }\n else if (step instanceof CompileAnimationWithStepsMetadata) {\n var innerSteps = _normalizeStyleStepEntry(step, stateStyles, schema, errors);\n step = step instanceof CompileAnimationGroupMetadata ?\n new CompileAnimationGroupMetadata(innerSteps) :\n new CompileAnimationSequenceMetadata(innerSteps);\n }\n newSteps.push(step);\n }\n });\n // this happens when only styles were animated within the sequence\n if (isPresent(combinedStyles)) {\n newSteps.push(new CompileAnimationStyleMetadata(0, combinedStyles));\n }\n return newSteps;\n }\n function _resolveStylesFromState(stateName, stateStyles, errors) {\n var styles = [];\n if (stateName[0] != ':') {\n errors.push(new AnimationParseError(\"Animation states via styles must be prefixed with a \\\":\\\"\"));\n }\n else {\n var normalizedStateName = stateName.substring(1);\n var value = stateStyles[normalizedStateName];\n if (!isPresent(value)) {\n errors.push(new AnimationParseError(\"Unable to apply styles due to missing a state: \\\"\" + normalizedStateName + \"\\\"\"));\n }\n else {\n value.styles.forEach(function (stylesEntry) {\n if (typeof stylesEntry === 'object' && stylesEntry !== null) {\n styles.push(stylesEntry);\n }\n });\n }\n }\n return styles;\n }\n var _AnimationTimings = (function () {\n function _AnimationTimings(duration, delay, easing) {\n this.duration = duration;\n this.delay = delay;\n this.easing = easing;\n }\n return _AnimationTimings;\n }());\n function _parseAnimationKeyframes(keyframeSequence, currentTime, collectedStyles, stateStyles, errors) {\n var totalEntries = keyframeSequence.steps.length;\n var totalOffsets = 0;\n keyframeSequence.steps.forEach(function (step) { return totalOffsets += (isPresent(step.offset) ? 1 : 0); });\n if (totalOffsets > 0 && totalOffsets < totalEntries) {\n errors.push(new AnimationParseError(\"Not all style() entries contain an offset for the provided keyframe()\"));\n totalOffsets = totalEntries;\n }\n var limit = totalEntries - 1;\n var margin = totalOffsets == 0 ? (1 / limit) : 0;\n var rawKeyframes = [];\n var index = 0;\n var doSortKeyframes = false;\n var lastOffset = 0;\n keyframeSequence.steps.forEach(function (styleMetadata) {\n var offset = styleMetadata.offset;\n var keyframeStyles = {};\n styleMetadata.styles.forEach(function (entry) {\n Object.keys(entry).forEach(function (prop) {\n if (prop != 'offset') {\n keyframeStyles[prop] = entry[prop];\n }\n });\n });\n if (isPresent(offset)) {\n doSortKeyframes = doSortKeyframes || (offset < lastOffset);\n }\n else {\n offset = index == limit ? _TERMINAL_KEYFRAME : (margin * index);\n }\n rawKeyframes.push([offset, keyframeStyles]);\n lastOffset = offset;\n index++;\n });\n if (doSortKeyframes) {\n rawKeyframes.sort(function (a, b) { return a[0] <= b[0] ? -1 : 1; });\n }\n var firstKeyframe = rawKeyframes[0];\n if (firstKeyframe[0] != _INITIAL_KEYFRAME) {\n rawKeyframes.splice(0, 0, firstKeyframe = [_INITIAL_KEYFRAME, {}]);\n }\n var firstKeyframeStyles = firstKeyframe[1];\n limit = rawKeyframes.length - 1;\n var lastKeyframe = rawKeyframes[limit];\n if (lastKeyframe[0] != _TERMINAL_KEYFRAME) {\n rawKeyframes.push(lastKeyframe = [_TERMINAL_KEYFRAME, {}]);\n limit++;\n }\n var lastKeyframeStyles = lastKeyframe[1];\n for (var i = 1; i <= limit; i++) {\n var entry = rawKeyframes[i];\n var styles = entry[1];\n Object.keys(styles).forEach(function (prop) {\n if (!isPresent(firstKeyframeStyles[prop])) {\n firstKeyframeStyles[prop] = FILL_STYLE_FLAG;\n }\n });\n }\n var _loop_1 = function(i) {\n var entry = rawKeyframes[i];\n var styles = entry[1];\n Object.keys(styles).forEach(function (prop) {\n if (!isPresent(lastKeyframeStyles[prop])) {\n lastKeyframeStyles[prop] = styles[prop];\n }\n });\n };\n for (var i = limit - 1; i >= 0; i--) {\n _loop_1(i);\n }\n return rawKeyframes.map(function (entry) { return new AnimationKeyframeAst(entry[0], new AnimationStylesAst([entry[1]])); });\n }\n function _parseTransitionAnimation(entry, currentTime, collectedStyles, stateStyles, errors) {\n var ast;\n var playTime = 0;\n var startingTime = currentTime;\n if (entry instanceof CompileAnimationWithStepsMetadata) {\n var maxDuration_1 = 0;\n var steps_1 = [];\n var isGroup_1 = entry instanceof CompileAnimationGroupMetadata;\n var previousStyles_1;\n entry.steps.forEach(function (entry) {\n // these will get picked up by the next step...\n var time = isGroup_1 ? startingTime : currentTime;\n if (entry instanceof CompileAnimationStyleMetadata) {\n entry.styles.forEach(function (stylesEntry) {\n // by this point we know that we only have stringmap values\n var map = stylesEntry;\n Object.keys(map).forEach(function (prop) { collectedStyles.insertAtTime(prop, time, map[prop]); });\n });\n previousStyles_1 = entry.styles;\n return;\n }\n var innerAst = _parseTransitionAnimation(entry, time, collectedStyles, stateStyles, errors);\n if (isPresent(previousStyles_1)) {\n if (entry instanceof CompileAnimationWithStepsMetadata) {\n var startingStyles = new AnimationStylesAst(previousStyles_1);\n steps_1.push(new AnimationStepAst(startingStyles, [], 0, 0, ''));\n }\n else {\n var innerStep = innerAst;\n (_a = innerStep.startingStyles.styles).push.apply(_a, previousStyles_1);\n }\n previousStyles_1 = null;\n }\n var astDuration = innerAst.playTime;\n currentTime += astDuration;\n playTime += astDuration;\n maxDuration_1 = Math.max(astDuration, maxDuration_1);\n steps_1.push(innerAst);\n var _a;\n });\n if (isPresent(previousStyles_1)) {\n var startingStyles = new AnimationStylesAst(previousStyles_1);\n steps_1.push(new AnimationStepAst(startingStyles, [], 0, 0, ''));\n }\n if (isGroup_1) {\n ast = new AnimationGroupAst(steps_1);\n playTime = maxDuration_1;\n currentTime = startingTime + playTime;\n }\n else {\n ast = new AnimationSequenceAst(steps_1);\n }\n }\n else if (entry instanceof CompileAnimationAnimateMetadata) {\n var timings = _parseTimeExpression(entry.timings, errors);\n var styles = entry.styles;\n var keyframes = void 0;\n if (styles instanceof CompileAnimationKeyframesSequenceMetadata) {\n keyframes =\n _parseAnimationKeyframes(styles, currentTime, collectedStyles, stateStyles, errors);\n }\n else {\n var styleData = styles;\n var offset = _TERMINAL_KEYFRAME;\n var styleAst = new AnimationStylesAst(styleData.styles);\n var keyframe = new AnimationKeyframeAst(offset, styleAst);\n keyframes = [keyframe];\n }\n ast = new AnimationStepAst(new AnimationStylesAst([]), keyframes, timings.duration, timings.delay, timings.easing);\n playTime = timings.duration + timings.delay;\n currentTime += playTime;\n keyframes.forEach(function (keyframe /** TODO #9100 */) { return keyframe.styles.styles.forEach(function (entry /** TODO #9100 */) { return Object.keys(entry).forEach(function (prop) { collectedStyles.insertAtTime(prop, currentTime, entry[prop]); }); }); });\n }\n else {\n // if the code reaches this stage then an error\n // has already been populated within the _normalizeStyleSteps()\n // operation...\n ast = new AnimationStepAst(null, [], 0, 0, '');\n }\n ast.playTime = playTime;\n ast.startTime = startingTime;\n return ast;\n }\n function _fillAnimationAstStartingKeyframes(ast, collectedStyles, errors) {\n // steps that only contain style will not be filled\n if ((ast instanceof AnimationStepAst) && ast.keyframes.length > 0) {\n var keyframes = ast.keyframes;\n if (keyframes.length == 1) {\n var endKeyframe = keyframes[0];\n var startKeyframe = _createStartKeyframeFromEndKeyframe(endKeyframe, ast.startTime, ast.playTime, collectedStyles, errors);\n ast.keyframes = [startKeyframe, endKeyframe];\n }\n }\n else if (ast instanceof AnimationWithStepsAst) {\n ast.steps.forEach(function (entry) { return _fillAnimationAstStartingKeyframes(entry, collectedStyles, errors); });\n }\n }\n function _parseTimeExpression(exp, errors) {\n var regex = /^([\\.\\d]+)(m?s)(?:\\s+([\\.\\d]+)(m?s))?(?:\\s+([-a-z]+(?:\\(.+?\\))?))?/i;\n var duration;\n var delay = 0;\n var easing = null;\n if (typeof exp === 'string') {\n var matches = exp.match(regex);\n if (matches === null) {\n errors.push(new AnimationParseError(\"The provided timing value \\\"\" + exp + \"\\\" is invalid.\"));\n return new _AnimationTimings(0, 0, null);\n }\n var durationMatch = parseFloat(matches[1]);\n var durationUnit = matches[2];\n if (durationUnit == 's') {\n durationMatch *= _ONE_SECOND;\n }\n duration = Math.floor(durationMatch);\n var delayMatch = matches[3];\n var delayUnit = matches[4];\n if (isPresent(delayMatch)) {\n var delayVal = parseFloat(delayMatch);\n if (isPresent(delayUnit) && delayUnit == 's') {\n delayVal *= _ONE_SECOND;\n }\n delay = Math.floor(delayVal);\n }\n var easingVal = matches[5];\n if (!isBlank(easingVal)) {\n easing = easingVal;\n }\n }\n else {\n duration = exp;\n }\n return new _AnimationTimings(duration, delay, easing);\n }\n function _createStartKeyframeFromEndKeyframe(endKeyframe, startTime, duration, collectedStyles, errors) {\n var values = {};\n var endTime = startTime + duration;\n endKeyframe.styles.styles.forEach(function (styleData) {\n Object.keys(styleData).forEach(function (prop) {\n var val = styleData[prop];\n if (prop == 'offset')\n return;\n var resultIndex = collectedStyles.indexOfAtOrBeforeTime(prop, startTime);\n var resultEntry /** TODO #9100 */, nextEntry /** TODO #9100 */, value;\n if (isPresent(resultIndex)) {\n resultEntry = collectedStyles.getByIndex(prop, resultIndex);\n value = resultEntry.value;\n nextEntry = collectedStyles.getByIndex(prop, resultIndex + 1);\n }\n else {\n // this is a flag that the runtime code uses to pass\n // in a value either from the state declaration styles\n // or using the AUTO_STYLE value (e.g. getComputedStyle)\n value = FILL_STYLE_FLAG;\n }\n if (isPresent(nextEntry) && !nextEntry.matches(endTime, val)) {\n errors.push(new AnimationParseError(\"The animated CSS property \\\"\" + prop + \"\\\" unexpectedly changes between steps \\\"\" + resultEntry.time + \"ms\\\" and \\\"\" + endTime + \"ms\\\" at \\\"\" + nextEntry.time + \"ms\\\"\"));\n }\n values[prop] = value;\n });\n });\n return new AnimationKeyframeAst(_INITIAL_KEYFRAME, new AnimationStylesAst([values]));\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * An interface for retrieving documents by URL that the compiler uses\n * to load templates.\n */\n var ResourceLoader = (function () {\n function ResourceLoader() {\n }\n ResourceLoader.prototype.get = function (url) { return null; };\n return ResourceLoader;\n }());\n\n /**\n * Create a {@link UrlResolver} with no package prefix.\n */\n function createUrlResolverWithoutPackagePrefix() {\n return new UrlResolver();\n }\n function createOfflineCompileUrlResolver() {\n return new UrlResolver('.');\n }\n /**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\n var DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: _angular_core.PACKAGE_ROOT_URL,\n useValue: '/'\n };\n /**\n * Used by the {@link Compiler} when resolving HTML and CSS template URLs.\n *\n * This class can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n *\n * ## Example\n *\n * {@example compiler/ts/url_resolver/url_resolver.ts region='url_resolver'}\n *\n * @security When compiling templates at runtime, you must\n * ensure that the entire template comes from a trusted source.\n * Attacker-controlled data introduced by a template could expose your\n * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n */\n var UrlResolver = (function () {\n function UrlResolver(_packagePrefix) {\n if (_packagePrefix === void 0) { _packagePrefix = null; }\n this._packagePrefix = _packagePrefix;\n }\n /**\n * Resolves the `url` given the `baseUrl`:\n * - when the `url` is null, the `baseUrl` is returned,\n * - if `url` is relative ('path/to/here', './path/to/here'), the resolved url is a combination of\n * `baseUrl` and `url`,\n * - if `url` is absolute (it has a scheme: 'http://', 'https://' or start with '/'), the `url` is\n * returned as is (ignoring the `baseUrl`)\n */\n UrlResolver.prototype.resolve = function (baseUrl, url) {\n var resolvedUrl = url;\n if (isPresent(baseUrl) && baseUrl.length > 0) {\n resolvedUrl = _resolveUrl(baseUrl, resolvedUrl);\n }\n var resolvedParts = _split(resolvedUrl);\n var prefix = this._packagePrefix;\n if (isPresent(prefix) && isPresent(resolvedParts) &&\n resolvedParts[_ComponentIndex.Scheme] == 'package') {\n var path = resolvedParts[_ComponentIndex.Path];\n prefix = prefix.replace(/\\/+$/, '');\n path = path.replace(/^\\/+/, '');\n return prefix + \"/\" + path;\n }\n return resolvedUrl;\n };\n UrlResolver.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n UrlResolver.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.PACKAGE_ROOT_URL,] },] },\n ];\n return UrlResolver;\n }());\n /**\n * Extract the scheme of a URL.\n */\n function getUrlScheme(url) {\n var match = _split(url);\n return (match && match[_ComponentIndex.Scheme]) || '';\n }\n // The code below is adapted from Traceur:\n // https://github.com/google/traceur-compiler/blob/9511c1dafa972bf0de1202a8a863bad02f0f95a8/src/runtime/url.js\n /**\n * Builds a URI string from already-encoded parts.\n *\n * No encoding is performed. Any component may be omitted as either null or\n * undefined.\n *\n * @param opt_scheme The scheme such as 'http'.\n * @param opt_userInfo The user name before the '@'.\n * @param opt_domain The domain such as 'www.google.com', already\n * URI-encoded.\n * @param opt_port The port number.\n * @param opt_path The path, already URI-encoded. If it is not\n * empty, it must begin with a slash.\n * @param opt_queryData The URI-encoded query data.\n * @param opt_fragment The URI-encoded fragment identifier.\n * @return The fully combined URI.\n */\n function _buildFromEncodedParts(opt_scheme, opt_userInfo, opt_domain, opt_port, opt_path, opt_queryData, opt_fragment) {\n var out = [];\n if (isPresent(opt_scheme)) {\n out.push(opt_scheme + ':');\n }\n if (isPresent(opt_domain)) {\n out.push('//');\n if (isPresent(opt_userInfo)) {\n out.push(opt_userInfo + '@');\n }\n out.push(opt_domain);\n if (isPresent(opt_port)) {\n out.push(':' + opt_port);\n }\n }\n if (isPresent(opt_path)) {\n out.push(opt_path);\n }\n if (isPresent(opt_queryData)) {\n out.push('?' + opt_queryData);\n }\n if (isPresent(opt_fragment)) {\n out.push('#' + opt_fragment);\n }\n return out.join('');\n }\n /**\n * A regular expression for breaking a URI into its component parts.\n *\n * {@link http://www.gbiv.com/protocols/uri/rfc/rfc3986.html#RFC2234} says\n * As the \"first-match-wins\" algorithm is identical to the \"greedy\"\n * disambiguation method used by POSIX regular expressions, it is natural and\n * commonplace to use a regular expression for parsing the potential five\n * components of a URI reference.\n *\n * The following line is the regular expression for breaking-down a\n * well-formed URI reference into its components.\n *\n * <pre>\n * ^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?\n * 12 3 4 5 6 7 8 9\n * </pre>\n *\n * The numbers in the second line above are only to assist readability; they\n * indicate the reference points for each subexpression (i.e., each paired\n * parenthesis). We refer to the value matched for subexpression <n> as $<n>.\n * For example, matching the above expression to\n * <pre>\n * http://www.ics.uci.edu/pub/ietf/uri/#Related\n * </pre>\n * results in the following subexpression matches:\n * <pre>\n * $1 = http:\n * $2 = http\n * $3 = //www.ics.uci.edu\n * $4 = www.ics.uci.edu\n * $5 = /pub/ietf/uri/\n * $6 = <undefined>\n * $7 = <undefined>\n * $8 = #Related\n * $9 = Related\n * </pre>\n * where <undefined> indicates that the component is not present, as is the\n * case for the query component in the above example. Therefore, we can\n * determine the value of the five components as\n * <pre>\n * scheme = $2\n * authority = $4\n * path = $5\n * query = $7\n * fragment = $9\n * </pre>\n *\n * The regular expression has been modified slightly to expose the\n * userInfo, domain, and port separately from the authority.\n * The modified version yields\n * <pre>\n * $1 = http scheme\n * $2 = <undefined> userInfo -\\\n * $3 = www.ics.uci.edu domain | authority\n * $4 = <undefined> port -/\n * $5 = /pub/ietf/uri/ path\n * $6 = <undefined> query without ?\n * $7 = Related fragment without #\n * </pre>\n * @type {!RegExp}\n * @internal\n */\n var _splitRe = new RegExp('^' +\n '(?:' +\n '([^:/?#.]+)' +\n // used by other URL parts such as :,\n // ?, /, #, and .\n ':)?' +\n '(?://' +\n '(?:([^/?#]*)@)?' +\n '([\\\\w\\\\d\\\\-\\\\u0100-\\\\uffff.%]*)' +\n // digits, dashes, dots, percent\n // escapes, and unicode characters.\n '(?::([0-9]+))?' +\n ')?' +\n '([^?#]+)?' +\n '(?:\\\\?([^#]*))?' +\n '(?:#(.*))?' +\n '$');\n /**\n * The index of each URI component in the return value of goog.uri.utils.split.\n * @enum {number}\n */\n var _ComponentIndex;\n (function (_ComponentIndex) {\n _ComponentIndex[_ComponentIndex[\"Scheme\"] = 1] = \"Scheme\";\n _ComponentIndex[_ComponentIndex[\"UserInfo\"] = 2] = \"UserInfo\";\n _ComponentIndex[_ComponentIndex[\"Domain\"] = 3] = \"Domain\";\n _ComponentIndex[_ComponentIndex[\"Port\"] = 4] = \"Port\";\n _ComponentIndex[_ComponentIndex[\"Path\"] = 5] = \"Path\";\n _ComponentIndex[_ComponentIndex[\"QueryData\"] = 6] = \"QueryData\";\n _ComponentIndex[_ComponentIndex[\"Fragment\"] = 7] = \"Fragment\";\n })(_ComponentIndex || (_ComponentIndex = {}));\n /**\n * Splits a URI into its component parts.\n *\n * Each component can be accessed via the component indices; for example:\n * <pre>\n * goog.uri.utils.split(someStr)[goog.uri.utils.CompontentIndex.QUERY_DATA];\n * </pre>\n *\n * @param uri The URI string to examine.\n * @return Each component still URI-encoded.\n * Each component that is present will contain the encoded value, whereas\n * components that are not present will be undefined or empty, depending\n * on the browser's regular expression implementation. Never null, since\n * arbitrary strings may still look like path names.\n */\n function _split(uri) {\n return uri.match(_splitRe);\n }\n /**\n * Removes dot segments in given path component, as described in\n * RFC 3986, section 5.2.4.\n *\n * @param path A non-empty path component.\n * @return Path component with removed dot segments.\n */\n function _removeDotSegments(path) {\n if (path == '/')\n return '/';\n var leadingSlash = path[0] == '/' ? '/' : '';\n var trailingSlash = path[path.length - 1] === '/' ? '/' : '';\n var segments = path.split('/');\n var out = [];\n var up = 0;\n for (var pos = 0; pos < segments.length; pos++) {\n var segment = segments[pos];\n switch (segment) {\n case '':\n case '.':\n break;\n case '..':\n if (out.length > 0) {\n out.pop();\n }\n else {\n up++;\n }\n break;\n default:\n out.push(segment);\n }\n }\n if (leadingSlash == '') {\n while (up-- > 0) {\n out.unshift('..');\n }\n if (out.length === 0)\n out.push('.');\n }\n return leadingSlash + out.join('/') + trailingSlash;\n }\n /**\n * Takes an array of the parts from split and canonicalizes the path part\n * and then joins all the parts.\n */\n function _joinAndCanonicalizePath(parts) {\n var path = parts[_ComponentIndex.Path];\n path = isBlank(path) ? '' : _removeDotSegments(path);\n parts[_ComponentIndex.Path] = path;\n return _buildFromEncodedParts(parts[_ComponentIndex.Scheme], parts[_ComponentIndex.UserInfo], parts[_ComponentIndex.Domain], parts[_ComponentIndex.Port], path, parts[_ComponentIndex.QueryData], parts[_ComponentIndex.Fragment]);\n }\n /**\n * Resolves a URL.\n * @param base The URL acting as the base URL.\n * @param to The URL to resolve.\n */\n function _resolveUrl(base, url) {\n var parts = _split(encodeURI(url));\n var baseParts = _split(base);\n if (isPresent(parts[_ComponentIndex.Scheme])) {\n return _joinAndCanonicalizePath(parts);\n }\n else {\n parts[_ComponentIndex.Scheme] = baseParts[_ComponentIndex.Scheme];\n }\n for (var i = _ComponentIndex.Scheme; i <= _ComponentIndex.Port; i++) {\n if (isBlank(parts[i])) {\n parts[i] = baseParts[i];\n }\n }\n if (parts[_ComponentIndex.Path][0] == '/') {\n return _joinAndCanonicalizePath(parts);\n }\n var path = baseParts[_ComponentIndex.Path];\n if (isBlank(path))\n path = '/';\n var index = path.lastIndexOf('/');\n path = path.substring(0, index + 1) + parts[_ComponentIndex.Path];\n parts[_ComponentIndex.Path] = path;\n return _joinAndCanonicalizePath(parts);\n }\n\n var DirectiveNormalizer = (function () {\n function DirectiveNormalizer(_resourceLoader, _urlResolver, _htmlParser, _config) {\n this._resourceLoader = _resourceLoader;\n this._urlResolver = _urlResolver;\n this._htmlParser = _htmlParser;\n this._config = _config;\n this._resourceLoaderCache = new Map();\n }\n DirectiveNormalizer.prototype.clearCache = function () { this._resourceLoaderCache.clear(); };\n DirectiveNormalizer.prototype.clearCacheFor = function (normalizedDirective) {\n var _this = this;\n if (!normalizedDirective.isComponent) {\n return;\n }\n this._resourceLoaderCache.delete(normalizedDirective.template.templateUrl);\n normalizedDirective.template.externalStylesheets.forEach(function (stylesheet) { _this._resourceLoaderCache.delete(stylesheet.moduleUrl); });\n };\n DirectiveNormalizer.prototype._fetch = function (url) {\n var result = this._resourceLoaderCache.get(url);\n if (!result) {\n result = this._resourceLoader.get(url);\n this._resourceLoaderCache.set(url, result);\n }\n return result;\n };\n DirectiveNormalizer.prototype.normalizeTemplate = function (prenormData) {\n var _this = this;\n var normalizedTemplateSync = null;\n var normalizedTemplateAsync;\n if (isPresent(prenormData.template)) {\n normalizedTemplateSync = this.normalizeTemplateSync(prenormData);\n normalizedTemplateAsync = Promise.resolve(normalizedTemplateSync);\n }\n else if (prenormData.templateUrl) {\n normalizedTemplateAsync = this.normalizeTemplateAsync(prenormData);\n }\n else {\n throw new Error(\"No template specified for component \" + stringify(prenormData.componentType));\n }\n if (normalizedTemplateSync && normalizedTemplateSync.styleUrls.length === 0) {\n // sync case\n return new SyncAsyncResult(normalizedTemplateSync);\n }\n else {\n // async case\n return new SyncAsyncResult(null, normalizedTemplateAsync.then(function (normalizedTemplate) { return _this.normalizeExternalStylesheets(normalizedTemplate); }));\n }\n };\n DirectiveNormalizer.prototype.normalizeTemplateSync = function (prenomData) {\n return this.normalizeLoadedTemplate(prenomData, prenomData.template, prenomData.moduleUrl);\n };\n DirectiveNormalizer.prototype.normalizeTemplateAsync = function (prenomData) {\n var _this = this;\n var templateUrl = this._urlResolver.resolve(prenomData.moduleUrl, prenomData.templateUrl);\n return this._fetch(templateUrl)\n .then(function (value) { return _this.normalizeLoadedTemplate(prenomData, value, templateUrl); });\n };\n DirectiveNormalizer.prototype.normalizeLoadedTemplate = function (prenomData, template, templateAbsUrl) {\n var interpolationConfig = InterpolationConfig.fromArray(prenomData.interpolation);\n var rootNodesAndErrors = this._htmlParser.parse(template, stringify(prenomData.componentType), false, interpolationConfig);\n if (rootNodesAndErrors.errors.length > 0) {\n var errorString = rootNodesAndErrors.errors.join('\\n');\n throw new Error(\"Template parse errors:\\n\" + errorString);\n }\n var templateMetadataStyles = this.normalizeStylesheet(new CompileStylesheetMetadata({\n styles: prenomData.styles,\n styleUrls: prenomData.styleUrls,\n moduleUrl: prenomData.moduleUrl\n }));\n var visitor = new TemplatePreparseVisitor();\n visitAll(visitor, rootNodesAndErrors.rootNodes);\n var templateStyles = this.normalizeStylesheet(new CompileStylesheetMetadata({ styles: visitor.styles, styleUrls: visitor.styleUrls, moduleUrl: templateAbsUrl }));\n var encapsulation = prenomData.encapsulation;\n if (isBlank(encapsulation)) {\n encapsulation = this._config.defaultEncapsulation;\n }\n var styles = templateMetadataStyles.styles.concat(templateStyles.styles);\n var styleUrls = templateMetadataStyles.styleUrls.concat(templateStyles.styleUrls);\n if (encapsulation === _angular_core.ViewEncapsulation.Emulated && styles.length === 0 &&\n styleUrls.length === 0) {\n encapsulation = _angular_core.ViewEncapsulation.None;\n }\n return new CompileTemplateMetadata({\n encapsulation: encapsulation,\n template: template,\n templateUrl: templateAbsUrl, styles: styles, styleUrls: styleUrls,\n ngContentSelectors: visitor.ngContentSelectors,\n animations: prenomData.animations,\n interpolation: prenomData.interpolation,\n });\n };\n DirectiveNormalizer.prototype.normalizeExternalStylesheets = function (templateMeta) {\n return this._loadMissingExternalStylesheets(templateMeta.styleUrls)\n .then(function (externalStylesheets) { return new CompileTemplateMetadata({\n encapsulation: templateMeta.encapsulation,\n template: templateMeta.template,\n templateUrl: templateMeta.templateUrl,\n styles: templateMeta.styles,\n styleUrls: templateMeta.styleUrls,\n externalStylesheets: externalStylesheets,\n ngContentSelectors: templateMeta.ngContentSelectors,\n animations: templateMeta.animations,\n interpolation: templateMeta.interpolation\n }); });\n };\n DirectiveNormalizer.prototype._loadMissingExternalStylesheets = function (styleUrls, loadedStylesheets) {\n var _this = this;\n if (loadedStylesheets === void 0) { loadedStylesheets = new Map(); }\n return Promise\n .all(styleUrls.filter(function (styleUrl) { return !loadedStylesheets.has(styleUrl); })\n .map(function (styleUrl) { return _this._fetch(styleUrl).then(function (loadedStyle) {\n var stylesheet = _this.normalizeStylesheet(new CompileStylesheetMetadata({ styles: [loadedStyle], moduleUrl: styleUrl }));\n loadedStylesheets.set(styleUrl, stylesheet);\n return _this._loadMissingExternalStylesheets(stylesheet.styleUrls, loadedStylesheets);\n }); }))\n .then(function (_) { return Array.from(loadedStylesheets.values()); });\n };\n DirectiveNormalizer.prototype.normalizeStylesheet = function (stylesheet) {\n var _this = this;\n var allStyleUrls = stylesheet.styleUrls.filter(isStyleUrlResolvable)\n .map(function (url) { return _this._urlResolver.resolve(stylesheet.moduleUrl, url); });\n var allStyles = stylesheet.styles.map(function (style) {\n var styleWithImports = extractStyleUrls(_this._urlResolver, stylesheet.moduleUrl, style);\n allStyleUrls.push.apply(allStyleUrls, styleWithImports.styleUrls);\n return styleWithImports.style;\n });\n return new CompileStylesheetMetadata({ styles: allStyles, styleUrls: allStyleUrls, moduleUrl: stylesheet.moduleUrl });\n };\n DirectiveNormalizer.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DirectiveNormalizer.ctorParameters = [\n { type: ResourceLoader, },\n { type: UrlResolver, },\n { type: HtmlParser, },\n { type: CompilerConfig, },\n ];\n return DirectiveNormalizer;\n }());\n var TemplatePreparseVisitor = (function () {\n function TemplatePreparseVisitor() {\n this.ngContentSelectors = [];\n this.styles = [];\n this.styleUrls = [];\n this.ngNonBindableStackCount = 0;\n }\n TemplatePreparseVisitor.prototype.visitElement = function (ast, context) {\n var preparsedElement = preparseElement(ast);\n switch (preparsedElement.type) {\n case PreparsedElementType.NG_CONTENT:\n if (this.ngNonBindableStackCount === 0) {\n this.ngContentSelectors.push(preparsedElement.selectAttr);\n }\n break;\n case PreparsedElementType.STYLE:\n var textContent_1 = '';\n ast.children.forEach(function (child) {\n if (child instanceof Text) {\n textContent_1 += child.value;\n }\n });\n this.styles.push(textContent_1);\n break;\n case PreparsedElementType.STYLESHEET:\n this.styleUrls.push(preparsedElement.hrefAttr);\n break;\n default:\n break;\n }\n if (preparsedElement.nonBindable) {\n this.ngNonBindableStackCount++;\n }\n visitAll(this, ast.children);\n if (preparsedElement.nonBindable) {\n this.ngNonBindableStackCount--;\n }\n return null;\n };\n TemplatePreparseVisitor.prototype.visitComment = function (ast, context) { return null; };\n TemplatePreparseVisitor.prototype.visitAttribute = function (ast, context) { return null; };\n TemplatePreparseVisitor.prototype.visitText = function (ast, context) { return null; };\n TemplatePreparseVisitor.prototype.visitExpansion = function (ast, context) { return null; };\n TemplatePreparseVisitor.prototype.visitExpansionCase = function (ast, context) { return null; };\n return TemplatePreparseVisitor;\n }());\n\n /*\n * Resolve a `Type` for {@link Directive}.\n *\n * This interface can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n */\n var DirectiveResolver = (function () {\n function DirectiveResolver(_reflector) {\n if (_reflector === void 0) { _reflector = reflector; }\n this._reflector = _reflector;\n }\n DirectiveResolver.prototype.isDirective = function (type) {\n var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n return typeMetadata && typeMetadata.some(isDirectiveMetadata);\n };\n /**\n * Return {@link Directive} for a given `Type`.\n */\n DirectiveResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n if (typeMetadata) {\n var metadata = typeMetadata.find(isDirectiveMetadata);\n if (metadata) {\n var propertyMetadata = this._reflector.propMetadata(type);\n return this._mergeWithPropertyMetadata(metadata, propertyMetadata, type);\n }\n }\n if (throwIfNotFound) {\n throw new Error(\"No Directive annotation found on \" + stringify(type));\n }\n return null;\n };\n DirectiveResolver.prototype._mergeWithPropertyMetadata = function (dm, propertyMetadata, directiveType) {\n var inputs = [];\n var outputs = [];\n var host = {};\n var queries = {};\n Object.keys(propertyMetadata).forEach(function (propName) {\n propertyMetadata[propName].forEach(function (a) {\n if (a instanceof _angular_core.Input) {\n if (a.bindingPropertyName) {\n inputs.push(propName + \": \" + a.bindingPropertyName);\n }\n else {\n inputs.push(propName);\n }\n }\n else if (a instanceof _angular_core.Output) {\n var output = a;\n if (output.bindingPropertyName) {\n outputs.push(propName + \": \" + output.bindingPropertyName);\n }\n else {\n outputs.push(propName);\n }\n }\n else if (a instanceof _angular_core.HostBinding) {\n var hostBinding = a;\n if (hostBinding.hostPropertyName) {\n var startWith = hostBinding.hostPropertyName[0];\n if (startWith === '(') {\n throw new Error(\"@HostBinding can not bind to events. Use @HostListener instead.\");\n }\n else if (startWith === '[') {\n throw new Error(\"@HostBinding parameter should be a property name, 'class.<name>', or 'attr.<name>'.\");\n }\n host[(\"[\" + hostBinding.hostPropertyName + \"]\")] = propName;\n }\n else {\n host[(\"[\" + propName + \"]\")] = propName;\n }\n }\n else if (a instanceof _angular_core.HostListener) {\n var hostListener = a;\n var args = hostListener.args || [];\n host[(\"(\" + hostListener.eventName + \")\")] = propName + \"(\" + args.join(',') + \")\";\n }\n else if (a instanceof _angular_core.Query) {\n queries[propName] = a;\n }\n });\n });\n return this._merge(dm, inputs, outputs, host, queries, directiveType);\n };\n DirectiveResolver.prototype._extractPublicName = function (def) { return splitAtColon(def, [null, def])[1].trim(); };\n DirectiveResolver.prototype._merge = function (directive, inputs, outputs, host, queries, directiveType) {\n var _this = this;\n var mergedInputs = inputs;\n if (directive.inputs) {\n var inputNames_1 = directive.inputs.map(function (def) { return _this._extractPublicName(def); });\n inputs.forEach(function (inputDef) {\n var publicName = _this._extractPublicName(inputDef);\n if (inputNames_1.indexOf(publicName) > -1) {\n throw new Error(\"Input '\" + publicName + \"' defined multiple times in '\" + stringify(directiveType) + \"'\");\n }\n });\n mergedInputs.unshift.apply(mergedInputs, directive.inputs);\n }\n var mergedOutputs = outputs;\n if (directive.outputs) {\n var outputNames_1 = directive.outputs.map(function (def) { return _this._extractPublicName(def); });\n outputs.forEach(function (outputDef) {\n var publicName = _this._extractPublicName(outputDef);\n if (outputNames_1.indexOf(publicName) > -1) {\n throw new Error(\"Output event '\" + publicName + \"' defined multiple times in '\" + stringify(directiveType) + \"'\");\n }\n });\n mergedOutputs.unshift.apply(mergedOutputs, directive.outputs);\n }\n var mergedHost = directive.host ? StringMapWrapper.merge(directive.host, host) : host;\n var mergedQueries = directive.queries ? StringMapWrapper.merge(directive.queries, queries) : queries;\n if (directive instanceof _angular_core.Component) {\n return new _angular_core.Component({\n selector: directive.selector,\n inputs: mergedInputs,\n outputs: mergedOutputs,\n host: mergedHost,\n exportAs: directive.exportAs,\n moduleId: directive.moduleId,\n queries: mergedQueries,\n changeDetection: directive.changeDetection,\n providers: directive.providers,\n viewProviders: directive.viewProviders,\n entryComponents: directive.entryComponents,\n template: directive.template,\n templateUrl: directive.templateUrl,\n styles: directive.styles,\n styleUrls: directive.styleUrls,\n encapsulation: directive.encapsulation,\n animations: directive.animations,\n interpolation: directive.interpolation\n });\n }\n else {\n return new _angular_core.Directive({\n selector: directive.selector,\n inputs: mergedInputs,\n outputs: mergedOutputs,\n host: mergedHost,\n exportAs: directive.exportAs,\n queries: mergedQueries,\n providers: directive.providers\n });\n }\n };\n DirectiveResolver.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DirectiveResolver.ctorParameters = [\n { type: ReflectorReader, },\n ];\n return DirectiveResolver;\n }());\n function isDirectiveMetadata(type) {\n return type instanceof _angular_core.Directive;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$14 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n //// Types\n var TypeModifier;\n (function (TypeModifier) {\n TypeModifier[TypeModifier[\"Const\"] = 0] = \"Const\";\n })(TypeModifier || (TypeModifier = {}));\n var Type$1 = (function () {\n function Type(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Type.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Type;\n }());\n var BuiltinTypeName;\n (function (BuiltinTypeName) {\n BuiltinTypeName[BuiltinTypeName[\"Dynamic\"] = 0] = \"Dynamic\";\n BuiltinTypeName[BuiltinTypeName[\"Bool\"] = 1] = \"Bool\";\n BuiltinTypeName[BuiltinTypeName[\"String\"] = 2] = \"String\";\n BuiltinTypeName[BuiltinTypeName[\"Int\"] = 3] = \"Int\";\n BuiltinTypeName[BuiltinTypeName[\"Number\"] = 4] = \"Number\";\n BuiltinTypeName[BuiltinTypeName[\"Function\"] = 5] = \"Function\";\n BuiltinTypeName[BuiltinTypeName[\"Null\"] = 6] = \"Null\";\n })(BuiltinTypeName || (BuiltinTypeName = {}));\n var BuiltinType = (function (_super) {\n __extends$14(BuiltinType, _super);\n function BuiltinType(name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n }\n BuiltinType.prototype.visitType = function (visitor, context) {\n return visitor.visitBuiltintType(this, context);\n };\n return BuiltinType;\n }(Type$1));\n var ExternalType = (function (_super) {\n __extends$14(ExternalType, _super);\n function ExternalType(value, typeParams, modifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalType.prototype.visitType = function (visitor, context) {\n return visitor.visitExternalType(this, context);\n };\n return ExternalType;\n }(Type$1));\n var ArrayType = (function (_super) {\n __extends$14(ArrayType, _super);\n function ArrayType(of, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.of = of;\n }\n ArrayType.prototype.visitType = function (visitor, context) {\n return visitor.visitArrayType(this, context);\n };\n return ArrayType;\n }(Type$1));\n var MapType = (function (_super) {\n __extends$14(MapType, _super);\n function MapType(valueType, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.valueType = valueType;\n }\n MapType.prototype.visitType = function (visitor, context) { return visitor.visitMapType(this, context); };\n return MapType;\n }(Type$1));\n var DYNAMIC_TYPE = new BuiltinType(BuiltinTypeName.Dynamic);\n var BOOL_TYPE = new BuiltinType(BuiltinTypeName.Bool);\n var INT_TYPE = new BuiltinType(BuiltinTypeName.Int);\n var NUMBER_TYPE = new BuiltinType(BuiltinTypeName.Number);\n var STRING_TYPE = new BuiltinType(BuiltinTypeName.String);\n var FUNCTION_TYPE = new BuiltinType(BuiltinTypeName.Function);\n var NULL_TYPE = new BuiltinType(BuiltinTypeName.Null);\n ///// Expressions\n var BinaryOperator;\n (function (BinaryOperator) {\n BinaryOperator[BinaryOperator[\"Equals\"] = 0] = \"Equals\";\n BinaryOperator[BinaryOperator[\"NotEquals\"] = 1] = \"NotEquals\";\n BinaryOperator[BinaryOperator[\"Identical\"] = 2] = \"Identical\";\n BinaryOperator[BinaryOperator[\"NotIdentical\"] = 3] = \"NotIdentical\";\n BinaryOperator[BinaryOperator[\"Minus\"] = 4] = \"Minus\";\n BinaryOperator[BinaryOperator[\"Plus\"] = 5] = \"Plus\";\n BinaryOperator[BinaryOperator[\"Divide\"] = 6] = \"Divide\";\n BinaryOperator[BinaryOperator[\"Multiply\"] = 7] = \"Multiply\";\n BinaryOperator[BinaryOperator[\"Modulo\"] = 8] = \"Modulo\";\n BinaryOperator[BinaryOperator[\"And\"] = 9] = \"And\";\n BinaryOperator[BinaryOperator[\"Or\"] = 10] = \"Or\";\n BinaryOperator[BinaryOperator[\"Lower\"] = 11] = \"Lower\";\n BinaryOperator[BinaryOperator[\"LowerEquals\"] = 12] = \"LowerEquals\";\n BinaryOperator[BinaryOperator[\"Bigger\"] = 13] = \"Bigger\";\n BinaryOperator[BinaryOperator[\"BiggerEquals\"] = 14] = \"BiggerEquals\";\n })(BinaryOperator || (BinaryOperator = {}));\n var Expression = (function () {\n function Expression(type) {\n this.type = type;\n }\n Expression.prototype.prop = function (name) { return new ReadPropExpr(this, name); };\n Expression.prototype.key = function (index, type) {\n if (type === void 0) { type = null; }\n return new ReadKeyExpr(this, index, type);\n };\n Expression.prototype.callMethod = function (name, params) {\n return new InvokeMethodExpr(this, name, params);\n };\n Expression.prototype.callFn = function (params) { return new InvokeFunctionExpr(this, params); };\n Expression.prototype.instantiate = function (params, type) {\n if (type === void 0) { type = null; }\n return new InstantiateExpr(this, params, type);\n };\n Expression.prototype.conditional = function (trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = null; }\n return new ConditionalExpr(this, trueCase, falseCase);\n };\n Expression.prototype.equals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Equals, this, rhs);\n };\n Expression.prototype.notEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotEquals, this, rhs);\n };\n Expression.prototype.identical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Identical, this, rhs);\n };\n Expression.prototype.notIdentical = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.NotIdentical, this, rhs);\n };\n Expression.prototype.minus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Minus, this, rhs);\n };\n Expression.prototype.plus = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Plus, this, rhs);\n };\n Expression.prototype.divide = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Divide, this, rhs);\n };\n Expression.prototype.multiply = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Multiply, this, rhs);\n };\n Expression.prototype.modulo = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Modulo, this, rhs);\n };\n Expression.prototype.and = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.And, this, rhs);\n };\n Expression.prototype.or = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Or, this, rhs);\n };\n Expression.prototype.lower = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Lower, this, rhs);\n };\n Expression.prototype.lowerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.LowerEquals, this, rhs);\n };\n Expression.prototype.bigger = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.Bigger, this, rhs);\n };\n Expression.prototype.biggerEquals = function (rhs) {\n return new BinaryOperatorExpr(BinaryOperator.BiggerEquals, this, rhs);\n };\n Expression.prototype.isBlank = function () {\n // Note: We use equals by purpose here to compare to null and undefined in JS.\n // We use the typed null to allow strictNullChecks to narrow types.\n return this.equals(TYPED_NULL_EXPR);\n };\n Expression.prototype.cast = function (type) { return new CastExpr(this, type); };\n Expression.prototype.toStmt = function () { return new ExpressionStatement(this); };\n return Expression;\n }());\n var BuiltinVar;\n (function (BuiltinVar) {\n BuiltinVar[BuiltinVar[\"This\"] = 0] = \"This\";\n BuiltinVar[BuiltinVar[\"Super\"] = 1] = \"Super\";\n BuiltinVar[BuiltinVar[\"CatchError\"] = 2] = \"CatchError\";\n BuiltinVar[BuiltinVar[\"CatchStack\"] = 3] = \"CatchStack\";\n })(BuiltinVar || (BuiltinVar = {}));\n var ReadVarExpr = (function (_super) {\n __extends$14(ReadVarExpr, _super);\n function ReadVarExpr(name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n if (typeof name === 'string') {\n this.name = name;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = name;\n }\n }\n ReadVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadVarExpr(this, context);\n };\n ReadVarExpr.prototype.set = function (value) { return new WriteVarExpr(this.name, value); };\n return ReadVarExpr;\n }(Expression));\n var WriteVarExpr = (function (_super) {\n __extends$14(WriteVarExpr, _super);\n function WriteVarExpr(name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.name = name;\n this.value = value;\n }\n WriteVarExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteVarExpr(this, context);\n };\n WriteVarExpr.prototype.toDeclStmt = function (type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareVarStmt(this.name, this.value, type, modifiers);\n };\n return WriteVarExpr;\n }(Expression));\n var WriteKeyExpr = (function (_super) {\n __extends$14(WriteKeyExpr, _super);\n function WriteKeyExpr(receiver, index, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.index = index;\n this.value = value;\n }\n WriteKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWriteKeyExpr(this, context);\n };\n return WriteKeyExpr;\n }(Expression));\n var WritePropExpr = (function (_super) {\n __extends$14(WritePropExpr, _super);\n function WritePropExpr(receiver, name, value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || value.type);\n this.receiver = receiver;\n this.name = name;\n this.value = value;\n }\n WritePropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitWritePropExpr(this, context);\n };\n return WritePropExpr;\n }(Expression));\n var BuiltinMethod;\n (function (BuiltinMethod) {\n BuiltinMethod[BuiltinMethod[\"ConcatArray\"] = 0] = \"ConcatArray\";\n BuiltinMethod[BuiltinMethod[\"SubscribeObservable\"] = 1] = \"SubscribeObservable\";\n BuiltinMethod[BuiltinMethod[\"Bind\"] = 2] = \"Bind\";\n })(BuiltinMethod || (BuiltinMethod = {}));\n var InvokeMethodExpr = (function (_super) {\n __extends$14(InvokeMethodExpr, _super);\n function InvokeMethodExpr(receiver, method, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.args = args;\n if (typeof method === 'string') {\n this.name = method;\n this.builtin = null;\n }\n else {\n this.name = null;\n this.builtin = method;\n }\n }\n InvokeMethodExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeMethodExpr(this, context);\n };\n return InvokeMethodExpr;\n }(Expression));\n var InvokeFunctionExpr = (function (_super) {\n __extends$14(InvokeFunctionExpr, _super);\n function InvokeFunctionExpr(fn, args, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.fn = fn;\n this.args = args;\n }\n InvokeFunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInvokeFunctionExpr(this, context);\n };\n return InvokeFunctionExpr;\n }(Expression));\n var InstantiateExpr = (function (_super) {\n __extends$14(InstantiateExpr, _super);\n function InstantiateExpr(classExpr, args, type) {\n _super.call(this, type);\n this.classExpr = classExpr;\n this.args = args;\n }\n InstantiateExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitInstantiateExpr(this, context);\n };\n return InstantiateExpr;\n }(Expression));\n var LiteralExpr = (function (_super) {\n __extends$14(LiteralExpr, _super);\n function LiteralExpr(value, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.value = value;\n }\n LiteralExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralExpr(this, context);\n };\n return LiteralExpr;\n }(Expression));\n var ExternalExpr = (function (_super) {\n __extends$14(ExternalExpr, _super);\n function ExternalExpr(value, type, typeParams) {\n if (type === void 0) { type = null; }\n if (typeParams === void 0) { typeParams = null; }\n _super.call(this, type);\n this.value = value;\n this.typeParams = typeParams;\n }\n ExternalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitExternalExpr(this, context);\n };\n return ExternalExpr;\n }(Expression));\n var ConditionalExpr = (function (_super) {\n __extends$14(ConditionalExpr, _super);\n function ConditionalExpr(condition, trueCase, falseCase, type) {\n if (falseCase === void 0) { falseCase = null; }\n if (type === void 0) { type = null; }\n _super.call(this, type || trueCase.type);\n this.condition = condition;\n this.falseCase = falseCase;\n this.trueCase = trueCase;\n }\n ConditionalExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitConditionalExpr(this, context);\n };\n return ConditionalExpr;\n }(Expression));\n var NotExpr = (function (_super) {\n __extends$14(NotExpr, _super);\n function NotExpr(condition) {\n _super.call(this, BOOL_TYPE);\n this.condition = condition;\n }\n NotExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitNotExpr(this, context);\n };\n return NotExpr;\n }(Expression));\n var CastExpr = (function (_super) {\n __extends$14(CastExpr, _super);\n function CastExpr(value, type) {\n _super.call(this, type);\n this.value = value;\n }\n CastExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitCastExpr(this, context);\n };\n return CastExpr;\n }(Expression));\n var FnParam = (function () {\n function FnParam(name, type) {\n if (type === void 0) { type = null; }\n this.name = name;\n this.type = type;\n }\n return FnParam;\n }());\n var FunctionExpr = (function (_super) {\n __extends$14(FunctionExpr, _super);\n function FunctionExpr(params, statements, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.params = params;\n this.statements = statements;\n }\n FunctionExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitFunctionExpr(this, context);\n };\n FunctionExpr.prototype.toDeclStmt = function (name, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n return new DeclareFunctionStmt(name, this.params, this.statements, this.type, modifiers);\n };\n return FunctionExpr;\n }(Expression));\n var BinaryOperatorExpr = (function (_super) {\n __extends$14(BinaryOperatorExpr, _super);\n function BinaryOperatorExpr(operator, lhs, rhs, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type || lhs.type);\n this.operator = operator;\n this.rhs = rhs;\n this.lhs = lhs;\n }\n BinaryOperatorExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitBinaryOperatorExpr(this, context);\n };\n return BinaryOperatorExpr;\n }(Expression));\n var ReadPropExpr = (function (_super) {\n __extends$14(ReadPropExpr, _super);\n function ReadPropExpr(receiver, name, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.name = name;\n }\n ReadPropExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadPropExpr(this, context);\n };\n ReadPropExpr.prototype.set = function (value) {\n return new WritePropExpr(this.receiver, this.name, value);\n };\n return ReadPropExpr;\n }(Expression));\n var ReadKeyExpr = (function (_super) {\n __extends$14(ReadKeyExpr, _super);\n function ReadKeyExpr(receiver, index, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.receiver = receiver;\n this.index = index;\n }\n ReadKeyExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitReadKeyExpr(this, context);\n };\n ReadKeyExpr.prototype.set = function (value) {\n return new WriteKeyExpr(this.receiver, this.index, value);\n };\n return ReadKeyExpr;\n }(Expression));\n var LiteralArrayExpr = (function (_super) {\n __extends$14(LiteralArrayExpr, _super);\n function LiteralArrayExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n }\n LiteralArrayExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralArrayExpr(this, context);\n };\n return LiteralArrayExpr;\n }(Expression));\n var LiteralMapExpr = (function (_super) {\n __extends$14(LiteralMapExpr, _super);\n function LiteralMapExpr(entries, type) {\n if (type === void 0) { type = null; }\n _super.call(this, type);\n this.entries = entries;\n this.valueType = null;\n if (isPresent(type)) {\n this.valueType = type.valueType;\n }\n }\n LiteralMapExpr.prototype.visitExpression = function (visitor, context) {\n return visitor.visitLiteralMapExpr(this, context);\n };\n return LiteralMapExpr;\n }(Expression));\n var THIS_EXPR = new ReadVarExpr(BuiltinVar.This);\n var SUPER_EXPR = new ReadVarExpr(BuiltinVar.Super);\n var CATCH_ERROR_VAR = new ReadVarExpr(BuiltinVar.CatchError);\n var CATCH_STACK_VAR = new ReadVarExpr(BuiltinVar.CatchStack);\n var NULL_EXPR = new LiteralExpr(null, null);\n var TYPED_NULL_EXPR = new LiteralExpr(null, NULL_TYPE);\n //// Statements\n var StmtModifier;\n (function (StmtModifier) {\n StmtModifier[StmtModifier[\"Final\"] = 0] = \"Final\";\n StmtModifier[StmtModifier[\"Private\"] = 1] = \"Private\";\n })(StmtModifier || (StmtModifier = {}));\n var Statement = (function () {\n function Statement(modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n Statement.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return Statement;\n }());\n var DeclareVarStmt = (function (_super) {\n __extends$14(DeclareVarStmt, _super);\n function DeclareVarStmt(name, value, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.value = value;\n this.type = type || value.type;\n }\n DeclareVarStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareVarStmt(this, context);\n };\n return DeclareVarStmt;\n }(Statement));\n var DeclareFunctionStmt = (function (_super) {\n __extends$14(DeclareFunctionStmt, _super);\n function DeclareFunctionStmt(name, params, statements, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.params = params;\n this.statements = statements;\n this.type = type;\n }\n DeclareFunctionStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareFunctionStmt(this, context);\n };\n return DeclareFunctionStmt;\n }(Statement));\n var ExpressionStatement = (function (_super) {\n __extends$14(ExpressionStatement, _super);\n function ExpressionStatement(expr) {\n _super.call(this);\n this.expr = expr;\n }\n ExpressionStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitExpressionStmt(this, context);\n };\n return ExpressionStatement;\n }(Statement));\n var ReturnStatement = (function (_super) {\n __extends$14(ReturnStatement, _super);\n function ReturnStatement(value) {\n _super.call(this);\n this.value = value;\n }\n ReturnStatement.prototype.visitStatement = function (visitor, context) {\n return visitor.visitReturnStmt(this, context);\n };\n return ReturnStatement;\n }(Statement));\n var AbstractClassPart = (function () {\n function AbstractClassPart(type, modifiers) {\n if (type === void 0) { type = null; }\n this.type = type;\n this.modifiers = modifiers;\n if (!modifiers) {\n this.modifiers = [];\n }\n }\n AbstractClassPart.prototype.hasModifier = function (modifier) { return this.modifiers.indexOf(modifier) !== -1; };\n return AbstractClassPart;\n }());\n var ClassField = (function (_super) {\n __extends$14(ClassField, _super);\n function ClassField(name, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n }\n return ClassField;\n }(AbstractClassPart));\n var ClassMethod = (function (_super) {\n __extends$14(ClassMethod, _super);\n function ClassMethod(name, params, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.params = params;\n this.body = body;\n }\n return ClassMethod;\n }(AbstractClassPart));\n var ClassGetter = (function (_super) {\n __extends$14(ClassGetter, _super);\n function ClassGetter(name, body, type, modifiers) {\n if (type === void 0) { type = null; }\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, type, modifiers);\n this.name = name;\n this.body = body;\n }\n return ClassGetter;\n }(AbstractClassPart));\n var ClassStmt = (function (_super) {\n __extends$14(ClassStmt, _super);\n function ClassStmt(name, parent, fields, getters, constructorMethod, methods, modifiers) {\n if (modifiers === void 0) { modifiers = null; }\n _super.call(this, modifiers);\n this.name = name;\n this.parent = parent;\n this.fields = fields;\n this.getters = getters;\n this.constructorMethod = constructorMethod;\n this.methods = methods;\n }\n ClassStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitDeclareClassStmt(this, context);\n };\n return ClassStmt;\n }(Statement));\n var IfStmt = (function (_super) {\n __extends$14(IfStmt, _super);\n function IfStmt(condition, trueCase, falseCase) {\n if (falseCase === void 0) { falseCase = []; }\n _super.call(this);\n this.condition = condition;\n this.trueCase = trueCase;\n this.falseCase = falseCase;\n }\n IfStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitIfStmt(this, context);\n };\n return IfStmt;\n }(Statement));\n var CommentStmt = (function (_super) {\n __extends$14(CommentStmt, _super);\n function CommentStmt(comment) {\n _super.call(this);\n this.comment = comment;\n }\n CommentStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitCommentStmt(this, context);\n };\n return CommentStmt;\n }(Statement));\n var TryCatchStmt = (function (_super) {\n __extends$14(TryCatchStmt, _super);\n function TryCatchStmt(bodyStmts, catchStmts) {\n _super.call(this);\n this.bodyStmts = bodyStmts;\n this.catchStmts = catchStmts;\n }\n TryCatchStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitTryCatchStmt(this, context);\n };\n return TryCatchStmt;\n }(Statement));\n var ThrowStmt = (function (_super) {\n __extends$14(ThrowStmt, _super);\n function ThrowStmt(error) {\n _super.call(this);\n this.error = error;\n }\n ThrowStmt.prototype.visitStatement = function (visitor, context) {\n return visitor.visitThrowStmt(this, context);\n };\n return ThrowStmt;\n }(Statement));\n var ExpressionTransformer = (function () {\n function ExpressionTransformer() {\n }\n ExpressionTransformer.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitWriteVarExpr = function (expr, context) {\n return new WriteVarExpr(expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWriteKeyExpr = function (expr, context) {\n return new WriteKeyExpr(expr.receiver.visitExpression(this, context), expr.index.visitExpression(this, context), expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitWritePropExpr = function (expr, context) {\n return new WritePropExpr(expr.receiver.visitExpression(this, context), expr.name, expr.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitInvokeMethodExpr = function (ast, context) {\n var method = ast.builtin || ast.name;\n return new InvokeMethodExpr(ast.receiver.visitExpression(this, context), method, this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInvokeFunctionExpr = function (ast, context) {\n return new InvokeFunctionExpr(ast.fn.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitInstantiateExpr = function (ast, context) {\n return new InstantiateExpr(ast.classExpr.visitExpression(this, context), this.visitAllExpressions(ast.args, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitExternalExpr = function (ast, context) { return ast; };\n ExpressionTransformer.prototype.visitConditionalExpr = function (ast, context) {\n return new ConditionalExpr(ast.condition.visitExpression(this, context), ast.trueCase.visitExpression(this, context), ast.falseCase.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitNotExpr = function (ast, context) {\n return new NotExpr(ast.condition.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCastExpr = function (ast, context) {\n return new CastExpr(ast.value.visitExpression(this, context), context);\n };\n ExpressionTransformer.prototype.visitFunctionExpr = function (ast, context) {\n // Don't descend into nested functions\n return ast;\n };\n ExpressionTransformer.prototype.visitBinaryOperatorExpr = function (ast, context) {\n return new BinaryOperatorExpr(ast.operator, ast.lhs.visitExpression(this, context), ast.rhs.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitReadPropExpr = function (ast, context) {\n return new ReadPropExpr(ast.receiver.visitExpression(this, context), ast.name, ast.type);\n };\n ExpressionTransformer.prototype.visitReadKeyExpr = function (ast, context) {\n return new ReadKeyExpr(ast.receiver.visitExpression(this, context), ast.index.visitExpression(this, context), ast.type);\n };\n ExpressionTransformer.prototype.visitLiteralArrayExpr = function (ast, context) {\n return new LiteralArrayExpr(this.visitAllExpressions(ast.entries, context));\n };\n ExpressionTransformer.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n var entries = ast.entries.map(function (entry) { return [entry[0], entry[1].visitExpression(_this, context),]; });\n return new LiteralMapExpr(entries);\n };\n ExpressionTransformer.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n return exprs.map(function (expr) { return expr.visitExpression(_this, context); });\n };\n ExpressionTransformer.prototype.visitDeclareVarStmt = function (stmt, context) {\n return new DeclareVarStmt(stmt.name, stmt.value.visitExpression(this, context), stmt.type, stmt.modifiers);\n };\n ExpressionTransformer.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitExpressionStmt = function (stmt, context) {\n return new ExpressionStatement(stmt.expr.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitReturnStmt = function (stmt, context) {\n return new ReturnStatement(stmt.value.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n ExpressionTransformer.prototype.visitIfStmt = function (stmt, context) {\n return new IfStmt(stmt.condition.visitExpression(this, context), this.visitAllStatements(stmt.trueCase, context), this.visitAllStatements(stmt.falseCase, context));\n };\n ExpressionTransformer.prototype.visitTryCatchStmt = function (stmt, context) {\n return new TryCatchStmt(this.visitAllStatements(stmt.bodyStmts, context), this.visitAllStatements(stmt.catchStmts, context));\n };\n ExpressionTransformer.prototype.visitThrowStmt = function (stmt, context) {\n return new ThrowStmt(stmt.error.visitExpression(this, context));\n };\n ExpressionTransformer.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n ExpressionTransformer.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n return stmts.map(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return ExpressionTransformer;\n }());\n var RecursiveExpressionVisitor = (function () {\n function RecursiveExpressionVisitor() {\n }\n RecursiveExpressionVisitor.prototype.visitReadVarExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitWriteVarExpr = function (expr, context) {\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWriteKeyExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.index.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitWritePropExpr = function (expr, context) {\n expr.receiver.visitExpression(this, context);\n expr.value.visitExpression(this, context);\n return expr;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeMethodExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInvokeFunctionExpr = function (ast, context) {\n ast.fn.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitInstantiateExpr = function (ast, context) {\n ast.classExpr.visitExpression(this, context);\n this.visitAllExpressions(ast.args, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitExternalExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitConditionalExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n ast.trueCase.visitExpression(this, context);\n ast.falseCase.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitNotExpr = function (ast, context) {\n ast.condition.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitCastExpr = function (ast, context) {\n ast.value.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitFunctionExpr = function (ast, context) { return ast; };\n RecursiveExpressionVisitor.prototype.visitBinaryOperatorExpr = function (ast, context) {\n ast.lhs.visitExpression(this, context);\n ast.rhs.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadPropExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitReadKeyExpr = function (ast, context) {\n ast.receiver.visitExpression(this, context);\n ast.index.visitExpression(this, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralArrayExpr = function (ast, context) {\n this.visitAllExpressions(ast.entries, context);\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitLiteralMapExpr = function (ast, context) {\n var _this = this;\n ast.entries.forEach(function (entry) { return entry[1].visitExpression(_this, context); });\n return ast;\n };\n RecursiveExpressionVisitor.prototype.visitAllExpressions = function (exprs, context) {\n var _this = this;\n exprs.forEach(function (expr) { return expr.visitExpression(_this, context); });\n };\n RecursiveExpressionVisitor.prototype.visitDeclareVarStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareFunctionStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitExpressionStmt = function (stmt, context) {\n stmt.expr.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitReturnStmt = function (stmt, context) {\n stmt.value.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitDeclareClassStmt = function (stmt, context) {\n // Don't descend into nested functions\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitIfStmt = function (stmt, context) {\n stmt.condition.visitExpression(this, context);\n this.visitAllStatements(stmt.trueCase, context);\n this.visitAllStatements(stmt.falseCase, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitTryCatchStmt = function (stmt, context) {\n this.visitAllStatements(stmt.bodyStmts, context);\n this.visitAllStatements(stmt.catchStmts, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitThrowStmt = function (stmt, context) {\n stmt.error.visitExpression(this, context);\n return stmt;\n };\n RecursiveExpressionVisitor.prototype.visitCommentStmt = function (stmt, context) { return stmt; };\n RecursiveExpressionVisitor.prototype.visitAllStatements = function (stmts, context) {\n var _this = this;\n stmts.forEach(function (stmt) { return stmt.visitStatement(_this, context); });\n };\n return RecursiveExpressionVisitor;\n }());\n function replaceVarInExpression(varName, newValue, expression) {\n var transformer = new _ReplaceVariableTransformer(varName, newValue);\n return expression.visitExpression(transformer, null);\n }\n var _ReplaceVariableTransformer = (function (_super) {\n __extends$14(_ReplaceVariableTransformer, _super);\n function _ReplaceVariableTransformer(_varName, _newValue) {\n _super.call(this);\n this._varName = _varName;\n this._newValue = _newValue;\n }\n _ReplaceVariableTransformer.prototype.visitReadVarExpr = function (ast, context) {\n return ast.name == this._varName ? this._newValue : ast;\n };\n return _ReplaceVariableTransformer;\n }(ExpressionTransformer));\n function findReadVarNames(stmts) {\n var finder = new _VariableFinder();\n finder.visitAllStatements(stmts, null);\n return finder.varNames;\n }\n var _VariableFinder = (function (_super) {\n __extends$14(_VariableFinder, _super);\n function _VariableFinder() {\n _super.apply(this, arguments);\n this.varNames = new Set();\n }\n _VariableFinder.prototype.visitReadVarExpr = function (ast, context) {\n this.varNames.add(ast.name);\n return null;\n };\n return _VariableFinder;\n }(RecursiveExpressionVisitor));\n function variable(name, type) {\n if (type === void 0) { type = null; }\n return new ReadVarExpr(name, type);\n }\n function importExpr(id, typeParams) {\n if (typeParams === void 0) { typeParams = null; }\n return new ExternalExpr(id, null, typeParams);\n }\n function importType(id, typeParams, typeModifiers) {\n if (typeParams === void 0) { typeParams = null; }\n if (typeModifiers === void 0) { typeModifiers = null; }\n return isPresent(id) ? new ExternalType(id, typeParams, typeModifiers) : null;\n }\n function literalArr(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralArrayExpr(values, type);\n }\n function literalMap(values, type) {\n if (type === void 0) { type = null; }\n return new LiteralMapExpr(values, type);\n }\n function not(expr) {\n return new NotExpr(expr);\n }\n function fn(params, body, type) {\n if (type === void 0) { type = null; }\n return new FunctionExpr(params, body, type);\n }\n function literal(value, type) {\n if (type === void 0) { type = null; }\n return new LiteralExpr(value, type);\n }\n\n var CheckBindingField = (function () {\n function CheckBindingField(expression, bindingId) {\n this.expression = expression;\n this.bindingId = bindingId;\n }\n return CheckBindingField;\n }());\n function createCheckBindingField(builder) {\n var bindingId = \"\" + builder.fields.length;\n var fieldExpr = createBindFieldExpr(bindingId);\n // private is fine here as no child view will reference the cached value...\n builder.fields.push(new ClassField(fieldExpr.name, null, [StmtModifier.Private]));\n builder.ctorStmts.push(THIS_EXPR.prop(fieldExpr.name)\n .set(importExpr(resolveIdentifier(Identifiers.UNINITIALIZED)))\n .toStmt());\n return new CheckBindingField(fieldExpr, bindingId);\n }\n function createCheckBindingStmt(evalResult, fieldExpr, throwOnChangeVar, actions) {\n var condition = importExpr(resolveIdentifier(Identifiers.checkBinding)).callFn([\n throwOnChangeVar, fieldExpr, evalResult.currValExpr\n ]);\n if (evalResult.forceUpdate) {\n condition = evalResult.forceUpdate.or(condition);\n }\n return evalResult.stmts.concat([\n new IfStmt(condition, actions.concat([\n THIS_EXPR.prop(fieldExpr.name).set(evalResult.currValExpr).toStmt()\n ]))\n ]);\n }\n function createBindFieldExpr(bindingId) {\n return THIS_EXPR.prop(\"_expr_\" + bindingId);\n }\n\n function createDiTokenExpression(token) {\n if (isPresent(token.value)) {\n return literal(token.value);\n }\n else if (token.identifierIsInstance) {\n return importExpr(token.identifier)\n .instantiate([], importType(token.identifier, [], [TypeModifier.Const]));\n }\n else {\n return importExpr(token.identifier);\n }\n }\n function createInlineArray(values) {\n if (values.length === 0) {\n return importExpr(resolveIdentifier(Identifiers.EMPTY_INLINE_ARRAY));\n }\n var log2 = Math.log(values.length) / Math.log(2);\n var index = Math.ceil(log2);\n var identifierSpec = index < Identifiers.inlineArrays.length ? Identifiers.inlineArrays[index] :\n Identifiers.InlineArrayDynamic;\n var identifier = resolveIdentifier(identifierSpec);\n return importExpr(identifier).instantiate([\n literal(values.length)\n ].concat(values));\n }\n function createPureProxy(fn, argCount, pureProxyProp, builder) {\n builder.fields.push(new ClassField(pureProxyProp.name, null));\n var pureProxyId = argCount < Identifiers.pureProxies.length ? Identifiers.pureProxies[argCount] : null;\n if (!pureProxyId) {\n throw new Error(\"Unsupported number of argument for pure functions: \" + argCount);\n }\n builder.ctorStmts.push(THIS_EXPR.prop(pureProxyProp.name)\n .set(importExpr(resolveIdentifier(pureProxyId)).callFn([fn]))\n .toStmt());\n }\n function createEnumExpression(enumType, enumValue) {\n var enumName = Object.keys(enumType.runtime).find(function (propName) { return enumType.runtime[propName] === enumValue; });\n if (!enumName) {\n throw new Error(\"Unknown enum value \" + enumValue + \" in \" + enumType.name);\n }\n return importExpr(resolveEnumIdentifier(resolveIdentifier(enumType), enumName));\n }\n\n var VAL_UNWRAPPER_VAR = variable(\"valUnwrapper\");\n var EventHandlerVars = (function () {\n function EventHandlerVars() {\n }\n EventHandlerVars.event = variable('$event');\n return EventHandlerVars;\n }());\n var ConvertPropertyBindingResult = (function () {\n function ConvertPropertyBindingResult(stmts, currValExpr, forceUpdate) {\n this.stmts = stmts;\n this.currValExpr = currValExpr;\n this.forceUpdate = forceUpdate;\n }\n return ConvertPropertyBindingResult;\n }());\n /**\n * Converts the given expression AST into an executable output AST, assuming the expression is\n * used in a property binding.\n */\n function convertPropertyBinding(builder, nameResolver, implicitReceiver, expression, bindingId) {\n var currValExpr = createCurrValueExpr(bindingId);\n var stmts = [];\n if (!nameResolver) {\n nameResolver = new DefaultNameResolver();\n }\n var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, VAL_UNWRAPPER_VAR, bindingId, false);\n var outputExpr = expression.visit(visitor, _Mode.Expression);\n if (!outputExpr) {\n // e.g. an empty expression was given\n return null;\n }\n if (visitor.temporaryCount) {\n for (var i = 0; i < visitor.temporaryCount; i++) {\n stmts.push(temporaryDeclaration(bindingId, i));\n }\n }\n if (visitor.needsValueUnwrapper) {\n var initValueUnwrapperStmt = VAL_UNWRAPPER_VAR.callMethod('reset', []).toStmt();\n stmts.push(initValueUnwrapperStmt);\n }\n stmts.push(currValExpr.set(outputExpr).toDeclStmt(null, [StmtModifier.Final]));\n if (visitor.needsValueUnwrapper) {\n return new ConvertPropertyBindingResult(stmts, currValExpr, VAL_UNWRAPPER_VAR.prop('hasWrappedValue'));\n }\n else {\n return new ConvertPropertyBindingResult(stmts, currValExpr, null);\n }\n }\n var ConvertActionBindingResult = (function () {\n function ConvertActionBindingResult(stmts, preventDefault) {\n this.stmts = stmts;\n this.preventDefault = preventDefault;\n }\n return ConvertActionBindingResult;\n }());\n /**\n * Converts the given expression AST into an executable output AST, assuming the expression is\n * used in an action binding (e.g. an event handler).\n */\n function convertActionBinding(builder, nameResolver, implicitReceiver, action, bindingId) {\n if (!nameResolver) {\n nameResolver = new DefaultNameResolver();\n }\n var visitor = new _AstToIrVisitor(builder, nameResolver, implicitReceiver, null, bindingId, true);\n var actionStmts = [];\n flattenStatements(action.visit(visitor, _Mode.Statement), actionStmts);\n prependTemporaryDecls(visitor.temporaryCount, bindingId, actionStmts);\n var lastIndex = actionStmts.length - 1;\n var preventDefaultVar = null;\n if (lastIndex >= 0) {\n var lastStatement = actionStmts[lastIndex];\n var returnExpr = convertStmtIntoExpression(lastStatement);\n if (returnExpr) {\n // Note: We need to cast the result of the method call to dynamic,\n // as it might be a void method!\n preventDefaultVar = createPreventDefaultVar(bindingId);\n actionStmts[lastIndex] =\n preventDefaultVar.set(returnExpr.cast(DYNAMIC_TYPE).notIdentical(literal(false)))\n .toDeclStmt(null, [StmtModifier.Final]);\n }\n }\n return new ConvertActionBindingResult(actionStmts, preventDefaultVar);\n }\n /**\n * Creates variables that are shared by multiple calls to `convertActionBinding` /\n * `convertPropertyBinding`\n */\n function createSharedBindingVariablesIfNeeded(stmts) {\n var unwrapperStmts = [];\n var readVars = findReadVarNames(stmts);\n if (readVars.has(VAL_UNWRAPPER_VAR.name)) {\n unwrapperStmts.push(VAL_UNWRAPPER_VAR\n .set(importExpr(resolveIdentifier(Identifiers.ValueUnwrapper)).instantiate([]))\n .toDeclStmt(null, [StmtModifier.Final]));\n }\n return unwrapperStmts;\n }\n function temporaryName(bindingId, temporaryNumber) {\n return \"tmp_\" + bindingId + \"_\" + temporaryNumber;\n }\n function temporaryDeclaration(bindingId, temporaryNumber) {\n return new DeclareVarStmt(temporaryName(bindingId, temporaryNumber), NULL_EXPR);\n }\n function prependTemporaryDecls(temporaryCount, bindingId, statements) {\n for (var i = temporaryCount - 1; i >= 0; i--) {\n statements.unshift(temporaryDeclaration(bindingId, i));\n }\n }\n var _Mode;\n (function (_Mode) {\n _Mode[_Mode[\"Statement\"] = 0] = \"Statement\";\n _Mode[_Mode[\"Expression\"] = 1] = \"Expression\";\n })(_Mode || (_Mode = {}));\n function ensureStatementMode(mode, ast) {\n if (mode !== _Mode.Statement) {\n throw new Error(\"Expected a statement, but saw \" + ast);\n }\n }\n function ensureExpressionMode(mode, ast) {\n if (mode !== _Mode.Expression) {\n throw new Error(\"Expected an expression, but saw \" + ast);\n }\n }\n function convertToStatementIfNeeded(mode, expr) {\n if (mode === _Mode.Statement) {\n return expr.toStmt();\n }\n else {\n return expr;\n }\n }\n var _AstToIrVisitor = (function () {\n function _AstToIrVisitor(_builder, _nameResolver, _implicitReceiver, _valueUnwrapper, bindingId, isAction) {\n this._builder = _builder;\n this._nameResolver = _nameResolver;\n this._implicitReceiver = _implicitReceiver;\n this._valueUnwrapper = _valueUnwrapper;\n this.bindingId = bindingId;\n this.isAction = isAction;\n this._nodeMap = new Map();\n this._resultMap = new Map();\n this._currentTemporary = 0;\n this.needsValueUnwrapper = false;\n this.temporaryCount = 0;\n }\n _AstToIrVisitor.prototype.visitBinary = function (ast, mode) {\n var op;\n switch (ast.operation) {\n case '+':\n op = BinaryOperator.Plus;\n break;\n case '-':\n op = BinaryOperator.Minus;\n break;\n case '*':\n op = BinaryOperator.Multiply;\n break;\n case '/':\n op = BinaryOperator.Divide;\n break;\n case '%':\n op = BinaryOperator.Modulo;\n break;\n case '&&':\n op = BinaryOperator.And;\n break;\n case '||':\n op = BinaryOperator.Or;\n break;\n case '==':\n op = BinaryOperator.Equals;\n break;\n case '!=':\n op = BinaryOperator.NotEquals;\n break;\n case '===':\n op = BinaryOperator.Identical;\n break;\n case '!==':\n op = BinaryOperator.NotIdentical;\n break;\n case '<':\n op = BinaryOperator.Lower;\n break;\n case '>':\n op = BinaryOperator.Bigger;\n break;\n case '<=':\n op = BinaryOperator.LowerEquals;\n break;\n case '>=':\n op = BinaryOperator.BiggerEquals;\n break;\n default:\n throw new Error(\"Unsupported operation \" + ast.operation);\n }\n return convertToStatementIfNeeded(mode, new BinaryOperatorExpr(op, this.visit(ast.left, _Mode.Expression), this.visit(ast.right, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitChain = function (ast, mode) {\n ensureStatementMode(mode, ast);\n return this.visitAll(ast.expressions, mode);\n };\n _AstToIrVisitor.prototype.visitConditional = function (ast, mode) {\n var value = this.visit(ast.condition, _Mode.Expression);\n return convertToStatementIfNeeded(mode, value.conditional(this.visit(ast.trueExp, _Mode.Expression), this.visit(ast.falseExp, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPipe = function (ast, mode) {\n var input = this.visit(ast.exp, _Mode.Expression);\n var args = this.visitAll(ast.args, _Mode.Expression);\n var value = this._nameResolver.callPipe(ast.name, input, args);\n if (!value) {\n throw new Error(\"Illegal state: Pipe \" + ast.name + \" is not allowed here!\");\n }\n this.needsValueUnwrapper = true;\n return convertToStatementIfNeeded(mode, this._valueUnwrapper.callMethod('unwrap', [value]));\n };\n _AstToIrVisitor.prototype.visitFunctionCall = function (ast, mode) {\n return convertToStatementIfNeeded(mode, this.visit(ast.target, _Mode.Expression).callFn(this.visitAll(ast.args, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitImplicitReceiver = function (ast, mode) {\n ensureExpressionMode(mode, ast);\n return this._implicitReceiver;\n };\n _AstToIrVisitor.prototype.visitInterpolation = function (ast, mode) {\n ensureExpressionMode(mode, ast);\n var args = [literal(ast.expressions.length)];\n for (var i = 0; i < ast.strings.length - 1; i++) {\n args.push(literal(ast.strings[i]));\n args.push(this.visit(ast.expressions[i], _Mode.Expression));\n }\n args.push(literal(ast.strings[ast.strings.length - 1]));\n return ast.expressions.length <= 9 ?\n importExpr(resolveIdentifier(Identifiers.inlineInterpolate)).callFn(args) :\n importExpr(resolveIdentifier(Identifiers.interpolate)).callFn([\n args[0], literalArr(args.slice(1))\n ]);\n };\n _AstToIrVisitor.prototype.visitKeyedRead = function (ast, mode) {\n return convertToStatementIfNeeded(mode, this.visit(ast.obj, _Mode.Expression).key(this.visit(ast.key, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitKeyedWrite = function (ast, mode) {\n var obj = this.visit(ast.obj, _Mode.Expression);\n var key = this.visit(ast.key, _Mode.Expression);\n var value = this.visit(ast.value, _Mode.Expression);\n return convertToStatementIfNeeded(mode, obj.key(key).set(value));\n };\n _AstToIrVisitor.prototype.visitLiteralArray = function (ast, mode) {\n var parts = this.visitAll(ast.expressions, mode);\n var literalArr$$ = this.isAction ? literalArr(parts) : createCachedLiteralArray(this._builder, parts);\n return convertToStatementIfNeeded(mode, literalArr$$);\n };\n _AstToIrVisitor.prototype.visitLiteralMap = function (ast, mode) {\n var parts = [];\n for (var i = 0; i < ast.keys.length; i++) {\n parts.push([ast.keys[i], this.visit(ast.values[i], _Mode.Expression)]);\n }\n var literalMap$$ = this.isAction ? literalMap(parts) : createCachedLiteralMap(this._builder, parts);\n return convertToStatementIfNeeded(mode, literalMap$$);\n };\n _AstToIrVisitor.prototype.visitLiteralPrimitive = function (ast, mode) {\n return convertToStatementIfNeeded(mode, literal(ast.value));\n };\n _AstToIrVisitor.prototype._getLocal = function (name) {\n if (this.isAction && name == EventHandlerVars.event.name) {\n return EventHandlerVars.event;\n }\n return this._nameResolver.getLocal(name);\n };\n _AstToIrVisitor.prototype.visitMethodCall = function (ast, mode) {\n var leftMostSafe = this.leftMostSafeNode(ast);\n if (leftMostSafe) {\n return this.convertSafeAccess(ast, leftMostSafe, mode);\n }\n else {\n var args = this.visitAll(ast.args, _Mode.Expression);\n var result = null;\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n var varExpr = this._getLocal(ast.name);\n if (isPresent(varExpr)) {\n result = varExpr.callFn(args);\n }\n }\n if (isBlank(result)) {\n result = receiver.callMethod(ast.name, args);\n }\n return convertToStatementIfNeeded(mode, result);\n }\n };\n _AstToIrVisitor.prototype.visitPrefixNot = function (ast, mode) {\n return convertToStatementIfNeeded(mode, not(this.visit(ast.expression, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitPropertyRead = function (ast, mode) {\n var leftMostSafe = this.leftMostSafeNode(ast);\n if (leftMostSafe) {\n return this.convertSafeAccess(ast, leftMostSafe, mode);\n }\n else {\n var result = null;\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n result = this._getLocal(ast.name);\n }\n if (isBlank(result)) {\n result = receiver.prop(ast.name);\n }\n return convertToStatementIfNeeded(mode, result);\n }\n };\n _AstToIrVisitor.prototype.visitPropertyWrite = function (ast, mode) {\n var receiver = this.visit(ast.receiver, _Mode.Expression);\n if (receiver === this._implicitReceiver) {\n var varExpr = this._getLocal(ast.name);\n if (isPresent(varExpr)) {\n throw new Error('Cannot assign to a reference or variable!');\n }\n }\n return convertToStatementIfNeeded(mode, receiver.prop(ast.name).set(this.visit(ast.value, _Mode.Expression)));\n };\n _AstToIrVisitor.prototype.visitSafePropertyRead = function (ast, mode) {\n return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n };\n _AstToIrVisitor.prototype.visitSafeMethodCall = function (ast, mode) {\n return this.convertSafeAccess(ast, this.leftMostSafeNode(ast), mode);\n };\n _AstToIrVisitor.prototype.visitAll = function (asts, mode) {\n var _this = this;\n return asts.map(function (ast) { return _this.visit(ast, mode); });\n };\n _AstToIrVisitor.prototype.visitQuote = function (ast, mode) {\n throw new Error('Quotes are not supported for evaluation!');\n };\n _AstToIrVisitor.prototype.visit = function (ast, mode) {\n var result = this._resultMap.get(ast);\n if (result)\n return result;\n return (this._nodeMap.get(ast) || ast).visit(this, mode);\n };\n _AstToIrVisitor.prototype.convertSafeAccess = function (ast, leftMostSafe, mode) {\n // If the expression contains a safe access node on the left it needs to be converted to\n // an expression that guards the access to the member by checking the receiver for blank. As\n // execution proceeds from left to right, the left most part of the expression must be guarded\n // first but, because member access is left associative, the right side of the expression is at\n // the top of the AST. The desired result requires lifting a copy of the the left part of the\n // expression up to test it for blank before generating the unguarded version.\n // Consider, for example the following expression: a?.b.c?.d.e\n // This results in the ast:\n // .\n // / \\\n // ?. e\n // / \\\n // . d\n // / \\\n // ?. c\n // / \\\n // a b\n // The following tree should be generated:\n //\n // /---- ? ----\\\n // / | \\\n // a /--- ? ---\\ null\n // / | \\\n // . . null\n // / \\ / \\\n // . c . e\n // / \\ / \\\n // a b , d\n // / \\\n // . c\n // / \\\n // a b\n //\n // Notice that the first guard condition is the left hand of the left most safe access node\n // which comes in as leftMostSafe to this routine.\n var guardedExpression = this.visit(leftMostSafe.receiver, _Mode.Expression);\n var temporary;\n if (this.needsTemporary(leftMostSafe.receiver)) {\n // If the expression has method calls or pipes then we need to save the result into a\n // temporary variable to avoid calling stateful or impure code more than once.\n temporary = this.allocateTemporary();\n // Preserve the result in the temporary variable\n guardedExpression = temporary.set(guardedExpression);\n // Ensure all further references to the guarded expression refer to the temporary instead.\n this._resultMap.set(leftMostSafe.receiver, temporary);\n }\n var condition = guardedExpression.isBlank();\n // Convert the ast to an unguarded access to the receiver's member. The map will substitute\n // leftMostNode with its unguarded version in the call to `this.visit()`.\n if (leftMostSafe instanceof SafeMethodCall) {\n this._nodeMap.set(leftMostSafe, new MethodCall(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name, leftMostSafe.args));\n }\n else {\n this._nodeMap.set(leftMostSafe, new PropertyRead(leftMostSafe.span, leftMostSafe.receiver, leftMostSafe.name));\n }\n // Recursively convert the node now without the guarded member access.\n var access = this.visit(ast, _Mode.Expression);\n // Remove the mapping. This is not strictly required as the converter only traverses each node\n // once but is safer if the conversion is changed to traverse the nodes more than once.\n this._nodeMap.delete(leftMostSafe);\n // If we allcoated a temporary, release it.\n if (temporary) {\n this.releaseTemporary(temporary);\n }\n // Produce the conditional\n return convertToStatementIfNeeded(mode, condition.conditional(literal(null), access));\n };\n // Given a expression of the form a?.b.c?.d.e the the left most safe node is\n // the (a?.b). The . and ?. are left associative thus can be rewritten as:\n // ((((a?.c).b).c)?.d).e. This returns the most deeply nested safe read or\n // safe method call as this needs be transform initially to:\n // a == null ? null : a.c.b.c?.d.e\n // then to:\n // a == null ? null : a.b.c == null ? null : a.b.c.d.e\n _AstToIrVisitor.prototype.leftMostSafeNode = function (ast) {\n var _this = this;\n var visit = function (visitor, ast) {\n return (_this._nodeMap.get(ast) || ast).visit(visitor);\n };\n return ast.visit({\n visitBinary: function (ast) { return null; },\n visitChain: function (ast) { return null; },\n visitConditional: function (ast) { return null; },\n visitFunctionCall: function (ast) { return null; },\n visitImplicitReceiver: function (ast) { return null; },\n visitInterpolation: function (ast) { return null; },\n visitKeyedRead: function (ast) { return visit(this, ast.obj); },\n visitKeyedWrite: function (ast) { return null; },\n visitLiteralArray: function (ast) { return null; },\n visitLiteralMap: function (ast) { return null; },\n visitLiteralPrimitive: function (ast) { return null; },\n visitMethodCall: function (ast) { return visit(this, ast.receiver); },\n visitPipe: function (ast) { return null; },\n visitPrefixNot: function (ast) { return null; },\n visitPropertyRead: function (ast) { return visit(this, ast.receiver); },\n visitPropertyWrite: function (ast) { return null; },\n visitQuote: function (ast) { return null; },\n visitSafeMethodCall: function (ast) { return visit(this, ast.receiver) || ast; },\n visitSafePropertyRead: function (ast) {\n return visit(this, ast.receiver) || ast;\n }\n });\n };\n // Returns true of the AST includes a method or a pipe indicating that, if the\n // expression is used as the target of a safe property or method access then\n // the expression should be stored into a temporary variable.\n _AstToIrVisitor.prototype.needsTemporary = function (ast) {\n var _this = this;\n var visit = function (visitor, ast) {\n return ast && (_this._nodeMap.get(ast) || ast).visit(visitor);\n };\n var visitSome = function (visitor, ast) {\n return ast.some(function (ast) { return visit(visitor, ast); });\n };\n return ast.visit({\n visitBinary: function (ast) { return visit(this, ast.left) || visit(this, ast.right); },\n visitChain: function (ast) { return false; },\n visitConditional: function (ast) {\n return visit(this, ast.condition) || visit(this, ast.trueExp) ||\n visit(this, ast.falseExp);\n },\n visitFunctionCall: function (ast) { return true; },\n visitImplicitReceiver: function (ast) { return false; },\n visitInterpolation: function (ast) { return visitSome(this, ast.expressions); },\n visitKeyedRead: function (ast) { return false; },\n visitKeyedWrite: function (ast) { return false; },\n visitLiteralArray: function (ast) { return true; },\n visitLiteralMap: function (ast) { return true; },\n visitLiteralPrimitive: function (ast) { return false; },\n visitMethodCall: function (ast) { return true; },\n visitPipe: function (ast) { return true; },\n visitPrefixNot: function (ast) { return visit(this, ast.expression); },\n visitPropertyRead: function (ast) { return false; },\n visitPropertyWrite: function (ast) { return false; },\n visitQuote: function (ast) { return false; },\n visitSafeMethodCall: function (ast) { return true; },\n visitSafePropertyRead: function (ast) { return false; }\n });\n };\n _AstToIrVisitor.prototype.allocateTemporary = function () {\n var tempNumber = this._currentTemporary++;\n this.temporaryCount = Math.max(this._currentTemporary, this.temporaryCount);\n return new ReadVarExpr(temporaryName(this.bindingId, tempNumber));\n };\n _AstToIrVisitor.prototype.releaseTemporary = function (temporary) {\n this._currentTemporary--;\n if (temporary.name != temporaryName(this.bindingId, this._currentTemporary)) {\n throw new Error(\"Temporary \" + temporary.name + \" released out of order\");\n }\n };\n return _AstToIrVisitor;\n }());\n function flattenStatements(arg, output) {\n if (Array.isArray(arg)) {\n arg.forEach(function (entry) { return flattenStatements(entry, output); });\n }\n else {\n output.push(arg);\n }\n }\n function createCachedLiteralArray(builder, values) {\n if (values.length === 0) {\n return importExpr(resolveIdentifier(Identifiers.EMPTY_ARRAY));\n }\n var proxyExpr = THIS_EXPR.prop(\"_arr_\" + builder.fields.length);\n var proxyParams = [];\n var proxyReturnEntries = [];\n for (var i = 0; i < values.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new FnParam(paramName));\n proxyReturnEntries.push(variable(paramName));\n }\n createPureProxy(fn(proxyParams, [new ReturnStatement(literalArr(proxyReturnEntries))], new ArrayType(DYNAMIC_TYPE)), values.length, proxyExpr, builder);\n return proxyExpr.callFn(values);\n }\n function createCachedLiteralMap(builder, entries) {\n if (entries.length === 0) {\n return importExpr(resolveIdentifier(Identifiers.EMPTY_MAP));\n }\n var proxyExpr = THIS_EXPR.prop(\"_map_\" + builder.fields.length);\n var proxyParams = [];\n var proxyReturnEntries = [];\n var values = [];\n for (var i = 0; i < entries.length; i++) {\n var paramName = \"p\" + i;\n proxyParams.push(new FnParam(paramName));\n proxyReturnEntries.push([entries[i][0], variable(paramName)]);\n values.push(entries[i][1]);\n }\n createPureProxy(fn(proxyParams, [new ReturnStatement(literalMap(proxyReturnEntries))], new MapType(DYNAMIC_TYPE)), entries.length, proxyExpr, builder);\n return proxyExpr.callFn(values);\n }\n var DefaultNameResolver = (function () {\n function DefaultNameResolver() {\n }\n DefaultNameResolver.prototype.callPipe = function (name, input, args) { return null; };\n DefaultNameResolver.prototype.getLocal = function (name) { return null; };\n return DefaultNameResolver;\n }());\n function createCurrValueExpr(bindingId) {\n return variable(\"currVal_\" + bindingId); // fix syntax highlighting: `\n }\n function createPreventDefaultVar(bindingId) {\n return variable(\"pd_\" + bindingId);\n }\n function convertStmtIntoExpression(stmt) {\n if (stmt instanceof ExpressionStatement) {\n return stmt.expr;\n }\n else if (stmt instanceof ReturnStatement) {\n return stmt.value;\n }\n return null;\n }\n\n function writeToRenderer(view, boundProp, renderElement, renderValue, logBindingUpdate, securityContextExpression) {\n var updateStmts = [];\n var renderer = view.prop('renderer');\n renderValue = sanitizedValue(view, boundProp, renderValue, securityContextExpression);\n switch (boundProp.type) {\n case exports.PropertyBindingType.Property:\n if (logBindingUpdate) {\n updateStmts.push(importExpr(resolveIdentifier(Identifiers.setBindingDebugInfo))\n .callFn([renderer, renderElement, literal(boundProp.name), renderValue])\n .toStmt());\n }\n updateStmts.push(renderer\n .callMethod('setElementProperty', [renderElement, literal(boundProp.name), renderValue])\n .toStmt());\n break;\n case exports.PropertyBindingType.Attribute:\n renderValue =\n renderValue.isBlank().conditional(NULL_EXPR, renderValue.callMethod('toString', []));\n updateStmts.push(renderer\n .callMethod('setElementAttribute', [renderElement, literal(boundProp.name), renderValue])\n .toStmt());\n break;\n case exports.PropertyBindingType.Class:\n updateStmts.push(renderer\n .callMethod('setElementClass', [renderElement, literal(boundProp.name), renderValue])\n .toStmt());\n break;\n case exports.PropertyBindingType.Style:\n var strValue = renderValue.callMethod('toString', []);\n if (isPresent(boundProp.unit)) {\n strValue = strValue.plus(literal(boundProp.unit));\n }\n renderValue = renderValue.isBlank().conditional(NULL_EXPR, strValue);\n updateStmts.push(renderer\n .callMethod('setElementStyle', [renderElement, literal(boundProp.name), renderValue])\n .toStmt());\n break;\n case exports.PropertyBindingType.Animation:\n throw new Error('Illegal state: Should not come here!');\n }\n return updateStmts;\n }\n function sanitizedValue(view, boundProp, renderValue, securityContextExpression) {\n if (boundProp.securityContext === _angular_core.SecurityContext.NONE) {\n return renderValue; // No sanitization needed.\n }\n if (!boundProp.needsRuntimeSecurityContext) {\n securityContextExpression =\n createEnumExpression(Identifiers.SecurityContext, boundProp.securityContext);\n }\n if (!securityContextExpression) {\n throw new Error(\"internal error, no SecurityContext given \" + boundProp.name);\n }\n var ctx = view.prop('viewUtils').prop('sanitizer');\n var args = [securityContextExpression, renderValue];\n return ctx.callMethod('sanitize', args);\n }\n function triggerAnimation(view, componentView, boundProp, eventListener, renderElement, renderValue, lastRenderValue) {\n var detachStmts = [];\n var updateStmts = [];\n var animationName = boundProp.name;\n var animationFnExpr = componentView.prop('componentType').prop('animations').key(literal(animationName));\n // it's important to normalize the void value as `void` explicitly\n // so that the styles data can be obtained from the stringmap\n var emptyStateValue = literal(EMPTY_STATE);\n var unitializedValue = importExpr(resolveIdentifier(Identifiers.UNINITIALIZED));\n var animationTransitionVar = variable('animationTransition_' + animationName);\n updateStmts.push(animationTransitionVar\n .set(animationFnExpr.callFn([\n view, renderElement,\n lastRenderValue.equals(unitializedValue).conditional(emptyStateValue, lastRenderValue),\n renderValue.equals(unitializedValue).conditional(emptyStateValue, renderValue)\n ]))\n .toDeclStmt());\n detachStmts.push(animationTransitionVar\n .set(animationFnExpr.callFn([view, renderElement, lastRenderValue, emptyStateValue]))\n .toDeclStmt());\n var registerStmts = [\n animationTransitionVar\n .callMethod('onStart', [eventListener.callMethod(BuiltinMethod.Bind, [view, literal(BoundEventAst.calcFullName(animationName, null, 'start'))])])\n .toStmt(),\n animationTransitionVar\n .callMethod('onDone', [eventListener.callMethod(BuiltinMethod.Bind, [view, literal(BoundEventAst.calcFullName(animationName, null, 'done'))])])\n .toStmt(),\n ];\n updateStmts.push.apply(updateStmts, registerStmts);\n detachStmts.push.apply(detachStmts, registerStmts);\n return { updateStmts: updateStmts, detachStmts: detachStmts };\n }\n\n /**\n * Create a new class stmts based on the given data.\n */\n function createClassStmt(config) {\n var parentArgs = config.parentArgs || [];\n var superCtorStmts = config.parent ? [SUPER_EXPR.callFn(parentArgs).toStmt()] : [];\n var builder = concatClassBuilderParts(Array.isArray(config.builders) ? config.builders : [config.builders]);\n var ctor = new ClassMethod(null, config.ctorParams || [], superCtorStmts.concat(builder.ctorStmts));\n return new ClassStmt(config.name, config.parent, builder.fields, builder.getters, ctor, builder.methods, config.modifiers || []);\n }\n function concatClassBuilderParts(builders) {\n return {\n fields: (_a = []).concat.apply(_a, builders.map(function (builder) { return builder.fields || []; })),\n methods: (_b = []).concat.apply(_b, builders.map(function (builder) { return builder.methods || []; })),\n getters: (_c = []).concat.apply(_c, builders.map(function (builder) { return builder.getters || []; })),\n ctorStmts: (_d = []).concat.apply(_d, builders.map(function (builder) { return builder.ctorStmts || []; })),\n };\n var _a, _b, _c, _d;\n }\n\n var DirectiveWrapperCompileResult = (function () {\n function DirectiveWrapperCompileResult(statements, dirWrapperClassVar) {\n this.statements = statements;\n this.dirWrapperClassVar = dirWrapperClassVar;\n }\n return DirectiveWrapperCompileResult;\n }());\n var CONTEXT_FIELD_NAME = 'context';\n var CHANGES_FIELD_NAME = '_changes';\n var CHANGED_FIELD_NAME = '_changed';\n var EVENT_HANDLER_FIELD_NAME = '_eventHandler';\n var CURR_VALUE_VAR = variable('currValue');\n var THROW_ON_CHANGE_VAR = variable('throwOnChange');\n var FORCE_UPDATE_VAR = variable('forceUpdate');\n var VIEW_VAR = variable('view');\n var COMPONENT_VIEW_VAR = variable('componentView');\n var RENDER_EL_VAR = variable('el');\n var EVENT_NAME_VAR = variable('eventName');\n var RESET_CHANGES_STMT = THIS_EXPR.prop(CHANGES_FIELD_NAME).set(literalMap([])).toStmt();\n /**\n * We generate directive wrappers to prevent code bloat when a directive is used.\n * A directive wrapper encapsulates\n * the dirty checking for `@Input`, the handling of `@HostListener` / `@HostBinding`\n * and calling the lifecyclehooks `ngOnInit`, `ngOnChanges`, `ngDoCheck`.\n *\n * So far, only `@Input` and the lifecycle hooks have been implemented.\n */\n var DirectiveWrapperCompiler = (function () {\n function DirectiveWrapperCompiler(compilerConfig, _exprParser, _schemaRegistry, _console) {\n this.compilerConfig = compilerConfig;\n this._exprParser = _exprParser;\n this._schemaRegistry = _schemaRegistry;\n this._console = _console;\n }\n DirectiveWrapperCompiler.dirWrapperClassName = function (id) { return \"Wrapper_\" + id.name; };\n DirectiveWrapperCompiler.prototype.compile = function (dirMeta) {\n var hostParseResult = parseHostBindings(dirMeta, this._exprParser, this._schemaRegistry);\n reportParseErrors(hostParseResult.errors, this._console);\n var builder = new DirectiveWrapperBuilder(this.compilerConfig, dirMeta);\n Object.keys(dirMeta.inputs).forEach(function (inputFieldName) {\n addCheckInputMethod(inputFieldName, builder);\n });\n addNgDoCheckMethod(builder);\n addCheckHostMethod(hostParseResult.hostProps, builder);\n addHandleEventMethod(hostParseResult.hostListeners, builder);\n addSubscribeMethod(dirMeta, builder);\n var classStmt = builder.build();\n return new DirectiveWrapperCompileResult([classStmt], classStmt.name);\n };\n DirectiveWrapperCompiler.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DirectiveWrapperCompiler.ctorParameters = [\n { type: CompilerConfig, },\n { type: Parser, },\n { type: ElementSchemaRegistry, },\n { type: Console, },\n ];\n return DirectiveWrapperCompiler;\n }());\n var DirectiveWrapperBuilder = (function () {\n function DirectiveWrapperBuilder(compilerConfig, dirMeta) {\n this.compilerConfig = compilerConfig;\n this.dirMeta = dirMeta;\n this.fields = [];\n this.getters = [];\n this.methods = [];\n this.ctorStmts = [];\n this.detachStmts = [];\n this.destroyStmts = [];\n var dirLifecycleHooks = dirMeta.type.lifecycleHooks;\n this.genChanges = dirLifecycleHooks.indexOf(LifecycleHooks.OnChanges) !== -1 ||\n this.compilerConfig.logBindingUpdate;\n this.ngOnChanges = dirLifecycleHooks.indexOf(LifecycleHooks.OnChanges) !== -1;\n this.ngOnInit = dirLifecycleHooks.indexOf(LifecycleHooks.OnInit) !== -1;\n this.ngDoCheck = dirLifecycleHooks.indexOf(LifecycleHooks.DoCheck) !== -1;\n this.ngOnDestroy = dirLifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1;\n if (this.ngOnDestroy) {\n this.destroyStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngOnDestroy', []).toStmt());\n }\n }\n DirectiveWrapperBuilder.prototype.build = function () {\n var dirDepParamNames = [];\n for (var i = 0; i < this.dirMeta.type.diDeps.length; i++) {\n dirDepParamNames.push(\"p\" + i);\n }\n var methods = [\n new ClassMethod('ngOnDetach', [\n new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(COMPONENT_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n ], this.detachStmts),\n new ClassMethod('ngOnDestroy', [], this.destroyStmts),\n ];\n var fields = [\n new ClassField(EVENT_HANDLER_FIELD_NAME, FUNCTION_TYPE, [StmtModifier.Private]),\n new ClassField(CONTEXT_FIELD_NAME, importType(this.dirMeta.type)),\n new ClassField(CHANGED_FIELD_NAME, BOOL_TYPE, [StmtModifier.Private]),\n ];\n var ctorStmts = [THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(false)).toStmt()];\n if (this.genChanges) {\n fields.push(new ClassField(CHANGES_FIELD_NAME, new MapType(DYNAMIC_TYPE), [StmtModifier.Private]));\n ctorStmts.push(RESET_CHANGES_STMT);\n }\n ctorStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n .set(importExpr(this.dirMeta.type)\n .instantiate(dirDepParamNames.map(function (paramName) { return variable(paramName); })))\n .toStmt());\n return createClassStmt({\n name: DirectiveWrapperCompiler.dirWrapperClassName(this.dirMeta.type),\n ctorParams: dirDepParamNames.map(function (paramName) { return new FnParam(paramName, DYNAMIC_TYPE); }),\n builders: [{ fields: fields, ctorStmts: ctorStmts, methods: methods }, this]\n });\n };\n return DirectiveWrapperBuilder;\n }());\n function addNgDoCheckMethod(builder) {\n var changedVar = variable('changed');\n var stmts = [\n changedVar.set(THIS_EXPR.prop(CHANGED_FIELD_NAME)).toDeclStmt(),\n THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(false)).toStmt(),\n ];\n var lifecycleStmts = [];\n if (builder.genChanges) {\n var onChangesStmts = [];\n if (builder.ngOnChanges) {\n onChangesStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n .callMethod('ngOnChanges', [THIS_EXPR.prop(CHANGES_FIELD_NAME)])\n .toStmt());\n }\n if (builder.compilerConfig.logBindingUpdate) {\n onChangesStmts.push(importExpr(resolveIdentifier(Identifiers.setBindingDebugInfoForChanges))\n .callFn([VIEW_VAR.prop('renderer'), RENDER_EL_VAR, THIS_EXPR.prop(CHANGES_FIELD_NAME)])\n .toStmt());\n }\n onChangesStmts.push(RESET_CHANGES_STMT);\n lifecycleStmts.push(new IfStmt(changedVar, onChangesStmts));\n }\n if (builder.ngOnInit) {\n lifecycleStmts.push(new IfStmt(VIEW_VAR.prop('numberOfChecks').identical(new LiteralExpr(0)), [THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngOnInit', []).toStmt()]));\n }\n if (builder.ngDoCheck) {\n lifecycleStmts.push(THIS_EXPR.prop(CONTEXT_FIELD_NAME).callMethod('ngDoCheck', []).toStmt());\n }\n if (lifecycleStmts.length > 0) {\n stmts.push(new IfStmt(not(THROW_ON_CHANGE_VAR), lifecycleStmts));\n }\n stmts.push(new ReturnStatement(changedVar));\n builder.methods.push(new ClassMethod('ngDoCheck', [\n new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n ], stmts, BOOL_TYPE));\n }\n function addCheckInputMethod(input, builder) {\n var field = createCheckBindingField(builder);\n var onChangeStatements = [\n THIS_EXPR.prop(CHANGED_FIELD_NAME).set(literal(true)).toStmt(),\n THIS_EXPR.prop(CONTEXT_FIELD_NAME).prop(input).set(CURR_VALUE_VAR).toStmt(),\n ];\n if (builder.genChanges) {\n onChangeStatements.push(THIS_EXPR.prop(CHANGES_FIELD_NAME)\n .key(literal(input))\n .set(importExpr(resolveIdentifier(Identifiers.SimpleChange))\n .instantiate([field.expression, CURR_VALUE_VAR]))\n .toStmt());\n }\n var methodBody = createCheckBindingStmt({ currValExpr: CURR_VALUE_VAR, forceUpdate: FORCE_UPDATE_VAR, stmts: [] }, field.expression, THROW_ON_CHANGE_VAR, onChangeStatements);\n builder.methods.push(new ClassMethod(\"check_\" + input, [\n new FnParam(CURR_VALUE_VAR.name, DYNAMIC_TYPE),\n new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n new FnParam(FORCE_UPDATE_VAR.name, BOOL_TYPE),\n ], methodBody));\n }\n function addCheckHostMethod(hostProps, builder) {\n var stmts = [];\n var methodParams = [\n new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(COMPONENT_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(RENDER_EL_VAR.name, DYNAMIC_TYPE),\n new FnParam(THROW_ON_CHANGE_VAR.name, BOOL_TYPE),\n ];\n hostProps.forEach(function (hostProp, hostPropIdx) {\n var field = createCheckBindingField(builder);\n var evalResult = convertPropertyBinding(builder, null, THIS_EXPR.prop(CONTEXT_FIELD_NAME), hostProp.value, field.bindingId);\n if (!evalResult) {\n return;\n }\n var securityContextExpr;\n if (hostProp.needsRuntimeSecurityContext) {\n securityContextExpr = variable(\"secCtx_\" + methodParams.length);\n methodParams.push(new FnParam(securityContextExpr.name, importType(resolveIdentifier(Identifiers.SecurityContext))));\n }\n var checkBindingStmts;\n if (hostProp.isAnimation) {\n var _a = triggerAnimation(VIEW_VAR, COMPONENT_VIEW_VAR, hostProp, THIS_EXPR.prop(EVENT_HANDLER_FIELD_NAME)\n .or(importExpr(resolveIdentifier(Identifiers.noop))), RENDER_EL_VAR, evalResult.currValExpr, field.expression), updateStmts = _a.updateStmts, detachStmts = _a.detachStmts;\n checkBindingStmts = updateStmts;\n (_b = builder.detachStmts).push.apply(_b, detachStmts);\n }\n else {\n checkBindingStmts = writeToRenderer(VIEW_VAR, hostProp, RENDER_EL_VAR, evalResult.currValExpr, builder.compilerConfig.logBindingUpdate, securityContextExpr);\n }\n stmts.push.apply(stmts, createCheckBindingStmt(evalResult, field.expression, THROW_ON_CHANGE_VAR, checkBindingStmts));\n var _b;\n });\n builder.methods.push(new ClassMethod('checkHost', methodParams, stmts));\n }\n function addHandleEventMethod(hostListeners, builder) {\n var resultVar = variable(\"result\");\n var actionStmts = [resultVar.set(literal(true)).toDeclStmt(BOOL_TYPE)];\n hostListeners.forEach(function (hostListener, eventIdx) {\n var evalResult = convertActionBinding(builder, null, THIS_EXPR.prop(CONTEXT_FIELD_NAME), hostListener.handler, \"sub_\" + eventIdx);\n var trueStmts = evalResult.stmts;\n if (evalResult.preventDefault) {\n trueStmts.push(resultVar.set(evalResult.preventDefault.and(resultVar)).toStmt());\n }\n // TODO(tbosch): convert this into a `switch` once our OutputAst supports it.\n actionStmts.push(new IfStmt(EVENT_NAME_VAR.equals(literal(hostListener.fullName)), trueStmts));\n });\n actionStmts.push(new ReturnStatement(resultVar));\n builder.methods.push(new ClassMethod('handleEvent', [\n new FnParam(EVENT_NAME_VAR.name, STRING_TYPE),\n new FnParam(EventHandlerVars.event.name, DYNAMIC_TYPE)\n ], actionStmts, BOOL_TYPE));\n }\n function addSubscribeMethod(dirMeta, builder) {\n var methodParams = [\n new FnParam(VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(EVENT_HANDLER_FIELD_NAME, DYNAMIC_TYPE)\n ];\n var stmts = [\n THIS_EXPR.prop(EVENT_HANDLER_FIELD_NAME).set(variable(EVENT_HANDLER_FIELD_NAME)).toStmt()\n ];\n Object.keys(dirMeta.outputs).forEach(function (emitterPropName, emitterIdx) {\n var eventName = dirMeta.outputs[emitterPropName];\n var paramName = \"emit\" + emitterIdx;\n methodParams.push(new FnParam(paramName, BOOL_TYPE));\n var subscriptionFieldName = \"subscription\" + emitterIdx;\n builder.fields.push(new ClassField(subscriptionFieldName, DYNAMIC_TYPE));\n stmts.push(new IfStmt(variable(paramName), [\n THIS_EXPR.prop(subscriptionFieldName)\n .set(THIS_EXPR.prop(CONTEXT_FIELD_NAME)\n .prop(emitterPropName)\n .callMethod(BuiltinMethod.SubscribeObservable, [variable(EVENT_HANDLER_FIELD_NAME)\n .callMethod(BuiltinMethod.Bind, [VIEW_VAR, literal(eventName)])]))\n .toStmt()\n ]));\n builder.destroyStmts.push(THIS_EXPR.prop(subscriptionFieldName)\n .and(THIS_EXPR.prop(subscriptionFieldName).callMethod('unsubscribe', []))\n .toStmt());\n });\n builder.methods.push(new ClassMethod('subscribe', methodParams, stmts));\n }\n var ParseResult = (function () {\n function ParseResult(hostProps, hostListeners, errors) {\n this.hostProps = hostProps;\n this.hostListeners = hostListeners;\n this.errors = errors;\n }\n return ParseResult;\n }());\n function parseHostBindings(dirMeta, exprParser, schemaRegistry) {\n var errors = [];\n var parser = new BindingParser(exprParser, DEFAULT_INTERPOLATION_CONFIG, schemaRegistry, [], errors);\n var sourceFileName = dirMeta.type.moduleUrl ?\n \"in Directive \" + dirMeta.type.name + \" in \" + dirMeta.type.moduleUrl :\n \"in Directive \" + dirMeta.type.name;\n var sourceFile = new ParseSourceFile('', sourceFileName);\n var sourceSpan = new ParseSourceSpan(new ParseLocation(sourceFile, null, null, null), new ParseLocation(sourceFile, null, null, null));\n var parsedHostProps = parser.createDirectiveHostPropertyAsts(dirMeta.toSummary(), sourceSpan);\n var parsedHostListeners = parser.createDirectiveHostEventAsts(dirMeta.toSummary(), sourceSpan);\n return new ParseResult(parsedHostProps, parsedHostListeners, errors);\n }\n function reportParseErrors(parseErrors, console) {\n var warnings = parseErrors.filter(function (error) { return error.level === exports.ParseErrorLevel.WARNING; });\n var errors = parseErrors.filter(function (error) { return error.level === exports.ParseErrorLevel.FATAL; });\n if (warnings.length > 0) {\n this._console.warn(\"Directive parse warnings:\\n\" + warnings.join('\\n'));\n }\n if (errors.length > 0) {\n throw new Error(\"Directive parse errors:\\n\" + errors.join('\\n'));\n }\n }\n var DirectiveWrapperExpressions = (function () {\n function DirectiveWrapperExpressions() {\n }\n DirectiveWrapperExpressions.create = function (dir, depsExpr) {\n return importExpr(dir).instantiate(depsExpr, importType(dir));\n };\n DirectiveWrapperExpressions.context = function (dirWrapper) {\n return dirWrapper.prop(CONTEXT_FIELD_NAME);\n };\n DirectiveWrapperExpressions.ngDoCheck = function (dirWrapper, view, renderElement, throwOnChange) {\n return dirWrapper.callMethod('ngDoCheck', [view, renderElement, throwOnChange]);\n };\n DirectiveWrapperExpressions.checkHost = function (hostProps, dirWrapper, view, componentView, renderElement, throwOnChange, runtimeSecurityContexts) {\n if (hostProps.length) {\n return [dirWrapper\n .callMethod('checkHost', [view, componentView, renderElement, throwOnChange].concat(runtimeSecurityContexts))\n .toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.ngOnDetach = function (hostProps, dirWrapper, view, componentView, renderEl) {\n if (hostProps.some(function (prop) { return prop.isAnimation; })) {\n return [dirWrapper\n .callMethod('ngOnDetach', [\n view,\n componentView,\n renderEl,\n ])\n .toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.ngOnDestroy = function (dir, dirWrapper) {\n if (dir.type.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1 ||\n Object.keys(dir.outputs).length > 0) {\n return [dirWrapper.callMethod('ngOnDestroy', []).toStmt()];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.subscribe = function (dirMeta, hostProps, usedEvents, dirWrapper, view, eventListener) {\n var needsSubscribe = false;\n var eventFlags = [];\n Object.keys(dirMeta.outputs).forEach(function (propName) {\n var eventName = dirMeta.outputs[propName];\n var eventUsed = usedEvents.indexOf(eventName) > -1;\n needsSubscribe = needsSubscribe || eventUsed;\n eventFlags.push(literal(eventUsed));\n });\n hostProps.forEach(function (hostProp) {\n if (hostProp.isAnimation && usedEvents.length > 0) {\n needsSubscribe = true;\n }\n });\n if (needsSubscribe) {\n return [\n dirWrapper.callMethod('subscribe', [view, eventListener].concat(eventFlags)).toStmt()\n ];\n }\n else {\n return [];\n }\n };\n DirectiveWrapperExpressions.handleEvent = function (hostEvents, dirWrapper, eventName, event) {\n return dirWrapper.callMethod('handleEvent', [eventName, event]);\n };\n return DirectiveWrapperExpressions;\n }());\n\n function hasLifecycleHook(hook, token) {\n return reflector.hasLifecycleHook(token, getHookName(hook));\n }\n function getHookName(hook) {\n switch (hook) {\n case LifecycleHooks.OnInit:\n return 'ngOnInit';\n case LifecycleHooks.OnDestroy:\n return 'ngOnDestroy';\n case LifecycleHooks.DoCheck:\n return 'ngDoCheck';\n case LifecycleHooks.OnChanges:\n return 'ngOnChanges';\n case LifecycleHooks.AfterContentInit:\n return 'ngAfterContentInit';\n case LifecycleHooks.AfterContentChecked:\n return 'ngAfterContentChecked';\n case LifecycleHooks.AfterViewInit:\n return 'ngAfterViewInit';\n case LifecycleHooks.AfterViewChecked:\n return 'ngAfterViewChecked';\n }\n }\n\n function _isNgModuleMetadata(obj) {\n return obj instanceof _angular_core.NgModule;\n }\n /**\n * Resolves types to {@link NgModule}.\n */\n var NgModuleResolver = (function () {\n function NgModuleResolver(_reflector) {\n if (_reflector === void 0) { _reflector = reflector; }\n this._reflector = _reflector;\n }\n NgModuleResolver.prototype.isNgModule = function (type) { return this._reflector.annotations(type).some(_isNgModuleMetadata); };\n NgModuleResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var ngModuleMeta = this._reflector.annotations(type).find(_isNgModuleMetadata);\n if (isPresent(ngModuleMeta)) {\n return ngModuleMeta;\n }\n else {\n if (throwIfNotFound) {\n throw new Error(\"No NgModule metadata found for '\" + stringify(type) + \"'.\");\n }\n return null;\n }\n };\n NgModuleResolver.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n NgModuleResolver.ctorParameters = [\n { type: ReflectorReader, },\n ];\n return NgModuleResolver;\n }());\n\n function _isPipeMetadata(type) {\n return type instanceof _angular_core.Pipe;\n }\n /**\n * Resolve a `Type` for {@link Pipe}.\n *\n * This interface can be overridden by the application developer to create custom behavior.\n *\n * See {@link Compiler}\n */\n var PipeResolver = (function () {\n function PipeResolver(_reflector) {\n if (_reflector === void 0) { _reflector = reflector; }\n this._reflector = _reflector;\n }\n PipeResolver.prototype.isPipe = function (type) {\n var typeMetadata = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n return typeMetadata && typeMetadata.some(_isPipeMetadata);\n };\n /**\n * Return {@link Pipe} for a given `Type`.\n */\n PipeResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var metas = this._reflector.annotations(_angular_core.resolveForwardRef(type));\n if (isPresent(metas)) {\n var annotation = metas.find(_isPipeMetadata);\n if (isPresent(annotation)) {\n return annotation;\n }\n }\n if (throwIfNotFound) {\n throw new Error(\"No Pipe decorator found on \" + stringify(type));\n }\n return null;\n };\n PipeResolver.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n PipeResolver.ctorParameters = [\n { type: ReflectorReader, },\n ];\n return PipeResolver;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$15 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n // Design notes:\n // - don't lazily create metadata:\n // For some metadata, we need to do async work sometimes,\n // so the user has to kick off this loading.\n // But we want to report errors even when the async work is\n // not required to check that the user would have been able\n // to wait correctly.\n var CompileMetadataResolver = (function () {\n function CompileMetadataResolver(_ngModuleResolver, _directiveResolver, _pipeResolver, _schemaRegistry, _directiveNormalizer, _reflector) {\n if (_reflector === void 0) { _reflector = reflector; }\n this._ngModuleResolver = _ngModuleResolver;\n this._directiveResolver = _directiveResolver;\n this._pipeResolver = _pipeResolver;\n this._schemaRegistry = _schemaRegistry;\n this._directiveNormalizer = _directiveNormalizer;\n this._reflector = _reflector;\n this._directiveCache = new Map();\n this._directiveSummaryCache = new Map();\n this._pipeCache = new Map();\n this._pipeSummaryCache = new Map();\n this._ngModuleCache = new Map();\n this._ngModuleOfTypes = new Map();\n this._anonymousTypes = new Map();\n this._anonymousTypeIndex = 0;\n }\n CompileMetadataResolver.prototype.sanitizeTokenName = function (token) {\n var identifier = stringify(token);\n if (identifier.indexOf('(') >= 0) {\n // case: anonymous functions!\n var found = this._anonymousTypes.get(token);\n if (!found) {\n this._anonymousTypes.set(token, this._anonymousTypeIndex++);\n found = this._anonymousTypes.get(token);\n }\n identifier = \"anonymous_token_\" + found + \"_\";\n }\n return sanitizeIdentifier(identifier);\n };\n CompileMetadataResolver.prototype.clearCacheFor = function (type) {\n var dirMeta = this._directiveCache.get(type);\n this._directiveCache.delete(type);\n this._directiveSummaryCache.delete(type);\n this._pipeCache.delete(type);\n this._pipeSummaryCache.delete(type);\n this._ngModuleOfTypes.delete(type);\n // Clear all of the NgModule as they contain transitive information!\n this._ngModuleCache.clear();\n if (dirMeta) {\n this._directiveNormalizer.clearCacheFor(dirMeta);\n }\n };\n CompileMetadataResolver.prototype.clearCache = function () {\n this._directiveCache.clear();\n this._directiveSummaryCache.clear();\n this._pipeCache.clear();\n this._pipeSummaryCache.clear();\n this._ngModuleCache.clear();\n this._ngModuleOfTypes.clear();\n this._directiveNormalizer.clearCache();\n };\n CompileMetadataResolver.prototype.getAnimationEntryMetadata = function (entry) {\n var _this = this;\n var defs = entry.definitions.map(function (def) { return _this._getAnimationStateMetadata(def); });\n return new CompileAnimationEntryMetadata(entry.name, defs);\n };\n CompileMetadataResolver.prototype._getAnimationStateMetadata = function (value) {\n if (value instanceof _angular_core.AnimationStateDeclarationMetadata) {\n var styles = this._getAnimationStyleMetadata(value.styles);\n return new CompileAnimationStateDeclarationMetadata(value.stateNameExpr, styles);\n }\n if (value instanceof _angular_core.AnimationStateTransitionMetadata) {\n return new CompileAnimationStateTransitionMetadata(value.stateChangeExpr, this._getAnimationMetadata(value.steps));\n }\n return null;\n };\n CompileMetadataResolver.prototype._getAnimationStyleMetadata = function (value) {\n return new CompileAnimationStyleMetadata(value.offset, value.styles);\n };\n CompileMetadataResolver.prototype._getAnimationMetadata = function (value) {\n var _this = this;\n if (value instanceof _angular_core.AnimationStyleMetadata) {\n return this._getAnimationStyleMetadata(value);\n }\n if (value instanceof _angular_core.AnimationKeyframesSequenceMetadata) {\n return new CompileAnimationKeyframesSequenceMetadata(value.steps.map(function (entry) { return _this._getAnimationStyleMetadata(entry); }));\n }\n if (value instanceof _angular_core.AnimationAnimateMetadata) {\n var animateData = this\n ._getAnimationMetadata(value.styles);\n return new CompileAnimationAnimateMetadata(value.timings, animateData);\n }\n if (value instanceof _angular_core.AnimationWithStepsMetadata) {\n var steps = value.steps.map(function (step) { return _this._getAnimationMetadata(step); });\n if (value instanceof _angular_core.AnimationGroupMetadata) {\n return new CompileAnimationGroupMetadata(steps);\n }\n return new CompileAnimationSequenceMetadata(steps);\n }\n return null;\n };\n CompileMetadataResolver.prototype._loadDirectiveMetadata = function (directiveType, isSync) {\n var _this = this;\n if (this._directiveCache.has(directiveType)) {\n return;\n }\n directiveType = _angular_core.resolveForwardRef(directiveType);\n var nonNormalizedMetadata = this.getNonNormalizedDirectiveMetadata(directiveType);\n var createDirectiveMetadata = function (templateMetadata) {\n var normalizedDirMeta = new CompileDirectiveMetadata({\n type: nonNormalizedMetadata.type,\n isComponent: nonNormalizedMetadata.isComponent,\n selector: nonNormalizedMetadata.selector,\n exportAs: nonNormalizedMetadata.exportAs,\n changeDetection: nonNormalizedMetadata.changeDetection,\n inputs: nonNormalizedMetadata.inputs,\n outputs: nonNormalizedMetadata.outputs,\n hostListeners: nonNormalizedMetadata.hostListeners,\n hostProperties: nonNormalizedMetadata.hostProperties,\n hostAttributes: nonNormalizedMetadata.hostAttributes,\n providers: nonNormalizedMetadata.providers,\n viewProviders: nonNormalizedMetadata.viewProviders,\n queries: nonNormalizedMetadata.queries,\n viewQueries: nonNormalizedMetadata.viewQueries,\n entryComponents: nonNormalizedMetadata.entryComponents,\n template: templateMetadata\n });\n _this._directiveCache.set(directiveType, normalizedDirMeta);\n _this._directiveSummaryCache.set(directiveType, normalizedDirMeta.toSummary());\n return normalizedDirMeta;\n };\n if (nonNormalizedMetadata.isComponent) {\n var templateMeta = this._directiveNormalizer.normalizeTemplate({\n componentType: directiveType,\n moduleUrl: nonNormalizedMetadata.type.moduleUrl,\n encapsulation: nonNormalizedMetadata.template.encapsulation,\n template: nonNormalizedMetadata.template.template,\n templateUrl: nonNormalizedMetadata.template.templateUrl,\n styles: nonNormalizedMetadata.template.styles,\n styleUrls: nonNormalizedMetadata.template.styleUrls,\n animations: nonNormalizedMetadata.template.animations,\n interpolation: nonNormalizedMetadata.template.interpolation\n });\n if (templateMeta.syncResult) {\n createDirectiveMetadata(templateMeta.syncResult);\n return null;\n }\n else {\n if (isSync) {\n throw new ComponentStillLoadingError(directiveType);\n }\n return templateMeta.asyncResult.then(createDirectiveMetadata);\n }\n }\n else {\n // directive\n createDirectiveMetadata(null);\n return null;\n }\n };\n CompileMetadataResolver.prototype.getNonNormalizedDirectiveMetadata = function (directiveType) {\n var _this = this;\n directiveType = _angular_core.resolveForwardRef(directiveType);\n var dirMeta = this._directiveResolver.resolve(directiveType);\n if (!dirMeta) {\n return null;\n }\n var moduleUrl = staticTypeModuleUrl(directiveType);\n var nonNormalizedTemplateMetadata;\n if (dirMeta instanceof _angular_core.Component) {\n // component\n moduleUrl = componentModuleUrl(this._reflector, directiveType, dirMeta);\n assertArrayOfStrings('styles', dirMeta.styles);\n assertArrayOfStrings('styleUrls', dirMeta.styleUrls);\n assertInterpolationSymbols('interpolation', dirMeta.interpolation);\n var animations = dirMeta.animations ?\n dirMeta.animations.map(function (e) { return _this.getAnimationEntryMetadata(e); }) :\n null;\n nonNormalizedTemplateMetadata = new CompileTemplateMetadata({\n encapsulation: dirMeta.encapsulation,\n template: dirMeta.template,\n templateUrl: dirMeta.templateUrl,\n styles: dirMeta.styles,\n styleUrls: dirMeta.styleUrls,\n animations: animations,\n interpolation: dirMeta.interpolation\n });\n }\n var changeDetectionStrategy = null;\n var viewProviders = [];\n var entryComponentMetadata = [];\n var selector = dirMeta.selector;\n if (dirMeta instanceof _angular_core.Component) {\n // Component\n changeDetectionStrategy = dirMeta.changeDetection;\n if (dirMeta.viewProviders) {\n viewProviders = this._getProvidersMetadata(dirMeta.viewProviders, entryComponentMetadata, \"viewProviders for \\\"\" + stringify(directiveType) + \"\\\"\");\n }\n if (dirMeta.entryComponents) {\n entryComponentMetadata =\n flattenAndDedupeArray(dirMeta.entryComponents)\n .map(function (type) { return _this._getIdentifierMetadata(type, staticTypeModuleUrl(type)); })\n .concat(entryComponentMetadata);\n }\n if (!selector) {\n selector = this._schemaRegistry.getDefaultComponentElementName();\n }\n }\n else {\n // Directive\n if (!selector) {\n throw new Error(\"Directive \" + stringify(directiveType) + \" has no selector, please add it!\");\n }\n }\n var providers = [];\n if (isPresent(dirMeta.providers)) {\n providers = this._getProvidersMetadata(dirMeta.providers, entryComponentMetadata, \"providers for \\\"\" + stringify(directiveType) + \"\\\"\");\n }\n var queries = [];\n var viewQueries = [];\n if (isPresent(dirMeta.queries)) {\n queries = this._getQueriesMetadata(dirMeta.queries, false, directiveType);\n viewQueries = this._getQueriesMetadata(dirMeta.queries, true, directiveType);\n }\n return CompileDirectiveMetadata.create({\n selector: selector,\n exportAs: dirMeta.exportAs,\n isComponent: !!nonNormalizedTemplateMetadata,\n type: this._getTypeMetadata(directiveType, moduleUrl),\n template: nonNormalizedTemplateMetadata,\n changeDetection: changeDetectionStrategy,\n inputs: dirMeta.inputs,\n outputs: dirMeta.outputs,\n host: dirMeta.host,\n providers: providers,\n viewProviders: viewProviders,\n queries: queries,\n viewQueries: viewQueries,\n entryComponents: entryComponentMetadata\n });\n };\n /**\n * Gets the metadata for the given directive.\n * This assumes `loadNgModuleMetadata` has been called first.\n */\n CompileMetadataResolver.prototype.getDirectiveMetadata = function (directiveType) {\n var dirMeta = this._directiveCache.get(directiveType);\n if (!dirMeta) {\n throw new Error(\"Illegal state: getDirectiveMetadata can only be called after loadNgModuleMetadata for a module that declares it. Directive \" + stringify(directiveType) + \".\");\n }\n return dirMeta;\n };\n CompileMetadataResolver.prototype.getDirectiveSummary = function (dirType) {\n var dirSummary = this._directiveSummaryCache.get(dirType);\n if (!dirSummary) {\n throw new Error(\"Illegal state: getDirectiveSummary can only be called after loadNgModuleMetadata for a module that imports it. Directive \" + stringify(dirType) + \".\");\n }\n return dirSummary;\n };\n CompileMetadataResolver.prototype.isDirective = function (type) { return this._directiveResolver.isDirective(type); };\n CompileMetadataResolver.prototype.isPipe = function (type) { return this._pipeResolver.isPipe(type); };\n /**\n * Gets the metadata for the given module.\n * This assumes `loadNgModuleMetadata` has been called first.\n */\n CompileMetadataResolver.prototype.getNgModuleMetadata = function (moduleType) {\n var modMeta = this._ngModuleCache.get(moduleType);\n if (!modMeta) {\n throw new Error(\"Illegal state: getNgModuleMetadata can only be called after loadNgModuleMetadata. Module \" + stringify(moduleType) + \".\");\n }\n return modMeta;\n };\n CompileMetadataResolver.prototype._loadNgModuleSummary = function (moduleType, isSync) {\n // TODO(tbosch): add logic to read summary files!\n // - needs to add directive / pipe summaries to this._directiveSummaryCache /\n // this._pipeSummaryCache as well!\n var moduleMeta = this._loadNgModuleMetadata(moduleType, isSync, false);\n return moduleMeta ? moduleMeta.toSummary() : null;\n };\n /**\n * Loads an NgModule and all of its directives. This includes loading the exported directives of\n * imported modules,\n * but not private directives of imported modules.\n */\n CompileMetadataResolver.prototype.loadNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var ngModule = this._loadNgModuleMetadata(moduleType, isSync, throwIfNotFound);\n var loading = ngModule ?\n Promise.all(ngModule.transitiveModule.directiveLoaders.map(function (loader) { return loader(); })) :\n Promise.resolve(null);\n return { ngModule: ngModule, loading: loading };\n };\n /**\n * Get the NgModule metadata without loading the directives.\n */\n CompileMetadataResolver.prototype.getUnloadedNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n return this._loadNgModuleMetadata(moduleType, isSync, throwIfNotFound);\n };\n CompileMetadataResolver.prototype._loadNgModuleMetadata = function (moduleType, isSync, throwIfNotFound) {\n var _this = this;\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n moduleType = _angular_core.resolveForwardRef(moduleType);\n var compileMeta = this._ngModuleCache.get(moduleType);\n if (compileMeta) {\n return compileMeta;\n }\n var meta = this._ngModuleResolver.resolve(moduleType, throwIfNotFound);\n if (!meta) {\n return null;\n }\n var declaredDirectives = [];\n var exportedNonModuleIdentifiers = [];\n var declaredPipes = [];\n var importedModules = [];\n var exportedModules = [];\n var providers = [];\n var entryComponents = [];\n var bootstrapComponents = [];\n var schemas = [];\n if (meta.imports) {\n flattenAndDedupeArray(meta.imports).forEach(function (importedType) {\n var importedModuleType;\n if (isValidType(importedType)) {\n importedModuleType = importedType;\n }\n else if (importedType && importedType.ngModule) {\n var moduleWithProviders = importedType;\n importedModuleType = moduleWithProviders.ngModule;\n if (moduleWithProviders.providers) {\n providers.push.apply(providers, _this._getProvidersMetadata(moduleWithProviders.providers, entryComponents, \"provider for the NgModule '\" + stringify(importedModuleType) + \"'\"));\n }\n }\n if (importedModuleType) {\n var importedModuleSummary = _this._loadNgModuleSummary(importedModuleType, isSync);\n if (!importedModuleSummary) {\n throw new Error(\"Unexpected \" + _this._getTypeDescriptor(importedType) + \" '\" + stringify(importedType) + \"' imported by the module '\" + stringify(moduleType) + \"'\");\n }\n importedModules.push(importedModuleSummary);\n }\n else {\n throw new Error(\"Unexpected value '\" + stringify(importedType) + \"' imported by the module '\" + stringify(moduleType) + \"'\");\n }\n });\n }\n if (meta.exports) {\n flattenAndDedupeArray(meta.exports).forEach(function (exportedType) {\n if (!isValidType(exportedType)) {\n throw new Error(\"Unexpected value '\" + stringify(exportedType) + \"' exported by the module '\" + stringify(moduleType) + \"'\");\n }\n var exportedModuleSummary = _this._loadNgModuleSummary(exportedType, isSync);\n if (exportedModuleSummary) {\n exportedModules.push(exportedModuleSummary);\n }\n else {\n exportedNonModuleIdentifiers.push(_this._getIdentifierMetadata(exportedType, staticTypeModuleUrl(exportedType)));\n }\n });\n }\n // Note: This will be modified later, so we rely on\n // getting a new instance every time!\n var transitiveModule = this._getTransitiveNgModuleMetadata(importedModules, exportedModules);\n if (meta.declarations) {\n flattenAndDedupeArray(meta.declarations).forEach(function (declaredType) {\n if (!isValidType(declaredType)) {\n throw new Error(\"Unexpected value '\" + stringify(declaredType) + \"' declared by the module '\" + stringify(moduleType) + \"'\");\n }\n var declaredIdentifier = _this._getIdentifierMetadata(declaredType, staticTypeModuleUrl(declaredType));\n if (_this._directiveResolver.isDirective(declaredType)) {\n transitiveModule.directivesSet.add(declaredType);\n transitiveModule.directives.push(declaredIdentifier);\n declaredDirectives.push(declaredIdentifier);\n _this._addTypeToModule(declaredType, moduleType);\n transitiveModule.directiveLoaders.push(function () { return _this._loadDirectiveMetadata(declaredType, isSync); });\n }\n else if (_this._pipeResolver.isPipe(declaredType)) {\n transitiveModule.pipesSet.add(declaredType);\n transitiveModule.pipes.push(declaredIdentifier);\n declaredPipes.push(declaredIdentifier);\n _this._addTypeToModule(declaredType, moduleType);\n _this._loadPipeMetadata(declaredType);\n }\n else {\n throw new Error(\"Unexpected \" + _this._getTypeDescriptor(declaredType) + \" '\" + stringify(declaredType) + \"' declared by the module '\" + stringify(moduleType) + \"'\");\n }\n });\n }\n var exportedDirectives = [];\n var exportedPipes = [];\n exportedNonModuleIdentifiers.forEach(function (exportedId) {\n if (transitiveModule.directivesSet.has(exportedId.reference)) {\n exportedDirectives.push(exportedId);\n }\n else if (transitiveModule.pipesSet.has(exportedId.reference)) {\n exportedPipes.push(exportedId);\n }\n else {\n throw new Error(\"Can't export \" + _this._getTypeDescriptor(exportedId.reference) + \" \" + stringify(exportedId.reference) + \" from \" + stringify(moduleType) + \" as it was neither declared nor imported!\");\n }\n });\n // The providers of the module have to go last\n // so that they overwrite any other provider we already added.\n if (meta.providers) {\n providers.push.apply(providers, this._getProvidersMetadata(meta.providers, entryComponents, \"provider for the NgModule '\" + stringify(moduleType) + \"'\"));\n }\n if (meta.entryComponents) {\n entryComponents.push.apply(entryComponents, flattenAndDedupeArray(meta.entryComponents)\n .map(function (type) { return _this._getTypeMetadata(type, staticTypeModuleUrl(type)); }));\n }\n if (meta.bootstrap) {\n var typeMetadata = flattenAndDedupeArray(meta.bootstrap).map(function (type) {\n if (!isValidType(type)) {\n throw new Error(\"Unexpected value '\" + stringify(type) + \"' used in the bootstrap property of module '\" + stringify(moduleType) + \"'\");\n }\n return _this._getTypeMetadata(type, staticTypeModuleUrl(type));\n });\n bootstrapComponents.push.apply(bootstrapComponents, typeMetadata);\n }\n entryComponents.push.apply(entryComponents, bootstrapComponents);\n if (meta.schemas) {\n schemas.push.apply(schemas, flattenAndDedupeArray(meta.schemas));\n }\n (_a = transitiveModule.entryComponents).push.apply(_a, entryComponents);\n (_b = transitiveModule.providers).push.apply(_b, providers);\n compileMeta = new CompileNgModuleMetadata({\n type: this._getTypeMetadata(moduleType, staticTypeModuleUrl(moduleType)),\n providers: providers,\n entryComponents: entryComponents,\n bootstrapComponents: bootstrapComponents,\n schemas: schemas,\n declaredDirectives: declaredDirectives,\n exportedDirectives: exportedDirectives,\n declaredPipes: declaredPipes,\n exportedPipes: exportedPipes,\n importedModules: importedModules,\n exportedModules: exportedModules,\n transitiveModule: transitiveModule,\n id: meta.id,\n });\n transitiveModule.modules.push(compileMeta.toInjectorSummary());\n this._ngModuleCache.set(moduleType, compileMeta);\n return compileMeta;\n var _a, _b;\n };\n CompileMetadataResolver.prototype._getTypeDescriptor = function (type) {\n if (this._directiveResolver.isDirective(type)) {\n return 'directive';\n }\n if (this._pipeResolver.isPipe(type)) {\n return 'pipe';\n }\n if (this._ngModuleResolver.isNgModule(type)) {\n return 'module';\n }\n if (type.provide) {\n return 'provider';\n }\n return 'value';\n };\n CompileMetadataResolver.prototype._addTypeToModule = function (type, moduleType) {\n var oldModule = this._ngModuleOfTypes.get(type);\n if (oldModule && oldModule !== moduleType) {\n throw new Error((\"Type \" + stringify(type) + \" is part of the declarations of 2 modules: \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \"! \") +\n (\"Please consider moving \" + stringify(type) + \" to a higher module that imports \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \". \") +\n (\"You can also create a new NgModule that exports and includes \" + stringify(type) + \" then import that NgModule in \" + stringify(oldModule) + \" and \" + stringify(moduleType) + \".\"));\n }\n this._ngModuleOfTypes.set(type, moduleType);\n };\n CompileMetadataResolver.prototype._getTransitiveNgModuleMetadata = function (importedModules, exportedModules) {\n // collect `providers` / `entryComponents` from all imported and all exported modules\n var transitiveModules = getTransitiveImportedModules(importedModules.concat(exportedModules));\n var providers = flattenArray(transitiveModules.map(function (ngModule) { return ngModule.providers; }));\n var entryComponents = flattenArray(transitiveModules.map(function (ngModule) { return ngModule.entryComponents; }));\n var transitiveExportedModules = getTransitiveExportedModules(importedModules);\n var directives = flattenArray(transitiveExportedModules.map(function (ngModule) { return ngModule.exportedDirectives; }));\n var pipes = flattenArray(transitiveExportedModules.map(function (ngModule) { return ngModule.exportedPipes; }));\n var directiveLoaders = ListWrapper.flatten(transitiveExportedModules.map(function (ngModule) { return ngModule.directiveLoaders; }));\n return new TransitiveCompileNgModuleMetadata(transitiveModules, providers, entryComponents, directives, pipes, directiveLoaders);\n };\n CompileMetadataResolver.prototype._getIdentifierMetadata = function (type, moduleUrl) {\n type = _angular_core.resolveForwardRef(type);\n return new CompileIdentifierMetadata({ name: this.sanitizeTokenName(type), moduleUrl: moduleUrl, reference: type });\n };\n CompileMetadataResolver.prototype._getTypeMetadata = function (type, moduleUrl, dependencies) {\n if (dependencies === void 0) { dependencies = null; }\n var identifier = this._getIdentifierMetadata(type, moduleUrl);\n return new CompileTypeMetadata({\n name: identifier.name,\n moduleUrl: identifier.moduleUrl,\n reference: identifier.reference,\n diDeps: this._getDependenciesMetadata(identifier.reference, dependencies),\n lifecycleHooks: LIFECYCLE_HOOKS_VALUES.filter(function (hook) { return hasLifecycleHook(hook, identifier.reference); }),\n });\n };\n CompileMetadataResolver.prototype._getFactoryMetadata = function (factory, moduleUrl, dependencies) {\n if (dependencies === void 0) { dependencies = null; }\n factory = _angular_core.resolveForwardRef(factory);\n return new CompileFactoryMetadata({\n name: this.sanitizeTokenName(factory),\n moduleUrl: moduleUrl,\n reference: factory,\n diDeps: this._getDependenciesMetadata(factory, dependencies)\n });\n };\n /**\n * Gets the metadata for the given pipe.\n * This assumes `loadNgModuleMetadata` has been called first.\n */\n CompileMetadataResolver.prototype.getPipeMetadata = function (pipeType) {\n var pipeMeta = this._pipeCache.get(pipeType);\n if (!pipeMeta) {\n throw new Error(\"Illegal state: getPipeMetadata can only be called after loadNgModuleMetadata for a module that declares it. Pipe \" + stringify(pipeType) + \".\");\n }\n return pipeMeta;\n };\n CompileMetadataResolver.prototype.getPipeSummary = function (pipeType) {\n var pipeSummary = this._pipeSummaryCache.get(pipeType);\n if (!pipeSummary) {\n throw new Error(\"Illegal state: getPipeSummary can only be called after loadNgModuleMetadata for a module that imports it. Pipe \" + stringify(pipeType) + \".\");\n }\n return pipeSummary;\n };\n CompileMetadataResolver.prototype.getOrLoadPipeMetadata = function (pipeType) {\n var pipeMeta = this._pipeCache.get(pipeType);\n if (!pipeMeta) {\n pipeMeta = this._loadPipeMetadata(pipeType);\n }\n return pipeMeta;\n };\n CompileMetadataResolver.prototype._loadPipeMetadata = function (pipeType) {\n pipeType = _angular_core.resolveForwardRef(pipeType);\n var pipeAnnotation = this._pipeResolver.resolve(pipeType);\n var pipeMeta = new CompilePipeMetadata({\n type: this._getTypeMetadata(pipeType, staticTypeModuleUrl(pipeType)),\n name: pipeAnnotation.name,\n pure: pipeAnnotation.pure\n });\n this._pipeCache.set(pipeType, pipeMeta);\n this._pipeSummaryCache.set(pipeType, pipeMeta.toSummary());\n return pipeMeta;\n };\n CompileMetadataResolver.prototype._getDependenciesMetadata = function (typeOrFunc, dependencies) {\n var _this = this;\n var hasUnknownDeps = false;\n var params = dependencies || this._reflector.parameters(typeOrFunc) || [];\n var dependenciesMetadata = params.map(function (param) {\n var isAttribute = false;\n var isHost = false;\n var isSelf = false;\n var isSkipSelf = false;\n var isOptional = false;\n var token = null;\n if (Array.isArray(param)) {\n param.forEach(function (paramEntry) {\n if (paramEntry instanceof _angular_core.Host) {\n isHost = true;\n }\n else if (paramEntry instanceof _angular_core.Self) {\n isSelf = true;\n }\n else if (paramEntry instanceof _angular_core.SkipSelf) {\n isSkipSelf = true;\n }\n else if (paramEntry instanceof _angular_core.Optional) {\n isOptional = true;\n }\n else if (paramEntry instanceof _angular_core.Attribute) {\n isAttribute = true;\n token = paramEntry.attributeName;\n }\n else if (paramEntry instanceof _angular_core.Inject) {\n token = paramEntry.token;\n }\n else if (isValidType(paramEntry) && isBlank(token)) {\n token = paramEntry;\n }\n });\n }\n else {\n token = param;\n }\n if (isBlank(token)) {\n hasUnknownDeps = true;\n return null;\n }\n return new CompileDiDependencyMetadata({\n isAttribute: isAttribute,\n isHost: isHost,\n isSelf: isSelf,\n isSkipSelf: isSkipSelf,\n isOptional: isOptional,\n token: _this._getTokenMetadata(token)\n });\n });\n if (hasUnknownDeps) {\n var depsTokens = dependenciesMetadata.map(function (dep) { return dep ? stringify(dep.token) : '?'; }).join(', ');\n throw new Error(\"Can't resolve all parameters for \" + stringify(typeOrFunc) + \": (\" + depsTokens + \").\");\n }\n return dependenciesMetadata;\n };\n CompileMetadataResolver.prototype._getTokenMetadata = function (token) {\n token = _angular_core.resolveForwardRef(token);\n var compileToken;\n if (typeof token === 'string') {\n compileToken = new CompileTokenMetadata({ value: token });\n }\n else {\n compileToken = new CompileTokenMetadata({\n identifier: new CompileIdentifierMetadata({\n reference: token,\n name: this.sanitizeTokenName(token),\n moduleUrl: staticTypeModuleUrl(token)\n })\n });\n }\n return compileToken;\n };\n CompileMetadataResolver.prototype._getProvidersMetadata = function (providers, targetEntryComponents, debugInfo) {\n var _this = this;\n var compileProviders = [];\n providers.forEach(function (provider, providerIdx) {\n provider = _angular_core.resolveForwardRef(provider);\n if (provider && typeof provider == 'object' && provider.hasOwnProperty('provide')) {\n provider = new ProviderMeta(provider.provide, provider);\n }\n var compileProvider;\n if (Array.isArray(provider)) {\n compileProvider = _this._getProvidersMetadata(provider, targetEntryComponents, debugInfo);\n }\n else if (provider instanceof ProviderMeta) {\n var tokenMeta = _this._getTokenMetadata(provider.token);\n if (tokenMeta.reference ===\n resolveIdentifierToken(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS).reference) {\n targetEntryComponents.push.apply(targetEntryComponents, _this._getEntryComponentsFromProvider(provider));\n }\n else {\n compileProvider = _this.getProviderMetadata(provider);\n }\n }\n else if (isValidType(provider)) {\n compileProvider = _this._getTypeMetadata(provider, staticTypeModuleUrl(provider));\n }\n else {\n var providersInfo = providers.reduce(function (soFar, seenProvider, seenProviderIdx) {\n if (seenProviderIdx < providerIdx) {\n soFar.push(\"\" + stringify(seenProvider));\n }\n else if (seenProviderIdx == providerIdx) {\n soFar.push(\"?\" + stringify(seenProvider) + \"?\");\n }\n else if (seenProviderIdx == providerIdx + 1) {\n soFar.push('...');\n }\n return soFar;\n }, [])\n .join(', ');\n throw new Error(\"Invalid \" + (debugInfo ? debugInfo : 'provider') + \" - only instances of Provider and Type are allowed, got: [\" + providersInfo + \"]\");\n }\n if (compileProvider) {\n compileProviders.push(compileProvider);\n }\n });\n return compileProviders;\n };\n CompileMetadataResolver.prototype._getEntryComponentsFromProvider = function (provider) {\n var _this = this;\n var components = [];\n var collectedIdentifiers = [];\n if (provider.useFactory || provider.useExisting || provider.useClass) {\n throw new Error(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!\");\n }\n if (!provider.multi) {\n throw new Error(\"The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!\");\n }\n convertToCompileValue(provider.useValue, collectedIdentifiers);\n collectedIdentifiers.forEach(function (identifier) {\n if (_this._directiveResolver.isDirective(identifier.reference)) {\n components.push(identifier);\n }\n });\n return components;\n };\n CompileMetadataResolver.prototype.getProviderMetadata = function (provider) {\n var compileDeps;\n var compileTypeMetadata = null;\n var compileFactoryMetadata = null;\n if (provider.useClass) {\n compileTypeMetadata = this._getTypeMetadata(provider.useClass, staticTypeModuleUrl(provider.useClass), provider.dependencies);\n compileDeps = compileTypeMetadata.diDeps;\n }\n else if (provider.useFactory) {\n compileFactoryMetadata = this._getFactoryMetadata(provider.useFactory, staticTypeModuleUrl(provider.useFactory), provider.dependencies);\n compileDeps = compileFactoryMetadata.diDeps;\n }\n return new CompileProviderMetadata({\n token: this._getTokenMetadata(provider.token),\n useClass: compileTypeMetadata,\n useValue: convertToCompileValue(provider.useValue, []),\n useFactory: compileFactoryMetadata,\n useExisting: provider.useExisting ? this._getTokenMetadata(provider.useExisting) : null,\n deps: compileDeps,\n multi: provider.multi\n });\n };\n CompileMetadataResolver.prototype._getQueriesMetadata = function (queries, isViewQuery, directiveType) {\n var _this = this;\n var res = [];\n Object.keys(queries).forEach(function (propertyName) {\n var query = queries[propertyName];\n if (query.isViewQuery === isViewQuery) {\n res.push(_this._getQueryMetadata(query, propertyName, directiveType));\n }\n });\n return res;\n };\n CompileMetadataResolver.prototype._queryVarBindings = function (selector) { return selector.split(/\\s*,\\s*/); };\n CompileMetadataResolver.prototype._getQueryMetadata = function (q, propertyName, typeOrFunc) {\n var _this = this;\n var selectors;\n if (typeof q.selector === 'string') {\n selectors =\n this._queryVarBindings(q.selector).map(function (varName) { return _this._getTokenMetadata(varName); });\n }\n else {\n if (!q.selector) {\n throw new Error(\"Can't construct a query for the property \\\"\" + propertyName + \"\\\" of \\\"\" + stringify(typeOrFunc) + \"\\\" since the query selector wasn't defined.\");\n }\n selectors = [this._getTokenMetadata(q.selector)];\n }\n return new CompileQueryMetadata({\n selectors: selectors,\n first: q.first,\n descendants: q.descendants, propertyName: propertyName,\n read: q.read ? this._getTokenMetadata(q.read) : null\n });\n };\n CompileMetadataResolver.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n CompileMetadataResolver.ctorParameters = [\n { type: NgModuleResolver, },\n { type: DirectiveResolver, },\n { type: PipeResolver, },\n { type: ElementSchemaRegistry, },\n { type: DirectiveNormalizer, },\n { type: ReflectorReader, },\n ];\n return CompileMetadataResolver;\n }());\n function getTransitiveExportedModules(modules, targetModules, visitedModules) {\n if (targetModules === void 0) { targetModules = []; }\n if (visitedModules === void 0) { visitedModules = new Set(); }\n modules.forEach(function (ngModule) {\n if (!visitedModules.has(ngModule.type.reference)) {\n visitedModules.add(ngModule.type.reference);\n getTransitiveExportedModules(ngModule.exportedModules, targetModules, visitedModules);\n // Add after recursing so imported/exported modules are before the module itself.\n // This is important for overwriting providers of imported modules!\n targetModules.push(ngModule);\n }\n });\n return targetModules;\n }\n function getTransitiveImportedModules(modules, targetModules, visitedModules) {\n if (targetModules === void 0) { targetModules = []; }\n if (visitedModules === void 0) { visitedModules = new Set(); }\n modules.forEach(function (ngModule) {\n if (!visitedModules.has(ngModule.type.reference)) {\n visitedModules.add(ngModule.type.reference);\n var nestedModules = ngModule.importedModules.concat(ngModule.exportedModules);\n getTransitiveImportedModules(nestedModules, targetModules, visitedModules);\n // Add after recursing so imported/exported modules are before the module itself.\n // This is important for overwriting providers of imported modules!\n targetModules.push(ngModule);\n }\n });\n return targetModules;\n }\n function flattenArray(tree, out) {\n if (out === void 0) { out = []; }\n if (tree) {\n for (var i = 0; i < tree.length; i++) {\n var item = _angular_core.resolveForwardRef(tree[i]);\n if (Array.isArray(item)) {\n flattenArray(item, out);\n }\n else {\n out.push(item);\n }\n }\n }\n return out;\n }\n function dedupeArray(array) {\n if (array) {\n return Array.from(new Set(array));\n }\n return [];\n }\n function flattenAndDedupeArray(tree) {\n return dedupeArray(flattenArray(tree));\n }\n function isValidType(value) {\n return isStaticSymbol(value) || (value instanceof _angular_core.Type);\n }\n function staticTypeModuleUrl(value) {\n return isStaticSymbol(value) ? value.filePath : null;\n }\n function componentModuleUrl(reflector, type, cmpMetadata) {\n if (isStaticSymbol(type)) {\n return staticTypeModuleUrl(type);\n }\n var moduleId = cmpMetadata.moduleId;\n if (typeof moduleId === 'string') {\n var scheme = getUrlScheme(moduleId);\n return scheme ? moduleId : \"package:\" + moduleId + MODULE_SUFFIX;\n }\n else if (moduleId !== null && moduleId !== void 0) {\n throw new Error((\"moduleId should be a string in \\\"\" + stringify(type) + \"\\\". See https://goo.gl/wIDDiL for more information.\\n\") +\n \"If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.\");\n }\n return reflector.importUri(type);\n }\n function convertToCompileValue(value, targetIdentifiers) {\n return visitValue(value, new _CompileValueConverter(), targetIdentifiers);\n }\n var _CompileValueConverter = (function (_super) {\n __extends$15(_CompileValueConverter, _super);\n function _CompileValueConverter() {\n _super.apply(this, arguments);\n }\n _CompileValueConverter.prototype.visitOther = function (value, targetIdentifiers) {\n var identifier;\n if (isStaticSymbol(value)) {\n identifier = new CompileIdentifierMetadata({ name: value.name, moduleUrl: value.filePath, reference: value });\n }\n else {\n identifier = new CompileIdentifierMetadata({ reference: value });\n }\n targetIdentifiers.push(identifier);\n return identifier;\n };\n return _CompileValueConverter;\n }(ValueTransformer));\n\n function convertValueToOutputAst(value, type) {\n if (type === void 0) { type = null; }\n return visitValue(value, new _ValueOutputAstTransformer(), type);\n }\n var _ValueOutputAstTransformer = (function () {\n function _ValueOutputAstTransformer() {\n }\n _ValueOutputAstTransformer.prototype.visitArray = function (arr, type) {\n var _this = this;\n return literalArr(arr.map(function (value) { return visitValue(value, _this, null); }), type);\n };\n _ValueOutputAstTransformer.prototype.visitStringMap = function (map, type) {\n var _this = this;\n var entries = [];\n Object.keys(map).forEach(function (key) { entries.push([key, visitValue(map[key], _this, null)]); });\n return literalMap(entries, type);\n };\n _ValueOutputAstTransformer.prototype.visitPrimitive = function (value, type) { return literal(value, type); };\n _ValueOutputAstTransformer.prototype.visitOther = function (value, type) {\n if (value instanceof CompileIdentifierMetadata) {\n return importExpr(value);\n }\n else if (value instanceof Expression) {\n return value;\n }\n else {\n throw new Error(\"Illegal state: Don't now how to compile value \" + value);\n }\n };\n return _ValueOutputAstTransformer;\n }());\n\n var ComponentFactoryDependency = (function () {\n function ComponentFactoryDependency(comp, placeholder) {\n this.comp = comp;\n this.placeholder = placeholder;\n }\n return ComponentFactoryDependency;\n }());\n var NgModuleCompileResult = (function () {\n function NgModuleCompileResult(statements, ngModuleFactoryVar, dependencies) {\n this.statements = statements;\n this.ngModuleFactoryVar = ngModuleFactoryVar;\n this.dependencies = dependencies;\n }\n return NgModuleCompileResult;\n }());\n var NgModuleCompiler = (function () {\n function NgModuleCompiler() {\n }\n NgModuleCompiler.prototype.compile = function (ngModuleMeta, extraProviders) {\n var sourceFileName = isPresent(ngModuleMeta.type.moduleUrl) ?\n \"in NgModule \" + ngModuleMeta.type.name + \" in \" + ngModuleMeta.type.moduleUrl :\n \"in NgModule \" + ngModuleMeta.type.name;\n var sourceFile = new ParseSourceFile('', sourceFileName);\n var sourceSpan = new ParseSourceSpan(new ParseLocation(sourceFile, null, null, null), new ParseLocation(sourceFile, null, null, null));\n var deps = [];\n var bootstrapComponentFactories = [];\n var entryComponentFactories = ngModuleMeta.transitiveModule.entryComponents.map(function (entryComponent) {\n var id = new CompileIdentifierMetadata({ name: entryComponent.name });\n if (ngModuleMeta.bootstrapComponents.indexOf(entryComponent) > -1) {\n bootstrapComponentFactories.push(id);\n }\n deps.push(new ComponentFactoryDependency(entryComponent, id));\n return id;\n });\n var builder = new _InjectorBuilder(ngModuleMeta, entryComponentFactories, bootstrapComponentFactories, sourceSpan);\n var providerParser = new NgModuleProviderAnalyzer(ngModuleMeta, extraProviders, sourceSpan);\n providerParser.parse().forEach(function (provider) { return builder.addProvider(provider); });\n var injectorClass = builder.build();\n var ngModuleFactoryVar = ngModuleMeta.type.name + \"NgFactory\";\n var ngModuleFactoryStmt = variable(ngModuleFactoryVar)\n .set(importExpr(resolveIdentifier(Identifiers.NgModuleFactory))\n .instantiate([variable(injectorClass.name), importExpr(ngModuleMeta.type)], importType(resolveIdentifier(Identifiers.NgModuleFactory), [importType(ngModuleMeta.type)], [TypeModifier.Const])))\n .toDeclStmt(null, [StmtModifier.Final]);\n var stmts = [injectorClass, ngModuleFactoryStmt];\n if (ngModuleMeta.id) {\n var registerFactoryStmt = importExpr(resolveIdentifier(Identifiers.RegisterModuleFactoryFn))\n .callFn([literal(ngModuleMeta.id), variable(ngModuleFactoryVar)])\n .toStmt();\n stmts.push(registerFactoryStmt);\n }\n return new NgModuleCompileResult(stmts, ngModuleFactoryVar, deps);\n };\n NgModuleCompiler.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n NgModuleCompiler.ctorParameters = [];\n return NgModuleCompiler;\n }());\n var _InjectorBuilder = (function () {\n function _InjectorBuilder(_ngModuleMeta, _entryComponentFactories, _bootstrapComponentFactories, _sourceSpan) {\n this._ngModuleMeta = _ngModuleMeta;\n this._entryComponentFactories = _entryComponentFactories;\n this._bootstrapComponentFactories = _bootstrapComponentFactories;\n this._sourceSpan = _sourceSpan;\n this.fields = [];\n this.getters = [];\n this.methods = [];\n this.ctorStmts = [];\n this._tokens = [];\n this._instances = new Map();\n this._createStmts = [];\n this._destroyStmts = [];\n }\n _InjectorBuilder.prototype.addProvider = function (resolvedProvider) {\n var _this = this;\n var providerValueExpressions = resolvedProvider.providers.map(function (provider) { return _this._getProviderValue(provider); });\n var propName = \"_\" + resolvedProvider.token.name + \"_\" + this._instances.size;\n var instance = this._createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager);\n if (resolvedProvider.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n this._destroyStmts.push(instance.callMethod('ngOnDestroy', []).toStmt());\n }\n this._tokens.push(resolvedProvider.token);\n this._instances.set(resolvedProvider.token.reference, instance);\n };\n _InjectorBuilder.prototype.build = function () {\n var _this = this;\n var getMethodStmts = this._tokens.map(function (token) {\n var providerExpr = _this._instances.get(token.reference);\n return new IfStmt(InjectMethodVars.token.identical(createDiTokenExpression(token)), [new ReturnStatement(providerExpr)]);\n });\n var methods = [\n new ClassMethod('createInternal', [], this._createStmts.concat(new ReturnStatement(this._instances.get(this._ngModuleMeta.type.reference))), importType(this._ngModuleMeta.type)),\n new ClassMethod('getInternal', [\n new FnParam(InjectMethodVars.token.name, DYNAMIC_TYPE),\n new FnParam(InjectMethodVars.notFoundResult.name, DYNAMIC_TYPE)\n ], getMethodStmts.concat([new ReturnStatement(InjectMethodVars.notFoundResult)]), DYNAMIC_TYPE),\n new ClassMethod('destroyInternal', [], this._destroyStmts),\n ];\n var parentArgs = [\n variable(InjectorProps.parent.name),\n literalArr(this._entryComponentFactories.map(function (componentFactory) { return importExpr(componentFactory); })),\n literalArr(this._bootstrapComponentFactories.map(function (componentFactory) { return importExpr(componentFactory); }))\n ];\n var injClassName = this._ngModuleMeta.type.name + \"Injector\";\n return createClassStmt({\n name: injClassName,\n ctorParams: [new FnParam(InjectorProps.parent.name, importType(resolveIdentifier(Identifiers.Injector)))],\n parent: importExpr(resolveIdentifier(Identifiers.NgModuleInjector), [importType(this._ngModuleMeta.type)]),\n parentArgs: parentArgs,\n builders: [{ methods: methods }, this]\n });\n };\n _InjectorBuilder.prototype._getProviderValue = function (provider) {\n var _this = this;\n var result;\n if (isPresent(provider.useExisting)) {\n result = this._getDependency(new CompileDiDependencyMetadata({ token: provider.useExisting }));\n }\n else if (isPresent(provider.useFactory)) {\n var deps = provider.deps || provider.useFactory.diDeps;\n var depsExpr = deps.map(function (dep) { return _this._getDependency(dep); });\n result = importExpr(provider.useFactory).callFn(depsExpr);\n }\n else if (isPresent(provider.useClass)) {\n var deps = provider.deps || provider.useClass.diDeps;\n var depsExpr = deps.map(function (dep) { return _this._getDependency(dep); });\n result =\n importExpr(provider.useClass).instantiate(depsExpr, importType(provider.useClass));\n }\n else {\n result = convertValueToOutputAst(provider.useValue);\n }\n return result;\n };\n _InjectorBuilder.prototype._createProviderProperty = function (propName, provider, providerValueExpressions, isMulti, isEager) {\n var resolvedProviderValueExpr;\n var type;\n if (isMulti) {\n resolvedProviderValueExpr = literalArr(providerValueExpressions);\n type = new ArrayType(DYNAMIC_TYPE);\n }\n else {\n resolvedProviderValueExpr = providerValueExpressions[0];\n type = providerValueExpressions[0].type;\n }\n if (!type) {\n type = DYNAMIC_TYPE;\n }\n if (isEager) {\n this.fields.push(new ClassField(propName, type));\n this._createStmts.push(THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\n }\n else {\n var internalField = \"_\" + propName;\n this.fields.push(new ClassField(internalField, type));\n // Note: Equals is important for JS so that it also checks the undefined case!\n var getterStmts = [\n new IfStmt(THIS_EXPR.prop(internalField).isBlank(), [THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]),\n new ReturnStatement(THIS_EXPR.prop(internalField))\n ];\n this.getters.push(new ClassGetter(propName, getterStmts, type));\n }\n return THIS_EXPR.prop(propName);\n };\n _InjectorBuilder.prototype._getDependency = function (dep) {\n var result = null;\n if (dep.isValue) {\n result = literal(dep.value);\n }\n if (!dep.isSkipSelf) {\n if (dep.token &&\n (dep.token.reference === resolveIdentifierToken(Identifiers.Injector).reference ||\n dep.token.reference ===\n resolveIdentifierToken(Identifiers.ComponentFactoryResolver).reference)) {\n result = THIS_EXPR;\n }\n if (!result) {\n result = this._instances.get(dep.token.reference);\n }\n }\n if (!result) {\n var args = [createDiTokenExpression(dep.token)];\n if (dep.isOptional) {\n args.push(NULL_EXPR);\n }\n result = InjectorProps.parent.callMethod('get', args);\n }\n return result;\n };\n return _InjectorBuilder;\n }());\n var InjectorProps = (function () {\n function InjectorProps() {\n }\n InjectorProps.parent = THIS_EXPR.prop('parent');\n return InjectorProps;\n }());\n var InjectMethodVars = (function () {\n function InjectMethodVars() {\n }\n InjectMethodVars.token = variable('token');\n InjectMethodVars.notFoundResult = variable('notFoundResult');\n return InjectMethodVars;\n }());\n\n var _SINGLE_QUOTE_ESCAPE_STRING_RE = /'|\\\\|\\n|\\r|\\$/g;\n var _LEGAL_IDENTIFIER_RE = /^[$A-Z_][0-9A-Z_$]*$/i;\n var CATCH_ERROR_VAR$1 = variable('error');\n var CATCH_STACK_VAR$1 = variable('stack');\n var _EmittedLine = (function () {\n function _EmittedLine(indent) {\n this.indent = indent;\n this.parts = [];\n }\n return _EmittedLine;\n }());\n var EmitterVisitorContext = (function () {\n function EmitterVisitorContext(_exportedVars, _indent) {\n this._exportedVars = _exportedVars;\n this._indent = _indent;\n this._classes = [];\n this._lines = [new _EmittedLine(_indent)];\n }\n EmitterVisitorContext.createRoot = function (exportedVars) {\n return new EmitterVisitorContext(exportedVars, 0);\n };\n Object.defineProperty(EmitterVisitorContext.prototype, \"_currentLine\", {\n get: function () { return this._lines[this._lines.length - 1]; },\n enumerable: true,\n configurable: true\n });\n EmitterVisitorContext.prototype.isExportedVar = function (varName) { return this._exportedVars.indexOf(varName) !== -1; };\n EmitterVisitorContext.prototype.println = function (lastPart) {\n if (lastPart === void 0) { lastPart = ''; }\n this.print(lastPart, true);\n };\n EmitterVisitorContext.prototype.lineIsEmpty = function () { return this._currentLine.parts.length === 0; };\n EmitterVisitorContext.prototype.print = function (part, newLine) {\n if (newLine === void 0) { newLine = false; }\n if (part.length > 0) {\n this._currentLine.parts.push(part);\n }\n if (newLine) {\n this._lines.push(new _EmittedLine(this._indent));\n }\n };\n EmitterVisitorContext.prototype.removeEmptyLastLine = function () {\n if (this.lineIsEmpty()) {\n this._lines.pop();\n }\n };\n EmitterVisitorContext.prototype.incIndent = function () {\n this._indent++;\n this._currentLine.indent = this._indent;\n };\n EmitterVisitorContext.prototype.decIndent = function () {\n this._indent--;\n this._currentLine.indent = this._indent;\n };\n EmitterVisitorContext.prototype.pushClass = function (clazz) { this._classes.push(clazz); };\n EmitterVisitorContext.prototype.popClass = function () { return this._classes.pop(); };\n Object.defineProperty(EmitterVisitorContext.prototype, \"currentClass\", {\n get: function () {\n return this._classes.length > 0 ? this._classes[this._classes.length - 1] : null;\n },\n enumerable: true,\n configurable: true\n });\n EmitterVisitorContext.prototype.toSource = function () {\n var lines = this._lines;\n if (lines[lines.length - 1].parts.length === 0) {\n lines = lines.slice(0, lines.length - 1);\n }\n return lines\n .map(function (line) {\n if (line.parts.length > 0) {\n return _createIndent(line.indent) + line.parts.join('');\n }\n else {\n return '';\n }\n })\n .join('\\n');\n };\n return EmitterVisitorContext;\n }());\n var AbstractEmitterVisitor = (function () {\n function AbstractEmitterVisitor(_escapeDollarInStrings) {\n this._escapeDollarInStrings = _escapeDollarInStrings;\n }\n AbstractEmitterVisitor.prototype.visitExpressionStmt = function (stmt, ctx) {\n stmt.expr.visitExpression(this, ctx);\n ctx.println(';');\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReturnStmt = function (stmt, ctx) {\n ctx.print(\"return \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(';');\n return null;\n };\n AbstractEmitterVisitor.prototype.visitIfStmt = function (stmt, ctx) {\n ctx.print(\"if (\");\n stmt.condition.visitExpression(this, ctx);\n ctx.print(\") {\");\n var hasElseCase = isPresent(stmt.falseCase) && stmt.falseCase.length > 0;\n if (stmt.trueCase.length <= 1 && !hasElseCase) {\n ctx.print(\" \");\n this.visitAllStatements(stmt.trueCase, ctx);\n ctx.removeEmptyLastLine();\n ctx.print(\" \");\n }\n else {\n ctx.println();\n ctx.incIndent();\n this.visitAllStatements(stmt.trueCase, ctx);\n ctx.decIndent();\n if (hasElseCase) {\n ctx.println(\"} else {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.falseCase, ctx);\n ctx.decIndent();\n }\n }\n ctx.println(\"}\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitThrowStmt = function (stmt, ctx) {\n ctx.print(\"throw \");\n stmt.error.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitCommentStmt = function (stmt, ctx) {\n var lines = stmt.comment.split('\\n');\n lines.forEach(function (line) { ctx.println(\"// \" + line); });\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWriteVarExpr = function (expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n ctx.print(expr.name + \" = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWriteKeyExpr = function (expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n expr.receiver.visitExpression(this, ctx);\n ctx.print(\"[\");\n expr.index.visitExpression(this, ctx);\n ctx.print(\"] = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitWritePropExpr = function (expr, ctx) {\n var lineWasEmpty = ctx.lineIsEmpty();\n if (!lineWasEmpty) {\n ctx.print('(');\n }\n expr.receiver.visitExpression(this, ctx);\n ctx.print(\".\" + expr.name + \" = \");\n expr.value.visitExpression(this, ctx);\n if (!lineWasEmpty) {\n ctx.print(')');\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInvokeMethodExpr = function (expr, ctx) {\n expr.receiver.visitExpression(this, ctx);\n var name = expr.name;\n if (isPresent(expr.builtin)) {\n name = this.getBuiltinMethodName(expr.builtin);\n if (isBlank(name)) {\n // some builtins just mean to skip the call.\n return null;\n }\n }\n ctx.print(\".\" + name + \"(\");\n this.visitAllExpressions(expr.args, ctx, \",\");\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\n expr.fn.visitExpression(this, ctx);\n ctx.print(\"(\");\n this.visitAllExpressions(expr.args, ctx, ',');\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\n var varName = ast.name;\n if (isPresent(ast.builtin)) {\n switch (ast.builtin) {\n case BuiltinVar.Super:\n varName = 'super';\n break;\n case BuiltinVar.This:\n varName = 'this';\n break;\n case BuiltinVar.CatchError:\n varName = CATCH_ERROR_VAR$1.name;\n break;\n case BuiltinVar.CatchStack:\n varName = CATCH_STACK_VAR$1.name;\n break;\n default:\n throw new Error(\"Unknown builtin variable \" + ast.builtin);\n }\n }\n ctx.print(varName);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitInstantiateExpr = function (ast, ctx) {\n ctx.print(\"new \");\n ast.classExpr.visitExpression(this, ctx);\n ctx.print(\"(\");\n this.visitAllExpressions(ast.args, ctx, ',');\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralExpr = function (ast, ctx) {\n var value = ast.value;\n if (typeof value === 'string') {\n ctx.print(escapeIdentifier(value, this._escapeDollarInStrings));\n }\n else {\n ctx.print(\"\" + value);\n }\n return null;\n };\n AbstractEmitterVisitor.prototype.visitConditionalExpr = function (ast, ctx) {\n ctx.print(\"(\");\n ast.condition.visitExpression(this, ctx);\n ctx.print('? ');\n ast.trueCase.visitExpression(this, ctx);\n ctx.print(': ');\n ast.falseCase.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitNotExpr = function (ast, ctx) {\n ctx.print('!');\n ast.condition.visitExpression(this, ctx);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\n var opStr;\n switch (ast.operator) {\n case BinaryOperator.Equals:\n opStr = '==';\n break;\n case BinaryOperator.Identical:\n opStr = '===';\n break;\n case BinaryOperator.NotEquals:\n opStr = '!=';\n break;\n case BinaryOperator.NotIdentical:\n opStr = '!==';\n break;\n case BinaryOperator.And:\n opStr = '&&';\n break;\n case BinaryOperator.Or:\n opStr = '||';\n break;\n case BinaryOperator.Plus:\n opStr = '+';\n break;\n case BinaryOperator.Minus:\n opStr = '-';\n break;\n case BinaryOperator.Divide:\n opStr = '/';\n break;\n case BinaryOperator.Multiply:\n opStr = '*';\n break;\n case BinaryOperator.Modulo:\n opStr = '%';\n break;\n case BinaryOperator.Lower:\n opStr = '<';\n break;\n case BinaryOperator.LowerEquals:\n opStr = '<=';\n break;\n case BinaryOperator.Bigger:\n opStr = '>';\n break;\n case BinaryOperator.BiggerEquals:\n opStr = '>=';\n break;\n default:\n throw new Error(\"Unknown operator \" + ast.operator);\n }\n ctx.print(\"(\");\n ast.lhs.visitExpression(this, ctx);\n ctx.print(\" \" + opStr + \" \");\n ast.rhs.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadPropExpr = function (ast, ctx) {\n ast.receiver.visitExpression(this, ctx);\n ctx.print(\".\");\n ctx.print(ast.name);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitReadKeyExpr = function (ast, ctx) {\n ast.receiver.visitExpression(this, ctx);\n ctx.print(\"[\");\n ast.index.visitExpression(this, ctx);\n ctx.print(\"]\");\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n var useNewLine = ast.entries.length > 1;\n ctx.print(\"[\", useNewLine);\n ctx.incIndent();\n this.visitAllExpressions(ast.entries, ctx, ',', useNewLine);\n ctx.decIndent();\n ctx.print(\"]\", useNewLine);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitLiteralMapExpr = function (ast, ctx) {\n var _this = this;\n var useNewLine = ast.entries.length > 1;\n ctx.print(\"{\", useNewLine);\n ctx.incIndent();\n this.visitAllObjects(function (entry) {\n ctx.print(escapeIdentifier(entry[0], _this._escapeDollarInStrings, false) + \": \");\n entry[1].visitExpression(_this, ctx);\n }, ast.entries, ctx, ',', useNewLine);\n ctx.decIndent();\n ctx.print(\"}\", useNewLine);\n return null;\n };\n AbstractEmitterVisitor.prototype.visitAllExpressions = function (expressions, ctx, separator, newLine) {\n var _this = this;\n if (newLine === void 0) { newLine = false; }\n this.visitAllObjects(function (expr) { return expr.visitExpression(_this, ctx); }, expressions, ctx, separator, newLine);\n };\n AbstractEmitterVisitor.prototype.visitAllObjects = function (handler, expressions, ctx, separator, newLine) {\n if (newLine === void 0) { newLine = false; }\n for (var i = 0; i < expressions.length; i++) {\n if (i > 0) {\n ctx.print(separator, newLine);\n }\n handler(expressions[i]);\n }\n if (newLine) {\n ctx.println();\n }\n };\n AbstractEmitterVisitor.prototype.visitAllStatements = function (statements, ctx) {\n var _this = this;\n statements.forEach(function (stmt) { return stmt.visitStatement(_this, ctx); });\n };\n return AbstractEmitterVisitor;\n }());\n function escapeIdentifier(input, escapeDollar, alwaysQuote) {\n if (alwaysQuote === void 0) { alwaysQuote = true; }\n if (isBlank(input)) {\n return null;\n }\n var body = input.replace(_SINGLE_QUOTE_ESCAPE_STRING_RE, function () {\n var match = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n match[_i - 0] = arguments[_i];\n }\n if (match[0] == '$') {\n return escapeDollar ? '\\\\$' : '$';\n }\n else if (match[0] == '\\n') {\n return '\\\\n';\n }\n else if (match[0] == '\\r') {\n return '\\\\r';\n }\n else {\n return \"\\\\\" + match[0];\n }\n });\n var requiresQuotes = alwaysQuote || !_LEGAL_IDENTIFIER_RE.test(body);\n return requiresQuotes ? \"'\" + body + \"'\" : body;\n }\n function _createIndent(count) {\n var res = '';\n for (var i = 0; i < count; i++) {\n res += ' ';\n }\n return res;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$16 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _debugModuleUrl = '/debug/lib';\n function debugOutputAstAsTypeScript(ast) {\n var converter = new _TsEmitterVisitor(_debugModuleUrl);\n var ctx = EmitterVisitorContext.createRoot([]);\n var asts = Array.isArray(ast) ? ast : [ast];\n asts.forEach(function (ast) {\n if (ast instanceof Statement) {\n ast.visitStatement(converter, ctx);\n }\n else if (ast instanceof Expression) {\n ast.visitExpression(converter, ctx);\n }\n else if (ast instanceof Type$1) {\n ast.visitType(converter, ctx);\n }\n else {\n throw new Error(\"Don't know how to print debug info for \" + ast);\n }\n });\n return ctx.toSource();\n }\n var TypeScriptEmitter = (function () {\n function TypeScriptEmitter(_importGenerator) {\n this._importGenerator = _importGenerator;\n }\n TypeScriptEmitter.prototype.emitStatements = function (moduleUrl, stmts, exportedVars) {\n var _this = this;\n var converter = new _TsEmitterVisitor(moduleUrl);\n var ctx = EmitterVisitorContext.createRoot(exportedVars);\n converter.visitAllStatements(stmts, ctx);\n var srcParts = [];\n converter.importsWithPrefixes.forEach(function (prefix, importedModuleUrl) {\n // Note: can't write the real word for import as it screws up system.js auto detection...\n srcParts.push(\"imp\" +\n (\"ort * as \" + prefix + \" from '\" + _this._importGenerator.fileNameToModuleName(importedModuleUrl, moduleUrl) + \"';\"));\n });\n srcParts.push(ctx.toSource());\n return srcParts.join('\\n');\n };\n return TypeScriptEmitter;\n }());\n var _TsEmitterVisitor = (function (_super) {\n __extends$16(_TsEmitterVisitor, _super);\n function _TsEmitterVisitor(_moduleUrl) {\n _super.call(this, false);\n this._moduleUrl = _moduleUrl;\n this.importsWithPrefixes = new Map();\n }\n _TsEmitterVisitor.prototype.visitType = function (t, ctx, defaultType) {\n if (defaultType === void 0) { defaultType = 'any'; }\n if (isPresent(t)) {\n t.visitType(this, ctx);\n }\n else {\n ctx.print(defaultType);\n }\n };\n _TsEmitterVisitor.prototype.visitLiteralExpr = function (ast, ctx) {\n var value = ast.value;\n if (isBlank(value) && ast.type != NULL_TYPE) {\n ctx.print(\"(\" + value + \" as any)\");\n return null;\n }\n return _super.prototype.visitLiteralExpr.call(this, ast, ctx);\n };\n // Temporary workaround to support strictNullCheck enabled consumers of ngc emit.\n // In SNC mode, [] have the type never[], so we cast here to any[].\n // TODO: narrow the cast to a more explicit type, or use a pattern that does not\n // start with [].concat. see https://github.com/angular/angular/pull/11846\n _TsEmitterVisitor.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n if (ast.entries.length === 0) {\n ctx.print('(');\n }\n var result = _super.prototype.visitLiteralArrayExpr.call(this, ast, ctx);\n if (ast.entries.length === 0) {\n ctx.print(' as any[])');\n }\n return result;\n };\n _TsEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n if (stmt.hasModifier(StmtModifier.Final)) {\n ctx.print(\"const\");\n }\n else {\n ctx.print(\"var\");\n }\n ctx.print(\" \" + stmt.name + \":\");\n this.visitType(stmt.type, ctx);\n ctx.print(\" = \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\n ctx.print(\"(<\");\n ast.type.visitType(this, ctx);\n ctx.print(\">\");\n ast.value.visitExpression(this, ctx);\n ctx.print(\")\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n var _this = this;\n ctx.pushClass(stmt);\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n ctx.print(\"class \" + stmt.name);\n if (isPresent(stmt.parent)) {\n ctx.print(\" extends \");\n stmt.parent.visitExpression(this, ctx);\n }\n ctx.println(\" {\");\n ctx.incIndent();\n stmt.fields.forEach(function (field) { return _this._visitClassField(field, ctx); });\n if (isPresent(stmt.constructorMethod)) {\n this._visitClassConstructor(stmt, ctx);\n }\n stmt.getters.forEach(function (getter) { return _this._visitClassGetter(getter, ctx); });\n stmt.methods.forEach(function (method) { return _this._visitClassMethod(method, ctx); });\n ctx.decIndent();\n ctx.println(\"}\");\n ctx.popClass();\n return null;\n };\n _TsEmitterVisitor.prototype._visitClassField = function (field, ctx) {\n if (field.hasModifier(StmtModifier.Private)) {\n // comment out as a workaround for #10967\n ctx.print(\"/*private*/ \");\n }\n ctx.print(field.name);\n ctx.print(':');\n this.visitType(field.type, ctx);\n ctx.println(\";\");\n };\n _TsEmitterVisitor.prototype._visitClassGetter = function (getter, ctx) {\n if (getter.hasModifier(StmtModifier.Private)) {\n ctx.print(\"private \");\n }\n ctx.print(\"get \" + getter.name + \"()\");\n ctx.print(':');\n this.visitType(getter.type, ctx);\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(getter.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\n ctx.print(\"constructor(\");\n this._visitParams(stmt.constructorMethod.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype._visitClassMethod = function (method, ctx) {\n if (method.hasModifier(StmtModifier.Private)) {\n ctx.print(\"private \");\n }\n ctx.print(method.name + \"(\");\n this._visitParams(method.params, ctx);\n ctx.print(\"):\");\n this.visitType(method.type, ctx, 'void');\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(method.body, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n };\n _TsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\n ctx.print(\"(\");\n this._visitParams(ast.params, ctx);\n ctx.print(\"):\");\n this.visitType(ast.type, ctx, 'void');\n ctx.println(\" => {\");\n ctx.incIndent();\n this.visitAllStatements(ast.statements, ctx);\n ctx.decIndent();\n ctx.print(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n if (ctx.isExportedVar(stmt.name)) {\n ctx.print(\"export \");\n }\n ctx.print(\"function \" + stmt.name + \"(\");\n this._visitParams(stmt.params, ctx);\n ctx.print(\"):\");\n this.visitType(stmt.type, ctx, 'void');\n ctx.println(\" {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.statements, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\n ctx.println(\"try {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.bodyStmts, ctx);\n ctx.decIndent();\n ctx.println(\"} catch (\" + CATCH_ERROR_VAR$1.name + \") {\");\n ctx.incIndent();\n var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [\n StmtModifier.Final\n ])].concat(stmt.catchStmts);\n this.visitAllStatements(catchStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitBuiltintType = function (type, ctx) {\n var typeStr;\n switch (type.name) {\n case BuiltinTypeName.Bool:\n typeStr = 'boolean';\n break;\n case BuiltinTypeName.Dynamic:\n typeStr = 'any';\n break;\n case BuiltinTypeName.Function:\n typeStr = 'Function';\n break;\n case BuiltinTypeName.Number:\n typeStr = 'number';\n break;\n case BuiltinTypeName.Int:\n typeStr = 'number';\n break;\n case BuiltinTypeName.String:\n typeStr = 'string';\n break;\n default:\n throw new Error(\"Unsupported builtin type \" + type.name);\n }\n ctx.print(typeStr);\n return null;\n };\n _TsEmitterVisitor.prototype.visitExternalType = function (ast, ctx) {\n this._visitIdentifier(ast.value, ast.typeParams, ctx);\n return null;\n };\n _TsEmitterVisitor.prototype.visitArrayType = function (type, ctx) {\n this.visitType(type.of, ctx);\n ctx.print(\"[]\");\n return null;\n };\n _TsEmitterVisitor.prototype.visitMapType = function (type, ctx) {\n ctx.print(\"{[key: string]:\");\n this.visitType(type.valueType, ctx);\n ctx.print(\"}\");\n return null;\n };\n _TsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\n var name;\n switch (method) {\n case BuiltinMethod.ConcatArray:\n name = 'concat';\n break;\n case BuiltinMethod.SubscribeObservable:\n name = 'subscribe';\n break;\n case BuiltinMethod.Bind:\n name = 'bind';\n break;\n default:\n throw new Error(\"Unknown builtin method: \" + method);\n }\n return name;\n };\n _TsEmitterVisitor.prototype._visitParams = function (params, ctx) {\n var _this = this;\n this.visitAllObjects(function (param) {\n ctx.print(param.name);\n ctx.print(':');\n _this.visitType(param.type, ctx);\n }, params, ctx, ',');\n };\n _TsEmitterVisitor.prototype._visitIdentifier = function (value, typeParams, ctx) {\n var _this = this;\n if (isBlank(value.name)) {\n throw new Error(\"Internal error: unknown identifier \" + value);\n }\n if (isPresent(value.moduleUrl) && value.moduleUrl != this._moduleUrl) {\n var prefix = this.importsWithPrefixes.get(value.moduleUrl);\n if (isBlank(prefix)) {\n prefix = \"import\" + this.importsWithPrefixes.size;\n this.importsWithPrefixes.set(value.moduleUrl, prefix);\n }\n ctx.print(prefix + \".\");\n }\n if (value.reference && value.reference.members) {\n ctx.print(value.reference.name);\n ctx.print('.');\n ctx.print(value.reference.members.join('.'));\n }\n else {\n ctx.print(value.name);\n }\n if (isPresent(typeParams) && typeParams.length > 0) {\n ctx.print(\"<\");\n this.visitAllObjects(function (type) { return type.visitType(_this, ctx); }, typeParams, ctx, ',');\n ctx.print(\">\");\n }\n };\n return _TsEmitterVisitor;\n }(AbstractEmitterVisitor));\n\n // =================================================================================================\n // =================================================================================================\n // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========\n // =================================================================================================\n // =================================================================================================\n //\n // DO NOT EDIT THIS LIST OF SECURITY SENSITIVE PROPERTIES WITHOUT A SECURITY REVIEW!\n // Reach out to mprobst for details.\n //\n // =================================================================================================\n /** Map from tagName|propertyName SecurityContext. Properties applying to all tags use '*'. */\n var SECURITY_SCHEMA = {};\n function registerContext(ctx, specs) {\n for (var _i = 0, specs_1 = specs; _i < specs_1.length; _i++) {\n var spec = specs_1[_i];\n SECURITY_SCHEMA[spec.toLowerCase()] = ctx;\n }\n }\n // Case is insignificant below, all element and attribute names are lower-cased for lookup.\n registerContext(_angular_core.SecurityContext.HTML, [\n 'iframe|srcdoc',\n '*|innerHTML',\n '*|outerHTML',\n ]);\n registerContext(_angular_core.SecurityContext.STYLE, ['*|style']);\n // NB: no SCRIPT contexts here, they are never allowed due to the parser stripping them.\n registerContext(_angular_core.SecurityContext.URL, [\n '*|formAction', 'area|href', 'area|ping', 'audio|src', 'a|href',\n 'a|ping', 'blockquote|cite', 'body|background', 'del|cite', 'form|action',\n 'img|src', 'img|srcset', 'input|src', 'ins|cite', 'q|cite',\n 'source|src', 'source|srcset', 'track|src', 'video|poster', 'video|src',\n ]);\n registerContext(_angular_core.SecurityContext.RESOURCE_URL, [\n 'applet|code',\n 'applet|codebase',\n 'base|href',\n 'embed|src',\n 'frame|src',\n 'head|profile',\n 'html|manifest',\n 'iframe|src',\n 'link|href',\n 'media|src',\n 'object|codebase',\n 'object|data',\n 'script|src',\n ]);\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$17 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var BOOLEAN = 'boolean';\n var NUMBER = 'number';\n var STRING = 'string';\n var OBJECT = 'object';\n /**\n * This array represents the DOM schema. It encodes inheritance, properties, and events.\n *\n * ## Overview\n *\n * Each line represents one kind of element. The `element_inheritance` and properties are joined\n * using `element_inheritance|properties` syntax.\n *\n * ## Element Inheritance\n *\n * The `element_inheritance` can be further subdivided as `element1,element2,...^parentElement`.\n * Here the individual elements are separated by `,` (commas). Every element in the list\n * has identical properties.\n *\n * An `element` may inherit additional properties from `parentElement` If no `^parentElement` is\n * specified then `\"\"` (blank) element is assumed.\n *\n * NOTE: The blank element inherits from root `[Element]` element, the super element of all\n * elements.\n *\n * NOTE an element prefix such as `:svg:` has no special meaning to the schema.\n *\n * ## Properties\n *\n * Each element has a set of properties separated by `,` (commas). Each property can be prefixed\n * by a special character designating its type:\n *\n * - (no prefix): property is a string.\n * - `*`: property represents an event.\n * - `!`: property is a boolean.\n * - `#`: property is a number.\n * - `%`: property is an object.\n *\n * ## Query\n *\n * The class creates an internal squas representation which allows to easily answer the query of\n * if a given property exist on a given element.\n *\n * NOTE: We don't yet support querying for types or events.\n * NOTE: This schema is auto extracted from `schema_extractor.ts` located in the test folder,\n * see dom_element_schema_registry_spec.ts\n */\n // =================================================================================================\n // =================================================================================================\n // =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========\n // =================================================================================================\n // =================================================================================================\n //\n // DO NOT EDIT THIS DOM SCHEMA WITHOUT A SECURITY REVIEW!\n //\n // Newly added properties must be security reviewed and assigned an appropriate SecurityContext in\n // dom_security_schema.ts. Reach out to mprobst & rjamet for details.\n //\n // =================================================================================================\n var SCHEMA = [\n '[Element]|textContent,%classList,className,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*copy,*cut,*paste,*search,*selectstart,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerHTML,#scrollLeft,#scrollTop',\n '[HTMLElement]^[Element]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n 'abbr,address,article,aside,b,bdi,bdo,cite,code,dd,dfn,dt,em,figcaption,figure,footer,header,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,contentEditable,dir,!draggable,!hidden,innerText,lang,*abort,*beforecopy,*beforecut,*beforepaste,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*message,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*paste,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*search,*seeked,*seeking,*select,*selectstart,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored,*webkitfullscreenchange,*webkitfullscreenerror,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate',\n 'media^[HTMLElement]|!autoplay,!controls,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,#playbackRate,preload,src,%srcObject,#volume',\n ':svg:^[HTMLElement]|*abort,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*cuechange,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*pause,*play,*playing,*progress,*ratechange,*reset,*resize,*scroll,*seeked,*seeking,*select,*show,*stalled,*submit,*suspend,*timeupdate,*toggle,*volumechange,*waiting,%style,#tabIndex',\n ':svg:graphics^:svg:|',\n ':svg:animation^:svg:|*begin,*end,*repeat',\n ':svg:geometry^:svg:|',\n ':svg:componentTransferFunction^:svg:|',\n ':svg:gradient^:svg:|',\n ':svg:textContent^:svg:graphics|',\n ':svg:textPositioning^:svg:textContent|',\n 'a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,rev,search,shape,target,text,type,username',\n 'area^[HTMLElement]|alt,coords,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,search,shape,target,username',\n 'audio^media|',\n 'br^[HTMLElement]|clear',\n 'base^[HTMLElement]|href,target',\n 'body^[HTMLElement]|aLink,background,bgColor,link,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink',\n 'button^[HTMLElement]|!autofocus,!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value',\n 'canvas^[HTMLElement]|#height,#width',\n 'content^[HTMLElement]|select',\n 'dl^[HTMLElement]|!compact',\n 'datalist^[HTMLElement]|',\n 'details^[HTMLElement]|!open',\n 'dialog^[HTMLElement]|!open,returnValue',\n 'dir^[HTMLElement]|!compact',\n 'div^[HTMLElement]|align',\n 'embed^[HTMLElement]|align,height,name,src,type,width',\n 'fieldset^[HTMLElement]|!disabled,name',\n 'font^[HTMLElement]|color,face,size',\n 'form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target',\n 'frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src',\n 'frameset^[HTMLElement]|cols,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows',\n 'hr^[HTMLElement]|align,color,!noShade,size,width',\n 'head^[HTMLElement]|',\n 'h1,h2,h3,h4,h5,h6^[HTMLElement]|align',\n 'html^[HTMLElement]|version',\n 'iframe^[HTMLElement]|align,!allowFullscreen,frameBorder,height,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width',\n 'img^[HTMLElement]|align,alt,border,%crossOrigin,#height,#hspace,!isMap,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width',\n 'input^[HTMLElement]|accept,align,alt,autocapitalize,autocomplete,!autofocus,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width',\n 'keygen^[HTMLElement]|!autofocus,challenge,!disabled,keytype,name',\n 'li^[HTMLElement]|type,#value',\n 'label^[HTMLElement]|htmlFor',\n 'legend^[HTMLElement]|align',\n 'link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,integrity,media,rel,%relList,rev,%sizes,target,type',\n 'map^[HTMLElement]|name',\n 'marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width',\n 'menu^[HTMLElement]|!compact',\n 'meta^[HTMLElement]|content,httpEquiv,name,scheme',\n 'meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value',\n 'ins,del^[HTMLElement]|cite,dateTime',\n 'ol^[HTMLElement]|!compact,!reversed,#start,type',\n 'object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width',\n 'optgroup^[HTMLElement]|!disabled,label',\n 'option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value',\n 'output^[HTMLElement]|defaultValue,%htmlFor,name,value',\n 'p^[HTMLElement]|align',\n 'param^[HTMLElement]|name,type,value,valueType',\n 'picture^[HTMLElement]|',\n 'pre^[HTMLElement]|#width',\n 'progress^[HTMLElement]|#max,#value',\n 'q,blockquote,cite^[HTMLElement]|',\n 'script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,src,text,type',\n 'select^[HTMLElement]|!autofocus,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value',\n 'shadow^[HTMLElement]|',\n 'source^[HTMLElement]|media,sizes,src,srcset,type',\n 'span^[HTMLElement]|',\n 'style^[HTMLElement]|!disabled,media,type',\n 'caption^[HTMLElement]|align',\n 'th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width',\n 'col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width',\n 'table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width',\n 'tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign',\n 'tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign',\n 'template^[HTMLElement]|',\n 'textarea^[HTMLElement]|autocapitalize,!autofocus,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap',\n 'title^[HTMLElement]|text',\n 'track^[HTMLElement]|!default,kind,label,src,srclang',\n 'ul^[HTMLElement]|!compact,type',\n 'unknown^[HTMLElement]|',\n 'video^media|#height,poster,#width',\n ':svg:a^:svg:graphics|',\n ':svg:animate^:svg:animation|',\n ':svg:animateMotion^:svg:animation|',\n ':svg:animateTransform^:svg:animation|',\n ':svg:circle^:svg:geometry|',\n ':svg:clipPath^:svg:graphics|',\n ':svg:cursor^:svg:|',\n ':svg:defs^:svg:graphics|',\n ':svg:desc^:svg:|',\n ':svg:discard^:svg:|',\n ':svg:ellipse^:svg:geometry|',\n ':svg:feBlend^:svg:|',\n ':svg:feColorMatrix^:svg:|',\n ':svg:feComponentTransfer^:svg:|',\n ':svg:feComposite^:svg:|',\n ':svg:feConvolveMatrix^:svg:|',\n ':svg:feDiffuseLighting^:svg:|',\n ':svg:feDisplacementMap^:svg:|',\n ':svg:feDistantLight^:svg:|',\n ':svg:feDropShadow^:svg:|',\n ':svg:feFlood^:svg:|',\n ':svg:feFuncA^:svg:componentTransferFunction|',\n ':svg:feFuncB^:svg:componentTransferFunction|',\n ':svg:feFuncG^:svg:componentTransferFunction|',\n ':svg:feFuncR^:svg:componentTransferFunction|',\n ':svg:feGaussianBlur^:svg:|',\n ':svg:feImage^:svg:|',\n ':svg:feMerge^:svg:|',\n ':svg:feMergeNode^:svg:|',\n ':svg:feMorphology^:svg:|',\n ':svg:feOffset^:svg:|',\n ':svg:fePointLight^:svg:|',\n ':svg:feSpecularLighting^:svg:|',\n ':svg:feSpotLight^:svg:|',\n ':svg:feTile^:svg:|',\n ':svg:feTurbulence^:svg:|',\n ':svg:filter^:svg:|',\n ':svg:foreignObject^:svg:graphics|',\n ':svg:g^:svg:graphics|',\n ':svg:image^:svg:graphics|',\n ':svg:line^:svg:geometry|',\n ':svg:linearGradient^:svg:gradient|',\n ':svg:mpath^:svg:|',\n ':svg:marker^:svg:|',\n ':svg:mask^:svg:|',\n ':svg:metadata^:svg:|',\n ':svg:path^:svg:geometry|',\n ':svg:pattern^:svg:|',\n ':svg:polygon^:svg:geometry|',\n ':svg:polyline^:svg:geometry|',\n ':svg:radialGradient^:svg:gradient|',\n ':svg:rect^:svg:geometry|',\n ':svg:svg^:svg:graphics|#currentScale,#zoomAndPan',\n ':svg:script^:svg:|type',\n ':svg:set^:svg:animation|',\n ':svg:stop^:svg:|',\n ':svg:style^:svg:|!disabled,media,title,type',\n ':svg:switch^:svg:graphics|',\n ':svg:symbol^:svg:|',\n ':svg:tspan^:svg:textPositioning|',\n ':svg:text^:svg:textPositioning|',\n ':svg:textPath^:svg:textContent|',\n ':svg:title^:svg:|',\n ':svg:use^:svg:graphics|',\n ':svg:view^:svg:|#zoomAndPan',\n 'data^[HTMLElement]|value',\n 'menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default',\n 'summary^[HTMLElement]|',\n 'time^[HTMLElement]|dateTime',\n ];\n var _ATTR_TO_PROP = {\n 'class': 'className',\n 'for': 'htmlFor',\n 'formaction': 'formAction',\n 'innerHtml': 'innerHTML',\n 'readonly': 'readOnly',\n 'tabindex': 'tabIndex',\n };\n var DomElementSchemaRegistry = (function (_super) {\n __extends$17(DomElementSchemaRegistry, _super);\n function DomElementSchemaRegistry() {\n var _this = this;\n _super.call(this);\n this._schema = {};\n SCHEMA.forEach(function (encodedType) {\n var type = {};\n var _a = encodedType.split('|'), strType = _a[0], strProperties = _a[1];\n var properties = strProperties.split(',');\n var _b = strType.split('^'), typeNames = _b[0], superName = _b[1];\n typeNames.split(',').forEach(function (tag) { return _this._schema[tag.toLowerCase()] = type; });\n var superType = superName && _this._schema[superName.toLowerCase()];\n if (superType) {\n Object.keys(superType).forEach(function (prop) { type[prop] = superType[prop]; });\n }\n properties.forEach(function (property) {\n if (property.length > 0) {\n switch (property[0]) {\n case '*':\n // We don't yet support events.\n // If ever allowing to bind to events, GO THROUGH A SECURITY REVIEW, allowing events\n // will\n // almost certainly introduce bad XSS vulnerabilities.\n // type[property.substring(1)] = EVENT;\n break;\n case '!':\n type[property.substring(1)] = BOOLEAN;\n break;\n case '#':\n type[property.substring(1)] = NUMBER;\n break;\n case '%':\n type[property.substring(1)] = OBJECT;\n break;\n default:\n type[property] = STRING;\n }\n }\n });\n });\n }\n DomElementSchemaRegistry.prototype.hasProperty = function (tagName, propName, schemaMetas) {\n if (schemaMetas.some(function (schema) { return schema.name === _angular_core.NO_ERRORS_SCHEMA.name; })) {\n return true;\n }\n if (tagName.indexOf('-') > -1) {\n if (tagName === 'ng-container' || tagName === 'ng-content') {\n return false;\n }\n if (schemaMetas.some(function (schema) { return schema.name === _angular_core.CUSTOM_ELEMENTS_SCHEMA.name; })) {\n // Can't tell now as we don't know which properties a custom element will get\n // once it is instantiated\n return true;\n }\n }\n var elementProperties = this._schema[tagName.toLowerCase()] || this._schema['unknown'];\n return !!elementProperties[propName];\n };\n DomElementSchemaRegistry.prototype.hasElement = function (tagName, schemaMetas) {\n if (schemaMetas.some(function (schema) { return schema.name === _angular_core.NO_ERRORS_SCHEMA.name; })) {\n return true;\n }\n if (tagName.indexOf('-') > -1) {\n if (tagName === 'ng-container' || tagName === 'ng-content') {\n return true;\n }\n if (schemaMetas.some(function (schema) { return schema.name === _angular_core.CUSTOM_ELEMENTS_SCHEMA.name; })) {\n // Allow any custom elements\n return true;\n }\n }\n return !!this._schema[tagName.toLowerCase()];\n };\n /**\n * securityContext returns the security context for the given property on the given DOM tag.\n *\n * Tag and property name are statically known and cannot change at runtime, i.e. it is not\n * possible to bind a value into a changing attribute or tag name.\n *\n * The filtering is white list based. All attributes in the schema above are assumed to have the\n * 'NONE' security context, i.e. that they are safe inert string values. Only specific well known\n * attack vectors are assigned their appropriate context.\n */\n DomElementSchemaRegistry.prototype.securityContext = function (tagName, propName, isAttribute) {\n if (isAttribute) {\n // NB: For security purposes, use the mapped property name, not the attribute name.\n propName = this.getMappedPropName(propName);\n }\n // Make sure comparisons are case insensitive, so that case differences between attribute and\n // property names do not have a security impact.\n tagName = tagName.toLowerCase();\n propName = propName.toLowerCase();\n var ctx = SECURITY_SCHEMA[tagName + '|' + propName];\n if (ctx) {\n return ctx;\n }\n ctx = SECURITY_SCHEMA['*|' + propName];\n return ctx ? ctx : _angular_core.SecurityContext.NONE;\n };\n DomElementSchemaRegistry.prototype.getMappedPropName = function (propName) { return _ATTR_TO_PROP[propName] || propName; };\n DomElementSchemaRegistry.prototype.getDefaultComponentElementName = function () { return 'ng-component'; };\n DomElementSchemaRegistry.prototype.validateProperty = function (name) {\n if (name.toLowerCase().startsWith('on')) {\n var msg = (\"Binding to event property '\" + name + \"' is disallowed for security reasons, \") +\n (\"please use (\" + name.slice(2) + \")=...\") +\n (\"\\nIf '\" + name + \"' is a directive input, make sure the directive is imported by the\") +\n \" current module.\";\n return { error: true, msg: msg };\n }\n else {\n return { error: false };\n }\n };\n DomElementSchemaRegistry.prototype.validateAttribute = function (name) {\n if (name.toLowerCase().startsWith('on')) {\n var msg = (\"Binding to event attribute '\" + name + \"' is disallowed for security reasons, \") +\n (\"please use (\" + name.slice(2) + \")=...\");\n return { error: true, msg: msg };\n }\n else {\n return { error: false };\n }\n };\n DomElementSchemaRegistry.prototype.allKnownElementNames = function () { return Object.keys(this._schema); };\n DomElementSchemaRegistry.prototype.normalizeAnimationStyleProperty = function (propName) {\n return dashCaseToCamelCase(propName);\n };\n DomElementSchemaRegistry.prototype.normalizeAnimationStyleValue = function (camelCaseProp, userProvidedProp, val) {\n var unit = '';\n var strVal = val.toString().trim();\n var errorMsg = null;\n if (_isPixelDimensionStyle(camelCaseProp) && val !== 0 && val !== '0') {\n if (typeof val === 'number') {\n unit = 'px';\n }\n else {\n var valAndSuffixMatch = val.match(/^[+-]?[\\d\\.]+([a-z]*)$/);\n if (valAndSuffixMatch && valAndSuffixMatch[1].length == 0) {\n errorMsg = \"Please provide a CSS unit value for \" + userProvidedProp + \":\" + val;\n }\n }\n }\n return { error: errorMsg, value: strVal + unit };\n };\n DomElementSchemaRegistry.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DomElementSchemaRegistry.ctorParameters = [];\n return DomElementSchemaRegistry;\n }(ElementSchemaRegistry));\n function _isPixelDimensionStyle(prop) {\n switch (prop) {\n case 'width':\n case 'height':\n case 'minWidth':\n case 'minHeight':\n case 'maxWidth':\n case 'maxHeight':\n case 'left':\n case 'top':\n case 'bottom':\n case 'right':\n case 'fontSize':\n case 'outlineWidth':\n case 'outlineOffset':\n case 'paddingTop':\n case 'paddingLeft':\n case 'paddingBottom':\n case 'paddingRight':\n case 'marginTop':\n case 'marginLeft':\n case 'marginBottom':\n case 'marginRight':\n case 'borderRadius':\n case 'borderWidth':\n case 'borderTopWidth':\n case 'borderLeftWidth':\n case 'borderRightWidth':\n case 'borderBottomWidth':\n case 'textIndent':\n return true;\n default:\n return false;\n }\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * This file is a port of shadowCSS from webcomponents.js to TypeScript.\n *\n * Please make sure to keep to edits in sync with the source file.\n *\n * Source:\n * https://github.com/webcomponents/webcomponentsjs/blob/4efecd7e0e/src/ShadowCSS/ShadowCSS.js\n *\n * The original file level comment is reproduced below\n */\n /*\n This is a limited shim for ShadowDOM css styling.\n https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles\n\n The intention here is to support only the styling features which can be\n relatively simply implemented. The goal is to allow users to avoid the\n most obvious pitfalls and do so without compromising performance significantly.\n For ShadowDOM styling that's not covered here, a set of best practices\n can be provided that should allow users to accomplish more complex styling.\n\n The following is a list of specific ShadowDOM styling features and a brief\n discussion of the approach used to shim.\n\n Shimmed features:\n\n * :host, :host-context: ShadowDOM allows styling of the shadowRoot's host\n element using the :host rule. To shim this feature, the :host styles are\n reformatted and prefixed with a given scope name and promoted to a\n document level stylesheet.\n For example, given a scope name of .foo, a rule like this:\n\n :host {\n background: red;\n }\n }\n\n becomes:\n\n .foo {\n background: red;\n }\n\n * encapsulation: Styles defined within ShadowDOM, apply only to\n dom inside the ShadowDOM. Polymer uses one of two techniques to implement\n this feature.\n\n By default, rules are prefixed with the host element tag name\n as a descendant selector. This ensures styling does not leak out of the 'top'\n of the element's ShadowDOM. For example,\n\n div {\n font-weight: bold;\n }\n\n becomes:\n\n x-foo div {\n font-weight: bold;\n }\n\n becomes:\n\n\n Alternatively, if WebComponents.ShadowCSS.strictStyling is set to true then\n selectors are scoped by adding an attribute selector suffix to each\n simple selector that contains the host element tag name. Each element\n in the element's ShadowDOM template is also given the scope attribute.\n Thus, these rules match only elements that have the scope attribute.\n For example, given a scope name of x-foo, a rule like this:\n\n div {\n font-weight: bold;\n }\n\n becomes:\n\n div[x-foo] {\n font-weight: bold;\n }\n\n Note that elements that are dynamically added to a scope must have the scope\n selector added to them manually.\n\n * upper/lower bound encapsulation: Styles which are defined outside a\n shadowRoot should not cross the ShadowDOM boundary and should not apply\n inside a shadowRoot.\n\n This styling behavior is not emulated. Some possible ways to do this that\n were rejected due to complexity and/or performance concerns include: (1) reset\n every possible property for every possible selector for a given scope name;\n (2) re-implement css in javascript.\n\n As an alternative, users should make sure to use selectors\n specific to the scope in which they are working.\n\n * ::distributed: This behavior is not emulated. It's often not necessary\n to style the contents of a specific insertion point and instead, descendants\n of the host element can be styled selectively. Users can also create an\n extra node around an insertion point and style that node's contents\n via descendent selectors. For example, with a shadowRoot like this:\n\n <style>\n ::content(div) {\n background: red;\n }\n </style>\n <content></content>\n\n could become:\n\n <style>\n / *@polyfill .content-container div * /\n ::content(div) {\n background: red;\n }\n </style>\n <div class=\"content-container\">\n <content></content>\n </div>\n\n Note the use of @polyfill in the comment above a ShadowDOM specific style\n declaration. This is a directive to the styling shim to use the selector\n in comments in lieu of the next selector when running under polyfill.\n */\n var ShadowCss = (function () {\n function ShadowCss() {\n this.strictStyling = true;\n }\n /*\n * Shim some cssText with the given selector. Returns cssText that can\n * be included in the document via WebComponents.ShadowCSS.addCssToDocument(css).\n *\n * When strictStyling is true:\n * - selector is the attribute added to all elements inside the host,\n * - hostSelector is the attribute added to the host itself.\n */\n ShadowCss.prototype.shimCssText = function (cssText, selector, hostSelector) {\n if (hostSelector === void 0) { hostSelector = ''; }\n var sourceMappingUrl = extractSourceMappingUrl(cssText);\n cssText = stripComments(cssText);\n cssText = this._insertDirectives(cssText);\n return this._scopeCssText(cssText, selector, hostSelector) + sourceMappingUrl;\n };\n ShadowCss.prototype._insertDirectives = function (cssText) {\n cssText = this._insertPolyfillDirectivesInCssText(cssText);\n return this._insertPolyfillRulesInCssText(cssText);\n };\n /*\n * Process styles to convert native ShadowDOM rules that will trip\n * up the css parser; we rely on decorating the stylesheet with inert rules.\n *\n * For example, we convert this rule:\n *\n * polyfill-next-selector { content: ':host menu-item'; }\n * ::content menu-item {\n *\n * to this:\n *\n * scopeName menu-item {\n *\n **/\n ShadowCss.prototype._insertPolyfillDirectivesInCssText = function (cssText) {\n // Difference with webcomponents.js: does not handle comments\n return cssText.replace(_cssContentNextSelectorRe, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n return m[2] + '{';\n });\n };\n /*\n * Process styles to add rules which will only apply under the polyfill\n *\n * For example, we convert this rule:\n *\n * polyfill-rule {\n * content: ':host menu-item';\n * ...\n * }\n *\n * to this:\n *\n * scopeName menu-item {...}\n *\n **/\n ShadowCss.prototype._insertPolyfillRulesInCssText = function (cssText) {\n // Difference with webcomponents.js: does not handle comments\n return cssText.replace(_cssContentRuleRe, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n var rule = m[0].replace(m[1], '').replace(m[2], '');\n return m[4] + rule;\n });\n };\n /* Ensure styles are scoped. Pseudo-scoping takes a rule like:\n *\n * .foo {... }\n *\n * and converts this to\n *\n * scopeName .foo { ... }\n */\n ShadowCss.prototype._scopeCssText = function (cssText, scopeSelector, hostSelector) {\n var unscopedRules = this._extractUnscopedRulesFromCssText(cssText);\n // replace :host and :host-context -shadowcsshost and -shadowcsshost respectively\n cssText = this._insertPolyfillHostInCssText(cssText);\n cssText = this._convertColonHost(cssText);\n cssText = this._convertColonHostContext(cssText);\n cssText = this._convertShadowDOMSelectors(cssText);\n if (scopeSelector) {\n cssText = this._scopeSelectors(cssText, scopeSelector, hostSelector);\n }\n cssText = cssText + '\\n' + unscopedRules;\n return cssText.trim();\n };\n /*\n * Process styles to add rules which will only apply under the polyfill\n * and do not process via CSSOM. (CSSOM is destructive to rules on rare\n * occasions, e.g. -webkit-calc on Safari.)\n * For example, we convert this rule:\n *\n * @polyfill-unscoped-rule {\n * content: 'menu-item';\n * ... }\n *\n * to this:\n *\n * menu-item {...}\n *\n **/\n ShadowCss.prototype._extractUnscopedRulesFromCssText = function (cssText) {\n // Difference with webcomponents.js: does not handle comments\n var r = '';\n var m;\n _cssContentUnscopedRuleRe.lastIndex = 0;\n while ((m = _cssContentUnscopedRuleRe.exec(cssText)) !== null) {\n var rule = m[0].replace(m[2], '').replace(m[1], m[4]);\n r += rule + '\\n\\n';\n }\n return r;\n };\n /*\n * convert a rule like :host(.foo) > .bar { }\n *\n * to\n *\n * .foo<scopeName> > .bar\n */\n ShadowCss.prototype._convertColonHost = function (cssText) {\n return this._convertColonRule(cssText, _cssColonHostRe, this._colonHostPartReplacer);\n };\n /*\n * convert a rule like :host-context(.foo) > .bar { }\n *\n * to\n *\n * .foo<scopeName> > .bar, .foo scopeName > .bar { }\n *\n * and\n *\n * :host-context(.foo:host) .bar { ... }\n *\n * to\n *\n * .foo<scopeName> .bar { ... }\n */\n ShadowCss.prototype._convertColonHostContext = function (cssText) {\n return this._convertColonRule(cssText, _cssColonHostContextRe, this._colonHostContextPartReplacer);\n };\n ShadowCss.prototype._convertColonRule = function (cssText, regExp, partReplacer) {\n // m[1] = :host(-context), m[2] = contents of (), m[3] rest of rule\n return cssText.replace(regExp, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n if (m[2]) {\n var parts = m[2].split(',');\n var r = [];\n for (var i = 0; i < parts.length; i++) {\n var p = parts[i].trim();\n if (!p)\n break;\n r.push(partReplacer(_polyfillHostNoCombinator, p, m[3]));\n }\n return r.join(',');\n }\n else {\n return _polyfillHostNoCombinator + m[3];\n }\n });\n };\n ShadowCss.prototype._colonHostContextPartReplacer = function (host, part, suffix) {\n if (part.indexOf(_polyfillHost) > -1) {\n return this._colonHostPartReplacer(host, part, suffix);\n }\n else {\n return host + part + suffix + ', ' + part + ' ' + host + suffix;\n }\n };\n ShadowCss.prototype._colonHostPartReplacer = function (host, part, suffix) {\n return host + part.replace(_polyfillHost, '') + suffix;\n };\n /*\n * Convert combinators like ::shadow and pseudo-elements like ::content\n * by replacing with space.\n */\n ShadowCss.prototype._convertShadowDOMSelectors = function (cssText) {\n return _shadowDOMSelectorsRe.reduce(function (result, pattern) { return result.replace(pattern, ' '); }, cssText);\n };\n // change a selector like 'div' to 'name div'\n ShadowCss.prototype._scopeSelectors = function (cssText, scopeSelector, hostSelector) {\n var _this = this;\n return processRules(cssText, function (rule) {\n var selector = rule.selector;\n var content = rule.content;\n if (rule.selector[0] != '@') {\n selector =\n _this._scopeSelector(rule.selector, scopeSelector, hostSelector, _this.strictStyling);\n }\n else if (rule.selector.startsWith('@media') || rule.selector.startsWith('@supports') ||\n rule.selector.startsWith('@page') || rule.selector.startsWith('@document')) {\n content = _this._scopeSelectors(rule.content, scopeSelector, hostSelector);\n }\n return new CssRule(selector, content);\n });\n };\n ShadowCss.prototype._scopeSelector = function (selector, scopeSelector, hostSelector, strict) {\n var _this = this;\n return selector.split(',')\n .map(function (part) { return part.trim().split(_shadowDeepSelectors); })\n .map(function (deepParts) {\n var shallowPart = deepParts[0], otherParts = deepParts.slice(1);\n var applyScope = function (shallowPart) {\n if (_this._selectorNeedsScoping(shallowPart, scopeSelector)) {\n return strict ?\n _this._applyStrictSelectorScope(shallowPart, scopeSelector, hostSelector) :\n _this._applySelectorScope(shallowPart, scopeSelector, hostSelector);\n }\n else {\n return shallowPart;\n }\n };\n return [applyScope(shallowPart)].concat(otherParts).join(' ');\n })\n .join(', ');\n };\n ShadowCss.prototype._selectorNeedsScoping = function (selector, scopeSelector) {\n var re = this._makeScopeMatcher(scopeSelector);\n return !re.test(selector);\n };\n ShadowCss.prototype._makeScopeMatcher = function (scopeSelector) {\n var lre = /\\[/g;\n var rre = /\\]/g;\n scopeSelector = scopeSelector.replace(lre, '\\\\[').replace(rre, '\\\\]');\n return new RegExp('^(' + scopeSelector + ')' + _selectorReSuffix, 'm');\n };\n ShadowCss.prototype._applySelectorScope = function (selector, scopeSelector, hostSelector) {\n // Difference from webcomponents.js: scopeSelector could not be an array\n return this._applySimpleSelectorScope(selector, scopeSelector, hostSelector);\n };\n // scope via name and [is=name]\n ShadowCss.prototype._applySimpleSelectorScope = function (selector, scopeSelector, hostSelector) {\n // In Android browser, the lastIndex is not reset when the regex is used in String.replace()\n _polyfillHostRe.lastIndex = 0;\n if (_polyfillHostRe.test(selector)) {\n var replaceBy_1 = this.strictStyling ? \"[\" + hostSelector + \"]\" : scopeSelector;\n return selector\n .replace(_polyfillHostNoCombinatorRe, function (hnc, selector) {\n return selector.replace(/([^:]*)(:*)(.*)/, function (_, before, colon, after) {\n return before + replaceBy_1 + colon + after;\n });\n })\n .replace(_polyfillHostRe, replaceBy_1 + ' ');\n }\n return scopeSelector + ' ' + selector;\n };\n // return a selector with [name] suffix on each simple selector\n // e.g. .foo.bar > .zot becomes .foo[name].bar[name] > .zot[name] /** @internal */\n ShadowCss.prototype._applyStrictSelectorScope = function (selector, scopeSelector, hostSelector) {\n var _this = this;\n var isRe = /\\[is=([^\\]]*)\\]/g;\n scopeSelector = scopeSelector.replace(isRe, function (_) {\n var parts = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n parts[_i - 1] = arguments[_i];\n }\n return parts[0];\n });\n var attrName = '[' + scopeSelector + ']';\n var _scopeSelectorPart = function (p) {\n var scopedP = p.trim();\n if (!scopedP) {\n return '';\n }\n if (p.indexOf(_polyfillHostNoCombinator) > -1) {\n scopedP = _this._applySimpleSelectorScope(p, scopeSelector, hostSelector);\n }\n else {\n // remove :host since it should be unnecessary\n var t = p.replace(_polyfillHostRe, '');\n if (t.length > 0) {\n var matches = t.match(/([^:]*)(:*)(.*)/);\n if (matches) {\n scopedP = matches[1] + attrName + matches[2] + matches[3];\n }\n }\n }\n return scopedP;\n };\n var safeContent = new SafeSelector(selector);\n selector = safeContent.content();\n var scopedSelector = '';\n var startIndex = 0;\n var res;\n var sep = /( |>|\\+|~(?!=))\\s*/g;\n var scopeAfter = selector.indexOf(_polyfillHostNoCombinator);\n while ((res = sep.exec(selector)) !== null) {\n var separator = res[1];\n var part = selector.slice(startIndex, res.index).trim();\n // if a selector appears before :host-context it should not be shimmed as it\n // matches on ancestor elements and not on elements in the host's shadow\n var scopedPart = startIndex >= scopeAfter ? _scopeSelectorPart(part) : part;\n scopedSelector += scopedPart + \" \" + separator + \" \";\n startIndex = sep.lastIndex;\n }\n scopedSelector += _scopeSelectorPart(selector.substring(startIndex));\n // replace the placeholders with their original values\n return safeContent.restore(scopedSelector);\n };\n ShadowCss.prototype._insertPolyfillHostInCssText = function (selector) {\n return selector.replace(_colonHostContextRe, _polyfillHostContext)\n .replace(_colonHostRe, _polyfillHost);\n };\n return ShadowCss;\n }());\n var SafeSelector = (function () {\n function SafeSelector(selector) {\n var _this = this;\n this.placeholders = [];\n this.index = 0;\n // Replaces attribute selectors with placeholders.\n // The WS in [attr=\"va lue\"] would otherwise be interpreted as a selector separator.\n selector = selector.replace(/(\\[[^\\]]*\\])/g, function (_, keep) {\n var replaceBy = \"__ph-\" + _this.index + \"__\";\n _this.placeholders.push(keep);\n _this.index++;\n return replaceBy;\n });\n // Replaces the expression in `:nth-child(2n + 1)` with a placeholder.\n // WS and \"+\" would otherwise be interpreted as selector separators.\n this._content = selector.replace(/(:nth-[-\\w]+)(\\([^)]+\\))/g, function (_, pseudo, exp) {\n var replaceBy = \"__ph-\" + _this.index + \"__\";\n _this.placeholders.push(exp);\n _this.index++;\n return pseudo + replaceBy;\n });\n }\n ;\n SafeSelector.prototype.restore = function (content) {\n var _this = this;\n return content.replace(/__ph-(\\d+)__/g, function (ph, index) { return _this.placeholders[+index]; });\n };\n SafeSelector.prototype.content = function () { return this._content; };\n return SafeSelector;\n }());\n var _cssContentNextSelectorRe = /polyfill-next-selector[^}]*content:[\\s]*?(['\"])(.*?)\\1[;\\s]*}([^{]*?){/gim;\n var _cssContentRuleRe = /(polyfill-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n var _cssContentUnscopedRuleRe = /(polyfill-unscoped-rule)[^}]*(content:[\\s]*(['\"])(.*?)\\3)[;\\s]*[^}]*}/gim;\n var _polyfillHost = '-shadowcsshost';\n // note: :host-context pre-processed to -shadowcsshostcontext.\n var _polyfillHostContext = '-shadowcsscontext';\n var _parenSuffix = ')(?:\\\\((' +\n '(?:\\\\([^)(]*\\\\)|[^)(]*)+?' +\n ')\\\\))?([^,{]*)';\n var _cssColonHostRe = new RegExp('(' + _polyfillHost + _parenSuffix, 'gim');\n var _cssColonHostContextRe = new RegExp('(' + _polyfillHostContext + _parenSuffix, 'gim');\n var _polyfillHostNoCombinator = _polyfillHost + '-no-combinator';\n var _polyfillHostNoCombinatorRe = /-shadowcsshost-no-combinator([^\\s]*)/;\n var _shadowDOMSelectorsRe = [\n /::shadow/g,\n /::content/g,\n // Deprecated selectors\n /\\/shadow-deep\\//g,\n /\\/shadow\\//g,\n ];\n var _shadowDeepSelectors = /(?:>>>)|(?:\\/deep\\/)/g;\n var _selectorReSuffix = '([>\\\\s~+\\[.,{:][\\\\s\\\\S]*)?$';\n var _polyfillHostRe = /-shadowcsshost/gim;\n var _colonHostRe = /:host/gim;\n var _colonHostContextRe = /:host-context/gim;\n var _commentRe = /\\/\\*\\s*[\\s\\S]*?\\*\\//g;\n function stripComments(input) {\n return input.replace(_commentRe, '');\n }\n // all comments except inline source mapping\n var _sourceMappingUrlRe = /\\/\\*\\s*#\\s*sourceMappingURL=[\\s\\S]+?\\*\\//;\n function extractSourceMappingUrl(input) {\n var matcher = input.match(_sourceMappingUrlRe);\n return matcher ? matcher[0] : '';\n }\n var _ruleRe = /(\\s*)([^;\\{\\}]+?)(\\s*)((?:{%BLOCK%}?\\s*;?)|(?:\\s*;))/g;\n var _curlyRe = /([{}])/g;\n var OPEN_CURLY = '{';\n var CLOSE_CURLY = '}';\n var BLOCK_PLACEHOLDER = '%BLOCK%';\n var CssRule = (function () {\n function CssRule(selector, content) {\n this.selector = selector;\n this.content = content;\n }\n return CssRule;\n }());\n function processRules(input, ruleCallback) {\n var inputWithEscapedBlocks = escapeBlocks(input);\n var nextBlockIndex = 0;\n return inputWithEscapedBlocks.escapedString.replace(_ruleRe, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n var selector = m[2];\n var content = '';\n var suffix = m[4];\n var contentPrefix = '';\n if (suffix && suffix.startsWith('{' + BLOCK_PLACEHOLDER)) {\n content = inputWithEscapedBlocks.blocks[nextBlockIndex++];\n suffix = suffix.substring(BLOCK_PLACEHOLDER.length + 1);\n contentPrefix = '{';\n }\n var rule = ruleCallback(new CssRule(selector, content));\n return \"\" + m[1] + rule.selector + m[3] + contentPrefix + rule.content + suffix;\n });\n }\n var StringWithEscapedBlocks = (function () {\n function StringWithEscapedBlocks(escapedString, blocks) {\n this.escapedString = escapedString;\n this.blocks = blocks;\n }\n return StringWithEscapedBlocks;\n }());\n function escapeBlocks(input) {\n var inputParts = input.split(_curlyRe);\n var resultParts = [];\n var escapedBlocks = [];\n var bracketCount = 0;\n var currentBlockParts = [];\n for (var partIndex = 0; partIndex < inputParts.length; partIndex++) {\n var part = inputParts[partIndex];\n if (part == CLOSE_CURLY) {\n bracketCount--;\n }\n if (bracketCount > 0) {\n currentBlockParts.push(part);\n }\n else {\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n currentBlockParts = [];\n }\n resultParts.push(part);\n }\n if (part == OPEN_CURLY) {\n bracketCount++;\n }\n }\n if (currentBlockParts.length > 0) {\n escapedBlocks.push(currentBlockParts.join(''));\n resultParts.push(BLOCK_PLACEHOLDER);\n }\n return new StringWithEscapedBlocks(resultParts.join(''), escapedBlocks);\n }\n\n var COMPONENT_VARIABLE = '%COMP%';\n var HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\n var CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\n var StylesCompileDependency = (function () {\n function StylesCompileDependency(moduleUrl, isShimmed, valuePlaceholder) {\n this.moduleUrl = moduleUrl;\n this.isShimmed = isShimmed;\n this.valuePlaceholder = valuePlaceholder;\n }\n return StylesCompileDependency;\n }());\n var StylesCompileResult = (function () {\n function StylesCompileResult(componentStylesheet, externalStylesheets) {\n this.componentStylesheet = componentStylesheet;\n this.externalStylesheets = externalStylesheets;\n }\n return StylesCompileResult;\n }());\n var CompiledStylesheet = (function () {\n function CompiledStylesheet(statements, stylesVar, dependencies, isShimmed, meta) {\n this.statements = statements;\n this.stylesVar = stylesVar;\n this.dependencies = dependencies;\n this.isShimmed = isShimmed;\n this.meta = meta;\n }\n return CompiledStylesheet;\n }());\n var StyleCompiler = (function () {\n function StyleCompiler(_urlResolver) {\n this._urlResolver = _urlResolver;\n this._shadowCss = new ShadowCss();\n }\n StyleCompiler.prototype.compileComponent = function (comp) {\n var _this = this;\n var externalStylesheets = [];\n var componentStylesheet = this._compileStyles(comp, new CompileStylesheetMetadata({\n styles: comp.template.styles,\n styleUrls: comp.template.styleUrls,\n moduleUrl: comp.type.moduleUrl\n }), true);\n comp.template.externalStylesheets.forEach(function (stylesheetMeta) {\n var compiledStylesheet = _this._compileStyles(comp, stylesheetMeta, false);\n externalStylesheets.push(compiledStylesheet);\n });\n return new StylesCompileResult(componentStylesheet, externalStylesheets);\n };\n StyleCompiler.prototype._compileStyles = function (comp, stylesheet, isComponentStylesheet) {\n var _this = this;\n var shim = comp.template.encapsulation === _angular_core.ViewEncapsulation.Emulated;\n var styleExpressions = stylesheet.styles.map(function (plainStyle) { return literal(_this._shimIfNeeded(plainStyle, shim)); });\n var dependencies = [];\n for (var i = 0; i < stylesheet.styleUrls.length; i++) {\n var identifier = new CompileIdentifierMetadata({ name: getStylesVarName(null) });\n dependencies.push(new StylesCompileDependency(stylesheet.styleUrls[i], shim, identifier));\n styleExpressions.push(new ExternalExpr(identifier));\n }\n // styles variable contains plain strings and arrays of other styles arrays (recursive),\n // so we set its type to dynamic.\n var stylesVar = getStylesVarName(isComponentStylesheet ? comp : null);\n var stmt = variable(stylesVar)\n .set(literalArr(styleExpressions, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const])))\n .toDeclStmt(null, [StmtModifier.Final]);\n return new CompiledStylesheet([stmt], stylesVar, dependencies, shim, stylesheet);\n };\n StyleCompiler.prototype._shimIfNeeded = function (style, shim) {\n return shim ? this._shadowCss.shimCssText(style, CONTENT_ATTR, HOST_ATTR) : style;\n };\n StyleCompiler.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n StyleCompiler.ctorParameters = [\n { type: UrlResolver, },\n ];\n return StyleCompiler;\n }());\n function getStylesVarName(component) {\n var result = \"styles\";\n if (component) {\n result += \"_\" + component.type.name;\n }\n return result;\n }\n\n var _DebugState = (function () {\n function _DebugState(nodeIndex, sourceAst) {\n this.nodeIndex = nodeIndex;\n this.sourceAst = sourceAst;\n }\n return _DebugState;\n }());\n var NULL_DEBUG_STATE = new _DebugState(null, null);\n var CompileMethod = (function () {\n function CompileMethod(_view) {\n this._view = _view;\n this._newState = NULL_DEBUG_STATE;\n this._currState = NULL_DEBUG_STATE;\n this._bodyStatements = [];\n this._debugEnabled = this._view.genConfig.genDebugInfo;\n }\n CompileMethod.prototype._updateDebugContextIfNeeded = function () {\n if (this._newState.nodeIndex !== this._currState.nodeIndex ||\n this._newState.sourceAst !== this._currState.sourceAst) {\n var expr = this._updateDebugContext(this._newState);\n if (isPresent(expr)) {\n this._bodyStatements.push(expr.toStmt());\n }\n }\n };\n CompileMethod.prototype._updateDebugContext = function (newState) {\n this._currState = this._newState = newState;\n if (this._debugEnabled) {\n var sourceLocation = isPresent(newState.sourceAst) ? newState.sourceAst.sourceSpan.start : null;\n return THIS_EXPR.callMethod('debug', [\n literal(newState.nodeIndex),\n isPresent(sourceLocation) ? literal(sourceLocation.line) : NULL_EXPR,\n isPresent(sourceLocation) ? literal(sourceLocation.col) : NULL_EXPR\n ]);\n }\n else {\n return null;\n }\n };\n CompileMethod.prototype.resetDebugInfoExpr = function (nodeIndex, templateAst) {\n var res = this._updateDebugContext(new _DebugState(nodeIndex, templateAst));\n return res || NULL_EXPR;\n };\n CompileMethod.prototype.resetDebugInfo = function (nodeIndex, templateAst) {\n this._newState = new _DebugState(nodeIndex, templateAst);\n };\n CompileMethod.prototype.push = function () {\n var stmts = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n stmts[_i - 0] = arguments[_i];\n }\n this.addStmts(stmts);\n };\n CompileMethod.prototype.addStmt = function (stmt) {\n this._updateDebugContextIfNeeded();\n this._bodyStatements.push(stmt);\n };\n CompileMethod.prototype.addStmts = function (stmts) {\n this._updateDebugContextIfNeeded();\n (_a = this._bodyStatements).push.apply(_a, stmts);\n var _a;\n };\n CompileMethod.prototype.finish = function () { return this._bodyStatements; };\n CompileMethod.prototype.isEmpty = function () { return this._bodyStatements.length === 0; };\n return CompileMethod;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$19 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function getPropertyInView(property, callingView, definedView) {\n if (callingView === definedView) {\n return property;\n }\n else {\n var viewProp = THIS_EXPR;\n var currView = callingView;\n while (currView !== definedView && isPresent(currView.declarationElement.view)) {\n currView = currView.declarationElement.view;\n viewProp = viewProp.prop('parentView');\n }\n if (currView !== definedView) {\n throw new Error(\"Internal error: Could not calculate a property in a parent view: \" + property);\n }\n return property.visitExpression(new _ReplaceViewTransformer(viewProp, definedView), null);\n }\n }\n var _ReplaceViewTransformer = (function (_super) {\n __extends$19(_ReplaceViewTransformer, _super);\n function _ReplaceViewTransformer(_viewExpr, _view) {\n _super.call(this);\n this._viewExpr = _viewExpr;\n this._view = _view;\n }\n _ReplaceViewTransformer.prototype._isThis = function (expr) {\n return expr instanceof ReadVarExpr && expr.builtin === BuiltinVar.This;\n };\n _ReplaceViewTransformer.prototype.visitReadVarExpr = function (ast, context) {\n return this._isThis(ast) ? this._viewExpr : ast;\n };\n _ReplaceViewTransformer.prototype.visitReadPropExpr = function (ast, context) {\n if (this._isThis(ast.receiver)) {\n // Note: Don't cast for members of the AppView base class...\n if (this._view.fields.some(function (field) { return field.name == ast.name; }) ||\n this._view.getters.some(function (field) { return field.name == ast.name; })) {\n return this._viewExpr.cast(this._view.classType).prop(ast.name);\n }\n }\n return _super.prototype.visitReadPropExpr.call(this, ast, context);\n };\n return _ReplaceViewTransformer;\n }(ExpressionTransformer));\n function injectFromViewParentInjector(view, token, optional) {\n var viewExpr;\n if (view.viewType === ViewType.HOST) {\n viewExpr = THIS_EXPR;\n }\n else {\n viewExpr = THIS_EXPR.prop('parentView');\n }\n var args = [createDiTokenExpression(token), THIS_EXPR.prop('parentIndex')];\n if (optional) {\n args.push(NULL_EXPR);\n }\n return viewExpr.callMethod('injectorGet', args);\n }\n function getViewClassName(component, embeddedTemplateIndex) {\n return \"View_\" + component.type.name + embeddedTemplateIndex;\n }\n function getHandleEventMethodName(elementIndex) {\n return \"handleEvent_\" + elementIndex;\n }\n\n var ViewQueryValues = (function () {\n function ViewQueryValues(view, values) {\n this.view = view;\n this.values = values;\n }\n return ViewQueryValues;\n }());\n var CompileQuery = (function () {\n function CompileQuery(meta, queryList, ownerDirectiveExpression, view) {\n this.meta = meta;\n this.queryList = queryList;\n this.ownerDirectiveExpression = ownerDirectiveExpression;\n this.view = view;\n this._values = new ViewQueryValues(view, []);\n }\n CompileQuery.prototype.addValue = function (value, view) {\n var currentView = view;\n var elPath = [];\n while (isPresent(currentView) && currentView !== this.view) {\n var parentEl = currentView.declarationElement;\n elPath.unshift(parentEl);\n currentView = parentEl.view;\n }\n var queryListForDirtyExpr = getPropertyInView(this.queryList, view, this.view);\n var viewValues = this._values;\n elPath.forEach(function (el) {\n var last = viewValues.values.length > 0 ? viewValues.values[viewValues.values.length - 1] : null;\n if (last instanceof ViewQueryValues && last.view === el.embeddedView) {\n viewValues = last;\n }\n else {\n var newViewValues = new ViewQueryValues(el.embeddedView, []);\n viewValues.values.push(newViewValues);\n viewValues = newViewValues;\n }\n });\n viewValues.values.push(value);\n if (elPath.length > 0) {\n view.dirtyParentQueriesMethod.addStmt(queryListForDirtyExpr.callMethod('setDirty', []).toStmt());\n }\n };\n CompileQuery.prototype._isStatic = function () {\n return !this._values.values.some(function (value) { return value instanceof ViewQueryValues; });\n };\n CompileQuery.prototype.afterChildren = function (targetStaticMethod, targetDynamicMethod) {\n var values = createQueryValues(this._values);\n var updateStmts = [this.queryList.callMethod('reset', [literalArr(values)]).toStmt()];\n if (isPresent(this.ownerDirectiveExpression)) {\n var valueExpr = this.meta.first ? this.queryList.prop('first') : this.queryList;\n updateStmts.push(this.ownerDirectiveExpression.prop(this.meta.propertyName).set(valueExpr).toStmt());\n }\n if (!this.meta.first) {\n updateStmts.push(this.queryList.callMethod('notifyOnChanges', []).toStmt());\n }\n if (this.meta.first && this._isStatic()) {\n // for queries that don't change and the user asked for a single element,\n // set it immediately. That is e.g. needed for querying for ViewContainerRefs, ...\n // we don't do this for QueryLists for now as this would break the timing when\n // we call QueryList listeners...\n targetStaticMethod.addStmts(updateStmts);\n }\n else {\n targetDynamicMethod.addStmt(new IfStmt(this.queryList.prop('dirty'), updateStmts));\n }\n };\n return CompileQuery;\n }());\n function createQueryValues(viewValues) {\n return ListWrapper.flatten(viewValues.values.map(function (entry) {\n if (entry instanceof ViewQueryValues) {\n return mapNestedViews(entry.view.declarationElement.viewContainer, entry.view, createQueryValues(entry));\n }\n else {\n return entry;\n }\n }));\n }\n function mapNestedViews(viewContainer, view, expressions) {\n var adjustedExpressions = expressions.map(function (expr) { return replaceVarInExpression(THIS_EXPR.name, variable('nestedView'), expr); });\n return viewContainer.callMethod('mapNestedViews', [\n variable(view.className),\n fn([new FnParam('nestedView', view.classType)], [new ReturnStatement(literalArr(adjustedExpressions))], DYNAMIC_TYPE)\n ]);\n }\n function createQueryList(query, directiveInstance, propertyName, compileView) {\n compileView.fields.push(new ClassField(propertyName, importType(resolveIdentifier(Identifiers.QueryList), [DYNAMIC_TYPE])));\n var expr = THIS_EXPR.prop(propertyName);\n compileView.createMethod.addStmt(THIS_EXPR.prop(propertyName)\n .set(importExpr(resolveIdentifier(Identifiers.QueryList), [DYNAMIC_TYPE])\n .instantiate([]))\n .toStmt());\n return expr;\n }\n function addQueryToTokenMap(map, query) {\n query.meta.selectors.forEach(function (selector) {\n var entry = map.get(selector.reference);\n if (!entry) {\n entry = [];\n map.set(selector.reference, entry);\n }\n entry.push(query);\n });\n }\n\n var ViewTypeEnum = (function () {\n function ViewTypeEnum() {\n }\n ViewTypeEnum.fromValue = function (value) {\n return createEnumExpression(Identifiers.ViewType, value);\n };\n return ViewTypeEnum;\n }());\n var ViewEncapsulationEnum = (function () {\n function ViewEncapsulationEnum() {\n }\n ViewEncapsulationEnum.fromValue = function (value) {\n return createEnumExpression(Identifiers.ViewEncapsulation, value);\n };\n return ViewEncapsulationEnum;\n }());\n var ChangeDetectorStatusEnum = (function () {\n function ChangeDetectorStatusEnum() {\n }\n ChangeDetectorStatusEnum.fromValue = function (value) {\n return createEnumExpression(Identifiers.ChangeDetectorStatus, value);\n };\n return ChangeDetectorStatusEnum;\n }());\n var ViewConstructorVars = (function () {\n function ViewConstructorVars() {\n }\n ViewConstructorVars.viewUtils = variable('viewUtils');\n ViewConstructorVars.parentView = variable('parentView');\n ViewConstructorVars.parentIndex = variable('parentIndex');\n ViewConstructorVars.parentElement = variable('parentElement');\n return ViewConstructorVars;\n }());\n var ViewProperties = (function () {\n function ViewProperties() {\n }\n ViewProperties.renderer = THIS_EXPR.prop('renderer');\n ViewProperties.viewUtils = THIS_EXPR.prop('viewUtils');\n return ViewProperties;\n }());\n var InjectMethodVars$1 = (function () {\n function InjectMethodVars() {\n }\n InjectMethodVars.token = variable('token');\n InjectMethodVars.requestNodeIndex = variable('requestNodeIndex');\n InjectMethodVars.notFoundResult = variable('notFoundResult');\n return InjectMethodVars;\n }());\n var DetectChangesVars = (function () {\n function DetectChangesVars() {\n }\n DetectChangesVars.throwOnChange = variable(\"throwOnChange\");\n DetectChangesVars.changes = variable(\"changes\");\n DetectChangesVars.changed = variable(\"changed\");\n return DetectChangesVars;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var ViewClassDependency = (function () {\n function ViewClassDependency(comp, placeholder) {\n this.comp = comp;\n this.placeholder = placeholder;\n }\n return ViewClassDependency;\n }());\n var ComponentFactoryDependency$1 = (function () {\n function ComponentFactoryDependency(comp, placeholder) {\n this.comp = comp;\n this.placeholder = placeholder;\n }\n return ComponentFactoryDependency;\n }());\n var DirectiveWrapperDependency = (function () {\n function DirectiveWrapperDependency(dir, placeholder) {\n this.dir = dir;\n this.placeholder = placeholder;\n }\n return DirectiveWrapperDependency;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$18 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var CompileNode = (function () {\n function CompileNode(parent, view, nodeIndex, renderNode, sourceAst) {\n this.parent = parent;\n this.view = view;\n this.nodeIndex = nodeIndex;\n this.renderNode = renderNode;\n this.sourceAst = sourceAst;\n }\n CompileNode.prototype.isNull = function () { return !this.renderNode; };\n CompileNode.prototype.isRootElement = function () { return this.view != this.parent.view; };\n return CompileNode;\n }());\n var CompileElement = (function (_super) {\n __extends$18(CompileElement, _super);\n function CompileElement(parent, view, nodeIndex, renderNode, sourceAst, component, _directives, _resolvedProvidersArray, hasViewContainer, hasEmbeddedView, references, _targetDependencies) {\n var _this = this;\n _super.call(this, parent, view, nodeIndex, renderNode, sourceAst);\n this.component = component;\n this._directives = _directives;\n this._resolvedProvidersArray = _resolvedProvidersArray;\n this.hasViewContainer = hasViewContainer;\n this.hasEmbeddedView = hasEmbeddedView;\n this._targetDependencies = _targetDependencies;\n this.compViewExpr = null;\n this.instances = new Map();\n this.directiveWrapperInstance = new Map();\n this._queryCount = 0;\n this._queries = new Map();\n this.contentNodesByNgContentIndex = null;\n this.referenceTokens = {};\n references.forEach(function (ref) { return _this.referenceTokens[ref.name] = ref.value; });\n this.elementRef =\n importExpr(resolveIdentifier(Identifiers.ElementRef)).instantiate([this.renderNode]);\n this.instances.set(resolveIdentifierToken(Identifiers.ElementRef).reference, this.elementRef);\n this.instances.set(resolveIdentifierToken(Identifiers.Injector).reference, THIS_EXPR.callMethod('injector', [literal(this.nodeIndex)]));\n this.instances.set(resolveIdentifierToken(Identifiers.Renderer).reference, THIS_EXPR.prop('renderer'));\n if (this.hasViewContainer || this.hasEmbeddedView) {\n this._createViewContainer();\n }\n if (this.component) {\n this._createComponentFactoryResolver();\n }\n }\n CompileElement.createNull = function () {\n return new CompileElement(null, null, null, null, null, null, [], [], false, false, [], []);\n };\n CompileElement.prototype._createViewContainer = function () {\n var fieldName = \"_vc_\" + this.nodeIndex;\n var parentNodeIndex = this.isRootElement() ? null : this.parent.nodeIndex;\n // private is fine here as no child view will reference a ViewContainer\n this.view.fields.push(new ClassField(fieldName, importType(resolveIdentifier(Identifiers.ViewContainer)), [StmtModifier.Private]));\n var statement = THIS_EXPR.prop(fieldName)\n .set(importExpr(resolveIdentifier(Identifiers.ViewContainer)).instantiate([\n literal(this.nodeIndex), literal(parentNodeIndex), THIS_EXPR, this.renderNode\n ]))\n .toStmt();\n this.view.createMethod.addStmt(statement);\n this.viewContainer = THIS_EXPR.prop(fieldName);\n this.instances.set(resolveIdentifierToken(Identifiers.ViewContainer).reference, this.viewContainer);\n this.view.viewContainers.push(this.viewContainer);\n };\n CompileElement.prototype._createComponentFactoryResolver = function () {\n var _this = this;\n var entryComponents = this.component.entryComponents.map(function (entryComponent) {\n var id = new CompileIdentifierMetadata({ name: entryComponent.name });\n _this._targetDependencies.push(new ComponentFactoryDependency$1(entryComponent, id));\n return id;\n });\n if (!entryComponents || entryComponents.length === 0) {\n return;\n }\n var createComponentFactoryResolverExpr = importExpr(resolveIdentifier(Identifiers.CodegenComponentFactoryResolver)).instantiate([\n literalArr(entryComponents.map(function (entryComponent) { return importExpr(entryComponent); })),\n injectFromViewParentInjector(this.view, resolveIdentifierToken(Identifiers.ComponentFactoryResolver), false)\n ]);\n var provider = new CompileProviderMetadata({\n token: resolveIdentifierToken(Identifiers.ComponentFactoryResolver),\n useValue: createComponentFactoryResolverExpr\n });\n // Add ComponentFactoryResolver as first provider as it does not have deps on other providers\n // ProviderAstType.PrivateService as only the component and its view can see it,\n // but nobody else\n this._resolvedProvidersArray.unshift(new ProviderAst(provider.token, false, true, [provider], exports.ProviderAstType.PrivateService, [], this.sourceAst.sourceSpan));\n };\n CompileElement.prototype.setComponentView = function (compViewExpr) {\n this.compViewExpr = compViewExpr;\n this.contentNodesByNgContentIndex =\n new Array(this.component.template.ngContentSelectors.length);\n for (var i = 0; i < this.contentNodesByNgContentIndex.length; i++) {\n this.contentNodesByNgContentIndex[i] = [];\n }\n };\n CompileElement.prototype.setEmbeddedView = function (embeddedView) {\n this.embeddedView = embeddedView;\n if (isPresent(embeddedView)) {\n var createTemplateRefExpr = importExpr(resolveIdentifier(Identifiers.TemplateRef_)).instantiate([\n THIS_EXPR, literal(this.nodeIndex), this.renderNode\n ]);\n var provider = new CompileProviderMetadata({\n token: resolveIdentifierToken(Identifiers.TemplateRef),\n useValue: createTemplateRefExpr\n });\n // Add TemplateRef as first provider as it does not have deps on other providers\n this._resolvedProvidersArray.unshift(new ProviderAst(provider.token, false, true, [provider], exports.ProviderAstType.Builtin, [], this.sourceAst.sourceSpan));\n }\n };\n CompileElement.prototype.beforeChildren = function () {\n var _this = this;\n if (this.hasViewContainer) {\n this.instances.set(resolveIdentifierToken(Identifiers.ViewContainerRef).reference, this.viewContainer.prop('vcRef'));\n }\n this._resolvedProviders = new Map();\n this._resolvedProvidersArray.forEach(function (provider) { return _this._resolvedProviders.set(provider.token.reference, provider); });\n // create all the provider instances, some in the view constructor,\n // some as getters. We rely on the fact that they are already sorted topologically.\n Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n var isDirectiveWrapper = resolvedProvider.providerType === exports.ProviderAstType.Component ||\n resolvedProvider.providerType === exports.ProviderAstType.Directive;\n var providerValueExpressions = resolvedProvider.providers.map(function (provider) {\n if (provider.useExisting) {\n return _this._getDependency(resolvedProvider.providerType, new CompileDiDependencyMetadata({ token: provider.useExisting }));\n }\n else if (provider.useFactory) {\n var deps = provider.deps || provider.useFactory.diDeps;\n var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\n return importExpr(provider.useFactory).callFn(depsExpr);\n }\n else if (provider.useClass) {\n var deps = provider.deps || provider.useClass.diDeps;\n var depsExpr = deps.map(function (dep) { return _this._getDependency(resolvedProvider.providerType, dep); });\n if (isDirectiveWrapper) {\n var directiveWrapperIdentifier = new CompileIdentifierMetadata({ name: DirectiveWrapperCompiler.dirWrapperClassName(provider.useClass) });\n _this._targetDependencies.push(new DirectiveWrapperDependency(provider.useClass, directiveWrapperIdentifier));\n return DirectiveWrapperExpressions.create(directiveWrapperIdentifier, depsExpr);\n }\n else {\n return importExpr(provider.useClass)\n .instantiate(depsExpr, importType(provider.useClass));\n }\n }\n else {\n return convertValueToOutputAst(provider.useValue);\n }\n });\n var propName = \"_\" + resolvedProvider.token.name + \"_\" + _this.nodeIndex + \"_\" + _this.instances.size;\n var instance = createProviderProperty(propName, resolvedProvider, providerValueExpressions, resolvedProvider.multiProvider, resolvedProvider.eager, _this);\n if (isDirectiveWrapper) {\n _this.directiveWrapperInstance.set(resolvedProvider.token.reference, instance);\n _this.instances.set(resolvedProvider.token.reference, DirectiveWrapperExpressions.context(instance));\n }\n else {\n _this.instances.set(resolvedProvider.token.reference, instance);\n }\n });\n var _loop_1 = function(i) {\n var directive = this_1._directives[i];\n var directiveInstance = this_1.instances.get(identifierToken(directive.type).reference);\n directive.queries.forEach(function (queryMeta) { _this._addQuery(queryMeta, directiveInstance); });\n };\n var this_1 = this;\n for (var i = 0; i < this._directives.length; i++) {\n _loop_1(i);\n }\n var queriesWithReads = [];\n Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n var queriesForProvider = _this._getQueriesFor(resolvedProvider.token);\n queriesWithReads.push.apply(queriesWithReads, queriesForProvider.map(function (query) { return new _QueryWithRead(query, resolvedProvider.token); }));\n });\n Object.keys(this.referenceTokens).forEach(function (varName) {\n var token = _this.referenceTokens[varName];\n var varValue;\n if (token) {\n varValue = _this.instances.get(token.reference);\n }\n else {\n varValue = _this.renderNode;\n }\n _this.view.locals.set(varName, varValue);\n var varToken = new CompileTokenMetadata({ value: varName });\n queriesWithReads.push.apply(queriesWithReads, _this._getQueriesFor(varToken).map(function (query) { return new _QueryWithRead(query, varToken); }));\n });\n queriesWithReads.forEach(function (queryWithRead) {\n var value;\n if (isPresent(queryWithRead.read.identifier)) {\n // query for an identifier\n value = _this.instances.get(queryWithRead.read.reference);\n }\n else {\n // query for a reference\n var token = _this.referenceTokens[queryWithRead.read.value];\n if (isPresent(token)) {\n value = _this.instances.get(token.reference);\n }\n else {\n value = _this.elementRef;\n }\n }\n if (isPresent(value)) {\n queryWithRead.query.addValue(value, _this.view);\n }\n });\n };\n CompileElement.prototype.afterChildren = function (childNodeCount) {\n var _this = this;\n Array.from(this._resolvedProviders.values()).forEach(function (resolvedProvider) {\n // Note: afterChildren is called after recursing into children.\n // This is good so that an injector match in an element that is closer to a requesting element\n // matches first.\n var providerExpr = _this.instances.get(resolvedProvider.token.reference);\n // Note: view providers are only visible on the injector of that element.\n // This is not fully correct as the rules during codegen don't allow a directive\n // to get hold of a view provdier on the same element. We still do this semantic\n // as it simplifies our model to having only one runtime injector per element.\n var providerChildNodeCount = resolvedProvider.providerType === exports.ProviderAstType.PrivateService ? 0 : childNodeCount;\n _this.view.injectorGetMethod.addStmt(createInjectInternalCondition(_this.nodeIndex, providerChildNodeCount, resolvedProvider, providerExpr));\n });\n Array.from(this._queries.values())\n .forEach(function (queries) { return queries.forEach(function (q) {\n return q.afterChildren(_this.view.createMethod, _this.view.updateContentQueriesMethod);\n }); });\n };\n CompileElement.prototype.addContentNode = function (ngContentIndex, nodeExpr) {\n this.contentNodesByNgContentIndex[ngContentIndex].push(nodeExpr);\n };\n CompileElement.prototype.getComponent = function () {\n return isPresent(this.component) ?\n this.instances.get(identifierToken(this.component.type).reference) :\n null;\n };\n CompileElement.prototype.getProviderTokens = function () {\n return Array.from(this._resolvedProviders.values())\n .map(function (resolvedProvider) { return createDiTokenExpression(resolvedProvider.token); });\n };\n CompileElement.prototype._getQueriesFor = function (token) {\n var result = [];\n var currentEl = this;\n var distance = 0;\n var queries;\n while (!currentEl.isNull()) {\n queries = currentEl._queries.get(token.reference);\n if (isPresent(queries)) {\n result.push.apply(result, queries.filter(function (query) { return query.meta.descendants || distance <= 1; }));\n }\n if (currentEl._directives.length > 0) {\n distance++;\n }\n currentEl = currentEl.parent;\n }\n queries = this.view.componentView.viewQueries.get(token.reference);\n if (isPresent(queries)) {\n result.push.apply(result, queries);\n }\n return result;\n };\n CompileElement.prototype._addQuery = function (queryMeta, directiveInstance) {\n var propName = \"_query_\" + queryMeta.selectors[0].name + \"_\" + this.nodeIndex + \"_\" + this._queryCount++;\n var queryList = createQueryList(queryMeta, directiveInstance, propName, this.view);\n var query = new CompileQuery(queryMeta, queryList, directiveInstance, this.view);\n addQueryToTokenMap(this._queries, query);\n return query;\n };\n CompileElement.prototype._getLocalDependency = function (requestingProviderType, dep) {\n var result = null;\n if (isPresent(dep.token)) {\n // access builtins with special visibility\n if (!result) {\n if (dep.token.reference ===\n resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference) {\n if (requestingProviderType === exports.ProviderAstType.Component) {\n return this.compViewExpr.prop('ref');\n }\n else {\n return getPropertyInView(THIS_EXPR.prop('ref'), this.view, this.view.componentView);\n }\n }\n }\n // access regular providers on the element\n if (!result) {\n var resolvedProvider = this._resolvedProviders.get(dep.token.reference);\n // don't allow directives / public services to access private services.\n // only components and private services can access private services.\n if (resolvedProvider && (requestingProviderType === exports.ProviderAstType.Directive ||\n requestingProviderType === exports.ProviderAstType.PublicService) &&\n resolvedProvider.providerType === exports.ProviderAstType.PrivateService) {\n return null;\n }\n result = this.instances.get(dep.token.reference);\n }\n }\n return result;\n };\n CompileElement.prototype._getDependency = function (requestingProviderType, dep) {\n var currElement = this;\n var result = null;\n if (dep.isValue) {\n result = literal(dep.value);\n }\n if (!result && !dep.isSkipSelf) {\n result = this._getLocalDependency(requestingProviderType, dep);\n }\n // check parent elements\n while (!result && !currElement.parent.isNull()) {\n currElement = currElement.parent;\n result = currElement._getLocalDependency(exports.ProviderAstType.PublicService, new CompileDiDependencyMetadata({ token: dep.token }));\n }\n if (!result) {\n result = injectFromViewParentInjector(this.view, dep.token, dep.isOptional);\n }\n if (!result) {\n result = NULL_EXPR;\n }\n return getPropertyInView(result, this.view, currElement.view);\n };\n return CompileElement;\n }(CompileNode));\n function createInjectInternalCondition(nodeIndex, childNodeCount, provider, providerExpr) {\n var indexCondition;\n if (childNodeCount > 0) {\n indexCondition = literal(nodeIndex)\n .lowerEquals(InjectMethodVars$1.requestNodeIndex)\n .and(InjectMethodVars$1.requestNodeIndex.lowerEquals(literal(nodeIndex + childNodeCount)));\n }\n else {\n indexCondition = literal(nodeIndex).identical(InjectMethodVars$1.requestNodeIndex);\n }\n return new IfStmt(InjectMethodVars$1.token.identical(createDiTokenExpression(provider.token)).and(indexCondition), [new ReturnStatement(providerExpr)]);\n }\n function createProviderProperty(propName, provider, providerValueExpressions, isMulti, isEager, compileElement) {\n var view = compileElement.view;\n var resolvedProviderValueExpr;\n var type;\n if (isMulti) {\n resolvedProviderValueExpr = literalArr(providerValueExpressions);\n type = new ArrayType(DYNAMIC_TYPE);\n }\n else {\n resolvedProviderValueExpr = providerValueExpressions[0];\n type = providerValueExpressions[0].type;\n }\n if (!type) {\n type = DYNAMIC_TYPE;\n }\n if (isEager) {\n view.fields.push(new ClassField(propName, type));\n view.createMethod.addStmt(THIS_EXPR.prop(propName).set(resolvedProviderValueExpr).toStmt());\n }\n else {\n var internalField = \"_\" + propName;\n view.fields.push(new ClassField(internalField, type));\n var getter = new CompileMethod(view);\n getter.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n // Note: Equals is important for JS so that it also checks the undefined case!\n getter.addStmt(new IfStmt(THIS_EXPR.prop(internalField).isBlank(), [THIS_EXPR.prop(internalField).set(resolvedProviderValueExpr).toStmt()]));\n getter.addStmt(new ReturnStatement(THIS_EXPR.prop(internalField)));\n view.getters.push(new ClassGetter(propName, getter.finish(), type));\n }\n return THIS_EXPR.prop(propName);\n }\n var _QueryWithRead = (function () {\n function _QueryWithRead(query, match) {\n this.query = query;\n this.read = query.meta.read || match;\n }\n return _QueryWithRead;\n }());\n\n var CompilePipe = (function () {\n function CompilePipe(view, meta) {\n var _this = this;\n this.view = view;\n this.meta = meta;\n this._purePipeProxyCount = 0;\n this.instance = THIS_EXPR.prop(\"_pipe_\" + meta.name + \"_\" + view.pipeCount++);\n var deps = this.meta.type.diDeps.map(function (diDep) {\n if (diDep.token.reference ===\n resolveIdentifierToken(Identifiers.ChangeDetectorRef).reference) {\n return getPropertyInView(THIS_EXPR.prop('ref'), _this.view, _this.view.componentView);\n }\n return injectFromViewParentInjector(view, diDep.token, false);\n });\n this.view.fields.push(new ClassField(this.instance.name, importType(this.meta.type)));\n this.view.createMethod.resetDebugInfo(null, null);\n this.view.createMethod.addStmt(THIS_EXPR.prop(this.instance.name)\n .set(importExpr(this.meta.type).instantiate(deps))\n .toStmt());\n }\n CompilePipe.call = function (view, name, args) {\n var compView = view.componentView;\n var meta = _findPipeMeta(compView, name);\n var pipe;\n if (meta.pure) {\n // pure pipes live on the component view\n pipe = compView.purePipes.get(name);\n if (!pipe) {\n pipe = new CompilePipe(compView, meta);\n compView.purePipes.set(name, pipe);\n compView.pipes.push(pipe);\n }\n }\n else {\n // Non pure pipes live on the view that called it\n pipe = new CompilePipe(view, meta);\n view.pipes.push(pipe);\n }\n return pipe._call(view, args);\n };\n Object.defineProperty(CompilePipe.prototype, \"pure\", {\n get: function () { return this.meta.pure; },\n enumerable: true,\n configurable: true\n });\n CompilePipe.prototype._call = function (callingView, args) {\n if (this.meta.pure) {\n // PurePipeProxies live on the view that called them.\n var purePipeProxyInstance = THIS_EXPR.prop(this.instance.name + \"_\" + this._purePipeProxyCount++);\n var pipeInstanceSeenFromPureProxy = getPropertyInView(this.instance, callingView, this.view);\n createPureProxy(pipeInstanceSeenFromPureProxy.prop('transform')\n .callMethod(BuiltinMethod.Bind, [pipeInstanceSeenFromPureProxy]), args.length, purePipeProxyInstance, { fields: callingView.fields, ctorStmts: callingView.createMethod });\n return importExpr(resolveIdentifier(Identifiers.castByValue))\n .callFn([purePipeProxyInstance, pipeInstanceSeenFromPureProxy.prop('transform')])\n .callFn(args);\n }\n else {\n return getPropertyInView(this.instance, callingView, this.view).callMethod('transform', args);\n }\n };\n return CompilePipe;\n }());\n function _findPipeMeta(view, name) {\n var pipeMeta = null;\n for (var i = view.pipeMetas.length - 1; i >= 0; i--) {\n var localPipeMeta = view.pipeMetas[i];\n if (localPipeMeta.name == name) {\n pipeMeta = localPipeMeta;\n break;\n }\n }\n if (!pipeMeta) {\n throw new Error(\"Illegal state: Could not find pipe \" + name + \" although the parser should have detected this error!\");\n }\n return pipeMeta;\n }\n\n var CompileViewRootNodeType;\n (function (CompileViewRootNodeType) {\n CompileViewRootNodeType[CompileViewRootNodeType[\"Node\"] = 0] = \"Node\";\n CompileViewRootNodeType[CompileViewRootNodeType[\"ViewContainer\"] = 1] = \"ViewContainer\";\n CompileViewRootNodeType[CompileViewRootNodeType[\"NgContent\"] = 2] = \"NgContent\";\n })(CompileViewRootNodeType || (CompileViewRootNodeType = {}));\n var CompileViewRootNode = (function () {\n function CompileViewRootNode(type, expr, ngContentIndex) {\n this.type = type;\n this.expr = expr;\n this.ngContentIndex = ngContentIndex;\n }\n return CompileViewRootNode;\n }());\n var CompileView = (function () {\n function CompileView(component, genConfig, pipeMetas, styles, animations, viewIndex, declarationElement, templateVariableBindings) {\n var _this = this;\n this.component = component;\n this.genConfig = genConfig;\n this.pipeMetas = pipeMetas;\n this.styles = styles;\n this.animations = animations;\n this.viewIndex = viewIndex;\n this.declarationElement = declarationElement;\n this.templateVariableBindings = templateVariableBindings;\n this.viewChildren = [];\n this.nodes = [];\n this.rootNodes = [];\n this.lastRenderNode = NULL_EXPR;\n this.viewContainers = [];\n this.methods = [];\n this.ctorStmts = [];\n this.fields = [];\n this.getters = [];\n this.disposables = [];\n this.purePipes = new Map();\n this.pipes = [];\n this.locals = new Map();\n this.literalArrayCount = 0;\n this.literalMapCount = 0;\n this.pipeCount = 0;\n this.createMethod = new CompileMethod(this);\n this.animationBindingsMethod = new CompileMethod(this);\n this.injectorGetMethod = new CompileMethod(this);\n this.updateContentQueriesMethod = new CompileMethod(this);\n this.dirtyParentQueriesMethod = new CompileMethod(this);\n this.updateViewQueriesMethod = new CompileMethod(this);\n this.detectChangesInInputsMethod = new CompileMethod(this);\n this.detectChangesRenderPropertiesMethod = new CompileMethod(this);\n this.afterContentLifecycleCallbacksMethod = new CompileMethod(this);\n this.afterViewLifecycleCallbacksMethod = new CompileMethod(this);\n this.destroyMethod = new CompileMethod(this);\n this.detachMethod = new CompileMethod(this);\n this.viewType = getViewType(component, viewIndex);\n this.className = getViewClassName(component, viewIndex);\n this.classType = importType(new CompileIdentifierMetadata({ name: this.className }));\n this.classExpr = variable(this.className);\n if (this.viewType === ViewType.COMPONENT || this.viewType === ViewType.HOST) {\n this.componentView = this;\n }\n else {\n this.componentView = this.declarationElement.view.componentView;\n }\n this.componentContext =\n getPropertyInView(THIS_EXPR.prop('context'), this, this.componentView);\n var viewQueries = new Map();\n if (this.viewType === ViewType.COMPONENT) {\n var directiveInstance_1 = THIS_EXPR.prop('context');\n this.component.viewQueries.forEach(function (queryMeta, queryIndex) {\n var propName = \"_viewQuery_\" + queryMeta.selectors[0].name + \"_\" + queryIndex;\n var queryList = createQueryList(queryMeta, directiveInstance_1, propName, _this);\n var query = new CompileQuery(queryMeta, queryList, directiveInstance_1, _this);\n addQueryToTokenMap(viewQueries, query);\n });\n }\n this.viewQueries = viewQueries;\n templateVariableBindings.forEach(function (entry) { _this.locals.set(entry[1], THIS_EXPR.prop('context').prop(entry[0])); });\n if (!this.declarationElement.isNull()) {\n this.declarationElement.setEmbeddedView(this);\n }\n }\n CompileView.prototype.callPipe = function (name, input, args) {\n return CompilePipe.call(this, name, [input].concat(args));\n };\n CompileView.prototype.getLocal = function (name) {\n if (name == EventHandlerVars.event.name) {\n return EventHandlerVars.event;\n }\n var currView = this;\n var result = currView.locals.get(name);\n while (!result && isPresent(currView.declarationElement.view)) {\n currView = currView.declarationElement.view;\n result = currView.locals.get(name);\n }\n if (isPresent(result)) {\n return getPropertyInView(result, this, currView);\n }\n else {\n return null;\n }\n };\n CompileView.prototype.afterNodes = function () {\n var _this = this;\n Array.from(this.viewQueries.values())\n .forEach(function (queries) { return queries.forEach(function (q) { return q.afterChildren(_this.createMethod, _this.updateViewQueriesMethod); }); });\n };\n return CompileView;\n }());\n function getViewType(component, embeddedTemplateIndex) {\n if (embeddedTemplateIndex > 0) {\n return ViewType.EMBEDDED;\n }\n if (component.type.isHost) {\n return ViewType.HOST;\n }\n return ViewType.COMPONENT;\n }\n\n function bindOutputs(boundEvents, directives, compileElement, bindToRenderer) {\n var usedEvents = collectEvents(boundEvents, directives);\n if (!usedEvents.size) {\n return false;\n }\n if (bindToRenderer) {\n subscribeToRenderEvents(usedEvents, compileElement);\n }\n subscribeToDirectiveEvents(usedEvents, directives, compileElement);\n generateHandleEventMethod(boundEvents, directives, compileElement);\n return true;\n }\n function collectEvents(boundEvents, directives) {\n var usedEvents = new Map();\n boundEvents.forEach(function (event) { usedEvents.set(event.fullName, event); });\n directives.forEach(function (dirAst) {\n dirAst.hostEvents.forEach(function (event) { usedEvents.set(event.fullName, event); });\n });\n return usedEvents;\n }\n function subscribeToRenderEvents(usedEvents, compileElement) {\n var eventAndTargetExprs = [];\n usedEvents.forEach(function (event) {\n if (!event.phase) {\n eventAndTargetExprs.push(literal(event.name), literal(event.target));\n }\n });\n if (eventAndTargetExprs.length) {\n var disposableVar = variable(\"disposable_\" + compileElement.view.disposables.length);\n compileElement.view.disposables.push(disposableVar);\n compileElement.view.createMethod.addStmt(disposableVar\n .set(importExpr(resolveIdentifier(Identifiers.subscribeToRenderElement)).callFn([\n THIS_EXPR, compileElement.renderNode, createInlineArray(eventAndTargetExprs),\n handleEventExpr(compileElement)\n ]))\n .toDeclStmt(FUNCTION_TYPE, [StmtModifier.Private]));\n }\n }\n function subscribeToDirectiveEvents(usedEvents, directives, compileElement) {\n var usedEventNames = Array.from(usedEvents.keys());\n directives.forEach(function (dirAst) {\n var dirWrapper = compileElement.directiveWrapperInstance.get(dirAst.directive.type.reference);\n compileElement.view.createMethod.addStmts(DirectiveWrapperExpressions.subscribe(dirAst.directive, dirAst.hostProperties, usedEventNames, dirWrapper, THIS_EXPR, handleEventExpr(compileElement)));\n });\n }\n function generateHandleEventMethod(boundEvents, directives, compileElement) {\n var hasComponentHostListener = directives.some(function (dirAst) { return dirAst.hostEvents.some(function (event) { return dirAst.directive.isComponent; }); });\n var markPathToRootStart = hasComponentHostListener ? compileElement.compViewExpr : THIS_EXPR;\n var handleEventStmts = new CompileMethod(compileElement.view);\n handleEventStmts.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n handleEventStmts.push(markPathToRootStart.callMethod('markPathToRootAsCheckOnce', []).toStmt());\n var eventNameVar = variable('eventName');\n var resultVar = variable('result');\n handleEventStmts.push(resultVar.set(literal(true)).toDeclStmt(BOOL_TYPE));\n directives.forEach(function (dirAst, dirIdx) {\n var dirWrapper = compileElement.directiveWrapperInstance.get(dirAst.directive.type.reference);\n if (dirAst.hostEvents.length > 0) {\n handleEventStmts.push(resultVar\n .set(DirectiveWrapperExpressions\n .handleEvent(dirAst.hostEvents, dirWrapper, eventNameVar, EventHandlerVars.event)\n .and(resultVar))\n .toStmt());\n }\n });\n boundEvents.forEach(function (renderEvent, renderEventIdx) {\n var evalResult = convertActionBinding(compileElement.view, compileElement.view, compileElement.view.componentContext, renderEvent.handler, \"sub_\" + renderEventIdx);\n var trueStmts = evalResult.stmts;\n if (evalResult.preventDefault) {\n trueStmts.push(resultVar.set(evalResult.preventDefault.and(resultVar)).toStmt());\n }\n // TODO(tbosch): convert this into a `switch` once our OutputAst supports it.\n handleEventStmts.push(new IfStmt(eventNameVar.equals(literal(renderEvent.fullName)), trueStmts));\n });\n handleEventStmts.push(new ReturnStatement(resultVar));\n compileElement.view.methods.push(new ClassMethod(getHandleEventMethodName(compileElement.nodeIndex), [\n new FnParam(eventNameVar.name, STRING_TYPE),\n new FnParam(EventHandlerVars.event.name, DYNAMIC_TYPE)\n ], handleEventStmts.finish(), BOOL_TYPE));\n }\n function handleEventExpr(compileElement) {\n var handleEventMethodName = getHandleEventMethodName(compileElement.nodeIndex);\n return THIS_EXPR.callMethod('eventHandler', [THIS_EXPR.prop(handleEventMethodName)]);\n }\n\n var STATE_IS_NEVER_CHECKED = THIS_EXPR.prop('numberOfChecks').identical(new LiteralExpr(0));\n var NOT_THROW_ON_CHANGES = not(DetectChangesVars.throwOnChange);\n function bindDirectiveAfterContentLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n var view = compileElement.view;\n var lifecycleHooks = directiveMeta.type.lifecycleHooks;\n var afterContentLifecycleCallbacksMethod = view.afterContentLifecycleCallbacksMethod;\n afterContentLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (lifecycleHooks.indexOf(LifecycleHooks.AfterContentInit) !== -1) {\n afterContentLifecycleCallbacksMethod.addStmt(new IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterContentInit', []).toStmt()]));\n }\n if (lifecycleHooks.indexOf(LifecycleHooks.AfterContentChecked) !== -1) {\n afterContentLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterContentChecked', []).toStmt());\n }\n }\n function bindDirectiveAfterViewLifecycleCallbacks(directiveMeta, directiveInstance, compileElement) {\n var view = compileElement.view;\n var lifecycleHooks = directiveMeta.type.lifecycleHooks;\n var afterViewLifecycleCallbacksMethod = view.afterViewLifecycleCallbacksMethod;\n afterViewLifecycleCallbacksMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (lifecycleHooks.indexOf(LifecycleHooks.AfterViewInit) !== -1) {\n afterViewLifecycleCallbacksMethod.addStmt(new IfStmt(STATE_IS_NEVER_CHECKED, [directiveInstance.callMethod('ngAfterViewInit', []).toStmt()]));\n }\n if (lifecycleHooks.indexOf(LifecycleHooks.AfterViewChecked) !== -1) {\n afterViewLifecycleCallbacksMethod.addStmt(directiveInstance.callMethod('ngAfterViewChecked', []).toStmt());\n }\n }\n function bindDirectiveWrapperLifecycleCallbacks(dir, directiveWrapperIntance, compileElement) {\n compileElement.view.destroyMethod.addStmts(DirectiveWrapperExpressions.ngOnDestroy(dir.directive, directiveWrapperIntance));\n compileElement.view.detachMethod.addStmts(DirectiveWrapperExpressions.ngOnDetach(dir.hostProperties, directiveWrapperIntance, THIS_EXPR, compileElement.compViewExpr || THIS_EXPR, compileElement.renderNode));\n }\n function bindInjectableDestroyLifecycleCallbacks(provider, providerInstance, compileElement) {\n var onDestroyMethod = compileElement.view.destroyMethod;\n onDestroyMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n if (provider.providerType !== exports.ProviderAstType.Directive &&\n provider.providerType !== exports.ProviderAstType.Component &&\n provider.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n onDestroyMethod.addStmt(providerInstance.callMethod('ngOnDestroy', []).toStmt());\n }\n }\n function bindPipeDestroyLifecycleCallbacks(pipeMeta, pipeInstance, view) {\n var onDestroyMethod = view.destroyMethod;\n if (pipeMeta.type.lifecycleHooks.indexOf(LifecycleHooks.OnDestroy) !== -1) {\n onDestroyMethod.addStmt(pipeInstance.callMethod('ngOnDestroy', []).toStmt());\n }\n }\n\n function bindRenderText(boundText, compileNode, view) {\n var valueField = createCheckBindingField(view);\n var evalResult = convertPropertyBinding(view, view, view.componentContext, boundText.value, valueField.bindingId);\n if (!evalResult) {\n return null;\n }\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileNode.nodeIndex, boundText);\n view.detectChangesRenderPropertiesMethod.addStmts(createCheckBindingStmt(evalResult, valueField.expression, DetectChangesVars.throwOnChange, [THIS_EXPR.prop('renderer')\n .callMethod('setText', [compileNode.renderNode, evalResult.currValExpr])\n .toStmt()]));\n }\n function bindRenderInputs(boundProps, hasEvents, compileElement) {\n var view = compileElement.view;\n var renderNode = compileElement.renderNode;\n boundProps.forEach(function (boundProp) {\n var bindingField = createCheckBindingField(view);\n view.detectChangesRenderPropertiesMethod.resetDebugInfo(compileElement.nodeIndex, boundProp);\n var evalResult = convertPropertyBinding(view, view, compileElement.view.componentContext, boundProp.value, bindingField.bindingId);\n if (!evalResult) {\n return;\n }\n var checkBindingStmts = [];\n var compileMethod = view.detectChangesRenderPropertiesMethod;\n switch (boundProp.type) {\n case exports.PropertyBindingType.Property:\n case exports.PropertyBindingType.Attribute:\n case exports.PropertyBindingType.Class:\n case exports.PropertyBindingType.Style:\n checkBindingStmts.push.apply(checkBindingStmts, writeToRenderer(THIS_EXPR, boundProp, renderNode, evalResult.currValExpr, view.genConfig.logBindingUpdate));\n break;\n case exports.PropertyBindingType.Animation:\n compileMethod = view.animationBindingsMethod;\n var _a = triggerAnimation(THIS_EXPR, THIS_EXPR, boundProp, (hasEvents ? THIS_EXPR.prop(getHandleEventMethodName(compileElement.nodeIndex)) :\n importExpr(resolveIdentifier(Identifiers.noop)))\n .callMethod(BuiltinMethod.Bind, [THIS_EXPR]), compileElement.renderNode, evalResult.currValExpr, bindingField.expression), updateStmts = _a.updateStmts, detachStmts = _a.detachStmts;\n checkBindingStmts.push.apply(checkBindingStmts, updateStmts);\n view.detachMethod.addStmts(detachStmts);\n break;\n }\n compileMethod.addStmts(createCheckBindingStmt(evalResult, bindingField.expression, DetectChangesVars.throwOnChange, checkBindingStmts));\n });\n }\n function bindDirectiveHostProps(directiveAst, directiveWrapperInstance, compileElement, elementName, schemaRegistry) {\n // We need to provide the SecurityContext for properties that could need sanitization.\n var runtimeSecurityCtxExprs = directiveAst.hostProperties.filter(function (boundProp) { return boundProp.needsRuntimeSecurityContext; })\n .map(function (boundProp) {\n var ctx;\n switch (boundProp.type) {\n case exports.PropertyBindingType.Property:\n ctx = schemaRegistry.securityContext(elementName, boundProp.name, false);\n break;\n case exports.PropertyBindingType.Attribute:\n ctx = schemaRegistry.securityContext(elementName, boundProp.name, true);\n break;\n default:\n throw new Error(\"Illegal state: Only property / attribute bindings can have an unknown security context! Binding \" + boundProp.name);\n }\n return createEnumExpression(Identifiers.SecurityContext, ctx);\n });\n compileElement.view.detectChangesRenderPropertiesMethod.addStmts(DirectiveWrapperExpressions.checkHost(directiveAst.hostProperties, directiveWrapperInstance, THIS_EXPR, compileElement.compViewExpr || THIS_EXPR, compileElement.renderNode, DetectChangesVars.throwOnChange, runtimeSecurityCtxExprs));\n }\n function bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement) {\n var view = compileElement.view;\n var detectChangesInInputsMethod = view.detectChangesInInputsMethod;\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, compileElement.sourceAst);\n directiveAst.inputs.forEach(function (input, inputIdx) {\n // Note: We can't use `fields.length` here, as we are not adding a field!\n var bindingId = compileElement.nodeIndex + \"_\" + dirIndex + \"_\" + inputIdx;\n detectChangesInInputsMethod.resetDebugInfo(compileElement.nodeIndex, input);\n var evalResult = convertPropertyBinding(view, view, view.componentContext, input.value, bindingId);\n if (!evalResult) {\n return;\n }\n detectChangesInInputsMethod.addStmts(evalResult.stmts);\n detectChangesInInputsMethod.addStmt(directiveWrapperInstance\n .callMethod(\"check_\" + input.directiveName, [\n evalResult.currValExpr, DetectChangesVars.throwOnChange,\n evalResult.forceUpdate || literal(false)\n ])\n .toStmt());\n });\n var isOnPushComp = directiveAst.directive.isComponent &&\n !isDefaultChangeDetectionStrategy(directiveAst.directive.changeDetection);\n var directiveDetectChangesExpr = DirectiveWrapperExpressions.ngDoCheck(directiveWrapperInstance, THIS_EXPR, compileElement.renderNode, DetectChangesVars.throwOnChange);\n var directiveDetectChangesStmt = isOnPushComp ?\n new IfStmt(directiveDetectChangesExpr, [compileElement.compViewExpr.callMethod('markAsCheckOnce', []).toStmt()]) :\n directiveDetectChangesExpr.toStmt();\n detectChangesInInputsMethod.addStmt(directiveDetectChangesStmt);\n }\n\n function bindView(view, parsedTemplate, schemaRegistry) {\n var visitor = new ViewBinderVisitor(view, schemaRegistry);\n templateVisitAll(visitor, parsedTemplate);\n view.pipes.forEach(function (pipe) { bindPipeDestroyLifecycleCallbacks(pipe.meta, pipe.instance, pipe.view); });\n }\n var ViewBinderVisitor = (function () {\n function ViewBinderVisitor(view, _schemaRegistry) {\n this.view = view;\n this._schemaRegistry = _schemaRegistry;\n this._nodeIndex = 0;\n }\n ViewBinderVisitor.prototype.visitBoundText = function (ast, parent) {\n var node = this.view.nodes[this._nodeIndex++];\n bindRenderText(ast, node, this.view);\n return null;\n };\n ViewBinderVisitor.prototype.visitText = function (ast, parent) {\n this._nodeIndex++;\n return null;\n };\n ViewBinderVisitor.prototype.visitNgContent = function (ast, parent) { return null; };\n ViewBinderVisitor.prototype.visitElement = function (ast, parent) {\n var _this = this;\n var compileElement = this.view.nodes[this._nodeIndex++];\n var hasEvents = bindOutputs(ast.outputs, ast.directives, compileElement, true);\n bindRenderInputs(ast.inputs, hasEvents, compileElement);\n ast.directives.forEach(function (directiveAst, dirIndex) {\n var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement);\n bindDirectiveHostProps(directiveAst, directiveWrapperInstance, compileElement, ast.name, _this._schemaRegistry);\n });\n templateVisitAll(this, ast.children, compileElement);\n // afterContent and afterView lifecycles need to be called bottom up\n // so that children are notified before parents\n ast.directives.forEach(function (directiveAst) {\n var directiveInstance = compileElement.instances.get(directiveAst.directive.type.reference);\n var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n bindDirectiveWrapperLifecycleCallbacks(directiveAst, directiveWrapperInstance, compileElement);\n });\n ast.providers.forEach(function (providerAst) {\n var providerInstance = compileElement.instances.get(providerAst.token.reference);\n bindInjectableDestroyLifecycleCallbacks(providerAst, providerInstance, compileElement);\n });\n return null;\n };\n ViewBinderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\n var compileElement = this.view.nodes[this._nodeIndex++];\n bindOutputs(ast.outputs, ast.directives, compileElement, false);\n ast.directives.forEach(function (directiveAst, dirIndex) {\n var directiveInstance = compileElement.instances.get(directiveAst.directive.type.reference);\n var directiveWrapperInstance = compileElement.directiveWrapperInstance.get(directiveAst.directive.type.reference);\n bindDirectiveInputs(directiveAst, directiveWrapperInstance, dirIndex, compileElement);\n bindDirectiveAfterContentLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n bindDirectiveAfterViewLifecycleCallbacks(directiveAst.directive, directiveInstance, compileElement);\n bindDirectiveWrapperLifecycleCallbacks(directiveAst, directiveWrapperInstance, compileElement);\n });\n ast.providers.forEach(function (providerAst) {\n var providerInstance = compileElement.instances.get(providerAst.token.reference);\n bindInjectableDestroyLifecycleCallbacks(providerAst, providerInstance, compileElement);\n });\n bindView(compileElement.embeddedView, ast.children, this._schemaRegistry);\n return null;\n };\n ViewBinderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\n ViewBinderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\n ViewBinderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\n return null;\n };\n ViewBinderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\n ViewBinderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\n ViewBinderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\n ViewBinderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\n return ViewBinderVisitor;\n }());\n\n var IMPLICIT_TEMPLATE_VAR = '\\$implicit';\n var CLASS_ATTR$1 = 'class';\n var STYLE_ATTR = 'style';\n var NG_CONTAINER_TAG = 'ng-container';\n var parentRenderNodeVar = variable('parentRenderNode');\n var rootSelectorVar = variable('rootSelector');\n function buildView(view, template, targetDependencies) {\n var builderVisitor = new ViewBuilderVisitor(view, targetDependencies);\n var parentEl = view.declarationElement.isNull() ? view.declarationElement : view.declarationElement.parent;\n templateVisitAll(builderVisitor, template, parentEl);\n if (view.viewType === ViewType.EMBEDDED || view.viewType === ViewType.HOST) {\n view.lastRenderNode = builderVisitor.getOrCreateLastRenderNode();\n }\n return builderVisitor.nestedViewCount;\n }\n function finishView(view, targetStatements) {\n view.afterNodes();\n createViewTopLevelStmts(view, targetStatements);\n view.nodes.forEach(function (node) {\n if (node instanceof CompileElement && node.hasEmbeddedView) {\n finishView(node.embeddedView, targetStatements);\n }\n });\n }\n var ViewBuilderVisitor = (function () {\n function ViewBuilderVisitor(view, targetDependencies) {\n this.view = view;\n this.targetDependencies = targetDependencies;\n this.nestedViewCount = 0;\n }\n ViewBuilderVisitor.prototype._isRootNode = function (parent) { return parent.view !== this.view; };\n ViewBuilderVisitor.prototype._addRootNodeAndProject = function (node) {\n var projectedNode = _getOuterContainerOrSelf(node);\n var parent = projectedNode.parent;\n var ngContentIndex = projectedNode.sourceAst.ngContentIndex;\n var viewContainer = (node instanceof CompileElement && node.hasViewContainer) ? node.viewContainer : null;\n if (this._isRootNode(parent)) {\n if (this.view.viewType !== ViewType.COMPONENT) {\n this.view.rootNodes.push(new CompileViewRootNode(viewContainer ? CompileViewRootNodeType.ViewContainer : CompileViewRootNodeType.Node, viewContainer || node.renderNode));\n }\n }\n else if (isPresent(parent.component) && isPresent(ngContentIndex)) {\n parent.addContentNode(ngContentIndex, new CompileViewRootNode(viewContainer ? CompileViewRootNodeType.ViewContainer : CompileViewRootNodeType.Node, viewContainer || node.renderNode));\n }\n };\n ViewBuilderVisitor.prototype._getParentRenderNode = function (parent) {\n parent = _getOuterContainerParentOrSelf(parent);\n if (this._isRootNode(parent)) {\n if (this.view.viewType === ViewType.COMPONENT) {\n return parentRenderNodeVar;\n }\n else {\n // root node of an embedded/host view\n return NULL_EXPR;\n }\n }\n else {\n return isPresent(parent.component) &&\n parent.component.template.encapsulation !== _angular_core.ViewEncapsulation.Native ?\n NULL_EXPR :\n parent.renderNode;\n }\n };\n ViewBuilderVisitor.prototype.getOrCreateLastRenderNode = function () {\n var view = this.view;\n if (view.rootNodes.length === 0 ||\n view.rootNodes[view.rootNodes.length - 1].type !== CompileViewRootNodeType.Node) {\n var fieldName = \"_el_\" + view.nodes.length;\n view.fields.push(new ClassField(fieldName, importType(view.genConfig.renderTypes.renderElement)));\n view.createMethod.addStmt(THIS_EXPR.prop(fieldName)\n .set(ViewProperties.renderer.callMethod('createTemplateAnchor', [NULL_EXPR, NULL_EXPR]))\n .toStmt());\n view.rootNodes.push(new CompileViewRootNode(CompileViewRootNodeType.Node, THIS_EXPR.prop(fieldName)));\n }\n return view.rootNodes[view.rootNodes.length - 1].expr;\n };\n ViewBuilderVisitor.prototype.visitBoundText = function (ast, parent) {\n return this._visitText(ast, '', parent);\n };\n ViewBuilderVisitor.prototype.visitText = function (ast, parent) {\n return this._visitText(ast, ast.value, parent);\n };\n ViewBuilderVisitor.prototype._visitText = function (ast, value, parent) {\n var fieldName = \"_text_\" + this.view.nodes.length;\n this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderText)));\n var renderNode = THIS_EXPR.prop(fieldName);\n var compileNode = new CompileNode(parent, this.view, this.view.nodes.length, renderNode, ast);\n var createRenderNode = THIS_EXPR.prop(fieldName)\n .set(ViewProperties.renderer.callMethod('createText', [\n this._getParentRenderNode(parent), literal(value),\n this.view.createMethod.resetDebugInfoExpr(this.view.nodes.length, ast)\n ]))\n .toStmt();\n this.view.nodes.push(compileNode);\n this.view.createMethod.addStmt(createRenderNode);\n this._addRootNodeAndProject(compileNode);\n return renderNode;\n };\n ViewBuilderVisitor.prototype.visitNgContent = function (ast, parent) {\n // the projected nodes originate from a different view, so we don't\n // have debug information for them...\n this.view.createMethod.resetDebugInfo(null, ast);\n var parentRenderNode = this._getParentRenderNode(parent);\n if (parentRenderNode !== NULL_EXPR) {\n this.view.createMethod.addStmt(THIS_EXPR.callMethod('projectNodes', [parentRenderNode, literal(ast.index)])\n .toStmt());\n }\n else if (this._isRootNode(parent)) {\n if (this.view.viewType !== ViewType.COMPONENT) {\n // store root nodes only for embedded/host views\n this.view.rootNodes.push(new CompileViewRootNode(CompileViewRootNodeType.NgContent, null, ast.index));\n }\n }\n else {\n if (isPresent(parent.component) && isPresent(ast.ngContentIndex)) {\n parent.addContentNode(ast.ngContentIndex, new CompileViewRootNode(CompileViewRootNodeType.NgContent, null, ast.index));\n }\n }\n return null;\n };\n ViewBuilderVisitor.prototype.visitElement = function (ast, parent) {\n var nodeIndex = this.view.nodes.length;\n var createRenderNodeExpr;\n var debugContextExpr = this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast);\n var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\n var component = directives.find(function (directive) { return directive.isComponent; });\n if (ast.name === NG_CONTAINER_TAG) {\n createRenderNodeExpr = ViewProperties.renderer.callMethod('createTemplateAnchor', [this._getParentRenderNode(parent), debugContextExpr]);\n }\n else {\n var htmlAttrs = _readHtmlAttrs(ast.attrs);\n var attrNameAndValues = createInlineArray(_mergeHtmlAndDirectiveAttrs(htmlAttrs, directives).map(function (v) { return literal(v); }));\n if (nodeIndex === 0 && this.view.viewType === ViewType.HOST) {\n createRenderNodeExpr =\n importExpr(resolveIdentifier(Identifiers.selectOrCreateRenderHostElement)).callFn([\n ViewProperties.renderer, literal(ast.name), attrNameAndValues, rootSelectorVar,\n debugContextExpr\n ]);\n }\n else {\n createRenderNodeExpr =\n importExpr(resolveIdentifier(Identifiers.createRenderElement)).callFn([\n ViewProperties.renderer, this._getParentRenderNode(parent), literal(ast.name),\n attrNameAndValues, debugContextExpr\n ]);\n }\n }\n var fieldName = \"_el_\" + nodeIndex;\n this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderElement)));\n this.view.createMethod.addStmt(THIS_EXPR.prop(fieldName).set(createRenderNodeExpr).toStmt());\n var renderNode = THIS_EXPR.prop(fieldName);\n var compileElement = new CompileElement(parent, this.view, nodeIndex, renderNode, ast, component, directives, ast.providers, ast.hasViewContainer, false, ast.references, this.targetDependencies);\n this.view.nodes.push(compileElement);\n var compViewExpr = null;\n if (isPresent(component)) {\n var nestedComponentIdentifier = new CompileIdentifierMetadata({ name: getViewClassName(component, 0) });\n this.targetDependencies.push(new ViewClassDependency(component.type, nestedComponentIdentifier));\n compViewExpr = THIS_EXPR.prop(\"compView_\" + nodeIndex); // fix highlighting: `\n this.view.fields.push(new ClassField(compViewExpr.name, importType(resolveIdentifier(Identifiers.AppView), [importType(component.type)])));\n this.view.viewChildren.push(compViewExpr);\n compileElement.setComponentView(compViewExpr);\n this.view.createMethod.addStmt(compViewExpr\n .set(importExpr(nestedComponentIdentifier).instantiate([\n ViewProperties.viewUtils, THIS_EXPR, literal(nodeIndex), renderNode\n ]))\n .toStmt());\n }\n compileElement.beforeChildren();\n this._addRootNodeAndProject(compileElement);\n templateVisitAll(this, ast.children, compileElement);\n compileElement.afterChildren(this.view.nodes.length - nodeIndex - 1);\n if (isPresent(compViewExpr)) {\n this.view.createMethod.addStmt(compViewExpr.callMethod('create', [compileElement.getComponent()]).toStmt());\n }\n return null;\n };\n ViewBuilderVisitor.prototype.visitEmbeddedTemplate = function (ast, parent) {\n var nodeIndex = this.view.nodes.length;\n var fieldName = \"_anchor_\" + nodeIndex;\n this.view.fields.push(new ClassField(fieldName, importType(this.view.genConfig.renderTypes.renderComment)));\n this.view.createMethod.addStmt(THIS_EXPR.prop(fieldName)\n .set(ViewProperties.renderer.callMethod('createTemplateAnchor', [\n this._getParentRenderNode(parent),\n this.view.createMethod.resetDebugInfoExpr(nodeIndex, ast)\n ]))\n .toStmt());\n var renderNode = THIS_EXPR.prop(fieldName);\n var templateVariableBindings = ast.variables.map(function (varAst) { return [varAst.value.length > 0 ? varAst.value : IMPLICIT_TEMPLATE_VAR, varAst.name]; });\n var directives = ast.directives.map(function (directiveAst) { return directiveAst.directive; });\n var compileElement = new CompileElement(parent, this.view, nodeIndex, renderNode, ast, null, directives, ast.providers, ast.hasViewContainer, true, ast.references, this.targetDependencies);\n this.view.nodes.push(compileElement);\n this.nestedViewCount++;\n var embeddedView = new CompileView(this.view.component, this.view.genConfig, this.view.pipeMetas, NULL_EXPR, this.view.animations, this.view.viewIndex + this.nestedViewCount, compileElement, templateVariableBindings);\n this.nestedViewCount += buildView(embeddedView, ast.children, this.targetDependencies);\n compileElement.beforeChildren();\n this._addRootNodeAndProject(compileElement);\n compileElement.afterChildren(0);\n return null;\n };\n ViewBuilderVisitor.prototype.visitAttr = function (ast, ctx) { return null; };\n ViewBuilderVisitor.prototype.visitDirective = function (ast, ctx) { return null; };\n ViewBuilderVisitor.prototype.visitEvent = function (ast, eventTargetAndNames) {\n return null;\n };\n ViewBuilderVisitor.prototype.visitReference = function (ast, ctx) { return null; };\n ViewBuilderVisitor.prototype.visitVariable = function (ast, ctx) { return null; };\n ViewBuilderVisitor.prototype.visitDirectiveProperty = function (ast, context) { return null; };\n ViewBuilderVisitor.prototype.visitElementProperty = function (ast, context) { return null; };\n return ViewBuilderVisitor;\n }());\n /**\n * Walks up the nodes while the direct parent is a container.\n *\n * Returns the outer container or the node itself when it is not a direct child of a container.\n *\n * @internal\n */\n function _getOuterContainerOrSelf(node) {\n var view = node.view;\n while (_isNgContainer(node.parent, view)) {\n node = node.parent;\n }\n return node;\n }\n /**\n * Walks up the nodes while they are container and returns the first parent which is not.\n *\n * Returns the parent of the outer container or the node itself when it is not a container.\n *\n * @internal\n */\n function _getOuterContainerParentOrSelf(el) {\n var view = el.view;\n while (_isNgContainer(el, view)) {\n el = el.parent;\n }\n return el;\n }\n function _isNgContainer(node, view) {\n return !node.isNull() && node.sourceAst.name === NG_CONTAINER_TAG &&\n node.view === view;\n }\n function _mergeHtmlAndDirectiveAttrs(declaredHtmlAttrs, directives) {\n var mapResult = {};\n Object.keys(declaredHtmlAttrs).forEach(function (key) { mapResult[key] = declaredHtmlAttrs[key]; });\n directives.forEach(function (directiveMeta) {\n Object.keys(directiveMeta.hostAttributes).forEach(function (name) {\n var value = directiveMeta.hostAttributes[name];\n var prevValue = mapResult[name];\n mapResult[name] = isPresent(prevValue) ? mergeAttributeValue(name, prevValue, value) : value;\n });\n });\n var arrResult = [];\n // Note: We need to sort to get a defined output order\n // for tests and for caching generated artifacts...\n Object.keys(mapResult).sort().forEach(function (attrName) { arrResult.push(attrName, mapResult[attrName]); });\n return arrResult;\n }\n function _readHtmlAttrs(attrs) {\n var htmlAttrs = {};\n attrs.forEach(function (ast) { htmlAttrs[ast.name] = ast.value; });\n return htmlAttrs;\n }\n function mergeAttributeValue(attrName, attrValue1, attrValue2) {\n if (attrName == CLASS_ATTR$1 || attrName == STYLE_ATTR) {\n return attrValue1 + \" \" + attrValue2;\n }\n else {\n return attrValue2;\n }\n }\n function createViewTopLevelStmts(view, targetStatements) {\n var nodeDebugInfosVar = NULL_EXPR;\n if (view.genConfig.genDebugInfo) {\n nodeDebugInfosVar = variable(\"nodeDebugInfos_\" + view.component.type.name + view.viewIndex); // fix highlighting: `\n targetStatements.push(nodeDebugInfosVar\n .set(literalArr(view.nodes.map(createStaticNodeDebugInfo), new ArrayType(new ExternalType(resolveIdentifier(Identifiers.StaticNodeDebugInfo)), [TypeModifier.Const])))\n .toDeclStmt(null, [StmtModifier.Final]));\n }\n var renderCompTypeVar = variable(\"renderType_\" + view.component.type.name); // fix highlighting: `\n if (view.viewIndex === 0) {\n var templateUrlInfo = void 0;\n if (view.component.template.templateUrl == view.component.type.moduleUrl) {\n templateUrlInfo =\n view.component.type.moduleUrl + \" class \" + view.component.type.name + \" - inline template\";\n }\n else {\n templateUrlInfo = view.component.template.templateUrl;\n }\n targetStatements.push(renderCompTypeVar\n .set(importExpr(resolveIdentifier(Identifiers.createRenderComponentType)).callFn([\n view.genConfig.genDebugInfo ? literal(templateUrlInfo) : literal(''),\n literal(view.component.template.ngContentSelectors.length),\n ViewEncapsulationEnum.fromValue(view.component.template.encapsulation),\n view.styles,\n literalMap(view.animations.map(function (entry) { return [entry.name, entry.fnExp]; })),\n ]))\n .toDeclStmt(importType(resolveIdentifier(Identifiers.RenderComponentType))));\n }\n var viewClass = createViewClass(view, renderCompTypeVar, nodeDebugInfosVar);\n targetStatements.push(viewClass);\n }\n function createStaticNodeDebugInfo(node) {\n var compileElement = node instanceof CompileElement ? node : null;\n var providerTokens = [];\n var componentToken = NULL_EXPR;\n var varTokenEntries = [];\n if (isPresent(compileElement)) {\n providerTokens = compileElement.getProviderTokens();\n if (isPresent(compileElement.component)) {\n componentToken = createDiTokenExpression(identifierToken(compileElement.component.type));\n }\n Object.keys(compileElement.referenceTokens).forEach(function (varName) {\n var token = compileElement.referenceTokens[varName];\n varTokenEntries.push([varName, isPresent(token) ? createDiTokenExpression(token) : NULL_EXPR]);\n });\n }\n return importExpr(resolveIdentifier(Identifiers.StaticNodeDebugInfo))\n .instantiate([\n literalArr(providerTokens, new ArrayType(DYNAMIC_TYPE, [TypeModifier.Const])),\n componentToken,\n literalMap(varTokenEntries, new MapType(DYNAMIC_TYPE, [TypeModifier.Const]))\n ], importType(resolveIdentifier(Identifiers.StaticNodeDebugInfo), null, [TypeModifier.Const]));\n }\n function createViewClass(view, renderCompTypeVar, nodeDebugInfosVar) {\n var viewConstructorArgs = [\n new FnParam(ViewConstructorVars.viewUtils.name, importType(resolveIdentifier(Identifiers.ViewUtils))),\n new FnParam(ViewConstructorVars.parentView.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(ViewConstructorVars.parentIndex.name, NUMBER_TYPE),\n new FnParam(ViewConstructorVars.parentElement.name, DYNAMIC_TYPE)\n ];\n var superConstructorArgs = [\n variable(view.className), renderCompTypeVar, ViewTypeEnum.fromValue(view.viewType),\n ViewConstructorVars.viewUtils, ViewConstructorVars.parentView, ViewConstructorVars.parentIndex,\n ViewConstructorVars.parentElement,\n ChangeDetectorStatusEnum.fromValue(getChangeDetectionMode(view))\n ];\n if (view.genConfig.genDebugInfo) {\n superConstructorArgs.push(nodeDebugInfosVar);\n }\n if (view.viewType === ViewType.EMBEDDED) {\n viewConstructorArgs.push(new FnParam('declaredViewContainer', importType(resolveIdentifier(Identifiers.ViewContainer))));\n superConstructorArgs.push(variable('declaredViewContainer'));\n }\n var viewMethods = [\n new ClassMethod('createInternal', [new FnParam(rootSelectorVar.name, STRING_TYPE)], generateCreateMethod(view), importType(resolveIdentifier(Identifiers.ComponentRef), [DYNAMIC_TYPE])),\n new ClassMethod('injectorGetInternal', [\n new FnParam(InjectMethodVars$1.token.name, DYNAMIC_TYPE),\n // Note: Can't use o.INT_TYPE here as the method in AppView uses number\n new FnParam(InjectMethodVars$1.requestNodeIndex.name, NUMBER_TYPE),\n new FnParam(InjectMethodVars$1.notFoundResult.name, DYNAMIC_TYPE)\n ], addReturnValuefNotEmpty(view.injectorGetMethod.finish(), InjectMethodVars$1.notFoundResult), DYNAMIC_TYPE),\n new ClassMethod('detectChangesInternal', [new FnParam(DetectChangesVars.throwOnChange.name, BOOL_TYPE)], generateDetectChangesMethod(view)),\n new ClassMethod('dirtyParentQueriesInternal', [], view.dirtyParentQueriesMethod.finish()),\n new ClassMethod('destroyInternal', [], generateDestroyMethod(view)),\n new ClassMethod('detachInternal', [], view.detachMethod.finish()),\n generateVisitRootNodesMethod(view), generateVisitProjectableNodesMethod(view),\n generateCreateEmbeddedViewsMethod(view)\n ].filter(function (method) { return method.body.length > 0; });\n var superClass = view.genConfig.genDebugInfo ? Identifiers.DebugAppView : Identifiers.AppView;\n var viewClass = createClassStmt({\n name: view.className,\n parent: importExpr(resolveIdentifier(superClass), [getContextType(view)]),\n parentArgs: superConstructorArgs,\n ctorParams: viewConstructorArgs,\n builders: [{ methods: viewMethods }, view]\n });\n return viewClass;\n }\n function generateDestroyMethod(view) {\n var stmts = [];\n view.viewContainers.forEach(function (viewContainer) {\n stmts.push(viewContainer.callMethod('destroyNestedViews', []).toStmt());\n });\n view.viewChildren.forEach(function (viewChild) { stmts.push(viewChild.callMethod('destroy', []).toStmt()); });\n stmts.push.apply(stmts, view.destroyMethod.finish());\n return stmts;\n }\n function generateCreateMethod(view) {\n var parentRenderNodeExpr = NULL_EXPR;\n var parentRenderNodeStmts = [];\n if (view.viewType === ViewType.COMPONENT) {\n parentRenderNodeExpr =\n ViewProperties.renderer.callMethod('createViewRoot', [THIS_EXPR.prop('parentElement')]);\n parentRenderNodeStmts =\n [parentRenderNodeVar.set(parentRenderNodeExpr)\n .toDeclStmt(importType(view.genConfig.renderTypes.renderNode), [StmtModifier.Final])];\n }\n var resultExpr;\n if (view.viewType === ViewType.HOST) {\n var hostEl = view.nodes[0];\n resultExpr =\n importExpr(resolveIdentifier(Identifiers.ComponentRef_), [DYNAMIC_TYPE]).instantiate([\n literal(hostEl.nodeIndex), THIS_EXPR, hostEl.renderNode, hostEl.getComponent()\n ]);\n }\n else {\n resultExpr = NULL_EXPR;\n }\n var allNodesExpr = ViewProperties.renderer.cast(DYNAMIC_TYPE)\n .prop('directRenderer')\n .conditional(NULL_EXPR, literalArr(view.nodes.map(function (node) { return node.renderNode; })));\n return parentRenderNodeStmts.concat(view.createMethod.finish(), [\n THIS_EXPR\n .callMethod('init', [\n view.lastRenderNode,\n allNodesExpr,\n view.disposables.length ? literalArr(view.disposables) : NULL_EXPR,\n ])\n .toStmt(),\n new ReturnStatement(resultExpr)\n ]);\n }\n function generateDetectChangesMethod(view) {\n var stmts = [];\n if (view.animationBindingsMethod.isEmpty() && view.detectChangesInInputsMethod.isEmpty() &&\n view.updateContentQueriesMethod.isEmpty() &&\n view.afterContentLifecycleCallbacksMethod.isEmpty() &&\n view.detectChangesRenderPropertiesMethod.isEmpty() &&\n view.updateViewQueriesMethod.isEmpty() && view.afterViewLifecycleCallbacksMethod.isEmpty() &&\n view.viewContainers.length === 0 && view.viewChildren.length === 0) {\n return stmts;\n }\n stmts.push.apply(stmts, view.animationBindingsMethod.finish());\n stmts.push.apply(stmts, view.detectChangesInInputsMethod.finish());\n view.viewContainers.forEach(function (viewContainer) {\n stmts.push(viewContainer.callMethod('detectChangesInNestedViews', [DetectChangesVars.throwOnChange])\n .toStmt());\n });\n var afterContentStmts = view.updateContentQueriesMethod.finish().concat(view.afterContentLifecycleCallbacksMethod.finish());\n if (afterContentStmts.length > 0) {\n stmts.push(new IfStmt(not(DetectChangesVars.throwOnChange), afterContentStmts));\n }\n stmts.push.apply(stmts, view.detectChangesRenderPropertiesMethod.finish());\n view.viewChildren.forEach(function (viewChild) {\n stmts.push(viewChild.callMethod('detectChanges', [DetectChangesVars.throwOnChange]).toStmt());\n });\n var afterViewStmts = view.updateViewQueriesMethod.finish().concat(view.afterViewLifecycleCallbacksMethod.finish());\n if (afterViewStmts.length > 0) {\n stmts.push(new IfStmt(not(DetectChangesVars.throwOnChange), afterViewStmts));\n }\n var varStmts = [];\n var readVars = findReadVarNames(stmts);\n if (readVars.has(DetectChangesVars.changed.name)) {\n varStmts.push(DetectChangesVars.changed.set(literal(true)).toDeclStmt(BOOL_TYPE));\n }\n if (readVars.has(DetectChangesVars.changes.name)) {\n varStmts.push(DetectChangesVars.changes.set(NULL_EXPR)\n .toDeclStmt(new MapType(importType(resolveIdentifier(Identifiers.SimpleChange)))));\n }\n varStmts.push.apply(varStmts, createSharedBindingVariablesIfNeeded(stmts));\n return varStmts.concat(stmts);\n }\n function addReturnValuefNotEmpty(statements, value) {\n if (statements.length > 0) {\n return statements.concat([new ReturnStatement(value)]);\n }\n else {\n return statements;\n }\n }\n function getContextType(view) {\n if (view.viewType === ViewType.COMPONENT) {\n return importType(view.component.type);\n }\n return DYNAMIC_TYPE;\n }\n function getChangeDetectionMode(view) {\n var mode;\n if (view.viewType === ViewType.COMPONENT) {\n mode = isDefaultChangeDetectionStrategy(view.component.changeDetection) ?\n ChangeDetectorStatus.CheckAlways :\n ChangeDetectorStatus.CheckOnce;\n }\n else {\n mode = ChangeDetectorStatus.CheckAlways;\n }\n return mode;\n }\n function generateVisitRootNodesMethod(view) {\n var cbVar = variable('cb');\n var ctxVar = variable('ctx');\n var stmts = generateVisitNodesStmts(view.rootNodes, cbVar, ctxVar);\n return new ClassMethod('visitRootNodesInternal', [new FnParam(cbVar.name, DYNAMIC_TYPE), new FnParam(ctxVar.name, DYNAMIC_TYPE)], stmts);\n }\n function generateVisitProjectableNodesMethod(view) {\n var nodeIndexVar = variable('nodeIndex');\n var ngContentIndexVar = variable('ngContentIndex');\n var cbVar = variable('cb');\n var ctxVar = variable('ctx');\n var stmts = [];\n view.nodes.forEach(function (node) {\n if (node instanceof CompileElement && node.component) {\n node.contentNodesByNgContentIndex.forEach(function (projectedNodes, ngContentIndex) {\n stmts.push(new IfStmt(nodeIndexVar.equals(literal(node.nodeIndex))\n .and(ngContentIndexVar.equals(literal(ngContentIndex))), generateVisitNodesStmts(projectedNodes, cbVar, ctxVar)));\n });\n }\n });\n return new ClassMethod('visitProjectableNodesInternal', [\n new FnParam(nodeIndexVar.name, NUMBER_TYPE),\n new FnParam(ngContentIndexVar.name, NUMBER_TYPE),\n new FnParam(cbVar.name, DYNAMIC_TYPE), new FnParam(ctxVar.name, DYNAMIC_TYPE)\n ], stmts);\n }\n function generateVisitNodesStmts(nodes, cb, ctx) {\n var stmts = [];\n nodes.forEach(function (node) {\n switch (node.type) {\n case CompileViewRootNodeType.Node:\n stmts.push(cb.callFn([node.expr, ctx]).toStmt());\n break;\n case CompileViewRootNodeType.ViewContainer:\n stmts.push(cb.callFn([node.expr.prop('nativeElement'), ctx]).toStmt());\n stmts.push(node.expr.callMethod('visitNestedViewRootNodes', [cb, ctx]).toStmt());\n break;\n case CompileViewRootNodeType.NgContent:\n stmts.push(THIS_EXPR.callMethod('visitProjectedNodes', [literal(node.ngContentIndex), cb, ctx])\n .toStmt());\n break;\n }\n });\n return stmts;\n }\n function generateCreateEmbeddedViewsMethod(view) {\n var nodeIndexVar = variable('nodeIndex');\n var stmts = [];\n view.nodes.forEach(function (node) {\n if (node instanceof CompileElement) {\n if (node.embeddedView) {\n var parentNodeIndex = node.isRootElement() ? null : node.parent.nodeIndex;\n stmts.push(new IfStmt(nodeIndexVar.equals(literal(node.nodeIndex)), [new ReturnStatement(node.embeddedView.classExpr.instantiate([\n ViewProperties.viewUtils, THIS_EXPR, literal(node.nodeIndex), node.renderNode,\n node.viewContainer\n ]))]));\n }\n }\n });\n if (stmts.length > 0) {\n stmts.push(new ReturnStatement(NULL_EXPR));\n }\n return new ClassMethod('createEmbeddedViewInternal', [new FnParam(nodeIndexVar.name, NUMBER_TYPE)], stmts, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE]));\n }\n\n var ViewCompileResult = (function () {\n function ViewCompileResult(statements, viewClassVar, dependencies) {\n this.statements = statements;\n this.viewClassVar = viewClassVar;\n this.dependencies = dependencies;\n }\n return ViewCompileResult;\n }());\n var ViewCompiler = (function () {\n function ViewCompiler(_genConfig, _schemaRegistry) {\n this._genConfig = _genConfig;\n this._schemaRegistry = _schemaRegistry;\n }\n ViewCompiler.prototype.compileComponent = function (component, template, styles, pipes, compiledAnimations) {\n var dependencies = [];\n var view = new CompileView(component, this._genConfig, pipes, styles, compiledAnimations, 0, CompileElement.createNull(), []);\n var statements = [];\n buildView(view, template, dependencies);\n // Need to separate binding from creation to be able to refer to\n // variables that have been declared after usage.\n bindView(view, template, this._schemaRegistry);\n finishView(view, statements);\n return new ViewCompileResult(statements, view.classExpr.name, dependencies);\n };\n ViewCompiler.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n ViewCompiler.ctorParameters = [\n { type: CompilerConfig, },\n { type: ElementSchemaRegistry, },\n ];\n return ViewCompiler;\n }());\n\n var AnimationEntryCompileResult = (function () {\n function AnimationEntryCompileResult(name, statements, fnExp) {\n this.name = name;\n this.statements = statements;\n this.fnExp = fnExp;\n }\n return AnimationEntryCompileResult;\n }());\n var AnimationCompiler = (function () {\n function AnimationCompiler() {\n }\n AnimationCompiler.prototype.compile = function (factoryNamePrefix, parsedAnimations) {\n return parsedAnimations.map(function (entry) {\n var factoryName = factoryNamePrefix + \"_\" + entry.name;\n var visitor = new _AnimationBuilder(entry.name, factoryName);\n return visitor.build(entry);\n });\n };\n return AnimationCompiler;\n }());\n var _ANIMATION_FACTORY_ELEMENT_VAR = variable('element');\n var _ANIMATION_DEFAULT_STATE_VAR = variable('defaultStateStyles');\n var _ANIMATION_FACTORY_VIEW_VAR = variable('view');\n var _ANIMATION_FACTORY_VIEW_CONTEXT = _ANIMATION_FACTORY_VIEW_VAR.prop('animationContext');\n var _ANIMATION_FACTORY_RENDERER_VAR = _ANIMATION_FACTORY_VIEW_VAR.prop('renderer');\n var _ANIMATION_CURRENT_STATE_VAR = variable('currentState');\n var _ANIMATION_NEXT_STATE_VAR = variable('nextState');\n var _ANIMATION_PLAYER_VAR = variable('player');\n var _ANIMATION_TIME_VAR = variable('totalTime');\n var _ANIMATION_START_STATE_STYLES_VAR = variable('startStateStyles');\n var _ANIMATION_END_STATE_STYLES_VAR = variable('endStateStyles');\n var _ANIMATION_COLLECTED_STYLES = variable('collectedStyles');\n var _PREVIOUS_ANIMATION_PLAYERS = variable('previousPlayers');\n var _EMPTY_MAP = literalMap([]);\n var _EMPTY_ARRAY = literalArr([]);\n var _AnimationBuilder = (function () {\n function _AnimationBuilder(animationName, factoryName) {\n this.animationName = animationName;\n this._fnVarName = factoryName + '_factory';\n this._statesMapVarName = factoryName + '_states';\n this._statesMapVar = variable(this._statesMapVarName);\n }\n _AnimationBuilder.prototype.visitAnimationStyles = function (ast, context) {\n var stylesArr = [];\n if (context.isExpectingFirstStyleStep) {\n stylesArr.push(_ANIMATION_START_STATE_STYLES_VAR);\n context.isExpectingFirstStyleStep = false;\n }\n ast.styles.forEach(function (entry) {\n var entries = Object.keys(entry).map(function (key) { return [key, literal(entry[key])]; });\n stylesArr.push(literalMap(entries));\n });\n return importExpr(resolveIdentifier(Identifiers.AnimationStyles)).instantiate([\n importExpr(resolveIdentifier(Identifiers.collectAndResolveStyles)).callFn([\n _ANIMATION_COLLECTED_STYLES, literalArr(stylesArr)\n ])\n ]);\n };\n _AnimationBuilder.prototype.visitAnimationKeyframe = function (ast, context) {\n return importExpr(resolveIdentifier(Identifiers.AnimationKeyframe)).instantiate([\n literal(ast.offset), ast.styles.visit(this, context)\n ]);\n };\n _AnimationBuilder.prototype.visitAnimationStep = function (ast, context) {\n var _this = this;\n if (context.endStateAnimateStep === ast) {\n return this._visitEndStateAnimation(ast, context);\n }\n var startingStylesExpr = ast.startingStyles.visit(this, context);\n var keyframeExpressions = ast.keyframes.map(function (keyframeEntry) { return keyframeEntry.visit(_this, context); });\n return this._callAnimateMethod(ast, startingStylesExpr, literalArr(keyframeExpressions), context);\n };\n /** @internal */\n _AnimationBuilder.prototype._visitEndStateAnimation = function (ast, context) {\n var _this = this;\n var startingStylesExpr = ast.startingStyles.visit(this, context);\n var keyframeExpressions = ast.keyframes.map(function (keyframe) { return keyframe.visit(_this, context); });\n var keyframesExpr = importExpr(resolveIdentifier(Identifiers.balanceAnimationKeyframes)).callFn([\n _ANIMATION_COLLECTED_STYLES, _ANIMATION_END_STATE_STYLES_VAR,\n literalArr(keyframeExpressions)\n ]);\n return this._callAnimateMethod(ast, startingStylesExpr, keyframesExpr, context);\n };\n /** @internal */\n _AnimationBuilder.prototype._callAnimateMethod = function (ast, startingStylesExpr, keyframesExpr, context) {\n var previousStylesValue = _EMPTY_ARRAY;\n if (context.isExpectingFirstAnimateStep) {\n previousStylesValue = _PREVIOUS_ANIMATION_PLAYERS;\n context.isExpectingFirstAnimateStep = false;\n }\n context.totalTransitionTime += ast.duration + ast.delay;\n return _ANIMATION_FACTORY_RENDERER_VAR.callMethod('animate', [\n _ANIMATION_FACTORY_ELEMENT_VAR, startingStylesExpr, keyframesExpr, literal(ast.duration),\n literal(ast.delay), literal(ast.easing), previousStylesValue\n ]);\n };\n _AnimationBuilder.prototype.visitAnimationSequence = function (ast, context) {\n var _this = this;\n var playerExprs = ast.steps.map(function (step) { return step.visit(_this, context); });\n return importExpr(resolveIdentifier(Identifiers.AnimationSequencePlayer)).instantiate([\n literalArr(playerExprs)\n ]);\n };\n _AnimationBuilder.prototype.visitAnimationGroup = function (ast, context) {\n var _this = this;\n var playerExprs = ast.steps.map(function (step) { return step.visit(_this, context); });\n return importExpr(resolveIdentifier(Identifiers.AnimationGroupPlayer)).instantiate([\n literalArr(playerExprs)\n ]);\n };\n _AnimationBuilder.prototype.visitAnimationStateDeclaration = function (ast, context) {\n var flatStyles = {};\n _getStylesArray(ast).forEach(function (entry) { Object.keys(entry).forEach(function (key) { flatStyles[key] = entry[key]; }); });\n context.stateMap.registerState(ast.stateName, flatStyles);\n };\n _AnimationBuilder.prototype.visitAnimationStateTransition = function (ast, context) {\n var steps = ast.animation.steps;\n var lastStep = steps[steps.length - 1];\n if (_isEndStateAnimateStep(lastStep)) {\n context.endStateAnimateStep = lastStep;\n }\n context.totalTransitionTime = 0;\n context.isExpectingFirstStyleStep = true;\n context.isExpectingFirstAnimateStep = true;\n var stateChangePreconditions = [];\n ast.stateChanges.forEach(function (stateChange) {\n stateChangePreconditions.push(_compareToAnimationStateExpr(_ANIMATION_CURRENT_STATE_VAR, stateChange.fromState)\n .and(_compareToAnimationStateExpr(_ANIMATION_NEXT_STATE_VAR, stateChange.toState)));\n if (stateChange.fromState != ANY_STATE) {\n context.stateMap.registerState(stateChange.fromState);\n }\n if (stateChange.toState != ANY_STATE) {\n context.stateMap.registerState(stateChange.toState);\n }\n });\n var animationPlayerExpr = ast.animation.visit(this, context);\n var reducedStateChangesPrecondition = stateChangePreconditions.reduce(function (a, b) { return a.or(b); });\n var precondition = _ANIMATION_PLAYER_VAR.equals(NULL_EXPR).and(reducedStateChangesPrecondition);\n var animationStmt = _ANIMATION_PLAYER_VAR.set(animationPlayerExpr).toStmt();\n var totalTimeStmt = _ANIMATION_TIME_VAR.set(literal(context.totalTransitionTime)).toStmt();\n return new IfStmt(precondition, [animationStmt, totalTimeStmt]);\n };\n _AnimationBuilder.prototype.visitAnimationEntry = function (ast, context) {\n var _this = this;\n // visit each of the declarations first to build the context state map\n ast.stateDeclarations.forEach(function (def) { return def.visit(_this, context); });\n // this should always be defined even if the user overrides it\n context.stateMap.registerState(DEFAULT_STATE, {});\n var statements = [];\n statements.push(_PREVIOUS_ANIMATION_PLAYERS\n .set(_ANIMATION_FACTORY_VIEW_CONTEXT.callMethod('getAnimationPlayers', [\n _ANIMATION_FACTORY_ELEMENT_VAR, literal(this.animationName),\n _ANIMATION_NEXT_STATE_VAR.equals(literal(EMPTY_STATE))\n ]))\n .toDeclStmt());\n statements.push(_ANIMATION_COLLECTED_STYLES.set(_EMPTY_MAP).toDeclStmt());\n statements.push(_ANIMATION_PLAYER_VAR.set(NULL_EXPR).toDeclStmt());\n statements.push(_ANIMATION_TIME_VAR.set(literal(0)).toDeclStmt());\n statements.push(_ANIMATION_DEFAULT_STATE_VAR.set(this._statesMapVar.key(literal(DEFAULT_STATE)))\n .toDeclStmt());\n statements.push(_ANIMATION_START_STATE_STYLES_VAR.set(this._statesMapVar.key(_ANIMATION_CURRENT_STATE_VAR))\n .toDeclStmt());\n statements.push(new IfStmt(_ANIMATION_START_STATE_STYLES_VAR.equals(NULL_EXPR), [_ANIMATION_START_STATE_STYLES_VAR.set(_ANIMATION_DEFAULT_STATE_VAR).toStmt()]));\n statements.push(_ANIMATION_END_STATE_STYLES_VAR.set(this._statesMapVar.key(_ANIMATION_NEXT_STATE_VAR))\n .toDeclStmt());\n statements.push(new IfStmt(_ANIMATION_END_STATE_STYLES_VAR.equals(NULL_EXPR), [_ANIMATION_END_STATE_STYLES_VAR.set(_ANIMATION_DEFAULT_STATE_VAR).toStmt()]));\n var RENDER_STYLES_FN = importExpr(resolveIdentifier(Identifiers.renderStyles));\n ast.stateTransitions.forEach(function (transAst) { return statements.push(transAst.visit(_this, context)); });\n // this check ensures that the animation factory always returns a player\n // so that the onDone callback can be used for tracking\n statements.push(new IfStmt(_ANIMATION_PLAYER_VAR.equals(NULL_EXPR), [_ANIMATION_PLAYER_VAR\n .set(importExpr(resolveIdentifier(Identifiers.NoOpAnimationPlayer)).instantiate([]))\n .toStmt()]));\n // once complete we want to apply the styles on the element\n // since the destination state's values should persist once\n // the animation sequence has completed.\n statements.push(_ANIMATION_PLAYER_VAR\n .callMethod('onDone', [fn([], [\n _ANIMATION_PLAYER_VAR.callMethod('destroy', []).toStmt(),\n RENDER_STYLES_FN\n .callFn([\n _ANIMATION_FACTORY_ELEMENT_VAR, _ANIMATION_FACTORY_RENDERER_VAR,\n importExpr(resolveIdentifier(Identifiers.prepareFinalAnimationStyles))\n .callFn([\n _ANIMATION_START_STATE_STYLES_VAR,\n _ANIMATION_END_STATE_STYLES_VAR\n ])\n ])\n .toStmt()\n ])])\n .toStmt());\n statements.push(importExpr(resolveIdentifier(Identifiers.AnimationSequencePlayer))\n .instantiate([_PREVIOUS_ANIMATION_PLAYERS])\n .callMethod('destroy', [])\n .toStmt());\n // before we start any animation we want to clear out the starting\n // styles from the element's style property (since they were placed\n // there at the end of the last animation\n statements.push(RENDER_STYLES_FN\n .callFn([\n _ANIMATION_FACTORY_ELEMENT_VAR, _ANIMATION_FACTORY_RENDERER_VAR,\n importExpr(resolveIdentifier(Identifiers.clearStyles))\n .callFn([_ANIMATION_START_STATE_STYLES_VAR])\n ])\n .toStmt());\n statements.push(_ANIMATION_FACTORY_VIEW_CONTEXT\n .callMethod('queueAnimation', [\n _ANIMATION_FACTORY_ELEMENT_VAR, literal(this.animationName),\n _ANIMATION_PLAYER_VAR\n ])\n .toStmt());\n statements.push(new ReturnStatement(importExpr(resolveIdentifier(Identifiers.AnimationTransition)).instantiate([\n _ANIMATION_PLAYER_VAR, _ANIMATION_CURRENT_STATE_VAR, _ANIMATION_NEXT_STATE_VAR,\n _ANIMATION_TIME_VAR\n ])));\n return fn([\n new FnParam(_ANIMATION_FACTORY_VIEW_VAR.name, importType(resolveIdentifier(Identifiers.AppView), [DYNAMIC_TYPE])),\n new FnParam(_ANIMATION_FACTORY_ELEMENT_VAR.name, DYNAMIC_TYPE),\n new FnParam(_ANIMATION_CURRENT_STATE_VAR.name, DYNAMIC_TYPE),\n new FnParam(_ANIMATION_NEXT_STATE_VAR.name, DYNAMIC_TYPE)\n ], statements, importType(resolveIdentifier(Identifiers.AnimationTransition)));\n };\n _AnimationBuilder.prototype.build = function (ast) {\n var context = new _AnimationBuilderContext();\n var fnStatement = ast.visit(this, context).toDeclStmt(this._fnVarName);\n var fnVariable = variable(this._fnVarName);\n var lookupMap = [];\n Object.keys(context.stateMap.states).forEach(function (stateName) {\n var value = context.stateMap.states[stateName];\n var variableValue = _EMPTY_MAP;\n if (isPresent(value)) {\n var styleMap_1 = [];\n Object.keys(value).forEach(function (key) { styleMap_1.push([key, literal(value[key])]); });\n variableValue = literalMap(styleMap_1);\n }\n lookupMap.push([stateName, variableValue]);\n });\n var compiledStatesMapStmt = this._statesMapVar.set(literalMap(lookupMap)).toDeclStmt();\n var statements = [compiledStatesMapStmt, fnStatement];\n return new AnimationEntryCompileResult(this.animationName, statements, fnVariable);\n };\n return _AnimationBuilder;\n }());\n var _AnimationBuilderContext = (function () {\n function _AnimationBuilderContext() {\n this.stateMap = new _AnimationBuilderStateMap();\n this.endStateAnimateStep = null;\n this.isExpectingFirstStyleStep = false;\n this.isExpectingFirstAnimateStep = false;\n this.totalTransitionTime = 0;\n }\n return _AnimationBuilderContext;\n }());\n var _AnimationBuilderStateMap = (function () {\n function _AnimationBuilderStateMap() {\n this._states = {};\n }\n Object.defineProperty(_AnimationBuilderStateMap.prototype, \"states\", {\n get: function () { return this._states; },\n enumerable: true,\n configurable: true\n });\n _AnimationBuilderStateMap.prototype.registerState = function (name, value) {\n if (value === void 0) { value = null; }\n var existingEntry = this._states[name];\n if (!existingEntry) {\n this._states[name] = value;\n }\n };\n return _AnimationBuilderStateMap;\n }());\n function _compareToAnimationStateExpr(value, animationState) {\n var emptyStateLiteral = literal(EMPTY_STATE);\n switch (animationState) {\n case EMPTY_STATE:\n return value.equals(emptyStateLiteral);\n case ANY_STATE:\n return literal(true);\n default:\n return value.equals(literal(animationState));\n }\n }\n function _isEndStateAnimateStep(step) {\n // the final animation step is characterized by having only TWO\n // keyframe values and it must have zero styles for both keyframes\n if (step instanceof AnimationStepAst && step.duration > 0 && step.keyframes.length == 2) {\n var styles1 = _getStylesArray(step.keyframes[0])[0];\n var styles2 = _getStylesArray(step.keyframes[1])[0];\n return Object.keys(styles1).length === 0 && Object.keys(styles2).length === 0;\n }\n return false;\n }\n function _getStylesArray(obj) {\n return obj.styles.styles;\n }\n\n var SourceModule = (function () {\n function SourceModule(fileUrl, moduleUrl, source) {\n this.fileUrl = fileUrl;\n this.moduleUrl = moduleUrl;\n this.source = source;\n }\n return SourceModule;\n }());\n var AotCompiler = (function () {\n function AotCompiler(_metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _dirWrapperCompiler, _ngModuleCompiler, _outputEmitter, _localeId, _translationFormat, _animationParser, _staticReflector, _options) {\n this._metadataResolver = _metadataResolver;\n this._templateParser = _templateParser;\n this._styleCompiler = _styleCompiler;\n this._viewCompiler = _viewCompiler;\n this._dirWrapperCompiler = _dirWrapperCompiler;\n this._ngModuleCompiler = _ngModuleCompiler;\n this._outputEmitter = _outputEmitter;\n this._localeId = _localeId;\n this._translationFormat = _translationFormat;\n this._animationParser = _animationParser;\n this._staticReflector = _staticReflector;\n this._options = _options;\n this._animationCompiler = new AnimationCompiler();\n }\n AotCompiler.prototype.clearCache = function () { this._metadataResolver.clearCache(); };\n AotCompiler.prototype.compileAll = function (rootFiles) {\n var _this = this;\n var programSymbols = extractProgramSymbols(this._staticReflector, rootFiles, this._options);\n var _a = analyzeAndValidateNgModules(programSymbols, this._options, this._metadataResolver), ngModuleByPipeOrDirective = _a.ngModuleByPipeOrDirective, files = _a.files, ngModules = _a.ngModules;\n return loadNgModuleDirectives(ngModules).then(function () {\n var sourceModules = files.map(function (file) { return _this._compileSrcFile(file.srcUrl, ngModuleByPipeOrDirective, file.directives, file.ngModules); });\n return ListWrapper.flatten(sourceModules);\n });\n };\n AotCompiler.prototype._compileSrcFile = function (srcFileUrl, ngModuleByPipeOrDirective, directives, ngModules) {\n var _this = this;\n var fileSuffix = _splitTypescriptSuffix(srcFileUrl)[1];\n var statements = [];\n var exportedVars = [];\n var outputSourceModules = [];\n // compile all ng modules\n exportedVars.push.apply(exportedVars, ngModules.map(function (ngModuleType) { return _this._compileModule(ngModuleType, statements); }));\n // compile directive wrappers\n exportedVars.push.apply(exportedVars, directives.map(function (directiveType) { return _this._compileDirectiveWrapper(directiveType, statements); }));\n // compile components\n directives.forEach(function (dirType) {\n var compMeta = _this._metadataResolver.getDirectiveMetadata(dirType);\n if (!compMeta.isComponent) {\n return Promise.resolve(null);\n }\n var ngModule = ngModuleByPipeOrDirective.get(dirType);\n if (!ngModule) {\n throw new Error(\"Internal Error: cannot determine the module for component \" + compMeta.type.name + \"!\");\n }\n _assertComponent(compMeta);\n // compile styles\n var stylesCompileResults = _this._styleCompiler.compileComponent(compMeta);\n stylesCompileResults.externalStylesheets.forEach(function (compiledStyleSheet) {\n outputSourceModules.push(_this._codgenStyles(srcFileUrl, compiledStyleSheet, fileSuffix));\n });\n // compile components\n exportedVars.push(_this._compileComponentFactory(compMeta, ngModule, fileSuffix, statements), _this._compileComponent(compMeta, ngModule, ngModule.transitiveModule.directives, stylesCompileResults.componentStylesheet, fileSuffix, statements));\n });\n if (statements.length > 0) {\n var srcModule = this._codegenSourceModule(srcFileUrl, _ngfactoryModuleUrl(srcFileUrl), statements, exportedVars);\n outputSourceModules.unshift(srcModule);\n }\n return outputSourceModules;\n };\n AotCompiler.prototype._compileModule = function (ngModuleType, targetStatements) {\n var ngModule = this._metadataResolver.getNgModuleMetadata(ngModuleType);\n var providers = [];\n if (this._localeId) {\n providers.push(new CompileProviderMetadata({\n token: resolveIdentifierToken(Identifiers.LOCALE_ID),\n useValue: this._localeId,\n }));\n }\n if (this._translationFormat) {\n providers.push(new CompileProviderMetadata({\n token: resolveIdentifierToken(Identifiers.TRANSLATIONS_FORMAT),\n useValue: this._translationFormat\n }));\n }\n var appCompileResult = this._ngModuleCompiler.compile(ngModule, providers);\n appCompileResult.dependencies.forEach(function (dep) {\n dep.placeholder.name = _componentFactoryName(dep.comp);\n dep.placeholder.moduleUrl = _ngfactoryModuleUrl(dep.comp.moduleUrl);\n });\n targetStatements.push.apply(targetStatements, appCompileResult.statements);\n return appCompileResult.ngModuleFactoryVar;\n };\n AotCompiler.prototype._compileDirectiveWrapper = function (directiveType, targetStatements) {\n var dirMeta = this._metadataResolver.getDirectiveMetadata(directiveType);\n var dirCompileResult = this._dirWrapperCompiler.compile(dirMeta);\n targetStatements.push.apply(targetStatements, dirCompileResult.statements);\n return dirCompileResult.dirWrapperClassVar;\n };\n AotCompiler.prototype._compileComponentFactory = function (compMeta, ngModule, fileSuffix, targetStatements) {\n var hostMeta = createHostComponentMeta(compMeta);\n var hostViewFactoryVar = this._compileComponent(hostMeta, ngModule, [compMeta.type], null, fileSuffix, targetStatements);\n var compFactoryVar = _componentFactoryName(compMeta.type);\n targetStatements.push(variable(compFactoryVar)\n .set(importExpr(resolveIdentifier(Identifiers.ComponentFactory), [importType(compMeta.type)])\n .instantiate([\n literal(compMeta.selector),\n variable(hostViewFactoryVar),\n importExpr(compMeta.type),\n ], importType(resolveIdentifier(Identifiers.ComponentFactory), [importType(compMeta.type)], [TypeModifier.Const])))\n .toDeclStmt(null, [StmtModifier.Final]));\n return compFactoryVar;\n };\n AotCompiler.prototype._compileComponent = function (compMeta, ngModule, directiveIdentifiers, componentStyles, fileSuffix, targetStatements) {\n var _this = this;\n var parsedAnimations = this._animationParser.parseComponent(compMeta);\n var directives = directiveIdentifiers.map(function (dir) { return _this._metadataResolver.getDirectiveSummary(dir.reference); });\n var pipes = ngModule.transitiveModule.pipes.map(function (pipe) { return _this._metadataResolver.getPipeSummary(pipe.reference); });\n var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, ngModule.schemas, compMeta.type.name);\n var stylesExpr = componentStyles ? variable(componentStyles.stylesVar) : literalArr([]);\n var compiledAnimations = this._animationCompiler.compile(compMeta.type.name, parsedAnimations);\n var viewResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, stylesExpr, pipes, compiledAnimations);\n if (componentStyles) {\n targetStatements.push.apply(targetStatements, _resolveStyleStatements(componentStyles, fileSuffix));\n }\n compiledAnimations.forEach(function (entry) { return targetStatements.push.apply(targetStatements, entry.statements); });\n targetStatements.push.apply(targetStatements, _resolveViewStatements(viewResult));\n return viewResult.viewClassVar;\n };\n AotCompiler.prototype._codgenStyles = function (fileUrl, stylesCompileResult, fileSuffix) {\n _resolveStyleStatements(stylesCompileResult, fileSuffix);\n return this._codegenSourceModule(fileUrl, _stylesModuleUrl(stylesCompileResult.meta.moduleUrl, stylesCompileResult.isShimmed, fileSuffix), stylesCompileResult.statements, [stylesCompileResult.stylesVar]);\n };\n AotCompiler.prototype._codegenSourceModule = function (fileUrl, moduleUrl, statements, exportedVars) {\n return new SourceModule(fileUrl, moduleUrl, this._outputEmitter.emitStatements(moduleUrl, statements, exportedVars));\n };\n return AotCompiler;\n }());\n function _resolveViewStatements(compileResult) {\n compileResult.dependencies.forEach(function (dep) {\n if (dep instanceof ViewClassDependency) {\n var vfd = dep;\n vfd.placeholder.moduleUrl = _ngfactoryModuleUrl(vfd.comp.moduleUrl);\n }\n else if (dep instanceof ComponentFactoryDependency$1) {\n var cfd = dep;\n cfd.placeholder.name = _componentFactoryName(cfd.comp);\n cfd.placeholder.moduleUrl = _ngfactoryModuleUrl(cfd.comp.moduleUrl);\n }\n else if (dep instanceof DirectiveWrapperDependency) {\n var dwd = dep;\n dwd.placeholder.moduleUrl = _ngfactoryModuleUrl(dwd.dir.moduleUrl);\n }\n });\n return compileResult.statements;\n }\n function _resolveStyleStatements(compileResult, fileSuffix) {\n compileResult.dependencies.forEach(function (dep) {\n dep.valuePlaceholder.moduleUrl = _stylesModuleUrl(dep.moduleUrl, dep.isShimmed, fileSuffix);\n });\n return compileResult.statements;\n }\n function _ngfactoryModuleUrl(dirUrl) {\n var urlWithSuffix = _splitTypescriptSuffix(dirUrl);\n return urlWithSuffix[0] + \".ngfactory\" + urlWithSuffix[1];\n }\n function _componentFactoryName(comp) {\n return comp.name + \"NgFactory\";\n }\n function _stylesModuleUrl(stylesheetUrl, shim, suffix) {\n return shim ? stylesheetUrl + \".shim\" + suffix : \"\" + stylesheetUrl + suffix;\n }\n function _assertComponent(meta) {\n if (!meta.isComponent) {\n throw new Error(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n }\n }\n function _splitTypescriptSuffix(path) {\n if (path.endsWith('.d.ts')) {\n return [path.slice(0, -5), '.ts'];\n }\n var lastDot = path.lastIndexOf('.');\n if (lastDot !== -1) {\n return [path.substring(0, lastDot), path.substring(lastDot)];\n }\n return [path, ''];\n }\n // Returns all the source files and a mapping from modules to directives\n function analyzeNgModules(programStaticSymbols, options, metadataResolver) {\n var _a = _createNgModules(programStaticSymbols, options, metadataResolver), ngModules = _a.ngModules, symbolsMissingModule = _a.symbolsMissingModule;\n return _analyzeNgModules(ngModules, symbolsMissingModule);\n }\n function analyzeAndValidateNgModules(programStaticSymbols, options, metadataResolver) {\n var result = analyzeNgModules(programStaticSymbols, options, metadataResolver);\n if (result.symbolsMissingModule && result.symbolsMissingModule.length) {\n var messages = result.symbolsMissingModule.map(function (s) { return (\"Cannot determine the module for class \" + s.name + \" in \" + s.filePath + \"!\"); });\n throw new Error(messages.join('\\n'));\n }\n return result;\n }\n // Wait for the directives in the given modules have been loaded\n function loadNgModuleDirectives(ngModules) {\n return Promise\n .all(ListWrapper.flatten(ngModules.map(function (ngModule) { return ngModule.transitiveModule.directiveLoaders.map(function (loader) { return loader(); }); })))\n .then(function () { });\n }\n function _analyzeNgModules(ngModuleMetas, symbolsMissingModule) {\n var moduleMetasByRef = new Map();\n ngModuleMetas.forEach(function (ngModule) { return moduleMetasByRef.set(ngModule.type.reference, ngModule); });\n var ngModuleByPipeOrDirective = new Map();\n var ngModulesByFile = new Map();\n var ngDirectivesByFile = new Map();\n var filePaths = new Set();\n // Looping over all modules to construct:\n // - a map from file to modules `ngModulesByFile`,\n // - a map from file to directives `ngDirectivesByFile`,\n // - a map from directive/pipe to module `ngModuleByPipeOrDirective`.\n ngModuleMetas.forEach(function (ngModuleMeta) {\n var srcFileUrl = ngModuleMeta.type.reference.filePath;\n filePaths.add(srcFileUrl);\n ngModulesByFile.set(srcFileUrl, (ngModulesByFile.get(srcFileUrl) || []).concat(ngModuleMeta.type.reference));\n ngModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n var fileUrl = dirIdentifier.reference.filePath;\n filePaths.add(fileUrl);\n ngDirectivesByFile.set(fileUrl, (ngDirectivesByFile.get(fileUrl) || []).concat(dirIdentifier.reference));\n ngModuleByPipeOrDirective.set(dirIdentifier.reference, ngModuleMeta);\n });\n ngModuleMeta.declaredPipes.forEach(function (pipeIdentifier) {\n var fileUrl = pipeIdentifier.reference.filePath;\n filePaths.add(fileUrl);\n ngModuleByPipeOrDirective.set(pipeIdentifier.reference, ngModuleMeta);\n });\n });\n var files = [];\n filePaths.forEach(function (srcUrl) {\n var directives = ngDirectivesByFile.get(srcUrl) || [];\n var ngModules = ngModulesByFile.get(srcUrl) || [];\n files.push({ srcUrl: srcUrl, directives: directives, ngModules: ngModules });\n });\n return {\n // map directive/pipe to module\n ngModuleByPipeOrDirective: ngModuleByPipeOrDirective,\n // list modules and directives for every source file\n files: files,\n ngModules: ngModuleMetas, symbolsMissingModule: symbolsMissingModule\n };\n }\n function extractProgramSymbols(staticReflector, files, options) {\n if (options === void 0) { options = {}; }\n var staticSymbols = [];\n files.filter(function (fileName) { return _filterFileByPatterns(fileName, options); }).forEach(function (sourceFile) {\n var moduleMetadata = staticReflector.getModuleMetadata(sourceFile);\n if (!moduleMetadata) {\n console.log(\"WARNING: no metadata found for \" + sourceFile);\n return;\n }\n var metadata = moduleMetadata['metadata'];\n if (!metadata) {\n return;\n }\n for (var _i = 0, _a = Object.keys(metadata); _i < _a.length; _i++) {\n var symbol = _a[_i];\n if (metadata[symbol] && metadata[symbol].__symbolic == 'error') {\n // Ignore symbols that are only included to record error information.\n continue;\n }\n staticSymbols.push(staticReflector.getStaticSymbol(sourceFile, symbol));\n }\n });\n return staticSymbols;\n }\n // Load the NgModules and check\n // that all directives / pipes that are present in the program\n // are also declared by a module.\n function _createNgModules(programStaticSymbols, options, metadataResolver) {\n var ngModules = new Map();\n var programPipesAndDirectives = [];\n var ngModulePipesAndDirective = new Set();\n var addNgModule = function (staticSymbol) {\n if (ngModules.has(staticSymbol) || !_filterFileByPatterns(staticSymbol.filePath, options)) {\n return false;\n }\n var ngModule = metadataResolver.getUnloadedNgModuleMetadata(staticSymbol, false, false);\n if (ngModule) {\n ngModules.set(ngModule.type.reference, ngModule);\n ngModule.declaredDirectives.forEach(function (dir) { return ngModulePipesAndDirective.add(dir.reference); });\n ngModule.declaredPipes.forEach(function (pipe) { return ngModulePipesAndDirective.add(pipe.reference); });\n // For every input module add the list of transitively included modules\n ngModule.transitiveModule.modules.forEach(function (modMeta) { return addNgModule(modMeta.type.reference); });\n }\n return !!ngModule;\n };\n programStaticSymbols.forEach(function (staticSymbol) {\n if (!addNgModule(staticSymbol) &&\n (metadataResolver.isDirective(staticSymbol) || metadataResolver.isPipe(staticSymbol))) {\n programPipesAndDirectives.push(staticSymbol);\n }\n });\n // Throw an error if any of the program pipe or directives is not declared by a module\n var symbolsMissingModule = programPipesAndDirectives.filter(function (s) { return !ngModulePipesAndDirective.has(s); });\n return { ngModules: Array.from(ngModules.values()), symbolsMissingModule: symbolsMissingModule };\n }\n function _filterFileByPatterns(fileName, options) {\n if (options === void 0) { options = {}; }\n var match = true;\n if (options.includeFilePattern) {\n match = match && !!options.includeFilePattern.exec(fileName);\n }\n if (options.excludeFilePattern) {\n match = match && !options.excludeFilePattern.exec(fileName);\n }\n return match;\n }\n\n var StaticAndDynamicReflectionCapabilities = (function () {\n function StaticAndDynamicReflectionCapabilities(staticDelegate) {\n this.staticDelegate = staticDelegate;\n this.dynamicDelegate = new ReflectionCapabilities();\n }\n StaticAndDynamicReflectionCapabilities.install = function (staticDelegate) {\n reflector.updateCapabilities(new StaticAndDynamicReflectionCapabilities(staticDelegate));\n };\n StaticAndDynamicReflectionCapabilities.prototype.isReflectionEnabled = function () { return true; };\n StaticAndDynamicReflectionCapabilities.prototype.factory = function (type) { return this.dynamicDelegate.factory(type); };\n StaticAndDynamicReflectionCapabilities.prototype.hasLifecycleHook = function (type, lcProperty) {\n return isStaticType(type) ? this.staticDelegate.hasLifecycleHook(type, lcProperty) :\n this.dynamicDelegate.hasLifecycleHook(type, lcProperty);\n };\n StaticAndDynamicReflectionCapabilities.prototype.parameters = function (type) {\n return isStaticType(type) ? this.staticDelegate.parameters(type) :\n this.dynamicDelegate.parameters(type);\n };\n StaticAndDynamicReflectionCapabilities.prototype.annotations = function (type) {\n return isStaticType(type) ? this.staticDelegate.annotations(type) :\n this.dynamicDelegate.annotations(type);\n };\n StaticAndDynamicReflectionCapabilities.prototype.propMetadata = function (typeOrFunc) {\n return isStaticType(typeOrFunc) ? this.staticDelegate.propMetadata(typeOrFunc) :\n this.dynamicDelegate.propMetadata(typeOrFunc);\n };\n StaticAndDynamicReflectionCapabilities.prototype.getter = function (name) { return this.dynamicDelegate.getter(name); };\n StaticAndDynamicReflectionCapabilities.prototype.setter = function (name) { return this.dynamicDelegate.setter(name); };\n StaticAndDynamicReflectionCapabilities.prototype.method = function (name) { return this.dynamicDelegate.method(name); };\n StaticAndDynamicReflectionCapabilities.prototype.importUri = function (type) { return this.staticDelegate.importUri(type); };\n StaticAndDynamicReflectionCapabilities.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n return this.staticDelegate.resolveIdentifier(name, moduleUrl, runtime);\n };\n StaticAndDynamicReflectionCapabilities.prototype.resolveEnum = function (enumIdentifier, name) {\n if (isStaticType(enumIdentifier)) {\n return this.staticDelegate.resolveEnum(enumIdentifier, name);\n }\n else {\n return null;\n }\n };\n return StaticAndDynamicReflectionCapabilities;\n }());\n function isStaticType(type) {\n return typeof type === 'object' && type.name && type.filePath;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$20 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var SUPPORTED_SCHEMA_VERSION = 2;\n var ANGULAR_IMPORT_LOCATIONS = {\n coreDecorators: '@angular/core/src/metadata',\n diDecorators: '@angular/core/src/di/metadata',\n diMetadata: '@angular/core/src/di/metadata',\n diOpaqueToken: '@angular/core/src/di/opaque_token',\n animationMetadata: '@angular/core/src/animation/metadata',\n provider: '@angular/core/src/di/provider'\n };\n /**\n * A cache of static symbol used by the StaticReflector to return the same symbol for the\n * same symbol values.\n */\n var StaticSymbolCache = (function () {\n function StaticSymbolCache() {\n this.cache = new Map();\n }\n StaticSymbolCache.prototype.get = function (declarationFile, name, members) {\n var memberSuffix = members ? \".\" + members.join('.') : '';\n var key = \"\\\"\" + declarationFile + \"\\\".\" + name + memberSuffix;\n var result = this.cache.get(key);\n if (!result) {\n result = new StaticSymbol(declarationFile, name, members);\n this.cache.set(key, result);\n }\n return result;\n };\n return StaticSymbolCache;\n }());\n /**\n * A static reflector implements enough of the Reflector API that is necessary to compile\n * templates statically.\n */\n var StaticReflector = (function () {\n function StaticReflector(host, staticSymbolCache) {\n if (staticSymbolCache === void 0) { staticSymbolCache = new StaticSymbolCache(); }\n this.host = host;\n this.staticSymbolCache = staticSymbolCache;\n this.declarationCache = new Map();\n this.annotationCache = new Map();\n this.propertyCache = new Map();\n this.parameterCache = new Map();\n this.metadataCache = new Map();\n this.conversionMap = new Map();\n this.initializeConversionMap();\n }\n StaticReflector.prototype.importUri = function (typeOrFunc) {\n var staticSymbol = this.findDeclaration(typeOrFunc.filePath, typeOrFunc.name, '');\n return staticSymbol ? staticSymbol.filePath : null;\n };\n StaticReflector.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n return this.findDeclaration(moduleUrl, name, '');\n };\n StaticReflector.prototype.resolveEnum = function (enumIdentifier, name) {\n var staticSymbol = enumIdentifier;\n return this.getStaticSymbol(staticSymbol.filePath, staticSymbol.name, [name]);\n };\n StaticReflector.prototype.annotations = function (type) {\n var annotations = this.annotationCache.get(type);\n if (!annotations) {\n var classMetadata = this.getTypeMetadata(type);\n if (classMetadata['decorators']) {\n annotations = this.simplify(type, classMetadata['decorators']);\n }\n else {\n annotations = [];\n }\n this.annotationCache.set(type, annotations.filter(function (ann) { return !!ann; }));\n }\n return annotations;\n };\n StaticReflector.prototype.propMetadata = function (type) {\n var _this = this;\n var propMetadata = this.propertyCache.get(type);\n if (!propMetadata) {\n var classMetadata = this.getTypeMetadata(type);\n var members = classMetadata ? classMetadata['members'] : {};\n propMetadata = mapStringMap(members, function (propData, propName) {\n var prop = propData\n .find(function (a) { return a['__symbolic'] == 'property' || a['__symbolic'] == 'method'; });\n if (prop && prop['decorators']) {\n return _this.simplify(type, prop['decorators']);\n }\n else {\n return [];\n }\n });\n this.propertyCache.set(type, propMetadata);\n }\n return propMetadata;\n };\n StaticReflector.prototype.parameters = function (type) {\n if (!(type instanceof StaticSymbol)) {\n throw new Error(\"parameters received \" + JSON.stringify(type) + \" which is not a StaticSymbol\");\n }\n try {\n var parameters_1 = this.parameterCache.get(type);\n if (!parameters_1) {\n var classMetadata = this.getTypeMetadata(type);\n var members = classMetadata ? classMetadata['members'] : null;\n var ctorData = members ? members['__ctor__'] : null;\n if (ctorData) {\n var ctor = ctorData.find(function (a) { return a['__symbolic'] == 'constructor'; });\n var parameterTypes = this.simplify(type, ctor['parameters'] || []);\n var parameterDecorators_1 = this.simplify(type, ctor['parameterDecorators'] || []);\n parameters_1 = [];\n parameterTypes.forEach(function (paramType, index) {\n var nestedResult = [];\n if (paramType) {\n nestedResult.push(paramType);\n }\n var decorators = parameterDecorators_1 ? parameterDecorators_1[index] : null;\n if (decorators) {\n nestedResult.push.apply(nestedResult, decorators);\n }\n parameters_1.push(nestedResult);\n });\n }\n if (!parameters_1) {\n parameters_1 = [];\n }\n this.parameterCache.set(type, parameters_1);\n }\n return parameters_1;\n }\n catch (e) {\n console.log(\"Failed on type \" + JSON.stringify(type) + \" with error \" + e);\n throw e;\n }\n };\n StaticReflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n if (!(type instanceof StaticSymbol)) {\n throw new Error(\"hasLifecycleHook received \" + JSON.stringify(type) + \" which is not a StaticSymbol\");\n }\n var classMetadata = this.getTypeMetadata(type);\n var members = classMetadata ? classMetadata['members'] : null;\n var member = members && members.hasOwnProperty(lcProperty) ? members[lcProperty] : null;\n return member ? member.some(function (a) { return a['__symbolic'] == 'method'; }) : false;\n };\n StaticReflector.prototype.registerDecoratorOrConstructor = function (type, ctor) {\n this.conversionMap.set(type, function (context, args) { return new (ctor.bind.apply(ctor, [void 0].concat(args)))(); });\n };\n StaticReflector.prototype.registerFunction = function (type, fn) {\n this.conversionMap.set(type, function (context, args) { return fn.apply(undefined, args); });\n };\n StaticReflector.prototype.initializeConversionMap = function () {\n var coreDecorators = ANGULAR_IMPORT_LOCATIONS.coreDecorators, diDecorators = ANGULAR_IMPORT_LOCATIONS.diDecorators, diMetadata = ANGULAR_IMPORT_LOCATIONS.diMetadata, diOpaqueToken = ANGULAR_IMPORT_LOCATIONS.diOpaqueToken, animationMetadata = ANGULAR_IMPORT_LOCATIONS.animationMetadata, provider = ANGULAR_IMPORT_LOCATIONS.provider;\n this.opaqueToken = this.findDeclaration(diOpaqueToken, 'OpaqueToken');\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Host'), _angular_core.Host);\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Injectable'), _angular_core.Injectable);\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Self'), _angular_core.Self);\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'SkipSelf'), _angular_core.SkipSelf);\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Inject'), _angular_core.Inject);\n this.registerDecoratorOrConstructor(this.findDeclaration(diDecorators, 'Optional'), _angular_core.Optional);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Attribute'), _angular_core.Attribute);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ContentChild'), _angular_core.ContentChild);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ContentChildren'), _angular_core.ContentChildren);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ViewChild'), _angular_core.ViewChild);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'ViewChildren'), _angular_core.ViewChildren);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Input'), _angular_core.Input);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Output'), _angular_core.Output);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Pipe'), _angular_core.Pipe);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'HostBinding'), _angular_core.HostBinding);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'HostListener'), _angular_core.HostListener);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Directive'), _angular_core.Directive);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'Component'), _angular_core.Component);\n this.registerDecoratorOrConstructor(this.findDeclaration(coreDecorators, 'NgModule'), _angular_core.NgModule);\n // Note: Some metadata classes can be used directly with Provider.deps.\n this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Host'), _angular_core.Host);\n this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Self'), _angular_core.Self);\n this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'SkipSelf'), _angular_core.SkipSelf);\n this.registerDecoratorOrConstructor(this.findDeclaration(diMetadata, 'Optional'), _angular_core.Optional);\n this.registerFunction(this.findDeclaration(animationMetadata, 'trigger'), _angular_core.trigger);\n this.registerFunction(this.findDeclaration(animationMetadata, 'state'), _angular_core.state);\n this.registerFunction(this.findDeclaration(animationMetadata, 'transition'), _angular_core.transition);\n this.registerFunction(this.findDeclaration(animationMetadata, 'style'), _angular_core.style);\n this.registerFunction(this.findDeclaration(animationMetadata, 'animate'), _angular_core.animate);\n this.registerFunction(this.findDeclaration(animationMetadata, 'keyframes'), _angular_core.keyframes);\n this.registerFunction(this.findDeclaration(animationMetadata, 'sequence'), _angular_core.sequence);\n this.registerFunction(this.findDeclaration(animationMetadata, 'group'), _angular_core.group);\n };\n /**\n * getStaticSymbol produces a Type whose metadata is known but whose implementation is not loaded.\n * All types passed to the StaticResolver should be pseudo-types returned by this method.\n *\n * @param declarationFile the absolute path of the file where the symbol is declared\n * @param name the name of the type.\n */\n StaticReflector.prototype.getStaticSymbol = function (declarationFile, name, members) {\n return this.staticSymbolCache.get(declarationFile, name, members);\n };\n StaticReflector.prototype.resolveExportedSymbol = function (filePath, symbolName) {\n var _this = this;\n var resolveModule = function (moduleName) {\n var resolvedModulePath = _this.host.moduleNameToFileName(moduleName, filePath);\n if (!resolvedModulePath) {\n throw new Error(\"Could not resolve module '\" + moduleName + \"' relative to file \" + filePath);\n }\n return resolvedModulePath;\n };\n var cacheKey = filePath + \"|\" + symbolName;\n var staticSymbol = this.declarationCache.get(cacheKey);\n if (staticSymbol) {\n return staticSymbol;\n }\n var metadata = this.getModuleMetadata(filePath);\n if (metadata) {\n // If we have metadata for the symbol, this is the original exporting location.\n if (metadata['metadata'][symbolName]) {\n staticSymbol = this.getStaticSymbol(filePath, symbolName);\n }\n // If no, try to find the symbol in one of the re-export location\n if (!staticSymbol && metadata['exports']) {\n // Try and find the symbol in the list of explicitly re-exported symbols.\n for (var _i = 0, _a = metadata['exports']; _i < _a.length; _i++) {\n var moduleExport = _a[_i];\n if (moduleExport.export) {\n var exportSymbol = moduleExport.export.find(function (symbol) {\n if (typeof symbol === 'string') {\n return symbol == symbolName;\n }\n else {\n return symbol.as == symbolName;\n }\n });\n if (exportSymbol) {\n var symName = symbolName;\n if (typeof exportSymbol !== 'string') {\n symName = exportSymbol.name;\n }\n staticSymbol = this.resolveExportedSymbol(resolveModule(moduleExport.from), symName);\n }\n }\n }\n if (!staticSymbol) {\n // Try to find the symbol via export * directives.\n for (var _b = 0, _c = metadata['exports']; _b < _c.length; _b++) {\n var moduleExport = _c[_b];\n if (!moduleExport.export) {\n var resolvedModule = resolveModule(moduleExport.from);\n var candidateSymbol = this.resolveExportedSymbol(resolvedModule, symbolName);\n if (candidateSymbol) {\n staticSymbol = candidateSymbol;\n break;\n }\n }\n }\n }\n }\n }\n this.declarationCache.set(cacheKey, staticSymbol);\n return staticSymbol;\n };\n StaticReflector.prototype.findDeclaration = function (module, symbolName, containingFile) {\n try {\n var filePath = this.host.moduleNameToFileName(module, containingFile);\n var symbol = void 0;\n if (!filePath) {\n // If the file cannot be found the module is probably referencing a declared module\n // for which there is no disambiguating file and we also don't need to track\n // re-exports. Just use the module name.\n symbol = this.getStaticSymbol(module, symbolName);\n }\n else {\n symbol = this.resolveExportedSymbol(filePath, symbolName) ||\n this.getStaticSymbol(filePath, symbolName);\n }\n return symbol;\n }\n catch (e) {\n console.error(\"can't resolve module \" + module + \" from \" + containingFile);\n throw e;\n }\n };\n /** @internal */\n StaticReflector.prototype.simplify = function (context, value) {\n var _this = this;\n var scope = BindingScope.empty;\n var calling = new Map();\n function simplifyInContext(context, value, depth) {\n function resolveReference(context, expression) {\n var staticSymbol;\n if (expression['module']) {\n staticSymbol =\n _this.findDeclaration(expression['module'], expression['name'], context.filePath);\n }\n else {\n staticSymbol = _this.getStaticSymbol(context.filePath, expression['name']);\n }\n return staticSymbol;\n }\n function resolveReferenceValue(staticSymbol) {\n var moduleMetadata = _this.getModuleMetadata(staticSymbol.filePath);\n var declarationValue = moduleMetadata ? moduleMetadata['metadata'][staticSymbol.name] : null;\n return declarationValue;\n }\n function isOpaqueToken(context, value) {\n if (value && value.__symbolic === 'new' && value.expression) {\n var target = value.expression;\n if (target.__symbolic == 'reference') {\n return sameSymbol(resolveReference(context, target), _this.opaqueToken);\n }\n }\n return false;\n }\n function simplifyCall(expression) {\n var callContext = undefined;\n if (expression['__symbolic'] == 'call') {\n var target = expression['expression'];\n var functionSymbol = void 0;\n var targetFunction = void 0;\n if (target) {\n switch (target.__symbolic) {\n case 'reference':\n // Find the function to call.\n callContext = { name: target.name };\n functionSymbol = resolveReference(context, target);\n targetFunction = resolveReferenceValue(functionSymbol);\n break;\n case 'select':\n // Find the static method to call\n if (target.expression.__symbolic == 'reference') {\n functionSymbol = resolveReference(context, target.expression);\n var classData = resolveReferenceValue(functionSymbol);\n if (classData && classData.statics) {\n targetFunction = classData.statics[target.member];\n }\n }\n break;\n }\n }\n if (targetFunction && targetFunction['__symbolic'] == 'function') {\n if (calling.get(functionSymbol)) {\n throw new Error('Recursion not supported');\n }\n calling.set(functionSymbol, true);\n try {\n var value_1 = targetFunction['value'];\n if (value_1 && (depth != 0 || value_1.__symbolic != 'error')) {\n // Determine the arguments\n var args = (expression['arguments'] || []).map(function (arg) { return simplify(arg); });\n var parameters = targetFunction['parameters'];\n var defaults = targetFunction.defaults;\n if (defaults && defaults.length > args.length) {\n args.push.apply(args, defaults.slice(args.length).map(function (value) { return simplify(value); }));\n }\n var functionScope = BindingScope.build();\n for (var i = 0; i < parameters.length; i++) {\n functionScope.define(parameters[i], args[i]);\n }\n var oldScope = scope;\n var result_1;\n try {\n scope = functionScope.done();\n result_1 = simplifyInContext(functionSymbol, value_1, depth + 1);\n }\n finally {\n scope = oldScope;\n }\n return result_1;\n }\n }\n finally {\n calling.delete(functionSymbol);\n }\n }\n }\n if (depth === 0) {\n // If depth is 0 we are evaluating the top level expression that is describing element\n // decorator. In this case, it is a decorator we don't understand, such as a custom\n // non-angular decorator, and we should just ignore it.\n return { __symbolic: 'ignore' };\n }\n return simplify({ __symbolic: 'error', message: 'Function call not supported', context: callContext });\n }\n function simplify(expression) {\n if (isPrimitive$1(expression)) {\n return expression;\n }\n if (expression instanceof Array) {\n var result_2 = [];\n for (var _i = 0, _a = expression; _i < _a.length; _i++) {\n var item = _a[_i];\n // Check for a spread expression\n if (item && item.__symbolic === 'spread') {\n var spreadArray = simplify(item.expression);\n if (Array.isArray(spreadArray)) {\n for (var _b = 0, spreadArray_1 = spreadArray; _b < spreadArray_1.length; _b++) {\n var spreadItem = spreadArray_1[_b];\n result_2.push(spreadItem);\n }\n continue;\n }\n }\n var value_2 = simplify(item);\n if (shouldIgnore(value_2)) {\n continue;\n }\n result_2.push(value_2);\n }\n return result_2;\n }\n if (expression instanceof StaticSymbol) {\n return expression;\n }\n if (expression) {\n if (expression['__symbolic']) {\n var staticSymbol = void 0;\n switch (expression['__symbolic']) {\n case 'binop':\n var left = simplify(expression['left']);\n if (shouldIgnore(left))\n return left;\n var right = simplify(expression['right']);\n if (shouldIgnore(right))\n return right;\n switch (expression['operator']) {\n case '&&':\n return left && right;\n case '||':\n return left || right;\n case '|':\n return left | right;\n case '^':\n return left ^ right;\n case '&':\n return left & right;\n case '==':\n return left == right;\n case '!=':\n return left != right;\n case '===':\n return left === right;\n case '!==':\n return left !== right;\n case '<':\n return left < right;\n case '>':\n return left > right;\n case '<=':\n return left <= right;\n case '>=':\n return left >= right;\n case '<<':\n return left << right;\n case '>>':\n return left >> right;\n case '+':\n return left + right;\n case '-':\n return left - right;\n case '*':\n return left * right;\n case '/':\n return left / right;\n case '%':\n return left % right;\n }\n return null;\n case 'if':\n var condition = simplify(expression['condition']);\n return condition ? simplify(expression['thenExpression']) :\n simplify(expression['elseExpression']);\n case 'pre':\n var operand = simplify(expression['operand']);\n if (shouldIgnore(operand))\n return operand;\n switch (expression['operator']) {\n case '+':\n return operand;\n case '-':\n return -operand;\n case '!':\n return !operand;\n case '~':\n return ~operand;\n }\n return null;\n case 'index':\n var indexTarget = simplify(expression['expression']);\n var index = simplify(expression['index']);\n if (indexTarget && isPrimitive$1(index))\n return indexTarget[index];\n return null;\n case 'select':\n var selectTarget = simplify(expression['expression']);\n if (selectTarget instanceof StaticSymbol) {\n // Access to a static instance variable\n var declarationValue_1 = resolveReferenceValue(selectTarget);\n if (declarationValue_1 && declarationValue_1.statics) {\n selectTarget = declarationValue_1.statics;\n }\n else {\n var member_1 = expression['member'];\n var members = selectTarget.members ?\n selectTarget.members.concat(member_1) :\n [member_1];\n return _this.getStaticSymbol(selectTarget.filePath, selectTarget.name, members);\n }\n }\n var member = simplify(expression['member']);\n if (selectTarget && isPrimitive$1(member))\n return simplify(selectTarget[member]);\n return null;\n case 'reference':\n if (!expression.module) {\n var name_1 = expression['name'];\n var localValue = scope.resolve(name_1);\n if (localValue != BindingScope.missing) {\n return localValue;\n }\n }\n staticSymbol = resolveReference(context, expression);\n var result_3 = staticSymbol;\n var declarationValue = resolveReferenceValue(result_3);\n if (declarationValue) {\n if (isOpaqueToken(staticSymbol, declarationValue)) {\n // If the referenced symbol is initalized by a new OpaqueToken we can keep the\n // reference to the symbol.\n return staticSymbol;\n }\n result_3 = simplifyInContext(staticSymbol, declarationValue, depth + 1);\n }\n return result_3;\n case 'class':\n return context;\n case 'function':\n return context;\n case 'new':\n case 'call':\n // Determine if the function is a built-in conversion\n var target = expression['expression'];\n if (target['module']) {\n staticSymbol =\n _this.findDeclaration(target['module'], target['name'], context.filePath);\n }\n else {\n staticSymbol = _this.getStaticSymbol(context.filePath, target['name']);\n }\n var converter = _this.conversionMap.get(staticSymbol);\n if (converter) {\n var args = expression['arguments'];\n if (!args) {\n args = [];\n }\n return converter(context, args.map(function (arg) { return simplifyInContext(context, arg, depth + 1); }));\n }\n // Determine if the function is one we can simplify.\n return simplifyCall(expression);\n case 'error':\n var message = produceErrorMessage(expression);\n if (expression['line']) {\n message =\n message + \" (position \" + (expression['line'] + 1) + \":\" + (expression['character'] + 1) + \" in the original .ts file)\";\n throw positionalError(message, context.filePath, expression['line'], expression['character']);\n }\n throw new Error(message);\n }\n return null;\n }\n return mapStringMap(expression, function (value, name) { return simplify(value); });\n }\n return null;\n }\n try {\n return simplify(value);\n }\n catch (e) {\n var message = e.message + \", resolving symbol \" + context.name + \" in \" + context.filePath;\n if (e.fileName) {\n throw positionalError(message, e.fileName, e.line, e.column);\n }\n throw new Error(message);\n }\n }\n var result = simplifyInContext(context, value, 0);\n if (shouldIgnore(result)) {\n return undefined;\n }\n return result;\n };\n /**\n * @param module an absolute path to a module file.\n */\n StaticReflector.prototype.getModuleMetadata = function (module) {\n var moduleMetadata = this.metadataCache.get(module);\n if (!moduleMetadata) {\n var moduleMetadatas = this.host.getMetadataFor(module);\n if (moduleMetadatas) {\n var maxVersion_1 = -1;\n moduleMetadatas.forEach(function (md) {\n if (md['version'] > maxVersion_1) {\n maxVersion_1 = md['version'];\n moduleMetadata = md;\n }\n });\n }\n if (!moduleMetadata) {\n moduleMetadata =\n { __symbolic: 'module', version: SUPPORTED_SCHEMA_VERSION, module: module, metadata: {} };\n }\n if (moduleMetadata['version'] != SUPPORTED_SCHEMA_VERSION) {\n throw new Error(\"Metadata version mismatch for module \" + module + \", found version \" + moduleMetadata['version'] + \", expected \" + SUPPORTED_SCHEMA_VERSION);\n }\n this.metadataCache.set(module, moduleMetadata);\n }\n return moduleMetadata;\n };\n StaticReflector.prototype.getTypeMetadata = function (type) {\n var moduleMetadata = this.getModuleMetadata(type.filePath);\n return moduleMetadata['metadata'][type.name] || { __symbolic: 'class' };\n };\n return StaticReflector;\n }());\n function expandedMessage(error) {\n switch (error.message) {\n case 'Reference to non-exported class':\n if (error.context && error.context.className) {\n return \"Reference to a non-exported class \" + error.context.className + \". Consider exporting the class\";\n }\n break;\n case 'Variable not initialized':\n return 'Only initialized variables and constants can be referenced because the value of this variable is needed by the template compiler';\n case 'Destructuring not supported':\n return 'Referencing an exported destructured variable or constant is not supported by the template compiler. Consider simplifying this to avoid destructuring';\n case 'Could not resolve type':\n if (error.context && error.context.typeName) {\n return \"Could not resolve type \" + error.context.typeName;\n }\n break;\n case 'Function call not supported':\n var prefix = error.context && error.context.name ? \"Calling function '\" + error.context.name + \"', f\" : 'F';\n return prefix +\n 'unction calls are not supported. Consider replacing the function or lambda with a reference to an exported function';\n case 'Reference to a local symbol':\n if (error.context && error.context.name) {\n return \"Reference to a local (non-exported) symbol '\" + error.context.name + \"'. Consider exporting the symbol\";\n }\n break;\n }\n return error.message;\n }\n function produceErrorMessage(error) {\n return \"Error encountered resolving symbol values statically. \" + expandedMessage(error);\n }\n function mapStringMap(input, transform) {\n if (!input)\n return {};\n var result = {};\n Object.keys(input).forEach(function (key) {\n var value = transform(input[key], key);\n if (!shouldIgnore(value)) {\n result[key] = value;\n }\n });\n return result;\n }\n function isPrimitive$1(o) {\n return o === null || (typeof o !== 'function' && typeof o !== 'object');\n }\n var BindingScope = (function () {\n function BindingScope() {\n }\n BindingScope.build = function () {\n var current = new Map();\n return {\n define: function (name, value) {\n current.set(name, value);\n return this;\n },\n done: function () {\n return current.size > 0 ? new PopulatedScope(current) : BindingScope.empty;\n }\n };\n };\n BindingScope.missing = {};\n BindingScope.empty = { resolve: function (name) { return BindingScope.missing; } };\n return BindingScope;\n }());\n var PopulatedScope = (function (_super) {\n __extends$20(PopulatedScope, _super);\n function PopulatedScope(bindings) {\n _super.call(this);\n this.bindings = bindings;\n }\n PopulatedScope.prototype.resolve = function (name) {\n return this.bindings.has(name) ? this.bindings.get(name) : BindingScope.missing;\n };\n return PopulatedScope;\n }(BindingScope));\n function sameSymbol(a, b) {\n return a === b || (a.name == b.name && a.filePath == b.filePath);\n }\n function shouldIgnore(value) {\n return value && value.__symbolic == 'ignore';\n }\n function positionalError(message, fileName, line, column) {\n var result = new Error(message);\n result.fileName = fileName;\n result.line = line;\n result.column = column;\n return result;\n }\n\n /**\n * Creates a new AotCompiler based on options and a host.\n */\n function createAotCompiler(compilerHost, options) {\n var translations = options.translations || '';\n var urlResolver = createOfflineCompileUrlResolver();\n var staticReflector = new StaticReflector(compilerHost);\n StaticAndDynamicReflectionCapabilities.install(staticReflector);\n var htmlParser = new I18NHtmlParser(new HtmlParser(), translations, options.i18nFormat);\n var config = new CompilerConfig({\n genDebugInfo: options.debug === true,\n defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated,\n logBindingUpdate: false,\n useJit: false\n });\n var normalizer = new DirectiveNormalizer({ get: function (url) { return compilerHost.loadResource(url); } }, urlResolver, htmlParser, config);\n var expressionParser = new Parser(new Lexer());\n var elementSchemaRegistry = new DomElementSchemaRegistry();\n var console = new Console();\n var tmplParser = new TemplateParser(expressionParser, elementSchemaRegistry, htmlParser, console, []);\n var resolver = new CompileMetadataResolver(new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), elementSchemaRegistry, normalizer, staticReflector);\n // TODO(vicb): do not pass options.i18nFormat here\n var compiler = new AotCompiler(resolver, tmplParser, new StyleCompiler(urlResolver), new ViewCompiler(config, elementSchemaRegistry), new DirectiveWrapperCompiler(config, expressionParser, elementSchemaRegistry, console), new NgModuleCompiler(), new TypeScriptEmitter(compilerHost), options.locale, options.i18nFormat, new AnimationParser(elementSchemaRegistry), staticReflector, options);\n return { compiler: compiler, reflector: staticReflector };\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n function interpretStatements(statements, resultVar) {\n var stmtsWithReturn = statements.concat([new ReturnStatement(variable(resultVar))]);\n var ctx = new _ExecutionContext(null, null, null, new Map());\n var visitor = new StatementInterpreter();\n var result = visitor.visitAllStatements(stmtsWithReturn, ctx);\n return isPresent(result) ? result.value : null;\n }\n function _executeFunctionStatements(varNames, varValues, statements, ctx, visitor) {\n var childCtx = ctx.createChildWihtLocalVars();\n for (var i = 0; i < varNames.length; i++) {\n childCtx.vars.set(varNames[i], varValues[i]);\n }\n var result = visitor.visitAllStatements(statements, childCtx);\n return isPresent(result) ? result.value : null;\n }\n var _ExecutionContext = (function () {\n function _ExecutionContext(parent, instance, className, vars) {\n this.parent = parent;\n this.instance = instance;\n this.className = className;\n this.vars = vars;\n }\n _ExecutionContext.prototype.createChildWihtLocalVars = function () {\n return new _ExecutionContext(this, this.instance, this.className, new Map());\n };\n return _ExecutionContext;\n }());\n var ReturnValue = (function () {\n function ReturnValue(value) {\n this.value = value;\n }\n return ReturnValue;\n }());\n function createDynamicClass(_classStmt, _ctx, _visitor) {\n var propertyDescriptors = {};\n _classStmt.getters.forEach(function (getter) {\n // Note: use `function` instead of arrow function to capture `this`\n propertyDescriptors[getter.name] = {\n configurable: false,\n get: function () {\n var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n return _executeFunctionStatements([], [], getter.body, instanceCtx, _visitor);\n }\n };\n });\n _classStmt.methods.forEach(function (method) {\n var paramNames = method.params.map(function (param) { return param.name; });\n // Note: use `function` instead of arrow function to capture `this`\n propertyDescriptors[method.name] = {\n writable: false,\n configurable: false,\n value: function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n return _executeFunctionStatements(paramNames, args, method.body, instanceCtx, _visitor);\n }\n };\n });\n var ctorParamNames = _classStmt.constructorMethod.params.map(function (param) { return param.name; });\n // Note: use `function` instead of arrow function to capture `this`\n var ctor = function () {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n var instanceCtx = new _ExecutionContext(_ctx, this, _classStmt.name, _ctx.vars);\n _classStmt.fields.forEach(function (field) { _this[field.name] = undefined; });\n _executeFunctionStatements(ctorParamNames, args, _classStmt.constructorMethod.body, instanceCtx, _visitor);\n };\n var superClass = _classStmt.parent ? _classStmt.parent.visitExpression(_visitor, _ctx) : Object;\n ctor.prototype = Object.create(superClass.prototype, propertyDescriptors);\n return ctor;\n }\n var StatementInterpreter = (function () {\n function StatementInterpreter() {\n }\n StatementInterpreter.prototype.debugAst = function (ast) { return debugOutputAstAsTypeScript(ast); };\n StatementInterpreter.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n ctx.vars.set(stmt.name, stmt.value.visitExpression(this, ctx));\n return null;\n };\n StatementInterpreter.prototype.visitWriteVarExpr = function (expr, ctx) {\n var value = expr.value.visitExpression(this, ctx);\n var currCtx = ctx;\n while (currCtx != null) {\n if (currCtx.vars.has(expr.name)) {\n currCtx.vars.set(expr.name, value);\n return value;\n }\n currCtx = currCtx.parent;\n }\n throw new Error(\"Not declared variable \" + expr.name);\n };\n StatementInterpreter.prototype.visitReadVarExpr = function (ast, ctx) {\n var varName = ast.name;\n if (isPresent(ast.builtin)) {\n switch (ast.builtin) {\n case BuiltinVar.Super:\n return ctx.instance.__proto__;\n case BuiltinVar.This:\n return ctx.instance;\n case BuiltinVar.CatchError:\n varName = CATCH_ERROR_VAR$2;\n break;\n case BuiltinVar.CatchStack:\n varName = CATCH_STACK_VAR$2;\n break;\n default:\n throw new Error(\"Unknown builtin variable \" + ast.builtin);\n }\n }\n var currCtx = ctx;\n while (currCtx != null) {\n if (currCtx.vars.has(varName)) {\n return currCtx.vars.get(varName);\n }\n currCtx = currCtx.parent;\n }\n throw new Error(\"Not declared variable \" + varName);\n };\n StatementInterpreter.prototype.visitWriteKeyExpr = function (expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var index = expr.index.visitExpression(this, ctx);\n var value = expr.value.visitExpression(this, ctx);\n receiver[index] = value;\n return value;\n };\n StatementInterpreter.prototype.visitWritePropExpr = function (expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var value = expr.value.visitExpression(this, ctx);\n receiver[expr.name] = value;\n return value;\n };\n StatementInterpreter.prototype.visitInvokeMethodExpr = function (expr, ctx) {\n var receiver = expr.receiver.visitExpression(this, ctx);\n var args = this.visitAllExpressions(expr.args, ctx);\n var result;\n if (isPresent(expr.builtin)) {\n switch (expr.builtin) {\n case BuiltinMethod.ConcatArray:\n result = receiver.concat.apply(receiver, args);\n break;\n case BuiltinMethod.SubscribeObservable:\n result = receiver.subscribe({ next: args[0] });\n break;\n case BuiltinMethod.Bind:\n result = receiver.bind.apply(receiver, args);\n break;\n default:\n throw new Error(\"Unknown builtin method \" + expr.builtin);\n }\n }\n else {\n result = receiver[expr.name].apply(receiver, args);\n }\n return result;\n };\n StatementInterpreter.prototype.visitInvokeFunctionExpr = function (stmt, ctx) {\n var args = this.visitAllExpressions(stmt.args, ctx);\n var fnExpr = stmt.fn;\n if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n ctx.instance.constructor.prototype.constructor.apply(ctx.instance, args);\n return null;\n }\n else {\n var fn = stmt.fn.visitExpression(this, ctx);\n return fn.apply(null, args);\n }\n };\n StatementInterpreter.prototype.visitReturnStmt = function (stmt, ctx) {\n return new ReturnValue(stmt.value.visitExpression(this, ctx));\n };\n StatementInterpreter.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n var clazz = createDynamicClass(stmt, ctx, this);\n ctx.vars.set(stmt.name, clazz);\n return null;\n };\n StatementInterpreter.prototype.visitExpressionStmt = function (stmt, ctx) {\n return stmt.expr.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitIfStmt = function (stmt, ctx) {\n var condition = stmt.condition.visitExpression(this, ctx);\n if (condition) {\n return this.visitAllStatements(stmt.trueCase, ctx);\n }\n else if (isPresent(stmt.falseCase)) {\n return this.visitAllStatements(stmt.falseCase, ctx);\n }\n return null;\n };\n StatementInterpreter.prototype.visitTryCatchStmt = function (stmt, ctx) {\n try {\n return this.visitAllStatements(stmt.bodyStmts, ctx);\n }\n catch (e) {\n var childCtx = ctx.createChildWihtLocalVars();\n childCtx.vars.set(CATCH_ERROR_VAR$2, e);\n childCtx.vars.set(CATCH_STACK_VAR$2, e.stack);\n return this.visitAllStatements(stmt.catchStmts, childCtx);\n }\n };\n StatementInterpreter.prototype.visitThrowStmt = function (stmt, ctx) {\n throw stmt.error.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitCommentStmt = function (stmt, context) { return null; };\n StatementInterpreter.prototype.visitInstantiateExpr = function (ast, ctx) {\n var args = this.visitAllExpressions(ast.args, ctx);\n var clazz = ast.classExpr.visitExpression(this, ctx);\n return new (clazz.bind.apply(clazz, [void 0].concat(args)))();\n };\n StatementInterpreter.prototype.visitLiteralExpr = function (ast, ctx) { return ast.value; };\n StatementInterpreter.prototype.visitExternalExpr = function (ast, ctx) {\n return ast.value.reference;\n };\n StatementInterpreter.prototype.visitConditionalExpr = function (ast, ctx) {\n if (ast.condition.visitExpression(this, ctx)) {\n return ast.trueCase.visitExpression(this, ctx);\n }\n else if (isPresent(ast.falseCase)) {\n return ast.falseCase.visitExpression(this, ctx);\n }\n return null;\n };\n StatementInterpreter.prototype.visitNotExpr = function (ast, ctx) {\n return !ast.condition.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitCastExpr = function (ast, ctx) {\n return ast.value.visitExpression(this, ctx);\n };\n StatementInterpreter.prototype.visitFunctionExpr = function (ast, ctx) {\n var paramNames = ast.params.map(function (param) { return param.name; });\n return _declareFn(paramNames, ast.statements, ctx, this);\n };\n StatementInterpreter.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n var paramNames = stmt.params.map(function (param) { return param.name; });\n ctx.vars.set(stmt.name, _declareFn(paramNames, stmt.statements, ctx, this));\n return null;\n };\n StatementInterpreter.prototype.visitBinaryOperatorExpr = function (ast, ctx) {\n var _this = this;\n var lhs = function () { return ast.lhs.visitExpression(_this, ctx); };\n var rhs = function () { return ast.rhs.visitExpression(_this, ctx); };\n switch (ast.operator) {\n case BinaryOperator.Equals:\n return lhs() == rhs();\n case BinaryOperator.Identical:\n return lhs() === rhs();\n case BinaryOperator.NotEquals:\n return lhs() != rhs();\n case BinaryOperator.NotIdentical:\n return lhs() !== rhs();\n case BinaryOperator.And:\n return lhs() && rhs();\n case BinaryOperator.Or:\n return lhs() || rhs();\n case BinaryOperator.Plus:\n return lhs() + rhs();\n case BinaryOperator.Minus:\n return lhs() - rhs();\n case BinaryOperator.Divide:\n return lhs() / rhs();\n case BinaryOperator.Multiply:\n return lhs() * rhs();\n case BinaryOperator.Modulo:\n return lhs() % rhs();\n case BinaryOperator.Lower:\n return lhs() < rhs();\n case BinaryOperator.LowerEquals:\n return lhs() <= rhs();\n case BinaryOperator.Bigger:\n return lhs() > rhs();\n case BinaryOperator.BiggerEquals:\n return lhs() >= rhs();\n default:\n throw new Error(\"Unknown operator \" + ast.operator);\n }\n };\n StatementInterpreter.prototype.visitReadPropExpr = function (ast, ctx) {\n var result;\n var receiver = ast.receiver.visitExpression(this, ctx);\n result = receiver[ast.name];\n return result;\n };\n StatementInterpreter.prototype.visitReadKeyExpr = function (ast, ctx) {\n var receiver = ast.receiver.visitExpression(this, ctx);\n var prop = ast.index.visitExpression(this, ctx);\n return receiver[prop];\n };\n StatementInterpreter.prototype.visitLiteralArrayExpr = function (ast, ctx) {\n return this.visitAllExpressions(ast.entries, ctx);\n };\n StatementInterpreter.prototype.visitLiteralMapExpr = function (ast, ctx) {\n var _this = this;\n var result = {};\n ast.entries.forEach(function (entry) { return result[entry[0]] =\n entry[1].visitExpression(_this, ctx); });\n return result;\n };\n StatementInterpreter.prototype.visitAllExpressions = function (expressions, ctx) {\n var _this = this;\n return expressions.map(function (expr) { return expr.visitExpression(_this, ctx); });\n };\n StatementInterpreter.prototype.visitAllStatements = function (statements, ctx) {\n for (var i = 0; i < statements.length; i++) {\n var stmt = statements[i];\n var val = stmt.visitStatement(this, ctx);\n if (val instanceof ReturnValue) {\n return val;\n }\n }\n return null;\n };\n return StatementInterpreter;\n }());\n function _declareFn(varNames, statements, ctx, visitor) {\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n return _executeFunctionStatements(varNames, args, statements, ctx, visitor);\n };\n }\n var CATCH_ERROR_VAR$2 = 'error';\n var CATCH_STACK_VAR$2 = 'stack';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$22 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var AbstractJsEmitterVisitor = (function (_super) {\n __extends$22(AbstractJsEmitterVisitor, _super);\n function AbstractJsEmitterVisitor() {\n _super.call(this, false);\n }\n AbstractJsEmitterVisitor.prototype.visitDeclareClassStmt = function (stmt, ctx) {\n var _this = this;\n ctx.pushClass(stmt);\n this._visitClassConstructor(stmt, ctx);\n if (isPresent(stmt.parent)) {\n ctx.print(stmt.name + \".prototype = Object.create(\");\n stmt.parent.visitExpression(this, ctx);\n ctx.println(\".prototype);\");\n }\n stmt.getters.forEach(function (getter) { return _this._visitClassGetter(stmt, getter, ctx); });\n stmt.methods.forEach(function (method) { return _this._visitClassMethod(stmt, method, ctx); });\n ctx.popClass();\n return null;\n };\n AbstractJsEmitterVisitor.prototype._visitClassConstructor = function (stmt, ctx) {\n ctx.print(\"function \" + stmt.name + \"(\");\n if (isPresent(stmt.constructorMethod)) {\n this._visitParams(stmt.constructorMethod.params, ctx);\n }\n ctx.println(\") {\");\n ctx.incIndent();\n if (isPresent(stmt.constructorMethod)) {\n if (stmt.constructorMethod.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(stmt.constructorMethod.body, ctx);\n }\n }\n ctx.decIndent();\n ctx.println(\"}\");\n };\n AbstractJsEmitterVisitor.prototype._visitClassGetter = function (stmt, getter, ctx) {\n ctx.println(\"Object.defineProperty(\" + stmt.name + \".prototype, '\" + getter.name + \"', { get: function() {\");\n ctx.incIndent();\n if (getter.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(getter.body, ctx);\n }\n ctx.decIndent();\n ctx.println(\"}});\");\n };\n AbstractJsEmitterVisitor.prototype._visitClassMethod = function (stmt, method, ctx) {\n ctx.print(stmt.name + \".prototype.\" + method.name + \" = function(\");\n this._visitParams(method.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n if (method.body.length > 0) {\n ctx.println(\"var self = this;\");\n this.visitAllStatements(method.body, ctx);\n }\n ctx.decIndent();\n ctx.println(\"};\");\n };\n AbstractJsEmitterVisitor.prototype.visitReadVarExpr = function (ast, ctx) {\n if (ast.builtin === BuiltinVar.This) {\n ctx.print('self');\n }\n else if (ast.builtin === BuiltinVar.Super) {\n throw new Error(\"'super' needs to be handled at a parent ast node, not at the variable level!\");\n }\n else {\n _super.prototype.visitReadVarExpr.call(this, ast, ctx);\n }\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitDeclareVarStmt = function (stmt, ctx) {\n ctx.print(\"var \" + stmt.name + \" = \");\n stmt.value.visitExpression(this, ctx);\n ctx.println(\";\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitCastExpr = function (ast, ctx) {\n ast.value.visitExpression(this, ctx);\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitInvokeFunctionExpr = function (expr, ctx) {\n var fnExpr = expr.fn;\n if (fnExpr instanceof ReadVarExpr && fnExpr.builtin === BuiltinVar.Super) {\n ctx.currentClass.parent.visitExpression(this, ctx);\n ctx.print(\".call(this\");\n if (expr.args.length > 0) {\n ctx.print(\", \");\n this.visitAllExpressions(expr.args, ctx, ',');\n }\n ctx.print(\")\");\n }\n else {\n _super.prototype.visitInvokeFunctionExpr.call(this, expr, ctx);\n }\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitFunctionExpr = function (ast, ctx) {\n ctx.print(\"function(\");\n this._visitParams(ast.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(ast.statements, ctx);\n ctx.decIndent();\n ctx.print(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitDeclareFunctionStmt = function (stmt, ctx) {\n ctx.print(\"function \" + stmt.name + \"(\");\n this._visitParams(stmt.params, ctx);\n ctx.println(\") {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.statements, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype.visitTryCatchStmt = function (stmt, ctx) {\n ctx.println(\"try {\");\n ctx.incIndent();\n this.visitAllStatements(stmt.bodyStmts, ctx);\n ctx.decIndent();\n ctx.println(\"} catch (\" + CATCH_ERROR_VAR$1.name + \") {\");\n ctx.incIndent();\n var catchStmts = [CATCH_STACK_VAR$1.set(CATCH_ERROR_VAR$1.prop('stack')).toDeclStmt(null, [\n StmtModifier.Final\n ])].concat(stmt.catchStmts);\n this.visitAllStatements(catchStmts, ctx);\n ctx.decIndent();\n ctx.println(\"}\");\n return null;\n };\n AbstractJsEmitterVisitor.prototype._visitParams = function (params, ctx) {\n this.visitAllObjects(function (param) { return ctx.print(param.name); }, params, ctx, ',');\n };\n AbstractJsEmitterVisitor.prototype.getBuiltinMethodName = function (method) {\n var name;\n switch (method) {\n case BuiltinMethod.ConcatArray:\n name = 'concat';\n break;\n case BuiltinMethod.SubscribeObservable:\n name = 'subscribe';\n break;\n case BuiltinMethod.Bind:\n name = 'bind';\n break;\n default:\n throw new Error(\"Unknown builtin method: \" + method);\n }\n return name;\n };\n return AbstractJsEmitterVisitor;\n }(AbstractEmitterVisitor));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$21 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function evalExpression(sourceUrl, expr, declarations, vars) {\n var fnBody = declarations + \"\\nreturn \" + expr + \"\\n//# sourceURL=\" + sourceUrl;\n var fnArgNames = [];\n var fnArgValues = [];\n for (var argName in vars) {\n fnArgNames.push(argName);\n fnArgValues.push(vars[argName]);\n }\n return new (Function.bind.apply(Function, [void 0].concat(fnArgNames.concat(fnBody))))().apply(void 0, fnArgValues);\n }\n function jitStatements(sourceUrl, statements, resultVar) {\n var converter = new JitEmitterVisitor();\n var ctx = EmitterVisitorContext.createRoot([resultVar]);\n converter.visitAllStatements(statements, ctx);\n return evalExpression(sourceUrl, resultVar, ctx.toSource(), converter.getArgs());\n }\n var JitEmitterVisitor = (function (_super) {\n __extends$21(JitEmitterVisitor, _super);\n function JitEmitterVisitor() {\n _super.apply(this, arguments);\n this._evalArgNames = [];\n this._evalArgValues = [];\n }\n JitEmitterVisitor.prototype.getArgs = function () {\n var result = {};\n for (var i = 0; i < this._evalArgNames.length; i++) {\n result[this._evalArgNames[i]] = this._evalArgValues[i];\n }\n return result;\n };\n JitEmitterVisitor.prototype.visitExternalExpr = function (ast, ctx) {\n var value = ast.value.reference;\n var id = this._evalArgValues.indexOf(value);\n if (id === -1) {\n id = this._evalArgValues.length;\n this._evalArgValues.push(value);\n var name_1 = isPresent(ast.value.name) ? sanitizeIdentifier(ast.value.name) : 'val';\n this._evalArgNames.push(sanitizeIdentifier(\"jit_\" + name_1 + id));\n }\n ctx.print(this._evalArgNames[id]);\n return null;\n };\n return JitEmitterVisitor;\n }(AbstractJsEmitterVisitor));\n\n /**\n * An internal module of the Angular compiler that begins with component types,\n * extracts templates, and eventually produces a compiled version of the component\n * ready for linking into an application.\n *\n * @security When compiling templates at runtime, you must ensure that the entire template comes\n * from a trusted source. Attacker-controlled data introduced by a template could expose your\n * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n */\n var JitCompiler = (function () {\n function JitCompiler(_injector, _metadataResolver, _templateParser, _styleCompiler, _viewCompiler, _ngModuleCompiler, _directiveWrapperCompiler, _compilerConfig, _animationParser) {\n this._injector = _injector;\n this._metadataResolver = _metadataResolver;\n this._templateParser = _templateParser;\n this._styleCompiler = _styleCompiler;\n this._viewCompiler = _viewCompiler;\n this._ngModuleCompiler = _ngModuleCompiler;\n this._directiveWrapperCompiler = _directiveWrapperCompiler;\n this._compilerConfig = _compilerConfig;\n this._animationParser = _animationParser;\n this._compiledTemplateCache = new Map();\n this._compiledHostTemplateCache = new Map();\n this._compiledDirectiveWrapperCache = new Map();\n this._compiledNgModuleCache = new Map();\n this._animationCompiler = new AnimationCompiler();\n }\n Object.defineProperty(JitCompiler.prototype, \"injector\", {\n get: function () { return this._injector; },\n enumerable: true,\n configurable: true\n });\n JitCompiler.prototype.compileModuleSync = function (moduleType) {\n return this._compileModuleAndComponents(moduleType, true).syncResult;\n };\n JitCompiler.prototype.compileModuleAsync = function (moduleType) {\n return this._compileModuleAndComponents(moduleType, false).asyncResult;\n };\n JitCompiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n return this._compileModuleAndAllComponents(moduleType, true).syncResult;\n };\n JitCompiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n return this._compileModuleAndAllComponents(moduleType, false).asyncResult;\n };\n JitCompiler.prototype._compileModuleAndComponents = function (moduleType, isSync) {\n var _this = this;\n var loadingPromise = this._loadModules(moduleType, isSync);\n var createResult = function () {\n _this._compileComponents(moduleType, null);\n return _this._compileModule(moduleType);\n };\n if (isSync) {\n return new SyncAsyncResult(createResult());\n }\n else {\n return new SyncAsyncResult(null, loadingPromise.then(createResult));\n }\n };\n JitCompiler.prototype._compileModuleAndAllComponents = function (moduleType, isSync) {\n var _this = this;\n var loadingPromise = this._loadModules(moduleType, isSync);\n var createResult = function () {\n var componentFactories = [];\n _this._compileComponents(moduleType, componentFactories);\n return new _angular_core.ModuleWithComponentFactories(_this._compileModule(moduleType), componentFactories);\n };\n if (isSync) {\n return new SyncAsyncResult(createResult());\n }\n else {\n return new SyncAsyncResult(null, loadingPromise.then(createResult));\n }\n };\n JitCompiler.prototype._loadModules = function (mainModule, isSync) {\n var _this = this;\n var loadingPromises = [];\n var _a = this._metadataResolver.loadNgModuleMetadata(mainModule, isSync), ngModule = _a.ngModule, loading = _a.loading;\n loadingPromises.push(loading);\n // Note: the loadingPromise for a module only includes the loading of the exported directives\n // of imported modules.\n // However, for runtime compilation, we want to transitively compile all modules,\n // so we also need to call loadNgModuleMetadata for all nested modules.\n ngModule.transitiveModule.modules.forEach(function (localModuleMeta) {\n loadingPromises.push(_this._metadataResolver.loadNgModuleMetadata(localModuleMeta.type.reference, isSync)\n .loading);\n });\n return Promise.all(loadingPromises);\n };\n JitCompiler.prototype._compileModule = function (moduleType) {\n var _this = this;\n var ngModuleFactory = this._compiledNgModuleCache.get(moduleType);\n if (!ngModuleFactory) {\n var moduleMeta_1 = this._metadataResolver.getNgModuleMetadata(moduleType);\n // Always provide a bound Compiler\n var extraProviders = [this._metadataResolver.getProviderMetadata(new ProviderMeta(_angular_core.Compiler, { useFactory: function () { return new ModuleBoundCompiler(_this, moduleMeta_1.type.reference); } }))];\n var compileResult = this._ngModuleCompiler.compile(moduleMeta_1, extraProviders);\n compileResult.dependencies.forEach(function (dep) {\n dep.placeholder.reference =\n _this._assertComponentKnown(dep.comp.reference, true).proxyComponentFactory;\n dep.placeholder.name = \"compFactory_\" + dep.comp.name;\n });\n if (!this._compilerConfig.useJit) {\n ngModuleFactory =\n interpretStatements(compileResult.statements, compileResult.ngModuleFactoryVar);\n }\n else {\n ngModuleFactory = jitStatements(\"/\" + moduleMeta_1.type.name + \"/module.ngfactory.js\", compileResult.statements, compileResult.ngModuleFactoryVar);\n }\n this._compiledNgModuleCache.set(moduleMeta_1.type.reference, ngModuleFactory);\n }\n return ngModuleFactory;\n };\n /**\n * @internal\n */\n JitCompiler.prototype._compileComponents = function (mainModule, allComponentFactories) {\n var _this = this;\n var ngModule = this._metadataResolver.getNgModuleMetadata(mainModule);\n var moduleByDirective = new Map();\n var templates = new Set();\n ngModule.transitiveModule.modules.forEach(function (localModuleSummary) {\n var localModuleMeta = _this._metadataResolver.getNgModuleMetadata(localModuleSummary.type.reference);\n localModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n moduleByDirective.set(dirIdentifier.reference, localModuleMeta);\n var dirMeta = _this._metadataResolver.getDirectiveMetadata(dirIdentifier.reference);\n _this._compileDirectiveWrapper(dirMeta, localModuleMeta);\n if (dirMeta.isComponent) {\n templates.add(_this._createCompiledTemplate(dirMeta, localModuleMeta));\n if (allComponentFactories) {\n var template = _this._createCompiledHostTemplate(dirMeta.type.reference, localModuleMeta);\n templates.add(template);\n allComponentFactories.push(template.proxyComponentFactory);\n }\n }\n });\n });\n ngModule.transitiveModule.modules.forEach(function (localModuleSummary) {\n var localModuleMeta = _this._metadataResolver.getNgModuleMetadata(localModuleSummary.type.reference);\n localModuleMeta.declaredDirectives.forEach(function (dirIdentifier) {\n var dirMeta = _this._metadataResolver.getDirectiveMetadata(dirIdentifier.reference);\n if (dirMeta.isComponent) {\n dirMeta.entryComponents.forEach(function (entryComponentType) {\n var moduleMeta = moduleByDirective.get(entryComponentType.reference);\n templates.add(_this._createCompiledHostTemplate(entryComponentType.reference, moduleMeta));\n });\n }\n });\n localModuleMeta.entryComponents.forEach(function (entryComponentType) {\n var moduleMeta = moduleByDirective.get(entryComponentType.reference);\n templates.add(_this._createCompiledHostTemplate(entryComponentType.reference, moduleMeta));\n });\n });\n templates.forEach(function (template) { return _this._compileTemplate(template); });\n };\n JitCompiler.prototype.clearCacheFor = function (type) {\n this._compiledNgModuleCache.delete(type);\n this._metadataResolver.clearCacheFor(type);\n this._compiledHostTemplateCache.delete(type);\n var compiledTemplate = this._compiledTemplateCache.get(type);\n if (compiledTemplate) {\n this._compiledTemplateCache.delete(type);\n }\n };\n JitCompiler.prototype.clearCache = function () {\n this._metadataResolver.clearCache();\n this._compiledTemplateCache.clear();\n this._compiledHostTemplateCache.clear();\n this._compiledNgModuleCache.clear();\n };\n JitCompiler.prototype._createCompiledHostTemplate = function (compType, ngModule) {\n if (!ngModule) {\n throw new Error(\"Component \" + stringify(compType) + \" is not part of any NgModule or the module has not been imported into your module.\");\n }\n var compiledTemplate = this._compiledHostTemplateCache.get(compType);\n if (!compiledTemplate) {\n var compMeta = this._metadataResolver.getDirectiveMetadata(compType);\n assertComponent(compMeta);\n var hostMeta = createHostComponentMeta(compMeta);\n compiledTemplate = new CompiledTemplate(true, compMeta.selector, compMeta.type, hostMeta, ngModule, [compMeta.type]);\n this._compiledHostTemplateCache.set(compType, compiledTemplate);\n }\n return compiledTemplate;\n };\n JitCompiler.prototype._createCompiledTemplate = function (compMeta, ngModule) {\n var compiledTemplate = this._compiledTemplateCache.get(compMeta.type.reference);\n if (!compiledTemplate) {\n assertComponent(compMeta);\n compiledTemplate = new CompiledTemplate(false, compMeta.selector, compMeta.type, compMeta, ngModule, ngModule.transitiveModule.directives);\n this._compiledTemplateCache.set(compMeta.type.reference, compiledTemplate);\n }\n return compiledTemplate;\n };\n JitCompiler.prototype._assertComponentKnown = function (compType, isHost) {\n var compiledTemplate = isHost ? this._compiledHostTemplateCache.get(compType) :\n this._compiledTemplateCache.get(compType);\n if (!compiledTemplate) {\n throw new Error(\"Illegal state: Compiled view for component \" + stringify(compType) + \" (host: \" + isHost + \") does not exist!\");\n }\n return compiledTemplate;\n };\n JitCompiler.prototype._assertDirectiveWrapper = function (dirType) {\n var dirWrapper = this._compiledDirectiveWrapperCache.get(dirType);\n if (!dirWrapper) {\n throw new Error(\"Illegal state: Directive wrapper for \" + stringify(dirType) + \" has not been compiled!\");\n }\n return dirWrapper;\n };\n JitCompiler.prototype._compileDirectiveWrapper = function (dirMeta, moduleMeta) {\n var compileResult = this._directiveWrapperCompiler.compile(dirMeta);\n var statements = compileResult.statements;\n var directiveWrapperClass;\n if (!this._compilerConfig.useJit) {\n directiveWrapperClass = interpretStatements(statements, compileResult.dirWrapperClassVar);\n }\n else {\n directiveWrapperClass = jitStatements(\"/\" + moduleMeta.type.name + \"/\" + dirMeta.type.name + \"/wrapper.ngfactory.js\", statements, compileResult.dirWrapperClassVar);\n }\n this._compiledDirectiveWrapperCache.set(dirMeta.type.reference, directiveWrapperClass);\n };\n JitCompiler.prototype._compileTemplate = function (template) {\n var _this = this;\n if (template.isCompiled) {\n return;\n }\n var compMeta = template.compMeta;\n var externalStylesheetsByModuleUrl = new Map();\n var stylesCompileResult = this._styleCompiler.compileComponent(compMeta);\n stylesCompileResult.externalStylesheets.forEach(function (r) { externalStylesheetsByModuleUrl.set(r.meta.moduleUrl, r); });\n this._resolveStylesCompileResult(stylesCompileResult.componentStylesheet, externalStylesheetsByModuleUrl);\n var parsedAnimations = this._animationParser.parseComponent(compMeta);\n var directives = template.directives.map(function (dir) { return _this._metadataResolver.getDirectiveSummary(dir.reference); });\n var pipes = template.ngModule.transitiveModule.pipes.map(function (pipe) { return _this._metadataResolver.getPipeSummary(pipe.reference); });\n var parsedTemplate = this._templateParser.parse(compMeta, compMeta.template.template, directives, pipes, template.ngModule.schemas, compMeta.type.name);\n var compiledAnimations = this._animationCompiler.compile(compMeta.type.name, parsedAnimations);\n var compileResult = this._viewCompiler.compileComponent(compMeta, parsedTemplate, variable(stylesCompileResult.componentStylesheet.stylesVar), pipes, compiledAnimations);\n compileResult.dependencies.forEach(function (dep) {\n var depTemplate;\n if (dep instanceof ViewClassDependency) {\n var vfd = dep;\n depTemplate = _this._assertComponentKnown(vfd.comp.reference, false);\n vfd.placeholder.reference = depTemplate.proxyViewClass;\n vfd.placeholder.name = \"View_\" + vfd.comp.name;\n }\n else if (dep instanceof ComponentFactoryDependency$1) {\n var cfd = dep;\n depTemplate = _this._assertComponentKnown(cfd.comp.reference, true);\n cfd.placeholder.reference = depTemplate.proxyComponentFactory;\n cfd.placeholder.name = \"compFactory_\" + cfd.comp.name;\n }\n else if (dep instanceof DirectiveWrapperDependency) {\n var dwd = dep;\n dwd.placeholder.reference = _this._assertDirectiveWrapper(dwd.dir.reference);\n }\n });\n var statements = (_a = stylesCompileResult.componentStylesheet.statements).concat.apply(_a, compiledAnimations.map(function (ca) { return ca.statements; }))\n .concat(compileResult.statements);\n var viewClass;\n if (!this._compilerConfig.useJit) {\n viewClass = interpretStatements(statements, compileResult.viewClassVar);\n }\n else {\n viewClass = jitStatements(\"/\" + template.ngModule.type.name + \"/\" + template.compType.name + \"/\" + (template.isHost ? 'host' : 'component') + \".ngfactory.js\", statements, compileResult.viewClassVar);\n }\n template.compiled(viewClass);\n var _a;\n };\n JitCompiler.prototype._resolveStylesCompileResult = function (result, externalStylesheetsByModuleUrl) {\n var _this = this;\n result.dependencies.forEach(function (dep, i) {\n var nestedCompileResult = externalStylesheetsByModuleUrl.get(dep.moduleUrl);\n var nestedStylesArr = _this._resolveAndEvalStylesCompileResult(nestedCompileResult, externalStylesheetsByModuleUrl);\n dep.valuePlaceholder.reference = nestedStylesArr;\n dep.valuePlaceholder.name = \"importedStyles\" + i;\n });\n };\n JitCompiler.prototype._resolveAndEvalStylesCompileResult = function (result, externalStylesheetsByModuleUrl) {\n this._resolveStylesCompileResult(result, externalStylesheetsByModuleUrl);\n if (!this._compilerConfig.useJit) {\n return interpretStatements(result.statements, result.stylesVar);\n }\n else {\n return jitStatements(\"/\" + result.meta.moduleUrl + \".css.js\", result.statements, result.stylesVar);\n }\n };\n JitCompiler.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n JitCompiler.ctorParameters = [\n { type: _angular_core.Injector, },\n { type: CompileMetadataResolver, },\n { type: TemplateParser, },\n { type: StyleCompiler, },\n { type: ViewCompiler, },\n { type: NgModuleCompiler, },\n { type: DirectiveWrapperCompiler, },\n { type: CompilerConfig, },\n { type: AnimationParser, },\n ];\n return JitCompiler;\n }());\n var CompiledTemplate = (function () {\n function CompiledTemplate(isHost, selector, compType, compMeta, ngModule, directives) {\n this.isHost = isHost;\n this.compType = compType;\n this.compMeta = compMeta;\n this.ngModule = ngModule;\n this.directives = directives;\n this._viewClass = null;\n this.isCompiled = false;\n var self = this;\n this.proxyViewClass = function () {\n if (!self._viewClass) {\n throw new Error(\"Illegal state: CompiledTemplate for \" + stringify(self.compType) + \" is not compiled yet!\");\n }\n return self._viewClass.apply(this, arguments);\n };\n this.proxyComponentFactory = isHost ?\n new _angular_core.ComponentFactory(selector, this.proxyViewClass, compType.reference) :\n null;\n }\n CompiledTemplate.prototype.compiled = function (viewClass) {\n this._viewClass = viewClass;\n this.proxyViewClass.prototype = viewClass.prototype;\n this.isCompiled = true;\n };\n return CompiledTemplate;\n }());\n function assertComponent(meta) {\n if (!meta.isComponent) {\n throw new Error(\"Could not compile '\" + meta.type.name + \"' because it is not a component.\");\n }\n }\n /**\n * Implements `Compiler` by delegating to the JitCompiler using a known module.\n */\n var ModuleBoundCompiler = (function () {\n function ModuleBoundCompiler(_delegate, _ngModule) {\n this._delegate = _delegate;\n this._ngModule = _ngModule;\n }\n Object.defineProperty(ModuleBoundCompiler.prototype, \"_injector\", {\n get: function () { return this._delegate.injector; },\n enumerable: true,\n configurable: true\n });\n ModuleBoundCompiler.prototype.compileModuleSync = function (moduleType) {\n return this._delegate.compileModuleSync(moduleType);\n };\n ModuleBoundCompiler.prototype.compileModuleAsync = function (moduleType) {\n return this._delegate.compileModuleAsync(moduleType);\n };\n ModuleBoundCompiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n return this._delegate.compileModuleAndAllComponentsSync(moduleType);\n };\n ModuleBoundCompiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType);\n };\n /**\n * Clears all caches\n */\n ModuleBoundCompiler.prototype.clearCache = function () { this._delegate.clearCache(); };\n /**\n * Clears the cache for the given component/ngModule.\n */\n ModuleBoundCompiler.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };\n return ModuleBoundCompiler;\n }());\n\n var Extractor = (function () {\n function Extractor(options, host, staticReflector, messageBundle, metadataResolver) {\n this.options = options;\n this.host = host;\n this.staticReflector = staticReflector;\n this.messageBundle = messageBundle;\n this.metadataResolver = metadataResolver;\n }\n Extractor.prototype.extract = function (rootFiles) {\n var _this = this;\n var programSymbols = extractProgramSymbols(this.staticReflector, rootFiles, this.options);\n var _a = analyzeAndValidateNgModules(programSymbols, this.options, this.metadataResolver), ngModuleByPipeOrDirective = _a.ngModuleByPipeOrDirective, files = _a.files, ngModules = _a.ngModules;\n return loadNgModuleDirectives(ngModules).then(function () {\n var errors = [];\n files.forEach(function (file) {\n var compMetas = [];\n file.directives.forEach(function (directiveType) {\n var dirMeta = _this.metadataResolver.getDirectiveMetadata(directiveType);\n if (dirMeta && dirMeta.isComponent) {\n compMetas.push(dirMeta);\n }\n });\n compMetas.forEach(function (compMeta) {\n var html = compMeta.template.template;\n var interpolationConfig = InterpolationConfig.fromArray(compMeta.template.interpolation);\n errors.push.apply(errors, _this.messageBundle.updateFromTemplate(html, file.srcUrl, interpolationConfig));\n });\n });\n if (errors.length) {\n throw new Error(errors.map(function (e) { return e.toString(); }).join('\\n'));\n }\n return _this.messageBundle;\n });\n };\n Extractor.create = function (host, options) {\n var htmlParser = new I18NHtmlParser(new HtmlParser());\n var urlResolver = createOfflineCompileUrlResolver();\n var staticReflector = new StaticReflector(host);\n StaticAndDynamicReflectionCapabilities.install(staticReflector);\n var config = new CompilerConfig({\n genDebugInfo: false,\n defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated,\n logBindingUpdate: false,\n useJit: false\n });\n var normalizer = new DirectiveNormalizer({ get: function (url) { return host.loadResource(url); } }, urlResolver, htmlParser, config);\n var elementSchemaRegistry = new DomElementSchemaRegistry();\n var resolver = new CompileMetadataResolver(new NgModuleResolver(staticReflector), new DirectiveResolver(staticReflector), new PipeResolver(staticReflector), elementSchemaRegistry, normalizer, staticReflector);\n // TODO(vicb): implicit tags & attributes\n var messageBundle = new MessageBundle(htmlParser, [], {});\n var extractor = new Extractor(options, host, staticReflector, messageBundle, resolver);\n return { extractor: extractor, staticReflector: staticReflector };\n };\n return Extractor;\n }());\n\n var _NO_RESOURCE_LOADER = {\n get: function (url) {\n throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\" + url + \"\\\"\");\n }\n };\n /**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\n var COMPILER_PROVIDERS = [\n { provide: Reflector, useValue: reflector },\n { provide: ReflectorReader, useExisting: Reflector },\n { provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER },\n Console,\n Lexer,\n Parser,\n HtmlParser,\n {\n provide: I18NHtmlParser,\n useFactory: function (parser, translations, format) {\n return new I18NHtmlParser(parser, translations, format);\n },\n deps: [\n HtmlParser,\n [new _angular_core.Optional(), new _angular_core.Inject(_angular_core.TRANSLATIONS)],\n [new _angular_core.Optional(), new _angular_core.Inject(_angular_core.TRANSLATIONS_FORMAT)],\n ]\n },\n TemplateParser,\n DirectiveNormalizer,\n CompileMetadataResolver,\n DEFAULT_PACKAGE_URL_PROVIDER,\n StyleCompiler,\n ViewCompiler,\n NgModuleCompiler,\n DirectiveWrapperCompiler,\n { provide: CompilerConfig, useValue: new CompilerConfig() },\n JitCompiler,\n { provide: _angular_core.Compiler, useExisting: JitCompiler },\n DomElementSchemaRegistry,\n { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry },\n UrlResolver,\n DirectiveResolver,\n PipeResolver,\n NgModuleResolver,\n AnimationParser\n ];\n var JitCompilerFactory = (function () {\n function JitCompilerFactory(defaultOptions) {\n this._defaultOptions = [{\n useDebug: _angular_core.isDevMode(),\n useJit: true,\n defaultEncapsulation: _angular_core.ViewEncapsulation.Emulated\n }].concat(defaultOptions);\n }\n JitCompilerFactory.prototype.createCompiler = function (options) {\n if (options === void 0) { options = []; }\n var mergedOptions = _mergeOptions(this._defaultOptions.concat(options));\n var injector = _angular_core.ReflectiveInjector.resolveAndCreate([\n COMPILER_PROVIDERS, {\n provide: CompilerConfig,\n useFactory: function () {\n return new CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers. E.g. important for the testing platform.\n genDebugInfo: mergedOptions.useDebug,\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: mergedOptions.useJit,\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: mergedOptions.defaultEncapsulation,\n logBindingUpdate: mergedOptions.useDebug\n });\n },\n deps: []\n },\n mergedOptions.providers\n ]);\n return injector.get(_angular_core.Compiler);\n };\n JitCompilerFactory.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n JitCompilerFactory.ctorParameters = [\n { type: Array, decorators: [{ type: _angular_core.Inject, args: [_angular_core.COMPILER_OPTIONS,] },] },\n ];\n return JitCompilerFactory;\n }());\n function _initReflector() {\n reflector.reflectionCapabilities = new ReflectionCapabilities();\n }\n /**\n * A platform that included corePlatform and the compiler.\n *\n * @experimental\n */\n var platformCoreDynamic = _angular_core.createPlatformFactory(_angular_core.platformCore, 'coreDynamic', [\n { provide: _angular_core.COMPILER_OPTIONS, useValue: {}, multi: true },\n { provide: _angular_core.CompilerFactory, useClass: JitCompilerFactory },\n { provide: _angular_core.PLATFORM_INITIALIZER, useValue: _initReflector, multi: true },\n ]);\n function _mergeOptions(optionsArr) {\n return {\n useDebug: _lastDefined(optionsArr.map(function (options) { return options.useDebug; })),\n useJit: _lastDefined(optionsArr.map(function (options) { return options.useJit; })),\n defaultEncapsulation: _lastDefined(optionsArr.map(function (options) { return options.defaultEncapsulation; })),\n providers: _mergeArrays(optionsArr.map(function (options) { return options.providers; }))\n };\n }\n function _lastDefined(args) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n }\n function _mergeArrays(parts) {\n var result = [];\n parts.forEach(function (part) { return part && result.push.apply(result, part); });\n return result;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Interface that defines how import statements should be generated.\n */\n var ImportResolver = (function () {\n function ImportResolver() {\n }\n return ImportResolver;\n }());\n\n exports.TEMPLATE_TRANSFORMS = TEMPLATE_TRANSFORMS;\n exports.CompilerConfig = CompilerConfig;\n exports.RenderTypes = RenderTypes;\n exports.JitCompiler = JitCompiler;\n exports.DirectiveResolver = DirectiveResolver;\n exports.PipeResolver = PipeResolver;\n exports.NgModuleResolver = NgModuleResolver;\n exports.DEFAULT_INTERPOLATION_CONFIG = DEFAULT_INTERPOLATION_CONFIG;\n exports.InterpolationConfig = InterpolationConfig;\n exports.NgModuleCompiler = NgModuleCompiler;\n exports.DirectiveWrapperCompiler = DirectiveWrapperCompiler;\n exports.ViewCompiler = ViewCompiler;\n exports.AnimationParser = AnimationParser;\n exports.TextAst = TextAst;\n exports.BoundTextAst = BoundTextAst;\n exports.AttrAst = AttrAst;\n exports.BoundElementPropertyAst = BoundElementPropertyAst;\n exports.BoundEventAst = BoundEventAst;\n exports.ReferenceAst = ReferenceAst;\n exports.VariableAst = VariableAst;\n exports.ElementAst = ElementAst;\n exports.EmbeddedTemplateAst = EmbeddedTemplateAst;\n exports.BoundDirectivePropertyAst = BoundDirectivePropertyAst;\n exports.DirectiveAst = DirectiveAst;\n exports.ProviderAst = ProviderAst;\n exports.NgContentAst = NgContentAst;\n exports.templateVisitAll = templateVisitAll;\n exports.CompileMetadataWithIdentifier = CompileMetadataWithIdentifier;\n exports.CompileAnimationEntryMetadata = CompileAnimationEntryMetadata;\n exports.CompileAnimationStateMetadata = CompileAnimationStateMetadata;\n exports.CompileAnimationStateDeclarationMetadata = CompileAnimationStateDeclarationMetadata;\n exports.CompileAnimationStateTransitionMetadata = CompileAnimationStateTransitionMetadata;\n exports.CompileAnimationMetadata = CompileAnimationMetadata;\n exports.CompileAnimationKeyframesSequenceMetadata = CompileAnimationKeyframesSequenceMetadata;\n exports.CompileAnimationStyleMetadata = CompileAnimationStyleMetadata;\n exports.CompileAnimationAnimateMetadata = CompileAnimationAnimateMetadata;\n exports.CompileAnimationWithStepsMetadata = CompileAnimationWithStepsMetadata;\n exports.CompileAnimationSequenceMetadata = CompileAnimationSequenceMetadata;\n exports.CompileAnimationGroupMetadata = CompileAnimationGroupMetadata;\n exports.CompileIdentifierMetadata = CompileIdentifierMetadata;\n exports.CompileDiDependencyMetadata = CompileDiDependencyMetadata;\n exports.CompileProviderMetadata = CompileProviderMetadata;\n exports.CompileFactoryMetadata = CompileFactoryMetadata;\n exports.CompileTokenMetadata = CompileTokenMetadata;\n exports.CompileTypeMetadata = CompileTypeMetadata;\n exports.CompileQueryMetadata = CompileQueryMetadata;\n exports.CompileStylesheetMetadata = CompileStylesheetMetadata;\n exports.CompileTemplateMetadata = CompileTemplateMetadata;\n exports.CompileDirectiveMetadata = CompileDirectiveMetadata;\n exports.createHostComponentMeta = createHostComponentMeta;\n exports.CompilePipeMetadata = CompilePipeMetadata;\n exports.CompileNgModuleMetadata = CompileNgModuleMetadata;\n exports.TransitiveCompileNgModuleMetadata = TransitiveCompileNgModuleMetadata;\n exports.removeIdentifierDuplicates = removeIdentifierDuplicates;\n exports.ProviderMeta = ProviderMeta;\n exports.createAotCompiler = createAotCompiler;\n exports.SourceModule = SourceModule;\n exports.AotCompiler = AotCompiler;\n exports.analyzeNgModules = analyzeNgModules;\n exports.analyzeAndValidateNgModules = analyzeAndValidateNgModules;\n exports.loadNgModuleDirectives = loadNgModuleDirectives;\n exports.extractProgramSymbols = extractProgramSymbols;\n exports.StaticSymbolCache = StaticSymbolCache;\n exports.StaticReflector = StaticReflector;\n exports.StaticAndDynamicReflectionCapabilities = StaticAndDynamicReflectionCapabilities;\n exports.isStaticSymbol = isStaticSymbol;\n exports.StaticSymbol = StaticSymbol;\n exports.COMPILER_PROVIDERS = COMPILER_PROVIDERS;\n exports.JitCompilerFactory = JitCompilerFactory;\n exports.platformCoreDynamic = platformCoreDynamic;\n exports.createUrlResolverWithoutPackagePrefix = createUrlResolverWithoutPackagePrefix;\n exports.createOfflineCompileUrlResolver = createOfflineCompileUrlResolver;\n exports.DEFAULT_PACKAGE_URL_PROVIDER = DEFAULT_PACKAGE_URL_PROVIDER;\n exports.UrlResolver = UrlResolver;\n exports.getUrlScheme = getUrlScheme;\n exports.ResourceLoader = ResourceLoader;\n exports.ElementSchemaRegistry = ElementSchemaRegistry;\n exports.Extractor = Extractor;\n exports.I18NHtmlParser = I18NHtmlParser;\n exports.MessageBundle = MessageBundle;\n exports.Xliff = Xliff;\n exports.Xmb = Xmb;\n exports.Xtb = Xtb;\n exports.DirectiveNormalizer = DirectiveNormalizer;\n exports.Lexer = Lexer;\n exports.Token = Token;\n exports.EOF = EOF;\n exports.isIdentifier = isIdentifier;\n exports.isQuote = isQuote;\n exports.SplitInterpolation = SplitInterpolation;\n exports.TemplateBindingParseResult = TemplateBindingParseResult;\n exports.Parser = Parser;\n exports._ParseAST = _ParseAST;\n exports.CompileMetadataResolver = CompileMetadataResolver;\n exports.HtmlParser = HtmlParser;\n exports.ParseTreeResult = ParseTreeResult;\n exports.TreeError = TreeError;\n exports.ImportResolver = ImportResolver;\n exports.debugOutputAstAsTypeScript = debugOutputAstAsTypeScript;\n exports.TypeScriptEmitter = TypeScriptEmitter;\n exports.ParseLocation = ParseLocation;\n exports.ParseSourceFile = ParseSourceFile;\n exports.ParseSourceSpan = ParseSourceSpan;\n exports.ParseError = ParseError;\n exports.DomElementSchemaRegistry = DomElementSchemaRegistry;\n exports.CssSelector = CssSelector;\n exports.SelectorMatcher = SelectorMatcher;\n exports.SelectorListContext = SelectorListContext;\n exports.SelectorContext = SelectorContext;\n exports.StylesCompileDependency = StylesCompileDependency;\n exports.StylesCompileResult = StylesCompileResult;\n exports.CompiledStylesheet = CompiledStylesheet;\n exports.StyleCompiler = StyleCompiler;\n exports.TemplateParseError = TemplateParseError;\n exports.TemplateParseResult = TemplateParseResult;\n exports.TemplateParser = TemplateParser;\n exports.splitClasses = splitClasses;\n exports.removeSummaryDuplicates = removeSummaryDuplicates;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/compiler/bundles/compiler.umd.js\n// module id = 262\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/Subject'), require('rxjs/Observable')) :\n typeof define === 'function' && define.amd ? define(['exports', 'rxjs/Subject', 'rxjs/Observable'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.core = global.ng.core || {}),global.Rx,global.Rx));\n}(this, function (exports,rxjs_Subject,rxjs_Observable) { 'use strict';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalScope;\n if (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n }\n else {\n globalScope = window;\n }\n function scheduleMicroTask(fn) {\n Zone.current.scheduleMicroTask('scheduleMicrotask', fn);\n }\n // Need to declare a new variable for global here since TypeScript\n // exports the original value of the symbol.\n var global$1 = globalScope;\n function getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n }\n // TODO: remove calls to assert in production environment\n // Note: Can't just export this and import in in other files\n // as `assert` is a reserved keyword in Dart\n global$1.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n };\n function isPresent(obj) {\n return obj != null;\n }\n function isBlank(obj) {\n return obj == null;\n }\n function stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n }\n // JS has NaN !== NaN\n function looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n }\n function isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n }\n function print(obj) {\n console.log(obj);\n }\n function warn(obj) {\n console.warn(obj);\n }\n var _symbolIterator = null;\n function getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n }\n function isPrimitive(obj) {\n return !isJsObject(obj);\n }\n\n var _nextClassId = 0;\n var Reflect = global$1.Reflect;\n function extractAnnotation(annotation) {\n if (typeof annotation === 'function' && annotation.hasOwnProperty('annotation')) {\n // it is a decorator, extract annotation\n annotation = annotation.annotation;\n }\n return annotation;\n }\n function applyParams(fnOrArray, key) {\n if (fnOrArray === Object || fnOrArray === String || fnOrArray === Function ||\n fnOrArray === Number || fnOrArray === Array) {\n throw new Error(\"Can not use native \" + stringify(fnOrArray) + \" as constructor\");\n }\n if (typeof fnOrArray === 'function') {\n return fnOrArray;\n }\n if (Array.isArray(fnOrArray)) {\n var annotations = fnOrArray;\n var annoLength = annotations.length - 1;\n var fn = fnOrArray[annoLength];\n if (typeof fn !== 'function') {\n throw new Error(\"Last position of Class method array must be Function in key \" + key + \" was '\" + stringify(fn) + \"'\");\n }\n if (annoLength != fn.length) {\n throw new Error(\"Number of annotations (\" + annoLength + \") does not match number of arguments (\" + fn.length + \") in the function: \" + stringify(fn));\n }\n var paramsAnnotations = [];\n for (var i = 0, ii = annotations.length - 1; i < ii; i++) {\n var paramAnnotations = [];\n paramsAnnotations.push(paramAnnotations);\n var annotation = annotations[i];\n if (Array.isArray(annotation)) {\n for (var j = 0; j < annotation.length; j++) {\n paramAnnotations.push(extractAnnotation(annotation[j]));\n }\n }\n else if (typeof annotation === 'function') {\n paramAnnotations.push(extractAnnotation(annotation));\n }\n else {\n paramAnnotations.push(annotation);\n }\n }\n Reflect.defineMetadata('parameters', paramsAnnotations, fn);\n return fn;\n }\n throw new Error(\"Only Function or Array is supported in Class definition for key '\" + key + \"' is '\" + stringify(fnOrArray) + \"'\");\n }\n /**\n * Provides a way for expressing ES6 classes with parameter annotations in ES5.\n *\n * ## Basic Example\n *\n * ```\n * var Greeter = ng.Class({\n * constructor: function(name) {\n * this.name = name;\n * },\n *\n * greet: function() {\n * alert('Hello ' + this.name + '!');\n * }\n * });\n * ```\n *\n * is equivalent to ES6:\n *\n * ```\n * class Greeter {\n * constructor(name) {\n * this.name = name;\n * }\n *\n * greet() {\n * alert('Hello ' + this.name + '!');\n * }\n * }\n * ```\n *\n * or equivalent to ES5:\n *\n * ```\n * var Greeter = function (name) {\n * this.name = name;\n * }\n *\n * Greeter.prototype.greet = function () {\n * alert('Hello ' + this.name + '!');\n * }\n * ```\n *\n * ### Example with parameter annotations\n *\n * ```\n * var MyService = ng.Class({\n * constructor: [String, [new Optional(), Service], function(name, myService) {\n * ...\n * }]\n * });\n * ```\n *\n * is equivalent to ES6:\n *\n * ```\n * class MyService {\n * constructor(name: string, @Optional() myService: Service) {\n * ...\n * }\n * }\n * ```\n *\n * ### Example with inheritance\n *\n * ```\n * var Shape = ng.Class({\n * constructor: (color) {\n * this.color = color;\n * }\n * });\n *\n * var Square = ng.Class({\n * extends: Shape,\n * constructor: function(color, size) {\n * Shape.call(this, color);\n * this.size = size;\n * }\n * });\n * ```\n * @stable\n */\n function Class(clsDef) {\n var constructor = applyParams(clsDef.hasOwnProperty('constructor') ? clsDef.constructor : undefined, 'constructor');\n var proto = constructor.prototype;\n if (clsDef.hasOwnProperty('extends')) {\n if (typeof clsDef.extends === 'function') {\n constructor.prototype = proto =\n Object.create(clsDef.extends.prototype);\n }\n else {\n throw new Error(\"Class definition 'extends' property must be a constructor function was: \" + stringify(clsDef.extends));\n }\n }\n for (var key in clsDef) {\n if (key !== 'extends' && key !== 'prototype' && clsDef.hasOwnProperty(key)) {\n proto[key] = applyParams(clsDef[key], key);\n }\n }\n if (this && this.annotations instanceof Array) {\n Reflect.defineMetadata('annotations', this.annotations, constructor);\n }\n var constructorName = constructor['name'];\n if (!constructorName || constructorName === 'constructor') {\n constructor['overriddenName'] = \"class\" + _nextClassId++;\n }\n return constructor;\n }\n function makeDecorator(name, props, parentClass, chainFn) {\n if (chainFn === void 0) { chainFn = null; }\n var metaCtor = makeMetadataCtor([props]);\n function DecoratorFactory(objOrType) {\n if (!(Reflect && Reflect.getMetadata)) {\n throw 'reflect-metadata shim is required when using class decorators';\n }\n if (this instanceof DecoratorFactory) {\n metaCtor.call(this, objOrType);\n return this;\n }\n var annotationInstance = new DecoratorFactory(objOrType);\n var chainAnnotation = typeof this === 'function' && Array.isArray(this.annotations) ? this.annotations : [];\n chainAnnotation.push(annotationInstance);\n var TypeDecorator = function TypeDecorator(cls) {\n var annotations = Reflect.getOwnMetadata('annotations', cls) || [];\n annotations.push(annotationInstance);\n Reflect.defineMetadata('annotations', annotations, cls);\n return cls;\n };\n TypeDecorator.annotations = chainAnnotation;\n TypeDecorator.Class = Class;\n if (chainFn)\n chainFn(TypeDecorator);\n return TypeDecorator;\n }\n if (parentClass) {\n DecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n DecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n DecoratorFactory.annotationCls = DecoratorFactory;\n return DecoratorFactory;\n }\n function makeMetadataCtor(props) {\n return function ctor() {\n var _this = this;\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n props.forEach(function (prop, i) {\n var argVal = args[i];\n if (Array.isArray(prop)) {\n // plain parameter\n _this[prop[0]] = argVal === undefined ? prop[1] : argVal;\n }\n else {\n for (var propName in prop) {\n _this[propName] =\n argVal && argVal.hasOwnProperty(propName) ? argVal[propName] : prop[propName];\n }\n }\n });\n };\n }\n function makeParamDecorator(name, props, parentClass) {\n var metaCtor = makeMetadataCtor(props);\n function ParamDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n if (this instanceof ParamDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n var annotationInstance = new ((_a = ParamDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n ParamDecorator.annotation = annotationInstance;\n return ParamDecorator;\n function ParamDecorator(cls, unusedKey, index) {\n var parameters = Reflect.getMetadata('parameters', cls) || [];\n // there might be gaps if some in between parameters do not have annotations.\n // we pad with nulls.\n while (parameters.length <= index) {\n parameters.push(null);\n }\n parameters[index] = parameters[index] || [];\n parameters[index].push(annotationInstance);\n Reflect.defineMetadata('parameters', parameters, cls);\n return cls;\n }\n var _a;\n }\n if (parentClass) {\n ParamDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n ParamDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n ParamDecoratorFactory.annotationCls = ParamDecoratorFactory;\n return ParamDecoratorFactory;\n }\n function makePropDecorator(name, props, parentClass) {\n var metaCtor = makeMetadataCtor(props);\n function PropDecoratorFactory() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n if (this instanceof PropDecoratorFactory) {\n metaCtor.apply(this, args);\n return this;\n }\n var decoratorInstance = new ((_a = PropDecoratorFactory).bind.apply(_a, [void 0].concat(args)))();\n return function PropDecorator(target, name) {\n var meta = Reflect.getOwnMetadata('propMetadata', target.constructor) || {};\n meta[name] = meta.hasOwnProperty(name) && meta[name] || [];\n meta[name].unshift(decoratorInstance);\n Reflect.defineMetadata('propMetadata', meta, target.constructor);\n };\n var _a;\n }\n if (parentClass) {\n PropDecoratorFactory.prototype = Object.create(parentClass.prototype);\n }\n PropDecoratorFactory.prototype.toString = function () { return (\"@\" + name); };\n PropDecoratorFactory.annotationCls = PropDecoratorFactory;\n return PropDecoratorFactory;\n }\n\n /**\n * Inject decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Inject = makeParamDecorator('Inject', [['token', undefined]]);\n /**\n * Optional decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Optional = makeParamDecorator('Optional', []);\n /**\n * Injectable decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Injectable = makeParamDecorator('Injectable', []);\n /**\n * Self decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Self = makeParamDecorator('Self', []);\n /**\n * SkipSelf decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var SkipSelf = makeParamDecorator('SkipSelf', []);\n /**\n * Host decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Host = makeParamDecorator('Host', []);\n\n /**\n * Creates a token that can be used in a DI Provider.\n *\n * ### Example ([live demo](http://plnkr.co/edit/Ys9ezXpj2Mnoy3Uc8KBp?p=preview))\n *\n * ```typescript\n * var t = new OpaqueToken(\"value\");\n *\n * var injector = Injector.resolveAndCreate([\n * {provide: t, useValue: \"bindingValue\"}\n * ]);\n *\n * expect(injector.get(t)).toEqual(\"bindingValue\");\n * ```\n *\n * Using an `OpaqueToken` is preferable to using strings as tokens because of possible collisions\n * caused by multiple providers using the same string as two different tokens.\n *\n * Using an `OpaqueToken` is preferable to using an `Object` as tokens because it provides better\n * error messages.\n * @stable\n */\n // so that metadata is gathered for this class\n var OpaqueToken = (function () {\n function OpaqueToken(_desc) {\n this._desc = _desc;\n }\n OpaqueToken.prototype.toString = function () { return \"Token \" + this._desc; };\n OpaqueToken.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n OpaqueToken.ctorParameters = [\n null,\n ];\n return OpaqueToken;\n }());\n\n /**\n * This token can be used to create a virtual provider that will populate the\n * `entryComponents` fields of components and ng modules based on its `useValue`.\n * All components that are referenced in the `useValue` value (either directly\n * or in a nested array or map) will be added to the `entryComponents` property.\n *\n * ### Example\n * The following example shows how the router can populate the `entryComponents`\n * field of an NgModule based on the router configuration which refers\n * to components.\n *\n * ```typescript\n * // helper function inside the router\n * function provideRoutes(routes) {\n * return [\n * {provide: ROUTES, useValue: routes},\n * {provide: ANALYZE_FOR_ENTRY_COMPONENTS, useValue: routes, multi: true}\n * ];\n * }\n *\n * // user code\n * let routes = [\n * {path: '/root', component: RootComp},\n * {path: '/teams', component: TeamsComp}\n * ];\n *\n * @NgModule({\n * providers: [provideRoutes(routes)]\n * })\n * class ModuleWithRoutes {}\n * ```\n *\n * @experimental\n */\n var ANALYZE_FOR_ENTRY_COMPONENTS = new OpaqueToken('AnalyzeForEntryComponents');\n /**\n * Attribute decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Attribute = makeParamDecorator('Attribute', [['attributeName', undefined]]);\n /**\n * Base class for query metadata.\n *\n * See {@link ContentChildren}, {@link ContentChild}, {@link ViewChildren}, {@link ViewChild} for\n * more information.\n *\n * @stable\n */\n var Query = (function () {\n function Query() {\n }\n return Query;\n }());\n /**\n * ContentChildren decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var ContentChildren = makePropDecorator('ContentChildren', [\n ['selector', undefined], {\n first: false,\n isViewQuery: false,\n descendants: false,\n read: undefined,\n }\n ], Query);\n /**\n * @whatItDoes Configures a content query.\n *\n * @howToUse\n *\n * {@example core/di/ts/contentChild/content_child_howto.ts region='HowTo'}\n *\n * @description\n *\n * You can use ContentChild to get the first element or the directive matching the selector from the\n * content DOM. If the content DOM changes, and a new child matches the selector,\n * the property will be updated.\n *\n * Content queries are set before the `ngAfterContentInit` callback is called.\n *\n * **Metadata Properties**:\n *\n * * **selector** - the directive type or the name used for querying.\n * * **read** - read a different token from the queried element.\n *\n * Let's look at an example:\n *\n * {@example core/di/ts/contentChild/content_child_example.ts region='Component'}\n *\n * **npm package**: `@angular/core`\n *\n * @stable\n * @Annotation\n */\n var ContentChild = makePropDecorator('ContentChild', [\n ['selector', undefined], {\n first: true,\n isViewQuery: false,\n descendants: true,\n read: undefined,\n }\n ], Query);\n /**\n * @whatItDoes Configures a view query.\n *\n * @howToUse\n *\n * {@example core/di/ts/viewChildren/view_children_howto.ts region='HowTo'}\n *\n * @description\n *\n * You can use ViewChildren to get the {@link QueryList} of elements or directives from the\n * view DOM. Any time a child element is added, removed, or moved, the query list will be updated,\n * and the changes observable of the query list will emit a new value.\n *\n * View queries are set before the `ngAfterViewInit` callback is called.\n *\n * **Metadata Properties**:\n *\n * * **selector** - the directive type or the name used for querying.\n * * **read** - read a different token from the queried elements.\n *\n * Let's look at an example:\n *\n * {@example core/di/ts/viewChildren/view_children_example.ts region='Component'}\n *\n * **npm package**: `@angular/core`\n *\n * @stable\n * @Annotation\n */\n var ViewChildren = makePropDecorator('ViewChildren', [\n ['selector', undefined], {\n first: false,\n isViewQuery: true,\n descendants: true,\n read: undefined,\n }\n ], Query);\n /**\n * ViewChild decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var ViewChild = makePropDecorator('ViewChild', [\n ['selector', undefined], {\n first: true,\n isViewQuery: true,\n descendants: true,\n read: undefined,\n }\n ], Query);\n\n /**\n * Describes within the change detector which strategy will be used the next time change\n * detection is triggered.\n * @stable\n */\n exports.ChangeDetectionStrategy;\n (function (ChangeDetectionStrategy) {\n /**\n * `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"OnPush\"] = 0] = \"OnPush\";\n /**\n * `Default` means that the change detector's mode will be set to `CheckAlways` during hydration.\n */\n ChangeDetectionStrategy[ChangeDetectionStrategy[\"Default\"] = 1] = \"Default\";\n })(exports.ChangeDetectionStrategy || (exports.ChangeDetectionStrategy = {}));\n /**\n * Describes the status of the detector.\n */\n var ChangeDetectorStatus;\n (function (ChangeDetectorStatus) {\n /**\n * `CheckOnce` means that after calling detectChanges the mode of the change detector\n * will become `Checked`.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"CheckOnce\"] = 0] = \"CheckOnce\";\n /**\n * `Checked` means that the change detector should be skipped until its mode changes to\n * `CheckOnce`.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"Checked\"] = 1] = \"Checked\";\n /**\n * `CheckAlways` means that after calling detectChanges the mode of the change detector\n * will remain `CheckAlways`.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"CheckAlways\"] = 2] = \"CheckAlways\";\n /**\n * `Detached` means that the change detector sub tree is not a part of the main tree and\n * should be skipped.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"Detached\"] = 3] = \"Detached\";\n /**\n * `Errored` means that the change detector encountered an error checking a binding\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\n * detectors in this state will no longer detect changes.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"Errored\"] = 4] = \"Errored\";\n /**\n * `Destroyed` means that the change detector is destroyed.\n */\n ChangeDetectorStatus[ChangeDetectorStatus[\"Destroyed\"] = 5] = \"Destroyed\";\n })(ChangeDetectorStatus || (ChangeDetectorStatus = {}));\n function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {\n return isBlank(changeDetectionStrategy) ||\n changeDetectionStrategy === exports.ChangeDetectionStrategy.Default;\n }\n\n /**\n * Directive decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Directive = makeDecorator('Directive', {\n selector: undefined,\n inputs: undefined,\n outputs: undefined,\n host: undefined,\n providers: undefined,\n exportAs: undefined,\n queries: undefined\n });\n /**\n * Component decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Component = makeDecorator('Component', {\n selector: undefined,\n inputs: undefined,\n outputs: undefined,\n host: undefined,\n exportAs: undefined,\n moduleId: undefined,\n providers: undefined,\n viewProviders: undefined,\n changeDetection: exports.ChangeDetectionStrategy.Default,\n queries: undefined,\n templateUrl: undefined,\n template: undefined,\n styleUrls: undefined,\n styles: undefined,\n animations: undefined,\n encapsulation: undefined,\n interpolation: undefined,\n entryComponents: undefined\n }, Directive);\n /**\n * Pipe decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Pipe = makeDecorator('Pipe', {\n name: undefined,\n pure: true,\n });\n /**\n * Input decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Input = makePropDecorator('Input', [['bindingPropertyName', undefined]]);\n /**\n * Output decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var Output = makePropDecorator('Output', [['bindingPropertyName', undefined]]);\n /**\n * HostBinding decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var HostBinding = makePropDecorator('HostBinding', [['hostPropertyName', undefined]]);\n /**\n * HostBinding decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var HostListener = makePropDecorator('HostListener', [['eventName', undefined], ['args', []]]);\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @stable\n */\n var LifecycleHooks;\n (function (LifecycleHooks) {\n LifecycleHooks[LifecycleHooks[\"OnInit\"] = 0] = \"OnInit\";\n LifecycleHooks[LifecycleHooks[\"OnDestroy\"] = 1] = \"OnDestroy\";\n LifecycleHooks[LifecycleHooks[\"DoCheck\"] = 2] = \"DoCheck\";\n LifecycleHooks[LifecycleHooks[\"OnChanges\"] = 3] = \"OnChanges\";\n LifecycleHooks[LifecycleHooks[\"AfterContentInit\"] = 4] = \"AfterContentInit\";\n LifecycleHooks[LifecycleHooks[\"AfterContentChecked\"] = 5] = \"AfterContentChecked\";\n LifecycleHooks[LifecycleHooks[\"AfterViewInit\"] = 6] = \"AfterViewInit\";\n LifecycleHooks[LifecycleHooks[\"AfterViewChecked\"] = 7] = \"AfterViewChecked\";\n })(LifecycleHooks || (LifecycleHooks = {}));\n var LIFECYCLE_HOOKS_VALUES = [\n LifecycleHooks.OnInit, LifecycleHooks.OnDestroy, LifecycleHooks.DoCheck, LifecycleHooks.OnChanges,\n LifecycleHooks.AfterContentInit, LifecycleHooks.AfterContentChecked, LifecycleHooks.AfterViewInit,\n LifecycleHooks.AfterViewChecked\n ];\n /**\n * @whatItDoes Lifecycle hook that is called when any data-bound property of a directive changes.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnChanges'}\n *\n * @description\n * `ngOnChanges` is called right after the data-bound properties have been checked and before view\n * and content children are checked if at least one of them has changed.\n * The `changes` parameter contains the changed properties.\n *\n * See {@linkDocs guide/lifecycle-hooks#onchanges \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var OnChanges = (function () {\n function OnChanges() {\n }\n return OnChanges;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called after data-bound properties of a directive are\n * initialized.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnInit'}\n *\n * @description\n * `ngOnInit` is called right after the directive's data-bound properties have been checked for the\n * first time, and before any of its children have been checked. It is invoked only once when the\n * directive is instantiated.\n *\n * See {@linkDocs guide/lifecycle-hooks \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var OnInit = (function () {\n function OnInit() {\n }\n return OnInit;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called when Angular dirty checks a directive.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='DoCheck'}\n *\n * @description\n * `ngDoCheck` gets called to check the changes in the directives in addition to the default\n * algorithm. The default change detection algorithm looks for differences by comparing\n * bound-property values by reference across change detection runs.\n *\n * Note that a directive typically should not use both `DoCheck` and {@link OnChanges} to respond to\n * changes on the same input, as `ngOnChanges` will continue to be called when the default change\n * detector detects changes.\n *\n * See {@link KeyValueDiffers} and {@link IterableDiffers} for implementing custom dirty checking\n * for collections.\n *\n * See {@linkDocs guide/lifecycle-hooks#docheck \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var DoCheck = (function () {\n function DoCheck() {\n }\n return DoCheck;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called when a directive or pipe is destroyed.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='OnDestroy'}\n *\n * @description\n * `ngOnDestroy` callback is typically used for any custom cleanup that needs to occur when the\n * instance is destroyed.\n *\n * See {@linkDocs guide/lifecycle-hooks \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var OnDestroy = (function () {\n function OnDestroy() {\n }\n return OnDestroy;\n }());\n /**\n *\n * @whatItDoes Lifecycle hook that is called after a directive's content has been fully\n * initialized.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterContentInit'}\n *\n * @description\n * See {@linkDocs guide/lifecycle-hooks#aftercontent \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var AfterContentInit = (function () {\n function AfterContentInit() {\n }\n return AfterContentInit;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called after every check of a directive's content.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterContentChecked'}\n *\n * @description\n * See {@linkDocs guide/lifecycle-hooks#aftercontent \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var AfterContentChecked = (function () {\n function AfterContentChecked() {\n }\n return AfterContentChecked;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called after a component's view has been fully\n * initialized.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterViewInit'}\n *\n * @description\n * See {@linkDocs guide/lifecycle-hooks#afterview \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var AfterViewInit = (function () {\n function AfterViewInit() {\n }\n return AfterViewInit;\n }());\n /**\n * @whatItDoes Lifecycle hook that is called after every check of a component's view.\n * @howToUse\n * {@example core/ts/metadata/lifecycle_hooks_spec.ts region='AfterViewChecked'}\n *\n * @description\n * See {@linkDocs guide/lifecycle-hooks#afterview \"Lifecycle Hooks Guide\"}.\n *\n * @stable\n */\n var AfterViewChecked = (function () {\n function AfterViewChecked() {\n }\n return AfterViewChecked;\n }());\n\n /**\n * Defines a schema that will allow:\n * - any non-Angular elements with a `-` in their name,\n * - any properties on elements with a `-` in their name which is the common rule for custom\n * elements.\n *\n * @stable\n */\n var CUSTOM_ELEMENTS_SCHEMA = {\n name: 'custom-elements'\n };\n /**\n * Defines a schema that will allow any property on any element.\n *\n * @experimental\n */\n var NO_ERRORS_SCHEMA = {\n name: 'no-errors-schema'\n };\n /**\n * NgModule decorator and metadata.\n *\n * @stable\n * @Annotation\n */\n var NgModule = makeDecorator('NgModule', {\n providers: undefined,\n declarations: undefined,\n imports: undefined,\n exports: undefined,\n entryComponents: undefined,\n bootstrap: undefined,\n schemas: undefined,\n id: undefined,\n });\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Defines template and style encapsulation options available for Component's {@link Component}.\n *\n * See {@link ViewMetadata#encapsulation}.\n * @stable\n */\n exports.ViewEncapsulation;\n (function (ViewEncapsulation) {\n /**\n * Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host\n * Element and pre-processing the style rules provided via\n * {@link ViewMetadata#styles} or {@link ViewMetadata#stylesUrls}, and adding the new Host Element\n * attribute to all selectors.\n *\n * This is the default option.\n */\n ViewEncapsulation[ViewEncapsulation[\"Emulated\"] = 0] = \"Emulated\";\n /**\n * Use the native encapsulation mechanism of the renderer.\n *\n * For the DOM this means using [Shadow DOM](https://w3c.github.io/webcomponents/spec/shadow/) and\n * creating a ShadowRoot for Component's Host Element.\n */\n ViewEncapsulation[ViewEncapsulation[\"Native\"] = 1] = \"Native\";\n /**\n * Don't provide any template or style encapsulation.\n */\n ViewEncapsulation[ViewEncapsulation[\"None\"] = 2] = \"None\";\n })(exports.ViewEncapsulation || (exports.ViewEncapsulation = {}));\n /**\n * Metadata properties available for configuring Views.\n *\n * For details on the `@Component` annotation, see {@link Component}.\n *\n * ### Example\n *\n * ```\n * @Component({\n * selector: 'greet',\n * template: 'Hello {{name}}!',\n * })\n * class Greet {\n * name: string;\n *\n * constructor() {\n * this.name = 'World';\n * }\n * }\n * ```\n *\n * @deprecated Use Component instead.\n *\n * {@link Component}\n */\n var ViewMetadata = (function () {\n function ViewMetadata(_a) {\n var _b = _a === void 0 ? {} : _a, templateUrl = _b.templateUrl, template = _b.template, encapsulation = _b.encapsulation, styles = _b.styles, styleUrls = _b.styleUrls, animations = _b.animations, interpolation = _b.interpolation;\n this.templateUrl = templateUrl;\n this.template = template;\n this.styleUrls = styleUrls;\n this.styles = styles;\n this.encapsulation = encapsulation;\n this.animations = animations;\n this.interpolation = interpolation;\n }\n return ViewMetadata;\n }());\n\n /**\n * Allows to refer to references which are not yet defined.\n *\n * For instance, `forwardRef` is used when the `token` which we need to refer to for the purposes of\n * DI is declared,\n * but not yet defined. It is also used when the `token` which we use when creating a query is not\n * yet defined.\n *\n * ### Example\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='forward_ref'}\n * @experimental\n */\n function forwardRef(forwardRefFn) {\n forwardRefFn.__forward_ref__ = forwardRef;\n forwardRefFn.toString = function () { return stringify(this()); };\n return forwardRefFn;\n }\n /**\n * Lazily retrieves the reference value from a forwardRef.\n *\n * Acts as the identity function when given a non-forward-ref value.\n *\n * ### Example ([live demo](http://plnkr.co/edit/GU72mJrk1fiodChcmiDR?p=preview))\n *\n * {@example core/di/ts/forward_ref/forward_ref_spec.ts region='resolve_forward_ref'}\n *\n * See: {@link forwardRef}\n * @experimental\n */\n function resolveForwardRef(type) {\n if (typeof type === 'function' && type.hasOwnProperty('__forward_ref__') &&\n type.__forward_ref__ === forwardRef) {\n return type();\n }\n else {\n return type;\n }\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function unimplemented() {\n throw new Error('unimplemented');\n }\n /**\n * @stable\n */\n var BaseError = (function (_super) {\n __extends(BaseError, _super);\n function BaseError(message) {\n // Errors don't use current this, instead they create a new instance.\n // We have to do forward all of our api to the nativeInstance.\n var nativeError = _super.call(this, message);\n this._nativeError = nativeError;\n }\n Object.defineProperty(BaseError.prototype, \"message\", {\n get: function () { return this._nativeError.message; },\n set: function (message) { this._nativeError.message = message; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"name\", {\n get: function () { return this._nativeError.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"stack\", {\n get: function () { return this._nativeError.stack; },\n set: function (value) { this._nativeError.stack = value; },\n enumerable: true,\n configurable: true\n });\n BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n return BaseError;\n }(Error));\n /**\n * @stable\n */\n var WrappedError = (function (_super) {\n __extends(WrappedError, _super);\n function WrappedError(message, error) {\n _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n this.originalError = error;\n }\n Object.defineProperty(WrappedError.prototype, \"stack\", {\n get: function () {\n return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n .stack;\n },\n enumerable: true,\n configurable: true\n });\n return WrappedError;\n }(BaseError));\n\n var _THROW_IF_NOT_FOUND = new Object();\n var THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n var _NullInjector = (function () {\n function _NullInjector() {\n }\n _NullInjector.prototype.get = function (token, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = _THROW_IF_NOT_FOUND; }\n if (notFoundValue === _THROW_IF_NOT_FOUND) {\n throw new Error(\"No provider for \" + stringify(token) + \"!\");\n }\n return notFoundValue;\n };\n return _NullInjector;\n }());\n /**\n * @whatItDoes Injector interface\n * @howToUse\n * ```\n * const injector: Injector = ...;\n * injector.get(...);\n * ```\n *\n * @description\n * For more details, see the {@linkDocs guide/dependency-injection \"Dependency Injection Guide\"}.\n *\n * ### Example\n *\n * {@example core/di/ts/injector_spec.ts region='Injector'}\n *\n * `Injector` returns itself when given `Injector` as a token:\n * {@example core/di/ts/injector_spec.ts region='injectInjector'}\n *\n * @stable\n */\n var Injector = (function () {\n function Injector() {\n }\n /**\n * Retrieves an instance from the injector based on the provided token.\n * If not found:\n * - Throws {@link NoProviderError} if no `notFoundValue` that is not equal to\n * Injector.THROW_IF_NOT_FOUND is given\n * - Returns the `notFoundValue` otherwise\n */\n Injector.prototype.get = function (token, notFoundValue) { return unimplemented(); };\n Injector.THROW_IF_NOT_FOUND = _THROW_IF_NOT_FOUND;\n Injector.NULL = new _NullInjector();\n return Injector;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function findFirstClosedCycle(keys) {\n var res = [];\n for (var i = 0; i < keys.length; ++i) {\n if (res.indexOf(keys[i]) > -1) {\n res.push(keys[i]);\n return res;\n }\n res.push(keys[i]);\n }\n return res;\n }\n function constructResolvingPath(keys) {\n if (keys.length > 1) {\n var reversed = findFirstClosedCycle(keys.slice().reverse());\n var tokenStrs = reversed.map(function (k) { return stringify(k.token); });\n return ' (' + tokenStrs.join(' -> ') + ')';\n }\n return '';\n }\n /**\n * Base class for all errors arising from misconfigured providers.\n * @stable\n */\n var AbstractProviderError = (function (_super) {\n __extends$1(AbstractProviderError, _super);\n function AbstractProviderError(injector, key, constructResolvingMessage) {\n _super.call(this, 'DI Error');\n this.keys = [key];\n this.injectors = [injector];\n this.constructResolvingMessage = constructResolvingMessage;\n this.message = this.constructResolvingMessage(this.keys);\n }\n AbstractProviderError.prototype.addKey = function (injector, key) {\n this.injectors.push(injector);\n this.keys.push(key);\n this.message = this.constructResolvingMessage(this.keys);\n };\n return AbstractProviderError;\n }(BaseError));\n /**\n * Thrown when trying to retrieve a dependency by key from {@link Injector}, but the\n * {@link Injector} does not have a {@link Provider} for the given key.\n *\n * ### Example ([live demo](http://plnkr.co/edit/vq8D3FRB9aGbnWJqtEPE?p=preview))\n *\n * ```typescript\n * class A {\n * constructor(b:B) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n * @stable\n */\n var NoProviderError = (function (_super) {\n __extends$1(NoProviderError, _super);\n function NoProviderError(injector, key) {\n _super.call(this, injector, key, function (keys) {\n var first = stringify(keys[0].token);\n return \"No provider for \" + first + \"!\" + constructResolvingPath(keys);\n });\n }\n return NoProviderError;\n }(AbstractProviderError));\n /**\n * Thrown when dependencies form a cycle.\n *\n * ### Example ([live demo](http://plnkr.co/edit/wYQdNos0Tzql3ei1EV9j?p=info))\n *\n * ```typescript\n * var injector = Injector.resolveAndCreate([\n * {provide: \"one\", useFactory: (two) => \"two\", deps: [[new Inject(\"two\")]]},\n * {provide: \"two\", useFactory: (one) => \"one\", deps: [[new Inject(\"one\")]]}\n * ]);\n *\n * expect(() => injector.get(\"one\")).toThrowError();\n * ```\n *\n * Retrieving `A` or `B` throws a `CyclicDependencyError` as the graph above cannot be constructed.\n * @stable\n */\n var CyclicDependencyError = (function (_super) {\n __extends$1(CyclicDependencyError, _super);\n function CyclicDependencyError(injector, key) {\n _super.call(this, injector, key, function (keys) {\n return \"Cannot instantiate cyclic dependency!\" + constructResolvingPath(keys);\n });\n }\n return CyclicDependencyError;\n }(AbstractProviderError));\n /**\n * Thrown when a constructing type returns with an Error.\n *\n * The `InstantiationError` class contains the original error plus the dependency graph which caused\n * this object to be instantiated.\n *\n * ### Example ([live demo](http://plnkr.co/edit/7aWYdcqTQsP0eNqEdUAf?p=preview))\n *\n * ```typescript\n * class A {\n * constructor() {\n * throw new Error('message');\n * }\n * }\n *\n * var injector = Injector.resolveAndCreate([A]);\n\n * try {\n * injector.get(A);\n * } catch (e) {\n * expect(e instanceof InstantiationError).toBe(true);\n * expect(e.originalException.message).toEqual(\"message\");\n * expect(e.originalStack).toBeDefined();\n * }\n * ```\n * @stable\n */\n var InstantiationError = (function (_super) {\n __extends$1(InstantiationError, _super);\n function InstantiationError(injector, originalException, originalStack, key) {\n _super.call(this, 'DI Error', originalException);\n this.keys = [key];\n this.injectors = [injector];\n }\n InstantiationError.prototype.addKey = function (injector, key) {\n this.injectors.push(injector);\n this.keys.push(key);\n };\n Object.defineProperty(InstantiationError.prototype, \"message\", {\n get: function () {\n var first = stringify(this.keys[0].token);\n return this.originalError.message + \": Error during instantiation of \" + first + \"!\" + constructResolvingPath(this.keys) + \".\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(InstantiationError.prototype, \"causeKey\", {\n get: function () { return this.keys[0]; },\n enumerable: true,\n configurable: true\n });\n return InstantiationError;\n }(WrappedError));\n /**\n * Thrown when an object other then {@link Provider} (or `Type`) is passed to {@link Injector}\n * creation.\n *\n * ### Example ([live demo](http://plnkr.co/edit/YatCFbPAMCL0JSSQ4mvH?p=preview))\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\"not a type\"])).toThrowError();\n * ```\n * @stable\n */\n var InvalidProviderError = (function (_super) {\n __extends$1(InvalidProviderError, _super);\n function InvalidProviderError(provider) {\n _super.call(this, \"Invalid provider - only instances of Provider and Type are allowed, got: \" + provider);\n }\n return InvalidProviderError;\n }(BaseError));\n /**\n * Thrown when the class has no annotation information.\n *\n * Lack of annotation information prevents the {@link Injector} from determining which dependencies\n * need to be injected into the constructor.\n *\n * ### Example ([live demo](http://plnkr.co/edit/rHnZtlNS7vJOPQ6pcVkm?p=preview))\n *\n * ```typescript\n * class A {\n * constructor(b) {}\n * }\n *\n * expect(() => Injector.resolveAndCreate([A])).toThrowError();\n * ```\n *\n * This error is also thrown when the class not marked with {@link Injectable} has parameter types.\n *\n * ```typescript\n * class B {}\n *\n * class A {\n * constructor(b:B) {} // no information about the parameter types of A is available at runtime.\n * }\n *\n * expect(() => Injector.resolveAndCreate([A,B])).toThrowError();\n * ```\n * @stable\n */\n var NoAnnotationError = (function (_super) {\n __extends$1(NoAnnotationError, _super);\n function NoAnnotationError(typeOrFunc, params) {\n _super.call(this, NoAnnotationError._genMessage(typeOrFunc, params));\n }\n NoAnnotationError._genMessage = function (typeOrFunc, params) {\n var signature = [];\n for (var i = 0, ii = params.length; i < ii; i++) {\n var parameter = params[i];\n if (!parameter || parameter.length == 0) {\n signature.push('?');\n }\n else {\n signature.push(parameter.map(stringify).join(' '));\n }\n }\n return 'Cannot resolve all parameters for \\'' + stringify(typeOrFunc) + '\\'(' +\n signature.join(', ') + '). ' +\n 'Make sure that all the parameters are decorated with Inject or have valid type annotations and that \\'' +\n stringify(typeOrFunc) + '\\' is decorated with Injectable.';\n };\n return NoAnnotationError;\n }(BaseError));\n /**\n * Thrown when getting an object by index.\n *\n * ### Example ([live demo](http://plnkr.co/edit/bRs0SX2OTQiJzqvjgl8P?p=preview))\n *\n * ```typescript\n * class A {}\n *\n * var injector = Injector.resolveAndCreate([A]);\n *\n * expect(() => injector.getAt(100)).toThrowError();\n * ```\n * @stable\n */\n var OutOfBoundsError = (function (_super) {\n __extends$1(OutOfBoundsError, _super);\n function OutOfBoundsError(index) {\n _super.call(this, \"Index \" + index + \" is out-of-bounds.\");\n }\n return OutOfBoundsError;\n }(BaseError));\n // TODO: add a working example after alpha38 is released\n /**\n * Thrown when a multi provider and a regular provider are bound to the same token.\n *\n * ### Example\n *\n * ```typescript\n * expect(() => Injector.resolveAndCreate([\n * { provide: \"Strings\", useValue: \"string1\", multi: true},\n * { provide: \"Strings\", useValue: \"string2\", multi: false}\n * ])).toThrowError();\n * ```\n */\n var MixingMultiProvidersWithRegularProvidersError = (function (_super) {\n __extends$1(MixingMultiProvidersWithRegularProvidersError, _super);\n function MixingMultiProvidersWithRegularProvidersError(provider1, provider2) {\n _super.call(this, 'Cannot mix multi providers and regular providers, got: ' + provider1.toString() + ' ' +\n provider2.toString());\n }\n return MixingMultiProvidersWithRegularProvidersError;\n }(BaseError));\n\n /**\n * A unique object used for retrieving items from the {@link ReflectiveInjector}.\n *\n * Keys have:\n * - a system-wide unique `id`.\n * - a `token`.\n *\n * `Key` is used internally by {@link ReflectiveInjector} because its system-wide unique `id` allows\n * the\n * injector to store created objects in a more efficient way.\n *\n * `Key` should not be created directly. {@link ReflectiveInjector} creates keys automatically when\n * resolving\n * providers.\n * @experimental\n */\n var ReflectiveKey = (function () {\n /**\n * Private\n */\n function ReflectiveKey(token, id) {\n this.token = token;\n this.id = id;\n if (!token) {\n throw new Error('Token must be defined!');\n }\n }\n Object.defineProperty(ReflectiveKey.prototype, \"displayName\", {\n /**\n * Returns a stringified token.\n */\n get: function () { return stringify(this.token); },\n enumerable: true,\n configurable: true\n });\n /**\n * Retrieves a `Key` for a token.\n */\n ReflectiveKey.get = function (token) {\n return _globalKeyRegistry.get(resolveForwardRef(token));\n };\n Object.defineProperty(ReflectiveKey, \"numberOfKeys\", {\n /**\n * @returns the number of keys registered in the system.\n */\n get: function () { return _globalKeyRegistry.numberOfKeys; },\n enumerable: true,\n configurable: true\n });\n return ReflectiveKey;\n }());\n /**\n * @internal\n */\n var KeyRegistry = (function () {\n function KeyRegistry() {\n this._allKeys = new Map();\n }\n KeyRegistry.prototype.get = function (token) {\n if (token instanceof ReflectiveKey)\n return token;\n if (this._allKeys.has(token)) {\n return this._allKeys.get(token);\n }\n var newKey = new ReflectiveKey(token, ReflectiveKey.numberOfKeys);\n this._allKeys.set(token, newKey);\n return newKey;\n };\n Object.defineProperty(KeyRegistry.prototype, \"numberOfKeys\", {\n get: function () { return this._allKeys.size; },\n enumerable: true,\n configurable: true\n });\n return KeyRegistry;\n }());\n var _globalKeyRegistry = new KeyRegistry();\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @whatItDoes Represents a type that a Component or other object is instances of.\n *\n * @description\n *\n * An example of a `Type` is `MyCustomComponent` class, which in JavaScript is be represented by\n * the `MyCustomComponent` constructor function.\n *\n * @stable\n */\n var Type = Function;\n\n var ReflectionCapabilities = (function () {\n function ReflectionCapabilities(reflect) {\n this._reflect = reflect || global$1.Reflect;\n }\n ReflectionCapabilities.prototype.isReflectionEnabled = function () { return true; };\n ReflectionCapabilities.prototype.factory = function (t) { return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n return new (t.bind.apply(t, [void 0].concat(args)))();\n }; };\n /** @internal */\n ReflectionCapabilities.prototype._zipTypesAndAnnotations = function (paramTypes, paramAnnotations) {\n var result;\n if (typeof paramTypes === 'undefined') {\n result = new Array(paramAnnotations.length);\n }\n else {\n result = new Array(paramTypes.length);\n }\n for (var i = 0; i < result.length; i++) {\n // TS outputs Object for parameters without types, while Traceur omits\n // the annotations. For now we preserve the Traceur behavior to aid\n // migration, but this can be revisited.\n if (typeof paramTypes === 'undefined') {\n result[i] = [];\n }\n else if (paramTypes[i] != Object) {\n result[i] = [paramTypes[i]];\n }\n else {\n result[i] = [];\n }\n if (paramAnnotations && isPresent(paramAnnotations[i])) {\n result[i] = result[i].concat(paramAnnotations[i]);\n }\n }\n return result;\n };\n ReflectionCapabilities.prototype.parameters = function (type) {\n // Prefer the direct API.\n if (type.parameters) {\n return type.parameters;\n }\n // API of tsickle for lowering decorators to properties on the class.\n var tsickleCtorParams = type.ctorParameters;\n if (tsickleCtorParams) {\n // Newer tsickle uses a function closure\n // Retain the non-function case for compatibility with older tsickle\n var ctorParameters = typeof tsickleCtorParams === 'function' ? tsickleCtorParams() : tsickleCtorParams;\n var paramTypes = ctorParameters.map(function (ctorParam) { return ctorParam && ctorParam.type; });\n var paramAnnotations = ctorParameters.map(function (ctorParam) {\n return ctorParam && convertTsickleDecoratorIntoMetadata(ctorParam.decorators);\n });\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n // API for metadata created by invoking the decorators.\n if (isPresent(this._reflect) && isPresent(this._reflect.getMetadata)) {\n var paramAnnotations = this._reflect.getMetadata('parameters', type);\n var paramTypes = this._reflect.getMetadata('design:paramtypes', type);\n if (paramTypes || paramAnnotations) {\n return this._zipTypesAndAnnotations(paramTypes, paramAnnotations);\n }\n }\n // The array has to be filled with `undefined` because holes would be skipped by `some`\n return new Array(type.length).fill(undefined);\n };\n ReflectionCapabilities.prototype.annotations = function (typeOrFunc) {\n // Prefer the direct API.\n if (typeOrFunc.annotations) {\n var annotations = typeOrFunc.annotations;\n if (typeof annotations === 'function' && annotations.annotations) {\n annotations = annotations.annotations;\n }\n return annotations;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.decorators) {\n return convertTsickleDecoratorIntoMetadata(typeOrFunc.decorators);\n }\n // API for metadata created by invoking the decorators.\n if (this._reflect && this._reflect.getMetadata) {\n var annotations = this._reflect.getMetadata('annotations', typeOrFunc);\n if (annotations)\n return annotations;\n }\n return [];\n };\n ReflectionCapabilities.prototype.propMetadata = function (typeOrFunc) {\n // Prefer the direct API.\n if (typeOrFunc.propMetadata) {\n var propMetadata = typeOrFunc.propMetadata;\n if (typeof propMetadata === 'function' && propMetadata.propMetadata) {\n propMetadata = propMetadata.propMetadata;\n }\n return propMetadata;\n }\n // API of tsickle for lowering decorators to properties on the class.\n if (typeOrFunc.propDecorators) {\n var propDecorators_1 = typeOrFunc.propDecorators;\n var propMetadata_1 = {};\n Object.keys(propDecorators_1).forEach(function (prop) {\n propMetadata_1[prop] = convertTsickleDecoratorIntoMetadata(propDecorators_1[prop]);\n });\n return propMetadata_1;\n }\n // API for metadata created by invoking the decorators.\n if (this._reflect && this._reflect.getMetadata) {\n var propMetadata = this._reflect.getMetadata('propMetadata', typeOrFunc);\n if (propMetadata)\n return propMetadata;\n }\n return {};\n };\n ReflectionCapabilities.prototype.hasLifecycleHook = function (type, lcProperty) {\n return type instanceof Type && lcProperty in type.prototype;\n };\n ReflectionCapabilities.prototype.getter = function (name) { return new Function('o', 'return o.' + name + ';'); };\n ReflectionCapabilities.prototype.setter = function (name) {\n return new Function('o', 'v', 'return o.' + name + ' = v;');\n };\n ReflectionCapabilities.prototype.method = function (name) {\n var functionBody = \"if (!o.\" + name + \") throw new Error('\\\"\" + name + \"\\\" is undefined');\\n return o.\" + name + \".apply(o, args);\";\n return new Function('o', 'args', functionBody);\n };\n // There is not a concept of import uri in Js, but this is useful in developing Dart applications.\n ReflectionCapabilities.prototype.importUri = function (type) {\n // StaticSymbol\n if (typeof type === 'object' && type['filePath']) {\n return type['filePath'];\n }\n // Runtime type\n return \"./\" + stringify(type);\n };\n ReflectionCapabilities.prototype.resolveIdentifier = function (name, moduleUrl, runtime) { return runtime; };\n ReflectionCapabilities.prototype.resolveEnum = function (enumIdentifier, name) { return enumIdentifier[name]; };\n return ReflectionCapabilities;\n }());\n function convertTsickleDecoratorIntoMetadata(decoratorInvocations) {\n if (!decoratorInvocations) {\n return [];\n }\n return decoratorInvocations.map(function (decoratorInvocation) {\n var decoratorType = decoratorInvocation.type;\n var annotationCls = decoratorType.annotationCls;\n var annotationArgs = decoratorInvocation.args ? decoratorInvocation.args : [];\n return new (annotationCls.bind.apply(annotationCls, [void 0].concat(annotationArgs)))();\n });\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Provides read-only access to reflection data about symbols. Used internally by Angular\n * to power dependency injection and compilation.\n */\n var ReflectorReader = (function () {\n function ReflectorReader() {\n }\n return ReflectorReader;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Provides access to reflection data about symbols. Used internally by Angular\n * to power dependency injection and compilation.\n */\n var Reflector = (function (_super) {\n __extends$2(Reflector, _super);\n function Reflector(reflectionCapabilities) {\n _super.call(this);\n this.reflectionCapabilities = reflectionCapabilities;\n }\n Reflector.prototype.updateCapabilities = function (caps) { this.reflectionCapabilities = caps; };\n Reflector.prototype.factory = function (type) { return this.reflectionCapabilities.factory(type); };\n Reflector.prototype.parameters = function (typeOrFunc) {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n };\n Reflector.prototype.annotations = function (typeOrFunc) {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n };\n Reflector.prototype.propMetadata = function (typeOrFunc) {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n };\n Reflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n };\n Reflector.prototype.getter = function (name) { return this.reflectionCapabilities.getter(name); };\n Reflector.prototype.setter = function (name) { return this.reflectionCapabilities.setter(name); };\n Reflector.prototype.method = function (name) { return this.reflectionCapabilities.method(name); };\n Reflector.prototype.importUri = function (type) { return this.reflectionCapabilities.importUri(type); };\n Reflector.prototype.resolveIdentifier = function (name, moduleUrl, runtime) {\n return this.reflectionCapabilities.resolveIdentifier(name, moduleUrl, runtime);\n };\n Reflector.prototype.resolveEnum = function (identifier, name) {\n return this.reflectionCapabilities.resolveEnum(identifier, name);\n };\n return Reflector;\n }(ReflectorReader));\n\n /**\n * The {@link Reflector} used internally in Angular to access metadata\n * about symbols.\n */\n var reflector = new Reflector(new ReflectionCapabilities());\n\n /**\n * `Dependency` is used by the framework to extend DI.\n * This is internal to Angular and should not be used directly.\n */\n var ReflectiveDependency = (function () {\n function ReflectiveDependency(key, optional, lowerBoundVisibility, upperBoundVisibility, properties) {\n this.key = key;\n this.optional = optional;\n this.lowerBoundVisibility = lowerBoundVisibility;\n this.upperBoundVisibility = upperBoundVisibility;\n this.properties = properties;\n }\n ReflectiveDependency.fromKey = function (key) {\n return new ReflectiveDependency(key, false, null, null, []);\n };\n return ReflectiveDependency;\n }());\n var _EMPTY_LIST = [];\n var ResolvedReflectiveProvider_ = (function () {\n function ResolvedReflectiveProvider_(key, resolvedFactories, multiProvider) {\n this.key = key;\n this.resolvedFactories = resolvedFactories;\n this.multiProvider = multiProvider;\n }\n Object.defineProperty(ResolvedReflectiveProvider_.prototype, \"resolvedFactory\", {\n get: function () { return this.resolvedFactories[0]; },\n enumerable: true,\n configurable: true\n });\n return ResolvedReflectiveProvider_;\n }());\n /**\n * An internal resolved representation of a factory function created by resolving {@link\n * Provider}.\n * @experimental\n */\n var ResolvedReflectiveFactory = (function () {\n function ResolvedReflectiveFactory(\n /**\n * Factory function which can return an instance of an object represented by a key.\n */\n factory, \n /**\n * Arguments (dependencies) to the `factory` function.\n */\n dependencies) {\n this.factory = factory;\n this.dependencies = dependencies;\n }\n return ResolvedReflectiveFactory;\n }());\n /**\n * Resolve a single provider.\n */\n function resolveReflectiveFactory(provider) {\n var factoryFn;\n var resolvedDeps;\n if (provider.useClass) {\n var useClass = resolveForwardRef(provider.useClass);\n factoryFn = reflector.factory(useClass);\n resolvedDeps = _dependenciesFor(useClass);\n }\n else if (provider.useExisting) {\n factoryFn = function (aliasInstance) { return aliasInstance; };\n resolvedDeps = [ReflectiveDependency.fromKey(ReflectiveKey.get(provider.useExisting))];\n }\n else if (provider.useFactory) {\n factoryFn = provider.useFactory;\n resolvedDeps = constructDependencies(provider.useFactory, provider.deps);\n }\n else {\n factoryFn = function () { return provider.useValue; };\n resolvedDeps = _EMPTY_LIST;\n }\n return new ResolvedReflectiveFactory(factoryFn, resolvedDeps);\n }\n /**\n * Converts the {@link Provider} into {@link ResolvedProvider}.\n *\n * {@link Injector} internally only uses {@link ResolvedProvider}, {@link Provider} contains\n * convenience provider syntax.\n */\n function resolveReflectiveProvider(provider) {\n return new ResolvedReflectiveProvider_(ReflectiveKey.get(provider.provide), [resolveReflectiveFactory(provider)], provider.multi);\n }\n /**\n * Resolve a list of Providers.\n */\n function resolveReflectiveProviders(providers) {\n var normalized = _normalizeProviders(providers, []);\n var resolved = normalized.map(resolveReflectiveProvider);\n var resolvedProviderMap = mergeResolvedReflectiveProviders(resolved, new Map());\n return Array.from(resolvedProviderMap.values());\n }\n /**\n * Merges a list of ResolvedProviders into a list where\n * each key is contained exactly once and multi providers\n * have been merged.\n */\n function mergeResolvedReflectiveProviders(providers, normalizedProvidersMap) {\n for (var i = 0; i < providers.length; i++) {\n var provider = providers[i];\n var existing = normalizedProvidersMap.get(provider.key.id);\n if (existing) {\n if (provider.multiProvider !== existing.multiProvider) {\n throw new MixingMultiProvidersWithRegularProvidersError(existing, provider);\n }\n if (provider.multiProvider) {\n for (var j = 0; j < provider.resolvedFactories.length; j++) {\n existing.resolvedFactories.push(provider.resolvedFactories[j]);\n }\n }\n else {\n normalizedProvidersMap.set(provider.key.id, provider);\n }\n }\n else {\n var resolvedProvider = void 0;\n if (provider.multiProvider) {\n resolvedProvider = new ResolvedReflectiveProvider_(provider.key, provider.resolvedFactories.slice(), provider.multiProvider);\n }\n else {\n resolvedProvider = provider;\n }\n normalizedProvidersMap.set(provider.key.id, resolvedProvider);\n }\n }\n return normalizedProvidersMap;\n }\n function _normalizeProviders(providers, res) {\n providers.forEach(function (b) {\n if (b instanceof Type) {\n res.push({ provide: b, useClass: b });\n }\n else if (b && typeof b == 'object' && b.provide !== undefined) {\n res.push(b);\n }\n else if (b instanceof Array) {\n _normalizeProviders(b, res);\n }\n else {\n throw new InvalidProviderError(b);\n }\n });\n return res;\n }\n function constructDependencies(typeOrFunc, dependencies) {\n if (!dependencies) {\n return _dependenciesFor(typeOrFunc);\n }\n else {\n var params_1 = dependencies.map(function (t) { return [t]; });\n return dependencies.map(function (t) { return _extractToken(typeOrFunc, t, params_1); });\n }\n }\n function _dependenciesFor(typeOrFunc) {\n var params = reflector.parameters(typeOrFunc);\n if (!params)\n return [];\n if (params.some(function (p) { return p == null; })) {\n throw new NoAnnotationError(typeOrFunc, params);\n }\n return params.map(function (p) { return _extractToken(typeOrFunc, p, params); });\n }\n function _extractToken(typeOrFunc, metadata, params) {\n var depProps = [];\n var token = null;\n var optional = false;\n if (!Array.isArray(metadata)) {\n if (metadata instanceof Inject) {\n return _createDependency(metadata.token, optional, null, null, depProps);\n }\n else {\n return _createDependency(metadata, optional, null, null, depProps);\n }\n }\n var lowerBoundVisibility = null;\n var upperBoundVisibility = null;\n for (var i = 0; i < metadata.length; ++i) {\n var paramMetadata = metadata[i];\n if (paramMetadata instanceof Type) {\n token = paramMetadata;\n }\n else if (paramMetadata instanceof Inject) {\n token = paramMetadata.token;\n }\n else if (paramMetadata instanceof Optional) {\n optional = true;\n }\n else if (paramMetadata instanceof Self) {\n upperBoundVisibility = paramMetadata;\n }\n else if (paramMetadata instanceof Host) {\n upperBoundVisibility = paramMetadata;\n }\n else if (paramMetadata instanceof SkipSelf) {\n lowerBoundVisibility = paramMetadata;\n }\n }\n token = resolveForwardRef(token);\n if (token != null) {\n return _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n }\n else {\n throw new NoAnnotationError(typeOrFunc, params);\n }\n }\n function _createDependency(token, optional, lowerBoundVisibility, upperBoundVisibility, depProps) {\n return new ReflectiveDependency(ReflectiveKey.get(token), optional, lowerBoundVisibility, upperBoundVisibility, depProps);\n }\n\n // Threshold for the dynamic version\n var _MAX_CONSTRUCTION_COUNTER = 10;\n var UNDEFINED = new Object();\n var ReflectiveProtoInjectorInlineStrategy = (function () {\n function ReflectiveProtoInjectorInlineStrategy(protoEI, providers) {\n this.provider0 = null;\n this.provider1 = null;\n this.provider2 = null;\n this.provider3 = null;\n this.provider4 = null;\n this.provider5 = null;\n this.provider6 = null;\n this.provider7 = null;\n this.provider8 = null;\n this.provider9 = null;\n this.keyId0 = null;\n this.keyId1 = null;\n this.keyId2 = null;\n this.keyId3 = null;\n this.keyId4 = null;\n this.keyId5 = null;\n this.keyId6 = null;\n this.keyId7 = null;\n this.keyId8 = null;\n this.keyId9 = null;\n var length = providers.length;\n if (length > 0) {\n this.provider0 = providers[0];\n this.keyId0 = providers[0].key.id;\n }\n if (length > 1) {\n this.provider1 = providers[1];\n this.keyId1 = providers[1].key.id;\n }\n if (length > 2) {\n this.provider2 = providers[2];\n this.keyId2 = providers[2].key.id;\n }\n if (length > 3) {\n this.provider3 = providers[3];\n this.keyId3 = providers[3].key.id;\n }\n if (length > 4) {\n this.provider4 = providers[4];\n this.keyId4 = providers[4].key.id;\n }\n if (length > 5) {\n this.provider5 = providers[5];\n this.keyId5 = providers[5].key.id;\n }\n if (length > 6) {\n this.provider6 = providers[6];\n this.keyId6 = providers[6].key.id;\n }\n if (length > 7) {\n this.provider7 = providers[7];\n this.keyId7 = providers[7].key.id;\n }\n if (length > 8) {\n this.provider8 = providers[8];\n this.keyId8 = providers[8].key.id;\n }\n if (length > 9) {\n this.provider9 = providers[9];\n this.keyId9 = providers[9].key.id;\n }\n }\n ReflectiveProtoInjectorInlineStrategy.prototype.getProviderAtIndex = function (index) {\n if (index == 0)\n return this.provider0;\n if (index == 1)\n return this.provider1;\n if (index == 2)\n return this.provider2;\n if (index == 3)\n return this.provider3;\n if (index == 4)\n return this.provider4;\n if (index == 5)\n return this.provider5;\n if (index == 6)\n return this.provider6;\n if (index == 7)\n return this.provider7;\n if (index == 8)\n return this.provider8;\n if (index == 9)\n return this.provider9;\n throw new OutOfBoundsError(index);\n };\n ReflectiveProtoInjectorInlineStrategy.prototype.createInjectorStrategy = function (injector) {\n return new ReflectiveInjectorInlineStrategy(injector, this);\n };\n return ReflectiveProtoInjectorInlineStrategy;\n }());\n var ReflectiveProtoInjectorDynamicStrategy = (function () {\n function ReflectiveProtoInjectorDynamicStrategy(protoInj, providers) {\n this.providers = providers;\n var len = providers.length;\n this.keyIds = new Array(len);\n for (var i = 0; i < len; i++) {\n this.keyIds[i] = providers[i].key.id;\n }\n }\n ReflectiveProtoInjectorDynamicStrategy.prototype.getProviderAtIndex = function (index) {\n if (index < 0 || index >= this.providers.length) {\n throw new OutOfBoundsError(index);\n }\n return this.providers[index];\n };\n ReflectiveProtoInjectorDynamicStrategy.prototype.createInjectorStrategy = function (ei) {\n return new ReflectiveInjectorDynamicStrategy(this, ei);\n };\n return ReflectiveProtoInjectorDynamicStrategy;\n }());\n var ReflectiveProtoInjector = (function () {\n function ReflectiveProtoInjector(providers) {\n this.numberOfProviders = providers.length;\n this._strategy = providers.length > _MAX_CONSTRUCTION_COUNTER ?\n new ReflectiveProtoInjectorDynamicStrategy(this, providers) :\n new ReflectiveProtoInjectorInlineStrategy(this, providers);\n }\n ReflectiveProtoInjector.fromResolvedProviders = function (providers) {\n return new ReflectiveProtoInjector(providers);\n };\n ReflectiveProtoInjector.prototype.getProviderAtIndex = function (index) {\n return this._strategy.getProviderAtIndex(index);\n };\n return ReflectiveProtoInjector;\n }());\n var ReflectiveInjectorInlineStrategy = (function () {\n function ReflectiveInjectorInlineStrategy(injector, protoStrategy) {\n this.injector = injector;\n this.protoStrategy = protoStrategy;\n this.obj0 = UNDEFINED;\n this.obj1 = UNDEFINED;\n this.obj2 = UNDEFINED;\n this.obj3 = UNDEFINED;\n this.obj4 = UNDEFINED;\n this.obj5 = UNDEFINED;\n this.obj6 = UNDEFINED;\n this.obj7 = UNDEFINED;\n this.obj8 = UNDEFINED;\n this.obj9 = UNDEFINED;\n }\n ReflectiveInjectorInlineStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\n ReflectiveInjectorInlineStrategy.prototype.instantiateProvider = function (provider) {\n return this.injector._new(provider);\n };\n ReflectiveInjectorInlineStrategy.prototype.getObjByKeyId = function (keyId) {\n var p = this.protoStrategy;\n var inj = this.injector;\n if (p.keyId0 === keyId) {\n if (this.obj0 === UNDEFINED) {\n this.obj0 = inj._new(p.provider0);\n }\n return this.obj0;\n }\n if (p.keyId1 === keyId) {\n if (this.obj1 === UNDEFINED) {\n this.obj1 = inj._new(p.provider1);\n }\n return this.obj1;\n }\n if (p.keyId2 === keyId) {\n if (this.obj2 === UNDEFINED) {\n this.obj2 = inj._new(p.provider2);\n }\n return this.obj2;\n }\n if (p.keyId3 === keyId) {\n if (this.obj3 === UNDEFINED) {\n this.obj3 = inj._new(p.provider3);\n }\n return this.obj3;\n }\n if (p.keyId4 === keyId) {\n if (this.obj4 === UNDEFINED) {\n this.obj4 = inj._new(p.provider4);\n }\n return this.obj4;\n }\n if (p.keyId5 === keyId) {\n if (this.obj5 === UNDEFINED) {\n this.obj5 = inj._new(p.provider5);\n }\n return this.obj5;\n }\n if (p.keyId6 === keyId) {\n if (this.obj6 === UNDEFINED) {\n this.obj6 = inj._new(p.provider6);\n }\n return this.obj6;\n }\n if (p.keyId7 === keyId) {\n if (this.obj7 === UNDEFINED) {\n this.obj7 = inj._new(p.provider7);\n }\n return this.obj7;\n }\n if (p.keyId8 === keyId) {\n if (this.obj8 === UNDEFINED) {\n this.obj8 = inj._new(p.provider8);\n }\n return this.obj8;\n }\n if (p.keyId9 === keyId) {\n if (this.obj9 === UNDEFINED) {\n this.obj9 = inj._new(p.provider9);\n }\n return this.obj9;\n }\n return UNDEFINED;\n };\n ReflectiveInjectorInlineStrategy.prototype.getObjAtIndex = function (index) {\n if (index == 0)\n return this.obj0;\n if (index == 1)\n return this.obj1;\n if (index == 2)\n return this.obj2;\n if (index == 3)\n return this.obj3;\n if (index == 4)\n return this.obj4;\n if (index == 5)\n return this.obj5;\n if (index == 6)\n return this.obj6;\n if (index == 7)\n return this.obj7;\n if (index == 8)\n return this.obj8;\n if (index == 9)\n return this.obj9;\n throw new OutOfBoundsError(index);\n };\n ReflectiveInjectorInlineStrategy.prototype.getMaxNumberOfObjects = function () { return _MAX_CONSTRUCTION_COUNTER; };\n return ReflectiveInjectorInlineStrategy;\n }());\n var ReflectiveInjectorDynamicStrategy = (function () {\n function ReflectiveInjectorDynamicStrategy(protoStrategy, injector) {\n this.protoStrategy = protoStrategy;\n this.injector = injector;\n this.objs = new Array(protoStrategy.providers.length).fill(UNDEFINED);\n }\n ReflectiveInjectorDynamicStrategy.prototype.resetConstructionCounter = function () { this.injector._constructionCounter = 0; };\n ReflectiveInjectorDynamicStrategy.prototype.instantiateProvider = function (provider) {\n return this.injector._new(provider);\n };\n ReflectiveInjectorDynamicStrategy.prototype.getObjByKeyId = function (keyId) {\n var p = this.protoStrategy;\n for (var i = 0; i < p.keyIds.length; i++) {\n if (p.keyIds[i] === keyId) {\n if (this.objs[i] === UNDEFINED) {\n this.objs[i] = this.injector._new(p.providers[i]);\n }\n return this.objs[i];\n }\n }\n return UNDEFINED;\n };\n ReflectiveInjectorDynamicStrategy.prototype.getObjAtIndex = function (index) {\n if (index < 0 || index >= this.objs.length) {\n throw new OutOfBoundsError(index);\n }\n return this.objs[index];\n };\n ReflectiveInjectorDynamicStrategy.prototype.getMaxNumberOfObjects = function () { return this.objs.length; };\n return ReflectiveInjectorDynamicStrategy;\n }());\n /**\n * A ReflectiveDependency injection container used for instantiating objects and resolving\n * dependencies.\n *\n * An `Injector` is a replacement for a `new` operator, which can automatically resolve the\n * constructor dependencies.\n *\n * In typical use, application code asks for the dependencies in the constructor and they are\n * resolved by the `Injector`.\n *\n * ### Example ([live demo](http://plnkr.co/edit/jzjec0?p=preview))\n *\n * The following example creates an `Injector` configured to create `Engine` and `Car`.\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n * var car = injector.get(Car);\n * expect(car instanceof Car).toBe(true);\n * expect(car.engine instanceof Engine).toBe(true);\n * ```\n *\n * Notice, we don't use the `new` operator because we explicitly want to have the `Injector`\n * resolve all of the object's dependencies automatically.\n *\n * @stable\n */\n var ReflectiveInjector = (function () {\n function ReflectiveInjector() {\n }\n /**\n * Turns an array of provider definitions into an array of resolved providers.\n *\n * A resolution is a process of flattening multiple nested arrays and converting individual\n * providers into an array of {@link ResolvedReflectiveProvider}s.\n *\n * ### Example ([live demo](http://plnkr.co/edit/AiXTHi?p=preview))\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var providers = ReflectiveInjector.resolve([Car, [[Engine]]]);\n *\n * expect(providers.length).toEqual(2);\n *\n * expect(providers[0] instanceof ResolvedReflectiveProvider).toBe(true);\n * expect(providers[0].key.displayName).toBe(\"Car\");\n * expect(providers[0].dependencies.length).toEqual(1);\n * expect(providers[0].factory).toBeDefined();\n *\n * expect(providers[1].key.displayName).toBe(\"Engine\");\n * });\n * ```\n *\n * See {@link ReflectiveInjector#fromResolvedProviders} for more info.\n */\n ReflectiveInjector.resolve = function (providers) {\n return resolveReflectiveProviders(providers);\n };\n /**\n * Resolves an array of providers and creates an injector from those providers.\n *\n * The passed-in providers can be an array of `Type`, {@link Provider},\n * or a recursive array of more providers.\n *\n * ### Example ([live demo](http://plnkr.co/edit/ePOccA?p=preview))\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Car, Engine]);\n * expect(injector.get(Car) instanceof Car).toBe(true);\n * ```\n *\n * This function is slower than the corresponding `fromResolvedProviders`\n * because it needs to resolve the passed-in providers first.\n * See {@link Injector#resolve} and {@link Injector#fromResolvedProviders}.\n */\n ReflectiveInjector.resolveAndCreate = function (providers, parent) {\n if (parent === void 0) { parent = null; }\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n return ReflectiveInjector.fromResolvedProviders(ResolvedReflectiveProviders, parent);\n };\n /**\n * Creates an injector from previously resolved providers.\n *\n * This API is the recommended way to construct injectors in performance-sensitive parts.\n *\n * ### Example ([live demo](http://plnkr.co/edit/KrSMci?p=preview))\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var providers = ReflectiveInjector.resolve([Car, Engine]);\n * var injector = ReflectiveInjector.fromResolvedProviders(providers);\n * expect(injector.get(Car) instanceof Car).toBe(true);\n * ```\n * @experimental\n */\n ReflectiveInjector.fromResolvedProviders = function (providers, parent) {\n if (parent === void 0) { parent = null; }\n return new ReflectiveInjector_(ReflectiveProtoInjector.fromResolvedProviders(providers), parent);\n };\n Object.defineProperty(ReflectiveInjector.prototype, \"parent\", {\n /**\n * Parent of this injector.\n *\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n * -->\n *\n * ### Example ([live demo](http://plnkr.co/edit/eosMGo?p=preview))\n *\n * ```typescript\n * var parent = ReflectiveInjector.resolveAndCreate([]);\n * var child = parent.resolveAndCreateChild([]);\n * expect(child.parent).toBe(parent);\n * ```\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n /**\n * Resolves an array of providers and creates a child injector from those providers.\n *\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n * -->\n *\n * The passed-in providers can be an array of `Type`, {@link Provider},\n * or a recursive array of more providers.\n *\n * ### Example ([live demo](http://plnkr.co/edit/opB3T4?p=preview))\n *\n * ```typescript\n * class ParentProvider {}\n * class ChildProvider {}\n *\n * var parent = ReflectiveInjector.resolveAndCreate([ParentProvider]);\n * var child = parent.resolveAndCreateChild([ChildProvider]);\n *\n * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\n * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\n * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\n * ```\n *\n * This function is slower than the corresponding `createChildFromResolved`\n * because it needs to resolve the passed-in providers first.\n * See {@link Injector#resolve} and {@link Injector#createChildFromResolved}.\n */\n ReflectiveInjector.prototype.resolveAndCreateChild = function (providers) { return unimplemented(); };\n /**\n * Creates a child injector from previously resolved providers.\n *\n * <!-- TODO: Add a link to the section of the user guide talking about hierarchical injection.\n * -->\n *\n * This API is the recommended way to construct injectors in performance-sensitive parts.\n *\n * ### Example ([live demo](http://plnkr.co/edit/VhyfjN?p=preview))\n *\n * ```typescript\n * class ParentProvider {}\n * class ChildProvider {}\n *\n * var parentProviders = ReflectiveInjector.resolve([ParentProvider]);\n * var childProviders = ReflectiveInjector.resolve([ChildProvider]);\n *\n * var parent = ReflectiveInjector.fromResolvedProviders(parentProviders);\n * var child = parent.createChildFromResolved(childProviders);\n *\n * expect(child.get(ParentProvider) instanceof ParentProvider).toBe(true);\n * expect(child.get(ChildProvider) instanceof ChildProvider).toBe(true);\n * expect(child.get(ParentProvider)).toBe(parent.get(ParentProvider));\n * ```\n */\n ReflectiveInjector.prototype.createChildFromResolved = function (providers) {\n return unimplemented();\n };\n /**\n * Resolves a provider and instantiates an object in the context of the injector.\n *\n * The created object does not get cached by the injector.\n *\n * ### Example ([live demo](http://plnkr.co/edit/yvVXoB?p=preview))\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\n *\n * var car = injector.resolveAndInstantiate(Car);\n * expect(car.engine).toBe(injector.get(Engine));\n * expect(car).not.toBe(injector.resolveAndInstantiate(Car));\n * ```\n */\n ReflectiveInjector.prototype.resolveAndInstantiate = function (provider) { return unimplemented(); };\n /**\n * Instantiates an object using a resolved provider in the context of the injector.\n *\n * The created object does not get cached by the injector.\n *\n * ### Example ([live demo](http://plnkr.co/edit/ptCImQ?p=preview))\n *\n * ```typescript\n * @Injectable()\n * class Engine {\n * }\n *\n * @Injectable()\n * class Car {\n * constructor(public engine:Engine) {}\n * }\n *\n * var injector = ReflectiveInjector.resolveAndCreate([Engine]);\n * var carProvider = ReflectiveInjector.resolve([Car])[0];\n * var car = injector.instantiateResolved(carProvider);\n * expect(car.engine).toBe(injector.get(Engine));\n * expect(car).not.toBe(injector.instantiateResolved(carProvider));\n * ```\n */\n ReflectiveInjector.prototype.instantiateResolved = function (provider) { return unimplemented(); };\n return ReflectiveInjector;\n }());\n var ReflectiveInjector_ = (function () {\n /**\n * Private\n */\n function ReflectiveInjector_(_proto /* ProtoInjector */, _parent) {\n if (_parent === void 0) { _parent = null; }\n /** @internal */\n this._constructionCounter = 0;\n this._proto = _proto;\n this._parent = _parent;\n this._strategy = _proto._strategy.createInjectorStrategy(this);\n }\n ReflectiveInjector_.prototype.get = function (token, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n return this._getByKey(ReflectiveKey.get(token), null, null, notFoundValue);\n };\n ReflectiveInjector_.prototype.getAt = function (index) { return this._strategy.getObjAtIndex(index); };\n Object.defineProperty(ReflectiveInjector_.prototype, \"parent\", {\n get: function () { return this._parent; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ReflectiveInjector_.prototype, \"internalStrategy\", {\n /**\n * @internal\n * Internal. Do not use.\n * We return `any` not to export the InjectorStrategy type.\n */\n get: function () { return this._strategy; },\n enumerable: true,\n configurable: true\n });\n ReflectiveInjector_.prototype.resolveAndCreateChild = function (providers) {\n var ResolvedReflectiveProviders = ReflectiveInjector.resolve(providers);\n return this.createChildFromResolved(ResolvedReflectiveProviders);\n };\n ReflectiveInjector_.prototype.createChildFromResolved = function (providers) {\n var proto = new ReflectiveProtoInjector(providers);\n var inj = new ReflectiveInjector_(proto);\n inj._parent = this;\n return inj;\n };\n ReflectiveInjector_.prototype.resolveAndInstantiate = function (provider) {\n return this.instantiateResolved(ReflectiveInjector.resolve([provider])[0]);\n };\n ReflectiveInjector_.prototype.instantiateResolved = function (provider) {\n return this._instantiateProvider(provider);\n };\n /** @internal */\n ReflectiveInjector_.prototype._new = function (provider) {\n if (this._constructionCounter++ > this._strategy.getMaxNumberOfObjects()) {\n throw new CyclicDependencyError(this, provider.key);\n }\n return this._instantiateProvider(provider);\n };\n ReflectiveInjector_.prototype._instantiateProvider = function (provider) {\n if (provider.multiProvider) {\n var res = new Array(provider.resolvedFactories.length);\n for (var i = 0; i < provider.resolvedFactories.length; ++i) {\n res[i] = this._instantiate(provider, provider.resolvedFactories[i]);\n }\n return res;\n }\n else {\n return this._instantiate(provider, provider.resolvedFactories[0]);\n }\n };\n ReflectiveInjector_.prototype._instantiate = function (provider, ResolvedReflectiveFactory) {\n var factory = ResolvedReflectiveFactory.factory;\n var deps = ResolvedReflectiveFactory.dependencies;\n var length = deps.length;\n var d0;\n var d1;\n var d2;\n var d3;\n var d4;\n var d5;\n var d6;\n var d7;\n var d8;\n var d9;\n var d10;\n var d11;\n var d12;\n var d13;\n var d14;\n var d15;\n var d16;\n var d17;\n var d18;\n var d19;\n try {\n d0 = length > 0 ? this._getByReflectiveDependency(provider, deps[0]) : null;\n d1 = length > 1 ? this._getByReflectiveDependency(provider, deps[1]) : null;\n d2 = length > 2 ? this._getByReflectiveDependency(provider, deps[2]) : null;\n d3 = length > 3 ? this._getByReflectiveDependency(provider, deps[3]) : null;\n d4 = length > 4 ? this._getByReflectiveDependency(provider, deps[4]) : null;\n d5 = length > 5 ? this._getByReflectiveDependency(provider, deps[5]) : null;\n d6 = length > 6 ? this._getByReflectiveDependency(provider, deps[6]) : null;\n d7 = length > 7 ? this._getByReflectiveDependency(provider, deps[7]) : null;\n d8 = length > 8 ? this._getByReflectiveDependency(provider, deps[8]) : null;\n d9 = length > 9 ? this._getByReflectiveDependency(provider, deps[9]) : null;\n d10 = length > 10 ? this._getByReflectiveDependency(provider, deps[10]) : null;\n d11 = length > 11 ? this._getByReflectiveDependency(provider, deps[11]) : null;\n d12 = length > 12 ? this._getByReflectiveDependency(provider, deps[12]) : null;\n d13 = length > 13 ? this._getByReflectiveDependency(provider, deps[13]) : null;\n d14 = length > 14 ? this._getByReflectiveDependency(provider, deps[14]) : null;\n d15 = length > 15 ? this._getByReflectiveDependency(provider, deps[15]) : null;\n d16 = length > 16 ? this._getByReflectiveDependency(provider, deps[16]) : null;\n d17 = length > 17 ? this._getByReflectiveDependency(provider, deps[17]) : null;\n d18 = length > 18 ? this._getByReflectiveDependency(provider, deps[18]) : null;\n d19 = length > 19 ? this._getByReflectiveDependency(provider, deps[19]) : null;\n }\n catch (e) {\n if (e instanceof AbstractProviderError || e instanceof InstantiationError) {\n e.addKey(this, provider.key);\n }\n throw e;\n }\n var obj;\n try {\n switch (length) {\n case 0:\n obj = factory();\n break;\n case 1:\n obj = factory(d0);\n break;\n case 2:\n obj = factory(d0, d1);\n break;\n case 3:\n obj = factory(d0, d1, d2);\n break;\n case 4:\n obj = factory(d0, d1, d2, d3);\n break;\n case 5:\n obj = factory(d0, d1, d2, d3, d4);\n break;\n case 6:\n obj = factory(d0, d1, d2, d3, d4, d5);\n break;\n case 7:\n obj = factory(d0, d1, d2, d3, d4, d5, d6);\n break;\n case 8:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7);\n break;\n case 9:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8);\n break;\n case 10:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9);\n break;\n case 11:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10);\n break;\n case 12:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11);\n break;\n case 13:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12);\n break;\n case 14:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13);\n break;\n case 15:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14);\n break;\n case 16:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15);\n break;\n case 17:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16);\n break;\n case 18:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17);\n break;\n case 19:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18);\n break;\n case 20:\n obj = factory(d0, d1, d2, d3, d4, d5, d6, d7, d8, d9, d10, d11, d12, d13, d14, d15, d16, d17, d18, d19);\n break;\n default:\n throw new Error(\"Cannot instantiate '\" + provider.key.displayName + \"' because it has more than 20 dependencies\");\n }\n }\n catch (e) {\n throw new InstantiationError(this, e, e.stack, provider.key);\n }\n return obj;\n };\n ReflectiveInjector_.prototype._getByReflectiveDependency = function (provider, dep) {\n return this._getByKey(dep.key, dep.lowerBoundVisibility, dep.upperBoundVisibility, dep.optional ? null : THROW_IF_NOT_FOUND);\n };\n ReflectiveInjector_.prototype._getByKey = function (key, lowerBoundVisibility, upperBoundVisibility, notFoundValue) {\n if (key === INJECTOR_KEY) {\n return this;\n }\n if (upperBoundVisibility instanceof Self) {\n return this._getByKeySelf(key, notFoundValue);\n }\n else {\n return this._getByKeyDefault(key, notFoundValue, lowerBoundVisibility);\n }\n };\n /** @internal */\n ReflectiveInjector_.prototype._throwOrNull = function (key, notFoundValue) {\n if (notFoundValue !== THROW_IF_NOT_FOUND) {\n return notFoundValue;\n }\n else {\n throw new NoProviderError(this, key);\n }\n };\n /** @internal */\n ReflectiveInjector_.prototype._getByKeySelf = function (key, notFoundValue) {\n var obj = this._strategy.getObjByKeyId(key.id);\n return (obj !== UNDEFINED) ? obj : this._throwOrNull(key, notFoundValue);\n };\n /** @internal */\n ReflectiveInjector_.prototype._getByKeyDefault = function (key, notFoundValue, lowerBoundVisibility) {\n var inj;\n if (lowerBoundVisibility instanceof SkipSelf) {\n inj = this._parent;\n }\n else {\n inj = this;\n }\n while (inj instanceof ReflectiveInjector_) {\n var inj_ = inj;\n var obj = inj_._strategy.getObjByKeyId(key.id);\n if (obj !== UNDEFINED)\n return obj;\n inj = inj_._parent;\n }\n if (inj !== null) {\n return inj.get(key.token, notFoundValue);\n }\n else {\n return this._throwOrNull(key, notFoundValue);\n }\n };\n Object.defineProperty(ReflectiveInjector_.prototype, \"displayName\", {\n get: function () {\n var providers = _mapProviders(this, function (b) { return ' \"' + b.key.displayName + '\" '; })\n .join(', ');\n return \"ReflectiveInjector(providers: [\" + providers + \"])\";\n },\n enumerable: true,\n configurable: true\n });\n ReflectiveInjector_.prototype.toString = function () { return this.displayName; };\n return ReflectiveInjector_;\n }());\n var INJECTOR_KEY = ReflectiveKey.get(Injector);\n function _mapProviders(injector, fn) {\n var res = new Array(injector._proto.numberOfProviders);\n for (var i = 0; i < injector._proto.numberOfProviders; ++i) {\n res[i] = fn(injector._proto.getProviderAtIndex(i));\n }\n return res;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @whatItDoes Provides a hook for centralized exception handling.\n *\n * @description\n *\n * The default implementation of `ErrorHandler` prints error messages to the `console`. To\n * intercept error handling, write a custom exception handler that replaces this default as\n * appropriate for your app.\n *\n * ### Example\n *\n * ```\n * class MyErrorHandler implements ErrorHandler {\n * handleError(error) {\n * // do something with the exception\n * }\n * }\n *\n * @NgModule({\n * providers: [{provide: ErrorHandler, useClass: MyErrorHandler}]\n * })\n * class MyModule {}\n * ```\n *\n * @stable\n */\n var ErrorHandler = (function () {\n function ErrorHandler(rethrowError) {\n if (rethrowError === void 0) { rethrowError = true; }\n /**\n * @internal\n */\n this._console = console;\n this.rethrowError = rethrowError;\n }\n ErrorHandler.prototype.handleError = function (error) {\n var originalError = this._findOriginalError(error);\n var originalStack = this._findOriginalStack(error);\n var context = this._findContext(error);\n this._console.error(\"EXCEPTION: \" + this._extractMessage(error));\n if (originalError) {\n this._console.error(\"ORIGINAL EXCEPTION: \" + this._extractMessage(originalError));\n }\n if (originalStack) {\n this._console.error('ORIGINAL STACKTRACE:');\n this._console.error(originalStack);\n }\n if (context) {\n this._console.error('ERROR CONTEXT:');\n this._console.error(context);\n }\n // We rethrow exceptions, so operations like 'bootstrap' will result in an error\n // when an error happens. If we do not rethrow, bootstrap will always succeed.\n if (this.rethrowError)\n throw error;\n };\n /** @internal */\n ErrorHandler.prototype._extractMessage = function (error) {\n return error instanceof Error ? error.message : error.toString();\n };\n /** @internal */\n ErrorHandler.prototype._findContext = function (error) {\n if (error) {\n return error.context ? error.context :\n this._findContext(error.originalError);\n }\n return null;\n };\n /** @internal */\n ErrorHandler.prototype._findOriginalError = function (error) {\n var e = error.originalError;\n while (e && e.originalError) {\n e = e.originalError;\n }\n return e;\n };\n /** @internal */\n ErrorHandler.prototype._findOriginalStack = function (error) {\n if (!(error instanceof Error))\n return null;\n var e = error;\n var stack = e.stack;\n while (e instanceof Error && e.originalError) {\n e = e.originalError;\n if (e instanceof Error && e.stack) {\n stack = e.stack;\n }\n }\n return stack;\n };\n return ErrorHandler;\n }());\n\n /**\n * Wraps Javascript Objects\n */\n var StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n }());\n var ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n if (index > -1) {\n list.splice(index, 1);\n }\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.flatten = function (list) {\n return list.reduce(function (flat, item) {\n var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n return flat.concat(flatItem);\n }, []);\n };\n return ListWrapper;\n }());\n function isListLikeIterable(obj) {\n if (!isJsObject(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) &&\n getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n }\n function areIterablesEqual(a, b, comparator) {\n var iterator1 = a[getSymbolIterator()]();\n var iterator2 = b[getSymbolIterator()]();\n while (true) {\n var item1 = iterator1.next();\n var item2 = iterator2.next();\n if (item1.done && item2.done)\n return true;\n if (item1.done || item2.done)\n return false;\n if (!comparator(item1.value, item2.value))\n return false;\n }\n }\n function iterateListLike(obj, fn) {\n if (Array.isArray(obj)) {\n for (var i = 0; i < obj.length; i++) {\n fn(obj[i]);\n }\n }\n else {\n var iterator = obj[getSymbolIterator()]();\n var item = void 0;\n while (!((item = iterator.next()).done)) {\n fn(item.value);\n }\n }\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function isPromise(obj) {\n // allow any Promise/A+ compliant thenable.\n // It's up to the caller to ensure that obj.then conforms to the spec\n return !!obj && typeof obj.then === 'function';\n }\n\n /**\n * A function that will be executed when an application is initialized.\n * @experimental\n */\n var APP_INITIALIZER = new OpaqueToken('Application Initializer');\n /**\n * A class that reflects the state of running {@link APP_INITIALIZER}s.\n *\n * @experimental\n */\n var ApplicationInitStatus = (function () {\n function ApplicationInitStatus(appInits) {\n var _this = this;\n this._done = false;\n var asyncInitPromises = [];\n if (appInits) {\n for (var i = 0; i < appInits.length; i++) {\n var initResult = appInits[i]();\n if (isPromise(initResult)) {\n asyncInitPromises.push(initResult);\n }\n }\n }\n this._donePromise = Promise.all(asyncInitPromises).then(function () { _this._done = true; });\n if (asyncInitPromises.length === 0) {\n this._done = true;\n }\n }\n Object.defineProperty(ApplicationInitStatus.prototype, \"done\", {\n get: function () { return this._done; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ApplicationInitStatus.prototype, \"donePromise\", {\n get: function () { return this._donePromise; },\n enumerable: true,\n configurable: true\n });\n ApplicationInitStatus.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n ApplicationInitStatus.ctorParameters = [\n { type: Array, decorators: [{ type: Inject, args: [APP_INITIALIZER,] }, { type: Optional },] },\n ];\n return ApplicationInitStatus;\n }());\n\n /**\n * A DI Token representing a unique string id assigned to the application by Angular and used\n * primarily for prefixing application attributes and CSS styles when\n * {@link ViewEncapsulation#Emulated} is being used.\n *\n * If you need to avoid randomly generated value to be used as an application id, you can provide\n * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}\n * using this token.\n * @experimental\n */\n var APP_ID = new OpaqueToken('AppId');\n function _appIdRandomProviderFactory() {\n return \"\" + _randomChar() + _randomChar() + _randomChar();\n }\n /**\n * Providers that will generate a random APP_ID_TOKEN.\n * @experimental\n */\n var APP_ID_RANDOM_PROVIDER = {\n provide: APP_ID,\n useFactory: _appIdRandomProviderFactory,\n deps: [],\n };\n function _randomChar() {\n return String.fromCharCode(97 + Math.floor(Math.random() * 25));\n }\n /**\n * A function that will be executed when a platform is initialized.\n * @experimental\n */\n var PLATFORM_INITIALIZER = new OpaqueToken('Platform Initializer');\n /**\n * All callbacks provided via this token will be called for every component that is bootstrapped.\n * Signature of the callback:\n *\n * `(componentRef: ComponentRef) => void`.\n *\n * @experimental\n */\n var APP_BOOTSTRAP_LISTENER = new OpaqueToken('appBootstrapListener');\n /**\n * A token which indicates the root directory of the application\n * @experimental\n */\n var PACKAGE_ROOT_URL = new OpaqueToken('Application Packages Root URL');\n\n var Console = (function () {\n function Console() {\n }\n Console.prototype.log = function (message) { print(message); };\n // Note: for reporting errors use `DOM.logError()` as it is platform specific\n Console.prototype.warn = function (message) { warn(message); };\n Console.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n Console.ctorParameters = [];\n return Console;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Indicates that a component is still being loaded in a synchronous compile.\n *\n * @stable\n */\n var ComponentStillLoadingError = (function (_super) {\n __extends$4(ComponentStillLoadingError, _super);\n function ComponentStillLoadingError(compType) {\n _super.call(this, \"Can't compile synchronously as \" + stringify(compType) + \" is still being loaded!\");\n this.compType = compType;\n }\n return ComponentStillLoadingError;\n }(BaseError));\n /**\n * Combination of NgModuleFactory and ComponentFactorys.\n *\n * @experimental\n */\n var ModuleWithComponentFactories = (function () {\n function ModuleWithComponentFactories(ngModuleFactory, componentFactories) {\n this.ngModuleFactory = ngModuleFactory;\n this.componentFactories = componentFactories;\n }\n return ModuleWithComponentFactories;\n }());\n function _throwError() {\n throw new Error(\"Runtime compiler is not loaded\");\n }\n /**\n * Low-level service for running the angular compiler during runtime\n * to create {@link ComponentFactory}s, which\n * can later be used to create and render a Component instance.\n *\n * Each `@NgModule` provides an own `Compiler` to its injector,\n * that will use the directives/pipes of the ng module for compilation\n * of components.\n * @stable\n */\n var Compiler = (function () {\n function Compiler() {\n }\n /**\n * Compiles the given NgModule and all of its components. All templates of the components listed\n * in `entryComponents`\n * have to be inlined. Otherwise throws a {@link ComponentStillLoadingError}.\n */\n Compiler.prototype.compileModuleSync = function (moduleType) { throw _throwError(); };\n /**\n * Compiles the given NgModule and all of its components\n */\n Compiler.prototype.compileModuleAsync = function (moduleType) { throw _throwError(); };\n /**\n * Same as {@link compileModuleSync} but also creates ComponentFactories for all components.\n */\n Compiler.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n throw _throwError();\n };\n /**\n * Same as {@link compileModuleAsync} but also creates ComponentFactories for all components.\n */\n Compiler.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n throw _throwError();\n };\n /**\n * Clears all caches.\n */\n Compiler.prototype.clearCache = function () { };\n /**\n * Clears the cache for the given component/ngModule.\n */\n Compiler.prototype.clearCacheFor = function (type) { };\n return Compiler;\n }());\n /**\n * Token to provide CompilerOptions in the platform injector.\n *\n * @experimental\n */\n var COMPILER_OPTIONS = new OpaqueToken('compilerOptions');\n /**\n * A factory for creating a Compiler\n *\n * @experimental\n */\n var CompilerFactory = (function () {\n function CompilerFactory() {\n }\n return CompilerFactory;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * A wrapper around a native element inside of a View.\n *\n * An `ElementRef` is backed by a render-specific element. In the browser, this is usually a DOM\n * element.\n *\n * @security Permitting direct access to the DOM can make your application more vulnerable to\n * XSS attacks. Carefully review any use of `ElementRef` in your code. For more detail, see the\n * [Security Guide](http://g.co/ng/security).\n *\n * @stable\n */\n // Note: We don't expose things like `Injector`, `ViewContainer`, ... here,\n // i.e. users have to ask for what they need. With that, we can build better analysis tools\n // and could do better codegen in the future.\n var ElementRef = (function () {\n function ElementRef(nativeElement) {\n this.nativeElement = nativeElement;\n }\n return ElementRef;\n }());\n\n var DefaultIterableDifferFactory = (function () {\n function DefaultIterableDifferFactory() {\n }\n DefaultIterableDifferFactory.prototype.supports = function (obj) { return isListLikeIterable(obj); };\n DefaultIterableDifferFactory.prototype.create = function (cdRef, trackByFn) {\n return new DefaultIterableDiffer(trackByFn);\n };\n return DefaultIterableDifferFactory;\n }());\n var trackByIdentity = function (index, item) { return item; };\n /**\n * @stable\n */\n var DefaultIterableDiffer = (function () {\n function DefaultIterableDiffer(_trackByFn) {\n this._trackByFn = _trackByFn;\n this._length = null;\n this._collection = null;\n // Keeps track of the used records at any point in time (during & across `_check()` calls)\n this._linkedRecords = null;\n // Keeps track of the removed records at any point in time during `_check()` calls.\n this._unlinkedRecords = null;\n this._previousItHead = null;\n this._itHead = null;\n this._itTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._movesHead = null;\n this._movesTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n // Keeps track of records where custom track by is the same, but item identity has changed\n this._identityChangesHead = null;\n this._identityChangesTail = null;\n this._trackByFn = this._trackByFn || trackByIdentity;\n }\n Object.defineProperty(DefaultIterableDiffer.prototype, \"collection\", {\n get: function () { return this._collection; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DefaultIterableDiffer.prototype, \"length\", {\n get: function () { return this._length; },\n enumerable: true,\n configurable: true\n });\n DefaultIterableDiffer.prototype.forEachItem = function (fn) {\n var record;\n for (record = this._itHead; record !== null; record = record._next) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachOperation = function (fn) {\n var nextIt = this._itHead;\n var nextRemove = this._removalsHead;\n var addRemoveOffset = 0;\n var moveOffsets = null;\n while (nextIt || nextRemove) {\n // Figure out which is the next record to process\n // Order: remove, add, move\n var record = !nextRemove ||\n nextIt &&\n nextIt.currentIndex < getPreviousIndex(nextRemove, addRemoveOffset, moveOffsets) ?\n nextIt :\n nextRemove;\n var adjPreviousIndex = getPreviousIndex(record, addRemoveOffset, moveOffsets);\n var currentIndex = record.currentIndex;\n // consume the item, and adjust the addRemoveOffset and update moveDistance if necessary\n if (record === nextRemove) {\n addRemoveOffset--;\n nextRemove = nextRemove._nextRemoved;\n }\n else {\n nextIt = nextIt._next;\n if (record.previousIndex == null) {\n addRemoveOffset++;\n }\n else {\n // INVARIANT: currentIndex < previousIndex\n if (!moveOffsets)\n moveOffsets = [];\n var localMovePreviousIndex = adjPreviousIndex - addRemoveOffset;\n var localCurrentIndex = currentIndex - addRemoveOffset;\n if (localMovePreviousIndex != localCurrentIndex) {\n for (var i = 0; i < localMovePreviousIndex; i++) {\n var offset = i < moveOffsets.length ? moveOffsets[i] : (moveOffsets[i] = 0);\n var index = offset + i;\n if (localCurrentIndex <= index && index < localMovePreviousIndex) {\n moveOffsets[i] = offset + 1;\n }\n }\n var previousIndex = record.previousIndex;\n moveOffsets[previousIndex] = localCurrentIndex - localMovePreviousIndex;\n }\n }\n }\n if (adjPreviousIndex !== currentIndex) {\n fn(record, adjPreviousIndex, currentIndex);\n }\n }\n };\n DefaultIterableDiffer.prototype.forEachPreviousItem = function (fn) {\n var record;\n for (record = this._previousItHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachAddedItem = function (fn) {\n var record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachMovedItem = function (fn) {\n var record;\n for (record = this._movesHead; record !== null; record = record._nextMoved) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachRemovedItem = function (fn) {\n var record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.forEachIdentityChange = function (fn) {\n var record;\n for (record = this._identityChangesHead; record !== null; record = record._nextIdentityChange) {\n fn(record);\n }\n };\n DefaultIterableDiffer.prototype.diff = function (collection) {\n if (isBlank(collection))\n collection = [];\n if (!isListLikeIterable(collection)) {\n throw new Error(\"Error trying to diff '\" + collection + \"'\");\n }\n if (this.check(collection)) {\n return this;\n }\n else {\n return null;\n }\n };\n DefaultIterableDiffer.prototype.onDestroy = function () { };\n // todo(vicb): optim for UnmodifiableListView (frozen arrays)\n DefaultIterableDiffer.prototype.check = function (collection) {\n var _this = this;\n this._reset();\n var record = this._itHead;\n var mayBeDirty = false;\n var index;\n var item;\n var itemTrackBy;\n if (Array.isArray(collection)) {\n var list = collection;\n this._length = collection.length;\n for (var index_1 = 0; index_1 < this._length; index_1++) {\n item = list[index_1];\n itemTrackBy = this._trackByFn(index_1, item);\n if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n record = this._mismatch(record, item, itemTrackBy, index_1);\n mayBeDirty = true;\n }\n else {\n if (mayBeDirty) {\n // TODO(misko): can we limit this to duplicates only?\n record = this._verifyReinsertion(record, item, itemTrackBy, index_1);\n }\n if (!looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n }\n record = record._next;\n }\n }\n else {\n index = 0;\n iterateListLike(collection, function (item /** TODO #9100 */) {\n itemTrackBy = _this._trackByFn(index, item);\n if (record === null || !looseIdentical(record.trackById, itemTrackBy)) {\n record = _this._mismatch(record, item, itemTrackBy, index);\n mayBeDirty = true;\n }\n else {\n if (mayBeDirty) {\n // TODO(misko): can we limit this to duplicates only?\n record = _this._verifyReinsertion(record, item, itemTrackBy, index);\n }\n if (!looseIdentical(record.item, item))\n _this._addIdentityChange(record, item);\n }\n record = record._next;\n index++;\n });\n this._length = index;\n }\n this._truncate(record);\n this._collection = collection;\n return this.isDirty;\n };\n Object.defineProperty(DefaultIterableDiffer.prototype, \"isDirty\", {\n /* CollectionChanges is considered dirty if it has any additions, moves, removals, or identity\n * changes.\n */\n get: function () {\n return this._additionsHead !== null || this._movesHead !== null ||\n this._removalsHead !== null || this._identityChangesHead !== null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Reset the state of the change objects to show no changes. This means set previousKey to\n * currentKey, and clear all of the queues (additions, moves, removals).\n * Set the previousIndexes of moved and added items to their currentIndexes\n * Reset the list of additions, moves and removals\n *\n * @internal\n */\n DefaultIterableDiffer.prototype._reset = function () {\n if (this.isDirty) {\n var record = void 0;\n var nextRecord = void 0;\n for (record = this._previousItHead = this._itHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n record.previousIndex = record.currentIndex;\n }\n this._additionsHead = this._additionsTail = null;\n for (record = this._movesHead; record !== null; record = nextRecord) {\n record.previousIndex = record.currentIndex;\n nextRecord = record._nextMoved;\n }\n this._movesHead = this._movesTail = null;\n this._removalsHead = this._removalsTail = null;\n this._identityChangesHead = this._identityChangesTail = null;\n }\n };\n /**\n * This is the core function which handles differences between collections.\n *\n * - `record` is the record which we saw at this position last time. If null then it is a new\n * item.\n * - `item` is the current item in the collection\n * - `index` is the position of the item in the collection\n *\n * @internal\n */\n DefaultIterableDiffer.prototype._mismatch = function (record, item, itemTrackBy, index) {\n // The previous record after which we will append the current one.\n var previousRecord;\n if (record === null) {\n previousRecord = this._itTail;\n }\n else {\n previousRecord = record._prev;\n // Remove the record from the collection since we know it does not match the item.\n this._remove(record);\n }\n // Attempt to see if we have seen the item before.\n record = this._linkedRecords === null ? null : this._linkedRecords.get(itemTrackBy, index);\n if (record !== null) {\n // We have seen this before, we need to move it forward in the collection.\n // But first we need to check if identity changed, so we can update in view if necessary\n if (!looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n this._moveAfter(record, previousRecord, index);\n }\n else {\n // Never seen it, check evicted list.\n record = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n if (record !== null) {\n // It is an item which we have evicted earlier: reinsert it back into the list.\n // But first we need to check if identity changed, so we can update in view if necessary\n if (!looseIdentical(record.item, item))\n this._addIdentityChange(record, item);\n this._reinsertAfter(record, previousRecord, index);\n }\n else {\n // It is a new item: add it.\n record =\n this._addAfter(new CollectionChangeRecord(item, itemTrackBy), previousRecord, index);\n }\n }\n return record;\n };\n /**\n * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)\n *\n * Use case: `[a, a]` => `[b, a, a]`\n *\n * If we did not have this check then the insertion of `b` would:\n * 1) evict first `a`\n * 2) insert `b` at `0` index.\n * 3) leave `a` at index `1` as is. <-- this is wrong!\n * 3) reinsert `a` at index 2. <-- this is wrong!\n *\n * The correct behavior is:\n * 1) evict first `a`\n * 2) insert `b` at `0` index.\n * 3) reinsert `a` at index 1.\n * 3) move `a` at from `1` to `2`.\n *\n *\n * Double check that we have not evicted a duplicate item. We need to check if the item type may\n * have already been removed:\n * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted\n * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a\n * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'\n * at the end.\n *\n * @internal\n */\n DefaultIterableDiffer.prototype._verifyReinsertion = function (record, item, itemTrackBy, index) {\n var reinsertRecord = this._unlinkedRecords === null ? null : this._unlinkedRecords.get(itemTrackBy);\n if (reinsertRecord !== null) {\n record = this._reinsertAfter(reinsertRecord, record._prev, index);\n }\n else if (record.currentIndex != index) {\n record.currentIndex = index;\n this._addToMoves(record, index);\n }\n return record;\n };\n /**\n * Get rid of any excess {@link CollectionChangeRecord}s from the previous collection\n *\n * - `record` The first excess {@link CollectionChangeRecord}.\n *\n * @internal\n */\n DefaultIterableDiffer.prototype._truncate = function (record) {\n // Anything after that needs to be removed;\n while (record !== null) {\n var nextRecord = record._next;\n this._addToRemovals(this._unlink(record));\n record = nextRecord;\n }\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.clear();\n }\n if (this._additionsTail !== null) {\n this._additionsTail._nextAdded = null;\n }\n if (this._movesTail !== null) {\n this._movesTail._nextMoved = null;\n }\n if (this._itTail !== null) {\n this._itTail._next = null;\n }\n if (this._removalsTail !== null) {\n this._removalsTail._nextRemoved = null;\n }\n if (this._identityChangesTail !== null) {\n this._identityChangesTail._nextIdentityChange = null;\n }\n };\n /** @internal */\n DefaultIterableDiffer.prototype._reinsertAfter = function (record, prevRecord, index) {\n if (this._unlinkedRecords !== null) {\n this._unlinkedRecords.remove(record);\n }\n var prev = record._prevRemoved;\n var next = record._nextRemoved;\n if (prev === null) {\n this._removalsHead = next;\n }\n else {\n prev._nextRemoved = next;\n }\n if (next === null) {\n this._removalsTail = prev;\n }\n else {\n next._prevRemoved = prev;\n }\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._moveAfter = function (record, prevRecord, index) {\n this._unlink(record);\n this._insertAfter(record, prevRecord, index);\n this._addToMoves(record, index);\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._addAfter = function (record, prevRecord, index) {\n this._insertAfter(record, prevRecord, index);\n if (this._additionsTail === null) {\n // todo(vicb)\n // assert(this._additionsHead === null);\n this._additionsTail = this._additionsHead = record;\n }\n else {\n // todo(vicb)\n // assert(_additionsTail._nextAdded === null);\n // assert(record._nextAdded === null);\n this._additionsTail = this._additionsTail._nextAdded = record;\n }\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._insertAfter = function (record, prevRecord, index) {\n // todo(vicb)\n // assert(record != prevRecord);\n // assert(record._next === null);\n // assert(record._prev === null);\n var next = prevRecord === null ? this._itHead : prevRecord._next;\n // todo(vicb)\n // assert(next != record);\n // assert(prevRecord != record);\n record._next = next;\n record._prev = prevRecord;\n if (next === null) {\n this._itTail = record;\n }\n else {\n next._prev = record;\n }\n if (prevRecord === null) {\n this._itHead = record;\n }\n else {\n prevRecord._next = record;\n }\n if (this._linkedRecords === null) {\n this._linkedRecords = new _DuplicateMap();\n }\n this._linkedRecords.put(record);\n record.currentIndex = index;\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._remove = function (record) {\n return this._addToRemovals(this._unlink(record));\n };\n /** @internal */\n DefaultIterableDiffer.prototype._unlink = function (record) {\n if (this._linkedRecords !== null) {\n this._linkedRecords.remove(record);\n }\n var prev = record._prev;\n var next = record._next;\n // todo(vicb)\n // assert((record._prev = null) === null);\n // assert((record._next = null) === null);\n if (prev === null) {\n this._itHead = next;\n }\n else {\n prev._next = next;\n }\n if (next === null) {\n this._itTail = prev;\n }\n else {\n next._prev = prev;\n }\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._addToMoves = function (record, toIndex) {\n // todo(vicb)\n // assert(record._nextMoved === null);\n if (record.previousIndex === toIndex) {\n return record;\n }\n if (this._movesTail === null) {\n // todo(vicb)\n // assert(_movesHead === null);\n this._movesTail = this._movesHead = record;\n }\n else {\n // todo(vicb)\n // assert(_movesTail._nextMoved === null);\n this._movesTail = this._movesTail._nextMoved = record;\n }\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._addToRemovals = function (record) {\n if (this._unlinkedRecords === null) {\n this._unlinkedRecords = new _DuplicateMap();\n }\n this._unlinkedRecords.put(record);\n record.currentIndex = null;\n record._nextRemoved = null;\n if (this._removalsTail === null) {\n // todo(vicb)\n // assert(_removalsHead === null);\n this._removalsTail = this._removalsHead = record;\n record._prevRemoved = null;\n }\n else {\n // todo(vicb)\n // assert(_removalsTail._nextRemoved === null);\n // assert(record._nextRemoved === null);\n record._prevRemoved = this._removalsTail;\n this._removalsTail = this._removalsTail._nextRemoved = record;\n }\n return record;\n };\n /** @internal */\n DefaultIterableDiffer.prototype._addIdentityChange = function (record, item) {\n record.item = item;\n if (this._identityChangesTail === null) {\n this._identityChangesTail = this._identityChangesHead = record;\n }\n else {\n this._identityChangesTail = this._identityChangesTail._nextIdentityChange = record;\n }\n return record;\n };\n DefaultIterableDiffer.prototype.toString = function () {\n var list = [];\n this.forEachItem(function (record /** TODO #9100 */) { return list.push(record); });\n var previous = [];\n this.forEachPreviousItem(function (record /** TODO #9100 */) { return previous.push(record); });\n var additions = [];\n this.forEachAddedItem(function (record /** TODO #9100 */) { return additions.push(record); });\n var moves = [];\n this.forEachMovedItem(function (record /** TODO #9100 */) { return moves.push(record); });\n var removals = [];\n this.forEachRemovedItem(function (record /** TODO #9100 */) { return removals.push(record); });\n var identityChanges = [];\n this.forEachIdentityChange(function (record /** TODO #9100 */) { return identityChanges.push(record); });\n return 'collection: ' + list.join(', ') + '\\n' +\n 'previous: ' + previous.join(', ') + '\\n' +\n 'additions: ' + additions.join(', ') + '\\n' +\n 'moves: ' + moves.join(', ') + '\\n' +\n 'removals: ' + removals.join(', ') + '\\n' +\n 'identityChanges: ' + identityChanges.join(', ') + '\\n';\n };\n return DefaultIterableDiffer;\n }());\n /**\n * @stable\n */\n var CollectionChangeRecord = (function () {\n function CollectionChangeRecord(item, trackById) {\n this.item = item;\n this.trackById = trackById;\n this.currentIndex = null;\n this.previousIndex = null;\n /** @internal */\n this._nextPrevious = null;\n /** @internal */\n this._prev = null;\n /** @internal */\n this._next = null;\n /** @internal */\n this._prevDup = null;\n /** @internal */\n this._nextDup = null;\n /** @internal */\n this._prevRemoved = null;\n /** @internal */\n this._nextRemoved = null;\n /** @internal */\n this._nextAdded = null;\n /** @internal */\n this._nextMoved = null;\n /** @internal */\n this._nextIdentityChange = null;\n }\n CollectionChangeRecord.prototype.toString = function () {\n return this.previousIndex === this.currentIndex ? stringify(this.item) :\n stringify(this.item) + '[' +\n stringify(this.previousIndex) + '->' + stringify(this.currentIndex) + ']';\n };\n return CollectionChangeRecord;\n }());\n // A linked list of CollectionChangeRecords with the same CollectionChangeRecord.item\n var _DuplicateItemRecordList = (function () {\n function _DuplicateItemRecordList() {\n /** @internal */\n this._head = null;\n /** @internal */\n this._tail = null;\n }\n /**\n * Append the record to the list of duplicates.\n *\n * Note: by design all records in the list of duplicates hold the same value in record.item.\n */\n _DuplicateItemRecordList.prototype.add = function (record) {\n if (this._head === null) {\n this._head = this._tail = record;\n record._nextDup = null;\n record._prevDup = null;\n }\n else {\n // todo(vicb)\n // assert(record.item == _head.item ||\n // record.item is num && record.item.isNaN && _head.item is num && _head.item.isNaN);\n this._tail._nextDup = record;\n record._prevDup = this._tail;\n record._nextDup = null;\n this._tail = record;\n }\n };\n // Returns a CollectionChangeRecord having CollectionChangeRecord.trackById == trackById and\n // CollectionChangeRecord.currentIndex >= afterIndex\n _DuplicateItemRecordList.prototype.get = function (trackById, afterIndex) {\n var record;\n for (record = this._head; record !== null; record = record._nextDup) {\n if ((afterIndex === null || afterIndex < record.currentIndex) &&\n looseIdentical(record.trackById, trackById)) {\n return record;\n }\n }\n return null;\n };\n /**\n * Remove one {@link CollectionChangeRecord} from the list of duplicates.\n *\n * Returns whether the list of duplicates is empty.\n */\n _DuplicateItemRecordList.prototype.remove = function (record) {\n // todo(vicb)\n // assert(() {\n // // verify that the record being removed is in the list.\n // for (CollectionChangeRecord cursor = _head; cursor != null; cursor = cursor._nextDup) {\n // if (identical(cursor, record)) return true;\n // }\n // return false;\n //});\n var prev = record._prevDup;\n var next = record._nextDup;\n if (prev === null) {\n this._head = next;\n }\n else {\n prev._nextDup = next;\n }\n if (next === null) {\n this._tail = prev;\n }\n else {\n next._prevDup = prev;\n }\n return this._head === null;\n };\n return _DuplicateItemRecordList;\n }());\n var _DuplicateMap = (function () {\n function _DuplicateMap() {\n this.map = new Map();\n }\n _DuplicateMap.prototype.put = function (record) {\n var key = record.trackById;\n var duplicates = this.map.get(key);\n if (!duplicates) {\n duplicates = new _DuplicateItemRecordList();\n this.map.set(key, duplicates);\n }\n duplicates.add(record);\n };\n /**\n * Retrieve the `value` using key. Because the CollectionChangeRecord value may be one which we\n * have already iterated over, we use the afterIndex to pretend it is not there.\n *\n * Use case: `[a, b, c, a, a]` if we are at index `3` which is the second `a` then asking if we\n * have any more `a`s needs to return the last `a` not the first or second.\n */\n _DuplicateMap.prototype.get = function (trackById, afterIndex) {\n if (afterIndex === void 0) { afterIndex = null; }\n var key = trackById;\n var recordList = this.map.get(key);\n return recordList ? recordList.get(trackById, afterIndex) : null;\n };\n /**\n * Removes a {@link CollectionChangeRecord} from the list of duplicates.\n *\n * The list of duplicates also is removed from the map if it gets empty.\n */\n _DuplicateMap.prototype.remove = function (record) {\n var key = record.trackById;\n var recordList = this.map.get(key);\n // Remove the list of duplicates when it gets empty\n if (recordList.remove(record)) {\n this.map.delete(key);\n }\n return record;\n };\n Object.defineProperty(_DuplicateMap.prototype, \"isEmpty\", {\n get: function () { return this.map.size === 0; },\n enumerable: true,\n configurable: true\n });\n _DuplicateMap.prototype.clear = function () { this.map.clear(); };\n _DuplicateMap.prototype.toString = function () { return '_DuplicateMap(' + stringify(this.map) + ')'; };\n return _DuplicateMap;\n }());\n function getPreviousIndex(item, addRemoveOffset, moveOffsets) {\n var previousIndex = item.previousIndex;\n if (previousIndex === null)\n return previousIndex;\n var moveOffset = 0;\n if (moveOffsets && previousIndex < moveOffsets.length) {\n moveOffset = moveOffsets[previousIndex];\n }\n return previousIndex + addRemoveOffset + moveOffset;\n }\n\n var DefaultKeyValueDifferFactory = (function () {\n function DefaultKeyValueDifferFactory() {\n }\n DefaultKeyValueDifferFactory.prototype.supports = function (obj) { return obj instanceof Map || isJsObject(obj); };\n DefaultKeyValueDifferFactory.prototype.create = function (cdRef) { return new DefaultKeyValueDiffer(); };\n return DefaultKeyValueDifferFactory;\n }());\n var DefaultKeyValueDiffer = (function () {\n function DefaultKeyValueDiffer() {\n this._records = new Map();\n this._mapHead = null;\n this._previousMapHead = null;\n this._changesHead = null;\n this._changesTail = null;\n this._additionsHead = null;\n this._additionsTail = null;\n this._removalsHead = null;\n this._removalsTail = null;\n }\n Object.defineProperty(DefaultKeyValueDiffer.prototype, \"isDirty\", {\n get: function () {\n return this._additionsHead !== null || this._changesHead !== null ||\n this._removalsHead !== null;\n },\n enumerable: true,\n configurable: true\n });\n DefaultKeyValueDiffer.prototype.forEachItem = function (fn) {\n var record;\n for (record = this._mapHead; record !== null; record = record._next) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachPreviousItem = function (fn) {\n var record;\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachChangedItem = function (fn) {\n var record;\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachAddedItem = function (fn) {\n var record;\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.forEachRemovedItem = function (fn) {\n var record;\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n fn(record);\n }\n };\n DefaultKeyValueDiffer.prototype.diff = function (map) {\n if (!map) {\n map = new Map();\n }\n else if (!(map instanceof Map || isJsObject(map))) {\n throw new Error(\"Error trying to diff '\" + map + \"'\");\n }\n return this.check(map) ? this : null;\n };\n DefaultKeyValueDiffer.prototype.onDestroy = function () { };\n DefaultKeyValueDiffer.prototype.check = function (map) {\n var _this = this;\n this._reset();\n var records = this._records;\n var oldSeqRecord = this._mapHead;\n var lastOldSeqRecord = null;\n var lastNewSeqRecord = null;\n var seqChanged = false;\n this._forEach(map, function (value, key) {\n var newSeqRecord;\n if (oldSeqRecord && key === oldSeqRecord.key) {\n newSeqRecord = oldSeqRecord;\n _this._maybeAddToChanges(newSeqRecord, value);\n }\n else {\n seqChanged = true;\n if (oldSeqRecord !== null) {\n _this._removeFromSeq(lastOldSeqRecord, oldSeqRecord);\n _this._addToRemovals(oldSeqRecord);\n }\n if (records.has(key)) {\n newSeqRecord = records.get(key);\n _this._maybeAddToChanges(newSeqRecord, value);\n }\n else {\n newSeqRecord = new KeyValueChangeRecord(key);\n records.set(key, newSeqRecord);\n newSeqRecord.currentValue = value;\n _this._addToAdditions(newSeqRecord);\n }\n }\n if (seqChanged) {\n if (_this._isInRemovals(newSeqRecord)) {\n _this._removeFromRemovals(newSeqRecord);\n }\n if (lastNewSeqRecord == null) {\n _this._mapHead = newSeqRecord;\n }\n else {\n lastNewSeqRecord._next = newSeqRecord;\n }\n }\n lastOldSeqRecord = oldSeqRecord;\n lastNewSeqRecord = newSeqRecord;\n oldSeqRecord = oldSeqRecord && oldSeqRecord._next;\n });\n this._truncate(lastOldSeqRecord, oldSeqRecord);\n return this.isDirty;\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._reset = function () {\n if (this.isDirty) {\n var record = void 0;\n // Record the state of the mapping\n for (record = this._previousMapHead = this._mapHead; record !== null; record = record._next) {\n record._nextPrevious = record._next;\n }\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n record.previousValue = record.currentValue;\n }\n for (record = this._additionsHead; record != null; record = record._nextAdded) {\n record.previousValue = record.currentValue;\n }\n this._changesHead = this._changesTail = null;\n this._additionsHead = this._additionsTail = null;\n this._removalsHead = this._removalsTail = null;\n }\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._truncate = function (lastRecord, record) {\n while (record !== null) {\n if (lastRecord === null) {\n this._mapHead = null;\n }\n else {\n lastRecord._next = null;\n }\n var nextRecord = record._next;\n this._addToRemovals(record);\n lastRecord = record;\n record = nextRecord;\n }\n for (var rec = this._removalsHead; rec !== null; rec = rec._nextRemoved) {\n rec.previousValue = rec.currentValue;\n rec.currentValue = null;\n this._records.delete(rec.key);\n }\n };\n DefaultKeyValueDiffer.prototype._maybeAddToChanges = function (record, newValue) {\n if (!looseIdentical(newValue, record.currentValue)) {\n record.previousValue = record.currentValue;\n record.currentValue = newValue;\n this._addToChanges(record);\n }\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._isInRemovals = function (record) {\n return record === this._removalsHead || record._nextRemoved !== null ||\n record._prevRemoved !== null;\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._addToRemovals = function (record) {\n if (this._removalsHead === null) {\n this._removalsHead = this._removalsTail = record;\n }\n else {\n this._removalsTail._nextRemoved = record;\n record._prevRemoved = this._removalsTail;\n this._removalsTail = record;\n }\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._removeFromSeq = function (prev, record) {\n var next = record._next;\n if (prev === null) {\n this._mapHead = next;\n }\n else {\n prev._next = next;\n }\n record._next = null;\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._removeFromRemovals = function (record) {\n var prev = record._prevRemoved;\n var next = record._nextRemoved;\n if (prev === null) {\n this._removalsHead = next;\n }\n else {\n prev._nextRemoved = next;\n }\n if (next === null) {\n this._removalsTail = prev;\n }\n else {\n next._prevRemoved = prev;\n }\n record._prevRemoved = record._nextRemoved = null;\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._addToAdditions = function (record) {\n if (this._additionsHead === null) {\n this._additionsHead = this._additionsTail = record;\n }\n else {\n this._additionsTail._nextAdded = record;\n this._additionsTail = record;\n }\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._addToChanges = function (record) {\n if (this._changesHead === null) {\n this._changesHead = this._changesTail = record;\n }\n else {\n this._changesTail._nextChanged = record;\n this._changesTail = record;\n }\n };\n DefaultKeyValueDiffer.prototype.toString = function () {\n var items = [];\n var previous = [];\n var changes = [];\n var additions = [];\n var removals = [];\n var record;\n for (record = this._mapHead; record !== null; record = record._next) {\n items.push(stringify(record));\n }\n for (record = this._previousMapHead; record !== null; record = record._nextPrevious) {\n previous.push(stringify(record));\n }\n for (record = this._changesHead; record !== null; record = record._nextChanged) {\n changes.push(stringify(record));\n }\n for (record = this._additionsHead; record !== null; record = record._nextAdded) {\n additions.push(stringify(record));\n }\n for (record = this._removalsHead; record !== null; record = record._nextRemoved) {\n removals.push(stringify(record));\n }\n return 'map: ' + items.join(', ') + '\\n' +\n 'previous: ' + previous.join(', ') + '\\n' +\n 'additions: ' + additions.join(', ') + '\\n' +\n 'changes: ' + changes.join(', ') + '\\n' +\n 'removals: ' + removals.join(', ') + '\\n';\n };\n /** @internal */\n DefaultKeyValueDiffer.prototype._forEach = function (obj, fn) {\n if (obj instanceof Map) {\n obj.forEach(fn);\n }\n else {\n Object.keys(obj).forEach(function (k) { return fn(obj[k], k); });\n }\n };\n return DefaultKeyValueDiffer;\n }());\n /**\n * @stable\n */\n var KeyValueChangeRecord = (function () {\n function KeyValueChangeRecord(key) {\n this.key = key;\n this.previousValue = null;\n this.currentValue = null;\n /** @internal */\n this._nextPrevious = null;\n /** @internal */\n this._next = null;\n /** @internal */\n this._nextAdded = null;\n /** @internal */\n this._nextRemoved = null;\n /** @internal */\n this._prevRemoved = null;\n /** @internal */\n this._nextChanged = null;\n }\n KeyValueChangeRecord.prototype.toString = function () {\n return looseIdentical(this.previousValue, this.currentValue) ?\n stringify(this.key) :\n (stringify(this.key) + '[' + stringify(this.previousValue) + '->' +\n stringify(this.currentValue) + ']');\n };\n return KeyValueChangeRecord;\n }());\n\n /**\n * A repository of different iterable diffing strategies used by NgFor, NgClass, and others.\n * @stable\n */\n var IterableDiffers = (function () {\n function IterableDiffers(factories) {\n this.factories = factories;\n }\n IterableDiffers.create = function (factories, parent) {\n if (isPresent(parent)) {\n var copied = parent.factories.slice();\n factories = factories.concat(copied);\n return new IterableDiffers(factories);\n }\n else {\n return new IterableDiffers(factories);\n }\n };\n /**\n * Takes an array of {@link IterableDifferFactory} and returns a provider used to extend the\n * inherited {@link IterableDiffers} instance with the provided factories and return a new\n * {@link IterableDiffers} instance.\n *\n * The following example shows how to extend an existing list of factories,\n * which will only be applied to the injector for this component and its children.\n * This step is all that's required to make a new {@link IterableDiffer} available.\n *\n * ### Example\n *\n * ```\n * @Component({\n * viewProviders: [\n * IterableDiffers.extend([new ImmutableListDiffer()])\n * ]\n * })\n * ```\n */\n IterableDiffers.extend = function (factories) {\n return {\n provide: IterableDiffers,\n useFactory: function (parent) {\n if (!parent) {\n // Typically would occur when calling IterableDiffers.extend inside of dependencies passed\n // to\n // bootstrap(), which would override default pipes instead of extending them.\n throw new Error('Cannot extend IterableDiffers without a parent injector');\n }\n return IterableDiffers.create(factories, parent);\n },\n // Dependency technically isn't optional, but we can provide a better error message this way.\n deps: [[IterableDiffers, new SkipSelf(), new Optional()]]\n };\n };\n IterableDiffers.prototype.find = function (iterable) {\n var factory = this.factories.find(function (f) { return f.supports(iterable); });\n if (isPresent(factory)) {\n return factory;\n }\n else {\n throw new Error(\"Cannot find a differ supporting object '\" + iterable + \"' of type '\" + getTypeNameForDebugging(iterable) + \"'\");\n }\n };\n return IterableDiffers;\n }());\n\n /**\n * A repository of different Map diffing strategies used by NgClass, NgStyle, and others.\n * @stable\n */\n var KeyValueDiffers = (function () {\n function KeyValueDiffers(factories) {\n this.factories = factories;\n }\n KeyValueDiffers.create = function (factories, parent) {\n if (isPresent(parent)) {\n var copied = parent.factories.slice();\n factories = factories.concat(copied);\n return new KeyValueDiffers(factories);\n }\n else {\n return new KeyValueDiffers(factories);\n }\n };\n /**\n * Takes an array of {@link KeyValueDifferFactory} and returns a provider used to extend the\n * inherited {@link KeyValueDiffers} instance with the provided factories and return a new\n * {@link KeyValueDiffers} instance.\n *\n * The following example shows how to extend an existing list of factories,\n * which will only be applied to the injector for this component and its children.\n * This step is all that's required to make a new {@link KeyValueDiffer} available.\n *\n * ### Example\n *\n * ```\n * @Component({\n * viewProviders: [\n * KeyValueDiffers.extend([new ImmutableMapDiffer()])\n * ]\n * })\n * ```\n */\n KeyValueDiffers.extend = function (factories) {\n return {\n provide: KeyValueDiffers,\n useFactory: function (parent) {\n if (!parent) {\n // Typically would occur when calling KeyValueDiffers.extend inside of dependencies passed\n // to\n // bootstrap(), which would override default pipes instead of extending them.\n throw new Error('Cannot extend KeyValueDiffers without a parent injector');\n }\n return KeyValueDiffers.create(factories, parent);\n },\n // Dependency technically isn't optional, but we can provide a better error message this way.\n deps: [[KeyValueDiffers, new SkipSelf(), new Optional()]]\n };\n };\n KeyValueDiffers.prototype.find = function (kv) {\n var factory = this.factories.find(function (f) { return f.supports(kv); });\n if (isPresent(factory)) {\n return factory;\n }\n else {\n throw new Error(\"Cannot find a differ supporting object '\" + kv + \"'\");\n }\n };\n return KeyValueDiffers;\n }());\n\n var UNINITIALIZED = {\n toString: function () { return 'CD_INIT_VALUE'; }\n };\n function devModeEqual(a, b) {\n if (isListLikeIterable(a) && isListLikeIterable(b)) {\n return areIterablesEqual(a, b, devModeEqual);\n }\n else if (!isListLikeIterable(a) && !isPrimitive(a) && !isListLikeIterable(b) && !isPrimitive(b)) {\n return true;\n }\n else {\n return looseIdentical(a, b);\n }\n }\n /**\n * Indicates that the result of a {@link Pipe} transformation has changed even though the\n * reference\n * has not changed.\n *\n * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.\n *\n * Example:\n *\n * ```\n * if (this._latestValue === this._latestReturnedValue) {\n * return this._latestReturnedValue;\n * } else {\n * this._latestReturnedValue = this._latestValue;\n * return WrappedValue.wrap(this._latestValue); // this will force update\n * }\n * ```\n * @stable\n */\n var WrappedValue = (function () {\n function WrappedValue(wrapped) {\n this.wrapped = wrapped;\n }\n WrappedValue.wrap = function (value) { return new WrappedValue(value); };\n return WrappedValue;\n }());\n /**\n * Helper class for unwrapping WrappedValue s\n */\n var ValueUnwrapper = (function () {\n function ValueUnwrapper() {\n this.hasWrappedValue = false;\n }\n ValueUnwrapper.prototype.unwrap = function (value) {\n if (value instanceof WrappedValue) {\n this.hasWrappedValue = true;\n return value.wrapped;\n }\n return value;\n };\n ValueUnwrapper.prototype.reset = function () { this.hasWrappedValue = false; };\n return ValueUnwrapper;\n }());\n /**\n * Represents a basic change from a previous to a new value.\n * @stable\n */\n var SimpleChange = (function () {\n function SimpleChange(previousValue, currentValue) {\n this.previousValue = previousValue;\n this.currentValue = currentValue;\n }\n /**\n * Check whether the new value is the first value assigned.\n */\n SimpleChange.prototype.isFirstChange = function () { return this.previousValue === UNINITIALIZED; };\n return SimpleChange;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @stable\n */\n var ChangeDetectorRef = (function () {\n function ChangeDetectorRef() {\n }\n return ChangeDetectorRef;\n }());\n\n /**\n * Structural diffing for `Object`s and `Map`s.\n */\n var keyValDiff = [new DefaultKeyValueDifferFactory()];\n /**\n * Structural diffing for `Iterable` types such as `Array`s.\n */\n var iterableDiff = [new DefaultIterableDifferFactory()];\n var defaultIterableDiffers = new IterableDiffers(iterableDiff);\n var defaultKeyValueDiffers = new KeyValueDiffers(keyValDiff);\n\n /**\n * @experimental\n */\n // TODO (matsko): add typing for the animation function\n var RenderComponentType = (function () {\n function RenderComponentType(id, templateUrl, slotCount, encapsulation, styles, animations) {\n this.id = id;\n this.templateUrl = templateUrl;\n this.slotCount = slotCount;\n this.encapsulation = encapsulation;\n this.styles = styles;\n this.animations = animations;\n }\n return RenderComponentType;\n }());\n var RenderDebugInfo = (function () {\n function RenderDebugInfo() {\n }\n Object.defineProperty(RenderDebugInfo.prototype, \"injector\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"component\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"providerTokens\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"references\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"context\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RenderDebugInfo.prototype, \"source\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return RenderDebugInfo;\n }());\n /**\n * @experimental\n */\n var Renderer = (function () {\n function Renderer() {\n }\n return Renderer;\n }());\n /**\n * Injectable service that provides a low-level interface for modifying the UI.\n *\n * Use this service to bypass Angular's templating and make custom UI changes that can't be\n * expressed declaratively. For example if you need to set a property or an attribute whose name is\n * not statically known, use {@link #setElementProperty} or {@link #setElementAttribute}\n * respectively.\n *\n * If you are implementing a custom renderer, you must implement this interface.\n *\n * The default Renderer implementation is `DomRenderer`. Also available is `WebWorkerRenderer`.\n * @experimental\n */\n var RootRenderer = (function () {\n function RootRenderer() {\n }\n return RootRenderer;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * A SecurityContext marks a location that has dangerous security implications, e.g. a DOM property\n * like `innerHTML` that could cause Cross Site Scripting (XSS) security bugs when improperly\n * handled.\n *\n * See DomSanitizer for more details on security in Angular applications.\n *\n * @stable\n */\n exports.SecurityContext;\n (function (SecurityContext) {\n SecurityContext[SecurityContext[\"NONE\"] = 0] = \"NONE\";\n SecurityContext[SecurityContext[\"HTML\"] = 1] = \"HTML\";\n SecurityContext[SecurityContext[\"STYLE\"] = 2] = \"STYLE\";\n SecurityContext[SecurityContext[\"SCRIPT\"] = 3] = \"SCRIPT\";\n SecurityContext[SecurityContext[\"URL\"] = 4] = \"URL\";\n SecurityContext[SecurityContext[\"RESOURCE_URL\"] = 5] = \"RESOURCE_URL\";\n })(exports.SecurityContext || (exports.SecurityContext = {}));\n /**\n * Sanitizer is used by the views to sanitize potentially dangerous values.\n *\n * @stable\n */\n var Sanitizer = (function () {\n function Sanitizer() {\n }\n return Sanitizer;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$6 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * An error thrown if application changes model breaking the top-down data flow.\n *\n * This exception is only thrown in dev mode.\n *\n * <!-- TODO: Add a link once the dev mode option is configurable -->\n *\n * ### Example\n *\n * ```typescript\n * @Component({\n * selector: 'parent',\n * template: '<child [prop]=\"parentProp\"></child>',\n * })\n * class Parent {\n * parentProp = 'init';\n * }\n *\n * @Directive({selector: 'child', inputs: ['prop']})\n * class Child {\n * constructor(public parent: Parent) {}\n *\n * set prop(v) {\n * // this updates the parent property, which is disallowed during change detection\n * // this will result in ExpressionChangedAfterItHasBeenCheckedError\n * this.parent.parentProp = 'updated';\n * }\n * }\n * ```\n * @stable\n */\n var ExpressionChangedAfterItHasBeenCheckedError = (function (_super) {\n __extends$6(ExpressionChangedAfterItHasBeenCheckedError, _super);\n function ExpressionChangedAfterItHasBeenCheckedError(oldValue, currValue) {\n var msg = \"Expression has changed after it was checked. Previous value: '\" + oldValue + \"'. Current value: '\" + currValue + \"'.\";\n if (oldValue === UNINITIALIZED) {\n msg +=\n \" It seems like the view has been created after its parent and its children have been dirty checked.\" +\n \" Has it been created in a change detection hook ?\";\n }\n _super.call(this, msg);\n }\n return ExpressionChangedAfterItHasBeenCheckedError;\n }(BaseError));\n /**\n * Thrown when an exception was raised during view creation, change detection or destruction.\n *\n * This error wraps the original exception to attach additional contextual information that can\n * be useful for debugging.\n * @stable\n */\n var ViewWrappedError = (function (_super) {\n __extends$6(ViewWrappedError, _super);\n function ViewWrappedError(originalError, context) {\n _super.call(this, \"Error in \" + context.source, originalError);\n this.context = context;\n }\n return ViewWrappedError;\n }(WrappedError));\n /**\n * Thrown when a destroyed view is used.\n *\n * This error indicates a bug in the framework.\n *\n * This is an internal Angular error.\n * @stable\n */\n var ViewDestroyedError = (function (_super) {\n __extends$6(ViewDestroyedError, _super);\n function ViewDestroyedError(details) {\n _super.call(this, \"Attempt to use a destroyed view: \" + details);\n }\n return ViewDestroyedError;\n }(BaseError));\n\n var ViewUtils = (function () {\n function ViewUtils(_renderer, sanitizer) {\n this._renderer = _renderer;\n this._nextCompTypeId = 0;\n this.sanitizer = sanitizer;\n }\n /** @internal */\n ViewUtils.prototype.renderComponent = function (renderComponentType) {\n return this._renderer.renderComponent(renderComponentType);\n };\n ViewUtils.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n ViewUtils.ctorParameters = [\n { type: RootRenderer, },\n { type: Sanitizer, },\n ];\n return ViewUtils;\n }());\n var nextRenderComponentTypeId = 0;\n function createRenderComponentType(templateUrl, slotCount, encapsulation, styles, animations) {\n return new RenderComponentType(\"\" + nextRenderComponentTypeId++, templateUrl, slotCount, encapsulation, styles, animations);\n }\n function addToArray(e, array) {\n array.push(e);\n }\n function interpolate(valueCount, constAndInterp) {\n var result = '';\n for (var i = 0; i < valueCount * 2; i = i + 2) {\n result = result + constAndInterp[i] + _toStringWithNull(constAndInterp[i + 1]);\n }\n return result + constAndInterp[valueCount * 2];\n }\n function inlineInterpolate(valueCount, c0, a1, c1, a2, c2, a3, c3, a4, c4, a5, c5, a6, c6, a7, c7, a8, c8, a9, c9) {\n switch (valueCount) {\n case 1:\n return c0 + _toStringWithNull(a1) + c1;\n case 2:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2;\n case 3:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3;\n case 4:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4;\n case 5:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5;\n case 6:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) + c6;\n case 7:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n c6 + _toStringWithNull(a7) + c7;\n case 8:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8;\n case 9:\n return c0 + _toStringWithNull(a1) + c1 + _toStringWithNull(a2) + c2 + _toStringWithNull(a3) +\n c3 + _toStringWithNull(a4) + c4 + _toStringWithNull(a5) + c5 + _toStringWithNull(a6) +\n c6 + _toStringWithNull(a7) + c7 + _toStringWithNull(a8) + c8 + _toStringWithNull(a9) + c9;\n default:\n throw new Error(\"Does not support more than 9 expressions\");\n }\n }\n function _toStringWithNull(v) {\n return v != null ? v.toString() : '';\n }\n function checkBinding(throwOnChange, oldValue, newValue) {\n if (throwOnChange) {\n if (!devModeEqual(oldValue, newValue)) {\n throw new ExpressionChangedAfterItHasBeenCheckedError(oldValue, newValue);\n }\n return false;\n }\n else {\n return !looseIdentical(oldValue, newValue);\n }\n }\n function castByValue(input, value) {\n return input;\n }\n var EMPTY_ARRAY = [];\n var EMPTY_MAP = {};\n function pureProxy1(fn) {\n var result;\n var v0 = UNINITIALIZED;\n return function (p0) {\n if (!looseIdentical(v0, p0)) {\n v0 = p0;\n result = fn(p0);\n }\n return result;\n };\n }\n function pureProxy2(fn) {\n var result;\n var v0 = UNINITIALIZED;\n var v1 = UNINITIALIZED;\n return function (p0, p1) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1)) {\n v0 = p0;\n v1 = p1;\n result = fn(p0, p1);\n }\n return result;\n };\n }\n function pureProxy3(fn) {\n var result;\n var v0 = UNINITIALIZED;\n var v1 = UNINITIALIZED;\n var v2 = UNINITIALIZED;\n return function (p0, p1, p2) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n result = fn(p0, p1, p2);\n }\n return result;\n };\n }\n function pureProxy4(fn) {\n var result;\n var v0, v1, v2, v3;\n v0 = v1 = v2 = v3 = UNINITIALIZED;\n return function (p0, p1, p2, p3) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n result = fn(p0, p1, p2, p3);\n }\n return result;\n };\n }\n function pureProxy5(fn) {\n var result;\n var v0, v1, v2, v3, v4;\n v0 = v1 = v2 = v3 = v4 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n result = fn(p0, p1, p2, p3, p4);\n }\n return result;\n };\n }\n function pureProxy6(fn) {\n var result;\n var v0, v1, v2, v3, v4, v5;\n v0 = v1 = v2 = v3 = v4 = v5 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4, p5) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n result = fn(p0, p1, p2, p3, p4, p5);\n }\n return result;\n };\n }\n function pureProxy7(fn) {\n var result;\n var v0, v1, v2, v3, v4, v5, v6;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4, p5, p6) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n !looseIdentical(v6, p6)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n result = fn(p0, p1, p2, p3, p4, p5, p6);\n }\n return result;\n };\n }\n function pureProxy8(fn) {\n var result;\n var v0, v1, v2, v3, v4, v5, v6, v7;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4, p5, p6, p7) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n !looseIdentical(v6, p6) || !looseIdentical(v7, p7)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7);\n }\n return result;\n };\n }\n function pureProxy9(fn) {\n var result;\n var v0, v1, v2, v3, v4, v5, v6, v7, v8;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4, p5, p6, p7, p8) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n !looseIdentical(v6, p6) || !looseIdentical(v7, p7) || !looseIdentical(v8, p8)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n v8 = p8;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8);\n }\n return result;\n };\n }\n function pureProxy10(fn) {\n var result;\n var v0, v1, v2, v3, v4, v5, v6, v7, v8, v9;\n v0 = v1 = v2 = v3 = v4 = v5 = v6 = v7 = v8 = v9 = UNINITIALIZED;\n return function (p0, p1, p2, p3, p4, p5, p6, p7, p8, p9) {\n if (!looseIdentical(v0, p0) || !looseIdentical(v1, p1) || !looseIdentical(v2, p2) ||\n !looseIdentical(v3, p3) || !looseIdentical(v4, p4) || !looseIdentical(v5, p5) ||\n !looseIdentical(v6, p6) || !looseIdentical(v7, p7) || !looseIdentical(v8, p8) ||\n !looseIdentical(v9, p9)) {\n v0 = p0;\n v1 = p1;\n v2 = p2;\n v3 = p3;\n v4 = p4;\n v5 = p5;\n v6 = p6;\n v7 = p7;\n v8 = p8;\n v9 = p9;\n result = fn(p0, p1, p2, p3, p4, p5, p6, p7, p8, p9);\n }\n return result;\n };\n }\n function setBindingDebugInfoForChanges(renderer, el, changes) {\n Object.keys(changes).forEach(function (propName) {\n setBindingDebugInfo(renderer, el, propName, changes[propName].currentValue);\n });\n }\n function setBindingDebugInfo(renderer, el, propName, value) {\n try {\n renderer.setBindingDebugInfo(el, \"ng-reflect-\" + camelCaseToDashCase(propName), value ? value.toString() : null);\n }\n catch (e) {\n renderer.setBindingDebugInfo(el, \"ng-reflect-\" + camelCaseToDashCase(propName), '[ERROR] Exception while trying to serialize the value');\n }\n }\n var CAMEL_CASE_REGEXP = /([A-Z])/g;\n function camelCaseToDashCase(input) {\n return input.replace(CAMEL_CASE_REGEXP, function () {\n var m = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n m[_i - 0] = arguments[_i];\n }\n return '-' + m[1].toLowerCase();\n });\n }\n function createRenderElement(renderer, parentElement, name, attrs, debugInfo) {\n var el = renderer.createElement(parentElement, name, debugInfo);\n for (var i = 0; i < attrs.length; i += 2) {\n renderer.setElementAttribute(el, attrs.get(i), attrs.get(i + 1));\n }\n return el;\n }\n function selectOrCreateRenderHostElement(renderer, elementName, attrs, rootSelectorOrNode, debugInfo) {\n var hostElement;\n if (isPresent(rootSelectorOrNode)) {\n hostElement = renderer.selectRootElement(rootSelectorOrNode, debugInfo);\n for (var i = 0; i < attrs.length; i += 2) {\n renderer.setElementAttribute(hostElement, attrs.get(i), attrs.get(i + 1));\n }\n }\n else {\n hostElement = createRenderElement(renderer, null, elementName, attrs, debugInfo);\n }\n return hostElement;\n }\n function subscribeToRenderElement(view, element, eventNamesAndTargets, listener) {\n var disposables = createEmptyInlineArray(eventNamesAndTargets.length / 2);\n for (var i = 0; i < eventNamesAndTargets.length; i += 2) {\n var eventName = eventNamesAndTargets.get(i);\n var eventTarget = eventNamesAndTargets.get(i + 1);\n var disposable = void 0;\n if (eventTarget) {\n disposable = view.renderer.listenGlobal(eventTarget, eventName, listener.bind(view, eventTarget + \":\" + eventName));\n }\n else {\n disposable = view.renderer.listen(element, eventName, listener.bind(view, eventName));\n }\n disposables.set(i / 2, disposable);\n }\n return disposeInlineArray.bind(null, disposables);\n }\n function disposeInlineArray(disposables) {\n for (var i = 0; i < disposables.length; i++) {\n disposables.get(i)();\n }\n }\n function noop() { }\n function createEmptyInlineArray(length) {\n var ctor;\n if (length <= 2) {\n ctor = InlineArray2;\n }\n else if (length <= 4) {\n ctor = InlineArray4;\n }\n else if (length <= 8) {\n ctor = InlineArray8;\n }\n else if (length <= 16) {\n ctor = InlineArray16;\n }\n else {\n ctor = InlineArrayDynamic;\n }\n return new ctor(length);\n }\n var InlineArray0 = (function () {\n function InlineArray0() {\n this.length = 0;\n }\n InlineArray0.prototype.get = function (index) { return undefined; };\n InlineArray0.prototype.set = function (index, value) { };\n return InlineArray0;\n }());\n var InlineArray2 = (function () {\n function InlineArray2(length, _v0, _v1) {\n this.length = length;\n this._v0 = _v0;\n this._v1 = _v1;\n }\n InlineArray2.prototype.get = function (index) {\n switch (index) {\n case 0:\n return this._v0;\n case 1:\n return this._v1;\n default:\n return undefined;\n }\n };\n InlineArray2.prototype.set = function (index, value) {\n switch (index) {\n case 0:\n this._v0 = value;\n break;\n case 1:\n this._v1 = value;\n break;\n }\n };\n return InlineArray2;\n }());\n var InlineArray4 = (function () {\n function InlineArray4(length, _v0, _v1, _v2, _v3) {\n this.length = length;\n this._v0 = _v0;\n this._v1 = _v1;\n this._v2 = _v2;\n this._v3 = _v3;\n }\n InlineArray4.prototype.get = function (index) {\n switch (index) {\n case 0:\n return this._v0;\n case 1:\n return this._v1;\n case 2:\n return this._v2;\n case 3:\n return this._v3;\n default:\n return undefined;\n }\n };\n InlineArray4.prototype.set = function (index, value) {\n switch (index) {\n case 0:\n this._v0 = value;\n break;\n case 1:\n this._v1 = value;\n break;\n case 2:\n this._v2 = value;\n break;\n case 3:\n this._v3 = value;\n break;\n }\n };\n return InlineArray4;\n }());\n var InlineArray8 = (function () {\n function InlineArray8(length, _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7) {\n this.length = length;\n this._v0 = _v0;\n this._v1 = _v1;\n this._v2 = _v2;\n this._v3 = _v3;\n this._v4 = _v4;\n this._v5 = _v5;\n this._v6 = _v6;\n this._v7 = _v7;\n }\n InlineArray8.prototype.get = function (index) {\n switch (index) {\n case 0:\n return this._v0;\n case 1:\n return this._v1;\n case 2:\n return this._v2;\n case 3:\n return this._v3;\n case 4:\n return this._v4;\n case 5:\n return this._v5;\n case 6:\n return this._v6;\n case 7:\n return this._v7;\n default:\n return undefined;\n }\n };\n InlineArray8.prototype.set = function (index, value) {\n switch (index) {\n case 0:\n this._v0 = value;\n break;\n case 1:\n this._v1 = value;\n break;\n case 2:\n this._v2 = value;\n break;\n case 3:\n this._v3 = value;\n break;\n case 4:\n this._v4 = value;\n break;\n case 5:\n this._v5 = value;\n break;\n case 6:\n this._v6 = value;\n break;\n case 7:\n this._v7 = value;\n break;\n }\n };\n return InlineArray8;\n }());\n var InlineArray16 = (function () {\n function InlineArray16(length, _v0, _v1, _v2, _v3, _v4, _v5, _v6, _v7, _v8, _v9, _v10, _v11, _v12, _v13, _v14, _v15) {\n this.length = length;\n this._v0 = _v0;\n this._v1 = _v1;\n this._v2 = _v2;\n this._v3 = _v3;\n this._v4 = _v4;\n this._v5 = _v5;\n this._v6 = _v6;\n this._v7 = _v7;\n this._v8 = _v8;\n this._v9 = _v9;\n this._v10 = _v10;\n this._v11 = _v11;\n this._v12 = _v12;\n this._v13 = _v13;\n this._v14 = _v14;\n this._v15 = _v15;\n }\n InlineArray16.prototype.get = function (index) {\n switch (index) {\n case 0:\n return this._v0;\n case 1:\n return this._v1;\n case 2:\n return this._v2;\n case 3:\n return this._v3;\n case 4:\n return this._v4;\n case 5:\n return this._v5;\n case 6:\n return this._v6;\n case 7:\n return this._v7;\n case 8:\n return this._v8;\n case 9:\n return this._v9;\n case 10:\n return this._v10;\n case 11:\n return this._v11;\n case 12:\n return this._v12;\n case 13:\n return this._v13;\n case 14:\n return this._v14;\n case 15:\n return this._v15;\n default:\n return undefined;\n }\n };\n InlineArray16.prototype.set = function (index, value) {\n switch (index) {\n case 0:\n this._v0 = value;\n break;\n case 1:\n this._v1 = value;\n break;\n case 2:\n this._v2 = value;\n break;\n case 3:\n this._v3 = value;\n break;\n case 4:\n this._v4 = value;\n break;\n case 5:\n this._v5 = value;\n break;\n case 6:\n this._v6 = value;\n break;\n case 7:\n this._v7 = value;\n break;\n case 8:\n this._v8 = value;\n break;\n case 9:\n this._v9 = value;\n break;\n case 10:\n this._v10 = value;\n break;\n case 11:\n this._v11 = value;\n break;\n case 12:\n this._v12 = value;\n break;\n case 13:\n this._v13 = value;\n break;\n case 14:\n this._v14 = value;\n break;\n case 15:\n this._v15 = value;\n break;\n }\n };\n return InlineArray16;\n }());\n var InlineArrayDynamic = (function () {\n // Note: We still take the length argument so this class can be created\n // in the same ways as the other classes!\n function InlineArrayDynamic(length) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n this.length = length;\n this._values = values;\n }\n InlineArrayDynamic.prototype.get = function (index) { return this._values[index]; };\n InlineArrayDynamic.prototype.set = function (index, value) { this._values[index] = value; };\n return InlineArrayDynamic;\n }());\n var EMPTY_INLINE_ARRAY = new InlineArray0();\n\n\n var view_utils = Object.freeze({\n ViewUtils: ViewUtils,\n createRenderComponentType: createRenderComponentType,\n addToArray: addToArray,\n interpolate: interpolate,\n inlineInterpolate: inlineInterpolate,\n checkBinding: checkBinding,\n castByValue: castByValue,\n EMPTY_ARRAY: EMPTY_ARRAY,\n EMPTY_MAP: EMPTY_MAP,\n pureProxy1: pureProxy1,\n pureProxy2: pureProxy2,\n pureProxy3: pureProxy3,\n pureProxy4: pureProxy4,\n pureProxy5: pureProxy5,\n pureProxy6: pureProxy6,\n pureProxy7: pureProxy7,\n pureProxy8: pureProxy8,\n pureProxy9: pureProxy9,\n pureProxy10: pureProxy10,\n setBindingDebugInfoForChanges: setBindingDebugInfoForChanges,\n setBindingDebugInfo: setBindingDebugInfo,\n createRenderElement: createRenderElement,\n selectOrCreateRenderHostElement: selectOrCreateRenderHostElement,\n subscribeToRenderElement: subscribeToRenderElement,\n noop: noop,\n InlineArray2: InlineArray2,\n InlineArray4: InlineArray4,\n InlineArray8: InlineArray8,\n InlineArray16: InlineArray16,\n InlineArrayDynamic: InlineArrayDynamic,\n EMPTY_INLINE_ARRAY: EMPTY_INLINE_ARRAY\n });\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Represents an instance of a Component created via a {@link ComponentFactory}.\n *\n * `ComponentRef` provides access to the Component Instance as well other objects related to this\n * Component Instance and allows you to destroy the Component Instance via the {@link #destroy}\n * method.\n * @stable\n */\n var ComponentRef = (function () {\n function ComponentRef() {\n }\n Object.defineProperty(ComponentRef.prototype, \"location\", {\n /**\n * Location of the Host Element of this Component Instance.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"injector\", {\n /**\n * The injector on which the component instance exists.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"instance\", {\n /**\n * The instance of the Component.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef.prototype, \"hostView\", {\n /**\n * The {@link ViewRef} of the Host View of this Component instance.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef.prototype, \"changeDetectorRef\", {\n /**\n * The {@link ChangeDetectorRef} of the Component instance.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef.prototype, \"componentType\", {\n /**\n * The component type.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return ComponentRef;\n }());\n var ComponentRef_ = (function (_super) {\n __extends$5(ComponentRef_, _super);\n function ComponentRef_(_index, _parentView, _nativeElement, _component) {\n _super.call(this);\n this._index = _index;\n this._parentView = _parentView;\n this._nativeElement = _nativeElement;\n this._component = _component;\n }\n Object.defineProperty(ComponentRef_.prototype, \"location\", {\n get: function () { return new ElementRef(this._nativeElement); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef_.prototype, \"injector\", {\n get: function () { return this._parentView.injector(this._index); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ComponentRef_.prototype, \"instance\", {\n get: function () { return this._component; },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"hostView\", {\n get: function () { return this._parentView.ref; },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"changeDetectorRef\", {\n get: function () { return this._parentView.ref; },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ComponentRef_.prototype, \"componentType\", {\n get: function () { return this._component.constructor; },\n enumerable: true,\n configurable: true\n });\n ComponentRef_.prototype.destroy = function () { this._parentView.detachAndDestroy(); };\n ComponentRef_.prototype.onDestroy = function (callback) { this.hostView.onDestroy(callback); };\n return ComponentRef_;\n }(ComponentRef));\n /**\n * @stable\n */\n var ComponentFactory = (function () {\n function ComponentFactory(selector, _viewClass, _componentType) {\n this.selector = selector;\n this._viewClass = _viewClass;\n this._componentType = _componentType;\n }\n Object.defineProperty(ComponentFactory.prototype, \"componentType\", {\n get: function () { return this._componentType; },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates a new component.\n */\n ComponentFactory.prototype.create = function (injector, projectableNodes, rootSelectorOrNode) {\n if (projectableNodes === void 0) { projectableNodes = null; }\n if (rootSelectorOrNode === void 0) { rootSelectorOrNode = null; }\n var vu = injector.get(ViewUtils);\n if (!projectableNodes) {\n projectableNodes = [];\n }\n var hostView = new this._viewClass(vu, null, null, null);\n return hostView.createHostView(rootSelectorOrNode, injector, projectableNodes);\n };\n return ComponentFactory;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$7 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @stable\n */\n var NoComponentFactoryError = (function (_super) {\n __extends$7(NoComponentFactoryError, _super);\n function NoComponentFactoryError(component) {\n _super.call(this, \"No component factory found for \" + stringify(component));\n this.component = component;\n }\n return NoComponentFactoryError;\n }(BaseError));\n var _NullComponentFactoryResolver = (function () {\n function _NullComponentFactoryResolver() {\n }\n _NullComponentFactoryResolver.prototype.resolveComponentFactory = function (component) {\n throw new NoComponentFactoryError(component);\n };\n return _NullComponentFactoryResolver;\n }());\n /**\n * @stable\n */\n var ComponentFactoryResolver = (function () {\n function ComponentFactoryResolver() {\n }\n ComponentFactoryResolver.NULL = new _NullComponentFactoryResolver();\n return ComponentFactoryResolver;\n }());\n var CodegenComponentFactoryResolver = (function () {\n function CodegenComponentFactoryResolver(factories, _parent) {\n this._parent = _parent;\n this._factories = new Map();\n for (var i = 0; i < factories.length; i++) {\n var factory = factories[i];\n this._factories.set(factory.componentType, factory);\n }\n }\n CodegenComponentFactoryResolver.prototype.resolveComponentFactory = function (component) {\n var result = this._factories.get(component);\n if (!result) {\n result = this._parent.resolveComponentFactory(component);\n }\n return result;\n };\n return CodegenComponentFactoryResolver;\n }());\n\n var trace;\n var events;\n function detectWTF() {\n var wtf = global$1['wtf'];\n if (wtf) {\n trace = wtf['trace'];\n if (trace) {\n events = trace['events'];\n return true;\n }\n }\n return false;\n }\n function createScope(signature, flags) {\n if (flags === void 0) { flags = null; }\n return events.createScope(signature, flags);\n }\n function leave(scope, returnValue) {\n trace.leaveScope(scope, returnValue);\n return returnValue;\n }\n function startTimeRange(rangeType, action) {\n return trace.beginTimeRange(rangeType, action);\n }\n function endTimeRange(range) {\n trace.endTimeRange(range);\n }\n\n /**\n * True if WTF is enabled.\n */\n var wtfEnabled = detectWTF();\n function noopScope(arg0, arg1) {\n return null;\n }\n /**\n * Create trace scope.\n *\n * Scopes must be strictly nested and are analogous to stack frames, but\n * do not have to follow the stack frames. Instead it is recommended that they follow logical\n * nesting. You may want to use\n * [Event\n * Signatures](http://google.github.io/tracing-framework/instrumenting-code.html#custom-events)\n * as they are defined in WTF.\n *\n * Used to mark scope entry. The return value is used to leave the scope.\n *\n * var myScope = wtfCreateScope('MyClass#myMethod(ascii someVal)');\n *\n * someMethod() {\n * var s = myScope('Foo'); // 'Foo' gets stored in tracing UI\n * // DO SOME WORK HERE\n * return wtfLeave(s, 123); // Return value 123\n * }\n *\n * Note, adding try-finally block around the work to ensure that `wtfLeave` gets called can\n * negatively impact the performance of your application. For this reason we recommend that\n * you don't add them to ensure that `wtfLeave` gets called. In production `wtfLeave` is a noop and\n * so try-finally block has no value. When debugging perf issues, skipping `wtfLeave`, do to\n * exception, will produce incorrect trace, but presence of exception signifies logic error which\n * needs to be fixed before the app should be profiled. Add try-finally only when you expect that\n * an exception is expected during normal execution while profiling.\n *\n * @experimental\n */\n var wtfCreateScope = wtfEnabled ? createScope : function (signature, flags) { return noopScope; };\n /**\n * Used to mark end of Scope.\n *\n * - `scope` to end.\n * - `returnValue` (optional) to be passed to the WTF.\n *\n * Returns the `returnValue for easy chaining.\n * @experimental\n */\n var wtfLeave = wtfEnabled ? leave : function (s, r) { return r; };\n /**\n * Used to mark Async start. Async are similar to scope but they don't have to be strictly nested.\n * The return value is used in the call to [endAsync]. Async ranges only work if WTF has been\n * enabled.\n *\n * someMethod() {\n * var s = wtfStartTimeRange('HTTP:GET', 'some.url');\n * var future = new Future.delay(5).then((_) {\n * wtfEndTimeRange(s);\n * });\n * }\n * @experimental\n */\n var wtfStartTimeRange = wtfEnabled ? startTimeRange : function (rangeType, action) { return null; };\n /**\n * Ends a async time range operation.\n * [range] is the return value from [wtfStartTimeRange] Async ranges only work if WTF has been\n * enabled.\n * @experimental\n */\n var wtfEndTimeRange = wtfEnabled ? endTimeRange : function (r) { return null; };\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$8 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Use by directives and components to emit custom Events.\n *\n * ### Examples\n *\n * In the following example, `Zippy` alternatively emits `open` and `close` events when its\n * title gets clicked:\n *\n * ```\n * @Component({\n * selector: 'zippy',\n * template: `\n * <div class=\"zippy\">\n * <div (click)=\"toggle()\">Toggle</div>\n * <div [hidden]=\"!visible\">\n * <ng-content></ng-content>\n * </div>\n * </div>`})\n * export class Zippy {\n * visible: boolean = true;\n * @Output() open: EventEmitter<any> = new EventEmitter();\n * @Output() close: EventEmitter<any> = new EventEmitter();\n *\n * toggle() {\n * this.visible = !this.visible;\n * if (this.visible) {\n * this.open.emit(null);\n * } else {\n * this.close.emit(null);\n * }\n * }\n * }\n * ```\n *\n * The events payload can be accessed by the parameter `$event` on the components output event\n * handler:\n *\n * ```\n * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n * ```\n *\n * Uses Rx.Observable but provides an adapter to make it work as specified here:\n * https://github.com/jhusain/observable-spec\n *\n * Once a reference implementation of the spec is available, switch to it.\n * @stable\n */\n var EventEmitter = (function (_super) {\n __extends$8(EventEmitter, _super);\n /**\n * Creates an instance of [EventEmitter], which depending on [isAsync],\n * delivers events synchronously or asynchronously.\n */\n function EventEmitter(isAsync) {\n if (isAsync === void 0) { isAsync = false; }\n _super.call(this);\n this.__isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\n EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function (err) { return null; };\n var completeFn = function () { return null; };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this.__isAsync ? function (value) {\n setTimeout(function () { return generatorOrNext.next(value); });\n } : function (value) { generatorOrNext.next(value); };\n if (generatorOrNext.error) {\n errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\n function (err) { generatorOrNext.error(err); };\n }\n if (generatorOrNext.complete) {\n completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\n function () { generatorOrNext.complete(); };\n }\n }\n else {\n schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\n function (value) { generatorOrNext(value); };\n if (error) {\n errorFn =\n this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\n }\n if (complete) {\n completeFn =\n this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n }(rxjs_Subject.Subject));\n\n /**\n * An injectable service for executing work inside or outside of the Angular zone.\n *\n * The most common use of this service is to optimize performance when starting a work consisting of\n * one or more asynchronous tasks that don't require UI updates or error handling to be handled by\n * Angular. Such tasks can be kicked off via {@link runOutsideAngular} and if needed, these tasks\n * can reenter the Angular zone via {@link run}.\n *\n * <!-- TODO: add/fix links to:\n * - docs explaining zones and the use of zones in Angular and change-detection\n * - link to runOutsideAngular/run (throughout this file!)\n * -->\n *\n * ### Example\n * ```\n * import {Component, NgZone} from '@angular/core';\n * import {NgIf} from '@angular/common';\n *\n * @Component({\n * selector: 'ng-zone-demo'.\n * template: `\n * <h2>Demo: NgZone</h2>\n *\n * <p>Progress: {{progress}}%</p>\n * <p *ngIf=\"progress >= 100\">Done processing {{label}} of Angular zone!</p>\n *\n * <button (click)=\"processWithinAngularZone()\">Process within Angular zone</button>\n * <button (click)=\"processOutsideOfAngularZone()\">Process outside of Angular zone</button>\n * `,\n * })\n * export class NgZoneDemo {\n * progress: number = 0;\n * label: string;\n *\n * constructor(private _ngZone: NgZone) {}\n *\n * // Loop inside the Angular zone\n * // so the UI DOES refresh after each setTimeout cycle\n * processWithinAngularZone() {\n * this.label = 'inside';\n * this.progress = 0;\n * this._increaseProgress(() => console.log('Inside Done!'));\n * }\n *\n * // Loop outside of the Angular zone\n * // so the UI DOES NOT refresh after each setTimeout cycle\n * processOutsideOfAngularZone() {\n * this.label = 'outside';\n * this.progress = 0;\n * this._ngZone.runOutsideAngular(() => {\n * this._increaseProgress(() => {\n * // reenter the Angular zone and display done\n * this._ngZone.run(() => {console.log('Outside Done!') });\n * }}));\n * }\n *\n * _increaseProgress(doneCallback: () => void) {\n * this.progress += 1;\n * console.log(`Current progress: ${this.progress}%`);\n *\n * if (this.progress < 100) {\n * window.setTimeout(() => this._increaseProgress(doneCallback)), 10)\n * } else {\n * doneCallback();\n * }\n * }\n * }\n * ```\n * @experimental\n */\n var NgZone = (function () {\n function NgZone(_a) {\n var _b = _a.enableLongStackTrace, enableLongStackTrace = _b === void 0 ? false : _b;\n this._hasPendingMicrotasks = false;\n this._hasPendingMacrotasks = false;\n this._isStable = true;\n this._nesting = 0;\n this._onUnstable = new EventEmitter(false);\n this._onMicrotaskEmpty = new EventEmitter(false);\n this._onStable = new EventEmitter(false);\n this._onErrorEvents = new EventEmitter(false);\n if (typeof Zone == 'undefined') {\n throw new Error('Angular requires Zone.js prolyfill.');\n }\n Zone.assertZonePatched();\n this.outer = this.inner = Zone.current;\n if (Zone['wtfZoneSpec']) {\n this.inner = this.inner.fork(Zone['wtfZoneSpec']);\n }\n if (enableLongStackTrace && Zone['longStackTraceZoneSpec']) {\n this.inner = this.inner.fork(Zone['longStackTraceZoneSpec']);\n }\n this.forkInnerZoneWithAngularBehavior();\n }\n NgZone.isInAngularZone = function () { return Zone.current.get('isAngularZone') === true; };\n NgZone.assertInAngularZone = function () {\n if (!NgZone.isInAngularZone()) {\n throw new Error('Expected to be in Angular Zone, but it is not!');\n }\n };\n NgZone.assertNotInAngularZone = function () {\n if (NgZone.isInAngularZone()) {\n throw new Error('Expected to not be in Angular Zone, but it is!');\n }\n };\n /**\n * Executes the `fn` function synchronously within the Angular zone and returns value returned by\n * the function.\n *\n * Running functions via `run` allows you to reenter Angular zone from a task that was executed\n * outside of the Angular zone (typically started via {@link runOutsideAngular}).\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * within the Angular zone.\n *\n * If a synchronous error happens it will be rethrown and not reported via `onError`.\n */\n NgZone.prototype.run = function (fn) { return this.inner.run(fn); };\n /**\n * Same as `run`, except that synchronous errors are caught and forwarded via `onError` and not\n * rethrown.\n */\n NgZone.prototype.runGuarded = function (fn) { return this.inner.runGuarded(fn); };\n /**\n * Executes the `fn` function synchronously in Angular's parent zone and returns value returned by\n * the function.\n *\n * Running functions via `runOutsideAngular` allows you to escape Angular's zone and do work that\n * doesn't trigger Angular change-detection or is subject to Angular's error handling.\n *\n * Any future tasks or microtasks scheduled from within this function will continue executing from\n * outside of the Angular zone.\n *\n * Use {@link run} to reenter the Angular zone and do work that updates the application model.\n */\n NgZone.prototype.runOutsideAngular = function (fn) { return this.outer.run(fn); };\n Object.defineProperty(NgZone.prototype, \"onUnstable\", {\n /**\n * Notifies when code enters Angular Zone. This gets fired first on VM Turn.\n */\n get: function () { return this._onUnstable; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onMicrotaskEmpty\", {\n /**\n * Notifies when there is no more microtasks enqueue in the current VM Turn.\n * This is a hint for Angular to do change detection, which may enqueue more microtasks.\n * For this reason this event can fire multiple times per VM Turn.\n */\n get: function () { return this._onMicrotaskEmpty; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onStable\", {\n /**\n * Notifies when the last `onMicrotaskEmpty` has run and there are no more microtasks, which\n * implies we are about to relinquish VM turn.\n * This event gets called just once.\n */\n get: function () { return this._onStable; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"onError\", {\n /**\n * Notify that an error has been delivered.\n */\n get: function () { return this._onErrorEvents; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"isStable\", {\n /**\n * Whether there are no outstanding microtasks or macrotasks.\n */\n get: function () { return this._isStable; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"hasPendingMicrotasks\", {\n get: function () { return this._hasPendingMicrotasks; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgZone.prototype, \"hasPendingMacrotasks\", {\n get: function () { return this._hasPendingMacrotasks; },\n enumerable: true,\n configurable: true\n });\n NgZone.prototype.checkStable = function () {\n var _this = this;\n if (this._nesting == 0 && !this._hasPendingMicrotasks && !this._isStable) {\n try {\n this._nesting++;\n this._onMicrotaskEmpty.emit(null);\n }\n finally {\n this._nesting--;\n if (!this._hasPendingMicrotasks) {\n try {\n this.runOutsideAngular(function () { return _this._onStable.emit(null); });\n }\n finally {\n this._isStable = true;\n }\n }\n }\n }\n };\n NgZone.prototype.forkInnerZoneWithAngularBehavior = function () {\n var _this = this;\n this.inner = this.inner.fork({\n name: 'angular',\n properties: { 'isAngularZone': true },\n onInvokeTask: function (delegate, current, target, task, applyThis, applyArgs) {\n try {\n _this.onEnter();\n return delegate.invokeTask(target, task, applyThis, applyArgs);\n }\n finally {\n _this.onLeave();\n }\n },\n onInvoke: function (delegate, current, target, callback, applyThis, applyArgs, source) {\n try {\n _this.onEnter();\n return delegate.invoke(target, callback, applyThis, applyArgs, source);\n }\n finally {\n _this.onLeave();\n }\n },\n onHasTask: function (delegate, current, target, hasTaskState) {\n delegate.hasTask(target, hasTaskState);\n if (current === target) {\n // We are only interested in hasTask events which originate from our zone\n // (A child hasTask event is not interesting to us)\n if (hasTaskState.change == 'microTask') {\n _this.setHasMicrotask(hasTaskState.microTask);\n }\n else if (hasTaskState.change == 'macroTask') {\n _this.setHasMacrotask(hasTaskState.macroTask);\n }\n }\n },\n onHandleError: function (delegate, current, target, error) {\n delegate.handleError(target, error);\n _this.triggerError(error);\n return false;\n }\n });\n };\n NgZone.prototype.onEnter = function () {\n this._nesting++;\n if (this._isStable) {\n this._isStable = false;\n this._onUnstable.emit(null);\n }\n };\n NgZone.prototype.onLeave = function () {\n this._nesting--;\n this.checkStable();\n };\n NgZone.prototype.setHasMicrotask = function (hasMicrotasks) {\n this._hasPendingMicrotasks = hasMicrotasks;\n this.checkStable();\n };\n NgZone.prototype.setHasMacrotask = function (hasMacrotasks) { this._hasPendingMacrotasks = hasMacrotasks; };\n NgZone.prototype.triggerError = function (error) { this._onErrorEvents.emit(error); };\n return NgZone;\n }());\n\n /**\n * The Testability service provides testing hooks that can be accessed from\n * the browser and by services such as Protractor. Each bootstrapped Angular\n * application on the page will have an instance of Testability.\n * @experimental\n */\n var Testability = (function () {\n function Testability(_ngZone) {\n this._ngZone = _ngZone;\n /** @internal */\n this._pendingCount = 0;\n /** @internal */\n this._isZoneStable = true;\n /**\n * Whether any work was done since the last 'whenStable' callback. This is\n * useful to detect if this could have potentially destabilized another\n * component while it is stabilizing.\n * @internal\n */\n this._didWork = false;\n /** @internal */\n this._callbacks = [];\n this._watchAngularEvents();\n }\n /** @internal */\n Testability.prototype._watchAngularEvents = function () {\n var _this = this;\n this._ngZone.onUnstable.subscribe({\n next: function () {\n _this._didWork = true;\n _this._isZoneStable = false;\n }\n });\n this._ngZone.runOutsideAngular(function () {\n _this._ngZone.onStable.subscribe({\n next: function () {\n NgZone.assertNotInAngularZone();\n scheduleMicroTask(function () {\n _this._isZoneStable = true;\n _this._runCallbacksIfReady();\n });\n }\n });\n });\n };\n Testability.prototype.increasePendingRequestCount = function () {\n this._pendingCount += 1;\n this._didWork = true;\n return this._pendingCount;\n };\n Testability.prototype.decreasePendingRequestCount = function () {\n this._pendingCount -= 1;\n if (this._pendingCount < 0) {\n throw new Error('pending async requests below zero');\n }\n this._runCallbacksIfReady();\n return this._pendingCount;\n };\n Testability.prototype.isStable = function () {\n return this._isZoneStable && this._pendingCount == 0 && !this._ngZone.hasPendingMacrotasks;\n };\n /** @internal */\n Testability.prototype._runCallbacksIfReady = function () {\n var _this = this;\n if (this.isStable()) {\n // Schedules the call backs in a new frame so that it is always async.\n scheduleMicroTask(function () {\n while (_this._callbacks.length !== 0) {\n (_this._callbacks.pop())(_this._didWork);\n }\n _this._didWork = false;\n });\n }\n else {\n // Not Ready\n this._didWork = true;\n }\n };\n Testability.prototype.whenStable = function (callback) {\n this._callbacks.push(callback);\n this._runCallbacksIfReady();\n };\n Testability.prototype.getPendingRequestCount = function () { return this._pendingCount; };\n /** @deprecated use findProviders */\n Testability.prototype.findBindings = function (using, provider, exactMatch) {\n // TODO(juliemr): implement.\n return [];\n };\n Testability.prototype.findProviders = function (using, provider, exactMatch) {\n // TODO(juliemr): implement.\n return [];\n };\n Testability.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n Testability.ctorParameters = [\n { type: NgZone, },\n ];\n return Testability;\n }());\n /**\n * A global registry of {@link Testability} instances for specific elements.\n * @experimental\n */\n var TestabilityRegistry = (function () {\n function TestabilityRegistry() {\n /** @internal */\n this._applications = new Map();\n _testabilityGetter.addToWindow(this);\n }\n TestabilityRegistry.prototype.registerApplication = function (token, testability) {\n this._applications.set(token, testability);\n };\n TestabilityRegistry.prototype.getTestability = function (elem) { return this._applications.get(elem); };\n TestabilityRegistry.prototype.getAllTestabilities = function () { return Array.from(this._applications.values()); };\n TestabilityRegistry.prototype.getAllRootElements = function () { return Array.from(this._applications.keys()); };\n TestabilityRegistry.prototype.findTestabilityInTree = function (elem, findInAncestors) {\n if (findInAncestors === void 0) { findInAncestors = true; }\n return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);\n };\n TestabilityRegistry.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n TestabilityRegistry.ctorParameters = [];\n return TestabilityRegistry;\n }());\n var _NoopGetTestability = (function () {\n function _NoopGetTestability() {\n }\n _NoopGetTestability.prototype.addToWindow = function (registry) { };\n _NoopGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\n return null;\n };\n return _NoopGetTestability;\n }());\n /**\n * Set the {@link GetTestability} implementation used by the Angular testing framework.\n * @experimental\n */\n function setTestabilityGetter(getter) {\n _testabilityGetter = getter;\n }\n var _testabilityGetter = new _NoopGetTestability();\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _devMode = true;\n var _runModeLocked = false;\n var _platform;\n /**\n * Disable Angular's development mode, which turns off assertions and other\n * checks within the framework.\n *\n * One important assertion this disables verifies that a change detection pass\n * does not result in additional changes to any bindings (also known as\n * unidirectional data flow).\n *\n * @stable\n */\n function enableProdMode() {\n if (_runModeLocked) {\n throw new Error('Cannot enable prod mode after platform setup.');\n }\n _devMode = false;\n }\n /**\n * Returns whether Angular is in development mode. After called once,\n * the value is locked and won't change any more.\n *\n * By default, this is true, unless a user calls `enableProdMode` before calling this.\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function isDevMode() {\n _runModeLocked = true;\n return _devMode;\n }\n /**\n * Creates a platform.\n * Platforms have to be eagerly created via this function.\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function createPlatform(injector) {\n if (_platform && !_platform.destroyed) {\n throw new Error('There can be only one platform. Destroy the previous one to create a new one.');\n }\n _platform = injector.get(PlatformRef);\n var inits = injector.get(PLATFORM_INITIALIZER, null);\n if (inits)\n inits.forEach(function (init) { return init(); });\n return _platform;\n }\n /**\n * Creates a factory for a platform\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function createPlatformFactory(parentPlaformFactory, name, providers) {\n if (providers === void 0) { providers = []; }\n var marker = new OpaqueToken(\"Platform: \" + name);\n return function (extraProviders) {\n if (extraProviders === void 0) { extraProviders = []; }\n if (!getPlatform()) {\n if (parentPlaformFactory) {\n parentPlaformFactory(providers.concat(extraProviders).concat({ provide: marker, useValue: true }));\n }\n else {\n createPlatform(ReflectiveInjector.resolveAndCreate(providers.concat(extraProviders).concat({ provide: marker, useValue: true })));\n }\n }\n return assertPlatform(marker);\n };\n }\n /**\n * Checks that there currently is a platform\n * which contains the given token as a provider.\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function assertPlatform(requiredToken) {\n var platform = getPlatform();\n if (!platform) {\n throw new Error('No platform exists!');\n }\n if (!platform.injector.get(requiredToken, null)) {\n throw new Error('A platform with a different configuration has been created. Please destroy it first.');\n }\n return platform;\n }\n /**\n * Destroy the existing platform.\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function destroyPlatform() {\n if (_platform && !_platform.destroyed) {\n _platform.destroy();\n }\n }\n /**\n * Returns the current platform.\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n function getPlatform() {\n return _platform && !_platform.destroyed ? _platform : null;\n }\n /**\n * The Angular platform is the entry point for Angular on a web page. Each page\n * has exactly one platform, and services (such as reflection) which are common\n * to every Angular application running on the page are bound in its scope.\n *\n * A page's platform is initialized implicitly when {@link bootstrap}() is called, or\n * explicitly by calling {@link createPlatform}().\n *\n * @stable\n */\n var PlatformRef = (function () {\n function PlatformRef() {\n }\n /**\n * Creates an instance of an `@NgModule` for the given platform\n * for offline compilation.\n *\n * ## Simple Example\n *\n * ```typescript\n * my_module.ts:\n *\n * @NgModule({\n * imports: [BrowserModule]\n * })\n * class MyModule {}\n *\n * main.ts:\n * import {MyModuleNgFactory} from './my_module.ngfactory';\n * import {platformBrowser} from '@angular/platform-browser';\n *\n * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);\n * ```\n *\n * @experimental APIs related to application bootstrap are currently under review.\n */\n PlatformRef.prototype.bootstrapModuleFactory = function (moduleFactory) {\n throw unimplemented();\n };\n /**\n * Creates an instance of an `@NgModule` for a given platform using the given runtime compiler.\n *\n * ## Simple Example\n *\n * ```typescript\n * @NgModule({\n * imports: [BrowserModule]\n * })\n * class MyModule {}\n *\n * let moduleRef = platformBrowser().bootstrapModule(MyModule);\n * ```\n * @stable\n */\n PlatformRef.prototype.bootstrapModule = function (moduleType, compilerOptions) {\n if (compilerOptions === void 0) { compilerOptions = []; }\n throw unimplemented();\n };\n Object.defineProperty(PlatformRef.prototype, \"injector\", {\n /**\n * Retrieve the platform {@link Injector}, which is the parent injector for\n * every Angular application on the page and provides singleton providers.\n */\n get: function () { throw unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(PlatformRef.prototype, \"destroyed\", {\n get: function () { throw unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return PlatformRef;\n }());\n function _callAndReportToErrorHandler(errorHandler, callback) {\n try {\n var result = callback();\n if (isPromise(result)) {\n return result.catch(function (e) {\n errorHandler.handleError(e);\n // rethrow as the exception handler might not do it\n throw e;\n });\n }\n return result;\n }\n catch (e) {\n errorHandler.handleError(e);\n // rethrow as the exception handler might not do it\n throw e;\n }\n }\n var PlatformRef_ = (function (_super) {\n __extends$3(PlatformRef_, _super);\n function PlatformRef_(_injector) {\n _super.call(this);\n this._injector = _injector;\n this._modules = [];\n this._destroyListeners = [];\n this._destroyed = false;\n }\n PlatformRef_.prototype.onDestroy = function (callback) { this._destroyListeners.push(callback); };\n Object.defineProperty(PlatformRef_.prototype, \"injector\", {\n get: function () { return this._injector; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformRef_.prototype, \"destroyed\", {\n get: function () { return this._destroyed; },\n enumerable: true,\n configurable: true\n });\n PlatformRef_.prototype.destroy = function () {\n if (this._destroyed) {\n throw new Error('The platform has already been destroyed!');\n }\n this._modules.slice().forEach(function (module) { return module.destroy(); });\n this._destroyListeners.forEach(function (listener) { return listener(); });\n this._destroyed = true;\n };\n PlatformRef_.prototype.bootstrapModuleFactory = function (moduleFactory) {\n return this._bootstrapModuleFactoryWithZone(moduleFactory, null);\n };\n PlatformRef_.prototype._bootstrapModuleFactoryWithZone = function (moduleFactory, ngZone) {\n var _this = this;\n // Note: We need to create the NgZone _before_ we instantiate the module,\n // as instantiating the module creates some providers eagerly.\n // So we create a mini parent injector that just contains the new NgZone and\n // pass that as parent to the NgModuleFactory.\n if (!ngZone)\n ngZone = new NgZone({ enableLongStackTrace: isDevMode() });\n // Attention: Don't use ApplicationRef.run here,\n // as we want to be sure that all possible constructor calls are inside `ngZone.run`!\n return ngZone.run(function () {\n var ngZoneInjector = ReflectiveInjector.resolveAndCreate([{ provide: NgZone, useValue: ngZone }], _this.injector);\n var moduleRef = moduleFactory.create(ngZoneInjector);\n var exceptionHandler = moduleRef.injector.get(ErrorHandler, null);\n if (!exceptionHandler) {\n throw new Error('No ErrorHandler. Is platform module (BrowserModule) included?');\n }\n moduleRef.onDestroy(function () { return ListWrapper.remove(_this._modules, moduleRef); });\n ngZone.onError.subscribe({ next: function (error) { exceptionHandler.handleError(error); } });\n return _callAndReportToErrorHandler(exceptionHandler, function () {\n var initStatus = moduleRef.injector.get(ApplicationInitStatus);\n return initStatus.donePromise.then(function () {\n _this._moduleDoBootstrap(moduleRef);\n return moduleRef;\n });\n });\n });\n };\n PlatformRef_.prototype.bootstrapModule = function (moduleType, compilerOptions) {\n if (compilerOptions === void 0) { compilerOptions = []; }\n return this._bootstrapModuleWithZone(moduleType, compilerOptions, null);\n };\n PlatformRef_.prototype._bootstrapModuleWithZone = function (moduleType, compilerOptions, ngZone, componentFactoryCallback) {\n var _this = this;\n if (compilerOptions === void 0) { compilerOptions = []; }\n var compilerFactory = this.injector.get(CompilerFactory);\n var compiler = compilerFactory.createCompiler(Array.isArray(compilerOptions) ? compilerOptions : [compilerOptions]);\n // ugly internal api hack: generate host component factories for all declared components and\n // pass the factories into the callback - this is used by UpdateAdapter to get hold of all\n // factories.\n if (componentFactoryCallback) {\n return compiler.compileModuleAndAllComponentsAsync(moduleType)\n .then(function (_a) {\n var ngModuleFactory = _a.ngModuleFactory, componentFactories = _a.componentFactories;\n componentFactoryCallback(componentFactories);\n return _this._bootstrapModuleFactoryWithZone(ngModuleFactory, ngZone);\n });\n }\n return compiler.compileModuleAsync(moduleType)\n .then(function (moduleFactory) { return _this._bootstrapModuleFactoryWithZone(moduleFactory, ngZone); });\n };\n PlatformRef_.prototype._moduleDoBootstrap = function (moduleRef) {\n var appRef = moduleRef.injector.get(ApplicationRef);\n if (moduleRef.bootstrapFactories.length > 0) {\n moduleRef.bootstrapFactories.forEach(function (compFactory) { return appRef.bootstrap(compFactory); });\n }\n else if (moduleRef.instance.ngDoBootstrap) {\n moduleRef.instance.ngDoBootstrap(appRef);\n }\n else {\n throw new Error((\"The module \" + stringify(moduleRef.instance.constructor) + \" was bootstrapped, but it does not declare \\\"@NgModule.bootstrap\\\" components nor a \\\"ngDoBootstrap\\\" method. \") +\n \"Please define one of these.\");\n }\n };\n PlatformRef_.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n PlatformRef_.ctorParameters = [\n { type: Injector, },\n ];\n return PlatformRef_;\n }(PlatformRef));\n /**\n * A reference to an Angular application running on a page.\n *\n * For more about Angular applications, see the documentation for {@link bootstrap}.\n *\n * @stable\n */\n var ApplicationRef = (function () {\n function ApplicationRef() {\n }\n Object.defineProperty(ApplicationRef.prototype, \"componentTypes\", {\n /**\n * Get a list of component types registered to this application.\n * This list is populated even before the component is created.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n Object.defineProperty(ApplicationRef.prototype, \"components\", {\n /**\n * Get a list of components registered to this application.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n return ApplicationRef;\n }());\n var ApplicationRef_ = (function (_super) {\n __extends$3(ApplicationRef_, _super);\n function ApplicationRef_(_zone, _console, _injector, _exceptionHandler, _componentFactoryResolver, _initStatus, _testabilityRegistry, _testability) {\n var _this = this;\n _super.call(this);\n this._zone = _zone;\n this._console = _console;\n this._injector = _injector;\n this._exceptionHandler = _exceptionHandler;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._initStatus = _initStatus;\n this._testabilityRegistry = _testabilityRegistry;\n this._testability = _testability;\n this._bootstrapListeners = [];\n this._rootComponents = [];\n this._rootComponentTypes = [];\n this._changeDetectorRefs = [];\n this._runningTick = false;\n this._enforceNoNewChanges = false;\n this._enforceNoNewChanges = isDevMode();\n this._zone.onMicrotaskEmpty.subscribe({ next: function () { _this._zone.run(function () { _this.tick(); }); } });\n }\n ApplicationRef_.prototype.registerChangeDetector = function (changeDetector) {\n this._changeDetectorRefs.push(changeDetector);\n };\n ApplicationRef_.prototype.unregisterChangeDetector = function (changeDetector) {\n ListWrapper.remove(this._changeDetectorRefs, changeDetector);\n };\n ApplicationRef_.prototype.bootstrap = function (componentOrFactory) {\n var _this = this;\n if (!this._initStatus.done) {\n throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.');\n }\n var componentFactory;\n if (componentOrFactory instanceof ComponentFactory) {\n componentFactory = componentOrFactory;\n }\n else {\n componentFactory = this._componentFactoryResolver.resolveComponentFactory(componentOrFactory);\n }\n this._rootComponentTypes.push(componentFactory.componentType);\n var compRef = componentFactory.create(this._injector, [], componentFactory.selector);\n compRef.onDestroy(function () { _this._unloadComponent(compRef); });\n var testability = compRef.injector.get(Testability, null);\n if (testability) {\n compRef.injector.get(TestabilityRegistry)\n .registerApplication(compRef.location.nativeElement, testability);\n }\n this._loadComponent(compRef);\n if (isDevMode()) {\n this._console.log(\"Angular 2 is running in the development mode. Call enableProdMode() to enable the production mode.\");\n }\n return compRef;\n };\n /** @internal */\n ApplicationRef_.prototype._loadComponent = function (componentRef) {\n this._changeDetectorRefs.push(componentRef.changeDetectorRef);\n this.tick();\n this._rootComponents.push(componentRef);\n // Get the listeners lazily to prevent DI cycles.\n var listeners = this._injector.get(APP_BOOTSTRAP_LISTENER, [])\n .concat(this._bootstrapListeners);\n listeners.forEach(function (listener) { return listener(componentRef); });\n };\n /** @internal */\n ApplicationRef_.prototype._unloadComponent = function (componentRef) {\n if (this._rootComponents.indexOf(componentRef) == -1) {\n return;\n }\n this.unregisterChangeDetector(componentRef.changeDetectorRef);\n ListWrapper.remove(this._rootComponents, componentRef);\n };\n ApplicationRef_.prototype.tick = function () {\n if (this._runningTick) {\n throw new Error('ApplicationRef.tick is called recursively');\n }\n var scope = ApplicationRef_._tickScope();\n try {\n this._runningTick = true;\n this._changeDetectorRefs.forEach(function (detector) { return detector.detectChanges(); });\n if (this._enforceNoNewChanges) {\n this._changeDetectorRefs.forEach(function (detector) { return detector.checkNoChanges(); });\n }\n }\n finally {\n this._runningTick = false;\n wtfLeave(scope);\n }\n };\n ApplicationRef_.prototype.ngOnDestroy = function () {\n // TODO(alxhub): Dispose of the NgZone.\n this._rootComponents.slice().forEach(function (component) { return component.destroy(); });\n };\n Object.defineProperty(ApplicationRef_.prototype, \"componentTypes\", {\n get: function () { return this._rootComponentTypes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ApplicationRef_.prototype, \"components\", {\n get: function () { return this._rootComponents; },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n ApplicationRef_._tickScope = wtfCreateScope('ApplicationRef#tick()');\n ApplicationRef_.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n ApplicationRef_.ctorParameters = [\n { type: NgZone, },\n { type: Console, },\n { type: Injector, },\n { type: ErrorHandler, },\n { type: ComponentFactoryResolver, },\n { type: ApplicationInitStatus, },\n { type: TestabilityRegistry, decorators: [{ type: Optional },] },\n { type: Testability, decorators: [{ type: Optional },] },\n ];\n return ApplicationRef_;\n }(ApplicationRef));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$9 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Represents an instance of an NgModule created via a {@link NgModuleFactory}.\n *\n * `NgModuleRef` provides access to the NgModule Instance as well other objects related to this\n * NgModule Instance.\n *\n * @stable\n */\n var NgModuleRef = (function () {\n function NgModuleRef() {\n }\n Object.defineProperty(NgModuleRef.prototype, \"injector\", {\n /**\n * The injector that contains all of the providers of the NgModule.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModuleRef.prototype, \"componentFactoryResolver\", {\n /**\n * The ComponentFactoryResolver to get hold of the ComponentFactories\n * declared in the `entryComponents` property of the module.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModuleRef.prototype, \"instance\", {\n /**\n * The NgModule instance.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return NgModuleRef;\n }());\n /**\n * @experimental\n */\n var NgModuleFactory = (function () {\n function NgModuleFactory(_injectorClass, _moduleType) {\n this._injectorClass = _injectorClass;\n this._moduleType = _moduleType;\n }\n Object.defineProperty(NgModuleFactory.prototype, \"moduleType\", {\n get: function () { return this._moduleType; },\n enumerable: true,\n configurable: true\n });\n NgModuleFactory.prototype.create = function (parentInjector) {\n if (!parentInjector) {\n parentInjector = Injector.NULL;\n }\n var instance = new this._injectorClass(parentInjector);\n instance.create();\n return instance;\n };\n return NgModuleFactory;\n }());\n var _UNDEFINED = new Object();\n var NgModuleInjector = (function (_super) {\n __extends$9(NgModuleInjector, _super);\n function NgModuleInjector(parent, factories, bootstrapFactories) {\n _super.call(this, factories, parent.get(ComponentFactoryResolver, ComponentFactoryResolver.NULL));\n this.parent = parent;\n this.bootstrapFactories = bootstrapFactories;\n this._destroyListeners = [];\n this._destroyed = false;\n }\n NgModuleInjector.prototype.create = function () { this.instance = this.createInternal(); };\n NgModuleInjector.prototype.get = function (token, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n if (token === Injector || token === ComponentFactoryResolver) {\n return this;\n }\n var result = this.getInternal(token, _UNDEFINED);\n return result === _UNDEFINED ? this.parent.get(token, notFoundValue) : result;\n };\n Object.defineProperty(NgModuleInjector.prototype, \"injector\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModuleInjector.prototype, \"componentFactoryResolver\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n NgModuleInjector.prototype.destroy = function () {\n if (this._destroyed) {\n throw new Error(\"The ng module \" + stringify(this.instance.constructor) + \" has already been destroyed.\");\n }\n this._destroyed = true;\n this.destroyInternal();\n this._destroyListeners.forEach(function (listener) { return listener(); });\n };\n NgModuleInjector.prototype.onDestroy = function (callback) { this._destroyListeners.push(callback); };\n return NgModuleInjector;\n }(CodegenComponentFactoryResolver));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Used to load ng module factories.\n * @stable\n */\n var NgModuleFactoryLoader = (function () {\n function NgModuleFactoryLoader() {\n }\n return NgModuleFactoryLoader;\n }());\n var moduleFactories = new Map();\n /**\n * Registers a loaded module. Should only be called from generated NgModuleFactory code.\n * @experimental\n */\n function registerModuleFactory(id, factory) {\n var existing = moduleFactories.get(id);\n if (existing) {\n throw new Error(\"Duplicate module registered for \" + id + \" - \" + existing.moduleType.name + \" vs \" + factory.moduleType.name);\n }\n moduleFactories.set(id, factory);\n }\n /**\n * Returns the NgModuleFactory with the given id, if it exists and has been loaded.\n * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module\n * cannot be found.\n * @experimental\n */\n function getModuleFactory(id) {\n var factory = moduleFactories.get(id);\n if (!factory)\n throw new Error(\"No module with ID \" + id + \" loaded\");\n return factory;\n }\n\n /**\n * An unmodifiable list of items that Angular keeps up to date when the state\n * of the application changes.\n *\n * The type of object that {@link Query} and {@link ViewQueryMetadata} provide.\n *\n * Implements an iterable interface, therefore it can be used in both ES6\n * javascript `for (var i of items)` loops as well as in Angular templates with\n * `*ngFor=\"let i of myList\"`.\n *\n * Changes can be observed by subscribing to the changes `Observable`.\n *\n * NOTE: In the future this class will implement an `Observable` interface.\n *\n * ### Example ([live demo](http://plnkr.co/edit/RX8sJnQYl9FWuSCWme5z?p=preview))\n * ```typescript\n * @Component({...})\n * class Container {\n * @ViewChildren(Item) items:QueryList<Item>;\n * }\n * ```\n * @stable\n */\n var QueryList = (function () {\n function QueryList() {\n this._dirty = true;\n this._results = [];\n this._emitter = new EventEmitter();\n }\n Object.defineProperty(QueryList.prototype, \"changes\", {\n get: function () { return this._emitter; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"length\", {\n get: function () { return this._results.length; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"first\", {\n get: function () { return this._results[0]; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(QueryList.prototype, \"last\", {\n get: function () { return this._results[this.length - 1]; },\n enumerable: true,\n configurable: true\n });\n /**\n * See\n * [Array.map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map)\n */\n QueryList.prototype.map = function (fn) { return this._results.map(fn); };\n /**\n * See\n * [Array.filter](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)\n */\n QueryList.prototype.filter = function (fn) {\n return this._results.filter(fn);\n };\n /**\n * See\n * [Array.find](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find)\n */\n QueryList.prototype.find = function (fn) { return this._results.find(fn); };\n /**\n * See\n * [Array.reduce](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce)\n */\n QueryList.prototype.reduce = function (fn, init) {\n return this._results.reduce(fn, init);\n };\n /**\n * See\n * [Array.forEach](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/forEach)\n */\n QueryList.prototype.forEach = function (fn) { this._results.forEach(fn); };\n /**\n * See\n * [Array.some](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/some)\n */\n QueryList.prototype.some = function (fn) {\n return this._results.some(fn);\n };\n QueryList.prototype.toArray = function () { return this._results.slice(); };\n QueryList.prototype[getSymbolIterator()] = function () { return this._results[getSymbolIterator()](); };\n QueryList.prototype.toString = function () { return this._results.toString(); };\n QueryList.prototype.reset = function (res) {\n this._results = ListWrapper.flatten(res);\n this._dirty = false;\n };\n QueryList.prototype.notifyOnChanges = function () { this._emitter.emit(this); };\n /** internal */\n QueryList.prototype.setDirty = function () { this._dirty = true; };\n Object.defineProperty(QueryList.prototype, \"dirty\", {\n /** internal */\n get: function () { return this._dirty; },\n enumerable: true,\n configurable: true\n });\n return QueryList;\n }());\n\n var _SEPARATOR = '#';\n var FACTORY_CLASS_SUFFIX = 'NgFactory';\n /**\n * Configuration for SystemJsNgModuleLoader.\n * token.\n *\n * @experimental\n */\n var SystemJsNgModuleLoaderConfig = (function () {\n function SystemJsNgModuleLoaderConfig() {\n }\n return SystemJsNgModuleLoaderConfig;\n }());\n var DEFAULT_CONFIG = {\n factoryPathPrefix: '',\n factoryPathSuffix: '.ngfactory',\n };\n /**\n * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory\n * @experimental\n */\n var SystemJsNgModuleLoader = (function () {\n function SystemJsNgModuleLoader(_compiler, config) {\n this._compiler = _compiler;\n this._config = config || DEFAULT_CONFIG;\n }\n SystemJsNgModuleLoader.prototype.load = function (path) {\n var offlineMode = this._compiler instanceof Compiler;\n return offlineMode ? this.loadFactory(path) : this.loadAndCompile(path);\n };\n SystemJsNgModuleLoader.prototype.loadAndCompile = function (path) {\n var _this = this;\n var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1];\n if (exportName === undefined) {\n exportName = 'default';\n }\n return System.import(module)\n .then(function (module) { return module[exportName]; })\n .then(function (type) { return checkNotEmpty(type, module, exportName); })\n .then(function (type) { return _this._compiler.compileModuleAsync(type); });\n };\n SystemJsNgModuleLoader.prototype.loadFactory = function (path) {\n var _a = path.split(_SEPARATOR), module = _a[0], exportName = _a[1];\n var factoryClassSuffix = FACTORY_CLASS_SUFFIX;\n if (exportName === undefined) {\n exportName = 'default';\n factoryClassSuffix = '';\n }\n return System.import(this._config.factoryPathPrefix + module + this._config.factoryPathSuffix)\n .then(function (module) { return module[exportName + factoryClassSuffix]; })\n .then(function (factory) { return checkNotEmpty(factory, module, exportName); });\n };\n SystemJsNgModuleLoader.decorators = [\n { type: Injectable },\n ];\n /** @nocollapse */\n SystemJsNgModuleLoader.ctorParameters = [\n { type: Compiler, },\n { type: SystemJsNgModuleLoaderConfig, decorators: [{ type: Optional },] },\n ];\n return SystemJsNgModuleLoader;\n }());\n function checkNotEmpty(value, modulePath, exportName) {\n if (!value) {\n throw new Error(\"Cannot find '\" + exportName + \"' in '\" + modulePath + \"'\");\n }\n return value;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$10 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Represents an Embedded Template that can be used to instantiate Embedded Views.\n *\n * You can access a `TemplateRef`, in two ways. Via a directive placed on a `<template>` element (or\n * directive prefixed with `*`) and have the `TemplateRef` for this Embedded View injected into the\n * constructor of the directive using the `TemplateRef` Token. Alternatively you can query for the\n * `TemplateRef` from a Component or a Directive via {@link Query}.\n *\n * To instantiate Embedded Views based on a Template, use\n * {@link ViewContainerRef#createEmbeddedView}, which will create the View and attach it to the\n * View Container.\n * @stable\n */\n var TemplateRef = (function () {\n function TemplateRef() {\n }\n Object.defineProperty(TemplateRef.prototype, \"elementRef\", {\n /**\n * The location in the View where the Embedded View logically belongs to.\n *\n * The data-binding and injection contexts of Embedded Views created from this `TemplateRef`\n * inherit from the contexts of this location.\n *\n * Typically new Embedded Views are attached to the View Container of this location, but in\n * advanced use-cases, the View can be attached to a different container while keeping the\n * data-binding and injection context from the original location.\n *\n */\n // TODO(i): rename to anchor or location\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n return TemplateRef;\n }());\n var TemplateRef_ = (function (_super) {\n __extends$10(TemplateRef_, _super);\n function TemplateRef_(_parentView, _nodeIndex, _nativeElement) {\n _super.call(this);\n this._parentView = _parentView;\n this._nodeIndex = _nodeIndex;\n this._nativeElement = _nativeElement;\n }\n TemplateRef_.prototype.createEmbeddedView = function (context) {\n var view = this._parentView.createEmbeddedViewInternal(this._nodeIndex);\n view.create(context || {});\n return view.ref;\n };\n Object.defineProperty(TemplateRef_.prototype, \"elementRef\", {\n get: function () { return new ElementRef(this._nativeElement); },\n enumerable: true,\n configurable: true\n });\n return TemplateRef_;\n }(TemplateRef));\n\n /**\n * Represents a container where one or more Views can be attached.\n *\n * The container can contain two kinds of Views. Host Views, created by instantiating a\n * {@link Component} via {@link #createComponent}, and Embedded Views, created by instantiating an\n * {@link TemplateRef Embedded Template} via {@link #createEmbeddedView}.\n *\n * The location of the View Container within the containing View is specified by the Anchor\n * `element`. Each View Container can have only one Anchor Element and each Anchor Element can only\n * have a single View Container.\n *\n * Root elements of Views attached to this container become siblings of the Anchor Element in\n * the Rendered View.\n *\n * To access a `ViewContainerRef` of an Element, you can either place a {@link Directive} injected\n * with `ViewContainerRef` on the Element, or you obtain it via a {@link ViewChild} query.\n * @stable\n */\n var ViewContainerRef = (function () {\n function ViewContainerRef() {\n }\n Object.defineProperty(ViewContainerRef.prototype, \"element\", {\n /**\n * Anchor element that specifies the location of this container in the containing View.\n * <!-- TODO: rename to anchorElement -->\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"injector\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"parentInjector\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef.prototype, \"length\", {\n /**\n * Returns the number of Views currently attached to this container.\n */\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n return ViewContainerRef;\n }());\n var ViewContainerRef_ = (function () {\n function ViewContainerRef_(_element) {\n this._element = _element;\n /** @internal */\n this._createComponentInContainerScope = wtfCreateScope('ViewContainerRef#createComponent()');\n /** @internal */\n this._insertScope = wtfCreateScope('ViewContainerRef#insert()');\n /** @internal */\n this._removeScope = wtfCreateScope('ViewContainerRef#remove()');\n /** @internal */\n this._detachScope = wtfCreateScope('ViewContainerRef#detach()');\n }\n ViewContainerRef_.prototype.get = function (index) { return this._element.nestedViews[index].ref; };\n Object.defineProperty(ViewContainerRef_.prototype, \"length\", {\n get: function () {\n var views = this._element.nestedViews;\n return isPresent(views) ? views.length : 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"element\", {\n get: function () { return this._element.elementRef; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"injector\", {\n get: function () { return this._element.injector; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainerRef_.prototype, \"parentInjector\", {\n get: function () { return this._element.parentInjector; },\n enumerable: true,\n configurable: true\n });\n // TODO(rado): profile and decide whether bounds checks should be added\n // to the methods below.\n ViewContainerRef_.prototype.createEmbeddedView = function (templateRef, context, index) {\n if (context === void 0) { context = null; }\n if (index === void 0) { index = -1; }\n var viewRef = templateRef.createEmbeddedView(context);\n this.insert(viewRef, index);\n return viewRef;\n };\n ViewContainerRef_.prototype.createComponent = function (componentFactory, index, injector, projectableNodes) {\n if (index === void 0) { index = -1; }\n if (injector === void 0) { injector = null; }\n if (projectableNodes === void 0) { projectableNodes = null; }\n var s = this._createComponentInContainerScope();\n var contextInjector = injector || this._element.parentInjector;\n var componentRef = componentFactory.create(contextInjector, projectableNodes);\n this.insert(componentRef.hostView, index);\n return wtfLeave(s, componentRef);\n };\n // TODO(i): refactor insert+remove into move\n ViewContainerRef_.prototype.insert = function (viewRef, index) {\n if (index === void 0) { index = -1; }\n var s = this._insertScope();\n if (index == -1)\n index = this.length;\n var viewRef_ = viewRef;\n this._element.attachView(viewRef_.internalView, index);\n return wtfLeave(s, viewRef_);\n };\n ViewContainerRef_.prototype.move = function (viewRef, currentIndex) {\n var s = this._insertScope();\n if (currentIndex == -1)\n return;\n var viewRef_ = viewRef;\n this._element.moveView(viewRef_.internalView, currentIndex);\n return wtfLeave(s, viewRef_);\n };\n ViewContainerRef_.prototype.indexOf = function (viewRef) {\n return this._element.nestedViews.indexOf(viewRef.internalView);\n };\n // TODO(i): rename to destroy\n ViewContainerRef_.prototype.remove = function (index) {\n if (index === void 0) { index = -1; }\n var s = this._removeScope();\n if (index == -1)\n index = this.length - 1;\n var view = this._element.detachView(index);\n view.destroy();\n // view is intentionally not returned to the client.\n wtfLeave(s);\n };\n // TODO(i): refactor insert+remove into move\n ViewContainerRef_.prototype.detach = function (index) {\n if (index === void 0) { index = -1; }\n var s = this._detachScope();\n if (index == -1)\n index = this.length - 1;\n var view = this._element.detachView(index);\n return wtfLeave(s, view.ref);\n };\n ViewContainerRef_.prototype.clear = function () {\n for (var i = this.length - 1; i >= 0; i--) {\n this.remove(i);\n }\n };\n return ViewContainerRef_;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var _queuedAnimations = [];\n /** @internal */\n function queueAnimationGlobally(player) {\n _queuedAnimations.push(player);\n }\n /** @internal */\n function triggerQueuedAnimations() {\n // this code is wrapped into a single promise such that the\n // onStart and onDone player callbacks are triggered outside\n // of the digest cycle of animations\n if (_queuedAnimations.length) {\n Promise.resolve(null).then(_triggerAnimations);\n }\n }\n function _triggerAnimations() {\n for (var i = 0; i < _queuedAnimations.length; i++) {\n var player = _queuedAnimations[i];\n player.play();\n }\n _queuedAnimations = [];\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$11 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @stable\n */\n var ViewRef = (function () {\n function ViewRef() {\n }\n Object.defineProperty(ViewRef.prototype, \"destroyed\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return ViewRef;\n }());\n /**\n * Represents an Angular View.\n *\n * <!-- TODO: move the next two paragraphs to the dev guide -->\n * A View is a fundamental building block of the application UI. It is the smallest grouping of\n * Elements which are created and destroyed together.\n *\n * Properties of elements in a View can change, but the structure (number and order) of elements in\n * a View cannot. Changing the structure of Elements can only be done by inserting, moving or\n * removing nested Views via a {@link ViewContainerRef}. Each View can contain many View Containers.\n * <!-- /TODO -->\n *\n * ### Example\n *\n * Given this template...\n *\n * ```\n * Count: {{items.length}}\n * <ul>\n * <li *ngFor=\"let item of items\">{{item}}</li>\n * </ul>\n * ```\n *\n * We have two {@link TemplateRef}s:\n *\n * Outer {@link TemplateRef}:\n * ```\n * Count: {{items.length}}\n * <ul>\n * <template ngFor let-item [ngForOf]=\"items\"></template>\n * </ul>\n * ```\n *\n * Inner {@link TemplateRef}:\n * ```\n * <li>{{item}}</li>\n * ```\n *\n * Notice that the original template is broken down into two separate {@link TemplateRef}s.\n *\n * The outer/inner {@link TemplateRef}s are then assembled into views like so:\n *\n * ```\n * <!-- ViewRef: outer-0 -->\n * Count: 2\n * <ul>\n * <template view-container-ref></template>\n * <!-- ViewRef: inner-1 --><li>first</li><!-- /ViewRef: inner-1 -->\n * <!-- ViewRef: inner-2 --><li>second</li><!-- /ViewRef: inner-2 -->\n * </ul>\n * <!-- /ViewRef: outer-0 -->\n * ```\n * @experimental\n */\n var EmbeddedViewRef = (function (_super) {\n __extends$11(EmbeddedViewRef, _super);\n function EmbeddedViewRef() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(EmbeddedViewRef.prototype, \"context\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(EmbeddedViewRef.prototype, \"rootNodes\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n ;\n return EmbeddedViewRef;\n }(ViewRef));\n var ViewRef_ = (function () {\n function ViewRef_(_view) {\n this._view = _view;\n this._view = _view;\n this._originalMode = this._view.cdMode;\n }\n Object.defineProperty(ViewRef_.prototype, \"internalView\", {\n get: function () { return this._view; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"rootNodes\", {\n get: function () { return this._view.flatRootNodes; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"context\", {\n get: function () { return this._view.context; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewRef_.prototype, \"destroyed\", {\n get: function () { return this._view.destroyed; },\n enumerable: true,\n configurable: true\n });\n ViewRef_.prototype.markForCheck = function () { this._view.markPathToRootAsCheckOnce(); };\n ViewRef_.prototype.detach = function () { this._view.cdMode = ChangeDetectorStatus.Detached; };\n ViewRef_.prototype.detectChanges = function () {\n this._view.detectChanges(false);\n triggerQueuedAnimations();\n };\n ViewRef_.prototype.checkNoChanges = function () { this._view.detectChanges(true); };\n ViewRef_.prototype.reattach = function () {\n this._view.cdMode = this._originalMode;\n this.markForCheck();\n };\n ViewRef_.prototype.onDestroy = function (callback) {\n if (!this._view.disposables) {\n this._view.disposables = [];\n }\n this._view.disposables.push(callback);\n };\n ViewRef_.prototype.destroy = function () { this._view.detachAndDestroy(); };\n return ViewRef_;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$12 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var EventListener = (function () {\n function EventListener(name, callback) {\n this.name = name;\n this.callback = callback;\n }\n ;\n return EventListener;\n }());\n /**\n * @experimental All debugging apis are currently experimental.\n */\n var DebugNode = (function () {\n function DebugNode(nativeNode, parent, _debugInfo) {\n this._debugInfo = _debugInfo;\n this.nativeNode = nativeNode;\n if (parent && parent instanceof DebugElement) {\n parent.addChild(this);\n }\n else {\n this.parent = null;\n }\n this.listeners = [];\n }\n Object.defineProperty(DebugNode.prototype, \"injector\", {\n get: function () { return this._debugInfo ? this._debugInfo.injector : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"componentInstance\", {\n get: function () { return this._debugInfo ? this._debugInfo.component : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"context\", {\n get: function () { return this._debugInfo ? this._debugInfo.context : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"references\", {\n get: function () {\n return this._debugInfo ? this._debugInfo.references : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"providerTokens\", {\n get: function () { return this._debugInfo ? this._debugInfo.providerTokens : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugNode.prototype, \"source\", {\n get: function () { return this._debugInfo ? this._debugInfo.source : null; },\n enumerable: true,\n configurable: true\n });\n return DebugNode;\n }());\n /**\n * @experimental All debugging apis are currently experimental.\n */\n var DebugElement = (function (_super) {\n __extends$12(DebugElement, _super);\n function DebugElement(nativeNode, parent, _debugInfo) {\n _super.call(this, nativeNode, parent, _debugInfo);\n this.properties = {};\n this.attributes = {};\n this.classes = {};\n this.styles = {};\n this.childNodes = [];\n this.nativeElement = nativeNode;\n }\n DebugElement.prototype.addChild = function (child) {\n if (child) {\n this.childNodes.push(child);\n child.parent = this;\n }\n };\n DebugElement.prototype.removeChild = function (child) {\n var childIndex = this.childNodes.indexOf(child);\n if (childIndex !== -1) {\n child.parent = null;\n this.childNodes.splice(childIndex, 1);\n }\n };\n DebugElement.prototype.insertChildrenAfter = function (child, newChildren) {\n var siblingIndex = this.childNodes.indexOf(child);\n if (siblingIndex !== -1) {\n var previousChildren = this.childNodes.slice(0, siblingIndex + 1);\n var nextChildren = this.childNodes.slice(siblingIndex + 1);\n this.childNodes = previousChildren.concat(newChildren, nextChildren);\n for (var i = 0; i < newChildren.length; ++i) {\n var newChild = newChildren[i];\n if (newChild.parent) {\n newChild.parent.removeChild(newChild);\n }\n newChild.parent = this;\n }\n }\n };\n DebugElement.prototype.query = function (predicate) {\n var results = this.queryAll(predicate);\n return results[0] || null;\n };\n DebugElement.prototype.queryAll = function (predicate) {\n var matches = [];\n _queryElementChildren(this, predicate, matches);\n return matches;\n };\n DebugElement.prototype.queryAllNodes = function (predicate) {\n var matches = [];\n _queryNodeChildren(this, predicate, matches);\n return matches;\n };\n Object.defineProperty(DebugElement.prototype, \"children\", {\n get: function () {\n return this.childNodes.filter(function (node) { return node instanceof DebugElement; });\n },\n enumerable: true,\n configurable: true\n });\n DebugElement.prototype.triggerEventHandler = function (eventName, eventObj) {\n this.listeners.forEach(function (listener) {\n if (listener.name == eventName) {\n listener.callback(eventObj);\n }\n });\n };\n return DebugElement;\n }(DebugNode));\n /**\n * @experimental\n */\n function asNativeElements(debugEls) {\n return debugEls.map(function (el) { return el.nativeElement; });\n }\n function _queryElementChildren(element, predicate, matches) {\n element.childNodes.forEach(function (node) {\n if (node instanceof DebugElement) {\n if (predicate(node)) {\n matches.push(node);\n }\n _queryElementChildren(node, predicate, matches);\n }\n });\n }\n function _queryNodeChildren(parentNode, predicate, matches) {\n if (parentNode instanceof DebugElement) {\n parentNode.childNodes.forEach(function (node) {\n if (predicate(node)) {\n matches.push(node);\n }\n if (node instanceof DebugElement) {\n _queryNodeChildren(node, predicate, matches);\n }\n });\n }\n }\n // Need to keep the nodes in a global Map so that multiple angular apps are supported.\n var _nativeNodeToDebugNode = new Map();\n /**\n * @experimental\n */\n function getDebugNode(nativeNode) {\n return _nativeNodeToDebugNode.get(nativeNode);\n }\n function indexDebugNode(node) {\n _nativeNodeToDebugNode.set(node.nativeNode, node);\n }\n function removeDebugNodeFromIndex(node) {\n _nativeNodeToDebugNode.delete(node.nativeNode);\n }\n\n function _reflector() {\n return reflector;\n }\n var _CORE_PLATFORM_PROVIDERS = [\n PlatformRef_,\n { provide: PlatformRef, useExisting: PlatformRef_ },\n { provide: Reflector, useFactory: _reflector, deps: [] },\n { provide: ReflectorReader, useExisting: Reflector },\n TestabilityRegistry,\n Console,\n ];\n /**\n * This platform has to be included in any other platform\n *\n * @experimental\n */\n var platformCore = createPlatformFactory(null, 'core', _CORE_PLATFORM_PROVIDERS);\n\n /**\n * @experimental i18n support is experimental.\n */\n var LOCALE_ID = new OpaqueToken('LocaleId');\n /**\n * @experimental i18n support is experimental.\n */\n var TRANSLATIONS = new OpaqueToken('Translations');\n /**\n * @experimental i18n support is experimental.\n */\n var TRANSLATIONS_FORMAT = new OpaqueToken('TranslationsFormat');\n\n function _iterableDiffersFactory() {\n return defaultIterableDiffers;\n }\n function _keyValueDiffersFactory() {\n return defaultKeyValueDiffers;\n }\n /**\n * This module includes the providers of @angular/core that are needed\n * to bootstrap components via `ApplicationRef`.\n *\n * @experimental\n */\n var ApplicationModule = (function () {\n function ApplicationModule() {\n }\n ApplicationModule.decorators = [\n { type: NgModule, args: [{\n providers: [\n ApplicationRef_,\n { provide: ApplicationRef, useExisting: ApplicationRef_ },\n ApplicationInitStatus,\n Compiler,\n APP_ID_RANDOM_PROVIDER,\n ViewUtils,\n { provide: IterableDiffers, useFactory: _iterableDiffersFactory },\n { provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory },\n { provide: LOCALE_ID, useValue: 'en-US' },\n ]\n },] },\n ];\n /** @nocollapse */\n ApplicationModule.ctorParameters = [];\n return ApplicationModule;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var FILL_STYLE_FLAG = 'true'; // TODO (matsko): change to boolean\n var ANY_STATE = '*';\n var DEFAULT_STATE = '*';\n var EMPTY_STATE = 'void';\n\n var AnimationGroupPlayer = (function () {\n function AnimationGroupPlayer(_players) {\n var _this = this;\n this._players = _players;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this.parentPlayer = null;\n var count = 0;\n var total = this._players.length;\n if (total == 0) {\n scheduleMicroTask(function () { return _this._onFinish(); });\n }\n else {\n this._players.forEach(function (player) {\n player.parentPlayer = _this;\n player.onDone(function () {\n if (++count >= total) {\n _this._onFinish();\n }\n });\n });\n }\n }\n AnimationGroupPlayer.prototype._onFinish = function () {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(function (fn) { return fn(); });\n this._onDoneFns = [];\n }\n };\n AnimationGroupPlayer.prototype.init = function () { this._players.forEach(function (player) { return player.init(); }); };\n AnimationGroupPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n AnimationGroupPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n AnimationGroupPlayer.prototype.hasStarted = function () { return this._started; };\n AnimationGroupPlayer.prototype.play = function () {\n if (!isPresent(this.parentPlayer)) {\n this.init();\n }\n if (!this.hasStarted()) {\n this._onStartFns.forEach(function (fn) { return fn(); });\n this._onStartFns = [];\n this._started = true;\n }\n this._players.forEach(function (player) { return player.play(); });\n };\n AnimationGroupPlayer.prototype.pause = function () { this._players.forEach(function (player) { return player.pause(); }); };\n AnimationGroupPlayer.prototype.restart = function () { this._players.forEach(function (player) { return player.restart(); }); };\n AnimationGroupPlayer.prototype.finish = function () {\n this._onFinish();\n this._players.forEach(function (player) { return player.finish(); });\n };\n AnimationGroupPlayer.prototype.destroy = function () {\n if (!this._destroyed) {\n this._onFinish();\n this._players.forEach(function (player) { return player.destroy(); });\n this._destroyed = true;\n }\n };\n AnimationGroupPlayer.prototype.reset = function () {\n this._players.forEach(function (player) { return player.reset(); });\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n };\n AnimationGroupPlayer.prototype.setPosition = function (p) {\n this._players.forEach(function (player) { player.setPosition(p); });\n };\n AnimationGroupPlayer.prototype.getPosition = function () {\n var min = 0;\n this._players.forEach(function (player) {\n var p = player.getPosition();\n min = Math.min(p, min);\n });\n return min;\n };\n Object.defineProperty(AnimationGroupPlayer.prototype, \"players\", {\n get: function () { return this._players; },\n enumerable: true,\n configurable: true\n });\n return AnimationGroupPlayer;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var AnimationKeyframe = (function () {\n function AnimationKeyframe(offset, styles) {\n this.offset = offset;\n this.styles = styles;\n }\n return AnimationKeyframe;\n }());\n\n /**\n * @experimental Animation support is experimental.\n */\n var AnimationPlayer = (function () {\n function AnimationPlayer() {\n }\n Object.defineProperty(AnimationPlayer.prototype, \"parentPlayer\", {\n get: function () { throw new Error('NOT IMPLEMENTED: Base Class'); },\n set: function (player) { throw new Error('NOT IMPLEMENTED: Base Class'); },\n enumerable: true,\n configurable: true\n });\n return AnimationPlayer;\n }());\n var NoOpAnimationPlayer = (function () {\n function NoOpAnimationPlayer() {\n var _this = this;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._started = false;\n this.parentPlayer = null;\n scheduleMicroTask(function () { return _this._onFinish(); });\n }\n /** @internal */\n NoOpAnimationPlayer.prototype._onFinish = function () {\n this._onDoneFns.forEach(function (fn) { return fn(); });\n this._onDoneFns = [];\n };\n NoOpAnimationPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n NoOpAnimationPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n NoOpAnimationPlayer.prototype.hasStarted = function () { return this._started; };\n NoOpAnimationPlayer.prototype.init = function () { };\n NoOpAnimationPlayer.prototype.play = function () {\n if (!this.hasStarted()) {\n this._onStartFns.forEach(function (fn) { return fn(); });\n this._onStartFns = [];\n }\n this._started = true;\n };\n NoOpAnimationPlayer.prototype.pause = function () { };\n NoOpAnimationPlayer.prototype.restart = function () { };\n NoOpAnimationPlayer.prototype.finish = function () { this._onFinish(); };\n NoOpAnimationPlayer.prototype.destroy = function () { };\n NoOpAnimationPlayer.prototype.reset = function () { };\n NoOpAnimationPlayer.prototype.setPosition = function (p) { };\n NoOpAnimationPlayer.prototype.getPosition = function () { return 0; };\n return NoOpAnimationPlayer;\n }());\n\n var AnimationSequencePlayer = (function () {\n function AnimationSequencePlayer(_players) {\n var _this = this;\n this._players = _players;\n this._currentIndex = 0;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this.parentPlayer = null;\n this._players.forEach(function (player) { player.parentPlayer = _this; });\n this._onNext(false);\n }\n AnimationSequencePlayer.prototype._onNext = function (start) {\n var _this = this;\n if (this._finished)\n return;\n if (this._players.length == 0) {\n this._activePlayer = new NoOpAnimationPlayer();\n scheduleMicroTask(function () { return _this._onFinish(); });\n }\n else if (this._currentIndex >= this._players.length) {\n this._activePlayer = new NoOpAnimationPlayer();\n this._onFinish();\n }\n else {\n var player = this._players[this._currentIndex++];\n player.onDone(function () { return _this._onNext(true); });\n this._activePlayer = player;\n if (start) {\n player.play();\n }\n }\n };\n AnimationSequencePlayer.prototype._onFinish = function () {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(function (fn) { return fn(); });\n this._onDoneFns = [];\n }\n };\n AnimationSequencePlayer.prototype.init = function () { this._players.forEach(function (player) { return player.init(); }); };\n AnimationSequencePlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n AnimationSequencePlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n AnimationSequencePlayer.prototype.hasStarted = function () { return this._started; };\n AnimationSequencePlayer.prototype.play = function () {\n if (!isPresent(this.parentPlayer)) {\n this.init();\n }\n if (!this.hasStarted()) {\n this._onStartFns.forEach(function (fn) { return fn(); });\n this._onStartFns = [];\n this._started = true;\n }\n this._activePlayer.play();\n };\n AnimationSequencePlayer.prototype.pause = function () { this._activePlayer.pause(); };\n AnimationSequencePlayer.prototype.restart = function () {\n this.reset();\n if (this._players.length > 0) {\n this._players[0].restart();\n }\n };\n AnimationSequencePlayer.prototype.reset = function () {\n this._players.forEach(function (player) { return player.reset(); });\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n };\n AnimationSequencePlayer.prototype.finish = function () {\n this._onFinish();\n this._players.forEach(function (player) { return player.finish(); });\n };\n AnimationSequencePlayer.prototype.destroy = function () {\n if (!this._destroyed) {\n this._onFinish();\n this._players.forEach(function (player) { return player.destroy(); });\n this._destroyed = true;\n this._activePlayer = new NoOpAnimationPlayer();\n }\n };\n AnimationSequencePlayer.prototype.setPosition = function (p) { this._players[0].setPosition(p); };\n AnimationSequencePlayer.prototype.getPosition = function () { return this._players[0].getPosition(); };\n Object.defineProperty(AnimationSequencePlayer.prototype, \"players\", {\n get: function () { return this._players; },\n enumerable: true,\n configurable: true\n });\n return AnimationSequencePlayer;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$13 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @experimental Animation support is experimental.\n */\n var AUTO_STYLE = '*';\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link trigger trigger\n * animation function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationEntryMetadata = (function () {\n function AnimationEntryMetadata(name, definitions) {\n this.name = name;\n this.definitions = definitions;\n }\n return AnimationEntryMetadata;\n }());\n /**\n * @experimental Animation support is experimental.\n */\n var AnimationStateMetadata = (function () {\n function AnimationStateMetadata() {\n }\n return AnimationStateMetadata;\n }());\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link state state animation\n * function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationStateDeclarationMetadata = (function (_super) {\n __extends$13(AnimationStateDeclarationMetadata, _super);\n function AnimationStateDeclarationMetadata(stateNameExpr, styles) {\n _super.call(this);\n this.stateNameExpr = stateNameExpr;\n this.styles = styles;\n }\n return AnimationStateDeclarationMetadata;\n }(AnimationStateMetadata));\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the\n * {@link transition transition animation function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationStateTransitionMetadata = (function (_super) {\n __extends$13(AnimationStateTransitionMetadata, _super);\n function AnimationStateTransitionMetadata(stateChangeExpr, steps) {\n _super.call(this);\n this.stateChangeExpr = stateChangeExpr;\n this.steps = steps;\n }\n return AnimationStateTransitionMetadata;\n }(AnimationStateMetadata));\n /**\n * @experimental Animation support is experimental.\n */\n var AnimationMetadata = (function () {\n function AnimationMetadata() {\n }\n return AnimationMetadata;\n }());\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link keyframes keyframes\n * animation function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationKeyframesSequenceMetadata = (function (_super) {\n __extends$13(AnimationKeyframesSequenceMetadata, _super);\n function AnimationKeyframesSequenceMetadata(steps) {\n _super.call(this);\n this.steps = steps;\n }\n return AnimationKeyframesSequenceMetadata;\n }(AnimationMetadata));\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link style style animation\n * function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationStyleMetadata = (function (_super) {\n __extends$13(AnimationStyleMetadata, _super);\n function AnimationStyleMetadata(styles, offset) {\n if (offset === void 0) { offset = null; }\n _super.call(this);\n this.styles = styles;\n this.offset = offset;\n }\n return AnimationStyleMetadata;\n }(AnimationMetadata));\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link animate animate\n * animation function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationAnimateMetadata = (function (_super) {\n __extends$13(AnimationAnimateMetadata, _super);\n function AnimationAnimateMetadata(timings, styles) {\n _super.call(this);\n this.timings = timings;\n this.styles = styles;\n }\n return AnimationAnimateMetadata;\n }(AnimationMetadata));\n /**\n * @experimental Animation support is experimental.\n */\n var AnimationWithStepsMetadata = (function (_super) {\n __extends$13(AnimationWithStepsMetadata, _super);\n function AnimationWithStepsMetadata() {\n _super.call(this);\n }\n Object.defineProperty(AnimationWithStepsMetadata.prototype, \"steps\", {\n get: function () { throw new Error('NOT IMPLEMENTED: Base Class'); },\n enumerable: true,\n configurable: true\n });\n return AnimationWithStepsMetadata;\n }(AnimationMetadata));\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link sequence sequence\n * animation function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationSequenceMetadata = (function (_super) {\n __extends$13(AnimationSequenceMetadata, _super);\n function AnimationSequenceMetadata(_steps) {\n _super.call(this);\n this._steps = _steps;\n }\n Object.defineProperty(AnimationSequenceMetadata.prototype, \"steps\", {\n get: function () { return this._steps; },\n enumerable: true,\n configurable: true\n });\n return AnimationSequenceMetadata;\n }(AnimationWithStepsMetadata));\n /**\n * Metadata representing the entry of animations.\n * Instances of this class are provided via the animation DSL when the {@link group group animation\n * function} is called.\n *\n * @experimental Animation support is experimental.\n */\n var AnimationGroupMetadata = (function (_super) {\n __extends$13(AnimationGroupMetadata, _super);\n function AnimationGroupMetadata(_steps) {\n _super.call(this);\n this._steps = _steps;\n }\n Object.defineProperty(AnimationGroupMetadata.prototype, \"steps\", {\n get: function () { return this._steps; },\n enumerable: true,\n configurable: true\n });\n return AnimationGroupMetadata;\n }(AnimationWithStepsMetadata));\n /**\n * `animate` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `animate` specifies an animation step that will apply the provided `styles` data for a given\n * amount of\n * time based on the provided `timing` expression value. Calls to `animate` are expected to be\n * used within {@link sequence an animation sequence}, {@link group group}, or {@link transition\n * transition}.\n *\n * ### Usage\n *\n * The `animate` function accepts two input parameters: `timing` and `styles`:\n *\n * - `timing` is a string based value that can be a combination of a duration with optional\n * delay and easing values. The format for the expression breaks down to `duration delay easing`\n * (therefore a value such as `1s 100ms ease-out` will be parse itself into `duration=1000,\n * delay=100, easing=ease-out`.\n * If a numeric value is provided then that will be used as the `duration` value in millisecond\n * form.\n * - `styles` is the style input data which can either be a call to {@link style style} or {@link\n * keyframes keyframes}.\n * If left empty then the styles from the destination state will be collected and used (this is\n * useful when\n * describing an animation step that will complete an animation by {@link\n * transition#the-final-animate-call animating to the final state}).\n *\n * ```typescript\n * // various functions for specifying timing data\n * animate(500, style(...))\n * animate(\"1s\", style(...))\n * animate(\"100ms 0.5s\", style(...))\n * animate(\"5s ease\", style(...))\n * animate(\"5s 10ms cubic-bezier(.17,.67,.88,.1)\", style(...))\n *\n * // either style() of keyframes() can be used\n * animate(500, style({ background: \"red\" }))\n * animate(500, keyframes([\n * style({ background: \"blue\" })),\n * style({ background: \"red\" }))\n * ])\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function animate(timing, styles) {\n if (styles === void 0) { styles = null; }\n var stylesEntry = styles;\n if (!isPresent(stylesEntry)) {\n var EMPTY_STYLE = {};\n stylesEntry = new AnimationStyleMetadata([EMPTY_STYLE], 1);\n }\n return new AnimationAnimateMetadata(timing, stylesEntry);\n }\n /**\n * `group` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `group` specifies a list of animation steps that are all run in parallel. Grouped animations\n * are useful when a series of styles must be animated/closed off\n * at different statrting/ending times.\n *\n * The `group` function can either be used within a {@link sequence sequence} or a {@link transition\n * transition}\n * and it will only continue to the next instruction once all of the inner animation steps\n * have completed.\n *\n * ### Usage\n *\n * The `steps` data that is passed into the `group` animation function can either consist\n * of {@link style style} or {@link animate animate} function calls. Each call to `style()` or\n * `animate()`\n * within a group will be executed instantly (use {@link keyframes keyframes} or a\n * {@link animate#usage animate() with a delay value} to offset styles to be applied at a later\n * time).\n *\n * ```typescript\n * group([\n * animate(\"1s\", { background: \"black\" }))\n * animate(\"2s\", { color: \"white\" }))\n * ])\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function group(steps) {\n return new AnimationGroupMetadata(steps);\n }\n /**\n * `sequence` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `sequence` Specifies a list of animation steps that are run one by one. (`sequence` is used\n * by default when an array is passed as animation data into {@link transition transition}.)\n *\n * The `sequence` function can either be used within a {@link group group} or a {@link transition\n * transition}\n * and it will only continue to the next instruction once each of the inner animation steps\n * have completed.\n *\n * To perform animation styling in parallel with other animation steps then\n * have a look at the {@link group group} animation function.\n *\n * ### Usage\n *\n * The `steps` data that is passed into the `sequence` animation function can either consist\n * of {@link style style} or {@link animate animate} function calls. A call to `style()` will apply\n * the\n * provided styling data immediately while a call to `animate()` will apply its styling\n * data over a given time depending on its timing data.\n *\n * ```typescript\n * sequence([\n * style({ opacity: 0 })),\n * animate(\"1s\", { opacity: 1 }))\n * ])\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function sequence(steps) {\n return new AnimationSequenceMetadata(steps);\n }\n /**\n * `style` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `style` declares a key/value object containing CSS properties/styles that can then\n * be used for {@link state animation states}, within an {@link sequence animation sequence}, or as\n * styling data for both {@link animate animate} and {@link keyframes keyframes}.\n *\n * ### Usage\n *\n * `style` takes in a key/value string map as data and expects one or more CSS property/value\n * pairs to be defined.\n *\n * ```typescript\n * // string values are used for css properties\n * style({ background: \"red\", color: \"blue\" })\n *\n * // numerical (pixel) values are also supported\n * style({ width: 100, height: 0 })\n * ```\n *\n * #### Auto-styles (using `*`)\n *\n * When an asterix (`*`) character is used as a value then it will be detected from the element\n * being animated\n * and applied as animation data when the animation starts.\n *\n * This feature proves useful for a state depending on layout and/or environment factors; in such\n * cases\n * the styles are calculated just before the animation starts.\n *\n * ```typescript\n * // the steps below will animate from 0 to the\n * // actual height of the element\n * style({ height: 0 }),\n * animate(\"1s\", style({ height: \"*\" }))\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function style(tokens) {\n var input;\n var offset = null;\n if (typeof tokens === 'string') {\n input = [tokens];\n }\n else {\n if (Array.isArray(tokens)) {\n input = tokens;\n }\n else {\n input = [tokens];\n }\n input.forEach(function (entry) {\n var entryOffset = entry['offset'];\n if (isPresent(entryOffset)) {\n offset = offset == null ? parseFloat(entryOffset) : offset;\n }\n });\n }\n return new AnimationStyleMetadata(input, offset);\n }\n /**\n * `state` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `state` declares an animation state within the given trigger. When a state is\n * active within a component then its associated styles will persist on\n * the element that the trigger is attached to (even when the animation ends).\n *\n * To animate between states, have a look at the animation {@link transition transition}\n * DSL function. To register states to an animation trigger please have a look\n * at the {@link trigger trigger} function.\n *\n * #### The `void` state\n *\n * The `void` state value is a reserved word that angular uses to determine when the element is not\n * apart\n * of the application anymore (e.g. when an `ngIf` evaluates to false then the state of the\n * associated element\n * is void).\n *\n * #### The `*` (default) state\n *\n * The `*` state (when styled) is a fallback state that will be used if\n * the state that is being animated is not declared within the trigger.\n *\n * ### Usage\n *\n * `state` will declare an animation state with its associated styles\n * within the given trigger.\n *\n * - `stateNameExpr` can be one or more state names separated by commas.\n * - `styles` refers to the {@link style styling data} that will be persisted on the element once\n * the state\n * has been reached.\n *\n * ```typescript\n * // \"void\" is a reserved name for a state and is used to represent\n * // the state in which an element is detached from from the application.\n * state(\"void\", style({ height: 0 }))\n *\n * // user-defined states\n * state(\"closed\", style({ height: 0 }))\n * state(\"open, visible\", style({ height: \"*\" }))\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function state(stateNameExpr, styles) {\n return new AnimationStateDeclarationMetadata(stateNameExpr, styles);\n }\n /**\n * `keyframes` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `keyframes` specifies a collection of {@link style style} entries each optionally characterized\n * by an `offset` value.\n *\n * ### Usage\n *\n * The `keyframes` animation function is designed to be used alongside the {@link animate animate}\n * animation function. Instead of applying animations from where they are\n * currently to their destination, keyframes can describe how each style entry is applied\n * and at what point within the animation arc (much like CSS Keyframe Animations do).\n *\n * For each `style()` entry an `offset` value can be set. Doing so allows to specifiy at\n * what percentage of the animate time the styles will be applied.\n *\n * ```typescript\n * // the provided offset values describe when each backgroundColor value is applied.\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\", offset: 0 }),\n * style({ backgroundColor: \"blue\", offset: 0.2 }),\n * style({ backgroundColor: \"orange\", offset: 0.3 }),\n * style({ backgroundColor: \"black\", offset: 1 })\n * ]))\n * ```\n *\n * Alternatively, if there are no `offset` values used within the style entries then the offsets\n * will\n * be calculated automatically.\n *\n * ```typescript\n * animate(\"5s\", keyframes([\n * style({ backgroundColor: \"red\" }) // offset = 0\n * style({ backgroundColor: \"blue\" }) // offset = 0.33\n * style({ backgroundColor: \"orange\" }) // offset = 0.66\n * style({ backgroundColor: \"black\" }) // offset = 1\n * ]))\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function keyframes(steps) {\n return new AnimationKeyframesSequenceMetadata(steps);\n }\n /**\n * `transition` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `transition` declares the {@link sequence sequence of animation steps} that will be run when the\n * provided\n * `stateChangeExpr` value is satisfied. The `stateChangeExpr` consists of a `state1 => state2`\n * which consists\n * of two known states (use an asterix (`*`) to refer to a dynamic starting and/or ending state).\n *\n * Animation transitions are placed within an {@link trigger animation trigger}. For an transition\n * to animate to\n * a state value and persist its styles then one or more {@link state animation states} is expected\n * to be defined.\n *\n * ### Usage\n *\n * An animation transition is kicked off the `stateChangeExpr` predicate evaluates to true based on\n * what the\n * previous state is and what the current state has become. In other words, if a transition is\n * defined that\n * matches the old/current state criteria then the associated animation will be triggered.\n *\n * ```typescript\n * // all transition/state changes are defined within an animation trigger\n * trigger(\"myAnimationTrigger\", [\n * // if a state is defined then its styles will be persisted when the\n * // animation has fully completed itself\n * state(\"on\", style({ background: \"green\" })),\n * state(\"off\", style({ background: \"grey\" })),\n *\n * // a transition animation that will be kicked off when the state value\n * // bound to \"myAnimationTrigger\" changes from \"on\" to \"off\"\n * transition(\"on => off\", animate(500)),\n *\n * // it is also possible to do run the same animation for both directions\n * transition(\"on <=> off\", animate(500)),\n *\n * // or to define multiple states pairs separated by commas\n * transition(\"on => off, off => void\", animate(500)),\n *\n * // this is a catch-all state change for when an element is inserted into\n * // the page and the destination state is unknown\n * transition(\"void => *\", [\n * style({ opacity: 0 }),\n * animate(500)\n * ]),\n *\n * // this will capture a state change between any states\n * transition(\"* => *\", animate(\"1s 0s\")),\n * ])\n * ```\n *\n * The template associated with this component will make use of the `myAnimationTrigger`\n * animation trigger by binding to an element within its template code.\n *\n * ```html\n * <!-- somewhere inside of my-component-tpl.html -->\n * <div [@myAnimationTrigger]=\"myStatusExp\">...</div>\n * ```\n *\n * #### The final `animate` call\n *\n * If the final step within the transition steps is a call to `animate()` that **only**\n * uses a timing value with **no style data** then it will be automatically used as the final\n * animation\n * arc for the element to animate itself to the final state. This involves an automatic mix of\n * adding/removing CSS styles so that the element will be in the exact state it should be for the\n * applied state to be presented correctly.\n *\n * ```\n * // start off by hiding the element, but make sure that it animates properly to whatever state\n * // is currently active for \"myAnimationTrigger\"\n * transition(\"void => *\", [\n * style({ opacity: 0 }),\n * animate(500)\n * ])\n * ```\n *\n * ### Transition Aliases (`:enter` and `:leave`)\n *\n * Given that enter (insertion) and leave (removal) animations are so common,\n * the `transition` function accepts both `:enter` and `:leave` values which\n * are aliases for the `void => *` and `* => void` state changes.\n *\n * ```\n * transition(\":enter\", [\n * style({ opacity: 0 }),\n * animate(500, style({ opacity: 1 }))\n * ])\n * transition(\":leave\", [\n * animate(500, style({ opacity: 0 }))\n * ])\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function transition(stateChangeExpr, steps) {\n var animationData = Array.isArray(steps) ? new AnimationSequenceMetadata(steps) : steps;\n return new AnimationStateTransitionMetadata(stateChangeExpr, animationData);\n }\n /**\n * `trigger` is an animation-specific function that is designed to be used inside of Angular2's\n * animation\n * DSL language. If this information is new, please navigate to the\n * {@link Component#animations-anchor component animations metadata\n * page} to gain a better understanding of how animations in Angular2 are used.\n *\n * `trigger` Creates an animation trigger which will a list of {@link state state} and {@link\n * transition transition}\n * entries that will be evaluated when the expression bound to the trigger changes.\n *\n * Triggers are registered within the component annotation data under the\n * {@link Component#animations-anchor animations section}. An animation trigger can\n * be placed on an element within a template by referencing the name of the\n * trigger followed by the expression value that the trigger is bound to\n * (in the form of `[@triggerName]=\"expression\"`.\n *\n * ### Usage\n *\n * `trigger` will create an animation trigger reference based on the provided `name` value.\n * The provided `animation` value is expected to be an array consisting of {@link state state} and\n * {@link transition transition}\n * declarations.\n *\n * ```typescript\n * @Component({\n * selector: 'my-component',\n * templateUrl: 'my-component-tpl.html',\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * state(...),\n * state(...),\n * transition(...),\n * transition(...)\n * ])\n * ]\n * })\n * class MyComponent {\n * myStatusExp = \"something\";\n * }\n * ```\n *\n * The template associated with this component will make use of the `myAnimationTrigger`\n * animation trigger by binding to an element within its template code.\n *\n * ```html\n * <!-- somewhere inside of my-component-tpl.html -->\n * <div [@myAnimationTrigger]=\"myStatusExp\">...</div>\n * ```\n *\n * ### Example ([live demo](http://plnkr.co/edit/Kez8XGWBxWue7qP7nNvF?p=preview))\n *\n * {@example core/animation/ts/dsl/animation_example.ts region='Component'}\n *\n * @experimental Animation support is experimental.\n */\n function trigger(name, animation) {\n return new AnimationEntryMetadata(name, animation);\n }\n\n function prepareFinalAnimationStyles(previousStyles, newStyles, nullValue) {\n if (nullValue === void 0) { nullValue = null; }\n var finalStyles = {};\n Object.keys(newStyles).forEach(function (prop) {\n var value = newStyles[prop];\n finalStyles[prop] = value == AUTO_STYLE ? nullValue : value.toString();\n });\n Object.keys(previousStyles).forEach(function (prop) {\n if (!isPresent(finalStyles[prop])) {\n finalStyles[prop] = nullValue;\n }\n });\n return finalStyles;\n }\n function balanceAnimationKeyframes(collectedStyles, finalStateStyles, keyframes) {\n var limit = keyframes.length - 1;\n var firstKeyframe = keyframes[0];\n // phase 1: copy all the styles from the first keyframe into the lookup map\n var flatenedFirstKeyframeStyles = flattenStyles(firstKeyframe.styles.styles);\n var extraFirstKeyframeStyles = {};\n var hasExtraFirstStyles = false;\n Object.keys(collectedStyles).forEach(function (prop) {\n var value = collectedStyles[prop];\n // if the style is already defined in the first keyframe then\n // we do not replace it.\n if (!flatenedFirstKeyframeStyles[prop]) {\n flatenedFirstKeyframeStyles[prop] = value;\n extraFirstKeyframeStyles[prop] = value;\n hasExtraFirstStyles = true;\n }\n });\n var keyframeCollectedStyles = StringMapWrapper.merge({}, flatenedFirstKeyframeStyles);\n // phase 2: normalize the final keyframe\n var finalKeyframe = keyframes[limit];\n finalKeyframe.styles.styles.unshift(finalStateStyles);\n var flatenedFinalKeyframeStyles = flattenStyles(finalKeyframe.styles.styles);\n var extraFinalKeyframeStyles = {};\n var hasExtraFinalStyles = false;\n Object.keys(keyframeCollectedStyles).forEach(function (prop) {\n if (!isPresent(flatenedFinalKeyframeStyles[prop])) {\n extraFinalKeyframeStyles[prop] = AUTO_STYLE;\n hasExtraFinalStyles = true;\n }\n });\n if (hasExtraFinalStyles) {\n finalKeyframe.styles.styles.push(extraFinalKeyframeStyles);\n }\n Object.keys(flatenedFinalKeyframeStyles).forEach(function (prop) {\n if (!isPresent(flatenedFirstKeyframeStyles[prop])) {\n extraFirstKeyframeStyles[prop] = AUTO_STYLE;\n hasExtraFirstStyles = true;\n }\n });\n if (hasExtraFirstStyles) {\n firstKeyframe.styles.styles.push(extraFirstKeyframeStyles);\n }\n collectAndResolveStyles(collectedStyles, [finalStateStyles]);\n return keyframes;\n }\n function clearStyles(styles) {\n var finalStyles = {};\n Object.keys(styles).forEach(function (key) { finalStyles[key] = null; });\n return finalStyles;\n }\n function collectAndResolveStyles(collection, styles) {\n return styles.map(function (entry) {\n var stylesObj = {};\n Object.keys(entry).forEach(function (prop) {\n var value = entry[prop];\n if (value == FILL_STYLE_FLAG) {\n value = collection[prop];\n if (!isPresent(value)) {\n value = AUTO_STYLE;\n }\n }\n collection[prop] = value;\n stylesObj[prop] = value;\n });\n return stylesObj;\n });\n }\n function renderStyles(element, renderer, styles) {\n Object.keys(styles).forEach(function (prop) { renderer.setElementStyle(element, prop, styles[prop]); });\n }\n function flattenStyles(styles) {\n var finalStyles = {};\n styles.forEach(function (entry) {\n Object.keys(entry).forEach(function (prop) { finalStyles[prop] = entry[prop]; });\n });\n return finalStyles;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var AnimationStyles = (function () {\n function AnimationStyles(styles) {\n this.styles = styles;\n }\n return AnimationStyles;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * An instance of this class is returned as an event parameter when an animation\n * callback is captured for an animation either during the start or done phase.\n *\n * ```typescript\n * @Component({\n * host: {\n * '[@myAnimationTrigger]': 'someExpression',\n * '(@myAnimationTrigger.start)': 'captureStartEvent($event)',\n * '(@myAnimationTrigger.done)': 'captureDoneEvent($event)',\n * },\n * animations: [\n * trigger(\"myAnimationTrigger\", [\n * // ...\n * ])\n * ]\n * })\n * class MyComponent {\n * someExpression: any = false;\n * captureStartEvent(event: AnimationTransitionEvent) {\n * // the toState, fromState and totalTime data is accessible from the event variable\n * }\n *\n * captureDoneEvent(event: AnimationTransitionEvent) {\n * // the toState, fromState and totalTime data is accessible from the event variable\n * }\n * }\n * ```\n *\n * @experimental Animation support is experimental.\n */\n var AnimationTransitionEvent = (function () {\n function AnimationTransitionEvent(_a) {\n var fromState = _a.fromState, toState = _a.toState, totalTime = _a.totalTime, phaseName = _a.phaseName;\n this.fromState = fromState;\n this.toState = toState;\n this.totalTime = totalTime;\n this.phaseName = phaseName;\n }\n return AnimationTransitionEvent;\n }());\n\n var AnimationTransition = (function () {\n function AnimationTransition(_player, _fromState, _toState, _totalTime) {\n this._player = _player;\n this._fromState = _fromState;\n this._toState = _toState;\n this._totalTime = _totalTime;\n }\n AnimationTransition.prototype._createEvent = function (phaseName) {\n return new AnimationTransitionEvent({\n fromState: this._fromState,\n toState: this._toState,\n totalTime: this._totalTime,\n phaseName: phaseName\n });\n };\n AnimationTransition.prototype.onStart = function (callback) {\n var event = this._createEvent('start');\n this._player.onStart(function () { return callback(event); });\n };\n AnimationTransition.prototype.onDone = function (callback) {\n var event = this._createEvent('done');\n this._player.onDone(function () { return callback(event); });\n };\n return AnimationTransition;\n }());\n\n var DebugDomRootRenderer = (function () {\n function DebugDomRootRenderer(_delegate) {\n this._delegate = _delegate;\n }\n DebugDomRootRenderer.prototype.renderComponent = function (componentProto) {\n return new DebugDomRenderer(this._delegate.renderComponent(componentProto));\n };\n return DebugDomRootRenderer;\n }());\n var DebugDomRenderer = (function () {\n function DebugDomRenderer(_delegate) {\n this._delegate = _delegate;\n }\n DebugDomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\n var nativeEl = this._delegate.selectRootElement(selectorOrNode, debugInfo);\n var debugEl = new DebugElement(nativeEl, null, debugInfo);\n indexDebugNode(debugEl);\n return nativeEl;\n };\n DebugDomRenderer.prototype.createElement = function (parentElement, name, debugInfo) {\n var nativeEl = this._delegate.createElement(parentElement, name, debugInfo);\n var debugEl = new DebugElement(nativeEl, getDebugNode(parentElement), debugInfo);\n debugEl.name = name;\n indexDebugNode(debugEl);\n return nativeEl;\n };\n DebugDomRenderer.prototype.createViewRoot = function (hostElement) { return this._delegate.createViewRoot(hostElement); };\n DebugDomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\n var comment = this._delegate.createTemplateAnchor(parentElement, debugInfo);\n var debugEl = new DebugNode(comment, getDebugNode(parentElement), debugInfo);\n indexDebugNode(debugEl);\n return comment;\n };\n DebugDomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\n var text = this._delegate.createText(parentElement, value, debugInfo);\n var debugEl = new DebugNode(text, getDebugNode(parentElement), debugInfo);\n indexDebugNode(debugEl);\n return text;\n };\n DebugDomRenderer.prototype.projectNodes = function (parentElement, nodes) {\n var debugParent = getDebugNode(parentElement);\n if (isPresent(debugParent) && debugParent instanceof DebugElement) {\n var debugElement_1 = debugParent;\n nodes.forEach(function (node) { debugElement_1.addChild(getDebugNode(node)); });\n }\n this._delegate.projectNodes(parentElement, nodes);\n };\n DebugDomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) {\n var debugNode = getDebugNode(node);\n if (isPresent(debugNode)) {\n var debugParent = debugNode.parent;\n if (viewRootNodes.length > 0 && isPresent(debugParent)) {\n var debugViewRootNodes_1 = [];\n viewRootNodes.forEach(function (rootNode) { return debugViewRootNodes_1.push(getDebugNode(rootNode)); });\n debugParent.insertChildrenAfter(debugNode, debugViewRootNodes_1);\n }\n }\n this._delegate.attachViewAfter(node, viewRootNodes);\n };\n DebugDomRenderer.prototype.detachView = function (viewRootNodes) {\n viewRootNodes.forEach(function (node) {\n var debugNode = getDebugNode(node);\n if (isPresent(debugNode) && isPresent(debugNode.parent)) {\n debugNode.parent.removeChild(debugNode);\n }\n });\n this._delegate.detachView(viewRootNodes);\n };\n DebugDomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\n viewAllNodes = viewAllNodes || [];\n viewAllNodes.forEach(function (node) { removeDebugNodeFromIndex(getDebugNode(node)); });\n this._delegate.destroyView(hostElement, viewAllNodes);\n };\n DebugDomRenderer.prototype.listen = function (renderElement, name, callback) {\n var debugEl = getDebugNode(renderElement);\n if (isPresent(debugEl)) {\n debugEl.listeners.push(new EventListener(name, callback));\n }\n return this._delegate.listen(renderElement, name, callback);\n };\n DebugDomRenderer.prototype.listenGlobal = function (target, name, callback) {\n return this._delegate.listenGlobal(target, name, callback);\n };\n DebugDomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\n var debugEl = getDebugNode(renderElement);\n if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n debugEl.properties[propertyName] = propertyValue;\n }\n this._delegate.setElementProperty(renderElement, propertyName, propertyValue);\n };\n DebugDomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\n var debugEl = getDebugNode(renderElement);\n if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n debugEl.attributes[attributeName] = attributeValue;\n }\n this._delegate.setElementAttribute(renderElement, attributeName, attributeValue);\n };\n DebugDomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\n this._delegate.setBindingDebugInfo(renderElement, propertyName, propertyValue);\n };\n DebugDomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\n var debugEl = getDebugNode(renderElement);\n if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n debugEl.classes[className] = isAdd;\n }\n this._delegate.setElementClass(renderElement, className, isAdd);\n };\n DebugDomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\n var debugEl = getDebugNode(renderElement);\n if (isPresent(debugEl) && debugEl instanceof DebugElement) {\n debugEl.styles[styleName] = styleValue;\n }\n this._delegate.setElementStyle(renderElement, styleName, styleValue);\n };\n DebugDomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\n this._delegate.invokeElementMethod(renderElement, methodName, args);\n };\n DebugDomRenderer.prototype.setText = function (renderNode, text) { this._delegate.setText(renderNode, text); };\n DebugDomRenderer.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n if (previousPlayers === void 0) { previousPlayers = []; }\n return this._delegate.animate(element, startingStyles, keyframes, duration, delay, easing, previousPlayers);\n };\n return DebugDomRenderer;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var ViewType;\n (function (ViewType) {\n // A view that contains the host element with bound component directive.\n // Contains a COMPONENT view\n ViewType[ViewType[\"HOST\"] = 0] = \"HOST\";\n // The view of the component\n // Can contain 0 to n EMBEDDED views\n ViewType[ViewType[\"COMPONENT\"] = 1] = \"COMPONENT\";\n // A view that is embedded into another View via a <template> element\n // inside of a COMPONENT view\n ViewType[ViewType[\"EMBEDDED\"] = 2] = \"EMBEDDED\";\n })(ViewType || (ViewType = {}));\n\n var StaticNodeDebugInfo = (function () {\n function StaticNodeDebugInfo(providerTokens, componentToken, refTokens) {\n this.providerTokens = providerTokens;\n this.componentToken = componentToken;\n this.refTokens = refTokens;\n }\n return StaticNodeDebugInfo;\n }());\n var DebugContext = (function () {\n function DebugContext(_view, _nodeIndex, _tplRow, _tplCol) {\n this._view = _view;\n this._nodeIndex = _nodeIndex;\n this._tplRow = _tplRow;\n this._tplCol = _tplCol;\n }\n Object.defineProperty(DebugContext.prototype, \"_staticNodeInfo\", {\n get: function () {\n return isPresent(this._nodeIndex) ? this._view.staticNodeDebugInfos[this._nodeIndex] : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"context\", {\n get: function () { return this._view.context; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"component\", {\n get: function () {\n var staticNodeInfo = this._staticNodeInfo;\n if (isPresent(staticNodeInfo) && isPresent(staticNodeInfo.componentToken)) {\n return this.injector.get(staticNodeInfo.componentToken);\n }\n return null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"componentRenderElement\", {\n get: function () {\n var componentView = this._view;\n while (isPresent(componentView.parentView) && componentView.type !== ViewType.COMPONENT) {\n componentView = componentView.parentView;\n }\n return componentView.parentElement;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"injector\", {\n get: function () { return this._view.injector(this._nodeIndex); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"renderNode\", {\n get: function () {\n if (isPresent(this._nodeIndex) && this._view.allNodes) {\n return this._view.allNodes[this._nodeIndex];\n }\n else {\n return null;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"providerTokens\", {\n get: function () {\n var staticNodeInfo = this._staticNodeInfo;\n return isPresent(staticNodeInfo) ? staticNodeInfo.providerTokens : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"source\", {\n get: function () {\n return this._view.componentType.templateUrl + \":\" + this._tplRow + \":\" + this._tplCol;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(DebugContext.prototype, \"references\", {\n get: function () {\n var _this = this;\n var varValues = {};\n var staticNodeInfo = this._staticNodeInfo;\n if (isPresent(staticNodeInfo)) {\n var refs_1 = staticNodeInfo.refTokens;\n Object.keys(refs_1).forEach(function (refName) {\n var refToken = refs_1[refName];\n var varValue;\n if (isBlank(refToken)) {\n varValue = _this._view.allNodes ? _this._view.allNodes[_this._nodeIndex] : null;\n }\n else {\n varValue = _this._view.injectorGet(refToken, _this._nodeIndex, null);\n }\n varValues[refName] = varValue;\n });\n }\n return varValues;\n },\n enumerable: true,\n configurable: true\n });\n return DebugContext;\n }());\n\n var ViewAnimationMap = (function () {\n function ViewAnimationMap() {\n this._map = new Map();\n this._allPlayers = [];\n }\n ViewAnimationMap.prototype.find = function (element, animationName) {\n var playersByAnimation = this._map.get(element);\n if (isPresent(playersByAnimation)) {\n return playersByAnimation[animationName];\n }\n };\n ViewAnimationMap.prototype.findAllPlayersByElement = function (element) {\n var el = this._map.get(element);\n return el ? Object.keys(el).map(function (k) { return el[k]; }) : [];\n };\n ViewAnimationMap.prototype.set = function (element, animationName, player) {\n var playersByAnimation = this._map.get(element);\n if (!isPresent(playersByAnimation)) {\n playersByAnimation = {};\n }\n var existingEntry = playersByAnimation[animationName];\n if (isPresent(existingEntry)) {\n this.remove(element, animationName);\n }\n playersByAnimation[animationName] = player;\n this._allPlayers.push(player);\n this._map.set(element, playersByAnimation);\n };\n ViewAnimationMap.prototype.getAllPlayers = function () { return this._allPlayers; };\n ViewAnimationMap.prototype.remove = function (element, animationName) {\n var playersByAnimation = this._map.get(element);\n if (playersByAnimation) {\n var player = playersByAnimation[animationName];\n delete playersByAnimation[animationName];\n var index = this._allPlayers.indexOf(player);\n this._allPlayers.splice(index, 1);\n if (Object.keys(playersByAnimation).length === 0) {\n this._map.delete(element);\n }\n }\n };\n return ViewAnimationMap;\n }());\n\n var AnimationViewContext = (function () {\n function AnimationViewContext() {\n this._players = new ViewAnimationMap();\n }\n AnimationViewContext.prototype.onAllActiveAnimationsDone = function (callback) {\n var activeAnimationPlayers = this._players.getAllPlayers();\n // we check for the length to avoid having GroupAnimationPlayer\n // issue an unnecessary microtask when zero players are passed in\n if (activeAnimationPlayers.length) {\n new AnimationGroupPlayer(activeAnimationPlayers).onDone(function () { return callback(); });\n }\n else {\n callback();\n }\n };\n AnimationViewContext.prototype.queueAnimation = function (element, animationName, player) {\n queueAnimationGlobally(player);\n this._players.set(element, animationName, player);\n };\n AnimationViewContext.prototype.getAnimationPlayers = function (element, animationName, removeAllAnimations) {\n if (removeAllAnimations === void 0) { removeAllAnimations = false; }\n var players = [];\n if (removeAllAnimations) {\n this._players.findAllPlayersByElement(element).forEach(function (player) { _recursePlayers(player, players); });\n }\n else {\n var currentPlayer = this._players.find(element, animationName);\n if (currentPlayer) {\n _recursePlayers(currentPlayer, players);\n }\n }\n return players;\n };\n return AnimationViewContext;\n }());\n function _recursePlayers(player, collectedPlayers) {\n if ((player instanceof AnimationGroupPlayer) || (player instanceof AnimationSequencePlayer)) {\n player.players.forEach(function (player) { return _recursePlayers(player, collectedPlayers); });\n }\n else {\n collectedPlayers.push(player);\n }\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$15 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var ElementInjector = (function (_super) {\n __extends$15(ElementInjector, _super);\n function ElementInjector(_view, _nodeIndex) {\n _super.call(this);\n this._view = _view;\n this._nodeIndex = _nodeIndex;\n }\n ElementInjector.prototype.get = function (token, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n return this._view.injectorGet(token, this._nodeIndex, notFoundValue);\n };\n return ElementInjector;\n }(Injector));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$14 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _scope_check = wtfCreateScope(\"AppView#check(ascii id)\");\n /**\n * @experimental\n */\n var EMPTY_CONTEXT$1 = new Object();\n var UNDEFINED$1 = new Object();\n /**\n * Cost of making objects: http://jsperf.com/instantiate-size-of-object\n *\n */\n var AppView = (function () {\n function AppView(clazz, componentType, type, viewUtils, parentView, parentIndex, parentElement, cdMode, declaredViewContainer) {\n if (declaredViewContainer === void 0) { declaredViewContainer = null; }\n this.clazz = clazz;\n this.componentType = componentType;\n this.type = type;\n this.viewUtils = viewUtils;\n this.parentView = parentView;\n this.parentIndex = parentIndex;\n this.parentElement = parentElement;\n this.cdMode = cdMode;\n this.declaredViewContainer = declaredViewContainer;\n this.viewContainer = null;\n this.numberOfChecks = 0;\n this.ref = new ViewRef_(this);\n if (type === ViewType.COMPONENT || type === ViewType.HOST) {\n this.renderer = viewUtils.renderComponent(componentType);\n }\n else {\n this.renderer = parentView.renderer;\n }\n this._directRenderer = this.renderer.directRenderer;\n }\n Object.defineProperty(AppView.prototype, \"animationContext\", {\n get: function () {\n if (!this._animationContext) {\n this._animationContext = new AnimationViewContext();\n }\n return this._animationContext;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppView.prototype, \"destroyed\", {\n get: function () { return this.cdMode === ChangeDetectorStatus.Destroyed; },\n enumerable: true,\n configurable: true\n });\n AppView.prototype.create = function (context) {\n this.context = context;\n return this.createInternal(null);\n };\n AppView.prototype.createHostView = function (rootSelectorOrNode, hostInjector, projectableNodes) {\n this.context = EMPTY_CONTEXT$1;\n this._hasExternalHostElement = isPresent(rootSelectorOrNode);\n this._hostInjector = hostInjector;\n this._hostProjectableNodes = projectableNodes;\n return this.createInternal(rootSelectorOrNode);\n };\n /**\n * Overwritten by implementations.\n * Returns the ComponentRef for the host element for ViewType.HOST.\n */\n AppView.prototype.createInternal = function (rootSelectorOrNode) { return null; };\n /**\n * Overwritten by implementations.\n */\n AppView.prototype.createEmbeddedViewInternal = function (templateNodeIndex) { return null; };\n AppView.prototype.init = function (lastRootNode, allNodes, disposables) {\n this.lastRootNode = lastRootNode;\n this.allNodes = allNodes;\n this.disposables = disposables;\n if (this.type === ViewType.COMPONENT) {\n this.dirtyParentQueriesInternal();\n }\n };\n AppView.prototype.injectorGet = function (token, nodeIndex, notFoundValue) {\n if (notFoundValue === void 0) { notFoundValue = THROW_IF_NOT_FOUND; }\n var result = UNDEFINED$1;\n var view = this;\n while (result === UNDEFINED$1) {\n if (isPresent(nodeIndex)) {\n result = view.injectorGetInternal(token, nodeIndex, UNDEFINED$1);\n }\n if (result === UNDEFINED$1 && view.type === ViewType.HOST) {\n result = view._hostInjector.get(token, notFoundValue);\n }\n nodeIndex = view.parentIndex;\n view = view.parentView;\n }\n return result;\n };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.injectorGetInternal = function (token, nodeIndex, notFoundResult) {\n return notFoundResult;\n };\n AppView.prototype.injector = function (nodeIndex) { return new ElementInjector(this, nodeIndex); };\n AppView.prototype.detachAndDestroy = function () {\n if (this._hasExternalHostElement) {\n this.detach();\n }\n else if (isPresent(this.viewContainer)) {\n this.viewContainer.detachView(this.viewContainer.nestedViews.indexOf(this));\n }\n this.destroy();\n };\n AppView.prototype.destroy = function () {\n var _this = this;\n if (this.cdMode === ChangeDetectorStatus.Destroyed) {\n return;\n }\n var hostElement = this.type === ViewType.COMPONENT ? this.parentElement : null;\n if (this.disposables) {\n for (var i = 0; i < this.disposables.length; i++) {\n this.disposables[i]();\n }\n }\n this.destroyInternal();\n this.dirtyParentQueriesInternal();\n if (this._animationContext) {\n this._animationContext.onAllActiveAnimationsDone(function () { return _this.renderer.destroyView(hostElement, _this.allNodes); });\n }\n else {\n this.renderer.destroyView(hostElement, this.allNodes);\n }\n this.cdMode = ChangeDetectorStatus.Destroyed;\n };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.destroyInternal = function () { };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.detachInternal = function () { };\n AppView.prototype.detach = function () {\n var _this = this;\n this.detachInternal();\n if (this._animationContext) {\n this._animationContext.onAllActiveAnimationsDone(function () { return _this._renderDetach(); });\n }\n else {\n this._renderDetach();\n }\n if (this.declaredViewContainer && this.declaredViewContainer !== this.viewContainer) {\n var projectedViews = this.declaredViewContainer.projectedViews;\n var index = projectedViews.indexOf(this);\n // perf: pop is faster than splice!\n if (index >= projectedViews.length - 1) {\n projectedViews.pop();\n }\n else {\n projectedViews.splice(index, 1);\n }\n }\n this.viewContainer = null;\n this.dirtyParentQueriesInternal();\n };\n AppView.prototype._renderDetach = function () {\n if (this._directRenderer) {\n this.visitRootNodesInternal(this._directRenderer.remove, null);\n }\n else {\n this.renderer.detachView(this.flatRootNodes);\n }\n };\n AppView.prototype.attachAfter = function (viewContainer, prevView) {\n this._renderAttach(viewContainer, prevView);\n this.viewContainer = viewContainer;\n if (this.declaredViewContainer && this.declaredViewContainer !== viewContainer) {\n if (!this.declaredViewContainer.projectedViews) {\n this.declaredViewContainer.projectedViews = [];\n }\n this.declaredViewContainer.projectedViews.push(this);\n }\n this.dirtyParentQueriesInternal();\n };\n AppView.prototype.moveAfter = function (viewContainer, prevView) {\n this._renderAttach(viewContainer, prevView);\n this.dirtyParentQueriesInternal();\n };\n AppView.prototype._renderAttach = function (viewContainer, prevView) {\n var prevNode = prevView ? prevView.lastRootNode : viewContainer.nativeElement;\n if (this._directRenderer) {\n var nextSibling = this._directRenderer.nextSibling(prevNode);\n if (nextSibling) {\n this.visitRootNodesInternal(this._directRenderer.insertBefore, nextSibling);\n }\n else {\n var parentElement = this._directRenderer.parentElement(prevNode);\n if (parentElement) {\n this.visitRootNodesInternal(this._directRenderer.appendChild, parentElement);\n }\n }\n }\n else {\n this.renderer.attachViewAfter(prevNode, this.flatRootNodes);\n }\n };\n Object.defineProperty(AppView.prototype, \"changeDetectorRef\", {\n get: function () { return this.ref; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AppView.prototype, \"flatRootNodes\", {\n get: function () {\n var nodes = [];\n this.visitRootNodesInternal(addToArray, nodes);\n return nodes;\n },\n enumerable: true,\n configurable: true\n });\n AppView.prototype.projectNodes = function (parentElement, ngContentIndex) {\n if (this._directRenderer) {\n this.visitProjectedNodes(ngContentIndex, this._directRenderer.appendChild, parentElement);\n }\n else {\n var nodes = [];\n this.visitProjectedNodes(ngContentIndex, addToArray, nodes);\n this.renderer.projectNodes(parentElement, nodes);\n }\n };\n AppView.prototype.visitProjectedNodes = function (ngContentIndex, cb, c) {\n switch (this.type) {\n case ViewType.EMBEDDED:\n this.parentView.visitProjectedNodes(ngContentIndex, cb, c);\n break;\n case ViewType.COMPONENT:\n if (this.parentView.type === ViewType.HOST) {\n var nodes = this.parentView._hostProjectableNodes[ngContentIndex] || [];\n for (var i = 0; i < nodes.length; i++) {\n cb(nodes[i], c);\n }\n }\n else {\n this.parentView.visitProjectableNodesInternal(this.parentIndex, ngContentIndex, cb, c);\n }\n break;\n }\n };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.visitRootNodesInternal = function (cb, c) { };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.visitProjectableNodesInternal = function (nodeIndex, ngContentIndex, cb, c) { };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.dirtyParentQueriesInternal = function () { };\n AppView.prototype.detectChanges = function (throwOnChange) {\n var s = _scope_check(this.clazz);\n if (this.cdMode === ChangeDetectorStatus.Checked ||\n this.cdMode === ChangeDetectorStatus.Errored ||\n this.cdMode === ChangeDetectorStatus.Detached)\n return;\n if (this.cdMode === ChangeDetectorStatus.Destroyed) {\n this.throwDestroyedError('detectChanges');\n }\n this.detectChangesInternal(throwOnChange);\n if (this.cdMode === ChangeDetectorStatus.CheckOnce)\n this.cdMode = ChangeDetectorStatus.Checked;\n this.numberOfChecks++;\n wtfLeave(s);\n };\n /**\n * Overwritten by implementations\n */\n AppView.prototype.detectChangesInternal = function (throwOnChange) { };\n AppView.prototype.markAsCheckOnce = function () { this.cdMode = ChangeDetectorStatus.CheckOnce; };\n AppView.prototype.markPathToRootAsCheckOnce = function () {\n var c = this;\n while (isPresent(c) && c.cdMode !== ChangeDetectorStatus.Detached) {\n if (c.cdMode === ChangeDetectorStatus.Checked) {\n c.cdMode = ChangeDetectorStatus.CheckOnce;\n }\n if (c.type === ViewType.COMPONENT) {\n c = c.parentView;\n }\n else {\n c = c.viewContainer ? c.viewContainer.parentView : null;\n }\n }\n };\n AppView.prototype.eventHandler = function (cb) {\n return cb;\n };\n AppView.prototype.throwDestroyedError = function (details) { throw new ViewDestroyedError(details); };\n return AppView;\n }());\n var DebugAppView = (function (_super) {\n __extends$14(DebugAppView, _super);\n function DebugAppView(clazz, componentType, type, viewUtils, parentView, parentIndex, parentNode, cdMode, staticNodeDebugInfos, declaredViewContainer) {\n if (declaredViewContainer === void 0) { declaredViewContainer = null; }\n _super.call(this, clazz, componentType, type, viewUtils, parentView, parentIndex, parentNode, cdMode, declaredViewContainer);\n this.staticNodeDebugInfos = staticNodeDebugInfos;\n this._currentDebugContext = null;\n }\n DebugAppView.prototype.create = function (context) {\n this._resetDebug();\n try {\n return _super.prototype.create.call(this, context);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype.createHostView = function (rootSelectorOrNode, injector, projectableNodes) {\n if (projectableNodes === void 0) { projectableNodes = null; }\n this._resetDebug();\n try {\n return _super.prototype.createHostView.call(this, rootSelectorOrNode, injector, projectableNodes);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype.injectorGet = function (token, nodeIndex, notFoundResult) {\n this._resetDebug();\n try {\n return _super.prototype.injectorGet.call(this, token, nodeIndex, notFoundResult);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype.detach = function () {\n this._resetDebug();\n try {\n _super.prototype.detach.call(this);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype.destroy = function () {\n this._resetDebug();\n try {\n _super.prototype.destroy.call(this);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype.detectChanges = function (throwOnChange) {\n this._resetDebug();\n try {\n _super.prototype.detectChanges.call(this, throwOnChange);\n }\n catch (e) {\n this._rethrowWithContext(e);\n throw e;\n }\n };\n DebugAppView.prototype._resetDebug = function () { this._currentDebugContext = null; };\n DebugAppView.prototype.debug = function (nodeIndex, rowNum, colNum) {\n return this._currentDebugContext = new DebugContext(this, nodeIndex, rowNum, colNum);\n };\n DebugAppView.prototype._rethrowWithContext = function (e) {\n if (!(e instanceof ViewWrappedError)) {\n if (!(e instanceof ExpressionChangedAfterItHasBeenCheckedError)) {\n this.cdMode = ChangeDetectorStatus.Errored;\n }\n if (isPresent(this._currentDebugContext)) {\n throw new ViewWrappedError(e, this._currentDebugContext);\n }\n }\n };\n DebugAppView.prototype.eventHandler = function (cb) {\n var _this = this;\n var superHandler = _super.prototype.eventHandler.call(this, cb);\n return function (eventName, event) {\n _this._resetDebug();\n try {\n return superHandler.call(_this, eventName, event);\n }\n catch (e) {\n _this._rethrowWithContext(e);\n throw e;\n }\n };\n };\n return DebugAppView;\n }(AppView));\n\n /**\n * A ViewContainer is created for elements that have a ViewContainerRef\n * to keep track of the nested views.\n */\n var ViewContainer = (function () {\n function ViewContainer(index, parentIndex, parentView, nativeElement) {\n this.index = index;\n this.parentIndex = parentIndex;\n this.parentView = parentView;\n this.nativeElement = nativeElement;\n }\n Object.defineProperty(ViewContainer.prototype, \"elementRef\", {\n get: function () { return new ElementRef(this.nativeElement); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainer.prototype, \"vcRef\", {\n get: function () { return new ViewContainerRef_(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainer.prototype, \"parentInjector\", {\n get: function () { return this.parentView.injector(this.parentIndex); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ViewContainer.prototype, \"injector\", {\n get: function () { return this.parentView.injector(this.index); },\n enumerable: true,\n configurable: true\n });\n ViewContainer.prototype.detectChangesInNestedViews = function (throwOnChange) {\n if (this.nestedViews) {\n for (var i = 0; i < this.nestedViews.length; i++) {\n this.nestedViews[i].detectChanges(throwOnChange);\n }\n }\n };\n ViewContainer.prototype.destroyNestedViews = function () {\n if (this.nestedViews) {\n for (var i = 0; i < this.nestedViews.length; i++) {\n this.nestedViews[i].destroy();\n }\n }\n };\n ViewContainer.prototype.visitNestedViewRootNodes = function (cb, c) {\n if (this.nestedViews) {\n for (var i = 0; i < this.nestedViews.length; i++) {\n this.nestedViews[i].visitRootNodesInternal(cb, c);\n }\n }\n };\n ViewContainer.prototype.mapNestedViews = function (nestedViewClass, callback) {\n var result = [];\n if (this.nestedViews) {\n for (var i = 0; i < this.nestedViews.length; i++) {\n var nestedView = this.nestedViews[i];\n if (nestedView.clazz === nestedViewClass) {\n result.push(callback(nestedView));\n }\n }\n }\n if (this.projectedViews) {\n for (var i = 0; i < this.projectedViews.length; i++) {\n var projectedView = this.projectedViews[i];\n if (projectedView.clazz === nestedViewClass) {\n result.push(callback(projectedView));\n }\n }\n }\n return result;\n };\n ViewContainer.prototype.moveView = function (view, currentIndex) {\n var previousIndex = this.nestedViews.indexOf(view);\n if (view.type === ViewType.COMPONENT) {\n throw new Error(\"Component views can't be moved!\");\n }\n var nestedViews = this.nestedViews;\n if (nestedViews == null) {\n nestedViews = [];\n this.nestedViews = nestedViews;\n }\n nestedViews.splice(previousIndex, 1);\n nestedViews.splice(currentIndex, 0, view);\n var prevView = currentIndex > 0 ? nestedViews[currentIndex - 1] : null;\n view.moveAfter(this, prevView);\n };\n ViewContainer.prototype.attachView = function (view, viewIndex) {\n if (view.type === ViewType.COMPONENT) {\n throw new Error(\"Component views can't be moved!\");\n }\n var nestedViews = this.nestedViews;\n if (nestedViews == null) {\n nestedViews = [];\n this.nestedViews = nestedViews;\n }\n // perf: array.push is faster than array.splice!\n if (viewIndex >= nestedViews.length) {\n nestedViews.push(view);\n }\n else {\n nestedViews.splice(viewIndex, 0, view);\n }\n var prevView = viewIndex > 0 ? nestedViews[viewIndex - 1] : null;\n view.attachAfter(this, prevView);\n };\n ViewContainer.prototype.detachView = function (viewIndex) {\n var view = this.nestedViews[viewIndex];\n // perf: array.pop is faster than array.splice!\n if (viewIndex >= this.nestedViews.length - 1) {\n this.nestedViews.pop();\n }\n else {\n this.nestedViews.splice(viewIndex, 1);\n }\n if (view.type === ViewType.COMPONENT) {\n throw new Error(\"Component views can't be moved!\");\n }\n view.detach();\n return view;\n };\n return ViewContainer;\n }());\n\n var __core_private__ = {\n isDefaultChangeDetectionStrategy: isDefaultChangeDetectionStrategy,\n ChangeDetectorStatus: ChangeDetectorStatus,\n constructDependencies: constructDependencies,\n LifecycleHooks: LifecycleHooks,\n LIFECYCLE_HOOKS_VALUES: LIFECYCLE_HOOKS_VALUES,\n ReflectorReader: ReflectorReader,\n CodegenComponentFactoryResolver: CodegenComponentFactoryResolver,\n ComponentRef_: ComponentRef_,\n ViewContainer: ViewContainer,\n AppView: AppView,\n DebugAppView: DebugAppView,\n NgModuleInjector: NgModuleInjector,\n registerModuleFactory: registerModuleFactory,\n ViewType: ViewType,\n view_utils: view_utils,\n ViewMetadata: ViewMetadata,\n DebugContext: DebugContext,\n StaticNodeDebugInfo: StaticNodeDebugInfo,\n devModeEqual: devModeEqual,\n UNINITIALIZED: UNINITIALIZED,\n ValueUnwrapper: ValueUnwrapper,\n RenderDebugInfo: RenderDebugInfo,\n TemplateRef_: TemplateRef_,\n ReflectionCapabilities: ReflectionCapabilities,\n makeDecorator: makeDecorator,\n DebugDomRootRenderer: DebugDomRootRenderer,\n Console: Console,\n reflector: reflector,\n Reflector: Reflector,\n NoOpAnimationPlayer: NoOpAnimationPlayer,\n AnimationPlayer: AnimationPlayer,\n AnimationSequencePlayer: AnimationSequencePlayer,\n AnimationGroupPlayer: AnimationGroupPlayer,\n AnimationKeyframe: AnimationKeyframe,\n prepareFinalAnimationStyles: prepareFinalAnimationStyles,\n balanceAnimationKeyframes: balanceAnimationKeyframes,\n flattenStyles: flattenStyles,\n clearStyles: clearStyles,\n renderStyles: renderStyles,\n collectAndResolveStyles: collectAndResolveStyles,\n APP_ID_RANDOM_PROVIDER: APP_ID_RANDOM_PROVIDER,\n AnimationStyles: AnimationStyles,\n ANY_STATE: ANY_STATE,\n DEFAULT_STATE: DEFAULT_STATE,\n EMPTY_STATE: EMPTY_STATE,\n FILL_STYLE_FLAG: FILL_STYLE_FLAG,\n ComponentStillLoadingError: ComponentStillLoadingError,\n isPromise: isPromise,\n AnimationTransition: AnimationTransition\n };\n\n exports.createPlatform = createPlatform;\n exports.assertPlatform = assertPlatform;\n exports.destroyPlatform = destroyPlatform;\n exports.getPlatform = getPlatform;\n exports.PlatformRef = PlatformRef;\n exports.ApplicationRef = ApplicationRef;\n exports.enableProdMode = enableProdMode;\n exports.isDevMode = isDevMode;\n exports.createPlatformFactory = createPlatformFactory;\n exports.APP_ID = APP_ID;\n exports.PACKAGE_ROOT_URL = PACKAGE_ROOT_URL;\n exports.PLATFORM_INITIALIZER = PLATFORM_INITIALIZER;\n exports.APP_BOOTSTRAP_LISTENER = APP_BOOTSTRAP_LISTENER;\n exports.APP_INITIALIZER = APP_INITIALIZER;\n exports.ApplicationInitStatus = ApplicationInitStatus;\n exports.DebugElement = DebugElement;\n exports.DebugNode = DebugNode;\n exports.asNativeElements = asNativeElements;\n exports.getDebugNode = getDebugNode;\n exports.Testability = Testability;\n exports.TestabilityRegistry = TestabilityRegistry;\n exports.setTestabilityGetter = setTestabilityGetter;\n exports.TRANSLATIONS = TRANSLATIONS;\n exports.TRANSLATIONS_FORMAT = TRANSLATIONS_FORMAT;\n exports.LOCALE_ID = LOCALE_ID;\n exports.ApplicationModule = ApplicationModule;\n exports.wtfCreateScope = wtfCreateScope;\n exports.wtfLeave = wtfLeave;\n exports.wtfStartTimeRange = wtfStartTimeRange;\n exports.wtfEndTimeRange = wtfEndTimeRange;\n exports.Type = Type;\n exports.EventEmitter = EventEmitter;\n exports.ErrorHandler = ErrorHandler;\n exports.AnimationTransitionEvent = AnimationTransitionEvent;\n exports.AnimationPlayer = AnimationPlayer;\n exports.Sanitizer = Sanitizer;\n exports.ANALYZE_FOR_ENTRY_COMPONENTS = ANALYZE_FOR_ENTRY_COMPONENTS;\n exports.Attribute = Attribute;\n exports.ContentChild = ContentChild;\n exports.ContentChildren = ContentChildren;\n exports.Query = Query;\n exports.ViewChild = ViewChild;\n exports.ViewChildren = ViewChildren;\n exports.Component = Component;\n exports.Directive = Directive;\n exports.HostBinding = HostBinding;\n exports.HostListener = HostListener;\n exports.Input = Input;\n exports.Output = Output;\n exports.Pipe = Pipe;\n exports.AfterContentChecked = AfterContentChecked;\n exports.AfterContentInit = AfterContentInit;\n exports.AfterViewChecked = AfterViewChecked;\n exports.AfterViewInit = AfterViewInit;\n exports.DoCheck = DoCheck;\n exports.OnChanges = OnChanges;\n exports.OnDestroy = OnDestroy;\n exports.OnInit = OnInit;\n exports.CUSTOM_ELEMENTS_SCHEMA = CUSTOM_ELEMENTS_SCHEMA;\n exports.NO_ERRORS_SCHEMA = NO_ERRORS_SCHEMA;\n exports.NgModule = NgModule;\n exports.Class = Class;\n exports.forwardRef = forwardRef;\n exports.resolveForwardRef = resolveForwardRef;\n exports.Injector = Injector;\n exports.ReflectiveInjector = ReflectiveInjector;\n exports.ResolvedReflectiveFactory = ResolvedReflectiveFactory;\n exports.ReflectiveKey = ReflectiveKey;\n exports.OpaqueToken = OpaqueToken;\n exports.Inject = Inject;\n exports.Optional = Optional;\n exports.Injectable = Injectable;\n exports.Self = Self;\n exports.SkipSelf = SkipSelf;\n exports.Host = Host;\n exports.NgZone = NgZone;\n exports.RenderComponentType = RenderComponentType;\n exports.Renderer = Renderer;\n exports.RootRenderer = RootRenderer;\n exports.COMPILER_OPTIONS = COMPILER_OPTIONS;\n exports.Compiler = Compiler;\n exports.CompilerFactory = CompilerFactory;\n exports.ModuleWithComponentFactories = ModuleWithComponentFactories;\n exports.ComponentFactory = ComponentFactory;\n exports.ComponentRef = ComponentRef;\n exports.ComponentFactoryResolver = ComponentFactoryResolver;\n exports.ElementRef = ElementRef;\n exports.NgModuleFactory = NgModuleFactory;\n exports.NgModuleRef = NgModuleRef;\n exports.NgModuleFactoryLoader = NgModuleFactoryLoader;\n exports.getModuleFactory = getModuleFactory;\n exports.QueryList = QueryList;\n exports.SystemJsNgModuleLoader = SystemJsNgModuleLoader;\n exports.SystemJsNgModuleLoaderConfig = SystemJsNgModuleLoaderConfig;\n exports.TemplateRef = TemplateRef;\n exports.ViewContainerRef = ViewContainerRef;\n exports.EmbeddedViewRef = EmbeddedViewRef;\n exports.ViewRef = ViewRef;\n exports.ChangeDetectorRef = ChangeDetectorRef;\n exports.CollectionChangeRecord = CollectionChangeRecord;\n exports.DefaultIterableDiffer = DefaultIterableDiffer;\n exports.IterableDiffers = IterableDiffers;\n exports.KeyValueChangeRecord = KeyValueChangeRecord;\n exports.KeyValueDiffers = KeyValueDiffers;\n exports.SimpleChange = SimpleChange;\n exports.WrappedValue = WrappedValue;\n exports.platformCore = platformCore;\n exports.__core_private__ = __core_private__;\n exports.AUTO_STYLE = AUTO_STYLE;\n exports.AnimationEntryMetadata = AnimationEntryMetadata;\n exports.AnimationStateMetadata = AnimationStateMetadata;\n exports.AnimationStateDeclarationMetadata = AnimationStateDeclarationMetadata;\n exports.AnimationStateTransitionMetadata = AnimationStateTransitionMetadata;\n exports.AnimationMetadata = AnimationMetadata;\n exports.AnimationKeyframesSequenceMetadata = AnimationKeyframesSequenceMetadata;\n exports.AnimationStyleMetadata = AnimationStyleMetadata;\n exports.AnimationAnimateMetadata = AnimationAnimateMetadata;\n exports.AnimationWithStepsMetadata = AnimationWithStepsMetadata;\n exports.AnimationSequenceMetadata = AnimationSequenceMetadata;\n exports.AnimationGroupMetadata = AnimationGroupMetadata;\n exports.animate = animate;\n exports.group = group;\n exports.sequence = sequence;\n exports.style = style;\n exports.state = state;\n exports.keyframes = keyframes;\n exports.transition = transition;\n exports.trigger = trigger;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/core/bundles/core.umd.js\n// module id = 263\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('./Observable');\nvar Subscriber_1 = require('./Subscriber');\nvar Subscription_1 = require('./Subscription');\nvar ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');\nvar SubjectSubscription_1 = require('./SubjectSubscription');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\n/**\n * @class SubjectSubscriber<T>\n */\nvar SubjectSubscriber = (function (_super) {\n __extends(SubjectSubscriber, _super);\n function SubjectSubscriber(destination) {\n _super.call(this, destination);\n this.destination = destination;\n }\n return SubjectSubscriber;\n}(Subscriber_1.Subscriber));\nexports.SubjectSubscriber = SubjectSubscriber;\n/**\n * @class Subject<T>\n */\nvar Subject = (function (_super) {\n __extends(Subject, _super);\n function Subject() {\n _super.call(this);\n this.observers = [];\n this.closed = false;\n this.isStopped = false;\n this.hasError = false;\n this.thrownError = null;\n }\n Subject.prototype[rxSubscriber_1.$$rxSubscriber] = function () {\n return new SubjectSubscriber(this);\n };\n Subject.prototype.lift = function (operator) {\n var subject = new AnonymousSubject(this, this);\n subject.operator = operator;\n return subject;\n };\n Subject.prototype.next = function (value) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n if (!this.isStopped) {\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].next(value);\n }\n }\n };\n Subject.prototype.error = function (err) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.hasError = true;\n this.thrownError = err;\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].error(err);\n }\n this.observers.length = 0;\n };\n Subject.prototype.complete = function () {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n this.isStopped = true;\n var observers = this.observers;\n var len = observers.length;\n var copy = observers.slice();\n for (var i = 0; i < len; i++) {\n copy[i].complete();\n }\n this.observers.length = 0;\n };\n Subject.prototype.unsubscribe = function () {\n this.isStopped = true;\n this.closed = true;\n this.observers = null;\n };\n Subject.prototype._subscribe = function (subscriber) {\n if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n else if (this.hasError) {\n subscriber.error(this.thrownError);\n return Subscription_1.Subscription.EMPTY;\n }\n else if (this.isStopped) {\n subscriber.complete();\n return Subscription_1.Subscription.EMPTY;\n }\n else {\n this.observers.push(subscriber);\n return new SubjectSubscription_1.SubjectSubscription(this, subscriber);\n }\n };\n Subject.prototype.asObservable = function () {\n var observable = new Observable_1.Observable();\n observable.source = this;\n return observable;\n };\n Subject.create = function (destination, source) {\n return new AnonymousSubject(destination, source);\n };\n return Subject;\n}(Observable_1.Observable));\nexports.Subject = Subject;\n/**\n * @class AnonymousSubject<T>\n */\nvar AnonymousSubject = (function (_super) {\n __extends(AnonymousSubject, _super);\n function AnonymousSubject(destination, source) {\n _super.call(this);\n this.destination = destination;\n this.source = source;\n }\n AnonymousSubject.prototype.next = function (value) {\n var destination = this.destination;\n if (destination && destination.next) {\n destination.next(value);\n }\n };\n AnonymousSubject.prototype.error = function (err) {\n var destination = this.destination;\n if (destination && destination.error) {\n this.destination.error(err);\n }\n };\n AnonymousSubject.prototype.complete = function () {\n var destination = this.destination;\n if (destination && destination.complete) {\n this.destination.complete();\n }\n };\n AnonymousSubject.prototype._subscribe = function (subscriber) {\n var source = this.source;\n if (source) {\n return this.source.subscribe(subscriber);\n }\n else {\n return Subscription_1.Subscription.EMPTY;\n }\n };\n return AnonymousSubject;\n}(Subject));\nexports.AnonymousSubject = AnonymousSubject;\n//# sourceMappingURL=Subject.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Subject.js\n// module id = 264\n// module chunks = 0","\"use strict\";\nvar root_1 = require('./util/root');\nvar toSubscriber_1 = require('./util/toSubscriber');\nvar observable_1 = require('./symbol/observable');\n/**\n * A representation of any set of values over any amount of time. This the most basic building block\n * of RxJS.\n *\n * @class Observable<T>\n */\nvar Observable = (function () {\n /**\n * @constructor\n * @param {Function} subscribe the function that is called when the Observable is\n * initially subscribed to. This function is given a Subscriber, to which new values\n * can be `next`ed, or an `error` method can be called to raise an error, or\n * `complete` can be called to notify of a successful completion.\n */\n function Observable(subscribe) {\n this._isScalar = false;\n if (subscribe) {\n this._subscribe = subscribe;\n }\n }\n /**\n * Creates a new Observable, with this Observable as the source, and the passed\n * operator defined as the new observable's operator.\n * @method lift\n * @param {Operator} operator the operator defining the operation to take on the observable\n * @return {Observable} a new observable with the Operator applied\n */\n Observable.prototype.lift = function (operator) {\n var observable = new Observable();\n observable.source = this;\n observable.operator = operator;\n return observable;\n };\n /**\n * Registers handlers for handling emitted values, error and completions from the observable, and\n * executes the observable's subscriber function, which will take action to set up the underlying data stream\n * @method subscribe\n * @param {PartialObserver|Function} observerOrNext (optional) either an observer defining all functions to be called,\n * or the first of three possible handlers, which is the handler for each value emitted from the observable.\n * @param {Function} error (optional) a handler for a terminal event resulting from an error. If no error handler is provided,\n * the error will be thrown as unhandled\n * @param {Function} complete (optional) a handler for a terminal event resulting from successful completion.\n * @return {ISubscription} a subscription reference to the registered handlers\n */\n Observable.prototype.subscribe = function (observerOrNext, error, complete) {\n var operator = this.operator;\n var sink = toSubscriber_1.toSubscriber(observerOrNext, error, complete);\n if (operator) {\n operator.call(sink, this);\n }\n else {\n sink.add(this._subscribe(sink));\n }\n if (sink.syncErrorThrowable) {\n sink.syncErrorThrowable = false;\n if (sink.syncErrorThrown) {\n throw sink.syncErrorValue;\n }\n }\n return sink;\n };\n /**\n * @method forEach\n * @param {Function} next a handler for each value emitted by the observable\n * @param {PromiseConstructor} [PromiseCtor] a constructor function used to instantiate the Promise\n * @return {Promise} a promise that either resolves on observable completion or\n * rejects with the handled error\n */\n Observable.prototype.forEach = function (next, PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n }\n else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function (resolve, reject) {\n var subscription = _this.subscribe(function (value) {\n if (subscription) {\n // if there is a subscription, then we can surmise\n // the next handling is asynchronous. Any errors thrown\n // need to be rejected explicitly and unsubscribe must be\n // called manually\n try {\n next(value);\n }\n catch (err) {\n reject(err);\n subscription.unsubscribe();\n }\n }\n else {\n // if there is NO subscription, then we're getting a nexted\n // value synchronously during subscription. We can just call it.\n // If it errors, Observable's `subscribe` will ensure the\n // unsubscription logic is called, then synchronously rethrow the error.\n // After that, Promise will trap the error and send it\n // down the rejection path.\n next(value);\n }\n }, reject, resolve);\n });\n };\n Observable.prototype._subscribe = function (subscriber) {\n return this.source.subscribe(subscriber);\n };\n /**\n * An interop point defined by the es7-observable spec https://github.com/zenparsing/es-observable\n * @method Symbol.observable\n * @return {Observable} this instance of the observable\n */\n Observable.prototype[observable_1.$$observable] = function () {\n return this;\n };\n // HACK: Since TypeScript inherits static properties too, we have to\n // fight against TypeScript here so Subject can have a different static create signature\n /**\n * Creates a new cold Observable by calling the Observable constructor\n * @static true\n * @owner Observable\n * @method create\n * @param {Function} subscribe? the subscriber function to be passed to the Observable constructor\n * @return {Observable} a new cold observable\n */\n Observable.create = function (subscribe) {\n return new Observable(subscribe);\n };\n return Observable;\n}());\nexports.Observable = Observable;\n//# sourceMappingURL=Observable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Observable.js\n// module id = 265\n// module chunks = 0","\"use strict\";\nvar objectTypes = {\n 'boolean': false,\n 'function': true,\n 'object': true,\n 'number': false,\n 'string': false,\n 'undefined': false\n};\nexports.root = (objectTypes[typeof self] && self) || (objectTypes[typeof window] && window);\nvar freeGlobal = objectTypes[typeof global] && global;\nif (freeGlobal && (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal)) {\n exports.root = freeGlobal;\n}\n//# sourceMappingURL=root.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/root.js\n// module id = 266\n// module chunks = 0","\"use strict\";\nvar Subscriber_1 = require('../Subscriber');\nvar rxSubscriber_1 = require('../symbol/rxSubscriber');\nfunction toSubscriber(nextOrObserver, error, complete) {\n if (nextOrObserver) {\n if (nextOrObserver instanceof Subscriber_1.Subscriber) {\n return nextOrObserver;\n }\n if (nextOrObserver[rxSubscriber_1.$$rxSubscriber]) {\n return nextOrObserver[rxSubscriber_1.$$rxSubscriber]();\n }\n }\n if (!nextOrObserver && !error && !complete) {\n return new Subscriber_1.Subscriber();\n }\n return new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n}\nexports.toSubscriber = toSubscriber;\n//# sourceMappingURL=toSubscriber.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/toSubscriber.js\n// module id = 267\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isFunction_1 = require('./util/isFunction');\nvar Subscription_1 = require('./Subscription');\nvar Observer_1 = require('./Observer');\nvar rxSubscriber_1 = require('./symbol/rxSubscriber');\n/**\n * Implements the {@link Observer} interface and extends the\n * {@link Subscription} class. While the {@link Observer} is the public API for\n * consuming the values of an {@link Observable}, all Observers get converted to\n * a Subscriber, in order to provide Subscription-like capabilities such as\n * `unsubscribe`. Subscriber is a common type in RxJS, and crucial for\n * implementing operators, but it is rarely used as a public API.\n *\n * @class Subscriber<T>\n */\nvar Subscriber = (function (_super) {\n __extends(Subscriber, _super);\n /**\n * @param {Observer|function(value: T): void} [destinationOrNext] A partially\n * defined Observer or a `next` callback function.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n */\n function Subscriber(destinationOrNext, error, complete) {\n _super.call(this);\n this.syncErrorValue = null;\n this.syncErrorThrown = false;\n this.syncErrorThrowable = false;\n this.isStopped = false;\n switch (arguments.length) {\n case 0:\n this.destination = Observer_1.empty;\n break;\n case 1:\n if (!destinationOrNext) {\n this.destination = Observer_1.empty;\n break;\n }\n if (typeof destinationOrNext === 'object') {\n if (destinationOrNext instanceof Subscriber) {\n this.destination = destinationOrNext;\n this.destination.add(this);\n }\n else {\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext);\n }\n break;\n }\n default:\n this.syncErrorThrowable = true;\n this.destination = new SafeSubscriber(this, destinationOrNext, error, complete);\n break;\n }\n }\n Subscriber.prototype[rxSubscriber_1.$$rxSubscriber] = function () { return this; };\n /**\n * A static factory for a Subscriber, given a (potentially partial) definition\n * of an Observer.\n * @param {function(x: ?T): void} [next] The `next` callback of an Observer.\n * @param {function(e: ?any): void} [error] The `error` callback of an\n * Observer.\n * @param {function(): void} [complete] The `complete` callback of an\n * Observer.\n * @return {Subscriber<T>} A Subscriber wrapping the (partially defined)\n * Observer represented by the given arguments.\n */\n Subscriber.create = function (next, error, complete) {\n var subscriber = new Subscriber(next, error, complete);\n subscriber.syncErrorThrowable = false;\n return subscriber;\n };\n /**\n * The {@link Observer} callback to receive notifications of type `next` from\n * the Observable, with a value. The Observable may call this method 0 or more\n * times.\n * @param {T} [value] The `next` value.\n * @return {void}\n */\n Subscriber.prototype.next = function (value) {\n if (!this.isStopped) {\n this._next(value);\n }\n };\n /**\n * The {@link Observer} callback to receive notifications of type `error` from\n * the Observable, with an attached {@link Error}. Notifies the Observer that\n * the Observable has experienced an error condition.\n * @param {any} [err] The `error` exception.\n * @return {void}\n */\n Subscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n this.isStopped = true;\n this._error(err);\n }\n };\n /**\n * The {@link Observer} callback to receive a valueless notification of type\n * `complete` from the Observable. Notifies the Observer that the Observable\n * has finished sending push-based notifications.\n * @return {void}\n */\n Subscriber.prototype.complete = function () {\n if (!this.isStopped) {\n this.isStopped = true;\n this._complete();\n }\n };\n Subscriber.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.isStopped = true;\n _super.prototype.unsubscribe.call(this);\n };\n Subscriber.prototype._next = function (value) {\n this.destination.next(value);\n };\n Subscriber.prototype._error = function (err) {\n this.destination.error(err);\n this.unsubscribe();\n };\n Subscriber.prototype._complete = function () {\n this.destination.complete();\n this.unsubscribe();\n };\n return Subscriber;\n}(Subscription_1.Subscription));\nexports.Subscriber = Subscriber;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar SafeSubscriber = (function (_super) {\n __extends(SafeSubscriber, _super);\n function SafeSubscriber(_parent, observerOrNext, error, complete) {\n _super.call(this);\n this._parent = _parent;\n var next;\n var context = this;\n if (isFunction_1.isFunction(observerOrNext)) {\n next = observerOrNext;\n }\n else if (observerOrNext) {\n context = observerOrNext;\n next = observerOrNext.next;\n error = observerOrNext.error;\n complete = observerOrNext.complete;\n if (isFunction_1.isFunction(context.unsubscribe)) {\n this.add(context.unsubscribe.bind(context));\n }\n context.unsubscribe = this.unsubscribe.bind(this);\n }\n this._context = context;\n this._next = next;\n this._error = error;\n this._complete = complete;\n }\n SafeSubscriber.prototype.next = function (value) {\n if (!this.isStopped && this._next) {\n var _parent = this._parent;\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._next, value);\n }\n else if (this.__tryOrSetError(_parent, this._next, value)) {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._error) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._error, err);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._error, err);\n this.unsubscribe();\n }\n }\n else if (!_parent.syncErrorThrowable) {\n this.unsubscribe();\n throw err;\n }\n else {\n _parent.syncErrorValue = err;\n _parent.syncErrorThrown = true;\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.complete = function () {\n if (!this.isStopped) {\n var _parent = this._parent;\n if (this._complete) {\n if (!_parent.syncErrorThrowable) {\n this.__tryOrUnsub(this._complete);\n this.unsubscribe();\n }\n else {\n this.__tryOrSetError(_parent, this._complete);\n this.unsubscribe();\n }\n }\n else {\n this.unsubscribe();\n }\n }\n };\n SafeSubscriber.prototype.__tryOrUnsub = function (fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n this.unsubscribe();\n throw err;\n }\n };\n SafeSubscriber.prototype.__tryOrSetError = function (parent, fn, value) {\n try {\n fn.call(this._context, value);\n }\n catch (err) {\n parent.syncErrorValue = err;\n parent.syncErrorThrown = true;\n return true;\n }\n return false;\n };\n SafeSubscriber.prototype._unsubscribe = function () {\n var _parent = this._parent;\n this._context = null;\n this._parent = null;\n _parent.unsubscribe();\n };\n return SafeSubscriber;\n}(Subscriber));\n//# sourceMappingURL=Subscriber.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Subscriber.js\n// module id = 268\n// module chunks = 0","\"use strict\";\nfunction isFunction(x) {\n return typeof x === 'function';\n}\nexports.isFunction = isFunction;\n//# sourceMappingURL=isFunction.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/isFunction.js\n// module id = 269\n// module chunks = 0","\"use strict\";\nvar isArray_1 = require('./util/isArray');\nvar isObject_1 = require('./util/isObject');\nvar isFunction_1 = require('./util/isFunction');\nvar tryCatch_1 = require('./util/tryCatch');\nvar errorObject_1 = require('./util/errorObject');\nvar UnsubscriptionError_1 = require('./util/UnsubscriptionError');\n/**\n * Represents a disposable resource, such as the execution of an Observable. A\n * Subscription has one important method, `unsubscribe`, that takes no argument\n * and just disposes the resource held by the subscription.\n *\n * Additionally, subscriptions may be grouped together through the `add()`\n * method, which will attach a child Subscription to the current Subscription.\n * When a Subscription is unsubscribed, all its children (and its grandchildren)\n * will be unsubscribed as well.\n *\n * @class Subscription\n */\nvar Subscription = (function () {\n /**\n * @param {function(): void} [unsubscribe] A function describing how to\n * perform the disposal of resources when the `unsubscribe` method is called.\n */\n function Subscription(unsubscribe) {\n /**\n * A flag to indicate whether this Subscription has already been unsubscribed.\n * @type {boolean}\n */\n this.closed = false;\n if (unsubscribe) {\n this._unsubscribe = unsubscribe;\n }\n }\n /**\n * Disposes the resources held by the subscription. May, for instance, cancel\n * an ongoing Observable execution or cancel any other type of work that\n * started when the Subscription was created.\n * @return {void}\n */\n Subscription.prototype.unsubscribe = function () {\n var hasErrors = false;\n var errors;\n if (this.closed) {\n return;\n }\n this.closed = true;\n var _a = this, _unsubscribe = _a._unsubscribe, _subscriptions = _a._subscriptions;\n this._subscriptions = null;\n if (isFunction_1.isFunction(_unsubscribe)) {\n var trial = tryCatch_1.tryCatch(_unsubscribe).call(this);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n (errors = errors || []).push(errorObject_1.errorObject.e);\n }\n }\n if (isArray_1.isArray(_subscriptions)) {\n var index = -1;\n var len = _subscriptions.length;\n while (++index < len) {\n var sub = _subscriptions[index];\n if (isObject_1.isObject(sub)) {\n var trial = tryCatch_1.tryCatch(sub.unsubscribe).call(sub);\n if (trial === errorObject_1.errorObject) {\n hasErrors = true;\n errors = errors || [];\n var err = errorObject_1.errorObject.e;\n if (err instanceof UnsubscriptionError_1.UnsubscriptionError) {\n errors = errors.concat(err.errors);\n }\n else {\n errors.push(err);\n }\n }\n }\n }\n }\n if (hasErrors) {\n throw new UnsubscriptionError_1.UnsubscriptionError(errors);\n }\n };\n /**\n * Adds a tear down to be called during the unsubscribe() of this\n * Subscription.\n *\n * If the tear down being added is a subscription that is already\n * unsubscribed, is the same reference `add` is being called on, or is\n * `Subscription.EMPTY`, it will not be added.\n *\n * If this subscription is already in an `closed` state, the passed\n * tear down logic will be executed immediately.\n *\n * @param {TeardownLogic} teardown The additional logic to execute on\n * teardown.\n * @return {Subscription} Returns the Subscription used or created to be\n * added to the inner subscriptions list. This Subscription can be used with\n * `remove()` to remove the passed teardown logic from the inner subscriptions\n * list.\n */\n Subscription.prototype.add = function (teardown) {\n if (!teardown || (teardown === Subscription.EMPTY)) {\n return Subscription.EMPTY;\n }\n if (teardown === this) {\n return this;\n }\n var sub = teardown;\n switch (typeof teardown) {\n case 'function':\n sub = new Subscription(teardown);\n case 'object':\n if (sub.closed || typeof sub.unsubscribe !== 'function') {\n break;\n }\n else if (this.closed) {\n sub.unsubscribe();\n }\n else {\n (this._subscriptions || (this._subscriptions = [])).push(sub);\n }\n break;\n default:\n throw new Error('unrecognized teardown ' + teardown + ' added to Subscription.');\n }\n return sub;\n };\n /**\n * Removes a Subscription from the internal list of subscriptions that will\n * unsubscribe during the unsubscribe process of this Subscription.\n * @param {Subscription} subscription The subscription to remove.\n * @return {void}\n */\n Subscription.prototype.remove = function (subscription) {\n // HACK: This might be redundant because of the logic in `add()`\n if (subscription == null || (subscription === this) || (subscription === Subscription.EMPTY)) {\n return;\n }\n var subscriptions = this._subscriptions;\n if (subscriptions) {\n var subscriptionIndex = subscriptions.indexOf(subscription);\n if (subscriptionIndex !== -1) {\n subscriptions.splice(subscriptionIndex, 1);\n }\n }\n };\n Subscription.EMPTY = (function (empty) {\n empty.closed = true;\n return empty;\n }(new Subscription()));\n return Subscription;\n}());\nexports.Subscription = Subscription;\n//# sourceMappingURL=Subscription.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Subscription.js\n// module id = 270\n// module chunks = 0","\"use strict\";\nexports.isArray = Array.isArray || (function (x) { return x && typeof x.length === 'number'; });\n//# sourceMappingURL=isArray.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/isArray.js\n// module id = 271\n// module chunks = 0","\"use strict\";\nfunction isObject(x) {\n return x != null && typeof x === 'object';\n}\nexports.isObject = isObject;\n//# sourceMappingURL=isObject.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/isObject.js\n// module id = 272\n// module chunks = 0","\"use strict\";\nvar errorObject_1 = require('./errorObject');\nvar tryCatchTarget;\nfunction tryCatcher() {\n try {\n return tryCatchTarget.apply(this, arguments);\n }\n catch (e) {\n errorObject_1.errorObject.e = e;\n return errorObject_1.errorObject;\n }\n}\nfunction tryCatch(fn) {\n tryCatchTarget = fn;\n return tryCatcher;\n}\nexports.tryCatch = tryCatch;\n;\n//# sourceMappingURL=tryCatch.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/tryCatch.js\n// module id = 273\n// module chunks = 0","\"use strict\";\n// typeof any so that it we don't have to cast when comparing a result to the error object\nexports.errorObject = { e: {} };\n//# sourceMappingURL=errorObject.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/errorObject.js\n// module id = 274\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when one or more errors have occurred during the\n * `unsubscribe` of a {@link Subscription}.\n */\nvar UnsubscriptionError = (function (_super) {\n __extends(UnsubscriptionError, _super);\n function UnsubscriptionError(errors) {\n _super.call(this);\n this.errors = errors;\n var err = Error.call(this, errors ?\n errors.length + \" errors occurred during unsubscription:\\n \" + errors.map(function (err, i) { return ((i + 1) + \") \" + err.toString()); }).join('\\n ') : '');\n this.name = err.name = 'UnsubscriptionError';\n this.stack = err.stack;\n this.message = err.message;\n }\n return UnsubscriptionError;\n}(Error));\nexports.UnsubscriptionError = UnsubscriptionError;\n//# sourceMappingURL=UnsubscriptionError.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/UnsubscriptionError.js\n// module id = 275\n// module chunks = 0","\"use strict\";\nexports.empty = {\n closed: true,\n next: function (value) { },\n error: function (err) { throw err; },\n complete: function () { }\n};\n//# sourceMappingURL=Observer.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Observer.js\n// module id = 276\n// module chunks = 0","\"use strict\";\nvar root_1 = require('../util/root');\nvar Symbol = root_1.root.Symbol;\nexports.$$rxSubscriber = (typeof Symbol === 'function' && typeof Symbol.for === 'function') ?\n Symbol.for('rxSubscriber') : '@@rxSubscriber';\n//# sourceMappingURL=rxSubscriber.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/symbol/rxSubscriber.js\n// module id = 277\n// module chunks = 0","\"use strict\";\nvar root_1 = require('../util/root');\nfunction getSymbolObservable(context) {\n var $$observable;\n var Symbol = context.Symbol;\n if (typeof Symbol === 'function') {\n if (Symbol.observable) {\n $$observable = Symbol.observable;\n }\n else {\n $$observable = Symbol('observable');\n Symbol.observable = $$observable;\n }\n }\n else {\n $$observable = '@@observable';\n }\n return $$observable;\n}\nexports.getSymbolObservable = getSymbolObservable;\nexports.$$observable = getSymbolObservable(root_1.root);\n//# sourceMappingURL=observable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/symbol/observable.js\n// module id = 278\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when an action is invalid because the object has been\n * unsubscribed.\n *\n * @see {@link Subject}\n * @see {@link BehaviorSubject}\n *\n * @class ObjectUnsubscribedError\n */\nvar ObjectUnsubscribedError = (function (_super) {\n __extends(ObjectUnsubscribedError, _super);\n function ObjectUnsubscribedError() {\n var err = _super.call(this, 'object unsubscribed');\n this.name = err.name = 'ObjectUnsubscribedError';\n this.stack = err.stack;\n this.message = err.message;\n }\n return ObjectUnsubscribedError;\n}(Error));\nexports.ObjectUnsubscribedError = ObjectUnsubscribedError;\n//# sourceMappingURL=ObjectUnsubscribedError.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/ObjectUnsubscribedError.js\n// module id = 279\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscription_1 = require('./Subscription');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar SubjectSubscription = (function (_super) {\n __extends(SubjectSubscription, _super);\n function SubjectSubscription(subject, subscriber) {\n _super.call(this);\n this.subject = subject;\n this.subscriber = subscriber;\n this.closed = false;\n }\n SubjectSubscription.prototype.unsubscribe = function () {\n if (this.closed) {\n return;\n }\n this.closed = true;\n var subject = this.subject;\n var observers = subject.observers;\n this.subject = null;\n if (!observers || observers.length === 0 || subject.isStopped || subject.closed) {\n return;\n }\n var subscriberIndex = observers.indexOf(this.subscriber);\n if (subscriberIndex !== -1) {\n observers.splice(subscriberIndex, 1);\n }\n };\n return SubjectSubscription;\n}(Subscription_1.Subscription));\nexports.SubjectSubscription = SubjectSubscription;\n//# sourceMappingURL=SubjectSubscription.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/SubjectSubscription.js\n// module id = 280\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/common', '@angular/core'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.platformBrowser = global.ng.platformBrowser || {}),global.ng.common,global.ng.core));\n}(this, function (exports,_angular_common,_angular_core) { 'use strict';\n\n var DebugDomRootRenderer = _angular_core.__core_private__.DebugDomRootRenderer;\n var NoOpAnimationPlayer = _angular_core.__core_private__.NoOpAnimationPlayer;\n\n var _NoOpAnimationDriver = (function () {\n function _NoOpAnimationDriver() {\n }\n _NoOpAnimationDriver.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n if (previousPlayers === void 0) { previousPlayers = []; }\n return new NoOpAnimationPlayer();\n };\n return _NoOpAnimationDriver;\n }());\n /**\n * @experimental\n */\n var AnimationDriver = (function () {\n function AnimationDriver() {\n }\n AnimationDriver.NOOP = new _NoOpAnimationDriver();\n return AnimationDriver;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalScope;\n if (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n }\n else {\n globalScope = window;\n }\n // Need to declare a new variable for global here since TypeScript\n // exports the original value of the symbol.\n var global$1 = globalScope;\n // TODO: remove calls to assert in production environment\n // Note: Can't just export this and import in in other files\n // as `assert` is a reserved keyword in Dart\n global$1.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n };\n function isPresent(obj) {\n return obj != null;\n }\n function isBlank(obj) {\n return obj == null;\n }\n function stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n }\n function setValueOnPath(global, path, value) {\n var parts = path.split('.');\n var obj = global;\n while (parts.length > 1) {\n var name_1 = parts.shift();\n if (obj.hasOwnProperty(name_1) && obj[name_1] != null) {\n obj = obj[name_1];\n }\n else {\n obj = obj[name_1] = {};\n }\n }\n if (obj === undefined || obj === null) {\n obj = {};\n }\n obj[parts.shift()] = value;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var _DOM = null;\n function getDOM() {\n return _DOM;\n }\n function setRootDomAdapter(adapter) {\n if (!_DOM) {\n _DOM = adapter;\n }\n }\n /* tslint:disable:requireParameterType */\n /**\n * Provides DOM operations in an environment-agnostic way.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\n var DomAdapter = (function () {\n function DomAdapter() {\n this.resourceLoaderType = null;\n }\n Object.defineProperty(DomAdapter.prototype, \"attrToPropMap\", {\n /**\n * Maps attribute names to their corresponding property names for cases\n * where attribute name doesn't match property name.\n */\n get: function () { return this._attrToPropMap; },\n set: function (value) { this._attrToPropMap = value; },\n enumerable: true,\n configurable: true\n });\n ;\n ;\n return DomAdapter;\n }());\n\n var WebAnimationsPlayer = (function () {\n function WebAnimationsPlayer(element, keyframes, options, previousPlayers) {\n var _this = this;\n if (previousPlayers === void 0) { previousPlayers = []; }\n this.element = element;\n this.keyframes = keyframes;\n this.options = options;\n this._onDoneFns = [];\n this._onStartFns = [];\n this._initialized = false;\n this._finished = false;\n this._started = false;\n this._destroyed = false;\n this.parentPlayer = null;\n this._duration = options['duration'];\n this.previousStyles = {};\n previousPlayers.forEach(function (player) {\n var styles = player._captureStyles();\n Object.keys(styles).forEach(function (prop) { return _this.previousStyles[prop] = styles[prop]; });\n });\n }\n WebAnimationsPlayer.prototype._onFinish = function () {\n if (!this._finished) {\n this._finished = true;\n this._onDoneFns.forEach(function (fn) { return fn(); });\n this._onDoneFns = [];\n }\n };\n WebAnimationsPlayer.prototype.init = function () {\n var _this = this;\n if (this._initialized)\n return;\n this._initialized = true;\n var keyframes = this.keyframes.map(function (styles) {\n var formattedKeyframe = {};\n Object.keys(styles).forEach(function (prop, index) {\n var value = styles[prop];\n if (value == _angular_core.AUTO_STYLE) {\n value = _computeStyle(_this.element, prop);\n }\n if (value != undefined) {\n formattedKeyframe[prop] = value;\n }\n });\n return formattedKeyframe;\n });\n var previousStyleProps = Object.keys(this.previousStyles);\n if (previousStyleProps.length) {\n var startingKeyframe_1 = keyframes[0];\n var missingStyleProps_1 = [];\n previousStyleProps.forEach(function (prop) {\n if (!isPresent(startingKeyframe_1[prop])) {\n missingStyleProps_1.push(prop);\n }\n startingKeyframe_1[prop] = _this.previousStyles[prop];\n });\n if (missingStyleProps_1.length) {\n var _loop_1 = function(i) {\n var kf = keyframes[i];\n missingStyleProps_1.forEach(function (prop) { kf[prop] = _computeStyle(_this.element, prop); });\n };\n for (var i = 1; i < keyframes.length; i++) {\n _loop_1(i);\n }\n }\n }\n this._player = this._triggerWebAnimation(this.element, keyframes, this.options);\n this._finalKeyframe = _copyKeyframeStyles(keyframes[keyframes.length - 1]);\n // this is required so that the player doesn't start to animate right away\n this._resetDomPlayerState();\n this._player.addEventListener('finish', function () { return _this._onFinish(); });\n };\n /** @internal */\n WebAnimationsPlayer.prototype._triggerWebAnimation = function (element, keyframes, options) {\n return element.animate(keyframes, options);\n };\n Object.defineProperty(WebAnimationsPlayer.prototype, \"domPlayer\", {\n get: function () { return this._player; },\n enumerable: true,\n configurable: true\n });\n WebAnimationsPlayer.prototype.onStart = function (fn) { this._onStartFns.push(fn); };\n WebAnimationsPlayer.prototype.onDone = function (fn) { this._onDoneFns.push(fn); };\n WebAnimationsPlayer.prototype.play = function () {\n this.init();\n if (!this.hasStarted()) {\n this._onStartFns.forEach(function (fn) { return fn(); });\n this._onStartFns = [];\n this._started = true;\n }\n this._player.play();\n };\n WebAnimationsPlayer.prototype.pause = function () {\n this.init();\n this._player.pause();\n };\n WebAnimationsPlayer.prototype.finish = function () {\n this.init();\n this._onFinish();\n this._player.finish();\n };\n WebAnimationsPlayer.prototype.reset = function () {\n this._resetDomPlayerState();\n this._destroyed = false;\n this._finished = false;\n this._started = false;\n };\n WebAnimationsPlayer.prototype._resetDomPlayerState = function () { this._player.cancel(); };\n WebAnimationsPlayer.prototype.restart = function () {\n this.reset();\n this.play();\n };\n WebAnimationsPlayer.prototype.hasStarted = function () { return this._started; };\n WebAnimationsPlayer.prototype.destroy = function () {\n if (!this._destroyed) {\n this._resetDomPlayerState();\n this._onFinish();\n this._destroyed = true;\n }\n };\n Object.defineProperty(WebAnimationsPlayer.prototype, \"totalTime\", {\n get: function () { return this._duration; },\n enumerable: true,\n configurable: true\n });\n WebAnimationsPlayer.prototype.setPosition = function (p) { this._player.currentTime = p * this.totalTime; };\n WebAnimationsPlayer.prototype.getPosition = function () { return this._player.currentTime / this.totalTime; };\n WebAnimationsPlayer.prototype._captureStyles = function () {\n var _this = this;\n var styles = {};\n if (this.hasStarted()) {\n Object.keys(this._finalKeyframe).forEach(function (prop) {\n if (prop != 'offset') {\n styles[prop] =\n _this._finished ? _this._finalKeyframe[prop] : _computeStyle(_this.element, prop);\n }\n });\n }\n return styles;\n };\n return WebAnimationsPlayer;\n }());\n function _computeStyle(element, prop) {\n return getDOM().getComputedStyle(element)[prop];\n }\n function _copyKeyframeStyles(styles) {\n var newStyles = {};\n Object.keys(styles).forEach(function (prop) {\n if (prop != 'offset') {\n newStyles[prop] = styles[prop];\n }\n });\n return newStyles;\n }\n\n var WebAnimationsDriver = (function () {\n function WebAnimationsDriver() {\n }\n WebAnimationsDriver.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n if (previousPlayers === void 0) { previousPlayers = []; }\n var formattedSteps = [];\n var startingStyleLookup = {};\n if (isPresent(startingStyles)) {\n startingStyleLookup = _populateStyles(startingStyles, {});\n }\n keyframes.forEach(function (keyframe) {\n var data = _populateStyles(keyframe.styles, startingStyleLookup);\n data['offset'] = keyframe.offset;\n formattedSteps.push(data);\n });\n // this is a special case when only styles are applied as an\n // animation. When this occurs we want to animate from start to\n // end with the same values. Removing the offset and having only\n // start/end values is suitable enough for the web-animations API\n if (formattedSteps.length == 1) {\n var start = formattedSteps[0];\n start['offset'] = null;\n formattedSteps = [start, start];\n }\n var playerOptions = {\n 'duration': duration,\n 'delay': delay,\n 'fill': 'both' // we use `both` because it allows for styling at 0% to work with `delay`\n };\n // we check for this to avoid having a null|undefined value be present\n // for the easing (which results in an error for certain browsers #9752)\n if (easing) {\n playerOptions['easing'] = easing;\n }\n // there may be a chance a NoOp player is returned depending\n // on when the previous animation was cancelled\n previousPlayers = previousPlayers.filter(filterWebAnimationPlayerFn);\n return new WebAnimationsPlayer(element, formattedSteps, playerOptions, previousPlayers);\n };\n return WebAnimationsDriver;\n }());\n function _populateStyles(styles, defaultStyles) {\n var data = {};\n styles.styles.forEach(function (entry) { Object.keys(entry).forEach(function (prop) { data[prop] = entry[prop]; }); });\n Object.keys(defaultStyles).forEach(function (prop) {\n if (!isPresent(data[prop])) {\n data[prop] = defaultStyles[prop];\n }\n });\n return data;\n }\n function filterWebAnimationPlayerFn(player) {\n return player instanceof WebAnimationsPlayer;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Provides DOM operations in any browser environment.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\n var GenericBrowserDomAdapter = (function (_super) {\n __extends$1(GenericBrowserDomAdapter, _super);\n function GenericBrowserDomAdapter() {\n var _this = this;\n _super.call(this);\n this._animationPrefix = null;\n this._transitionEnd = null;\n try {\n var element_1 = this.createElement('div', this.defaultDoc());\n if (isPresent(this.getStyle(element_1, 'animationName'))) {\n this._animationPrefix = '';\n }\n else {\n var domPrefixes = ['Webkit', 'Moz', 'O', 'ms'];\n for (var i = 0; i < domPrefixes.length; i++) {\n if (isPresent(this.getStyle(element_1, domPrefixes[i] + 'AnimationName'))) {\n this._animationPrefix = '-' + domPrefixes[i].toLowerCase() + '-';\n break;\n }\n }\n }\n var transEndEventNames_1 = {\n WebkitTransition: 'webkitTransitionEnd',\n MozTransition: 'transitionend',\n OTransition: 'oTransitionEnd otransitionend',\n transition: 'transitionend'\n };\n Object.keys(transEndEventNames_1).forEach(function (key) {\n if (isPresent(_this.getStyle(element_1, key))) {\n _this._transitionEnd = transEndEventNames_1[key];\n }\n });\n }\n catch (e) {\n this._animationPrefix = null;\n this._transitionEnd = null;\n }\n }\n GenericBrowserDomAdapter.prototype.getDistributedNodes = function (el) { return el.getDistributedNodes(); };\n GenericBrowserDomAdapter.prototype.resolveAndSetHref = function (el, baseUrl, href) {\n el.href = href == null ? baseUrl : baseUrl + '/../' + href;\n };\n GenericBrowserDomAdapter.prototype.supportsDOMEvents = function () { return true; };\n GenericBrowserDomAdapter.prototype.supportsNativeShadowDOM = function () {\n return typeof this.defaultDoc().body.createShadowRoot === 'function';\n };\n GenericBrowserDomAdapter.prototype.getAnimationPrefix = function () { return this._animationPrefix ? this._animationPrefix : ''; };\n GenericBrowserDomAdapter.prototype.getTransitionEnd = function () { return this._transitionEnd ? this._transitionEnd : ''; };\n GenericBrowserDomAdapter.prototype.supportsAnimation = function () {\n return isPresent(this._animationPrefix) && isPresent(this._transitionEnd);\n };\n return GenericBrowserDomAdapter;\n }(DomAdapter));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var _attrToPropMap = {\n 'class': 'className',\n 'innerHtml': 'innerHTML',\n 'readonly': 'readOnly',\n 'tabindex': 'tabIndex',\n };\n var DOM_KEY_LOCATION_NUMPAD = 3;\n // Map to convert some key or keyIdentifier values to what will be returned by getEventKey\n var _keyMap = {\n // The following values are here for cross-browser compatibility and to match the W3C standard\n // cf http://www.w3.org/TR/DOM-Level-3-Events-key/\n '\\b': 'Backspace',\n '\\t': 'Tab',\n '\\x7F': 'Delete',\n '\\x1B': 'Escape',\n 'Del': 'Delete',\n 'Esc': 'Escape',\n 'Left': 'ArrowLeft',\n 'Right': 'ArrowRight',\n 'Up': 'ArrowUp',\n 'Down': 'ArrowDown',\n 'Menu': 'ContextMenu',\n 'Scroll': 'ScrollLock',\n 'Win': 'OS'\n };\n // There is a bug in Chrome for numeric keypad keys:\n // https://code.google.com/p/chromium/issues/detail?id=155654\n // 1, 2, 3 ... are reported as A, B, C ...\n var _chromeNumKeyPadMap = {\n 'A': '1',\n 'B': '2',\n 'C': '3',\n 'D': '4',\n 'E': '5',\n 'F': '6',\n 'G': '7',\n 'H': '8',\n 'I': '9',\n 'J': '*',\n 'K': '+',\n 'M': '-',\n 'N': '.',\n 'O': '/',\n '\\x60': '0',\n '\\x90': 'NumLock'\n };\n /**\n * A `DomAdapter` powered by full browser DOM APIs.\n *\n * @security Tread carefully! Interacting with the DOM directly is dangerous and\n * can introduce XSS risks.\n */\n /* tslint:disable:requireParameterType */\n var BrowserDomAdapter = (function (_super) {\n __extends(BrowserDomAdapter, _super);\n function BrowserDomAdapter() {\n _super.apply(this, arguments);\n }\n BrowserDomAdapter.prototype.parse = function (templateHtml) { throw new Error('parse not implemented'); };\n BrowserDomAdapter.makeCurrent = function () { setRootDomAdapter(new BrowserDomAdapter()); };\n BrowserDomAdapter.prototype.hasProperty = function (element, name) { return name in element; };\n BrowserDomAdapter.prototype.setProperty = function (el, name, value) { el[name] = value; };\n BrowserDomAdapter.prototype.getProperty = function (el, name) { return el[name]; };\n BrowserDomAdapter.prototype.invoke = function (el, methodName, args) { (_a = el)[methodName].apply(_a, args); var _a; };\n // TODO(tbosch): move this into a separate environment class once we have it\n BrowserDomAdapter.prototype.logError = function (error) {\n if (window.console) {\n (window.console.error || window.console.log)(error);\n }\n };\n BrowserDomAdapter.prototype.log = function (error) {\n if (window.console) {\n window.console.log && window.console.log(error);\n }\n };\n BrowserDomAdapter.prototype.logGroup = function (error) {\n if (window.console) {\n window.console.group && window.console.group(error);\n this.logError(error);\n }\n };\n BrowserDomAdapter.prototype.logGroupEnd = function () {\n if (window.console) {\n window.console.groupEnd && window.console.groupEnd();\n }\n };\n Object.defineProperty(BrowserDomAdapter.prototype, \"attrToPropMap\", {\n get: function () { return _attrToPropMap; },\n enumerable: true,\n configurable: true\n });\n BrowserDomAdapter.prototype.query = function (selector) { return document.querySelector(selector); };\n BrowserDomAdapter.prototype.querySelector = function (el, selector) {\n return el.querySelector(selector);\n };\n BrowserDomAdapter.prototype.querySelectorAll = function (el, selector) { return el.querySelectorAll(selector); };\n BrowserDomAdapter.prototype.on = function (el, evt, listener) { el.addEventListener(evt, listener, false); };\n BrowserDomAdapter.prototype.onAndCancel = function (el, evt, listener) {\n el.addEventListener(evt, listener, false);\n // Needed to follow Dart's subscription semantic, until fix of\n // https://code.google.com/p/dart/issues/detail?id=17406\n return function () { el.removeEventListener(evt, listener, false); };\n };\n BrowserDomAdapter.prototype.dispatchEvent = function (el, evt) { el.dispatchEvent(evt); };\n BrowserDomAdapter.prototype.createMouseEvent = function (eventType) {\n var evt = document.createEvent('MouseEvent');\n evt.initEvent(eventType, true, true);\n return evt;\n };\n BrowserDomAdapter.prototype.createEvent = function (eventType) {\n var evt = document.createEvent('Event');\n evt.initEvent(eventType, true, true);\n return evt;\n };\n BrowserDomAdapter.prototype.preventDefault = function (evt) {\n evt.preventDefault();\n evt.returnValue = false;\n };\n BrowserDomAdapter.prototype.isPrevented = function (evt) {\n return evt.defaultPrevented || isPresent(evt.returnValue) && !evt.returnValue;\n };\n BrowserDomAdapter.prototype.getInnerHTML = function (el) { return el.innerHTML; };\n BrowserDomAdapter.prototype.getTemplateContent = function (el) {\n return 'content' in el && el instanceof HTMLTemplateElement ? el.content : null;\n };\n BrowserDomAdapter.prototype.getOuterHTML = function (el) { return el.outerHTML; };\n BrowserDomAdapter.prototype.nodeName = function (node) { return node.nodeName; };\n BrowserDomAdapter.prototype.nodeValue = function (node) { return node.nodeValue; };\n BrowserDomAdapter.prototype.type = function (node) { return node.type; };\n BrowserDomAdapter.prototype.content = function (node) {\n if (this.hasProperty(node, 'content')) {\n return node.content;\n }\n else {\n return node;\n }\n };\n BrowserDomAdapter.prototype.firstChild = function (el) { return el.firstChild; };\n BrowserDomAdapter.prototype.nextSibling = function (el) { return el.nextSibling; };\n BrowserDomAdapter.prototype.parentElement = function (el) { return el.parentNode; };\n BrowserDomAdapter.prototype.childNodes = function (el) { return el.childNodes; };\n BrowserDomAdapter.prototype.childNodesAsList = function (el) {\n var childNodes = el.childNodes;\n var res = new Array(childNodes.length);\n for (var i = 0; i < childNodes.length; i++) {\n res[i] = childNodes[i];\n }\n return res;\n };\n BrowserDomAdapter.prototype.clearNodes = function (el) {\n while (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n };\n BrowserDomAdapter.prototype.appendChild = function (el, node) { el.appendChild(node); };\n BrowserDomAdapter.prototype.removeChild = function (el, node) { el.removeChild(node); };\n BrowserDomAdapter.prototype.replaceChild = function (el, newChild, oldChild) { el.replaceChild(newChild, oldChild); };\n BrowserDomAdapter.prototype.remove = function (node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n return node;\n };\n BrowserDomAdapter.prototype.insertBefore = function (el, node) { el.parentNode.insertBefore(node, el); };\n BrowserDomAdapter.prototype.insertAllBefore = function (el, nodes) {\n nodes.forEach(function (n) { return el.parentNode.insertBefore(n, el); });\n };\n BrowserDomAdapter.prototype.insertAfter = function (el, node) { el.parentNode.insertBefore(node, el.nextSibling); };\n BrowserDomAdapter.prototype.setInnerHTML = function (el, value) { el.innerHTML = value; };\n BrowserDomAdapter.prototype.getText = function (el) { return el.textContent; };\n BrowserDomAdapter.prototype.setText = function (el, value) { el.textContent = value; };\n BrowserDomAdapter.prototype.getValue = function (el) { return el.value; };\n BrowserDomAdapter.prototype.setValue = function (el, value) { el.value = value; };\n BrowserDomAdapter.prototype.getChecked = function (el) { return el.checked; };\n BrowserDomAdapter.prototype.setChecked = function (el, value) { el.checked = value; };\n BrowserDomAdapter.prototype.createComment = function (text) { return document.createComment(text); };\n BrowserDomAdapter.prototype.createTemplate = function (html) {\n var t = document.createElement('template');\n t.innerHTML = html;\n return t;\n };\n BrowserDomAdapter.prototype.createElement = function (tagName, doc) {\n if (doc === void 0) { doc = document; }\n return doc.createElement(tagName);\n };\n BrowserDomAdapter.prototype.createElementNS = function (ns, tagName, doc) {\n if (doc === void 0) { doc = document; }\n return doc.createElementNS(ns, tagName);\n };\n BrowserDomAdapter.prototype.createTextNode = function (text, doc) {\n if (doc === void 0) { doc = document; }\n return doc.createTextNode(text);\n };\n BrowserDomAdapter.prototype.createScriptTag = function (attrName, attrValue, doc) {\n if (doc === void 0) { doc = document; }\n var el = doc.createElement('SCRIPT');\n el.setAttribute(attrName, attrValue);\n return el;\n };\n BrowserDomAdapter.prototype.createStyleElement = function (css, doc) {\n if (doc === void 0) { doc = document; }\n var style = doc.createElement('style');\n this.appendChild(style, this.createTextNode(css));\n return style;\n };\n BrowserDomAdapter.prototype.createShadowRoot = function (el) { return el.createShadowRoot(); };\n BrowserDomAdapter.prototype.getShadowRoot = function (el) { return el.shadowRoot; };\n BrowserDomAdapter.prototype.getHost = function (el) { return el.host; };\n BrowserDomAdapter.prototype.clone = function (node) { return node.cloneNode(true); };\n BrowserDomAdapter.prototype.getElementsByClassName = function (element, name) {\n return element.getElementsByClassName(name);\n };\n BrowserDomAdapter.prototype.getElementsByTagName = function (element, name) {\n return element.getElementsByTagName(name);\n };\n BrowserDomAdapter.prototype.classList = function (element) { return Array.prototype.slice.call(element.classList, 0); };\n BrowserDomAdapter.prototype.addClass = function (element, className) { element.classList.add(className); };\n BrowserDomAdapter.prototype.removeClass = function (element, className) { element.classList.remove(className); };\n BrowserDomAdapter.prototype.hasClass = function (element, className) {\n return element.classList.contains(className);\n };\n BrowserDomAdapter.prototype.setStyle = function (element, styleName, styleValue) {\n element.style[styleName] = styleValue;\n };\n BrowserDomAdapter.prototype.removeStyle = function (element, stylename) {\n // IE requires '' instead of null\n // see https://github.com/angular/angular/issues/7916\n element.style[stylename] = '';\n };\n BrowserDomAdapter.prototype.getStyle = function (element, stylename) { return element.style[stylename]; };\n BrowserDomAdapter.prototype.hasStyle = function (element, styleName, styleValue) {\n if (styleValue === void 0) { styleValue = null; }\n var value = this.getStyle(element, styleName) || '';\n return styleValue ? value == styleValue : value.length > 0;\n };\n BrowserDomAdapter.prototype.tagName = function (element) { return element.tagName; };\n BrowserDomAdapter.prototype.attributeMap = function (element) {\n var res = new Map();\n var elAttrs = element.attributes;\n for (var i = 0; i < elAttrs.length; i++) {\n var attrib = elAttrs[i];\n res.set(attrib.name, attrib.value);\n }\n return res;\n };\n BrowserDomAdapter.prototype.hasAttribute = function (element, attribute) {\n return element.hasAttribute(attribute);\n };\n BrowserDomAdapter.prototype.hasAttributeNS = function (element, ns, attribute) {\n return element.hasAttributeNS(ns, attribute);\n };\n BrowserDomAdapter.prototype.getAttribute = function (element, attribute) {\n return element.getAttribute(attribute);\n };\n BrowserDomAdapter.prototype.getAttributeNS = function (element, ns, name) {\n return element.getAttributeNS(ns, name);\n };\n BrowserDomAdapter.prototype.setAttribute = function (element, name, value) { element.setAttribute(name, value); };\n BrowserDomAdapter.prototype.setAttributeNS = function (element, ns, name, value) {\n element.setAttributeNS(ns, name, value);\n };\n BrowserDomAdapter.prototype.removeAttribute = function (element, attribute) { element.removeAttribute(attribute); };\n BrowserDomAdapter.prototype.removeAttributeNS = function (element, ns, name) {\n element.removeAttributeNS(ns, name);\n };\n BrowserDomAdapter.prototype.templateAwareRoot = function (el) { return this.isTemplateElement(el) ? this.content(el) : el; };\n BrowserDomAdapter.prototype.createHtmlDocument = function () {\n return document.implementation.createHTMLDocument('fakeTitle');\n };\n BrowserDomAdapter.prototype.defaultDoc = function () { return document; };\n BrowserDomAdapter.prototype.getBoundingClientRect = function (el) {\n try {\n return el.getBoundingClientRect();\n }\n catch (e) {\n return { top: 0, bottom: 0, left: 0, right: 0, width: 0, height: 0 };\n }\n };\n BrowserDomAdapter.prototype.getTitle = function () { return document.title; };\n BrowserDomAdapter.prototype.setTitle = function (newTitle) { document.title = newTitle || ''; };\n BrowserDomAdapter.prototype.elementMatches = function (n, selector) {\n if (n instanceof HTMLElement) {\n return n.matches && n.matches(selector) ||\n n.msMatchesSelector && n.msMatchesSelector(selector) ||\n n.webkitMatchesSelector && n.webkitMatchesSelector(selector);\n }\n return false;\n };\n BrowserDomAdapter.prototype.isTemplateElement = function (el) {\n return el instanceof HTMLElement && el.nodeName == 'TEMPLATE';\n };\n BrowserDomAdapter.prototype.isTextNode = function (node) { return node.nodeType === Node.TEXT_NODE; };\n BrowserDomAdapter.prototype.isCommentNode = function (node) { return node.nodeType === Node.COMMENT_NODE; };\n BrowserDomAdapter.prototype.isElementNode = function (node) { return node.nodeType === Node.ELEMENT_NODE; };\n BrowserDomAdapter.prototype.hasShadowRoot = function (node) {\n return isPresent(node.shadowRoot) && node instanceof HTMLElement;\n };\n BrowserDomAdapter.prototype.isShadowRoot = function (node) { return node instanceof DocumentFragment; };\n BrowserDomAdapter.prototype.importIntoDoc = function (node) { return document.importNode(this.templateAwareRoot(node), true); };\n BrowserDomAdapter.prototype.adoptNode = function (node) { return document.adoptNode(node); };\n BrowserDomAdapter.prototype.getHref = function (el) { return el.href; };\n BrowserDomAdapter.prototype.getEventKey = function (event) {\n var key = event.key;\n if (isBlank(key)) {\n key = event.keyIdentifier;\n // keyIdentifier is defined in the old draft of DOM Level 3 Events implemented by Chrome and\n // Safari cf\n // http://www.w3.org/TR/2007/WD-DOM-Level-3-Events-20071221/events.html#Events-KeyboardEvents-Interfaces\n if (isBlank(key)) {\n return 'Unidentified';\n }\n if (key.startsWith('U+')) {\n key = String.fromCharCode(parseInt(key.substring(2), 16));\n if (event.location === DOM_KEY_LOCATION_NUMPAD && _chromeNumKeyPadMap.hasOwnProperty(key)) {\n // There is a bug in Chrome for numeric keypad keys:\n // https://code.google.com/p/chromium/issues/detail?id=155654\n // 1, 2, 3 ... are reported as A, B, C ...\n key = _chromeNumKeyPadMap[key];\n }\n }\n }\n return _keyMap[key] || key;\n };\n BrowserDomAdapter.prototype.getGlobalEventTarget = function (target) {\n if (target === 'window') {\n return window;\n }\n if (target === 'document') {\n return document;\n }\n if (target === 'body') {\n return document.body;\n }\n };\n BrowserDomAdapter.prototype.getHistory = function () { return window.history; };\n BrowserDomAdapter.prototype.getLocation = function () { return window.location; };\n BrowserDomAdapter.prototype.getBaseHref = function () {\n var href = getBaseElementHref();\n return isBlank(href) ? null : relativePath(href);\n };\n BrowserDomAdapter.prototype.resetBaseElement = function () { baseElement = null; };\n BrowserDomAdapter.prototype.getUserAgent = function () { return window.navigator.userAgent; };\n BrowserDomAdapter.prototype.setData = function (element, name, value) {\n this.setAttribute(element, 'data-' + name, value);\n };\n BrowserDomAdapter.prototype.getData = function (element, name) {\n return this.getAttribute(element, 'data-' + name);\n };\n BrowserDomAdapter.prototype.getComputedStyle = function (element) { return getComputedStyle(element); };\n // TODO(tbosch): move this into a separate environment class once we have it\n BrowserDomAdapter.prototype.setGlobalVar = function (path, value) { setValueOnPath(global$1, path, value); };\n BrowserDomAdapter.prototype.supportsWebAnimation = function () {\n return typeof Element.prototype['animate'] === 'function';\n };\n BrowserDomAdapter.prototype.performanceNow = function () {\n // performance.now() is not available in all browsers, see\n // http://caniuse.com/#search=performance.now\n return window.performance && window.performance.now ? window.performance.now() :\n new Date().getTime();\n };\n BrowserDomAdapter.prototype.supportsCookies = function () { return true; };\n BrowserDomAdapter.prototype.getCookie = function (name) { return parseCookieValue(document.cookie, name); };\n BrowserDomAdapter.prototype.setCookie = function (name, value) {\n // document.cookie is magical, assigning into it assigns/overrides one cookie value, but does\n // not clear other cookies.\n document.cookie = encodeURIComponent(name) + '=' + encodeURIComponent(value);\n };\n return BrowserDomAdapter;\n }(GenericBrowserDomAdapter));\n var baseElement = null;\n function getBaseElementHref() {\n if (!baseElement) {\n baseElement = document.querySelector('base');\n if (!baseElement) {\n return null;\n }\n }\n return baseElement.getAttribute('href');\n }\n // based on urlUtils.js in AngularJS 1\n var urlParsingNode;\n function relativePath(url) {\n if (!urlParsingNode) {\n urlParsingNode = document.createElement('a');\n }\n urlParsingNode.setAttribute('href', url);\n return (urlParsingNode.pathname.charAt(0) === '/') ? urlParsingNode.pathname :\n '/' + urlParsingNode.pathname;\n }\n function parseCookieValue(cookieStr, name) {\n name = encodeURIComponent(name);\n for (var _i = 0, _a = cookieStr.split(';'); _i < _a.length; _i++) {\n var cookie = _a[_i];\n var eqIndex = cookie.indexOf('=');\n var _b = eqIndex == -1 ? [cookie, ''] : [cookie.slice(0, eqIndex), cookie.slice(eqIndex + 1)], cookieName = _b[0], cookieValue = _b[1];\n if (cookieName.trim() === name) {\n return decodeURIComponent(cookieValue);\n }\n }\n return null;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function supportsState() {\n return !!window.history.pushState;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * `PlatformLocation` encapsulates all of the direct calls to platform APIs.\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n */\n var BrowserPlatformLocation = (function (_super) {\n __extends$2(BrowserPlatformLocation, _super);\n function BrowserPlatformLocation() {\n _super.call(this);\n this._init();\n }\n // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it\n /** @internal */\n BrowserPlatformLocation.prototype._init = function () {\n this._location = getDOM().getLocation();\n this._history = getDOM().getHistory();\n };\n Object.defineProperty(BrowserPlatformLocation.prototype, \"location\", {\n get: function () { return this._location; },\n enumerable: true,\n configurable: true\n });\n BrowserPlatformLocation.prototype.getBaseHrefFromDOM = function () { return getDOM().getBaseHref(); };\n BrowserPlatformLocation.prototype.onPopState = function (fn) {\n getDOM().getGlobalEventTarget('window').addEventListener('popstate', fn, false);\n };\n BrowserPlatformLocation.prototype.onHashChange = function (fn) {\n getDOM().getGlobalEventTarget('window').addEventListener('hashchange', fn, false);\n };\n Object.defineProperty(BrowserPlatformLocation.prototype, \"pathname\", {\n get: function () { return this._location.pathname; },\n set: function (newPath) { this._location.pathname = newPath; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BrowserPlatformLocation.prototype, \"search\", {\n get: function () { return this._location.search; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BrowserPlatformLocation.prototype, \"hash\", {\n get: function () { return this._location.hash; },\n enumerable: true,\n configurable: true\n });\n BrowserPlatformLocation.prototype.pushState = function (state, title, url) {\n if (supportsState()) {\n this._history.pushState(state, title, url);\n }\n else {\n this._location.hash = url;\n }\n };\n BrowserPlatformLocation.prototype.replaceState = function (state, title, url) {\n if (supportsState()) {\n this._history.replaceState(state, title, url);\n }\n else {\n this._location.hash = url;\n }\n };\n BrowserPlatformLocation.prototype.forward = function () { this._history.forward(); };\n BrowserPlatformLocation.prototype.back = function () { this._history.back(); };\n BrowserPlatformLocation.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n BrowserPlatformLocation.ctorParameters = [];\n return BrowserPlatformLocation;\n }(_angular_common.PlatformLocation));\n\n var BrowserGetTestability = (function () {\n function BrowserGetTestability() {\n }\n BrowserGetTestability.init = function () { _angular_core.setTestabilityGetter(new BrowserGetTestability()); };\n BrowserGetTestability.prototype.addToWindow = function (registry) {\n global$1.getAngularTestability = function (elem, findInAncestors) {\n if (findInAncestors === void 0) { findInAncestors = true; }\n var testability = registry.findTestabilityInTree(elem, findInAncestors);\n if (testability == null) {\n throw new Error('Could not find testability for element.');\n }\n return testability;\n };\n global$1.getAllAngularTestabilities = function () { return registry.getAllTestabilities(); };\n global$1.getAllAngularRootElements = function () { return registry.getAllRootElements(); };\n var whenAllStable = function (callback /** TODO #9100 */) {\n var testabilities = global$1.getAllAngularTestabilities();\n var count = testabilities.length;\n var didWork = false;\n var decrement = function (didWork_ /** TODO #9100 */) {\n didWork = didWork || didWork_;\n count--;\n if (count == 0) {\n callback(didWork);\n }\n };\n testabilities.forEach(function (testability /** TODO #9100 */) {\n testability.whenStable(decrement);\n });\n };\n if (!global$1['frameworkStabilizers']) {\n global$1['frameworkStabilizers'] = [];\n }\n global$1['frameworkStabilizers'].push(whenAllStable);\n };\n BrowserGetTestability.prototype.findTestabilityInTree = function (registry, elem, findInAncestors) {\n if (elem == null) {\n return null;\n }\n var t = registry.getTestability(elem);\n if (isPresent(t)) {\n return t;\n }\n else if (!findInAncestors) {\n return null;\n }\n if (getDOM().isShadowRoot(elem)) {\n return this.findTestabilityInTree(registry, getDOM().getHost(elem), true);\n }\n return this.findTestabilityInTree(registry, getDOM().parentElement(elem), true);\n };\n return BrowserGetTestability;\n }());\n\n /**\n * A service that can be used to get and set the title of a current HTML document.\n *\n * Since an Angular 2 application can't be bootstrapped on the entire HTML document (`<html>` tag)\n * it is not possible to bind to the `text` property of the `HTMLTitleElement` elements\n * (representing the `<title>` tag). Instead, this service can be used to set and get the current\n * title value.\n *\n * @experimental\n */\n var Title = (function () {\n function Title() {\n }\n /**\n * Get the title of the current HTML document.\n * @returns {string}\n */\n Title.prototype.getTitle = function () { return getDOM().getTitle(); };\n /**\n * Set the title of the current HTML document.\n * @param newTitle\n */\n Title.prototype.setTitle = function (newTitle) { getDOM().setTitle(newTitle); };\n return Title;\n }());\n\n /**\n * Wraps Javascript Objects\n */\n var StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n }());\n\n /**\n * A DI Token representing the main rendering context. In a browser this is the DOM Document.\n *\n * Note: Document might not be available in the Application Context when Application and Rendering\n * Contexts are not the same (e.g. when running the application into a Web Worker).\n *\n * @stable\n */\n var DOCUMENT = new _angular_core.OpaqueToken('DocumentToken');\n\n /**\n * @stable\n */\n var EVENT_MANAGER_PLUGINS = new _angular_core.OpaqueToken('EventManagerPlugins');\n /**\n * @stable\n */\n var EventManager = (function () {\n function EventManager(plugins, _zone) {\n var _this = this;\n this._zone = _zone;\n this._eventNameToPlugin = new Map();\n plugins.forEach(function (p) { return p.manager = _this; });\n this._plugins = plugins.slice().reverse();\n }\n EventManager.prototype.addEventListener = function (element, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addEventListener(element, eventName, handler);\n };\n EventManager.prototype.addGlobalEventListener = function (target, eventName, handler) {\n var plugin = this._findPluginFor(eventName);\n return plugin.addGlobalEventListener(target, eventName, handler);\n };\n EventManager.prototype.getZone = function () { return this._zone; };\n /** @internal */\n EventManager.prototype._findPluginFor = function (eventName) {\n var plugin = this._eventNameToPlugin.get(eventName);\n if (plugin) {\n return plugin;\n }\n var plugins = this._plugins;\n for (var i = 0; i < plugins.length; i++) {\n var plugin_1 = plugins[i];\n if (plugin_1.supports(eventName)) {\n this._eventNameToPlugin.set(eventName, plugin_1);\n return plugin_1;\n }\n }\n throw new Error(\"No event manager plugin found for event \" + eventName);\n };\n EventManager.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n EventManager.ctorParameters = [\n { type: Array, decorators: [{ type: _angular_core.Inject, args: [EVENT_MANAGER_PLUGINS,] },] },\n { type: _angular_core.NgZone, },\n ];\n return EventManager;\n }());\n var EventManagerPlugin = (function () {\n function EventManagerPlugin() {\n }\n EventManagerPlugin.prototype.addGlobalEventListener = function (element, eventName, handler) {\n var target = getDOM().getGlobalEventTarget(element);\n if (!target) {\n throw new Error(\"Unsupported event target \" + target + \" for event \" + eventName);\n }\n return this.addEventListener(target, eventName, handler);\n };\n ;\n return EventManagerPlugin;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var SharedStylesHost = (function () {\n function SharedStylesHost() {\n /** @internal */\n this._styles = [];\n /** @internal */\n this._stylesSet = new Set();\n }\n SharedStylesHost.prototype.addStyles = function (styles) {\n var _this = this;\n var additions = [];\n styles.forEach(function (style) {\n if (!_this._stylesSet.has(style)) {\n _this._stylesSet.add(style);\n _this._styles.push(style);\n additions.push(style);\n }\n });\n this.onStylesAdded(additions);\n };\n SharedStylesHost.prototype.onStylesAdded = function (additions) { };\n SharedStylesHost.prototype.getAllStyles = function () { return this._styles; };\n SharedStylesHost.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n SharedStylesHost.ctorParameters = [];\n return SharedStylesHost;\n }());\n var DomSharedStylesHost = (function (_super) {\n __extends$4(DomSharedStylesHost, _super);\n function DomSharedStylesHost(doc) {\n _super.call(this);\n this._hostNodes = new Set();\n this._hostNodes.add(doc.head);\n }\n /** @internal */\n DomSharedStylesHost.prototype._addStylesToHost = function (styles, host) {\n for (var i = 0; i < styles.length; i++) {\n var styleEl = document.createElement('style');\n styleEl.textContent = styles[i];\n host.appendChild(styleEl);\n }\n };\n DomSharedStylesHost.prototype.addHost = function (hostNode) {\n this._addStylesToHost(this._styles, hostNode);\n this._hostNodes.add(hostNode);\n };\n DomSharedStylesHost.prototype.removeHost = function (hostNode) { this._hostNodes.delete(hostNode); };\n DomSharedStylesHost.prototype.onStylesAdded = function (additions) {\n var _this = this;\n this._hostNodes.forEach(function (hostNode) { _this._addStylesToHost(additions, hostNode); });\n };\n DomSharedStylesHost.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DomSharedStylesHost.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [DOCUMENT,] },] },\n ];\n return DomSharedStylesHost;\n }(SharedStylesHost));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var NAMESPACE_URIS = {\n 'xlink': 'http://www.w3.org/1999/xlink',\n 'svg': 'http://www.w3.org/2000/svg',\n 'xhtml': 'http://www.w3.org/1999/xhtml'\n };\n var TEMPLATE_COMMENT_TEXT = 'template bindings={}';\n var TEMPLATE_BINDINGS_EXP = /^template bindings=(.*)$/;\n var DomRootRenderer = (function () {\n function DomRootRenderer(document, eventManager, sharedStylesHost, animationDriver, appId) {\n this.document = document;\n this.eventManager = eventManager;\n this.sharedStylesHost = sharedStylesHost;\n this.animationDriver = animationDriver;\n this.appId = appId;\n this.registeredComponents = new Map();\n }\n DomRootRenderer.prototype.renderComponent = function (componentProto) {\n var renderer = this.registeredComponents.get(componentProto.id);\n if (!renderer) {\n renderer = new DomRenderer(this, componentProto, this.animationDriver, this.appId + \"-\" + componentProto.id);\n this.registeredComponents.set(componentProto.id, renderer);\n }\n return renderer;\n };\n return DomRootRenderer;\n }());\n var DomRootRenderer_ = (function (_super) {\n __extends$3(DomRootRenderer_, _super);\n function DomRootRenderer_(_document, _eventManager, sharedStylesHost, animationDriver, appId) {\n _super.call(this, _document, _eventManager, sharedStylesHost, animationDriver, appId);\n }\n DomRootRenderer_.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DomRootRenderer_.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [DOCUMENT,] },] },\n { type: EventManager, },\n { type: DomSharedStylesHost, },\n { type: AnimationDriver, },\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.APP_ID,] },] },\n ];\n return DomRootRenderer_;\n }(DomRootRenderer));\n var DIRECT_DOM_RENDERER = {\n remove: function (node) {\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n },\n appendChild: function (node, parent) { parent.appendChild(node); },\n insertBefore: function (node, refNode) { refNode.parentNode.insertBefore(node, refNode); },\n nextSibling: function (node) { return node.nextSibling; },\n parentElement: function (node) { return node.parentNode; }\n };\n var DomRenderer = (function () {\n function DomRenderer(_rootRenderer, componentProto, _animationDriver, styleShimId) {\n this._rootRenderer = _rootRenderer;\n this.componentProto = componentProto;\n this._animationDriver = _animationDriver;\n this.directRenderer = DIRECT_DOM_RENDERER;\n this._styles = flattenStyles(styleShimId, componentProto.styles, []);\n if (componentProto.encapsulation !== _angular_core.ViewEncapsulation.Native) {\n this._rootRenderer.sharedStylesHost.addStyles(this._styles);\n }\n if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Emulated) {\n this._contentAttr = shimContentAttribute(styleShimId);\n this._hostAttr = shimHostAttribute(styleShimId);\n }\n else {\n this._contentAttr = null;\n this._hostAttr = null;\n }\n }\n DomRenderer.prototype.selectRootElement = function (selectorOrNode, debugInfo) {\n var el;\n if (typeof selectorOrNode === 'string') {\n el = this._rootRenderer.document.querySelector(selectorOrNode);\n if (!el) {\n throw new Error(\"The selector \\\"\" + selectorOrNode + \"\\\" did not match any elements\");\n }\n }\n else {\n el = selectorOrNode;\n }\n while (el.firstChild) {\n el.removeChild(el.firstChild);\n }\n return el;\n };\n DomRenderer.prototype.createElement = function (parent, name, debugInfo) {\n var el;\n if (isNamespaced(name)) {\n var nsAndName = splitNamespace(name);\n el = document.createElementNS((NAMESPACE_URIS)[nsAndName[0]], nsAndName[1]);\n }\n else {\n el = document.createElement(name);\n }\n if (this._contentAttr) {\n el.setAttribute(this._contentAttr, '');\n }\n if (parent) {\n parent.appendChild(el);\n }\n return el;\n };\n DomRenderer.prototype.createViewRoot = function (hostElement) {\n var nodesParent;\n if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Native) {\n nodesParent = hostElement.createShadowRoot();\n this._rootRenderer.sharedStylesHost.addHost(nodesParent);\n for (var i = 0; i < this._styles.length; i++) {\n var styleEl = document.createElement('style');\n styleEl.textContent = this._styles[i];\n nodesParent.appendChild(styleEl);\n }\n }\n else {\n if (this._hostAttr) {\n hostElement.setAttribute(this._hostAttr, '');\n }\n nodesParent = hostElement;\n }\n return nodesParent;\n };\n DomRenderer.prototype.createTemplateAnchor = function (parentElement, debugInfo) {\n var comment = document.createComment(TEMPLATE_COMMENT_TEXT);\n if (parentElement) {\n parentElement.appendChild(comment);\n }\n return comment;\n };\n DomRenderer.prototype.createText = function (parentElement, value, debugInfo) {\n var node = document.createTextNode(value);\n if (parentElement) {\n parentElement.appendChild(node);\n }\n return node;\n };\n DomRenderer.prototype.projectNodes = function (parentElement, nodes) {\n if (!parentElement)\n return;\n appendNodes(parentElement, nodes);\n };\n DomRenderer.prototype.attachViewAfter = function (node, viewRootNodes) { moveNodesAfterSibling(node, viewRootNodes); };\n DomRenderer.prototype.detachView = function (viewRootNodes) {\n for (var i = 0; i < viewRootNodes.length; i++) {\n var node = viewRootNodes[i];\n if (node.parentNode) {\n node.parentNode.removeChild(node);\n }\n }\n };\n DomRenderer.prototype.destroyView = function (hostElement, viewAllNodes) {\n if (this.componentProto.encapsulation === _angular_core.ViewEncapsulation.Native && hostElement) {\n this._rootRenderer.sharedStylesHost.removeHost(hostElement.shadowRoot);\n }\n };\n DomRenderer.prototype.listen = function (renderElement, name, callback) {\n return this._rootRenderer.eventManager.addEventListener(renderElement, name, decoratePreventDefault(callback));\n };\n DomRenderer.prototype.listenGlobal = function (target, name, callback) {\n return this._rootRenderer.eventManager.addGlobalEventListener(target, name, decoratePreventDefault(callback));\n };\n DomRenderer.prototype.setElementProperty = function (renderElement, propertyName, propertyValue) {\n renderElement[propertyName] = propertyValue;\n };\n DomRenderer.prototype.setElementAttribute = function (renderElement, attributeName, attributeValue) {\n var attrNs;\n var attrNameWithoutNs = attributeName;\n if (isNamespaced(attributeName)) {\n var nsAndName = splitNamespace(attributeName);\n attrNameWithoutNs = nsAndName[1];\n attributeName = nsAndName[0] + ':' + nsAndName[1];\n attrNs = NAMESPACE_URIS[nsAndName[0]];\n }\n if (isPresent(attributeValue)) {\n if (attrNs) {\n renderElement.setAttributeNS(attrNs, attributeName, attributeValue);\n }\n else {\n renderElement.setAttribute(attributeName, attributeValue);\n }\n }\n else {\n if (isPresent(attrNs)) {\n renderElement.removeAttributeNS(attrNs, attrNameWithoutNs);\n }\n else {\n renderElement.removeAttribute(attributeName);\n }\n }\n };\n DomRenderer.prototype.setBindingDebugInfo = function (renderElement, propertyName, propertyValue) {\n if (renderElement.nodeType === Node.COMMENT_NODE) {\n var existingBindings = renderElement.nodeValue.replace(/\\n/g, '').match(TEMPLATE_BINDINGS_EXP);\n var parsedBindings = JSON.parse(existingBindings[1]);\n parsedBindings[propertyName] = propertyValue;\n renderElement.nodeValue =\n TEMPLATE_COMMENT_TEXT.replace('{}', JSON.stringify(parsedBindings, null, 2));\n }\n else {\n this.setElementAttribute(renderElement, propertyName, propertyValue);\n }\n };\n DomRenderer.prototype.setElementClass = function (renderElement, className, isAdd) {\n if (isAdd) {\n renderElement.classList.add(className);\n }\n else {\n renderElement.classList.remove(className);\n }\n };\n DomRenderer.prototype.setElementStyle = function (renderElement, styleName, styleValue) {\n if (isPresent(styleValue)) {\n renderElement.style[styleName] = stringify(styleValue);\n }\n else {\n // IE requires '' instead of null\n // see https://github.com/angular/angular/issues/7916\n renderElement.style[styleName] = '';\n }\n };\n DomRenderer.prototype.invokeElementMethod = function (renderElement, methodName, args) {\n renderElement[methodName].apply(renderElement, args);\n };\n DomRenderer.prototype.setText = function (renderNode, text) { renderNode.nodeValue = text; };\n DomRenderer.prototype.animate = function (element, startingStyles, keyframes, duration, delay, easing, previousPlayers) {\n if (previousPlayers === void 0) { previousPlayers = []; }\n return this._animationDriver.animate(element, startingStyles, keyframes, duration, delay, easing, previousPlayers);\n };\n return DomRenderer;\n }());\n function moveNodesAfterSibling(sibling, nodes) {\n var parent = sibling.parentNode;\n if (nodes.length > 0 && parent) {\n var nextSibling = sibling.nextSibling;\n if (nextSibling) {\n for (var i = 0; i < nodes.length; i++) {\n parent.insertBefore(nodes[i], nextSibling);\n }\n }\n else {\n for (var i = 0; i < nodes.length; i++) {\n parent.appendChild(nodes[i]);\n }\n }\n }\n }\n function appendNodes(parent, nodes) {\n for (var i = 0; i < nodes.length; i++) {\n parent.appendChild(nodes[i]);\n }\n }\n function decoratePreventDefault(eventHandler) {\n return function (event) {\n var allowDefaultBehavior = eventHandler(event);\n if (allowDefaultBehavior === false) {\n // TODO(tbosch): move preventDefault into event plugins...\n event.preventDefault();\n event.returnValue = false;\n }\n };\n }\n var COMPONENT_REGEX = /%COMP%/g;\n var COMPONENT_VARIABLE = '%COMP%';\n var HOST_ATTR = \"_nghost-\" + COMPONENT_VARIABLE;\n var CONTENT_ATTR = \"_ngcontent-\" + COMPONENT_VARIABLE;\n function shimContentAttribute(componentShortId) {\n return CONTENT_ATTR.replace(COMPONENT_REGEX, componentShortId);\n }\n function shimHostAttribute(componentShortId) {\n return HOST_ATTR.replace(COMPONENT_REGEX, componentShortId);\n }\n function flattenStyles(compId, styles, target) {\n for (var i = 0; i < styles.length; i++) {\n var style = styles[i];\n if (Array.isArray(style)) {\n flattenStyles(compId, style, target);\n }\n else {\n style = style.replace(COMPONENT_REGEX, compId);\n target.push(style);\n }\n }\n return target;\n }\n var NS_PREFIX_RE = /^:([^:]+):(.+)$/;\n function isNamespaced(name) {\n return name[0] === ':';\n }\n function splitNamespace(name) {\n var match = name.match(NS_PREFIX_RE);\n return [match[1], match[2]];\n }\n\n var CORE_TOKENS = {\n 'ApplicationRef': _angular_core.ApplicationRef,\n 'NgZone': _angular_core.NgZone\n };\n var INSPECT_GLOBAL_NAME = 'ng.probe';\n var CORE_TOKENS_GLOBAL_NAME = 'ng.coreTokens';\n /**\n * Returns a {@link DebugElement} for the given native DOM element, or\n * null if the given native element does not have an Angular view associated\n * with it.\n */\n function inspectNativeElement(element /** TODO #9100 */) {\n return _angular_core.getDebugNode(element);\n }\n /**\n * @experimental\n */\n var NgProbeToken = (function () {\n function NgProbeToken(name, token) {\n this.name = name;\n this.token = token;\n }\n return NgProbeToken;\n }());\n function _createConditionalRootRenderer(rootRenderer /** TODO #9100 */, extraTokens) {\n if (_angular_core.isDevMode()) {\n return _createRootRenderer(rootRenderer, extraTokens);\n }\n return rootRenderer;\n }\n function _createRootRenderer(rootRenderer /** TODO #9100 */, extraTokens) {\n getDOM().setGlobalVar(INSPECT_GLOBAL_NAME, inspectNativeElement);\n getDOM().setGlobalVar(CORE_TOKENS_GLOBAL_NAME, StringMapWrapper.merge(CORE_TOKENS, _ngProbeTokensToMap(extraTokens || [])));\n return new DebugDomRootRenderer(rootRenderer);\n }\n function _ngProbeTokensToMap(tokens) {\n return tokens.reduce(function (prev, t) { return (prev[t.name] = t.token, prev); }, {});\n }\n /**\n * Providers which support debugging Angular applications (e.g. via `ng.probe`).\n */\n var ELEMENT_PROBE_PROVIDERS = [{\n provide: _angular_core.RootRenderer,\n useFactory: _createConditionalRootRenderer,\n deps: [DomRootRenderer, [NgProbeToken, new _angular_core.Optional()]]\n }];\n var ELEMENT_PROBE_PROVIDERS_PROD_MODE = [{\n provide: _angular_core.RootRenderer,\n useFactory: _createRootRenderer,\n deps: [DomRootRenderer, [NgProbeToken, new _angular_core.Optional()]]\n }];\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var DomEventsPlugin = (function (_super) {\n __extends$5(DomEventsPlugin, _super);\n function DomEventsPlugin() {\n _super.apply(this, arguments);\n }\n // This plugin should come last in the list of plugins, because it accepts all\n // events.\n DomEventsPlugin.prototype.supports = function (eventName) { return true; };\n DomEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\n element.addEventListener(eventName, handler, false);\n return function () { return element.removeEventListener(eventName, handler, false); };\n };\n DomEventsPlugin.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DomEventsPlugin.ctorParameters = [];\n return DomEventsPlugin;\n }(EventManagerPlugin));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$6 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var EVENT_NAMES = {\n // pan\n 'pan': true,\n 'panstart': true,\n 'panmove': true,\n 'panend': true,\n 'pancancel': true,\n 'panleft': true,\n 'panright': true,\n 'panup': true,\n 'pandown': true,\n // pinch\n 'pinch': true,\n 'pinchstart': true,\n 'pinchmove': true,\n 'pinchend': true,\n 'pinchcancel': true,\n 'pinchin': true,\n 'pinchout': true,\n // press\n 'press': true,\n 'pressup': true,\n // rotate\n 'rotate': true,\n 'rotatestart': true,\n 'rotatemove': true,\n 'rotateend': true,\n 'rotatecancel': true,\n // swipe\n 'swipe': true,\n 'swipeleft': true,\n 'swiperight': true,\n 'swipeup': true,\n 'swipedown': true,\n // tap\n 'tap': true,\n };\n /**\n * A DI token that you can use to provide{@link HammerGestureConfig} to Angular. Use it to configure\n * Hammer gestures.\n *\n * @experimental\n */\n var HAMMER_GESTURE_CONFIG = new _angular_core.OpaqueToken('HammerGestureConfig');\n /**\n * @experimental\n */\n var HammerGestureConfig = (function () {\n function HammerGestureConfig() {\n this.events = [];\n this.overrides = {};\n }\n HammerGestureConfig.prototype.buildHammer = function (element) {\n var mc = new Hammer(element);\n mc.get('pinch').set({ enable: true });\n mc.get('rotate').set({ enable: true });\n for (var eventName in this.overrides) {\n mc.get(eventName).set(this.overrides[eventName]);\n }\n return mc;\n };\n HammerGestureConfig.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n HammerGestureConfig.ctorParameters = [];\n return HammerGestureConfig;\n }());\n var HammerGesturesPlugin = (function (_super) {\n __extends$6(HammerGesturesPlugin, _super);\n function HammerGesturesPlugin(_config) {\n _super.call(this);\n this._config = _config;\n }\n HammerGesturesPlugin.prototype.supports = function (eventName) {\n if (!EVENT_NAMES.hasOwnProperty(eventName.toLowerCase()) && !this.isCustomEvent(eventName)) {\n return false;\n }\n if (!window.Hammer) {\n throw new Error(\"Hammer.js is not loaded, can not bind \" + eventName + \" event\");\n }\n return true;\n };\n HammerGesturesPlugin.prototype.addEventListener = function (element, eventName, handler) {\n var _this = this;\n var zone = this.manager.getZone();\n eventName = eventName.toLowerCase();\n return zone.runOutsideAngular(function () {\n // Creating the manager bind events, must be done outside of angular\n var mc = _this._config.buildHammer(element);\n var callback = function (eventObj) {\n zone.runGuarded(function () { handler(eventObj); });\n };\n mc.on(eventName, callback);\n return function () { return mc.off(eventName, callback); };\n });\n };\n HammerGesturesPlugin.prototype.isCustomEvent = function (eventName) { return this._config.events.indexOf(eventName) > -1; };\n HammerGesturesPlugin.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n HammerGesturesPlugin.ctorParameters = [\n { type: HammerGestureConfig, decorators: [{ type: _angular_core.Inject, args: [HAMMER_GESTURE_CONFIG,] },] },\n ];\n return HammerGesturesPlugin;\n }(EventManagerPlugin));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$7 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var MODIFIER_KEYS = ['alt', 'control', 'meta', 'shift'];\n var MODIFIER_KEY_GETTERS = {\n 'alt': function (event) { return event.altKey; },\n 'control': function (event) { return event.ctrlKey; },\n 'meta': function (event) { return event.metaKey; },\n 'shift': function (event) { return event.shiftKey; }\n };\n /**\n * @experimental\n */\n var KeyEventsPlugin = (function (_super) {\n __extends$7(KeyEventsPlugin, _super);\n function KeyEventsPlugin() {\n _super.call(this);\n }\n KeyEventsPlugin.prototype.supports = function (eventName) { return KeyEventsPlugin.parseEventName(eventName) != null; };\n KeyEventsPlugin.prototype.addEventListener = function (element, eventName, handler) {\n var parsedEvent = KeyEventsPlugin.parseEventName(eventName);\n var outsideHandler = KeyEventsPlugin.eventCallback(parsedEvent['fullKey'], handler, this.manager.getZone());\n return this.manager.getZone().runOutsideAngular(function () {\n return getDOM().onAndCancel(element, parsedEvent['domEventName'], outsideHandler);\n });\n };\n KeyEventsPlugin.parseEventName = function (eventName) {\n var parts = eventName.toLowerCase().split('.');\n var domEventName = parts.shift();\n if ((parts.length === 0) || !(domEventName === 'keydown' || domEventName === 'keyup')) {\n return null;\n }\n var key = KeyEventsPlugin._normalizeKey(parts.pop());\n var fullKey = '';\n MODIFIER_KEYS.forEach(function (modifierName) {\n var index = parts.indexOf(modifierName);\n if (index > -1) {\n parts.splice(index, 1);\n fullKey += modifierName + '.';\n }\n });\n fullKey += key;\n if (parts.length != 0 || key.length === 0) {\n // returning null instead of throwing to let another plugin process the event\n return null;\n }\n var result = {};\n result['domEventName'] = domEventName;\n result['fullKey'] = fullKey;\n return result;\n };\n KeyEventsPlugin.getEventFullKey = function (event) {\n var fullKey = '';\n var key = getDOM().getEventKey(event);\n key = key.toLowerCase();\n if (key === ' ') {\n key = 'space'; // for readability\n }\n else if (key === '.') {\n key = 'dot'; // because '.' is used as a separator in event names\n }\n MODIFIER_KEYS.forEach(function (modifierName) {\n if (modifierName != key) {\n var modifierGetter = MODIFIER_KEY_GETTERS[modifierName];\n if (modifierGetter(event)) {\n fullKey += modifierName + '.';\n }\n }\n });\n fullKey += key;\n return fullKey;\n };\n KeyEventsPlugin.eventCallback = function (fullKey, handler, zone) {\n return function (event /** TODO #9100 */) {\n if (KeyEventsPlugin.getEventFullKey(event) === fullKey) {\n zone.runGuarded(function () { return handler(event); });\n }\n };\n };\n /** @internal */\n KeyEventsPlugin._normalizeKey = function (keyName) {\n // TODO: switch to a Map if the mapping grows too much\n switch (keyName) {\n case 'esc':\n return 'escape';\n default:\n return keyName;\n }\n };\n KeyEventsPlugin.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n KeyEventsPlugin.ctorParameters = [];\n return KeyEventsPlugin;\n }(EventManagerPlugin));\n\n /**\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\n *\n * This regular expression matches a subset of URLs that will not cause script\n * execution if used in URL context within a HTML document. Specifically, this\n * regular expression matches if (comment from here on and regex copied from\n * Soy's EscapingConventions):\n * (1) Either a protocol in a whitelist (http, https, mailto or ftp).\n * (2) or no protocol. A protocol must be followed by a colon. The below\n * allows that by allowing colons only after one of the characters [/?#].\n * A colon after a hash (#) must be in the fragment.\n * Otherwise, a colon after a (?) must be in a query.\n * Otherwise, a colon after a single solidus (/) must be in a path.\n * Otherwise, a colon after a double solidus (//) must be in the authority\n * (before port).\n *\n * The pattern disallows &, used in HTML entity declarations before\n * one of the characters in [/?#]. This disallows HTML entities used in the\n * protocol name, which should never happen, e.g. \"http\" for \"http\".\n * It also disallows HTML entities in the first path part of a relative path,\n * e.g. \"foo<bar/baz\". Our existing escaping functions should not produce\n * that. More importantly, it disallows masking of a colon,\n * e.g. \"javascript:...\".\n *\n * This regular expression was taken from the Closure sanitization library.\n */\n var SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi;\n /** A pattern that matches safe data URLs. Only matches image, video and audio types. */\n var DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\\/]+=*$/i;\n function sanitizeUrl(url) {\n url = String(url);\n if (url.match(SAFE_URL_PATTERN) || url.match(DATA_URL_PATTERN))\n return url;\n if (_angular_core.isDevMode()) {\n getDOM().log(\"WARNING: sanitizing unsafe URL value \" + url + \" (see http://g.co/ng/security#xss)\");\n }\n return 'unsafe:' + url;\n }\n function sanitizeSrcset(srcset) {\n srcset = String(srcset);\n return srcset.split(',').map(function (srcset) { return sanitizeUrl(srcset.trim()); }).join(', ');\n }\n\n /** A <body> element that can be safely used to parse untrusted HTML. Lazily initialized below. */\n var inertElement = null;\n /** Lazily initialized to make sure the DOM adapter gets set before use. */\n var DOM = null;\n /** Returns an HTML element that is guaranteed to not execute code when creating elements in it. */\n function getInertElement() {\n if (inertElement)\n return inertElement;\n DOM = getDOM();\n // Prefer using <template> element if supported.\n var templateEl = DOM.createElement('template');\n if ('content' in templateEl)\n return templateEl;\n var doc = DOM.createHtmlDocument();\n inertElement = DOM.querySelector(doc, 'body');\n if (inertElement == null) {\n // usually there should be only one body element in the document, but IE doesn't have any, so we\n // need to create one.\n var html = DOM.createElement('html', doc);\n inertElement = DOM.createElement('body', doc);\n DOM.appendChild(html, inertElement);\n DOM.appendChild(doc, html);\n }\n return inertElement;\n }\n function tagSet(tags) {\n var res = {};\n for (var _i = 0, _a = tags.split(','); _i < _a.length; _i++) {\n var t = _a[_i];\n res[t] = true;\n }\n return res;\n }\n function merge() {\n var sets = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sets[_i - 0] = arguments[_i];\n }\n var res = {};\n for (var _a = 0, sets_1 = sets; _a < sets_1.length; _a++) {\n var s = sets_1[_a];\n for (var v in s) {\n if (s.hasOwnProperty(v))\n res[v] = true;\n }\n }\n return res;\n }\n // Good source of info about elements and attributes\n // http://dev.w3.org/html5/spec/Overview.html#semantics\n // http://simon.html5.org/html-elements\n // Safe Void Elements - HTML5\n // http://dev.w3.org/html5/spec/Overview.html#void-elements\n var VOID_ELEMENTS = tagSet('area,br,col,hr,img,wbr');\n // Elements that you can, intentionally, leave open (and which close themselves)\n // http://dev.w3.org/html5/spec/Overview.html#optional-tags\n var OPTIONAL_END_TAG_BLOCK_ELEMENTS = tagSet('colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr');\n var OPTIONAL_END_TAG_INLINE_ELEMENTS = tagSet('rp,rt');\n var OPTIONAL_END_TAG_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, OPTIONAL_END_TAG_BLOCK_ELEMENTS);\n // Safe Block Elements - HTML5\n var BLOCK_ELEMENTS = merge(OPTIONAL_END_TAG_BLOCK_ELEMENTS, tagSet('address,article,' +\n 'aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,' +\n 'h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul'));\n // Inline Elements - HTML5\n var INLINE_ELEMENTS = merge(OPTIONAL_END_TAG_INLINE_ELEMENTS, tagSet('a,abbr,acronym,audio,b,' +\n 'bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,' +\n 'samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video'));\n var VALID_ELEMENTS = merge(VOID_ELEMENTS, BLOCK_ELEMENTS, INLINE_ELEMENTS, OPTIONAL_END_TAG_ELEMENTS);\n // Attributes that have href and hence need to be sanitized\n var URI_ATTRS = tagSet('background,cite,href,itemtype,longdesc,poster,src,xlink:href');\n // Attributes that have special href set hence need to be sanitized\n var SRCSET_ATTRS = tagSet('srcset');\n var HTML_ATTRS = tagSet('abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,' +\n 'compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,' +\n 'ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,' +\n 'scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,' +\n 'valign,value,vspace,width');\n // NB: This currently conciously doesn't support SVG. SVG sanitization has had several security\n // issues in the past, so it seems safer to leave it out if possible. If support for binding SVG via\n // innerHTML is required, SVG attributes should be added here.\n // NB: Sanitization does not allow <form> elements or other active elements (<button> etc). Those\n // can be sanitized, but they increase security surface area without a legitimate use case, so they\n // are left out here.\n var VALID_ATTRS = merge(URI_ATTRS, SRCSET_ATTRS, HTML_ATTRS);\n /**\n * SanitizingHtmlSerializer serializes a DOM fragment, stripping out any unsafe elements and unsafe\n * attributes.\n */\n var SanitizingHtmlSerializer = (function () {\n function SanitizingHtmlSerializer() {\n // Explicitly track if something was stripped, to avoid accidentally warning of sanitization just\n // because characters were re-encoded.\n this.sanitizedSomething = false;\n this.buf = [];\n }\n SanitizingHtmlSerializer.prototype.sanitizeChildren = function (el) {\n // This cannot use a TreeWalker, as it has to run on Angular's various DOM adapters.\n // However this code never accesses properties off of `document` before deleting its contents\n // again, so it shouldn't be vulnerable to DOM clobbering.\n var current = el.firstChild;\n while (current) {\n if (DOM.isElementNode(current)) {\n this.startElement(current);\n }\n else if (DOM.isTextNode(current)) {\n this.chars(DOM.nodeValue(current));\n }\n else {\n // Strip non-element, non-text nodes.\n this.sanitizedSomething = true;\n }\n if (DOM.firstChild(current)) {\n current = DOM.firstChild(current);\n continue;\n }\n while (current) {\n // Leaving the element. Walk up and to the right, closing tags as we go.\n if (DOM.isElementNode(current)) {\n this.endElement(current);\n }\n if (DOM.nextSibling(current)) {\n current = DOM.nextSibling(current);\n break;\n }\n current = DOM.parentElement(current);\n }\n }\n return this.buf.join('');\n };\n SanitizingHtmlSerializer.prototype.startElement = function (element) {\n var _this = this;\n var tagName = DOM.nodeName(element).toLowerCase();\n if (!VALID_ELEMENTS.hasOwnProperty(tagName)) {\n this.sanitizedSomething = true;\n return;\n }\n this.buf.push('<');\n this.buf.push(tagName);\n DOM.attributeMap(element).forEach(function (value, attrName) {\n var lower = attrName.toLowerCase();\n if (!VALID_ATTRS.hasOwnProperty(lower)) {\n _this.sanitizedSomething = true;\n return;\n }\n // TODO(martinprobst): Special case image URIs for data:image/...\n if (URI_ATTRS[lower])\n value = sanitizeUrl(value);\n if (SRCSET_ATTRS[lower])\n value = sanitizeSrcset(value);\n _this.buf.push(' ');\n _this.buf.push(attrName);\n _this.buf.push('=\"');\n _this.buf.push(encodeEntities(value));\n _this.buf.push('\"');\n });\n this.buf.push('>');\n };\n SanitizingHtmlSerializer.prototype.endElement = function (current) {\n var tagName = DOM.nodeName(current).toLowerCase();\n if (VALID_ELEMENTS.hasOwnProperty(tagName) && !VOID_ELEMENTS.hasOwnProperty(tagName)) {\n this.buf.push('</');\n this.buf.push(tagName);\n this.buf.push('>');\n }\n };\n SanitizingHtmlSerializer.prototype.chars = function (chars /** TODO #9100 */) { this.buf.push(encodeEntities(chars)); };\n return SanitizingHtmlSerializer;\n }());\n // Regular Expressions for parsing tags and attributes\n var SURROGATE_PAIR_REGEXP = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g;\n // ! to ~ is the ASCII range.\n var NON_ALPHANUMERIC_REGEXP = /([^\\#-~ |!])/g;\n /**\n * Escapes all potentially dangerous characters, so that the\n * resulting string can be safely inserted into attribute or\n * element text.\n * @param value\n * @returns {string} escaped text\n */\n function encodeEntities(value) {\n return value.replace(/&/g, '&')\n .replace(SURROGATE_PAIR_REGEXP, function (match) {\n var hi = match.charCodeAt(0);\n var low = match.charCodeAt(1);\n return '&#' + (((hi - 0xD800) * 0x400) + (low - 0xDC00) + 0x10000) + ';';\n })\n .replace(NON_ALPHANUMERIC_REGEXP, function (match) { return '&#' + match.charCodeAt(0) + ';'; })\n .replace(/</g, '<')\n .replace(/>/g, '>');\n }\n /**\n * When IE9-11 comes across an unknown namespaced attribute e.g. 'xlink:foo' it adds 'xmlns:ns1'\n * attribute to declare ns1 namespace and prefixes the attribute with 'ns1' (e.g. 'ns1:xlink:foo').\n *\n * This is undesirable since we don't want to allow any of these custom attributes. This method\n * strips them all.\n */\n function stripCustomNsAttrs(el) {\n DOM.attributeMap(el).forEach(function (_, attrName) {\n if (attrName === 'xmlns:ns1' || attrName.indexOf('ns1:') === 0) {\n DOM.removeAttribute(el, attrName);\n }\n });\n for (var _i = 0, _a = DOM.childNodesAsList(el); _i < _a.length; _i++) {\n var n = _a[_i];\n if (DOM.isElementNode(n))\n stripCustomNsAttrs(n);\n }\n }\n /**\n * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to\n * the DOM in a browser environment.\n */\n function sanitizeHtml(unsafeHtmlInput) {\n try {\n var containerEl = getInertElement();\n // Make sure unsafeHtml is actually a string (TypeScript types are not enforced at runtime).\n var unsafeHtml = unsafeHtmlInput ? String(unsafeHtmlInput) : '';\n // mXSS protection. Repeatedly parse the document to make sure it stabilizes, so that a browser\n // trying to auto-correct incorrect HTML cannot cause formerly inert HTML to become dangerous.\n var mXSSAttempts = 5;\n var parsedHtml = unsafeHtml;\n do {\n if (mXSSAttempts === 0) {\n throw new Error('Failed to sanitize html because the input is unstable');\n }\n mXSSAttempts--;\n unsafeHtml = parsedHtml;\n DOM.setInnerHTML(containerEl, unsafeHtml);\n if (DOM.defaultDoc().documentMode) {\n // strip custom-namespaced attributes on IE<=11\n stripCustomNsAttrs(containerEl);\n }\n parsedHtml = DOM.getInnerHTML(containerEl);\n } while (unsafeHtml !== parsedHtml);\n var sanitizer = new SanitizingHtmlSerializer();\n var safeHtml = sanitizer.sanitizeChildren(DOM.getTemplateContent(containerEl) || containerEl);\n // Clear out the body element.\n var parent_1 = DOM.getTemplateContent(containerEl) || containerEl;\n for (var _i = 0, _a = DOM.childNodesAsList(parent_1); _i < _a.length; _i++) {\n var child = _a[_i];\n DOM.removeChild(parent_1, child);\n }\n if (_angular_core.isDevMode() && sanitizer.sanitizedSomething) {\n DOM.log('WARNING: sanitizing HTML stripped some content (see http://g.co/ng/security#xss).');\n }\n return safeHtml;\n }\n catch (e) {\n // In case anything goes wrong, clear out inertElement to reset the entire DOM structure.\n inertElement = null;\n throw e;\n }\n }\n\n /**\n * Regular expression for safe style values.\n *\n * Quotes (\" and ') are allowed, but a check must be done elsewhere to ensure they're balanced.\n *\n * ',' allows multiple values to be assigned to the same property (e.g. background-attachment or\n * font-family) and hence could allow multiple values to get injected, but that should pose no risk\n * of XSS.\n *\n * The function expression checks only for XSS safety, not for CSS validity.\n *\n * This regular expression was taken from the Closure sanitization library, and augmented for\n * transformation values.\n */\n var VALUES = '[-,.\"\\'%_!# a-zA-Z0-9]+';\n var TRANSFORMATION_FNS = '(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?';\n var COLOR_FNS = '(?:rgb|hsl)a?';\n var FN_ARGS = '\\\\([-0-9.%, a-zA-Z]+\\\\)';\n var SAFE_STYLE_VALUE = new RegExp(\"^(\" + VALUES + \"|(?:\" + TRANSFORMATION_FNS + \"|\" + COLOR_FNS + \")\" + FN_ARGS + \")$\", 'g');\n /**\n * Matches a `url(...)` value with an arbitrary argument as long as it does\n * not contain parentheses.\n *\n * The URL value still needs to be sanitized separately.\n *\n * `url(...)` values are a very common use case, e.g. for `background-image`. With carefully crafted\n * CSS style rules, it is possible to construct an information leak with `url` values in CSS, e.g.\n * by observing whether scroll bars are displayed, or character ranges used by a font face\n * definition.\n *\n * Angular only allows binding CSS values (as opposed to entire CSS rules), so it is unlikely that\n * binding a URL value without further cooperation from the page will cause an information leak, and\n * if so, it is just a leak, not a full blown XSS vulnerability.\n *\n * Given the common use case, low likelihood of attack vector, and low impact of an attack, this\n * code is permissive and allows URLs that sanitize otherwise.\n */\n var URL_RE = /^url\\(([^)]+)\\)$/;\n /**\n * Checks that quotes (\" and ') are properly balanced inside a string. Assumes\n * that neither escape (\\) nor any other character that could result in\n * breaking out of a string parsing context are allowed;\n * see http://www.w3.org/TR/css3-syntax/#string-token-diagram.\n *\n * This code was taken from the Closure sanitization library.\n */\n function hasBalancedQuotes(value) {\n var outsideSingle = true;\n var outsideDouble = true;\n for (var i = 0; i < value.length; i++) {\n var c = value.charAt(i);\n if (c === '\\'' && outsideDouble) {\n outsideSingle = !outsideSingle;\n }\n else if (c === '\"' && outsideSingle) {\n outsideDouble = !outsideDouble;\n }\n }\n return outsideSingle && outsideDouble;\n }\n /**\n * Sanitizes the given untrusted CSS style property value (i.e. not an entire object, just a single\n * value) and returns a value that is safe to use in a browser environment.\n */\n function sanitizeStyle(value) {\n value = String(value).trim(); // Make sure it's actually a string.\n if (!value)\n return '';\n // Single url(...) values are supported, but only for URLs that sanitize cleanly. See above for\n // reasoning behind this.\n var urlMatch = value.match(URL_RE);\n if ((urlMatch && sanitizeUrl(urlMatch[1]) === urlMatch[1]) ||\n value.match(SAFE_STYLE_VALUE) && hasBalancedQuotes(value)) {\n return value; // Safe style values.\n }\n if (_angular_core.isDevMode()) {\n getDOM().log(\"WARNING: sanitizing unsafe style value \" + value + \" (see http://g.co/ng/security#xss).\");\n }\n return 'unsafe';\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$8 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * DomSanitizer helps preventing Cross Site Scripting Security bugs (XSS) by sanitizing\n * values to be safe to use in the different DOM contexts.\n *\n * For example, when binding a URL in an `<a [href]=\"someValue\">` hyperlink, `someValue` will be\n * sanitized so that an attacker cannot inject e.g. a `javascript:` URL that would execute code on\n * the website.\n *\n * In specific situations, it might be necessary to disable sanitization, for example if the\n * application genuinely needs to produce a `javascript:` style link with a dynamic value in it.\n * Users can bypass security by constructing a value with one of the `bypassSecurityTrust...`\n * methods, and then binding to that value from the template.\n *\n * These situations should be very rare, and extraordinary care must be taken to avoid creating a\n * Cross Site Scripting (XSS) security bug!\n *\n * When using `bypassSecurityTrust...`, make sure to call the method as early as possible and as\n * close as possible to the source of the value, to make it easy to verify no security bug is\n * created by its use.\n *\n * It is not required (and not recommended) to bypass security if the value is safe, e.g. a URL that\n * does not start with a suspicious protocol, or an HTML snippet that does not contain dangerous\n * code. The sanitizer leaves safe values intact.\n *\n * @security Calling any of the `bypassSecurityTrust...` APIs disables Angular's built-in\n * sanitization for the value passed in. Carefully check and audit all values and code paths going\n * into this call. Make sure any user data is appropriately escaped for this security context.\n * For more detail, see the [Security Guide](http://g.co/ng/security).\n *\n * @stable\n */\n var DomSanitizer = (function () {\n function DomSanitizer() {\n }\n return DomSanitizer;\n }());\n var DomSanitizerImpl = (function (_super) {\n __extends$8(DomSanitizerImpl, _super);\n function DomSanitizerImpl() {\n _super.apply(this, arguments);\n }\n DomSanitizerImpl.prototype.sanitize = function (ctx, value) {\n if (value == null)\n return null;\n switch (ctx) {\n case _angular_core.SecurityContext.NONE:\n return value;\n case _angular_core.SecurityContext.HTML:\n if (value instanceof SafeHtmlImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'HTML');\n return sanitizeHtml(String(value));\n case _angular_core.SecurityContext.STYLE:\n if (value instanceof SafeStyleImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'Style');\n return sanitizeStyle(value);\n case _angular_core.SecurityContext.SCRIPT:\n if (value instanceof SafeScriptImpl)\n return value.changingThisBreaksApplicationSecurity;\n this.checkNotSafeValue(value, 'Script');\n throw new Error('unsafe value used in a script context');\n case _angular_core.SecurityContext.URL:\n if (value instanceof SafeResourceUrlImpl || value instanceof SafeUrlImpl) {\n // Allow resource URLs in URL contexts, they are strictly more trusted.\n return value.changingThisBreaksApplicationSecurity;\n }\n this.checkNotSafeValue(value, 'URL');\n return sanitizeUrl(String(value));\n case _angular_core.SecurityContext.RESOURCE_URL:\n if (value instanceof SafeResourceUrlImpl) {\n return value.changingThisBreaksApplicationSecurity;\n }\n this.checkNotSafeValue(value, 'ResourceURL');\n throw new Error('unsafe value used in a resource URL context (see http://g.co/ng/security#xss)');\n default:\n throw new Error(\"Unexpected SecurityContext \" + ctx + \" (see http://g.co/ng/security#xss)\");\n }\n };\n DomSanitizerImpl.prototype.checkNotSafeValue = function (value, expectedType) {\n if (value instanceof SafeValueImpl) {\n throw new Error((\"Required a safe \" + expectedType + \", got a \" + value.getTypeName() + \" \") +\n \"(see http://g.co/ng/security#xss)\");\n }\n };\n DomSanitizerImpl.prototype.bypassSecurityTrustHtml = function (value) { return new SafeHtmlImpl(value); };\n DomSanitizerImpl.prototype.bypassSecurityTrustStyle = function (value) { return new SafeStyleImpl(value); };\n DomSanitizerImpl.prototype.bypassSecurityTrustScript = function (value) { return new SafeScriptImpl(value); };\n DomSanitizerImpl.prototype.bypassSecurityTrustUrl = function (value) { return new SafeUrlImpl(value); };\n DomSanitizerImpl.prototype.bypassSecurityTrustResourceUrl = function (value) {\n return new SafeResourceUrlImpl(value);\n };\n DomSanitizerImpl.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n DomSanitizerImpl.ctorParameters = [];\n return DomSanitizerImpl;\n }(DomSanitizer));\n var SafeValueImpl = (function () {\n function SafeValueImpl(changingThisBreaksApplicationSecurity) {\n this.changingThisBreaksApplicationSecurity = changingThisBreaksApplicationSecurity;\n // empty\n }\n SafeValueImpl.prototype.toString = function () {\n return (\"SafeValue must use [property]=binding: \" + this.changingThisBreaksApplicationSecurity) +\n \" (see http://g.co/ng/security#xss)\";\n };\n return SafeValueImpl;\n }());\n var SafeHtmlImpl = (function (_super) {\n __extends$8(SafeHtmlImpl, _super);\n function SafeHtmlImpl() {\n _super.apply(this, arguments);\n }\n SafeHtmlImpl.prototype.getTypeName = function () { return 'HTML'; };\n return SafeHtmlImpl;\n }(SafeValueImpl));\n var SafeStyleImpl = (function (_super) {\n __extends$8(SafeStyleImpl, _super);\n function SafeStyleImpl() {\n _super.apply(this, arguments);\n }\n SafeStyleImpl.prototype.getTypeName = function () { return 'Style'; };\n return SafeStyleImpl;\n }(SafeValueImpl));\n var SafeScriptImpl = (function (_super) {\n __extends$8(SafeScriptImpl, _super);\n function SafeScriptImpl() {\n _super.apply(this, arguments);\n }\n SafeScriptImpl.prototype.getTypeName = function () { return 'Script'; };\n return SafeScriptImpl;\n }(SafeValueImpl));\n var SafeUrlImpl = (function (_super) {\n __extends$8(SafeUrlImpl, _super);\n function SafeUrlImpl() {\n _super.apply(this, arguments);\n }\n SafeUrlImpl.prototype.getTypeName = function () { return 'URL'; };\n return SafeUrlImpl;\n }(SafeValueImpl));\n var SafeResourceUrlImpl = (function (_super) {\n __extends$8(SafeResourceUrlImpl, _super);\n function SafeResourceUrlImpl() {\n _super.apply(this, arguments);\n }\n SafeResourceUrlImpl.prototype.getTypeName = function () { return 'ResourceURL'; };\n return SafeResourceUrlImpl;\n }(SafeValueImpl));\n\n var INTERNAL_BROWSER_PLATFORM_PROVIDERS = [\n { provide: _angular_core.PLATFORM_INITIALIZER, useValue: initDomAdapter, multi: true },\n { provide: _angular_common.PlatformLocation, useClass: BrowserPlatformLocation }\n ];\n /**\n * @security Replacing built-in sanitization providers exposes the application to XSS risks.\n * Attacker-controlled data introduced by an unsanitized provider could expose your\n * application to XSS risks. For more detail, see the [Security Guide](http://g.co/ng/security).\n * @experimental\n */\n var BROWSER_SANITIZATION_PROVIDERS = [\n { provide: _angular_core.Sanitizer, useExisting: DomSanitizer },\n { provide: DomSanitizer, useClass: DomSanitizerImpl },\n ];\n /**\n * @stable\n */\n var platformBrowser = _angular_core.createPlatformFactory(_angular_core.platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);\n function initDomAdapter() {\n BrowserDomAdapter.makeCurrent();\n BrowserGetTestability.init();\n }\n function errorHandler() {\n return new _angular_core.ErrorHandler();\n }\n function _document() {\n return getDOM().defaultDoc();\n }\n function _resolveDefaultAnimationDriver() {\n if (getDOM().supportsWebAnimation()) {\n return new WebAnimationsDriver();\n }\n return AnimationDriver.NOOP;\n }\n /**\n * The ng module for the browser.\n *\n * @stable\n */\n var BrowserModule = (function () {\n function BrowserModule(parentModule) {\n if (parentModule) {\n 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.\");\n }\n }\n BrowserModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n providers: [\n BROWSER_SANITIZATION_PROVIDERS, { provide: _angular_core.ErrorHandler, useFactory: errorHandler, deps: [] },\n { provide: DOCUMENT, useFactory: _document, deps: [] },\n { provide: EVENT_MANAGER_PLUGINS, useClass: DomEventsPlugin, multi: true },\n { provide: EVENT_MANAGER_PLUGINS, useClass: KeyEventsPlugin, multi: true },\n { provide: EVENT_MANAGER_PLUGINS, useClass: HammerGesturesPlugin, multi: true },\n { provide: HAMMER_GESTURE_CONFIG, useClass: HammerGestureConfig },\n { provide: DomRootRenderer, useClass: DomRootRenderer_ },\n { provide: _angular_core.RootRenderer, useExisting: DomRootRenderer },\n { provide: SharedStylesHost, useExisting: DomSharedStylesHost },\n { provide: AnimationDriver, useFactory: _resolveDefaultAnimationDriver }, DomSharedStylesHost,\n _angular_core.Testability, EventManager, ELEMENT_PROBE_PROVIDERS, Title\n ],\n exports: [_angular_common.CommonModule, _angular_core.ApplicationModule]\n },] },\n ];\n /** @nocollapse */\n BrowserModule.ctorParameters = [\n { type: BrowserModule, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.SkipSelf },] },\n ];\n return BrowserModule;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * JS version of browser APIs. This library can only run in the browser.\n */\n var win = typeof window !== 'undefined' && window || {};\n\n var ChangeDetectionPerfRecord = (function () {\n function ChangeDetectionPerfRecord(msPerTick, numTicks) {\n this.msPerTick = msPerTick;\n this.numTicks = numTicks;\n }\n return ChangeDetectionPerfRecord;\n }());\n /**\n * Entry point for all Angular debug tools. This object corresponds to the `ng`\n * global variable accessible in the dev console.\n */\n var AngularTools = (function () {\n function AngularTools(ref) {\n this.profiler = new AngularProfiler(ref);\n }\n return AngularTools;\n }());\n /**\n * Entry point for all Angular profiling-related debug tools. This object\n * corresponds to the `ng.profiler` in the dev console.\n */\n var AngularProfiler = (function () {\n function AngularProfiler(ref) {\n this.appRef = ref.injector.get(_angular_core.ApplicationRef);\n }\n /**\n * Exercises change detection in a loop and then prints the average amount of\n * time in milliseconds how long a single round of change detection takes for\n * the current state of the UI. It runs a minimum of 5 rounds for a minimum\n * of 500 milliseconds.\n *\n * Optionally, a user may pass a `config` parameter containing a map of\n * options. Supported options are:\n *\n * `record` (boolean) - causes the profiler to record a CPU profile while\n * it exercises the change detector. Example:\n *\n * ```\n * ng.profiler.timeChangeDetection({record: true})\n * ```\n */\n AngularProfiler.prototype.timeChangeDetection = function (config) {\n var record = config && config['record'];\n var profileName = 'Change Detection';\n // Profiler is not available in Android browsers, nor in IE 9 without dev tools opened\n var isProfilerAvailable = isPresent(win.console.profile);\n if (record && isProfilerAvailable) {\n win.console.profile(profileName);\n }\n var start = getDOM().performanceNow();\n var numTicks = 0;\n while (numTicks < 5 || (getDOM().performanceNow() - start) < 500) {\n this.appRef.tick();\n numTicks++;\n }\n var end = getDOM().performanceNow();\n if (record && isProfilerAvailable) {\n // need to cast to <any> because type checker thinks there's no argument\n // while in fact there is:\n //\n // https://developer.mozilla.org/en-US/docs/Web/API/Console/profileEnd\n win.console.profileEnd(profileName);\n }\n var msPerTick = (end - start) / numTicks;\n win.console.log(\"ran \" + numTicks + \" change detection cycles\");\n win.console.log(msPerTick.toFixed(2) + \" ms per check\");\n return new ChangeDetectionPerfRecord(msPerTick, numTicks);\n };\n return AngularProfiler;\n }());\n\n var context = global$1;\n /**\n * Enabled Angular 2 debug tools that are accessible via your browser's\n * developer console.\n *\n * Usage:\n *\n * 1. Open developer console (e.g. in Chrome Ctrl + Shift + j)\n * 1. Type `ng.` (usually the console will show auto-complete suggestion)\n * 1. Try the change detection profiler `ng.profiler.timeChangeDetection()`\n * then hit Enter.\n *\n * @experimental All debugging apis are currently experimental.\n */\n function enableDebugTools(ref) {\n Object.assign(context.ng, new AngularTools(ref));\n return ref;\n }\n /**\n * Disables Angular 2 tools.\n *\n * @experimental All debugging apis are currently experimental.\n */\n function disableDebugTools() {\n if (context.ng) {\n delete context.ng.profiler;\n }\n }\n\n /**\n * Predicates for use with {@link DebugElement}'s query functions.\n *\n * @experimental All debugging apis are currently experimental.\n */\n var By = (function () {\n function By() {\n }\n /**\n * Match all elements.\n *\n * ## Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_all'}\n */\n By.all = function () { return function (debugElement) { return true; }; };\n /**\n * Match elements by the given CSS selector.\n *\n * ## Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_css'}\n */\n By.css = function (selector) {\n return function (debugElement) {\n return isPresent(debugElement.nativeElement) ?\n getDOM().elementMatches(debugElement.nativeElement, selector) :\n false;\n };\n };\n /**\n * Match elements that have the given directive present.\n *\n * ## Example\n *\n * {@example platform-browser/dom/debug/ts/by/by.ts region='by_directive'}\n */\n By.directive = function (type) {\n return function (debugElement) { return debugElement.providerTokens.indexOf(type) !== -1; };\n };\n return By;\n }());\n\n var __platform_browser_private__ = {\n BrowserPlatformLocation: BrowserPlatformLocation,\n DomAdapter: DomAdapter,\n BrowserDomAdapter: BrowserDomAdapter,\n BrowserGetTestability: BrowserGetTestability,\n getDOM: getDOM,\n setRootDomAdapter: setRootDomAdapter,\n DomRootRenderer_: DomRootRenderer_,\n DomRootRenderer: DomRootRenderer,\n NAMESPACE_URIS: NAMESPACE_URIS,\n shimContentAttribute: shimContentAttribute,\n shimHostAttribute: shimHostAttribute,\n flattenStyles: flattenStyles,\n splitNamespace: splitNamespace,\n isNamespaced: isNamespaced,\n DomSharedStylesHost: DomSharedStylesHost,\n SharedStylesHost: SharedStylesHost,\n ELEMENT_PROBE_PROVIDERS: ELEMENT_PROBE_PROVIDERS,\n DomEventsPlugin: DomEventsPlugin,\n KeyEventsPlugin: KeyEventsPlugin,\n HammerGesturesPlugin: HammerGesturesPlugin,\n initDomAdapter: initDomAdapter,\n INTERNAL_BROWSER_PLATFORM_PROVIDERS: INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n BROWSER_SANITIZATION_PROVIDERS: BROWSER_SANITIZATION_PROVIDERS,\n WebAnimationsDriver: WebAnimationsDriver\n };\n\n exports.BrowserModule = BrowserModule;\n exports.platformBrowser = platformBrowser;\n exports.Title = Title;\n exports.disableDebugTools = disableDebugTools;\n exports.enableDebugTools = enableDebugTools;\n exports.AnimationDriver = AnimationDriver;\n exports.By = By;\n exports.NgProbeToken = NgProbeToken;\n exports.DOCUMENT = DOCUMENT;\n exports.EVENT_MANAGER_PLUGINS = EVENT_MANAGER_PLUGINS;\n exports.EventManager = EventManager;\n exports.HAMMER_GESTURE_CONFIG = HAMMER_GESTURE_CONFIG;\n exports.HammerGestureConfig = HammerGestureConfig;\n exports.DomSanitizer = DomSanitizer;\n exports.__platform_browser_private__ = __platform_browser_private__;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/platform-browser/bundles/platform-browser.umd.js\n// module id = 281\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/core'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.common = global.ng.common || {}),global.ng.core));\n}(this, function (exports,_angular_core) { 'use strict';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * This class should not be used directly by an application developer. Instead, use\n * {@link Location}.\n *\n * `PlatformLocation` encapsulates all calls to DOM apis, which allows the Router to be platform\n * agnostic.\n * This means that we can have different implementation of `PlatformLocation` for the different\n * platforms\n * that angular supports. For example, the default `PlatformLocation` is {@link\n * BrowserPlatformLocation},\n * however when you run your app in a WebWorker you use {@link WebWorkerPlatformLocation}.\n *\n * The `PlatformLocation` class is used directly by all implementations of {@link LocationStrategy}\n * when\n * they need to interact with the DOM apis like pushState, popState, etc...\n *\n * {@link LocationStrategy} in turn is used by the {@link Location} service which is used directly\n * by\n * the {@link Router} in order to navigate between routes. Since all interactions between {@link\n * Router} /\n * {@link Location} / {@link LocationStrategy} and DOM apis flow through the `PlatformLocation`\n * class\n * they are all platform independent.\n *\n * @stable\n */\n var PlatformLocation = (function () {\n function PlatformLocation() {\n }\n Object.defineProperty(PlatformLocation.prototype, \"pathname\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformLocation.prototype, \"search\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PlatformLocation.prototype, \"hash\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n return PlatformLocation;\n }());\n\n /**\n * `LocationStrategy` is responsible for representing and reading route state\n * from the browser's URL. Angular provides two strategies:\n * {@link HashLocationStrategy} and {@link PathLocationStrategy} (default).\n *\n * This is used under the hood of the {@link Location} service.\n *\n * Applications should use the {@link Router} or {@link Location} services to\n * interact with application route state.\n *\n * For instance, {@link HashLocationStrategy} produces URLs like\n * `http://example.com#/foo`, and {@link PathLocationStrategy} produces\n * `http://example.com/foo` as an equivalent URL.\n *\n * See these two classes for more.\n *\n * @stable\n */\n var LocationStrategy = (function () {\n function LocationStrategy() {\n }\n return LocationStrategy;\n }());\n /**\n * The `APP_BASE_HREF` token represents the base href to be used with the\n * {@link PathLocationStrategy}.\n *\n * If you're using {@link PathLocationStrategy}, you must provide a provider to a string\n * representing the URL prefix that should be preserved when generating and recognizing\n * URLs.\n *\n * ### Example\n *\n * ```typescript\n * import {Component, NgModule} from '@angular/core';\n * import {APP_BASE_HREF} from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: APP_BASE_HREF, useValue: '/my/app'}]\n * })\n * class AppModule {}\n * ```\n *\n * @stable\n */\n var APP_BASE_HREF = new _angular_core.OpaqueToken('appBaseHref');\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var globalScope;\n if (typeof window === 'undefined') {\n if (typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope) {\n // TODO: Replace any with WorkerGlobalScope from lib.webworker.d.ts #3492\n globalScope = self;\n }\n else {\n globalScope = global;\n }\n }\n else {\n globalScope = window;\n }\n // Need to declare a new variable for global here since TypeScript\n // exports the original value of the symbol.\n var _global = globalScope;\n function getTypeNameForDebugging(type) {\n return type['name'] || typeof type;\n }\n // TODO: remove calls to assert in production environment\n // Note: Can't just export this and import in in other files\n // as `assert` is a reserved keyword in Dart\n _global.assert = function assert(condition) {\n // TODO: to be fixed properly via #2830, noop for now\n };\n function isPresent(obj) {\n return obj != null;\n }\n function isBlank(obj) {\n return obj == null;\n }\n function isDate(obj) {\n return obj instanceof Date && !isNaN(obj.valueOf());\n }\n function stringify(token) {\n if (typeof token === 'string') {\n return token;\n }\n if (token == null) {\n return '' + token;\n }\n if (token.overriddenName) {\n return token.overriddenName;\n }\n if (token.name) {\n return token.name;\n }\n var res = token.toString();\n var newLineIndex = res.indexOf('\\n');\n return newLineIndex === -1 ? res : res.substring(0, newLineIndex);\n }\n var NumberWrapper = (function () {\n function NumberWrapper() {\n }\n NumberWrapper.parseIntAutoRadix = function (text) {\n var result = parseInt(text);\n if (isNaN(result)) {\n throw new Error('Invalid integer literal when parsing ' + text);\n }\n return result;\n };\n NumberWrapper.isNumeric = function (value) { return !isNaN(value - parseFloat(value)); };\n return NumberWrapper;\n }());\n function isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n }\n var _symbolIterator = null;\n function getSymbolIterator() {\n if (!_symbolIterator) {\n if (globalScope.Symbol && Symbol.iterator) {\n _symbolIterator = Symbol.iterator;\n }\n else {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' &&\n Map.prototype[key] === Map.prototype['entries']) {\n _symbolIterator = key;\n }\n }\n }\n }\n return _symbolIterator;\n }\n\n /**\n * `Location` is a service that applications can use to interact with a browser's URL.\n * Depending on which {@link LocationStrategy} is used, `Location` will either persist\n * to the URL's path or the URL's hash segment.\n *\n * Note: it's better to use {@link Router#navigate} service to trigger route changes. Use\n * `Location` only if you need to interact with or create normalized URLs outside of\n * routing.\n *\n * `Location` is responsible for normalizing the URL against the application's base href.\n * A normalized URL is absolute from the URL host, includes the application's base href, and has no\n * trailing slash:\n * - `/my/app/user/123` is normalized\n * - `my/app/user/123` **is not** normalized\n * - `/my/app/user/123/` **is not** normalized\n *\n * ### Example\n *\n * ```\n * import {Component} from '@angular/core';\n * import {Location} from '@angular/common';\n *\n * @Component({selector: 'app-component'})\n * class AppCmp {\n * constructor(location: Location) {\n * location.go('/foo');\n * }\n * }\n * ```\n *\n * @stable\n */\n var Location = (function () {\n function Location(platformStrategy) {\n var _this = this;\n /** @internal */\n this._subject = new _angular_core.EventEmitter();\n this._platformStrategy = platformStrategy;\n var browserBaseHref = this._platformStrategy.getBaseHref();\n this._baseHref = Location.stripTrailingSlash(_stripIndexHtml(browserBaseHref));\n this._platformStrategy.onPopState(function (ev) {\n _this._subject.emit({\n 'url': _this.path(true),\n 'pop': true,\n 'type': ev.type,\n });\n });\n }\n /**\n * Returns the normalized URL path.\n */\n // TODO: vsavkin. Remove the boolean flag and always include hash once the deprecated router is\n // removed.\n Location.prototype.path = function (includeHash) {\n if (includeHash === void 0) { includeHash = false; }\n return this.normalize(this._platformStrategy.path(includeHash));\n };\n /**\n * Normalizes the given path and compares to the current normalized path.\n */\n Location.prototype.isCurrentPathEqualTo = function (path, query) {\n if (query === void 0) { query = ''; }\n return this.path() == this.normalize(path + Location.normalizeQueryParams(query));\n };\n /**\n * Given a string representing a URL, returns the normalized URL path without leading or\n * trailing slashes.\n */\n Location.prototype.normalize = function (url) {\n return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));\n };\n /**\n * Given a string representing a URL, returns the platform-specific external URL path.\n * If the given URL doesn't begin with a leading slash (`'/'`), this method adds one\n * before normalizing. This method will also add a hash if `HashLocationStrategy` is\n * used, or the `APP_BASE_HREF` if the `PathLocationStrategy` is in use.\n */\n Location.prototype.prepareExternalUrl = function (url) {\n if (url.length > 0 && !url.startsWith('/')) {\n url = '/' + url;\n }\n return this._platformStrategy.prepareExternalUrl(url);\n };\n // TODO: rename this method to pushState\n /**\n * Changes the browsers URL to the normalized version of the given URL, and pushes a\n * new item onto the platform's history.\n */\n Location.prototype.go = function (path, query) {\n if (query === void 0) { query = ''; }\n this._platformStrategy.pushState(null, '', path, query);\n };\n /**\n * Changes the browsers URL to the normalized version of the given URL, and replaces\n * the top item on the platform's history stack.\n */\n Location.prototype.replaceState = function (path, query) {\n if (query === void 0) { query = ''; }\n this._platformStrategy.replaceState(null, '', path, query);\n };\n /**\n * Navigates forward in the platform's history.\n */\n Location.prototype.forward = function () { this._platformStrategy.forward(); };\n /**\n * Navigates back in the platform's history.\n */\n Location.prototype.back = function () { this._platformStrategy.back(); };\n /**\n * Subscribe to the platform's `popState` events.\n */\n Location.prototype.subscribe = function (onNext, onThrow, onReturn) {\n if (onThrow === void 0) { onThrow = null; }\n if (onReturn === void 0) { onReturn = null; }\n return this._subject.subscribe({ next: onNext, error: onThrow, complete: onReturn });\n };\n /**\n * Given a string of url parameters, prepend with '?' if needed, otherwise return parameters as\n * is.\n */\n Location.normalizeQueryParams = function (params) {\n return (params.length > 0 && params.substring(0, 1) != '?') ? ('?' + params) : params;\n };\n /**\n * Given 2 parts of a url, join them with a slash if needed.\n */\n Location.joinWithSlash = function (start, end) {\n if (start.length == 0) {\n return end;\n }\n if (end.length == 0) {\n return start;\n }\n var slashes = 0;\n if (start.endsWith('/')) {\n slashes++;\n }\n if (end.startsWith('/')) {\n slashes++;\n }\n if (slashes == 2) {\n return start + end.substring(1);\n }\n if (slashes == 1) {\n return start + end;\n }\n return start + '/' + end;\n };\n /**\n * If url has a trailing slash, remove it, otherwise return url as is.\n */\n Location.stripTrailingSlash = function (url) {\n if (/\\/$/g.test(url)) {\n url = url.substring(0, url.length - 1);\n }\n return url;\n };\n Location.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n Location.ctorParameters = [\n { type: LocationStrategy, },\n ];\n return Location;\n }());\n function _stripBaseHref(baseHref, url) {\n if (baseHref.length > 0 && url.startsWith(baseHref)) {\n return url.substring(baseHref.length);\n }\n return url;\n }\n function _stripIndexHtml(url) {\n if (/\\/index.html$/g.test(url)) {\n // '/index.html'.length == 11\n return url.substring(0, url.length - 11);\n }\n return url;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * `HashLocationStrategy` is a {@link LocationStrategy} used to configure the\n * {@link Location} service to represent its state in the\n * [hash fragment](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax)\n * of the browser's URL.\n *\n * For instance, if you call `location.go('/foo')`, the browser's URL will become\n * `example.com#/foo`.\n *\n * ### Example\n *\n * ```\n * import {Component, NgModule} from '@angular/core';\n * import {\n * LocationStrategy,\n * HashLocationStrategy\n * } from '@angular/common';\n *\n * @NgModule({\n * providers: [{provide: LocationStrategy, useClass: HashLocationStrategy}]\n * })\n * class AppModule {}\n * ```\n *\n * @stable\n */\n var HashLocationStrategy = (function (_super) {\n __extends(HashLocationStrategy, _super);\n function HashLocationStrategy(_platformLocation, _baseHref) {\n _super.call(this);\n this._platformLocation = _platformLocation;\n this._baseHref = '';\n if (isPresent(_baseHref)) {\n this._baseHref = _baseHref;\n }\n }\n HashLocationStrategy.prototype.onPopState = function (fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n };\n HashLocationStrategy.prototype.getBaseHref = function () { return this._baseHref; };\n HashLocationStrategy.prototype.path = function (includeHash) {\n if (includeHash === void 0) { includeHash = false; }\n // the hash value is always prefixed with a `#`\n // and if it is empty then it will stay empty\n var path = this._platformLocation.hash;\n if (!isPresent(path))\n path = '#';\n return path.length > 0 ? path.substring(1) : path;\n };\n HashLocationStrategy.prototype.prepareExternalUrl = function (internal) {\n var url = Location.joinWithSlash(this._baseHref, internal);\n return url.length > 0 ? ('#' + url) : url;\n };\n HashLocationStrategy.prototype.pushState = function (state, title, path, queryParams) {\n var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.pushState(state, title, url);\n };\n HashLocationStrategy.prototype.replaceState = function (state, title, path, queryParams) {\n var url = this.prepareExternalUrl(path + Location.normalizeQueryParams(queryParams));\n if (url.length == 0) {\n url = this._platformLocation.pathname;\n }\n this._platformLocation.replaceState(state, title, url);\n };\n HashLocationStrategy.prototype.forward = function () { this._platformLocation.forward(); };\n HashLocationStrategy.prototype.back = function () { this._platformLocation.back(); };\n HashLocationStrategy.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n HashLocationStrategy.ctorParameters = [\n { type: PlatformLocation, },\n { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [APP_BASE_HREF,] },] },\n ];\n return HashLocationStrategy;\n }(LocationStrategy));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * `PathLocationStrategy` is a {@link LocationStrategy} used to configure the\n * {@link Location} service to represent its state in the\n * [path](https://en.wikipedia.org/wiki/Uniform_Resource_Locator#Syntax) of the\n * browser's URL.\n *\n * `PathLocationStrategy` is the default binding for {@link LocationStrategy}\n * provided in {@link ROUTER_PROVIDERS}.\n *\n * If you're using `PathLocationStrategy`, you must provide a {@link APP_BASE_HREF}\n * or add a base element to the document. This URL prefix that will be preserved\n * when generating and recognizing URLs.\n *\n * For instance, if you provide an `APP_BASE_HREF` of `'/my/app'` and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * Similarly, if you add `<base href='/my/app'/>` to the document and call\n * `location.go('/foo')`, the browser's URL will become\n * `example.com/my/app/foo`.\n *\n * @stable\n */\n var PathLocationStrategy = (function (_super) {\n __extends$1(PathLocationStrategy, _super);\n function PathLocationStrategy(_platformLocation, href) {\n _super.call(this);\n this._platformLocation = _platformLocation;\n if (isBlank(href)) {\n href = this._platformLocation.getBaseHrefFromDOM();\n }\n if (isBlank(href)) {\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.\");\n }\n this._baseHref = href;\n }\n PathLocationStrategy.prototype.onPopState = function (fn) {\n this._platformLocation.onPopState(fn);\n this._platformLocation.onHashChange(fn);\n };\n PathLocationStrategy.prototype.getBaseHref = function () { return this._baseHref; };\n PathLocationStrategy.prototype.prepareExternalUrl = function (internal) {\n return Location.joinWithSlash(this._baseHref, internal);\n };\n PathLocationStrategy.prototype.path = function (includeHash) {\n if (includeHash === void 0) { includeHash = false; }\n var pathname = this._platformLocation.pathname +\n Location.normalizeQueryParams(this._platformLocation.search);\n var hash = this._platformLocation.hash;\n return hash && includeHash ? \"\" + pathname + hash : pathname;\n };\n PathLocationStrategy.prototype.pushState = function (state, title, url, queryParams) {\n var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n this._platformLocation.pushState(state, title, externalUrl);\n };\n PathLocationStrategy.prototype.replaceState = function (state, title, url, queryParams) {\n var externalUrl = this.prepareExternalUrl(url + Location.normalizeQueryParams(queryParams));\n this._platformLocation.replaceState(state, title, externalUrl);\n };\n PathLocationStrategy.prototype.forward = function () { this._platformLocation.forward(); };\n PathLocationStrategy.prototype.back = function () { this._platformLocation.back(); };\n PathLocationStrategy.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n PathLocationStrategy.ctorParameters = [\n { type: PlatformLocation, },\n { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [APP_BASE_HREF,] },] },\n ];\n return PathLocationStrategy;\n }(LocationStrategy));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @experimental\n */\n var NgLocalization = (function () {\n function NgLocalization() {\n }\n return NgLocalization;\n }());\n /**\n * Returns the plural category for a given value.\n * - \"=value\" when the case exists,\n * - the plural category otherwise\n *\n * @internal\n */\n function getPluralCategory(value, cases, ngLocalization) {\n var nbCase = \"=\" + value;\n return cases.indexOf(nbCase) > -1 ? nbCase : ngLocalization.getPluralCategory(value);\n }\n /**\n * Returns the plural case based on the locale\n *\n * @experimental\n */\n var NgLocaleLocalization = (function (_super) {\n __extends$2(NgLocaleLocalization, _super);\n function NgLocaleLocalization(_locale) {\n _super.call(this);\n this._locale = _locale;\n }\n NgLocaleLocalization.prototype.getPluralCategory = function (value) {\n var plural = getPluralCase(this._locale, value);\n switch (plural) {\n case Plural.Zero:\n return 'zero';\n case Plural.One:\n return 'one';\n case Plural.Two:\n return 'two';\n case Plural.Few:\n return 'few';\n case Plural.Many:\n return 'many';\n default:\n return 'other';\n }\n };\n NgLocaleLocalization.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n NgLocaleLocalization.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n ];\n return NgLocaleLocalization;\n }(NgLocalization));\n // This is generated code DO NOT MODIFY\n // see angular2/script/cldr/gen_plural_rules.js\n /** @experimental */\n var Plural;\n (function (Plural) {\n Plural[Plural[\"Zero\"] = 0] = \"Zero\";\n Plural[Plural[\"One\"] = 1] = \"One\";\n Plural[Plural[\"Two\"] = 2] = \"Two\";\n Plural[Plural[\"Few\"] = 3] = \"Few\";\n Plural[Plural[\"Many\"] = 4] = \"Many\";\n Plural[Plural[\"Other\"] = 5] = \"Other\";\n })(Plural || (Plural = {}));\n /**\n * Returns the plural case based on the locale\n *\n * @experimental\n */\n function getPluralCase(locale, nLike) {\n // TODO(vicb): lazy compute\n if (typeof nLike === 'string') {\n nLike = parseInt(nLike, 10);\n }\n var n = nLike;\n var nDecimal = n.toString().replace(/^[^.]*\\.?/, '');\n var i = Math.floor(Math.abs(n));\n var v = nDecimal.length;\n var f = parseInt(nDecimal, 10);\n var t = parseInt(n.toString().replace(/^[^.]*\\.?|0+$/g, ''), 10) || 0;\n var lang = locale.split('-')[0].toLowerCase();\n switch (lang) {\n case 'af':\n case 'asa':\n case 'az':\n case 'bem':\n case 'bez':\n case 'bg':\n case 'brx':\n case 'ce':\n case 'cgg':\n case 'chr':\n case 'ckb':\n case 'ee':\n case 'el':\n case 'eo':\n case 'es':\n case 'eu':\n case 'fo':\n case 'fur':\n case 'gsw':\n case 'ha':\n case 'haw':\n case 'hu':\n case 'jgo':\n case 'jmc':\n case 'ka':\n case 'kk':\n case 'kkj':\n case 'kl':\n case 'ks':\n case 'ksb':\n case 'ky':\n case 'lb':\n case 'lg':\n case 'mas':\n case 'mgo':\n case 'ml':\n case 'mn':\n case 'nb':\n case 'nd':\n case 'ne':\n case 'nn':\n case 'nnh':\n case 'nyn':\n case 'om':\n case 'or':\n case 'os':\n case 'ps':\n case 'rm':\n case 'rof':\n case 'rwk':\n case 'saq':\n case 'seh':\n case 'sn':\n case 'so':\n case 'sq':\n case 'ta':\n case 'te':\n case 'teo':\n case 'tk':\n case 'tr':\n case 'ug':\n case 'uz':\n case 'vo':\n case 'vun':\n case 'wae':\n case 'xog':\n if (n === 1)\n return Plural.One;\n return Plural.Other;\n case 'agq':\n case 'bas':\n case 'cu':\n case 'dav':\n case 'dje':\n case 'dua':\n case 'dyo':\n case 'ebu':\n case 'ewo':\n case 'guz':\n case 'kam':\n case 'khq':\n case 'ki':\n case 'kln':\n case 'kok':\n case 'ksf':\n case 'lrc':\n case 'lu':\n case 'luo':\n case 'luy':\n case 'mer':\n case 'mfe':\n case 'mgh':\n case 'mua':\n case 'mzn':\n case 'nmg':\n case 'nus':\n case 'qu':\n case 'rn':\n case 'rw':\n case 'sbp':\n case 'twq':\n case 'vai':\n case 'yav':\n case 'yue':\n case 'zgh':\n case 'ak':\n case 'ln':\n case 'mg':\n case 'pa':\n case 'ti':\n if (n === Math.floor(n) && n >= 0 && n <= 1)\n return Plural.One;\n return Plural.Other;\n case 'am':\n case 'as':\n case 'bn':\n case 'fa':\n case 'gu':\n case 'hi':\n case 'kn':\n case 'mr':\n case 'zu':\n if (i === 0 || n === 1)\n return Plural.One;\n return Plural.Other;\n case 'ar':\n if (n === 0)\n return Plural.Zero;\n if (n === 1)\n return Plural.One;\n if (n === 2)\n return Plural.Two;\n if (n % 100 === Math.floor(n % 100) && n % 100 >= 3 && n % 100 <= 10)\n return Plural.Few;\n if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 99)\n return Plural.Many;\n return Plural.Other;\n case 'ast':\n case 'ca':\n case 'de':\n case 'en':\n case 'et':\n case 'fi':\n case 'fy':\n case 'gl':\n case 'it':\n case 'nl':\n case 'sv':\n case 'sw':\n case 'ur':\n case 'yi':\n if (i === 1 && v === 0)\n return Plural.One;\n return Plural.Other;\n case 'be':\n if (n % 10 === 1 && !(n % 100 === 11))\n return Plural.One;\n if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 4 &&\n !(n % 100 >= 12 && n % 100 <= 14))\n return Plural.Few;\n if (n % 10 === 0 || n % 10 === Math.floor(n % 10) && n % 10 >= 5 && n % 10 <= 9 ||\n n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 14)\n return Plural.Many;\n return Plural.Other;\n case 'br':\n if (n % 10 === 1 && !(n % 100 === 11 || n % 100 === 71 || n % 100 === 91))\n return Plural.One;\n if (n % 10 === 2 && !(n % 100 === 12 || n % 100 === 72 || n % 100 === 92))\n return Plural.Two;\n if (n % 10 === Math.floor(n % 10) && (n % 10 >= 3 && n % 10 <= 4 || n % 10 === 9) &&\n !(n % 100 >= 10 && n % 100 <= 19 || n % 100 >= 70 && n % 100 <= 79 ||\n n % 100 >= 90 && n % 100 <= 99))\n return Plural.Few;\n if (!(n === 0) && n % 1e6 === 0)\n return Plural.Many;\n return Plural.Other;\n case 'bs':\n case 'hr':\n case 'sr':\n if (v === 0 && i % 10 === 1 && !(i % 100 === 11) || f % 10 === 1 && !(f % 100 === 11))\n return Plural.One;\n if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n !(i % 100 >= 12 && i % 100 <= 14) ||\n f % 10 === Math.floor(f % 10) && f % 10 >= 2 && f % 10 <= 4 &&\n !(f % 100 >= 12 && f % 100 <= 14))\n return Plural.Few;\n return Plural.Other;\n case 'cs':\n case 'sk':\n if (i === 1 && v === 0)\n return Plural.One;\n if (i === Math.floor(i) && i >= 2 && i <= 4 && v === 0)\n return Plural.Few;\n if (!(v === 0))\n return Plural.Many;\n return Plural.Other;\n case 'cy':\n if (n === 0)\n return Plural.Zero;\n if (n === 1)\n return Plural.One;\n if (n === 2)\n return Plural.Two;\n if (n === 3)\n return Plural.Few;\n if (n === 6)\n return Plural.Many;\n return Plural.Other;\n case 'da':\n if (n === 1 || !(t === 0) && (i === 0 || i === 1))\n return Plural.One;\n return Plural.Other;\n case 'dsb':\n case 'hsb':\n if (v === 0 && i % 100 === 1 || f % 100 === 1)\n return Plural.One;\n if (v === 0 && i % 100 === 2 || f % 100 === 2)\n return Plural.Two;\n if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 ||\n f % 100 === Math.floor(f % 100) && f % 100 >= 3 && f % 100 <= 4)\n return Plural.Few;\n return Plural.Other;\n case 'ff':\n case 'fr':\n case 'hy':\n case 'kab':\n if (i === 0 || i === 1)\n return Plural.One;\n return Plural.Other;\n case 'fil':\n if (v === 0 && (i === 1 || i === 2 || i === 3) ||\n v === 0 && !(i % 10 === 4 || i % 10 === 6 || i % 10 === 9) ||\n !(v === 0) && !(f % 10 === 4 || f % 10 === 6 || f % 10 === 9))\n return Plural.One;\n return Plural.Other;\n case 'ga':\n if (n === 1)\n return Plural.One;\n if (n === 2)\n return Plural.Two;\n if (n === Math.floor(n) && n >= 3 && n <= 6)\n return Plural.Few;\n if (n === Math.floor(n) && n >= 7 && n <= 10)\n return Plural.Many;\n return Plural.Other;\n case 'gd':\n if (n === 1 || n === 11)\n return Plural.One;\n if (n === 2 || n === 12)\n return Plural.Two;\n if (n === Math.floor(n) && (n >= 3 && n <= 10 || n >= 13 && n <= 19))\n return Plural.Few;\n return Plural.Other;\n case 'gv':\n if (v === 0 && i % 10 === 1)\n return Plural.One;\n if (v === 0 && i % 10 === 2)\n return Plural.Two;\n if (v === 0 &&\n (i % 100 === 0 || i % 100 === 20 || i % 100 === 40 || i % 100 === 60 || i % 100 === 80))\n return Plural.Few;\n if (!(v === 0))\n return Plural.Many;\n return Plural.Other;\n case 'he':\n if (i === 1 && v === 0)\n return Plural.One;\n if (i === 2 && v === 0)\n return Plural.Two;\n if (v === 0 && !(n >= 0 && n <= 10) && n % 10 === 0)\n return Plural.Many;\n return Plural.Other;\n case 'is':\n if (t === 0 && i % 10 === 1 && !(i % 100 === 11) || !(t === 0))\n return Plural.One;\n return Plural.Other;\n case 'ksh':\n if (n === 0)\n return Plural.Zero;\n if (n === 1)\n return Plural.One;\n return Plural.Other;\n case 'kw':\n case 'naq':\n case 'se':\n case 'smn':\n if (n === 1)\n return Plural.One;\n if (n === 2)\n return Plural.Two;\n return Plural.Other;\n case 'lag':\n if (n === 0)\n return Plural.Zero;\n if ((i === 0 || i === 1) && !(n === 0))\n return Plural.One;\n return Plural.Other;\n case 'lt':\n if (n % 10 === 1 && !(n % 100 >= 11 && n % 100 <= 19))\n return Plural.One;\n if (n % 10 === Math.floor(n % 10) && n % 10 >= 2 && n % 10 <= 9 &&\n !(n % 100 >= 11 && n % 100 <= 19))\n return Plural.Few;\n if (!(f === 0))\n return Plural.Many;\n return Plural.Other;\n case 'lv':\n case 'prg':\n if (n % 10 === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19 ||\n v === 2 && f % 100 === Math.floor(f % 100) && f % 100 >= 11 && f % 100 <= 19)\n return Plural.Zero;\n if (n % 10 === 1 && !(n % 100 === 11) || v === 2 && f % 10 === 1 && !(f % 100 === 11) ||\n !(v === 2) && f % 10 === 1)\n return Plural.One;\n return Plural.Other;\n case 'mk':\n if (v === 0 && i % 10 === 1 || f % 10 === 1)\n return Plural.One;\n return Plural.Other;\n case 'mt':\n if (n === 1)\n return Plural.One;\n if (n === 0 || n % 100 === Math.floor(n % 100) && n % 100 >= 2 && n % 100 <= 10)\n return Plural.Few;\n if (n % 100 === Math.floor(n % 100) && n % 100 >= 11 && n % 100 <= 19)\n return Plural.Many;\n return Plural.Other;\n case 'pl':\n if (i === 1 && v === 0)\n return Plural.One;\n if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n !(i % 100 >= 12 && i % 100 <= 14))\n return Plural.Few;\n if (v === 0 && !(i === 1) && i % 10 === Math.floor(i % 10) && i % 10 >= 0 && i % 10 <= 1 ||\n v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 12 && i % 100 <= 14)\n return Plural.Many;\n return Plural.Other;\n case 'pt':\n if (n === Math.floor(n) && n >= 0 && n <= 2 && !(n === 2))\n return Plural.One;\n return Plural.Other;\n case 'ro':\n if (i === 1 && v === 0)\n return Plural.One;\n if (!(v === 0) || n === 0 ||\n !(n === 1) && n % 100 === Math.floor(n % 100) && n % 100 >= 1 && n % 100 <= 19)\n return Plural.Few;\n return Plural.Other;\n case 'ru':\n case 'uk':\n if (v === 0 && i % 10 === 1 && !(i % 100 === 11))\n return Plural.One;\n if (v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 2 && i % 10 <= 4 &&\n !(i % 100 >= 12 && i % 100 <= 14))\n return Plural.Few;\n if (v === 0 && i % 10 === 0 ||\n v === 0 && i % 10 === Math.floor(i % 10) && i % 10 >= 5 && i % 10 <= 9 ||\n v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 11 && i % 100 <= 14)\n return Plural.Many;\n return Plural.Other;\n case 'shi':\n if (i === 0 || n === 1)\n return Plural.One;\n if (n === Math.floor(n) && n >= 2 && n <= 10)\n return Plural.Few;\n return Plural.Other;\n case 'si':\n if (n === 0 || n === 1 || i === 0 && f === 1)\n return Plural.One;\n return Plural.Other;\n case 'sl':\n if (v === 0 && i % 100 === 1)\n return Plural.One;\n if (v === 0 && i % 100 === 2)\n return Plural.Two;\n if (v === 0 && i % 100 === Math.floor(i % 100) && i % 100 >= 3 && i % 100 <= 4 || !(v === 0))\n return Plural.Few;\n return Plural.Other;\n case 'tzm':\n if (n === Math.floor(n) && n >= 0 && n <= 1 || n === Math.floor(n) && n >= 11 && n <= 99)\n return Plural.One;\n return Plural.Other;\n default:\n return Plural.Other;\n }\n }\n\n function isListLikeIterable(obj) {\n if (!isJsObject(obj))\n return false;\n return Array.isArray(obj) ||\n (!(obj instanceof Map) &&\n getSymbolIterator() in obj); // JS Iterable have a Symbol.iterator prop\n }\n\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Adds and removes CSS classes on an HTML element.\n *\n * @howToUse\n * ```\n * <some-element [ngClass]=\"'first second'\">...</some-element>\n *\n * <some-element [ngClass]=\"['first', 'second']\">...</some-element>\n *\n * <some-element [ngClass]=\"{'first': true, 'second': true, 'third': false}\">...</some-element>\n *\n * <some-element [ngClass]=\"stringExp|arrayExp|objExp\">...</some-element>\n * ```\n *\n * @description\n *\n * The CSS classes are updated as follows, depending on the type of the expression evaluation:\n * - `string` - the CSS classes listed in the string (space delimited) are added,\n * - `Array` - the CSS classes declared as Array elements are added,\n * - `Object` - keys are CSS classes that get added when the expression given in the value\n * evaluates to a truthy value, otherwise they are removed.\n *\n * @stable\n */\n var NgClass = (function () {\n function NgClass(_iterableDiffers, _keyValueDiffers, _ngEl, _renderer) {\n this._iterableDiffers = _iterableDiffers;\n this._keyValueDiffers = _keyValueDiffers;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n this._initialClasses = [];\n }\n Object.defineProperty(NgClass.prototype, \"klass\", {\n set: function (v) {\n this._applyInitialClasses(true);\n this._initialClasses = typeof v === 'string' ? v.split(/\\s+/) : [];\n this._applyInitialClasses(false);\n this._applyClasses(this._rawClass, false);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgClass.prototype, \"ngClass\", {\n set: function (v) {\n this._cleanupClasses(this._rawClass);\n this._iterableDiffer = null;\n this._keyValueDiffer = null;\n this._rawClass = typeof v === 'string' ? v.split(/\\s+/) : v;\n if (this._rawClass) {\n if (isListLikeIterable(this._rawClass)) {\n this._iterableDiffer = this._iterableDiffers.find(this._rawClass).create(null);\n }\n else {\n this._keyValueDiffer = this._keyValueDiffers.find(this._rawClass).create(null);\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n NgClass.prototype.ngDoCheck = function () {\n if (this._iterableDiffer) {\n var changes = this._iterableDiffer.diff(this._rawClass);\n if (changes) {\n this._applyIterableChanges(changes);\n }\n }\n else if (this._keyValueDiffer) {\n var changes = this._keyValueDiffer.diff(this._rawClass);\n if (changes) {\n this._applyKeyValueChanges(changes);\n }\n }\n };\n NgClass.prototype._cleanupClasses = function (rawClassVal) {\n this._applyClasses(rawClassVal, true);\n this._applyInitialClasses(false);\n };\n NgClass.prototype._applyKeyValueChanges = function (changes) {\n var _this = this;\n changes.forEachAddedItem(function (record) { return _this._toggleClass(record.key, record.currentValue); });\n changes.forEachChangedItem(function (record) { return _this._toggleClass(record.key, record.currentValue); });\n changes.forEachRemovedItem(function (record) {\n if (record.previousValue) {\n _this._toggleClass(record.key, false);\n }\n });\n };\n NgClass.prototype._applyIterableChanges = function (changes) {\n var _this = this;\n changes.forEachAddedItem(function (record) {\n if (typeof record.item === 'string') {\n _this._toggleClass(record.item, true);\n }\n else {\n throw new Error(\"NgClass can only toggle CSS classes expressed as strings, got \" + stringify(record.item));\n }\n });\n changes.forEachRemovedItem(function (record) { return _this._toggleClass(record.item, false); });\n };\n NgClass.prototype._applyInitialClasses = function (isCleanup) {\n var _this = this;\n this._initialClasses.forEach(function (klass) { return _this._toggleClass(klass, !isCleanup); });\n };\n NgClass.prototype._applyClasses = function (rawClassVal, isCleanup) {\n var _this = this;\n if (rawClassVal) {\n if (Array.isArray(rawClassVal) || rawClassVal instanceof Set) {\n rawClassVal.forEach(function (klass) { return _this._toggleClass(klass, !isCleanup); });\n }\n else {\n Object.keys(rawClassVal).forEach(function (klass) {\n if (isPresent(rawClassVal[klass]))\n _this._toggleClass(klass, !isCleanup);\n });\n }\n }\n };\n NgClass.prototype._toggleClass = function (klass, enabled) {\n var _this = this;\n klass = klass.trim();\n if (klass) {\n klass.split(/\\s+/g).forEach(function (klass) { _this._renderer.setElementClass(_this._ngEl.nativeElement, klass, enabled); });\n }\n };\n NgClass.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngClass]' },] },\n ];\n /** @nocollapse */\n NgClass.ctorParameters = [\n { type: _angular_core.IterableDiffers, },\n { type: _angular_core.KeyValueDiffers, },\n { type: _angular_core.ElementRef, },\n { type: _angular_core.Renderer, },\n ];\n NgClass.propDecorators = {\n 'klass': [{ type: _angular_core.Input, args: ['class',] },],\n 'ngClass': [{ type: _angular_core.Input },],\n };\n return NgClass;\n }());\n\n var NgForRow = (function () {\n function NgForRow($implicit, index, count) {\n this.$implicit = $implicit;\n this.index = index;\n this.count = count;\n }\n Object.defineProperty(NgForRow.prototype, \"first\", {\n get: function () { return this.index === 0; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"last\", {\n get: function () { return this.index === this.count - 1; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"even\", {\n get: function () { return this.index % 2 === 0; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForRow.prototype, \"odd\", {\n get: function () { return !this.even; },\n enumerable: true,\n configurable: true\n });\n return NgForRow;\n }());\n /**\n * The `NgFor` directive instantiates a template once per item from an iterable. The context for\n * each instantiated template inherits from the outer context with the given loop variable set\n * to the current item from the iterable.\n *\n * ### Local Variables\n *\n * `NgFor` provides several exported values that can be aliased to local variables:\n *\n * * `index` will be set to the current loop iteration for each template context.\n * * `first` will be set to a boolean value indicating whether the item is the first one in the\n * iteration.\n * * `last` will be set to a boolean value indicating whether the item is the last one in the\n * iteration.\n * * `even` will be set to a boolean value indicating whether this item has an even index.\n * * `odd` will be set to a boolean value indicating whether this item has an odd index.\n *\n * ### Change Propagation\n *\n * When the contents of the iterator changes, `NgFor` makes the corresponding changes to the DOM:\n *\n * * When an item is added, a new instance of the template is added to the DOM.\n * * When an item is removed, its template instance is removed from the DOM.\n * * When items are reordered, their respective templates are reordered in the DOM.\n * * Otherwise, the DOM element for that item will remain the same.\n *\n * Angular uses object identity to track insertions and deletions within the iterator and reproduce\n * those changes in the DOM. This has important implications for animations and any stateful\n * controls\n * (such as `<input>` elements which accept user input) that are present. Inserted rows can be\n * animated in, deleted rows can be animated out, and unchanged rows retain any unsaved state such\n * as user input.\n *\n * It is possible for the identities of elements in the iterator to change while the data does not.\n * This can happen, for example, if the iterator produced from an RPC to the server, and that\n * RPC is re-run. Even if the data hasn't changed, the second response will produce objects with\n * different identities, and Angular will tear down the entire DOM and rebuild it (as if all old\n * elements were deleted and all new elements inserted). This is an expensive operation and should\n * be avoided if possible.\n *\n * To customize the default tracking algorithm, `NgFor` supports `trackBy` option.\n * `trackBy` takes a function which has two arguments: `index` and `item`.\n * If `trackBy` is given, Angular tracks changes by the return value of the function.\n *\n * ### Syntax\n *\n * - `<li *ngFor=\"let item of items; let i = index; trackBy: trackByFn\">...</li>`\n * - `<li template=\"ngFor let item of items; let i = index; trackBy: trackByFn\">...</li>`\n *\n * With `<template>` element:\n *\n * ```\n * <template ngFor let-item [ngForOf]=\"items\" let-i=\"index\" [ngForTrackBy]=\"trackByFn\">\n * <li>...</li>\n * </template>\n * ```\n *\n * ### Example\n *\n * See a [live demo](http://plnkr.co/edit/KVuXxDp0qinGDyo307QW?p=preview) for a more detailed\n * example.\n *\n * @stable\n */\n var NgFor = (function () {\n function NgFor(_viewContainer, _template, _differs, _cdr) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._differs = _differs;\n this._cdr = _cdr;\n this._differ = null;\n }\n Object.defineProperty(NgFor.prototype, \"ngForTemplate\", {\n set: function (value) {\n if (value) {\n this._template = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n NgFor.prototype.ngOnChanges = function (changes) {\n if ('ngForOf' in changes) {\n // React on ngForOf changes only once all inputs have been initialized\n var value = changes['ngForOf'].currentValue;\n if (!this._differ && value) {\n try {\n this._differ = this._differs.find(value).create(this._cdr, this.ngForTrackBy);\n }\n catch (e) {\n throw new Error(\"Cannot find a differ supporting object '\" + value + \"' of type '\" + getTypeNameForDebugging(value) + \"'. NgFor only supports binding to Iterables such as Arrays.\");\n }\n }\n }\n };\n NgFor.prototype.ngDoCheck = function () {\n if (this._differ) {\n var changes = this._differ.diff(this.ngForOf);\n if (changes)\n this._applyChanges(changes);\n }\n };\n NgFor.prototype._applyChanges = function (changes) {\n var _this = this;\n var insertTuples = [];\n changes.forEachOperation(function (item, adjustedPreviousIndex, currentIndex) {\n if (item.previousIndex == null) {\n var view = _this._viewContainer.createEmbeddedView(_this._template, new NgForRow(null, null, null), currentIndex);\n var tuple = new RecordViewTuple(item, view);\n insertTuples.push(tuple);\n }\n else if (currentIndex == null) {\n _this._viewContainer.remove(adjustedPreviousIndex);\n }\n else {\n var view = _this._viewContainer.get(adjustedPreviousIndex);\n _this._viewContainer.move(view, currentIndex);\n var tuple = new RecordViewTuple(item, view);\n insertTuples.push(tuple);\n }\n });\n for (var i = 0; i < insertTuples.length; i++) {\n this._perViewChange(insertTuples[i].view, insertTuples[i].record);\n }\n for (var i = 0, ilen = this._viewContainer.length; i < ilen; i++) {\n var viewRef = this._viewContainer.get(i);\n viewRef.context.index = i;\n viewRef.context.count = ilen;\n }\n changes.forEachIdentityChange(function (record) {\n var viewRef = _this._viewContainer.get(record.currentIndex);\n viewRef.context.$implicit = record.item;\n });\n };\n NgFor.prototype._perViewChange = function (view, record) {\n view.context.$implicit = record.item;\n };\n NgFor.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngFor][ngForOf]' },] },\n ];\n /** @nocollapse */\n NgFor.ctorParameters = [\n { type: _angular_core.ViewContainerRef, },\n { type: _angular_core.TemplateRef, },\n { type: _angular_core.IterableDiffers, },\n { type: _angular_core.ChangeDetectorRef, },\n ];\n NgFor.propDecorators = {\n 'ngForOf': [{ type: _angular_core.Input },],\n 'ngForTrackBy': [{ type: _angular_core.Input },],\n 'ngForTemplate': [{ type: _angular_core.Input },],\n };\n return NgFor;\n }());\n var RecordViewTuple = (function () {\n function RecordViewTuple(record, view) {\n this.record = record;\n this.view = view;\n }\n return RecordViewTuple;\n }());\n\n /**\n * Removes or recreates a portion of the DOM tree based on an {expression}.\n *\n * If the expression assigned to `ngIf` evaluates to a falsy value then the element\n * is removed from the DOM, otherwise a clone of the element is reinserted into the DOM.\n *\n * ### Example ([live demo](http://plnkr.co/edit/fe0kgemFBtmQOY31b4tw?p=preview)):\n *\n * ```\n * <div *ngIf=\"errorCount > 0\" class=\"error\">\n * <!-- Error message displayed when the errorCount property in the current context is greater\n * than 0. -->\n * {{errorCount}} errors detected\n * </div>\n * ```\n *\n * ### Syntax\n *\n * - `<div *ngIf=\"condition\">...</div>`\n * - `<div template=\"ngIf condition\">...</div>`\n * - `<template [ngIf]=\"condition\"><div>...</div></template>`\n *\n * @stable\n */\n var NgIf = (function () {\n function NgIf(_viewContainer, _template) {\n this._viewContainer = _viewContainer;\n this._template = _template;\n this._hasView = false;\n }\n Object.defineProperty(NgIf.prototype, \"ngIf\", {\n set: function (condition) {\n if (condition && !this._hasView) {\n this._hasView = true;\n this._viewContainer.createEmbeddedView(this._template);\n }\n else if (!condition && this._hasView) {\n this._hasView = false;\n this._viewContainer.clear();\n }\n },\n enumerable: true,\n configurable: true\n });\n NgIf.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngIf]' },] },\n ];\n /** @nocollapse */\n NgIf.ctorParameters = [\n { type: _angular_core.ViewContainerRef, },\n { type: _angular_core.TemplateRef, },\n ];\n NgIf.propDecorators = {\n 'ngIf': [{ type: _angular_core.Input },],\n };\n return NgIf;\n }());\n\n var SwitchView = (function () {\n function SwitchView(_viewContainerRef, _templateRef) {\n this._viewContainerRef = _viewContainerRef;\n this._templateRef = _templateRef;\n this._created = false;\n }\n SwitchView.prototype.create = function () {\n this._created = true;\n this._viewContainerRef.createEmbeddedView(this._templateRef);\n };\n SwitchView.prototype.destroy = function () {\n this._created = false;\n this._viewContainerRef.clear();\n };\n SwitchView.prototype.enforceState = function (created) {\n if (created && !this._created) {\n this.create();\n }\n else if (!created && this._created) {\n this.destroy();\n }\n };\n return SwitchView;\n }());\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Adds / removes DOM sub-trees when the nest match expressions matches the switch\n * expression.\n *\n * @howToUse\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * <some-element *ngSwitchCase=\"match_expression_2\">...</some-element>\n * <some-other-element *ngSwitchCase=\"match_expression_3\">...</some-other-element>\n * <ng-container *ngSwitchCase=\"match_expression_3\">\n * <!-- use a ng-container to group multiple root nodes -->\n * <inner-element></inner-element>\n * <inner-other-element></inner-other-element>\n * </ng-container>\n * <some-element *ngSwitchDefault>...</some-element>\n * </container-element>\n * ```\n * @description\n *\n * `NgSwitch` stamps out nested views when their match expression value matches the value of the\n * switch expression.\n *\n * In other words:\n * - you define a container element (where you place the directive with a switch expression on the\n * `[ngSwitch]=\"...\"` attribute)\n * - you define inner views inside the `NgSwitch` and place a `*ngSwitchCase` attribute on the view\n * root elements.\n *\n * Elements within `NgSwitch` but outside of a `NgSwitchCase` or `NgSwitchDefault` directives will\n * be preserved at the location.\n *\n * The `ngSwitchCase` directive informs the parent `NgSwitch` of which view to display when the\n * expression is evaluated.\n * When no matching expression is found on a `ngSwitchCase` view, the `ngSwitchDefault` view is\n * stamped out.\n *\n * @stable\n */\n var NgSwitch = (function () {\n function NgSwitch() {\n this._defaultUsed = false;\n this._caseCount = 0;\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n Object.defineProperty(NgSwitch.prototype, \"ngSwitch\", {\n set: function (newValue) {\n this._ngSwitch = newValue;\n if (this._caseCount === 0) {\n this._updateDefaultCases(true);\n }\n },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n NgSwitch.prototype._addCase = function () { return this._caseCount++; };\n /** @internal */\n NgSwitch.prototype._addDefault = function (view) {\n if (!this._defaultViews) {\n this._defaultViews = [];\n }\n this._defaultViews.push(view);\n };\n /** @internal */\n NgSwitch.prototype._matchCase = function (value) {\n var matched = value == this._ngSwitch;\n this._lastCasesMatched = this._lastCasesMatched || matched;\n this._lastCaseCheckIndex++;\n if (this._lastCaseCheckIndex === this._caseCount) {\n this._updateDefaultCases(!this._lastCasesMatched);\n this._lastCaseCheckIndex = 0;\n this._lastCasesMatched = false;\n }\n return matched;\n };\n NgSwitch.prototype._updateDefaultCases = function (useDefault) {\n if (this._defaultViews && useDefault !== this._defaultUsed) {\n this._defaultUsed = useDefault;\n for (var i = 0; i < this._defaultViews.length; i++) {\n var defaultView = this._defaultViews[i];\n defaultView.enforceState(useDefault);\n }\n }\n };\n NgSwitch.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngSwitch]' },] },\n ];\n /** @nocollapse */\n NgSwitch.ctorParameters = [];\n NgSwitch.propDecorators = {\n 'ngSwitch': [{ type: _angular_core.Input },],\n };\n return NgSwitch;\n }());\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Creates a view that will be added/removed from the parent {@link NgSwitch} when the\n * given expression evaluate to respectively the same/different value as the switch\n * expression.\n *\n * @howToUse\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * </container-element>\n *```\n * @description\n *\n * Insert the sub-tree when the expression evaluates to the same value as the enclosing switch\n * expression.\n *\n * If multiple match expressions match the switch expression value, all of them are displayed.\n *\n * See {@link NgSwitch} for more details and example.\n *\n * @stable\n */\n var NgSwitchCase = (function () {\n function NgSwitchCase(viewContainer, templateRef, ngSwitch) {\n this.ngSwitch = ngSwitch;\n ngSwitch._addCase();\n this._view = new SwitchView(viewContainer, templateRef);\n }\n NgSwitchCase.prototype.ngDoCheck = function () { this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase)); };\n NgSwitchCase.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngSwitchCase]' },] },\n ];\n /** @nocollapse */\n NgSwitchCase.ctorParameters = [\n { type: _angular_core.ViewContainerRef, },\n { type: _angular_core.TemplateRef, },\n { type: NgSwitch, decorators: [{ type: _angular_core.Host },] },\n ];\n NgSwitchCase.propDecorators = {\n 'ngSwitchCase': [{ type: _angular_core.Input },],\n };\n return NgSwitchCase;\n }());\n /**\n * @ngModule CommonModule\n * @whatItDoes Creates a view that is added to the parent {@link NgSwitch} when no case expressions\n * match the\n * switch expression.\n *\n * @howToUse\n * ```\n * <container-element [ngSwitch]=\"switch_expression\">\n * <some-element *ngSwitchCase=\"match_expression_1\">...</some-element>\n * <some-other-element *ngSwitchDefault>...</some-other-element>\n * </container-element>\n * ```\n *\n * @description\n *\n * Insert the sub-tree when no case expressions evaluate to the same value as the enclosing switch\n * expression.\n *\n * See {@link NgSwitch} for more details and example.\n *\n * @stable\n */\n var NgSwitchDefault = (function () {\n function NgSwitchDefault(viewContainer, templateRef, ngSwitch) {\n ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));\n }\n NgSwitchDefault.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngSwitchDefault]' },] },\n ];\n /** @nocollapse */\n NgSwitchDefault.ctorParameters = [\n { type: _angular_core.ViewContainerRef, },\n { type: _angular_core.TemplateRef, },\n { type: NgSwitch, decorators: [{ type: _angular_core.Host },] },\n ];\n return NgSwitchDefault;\n }());\n\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Adds / removes DOM sub-trees based on a numeric value. Tailored for pluralization.\n *\n * @howToUse\n * ```\n * <some-element [ngPlural]=\"value\">\n * <ng-container *ngPluralCase=\"'=0'\">there is nothing</ng-container>\n * <ng-container *ngPluralCase=\"'=1'\">there is one</ng-container>\n * <ng-container *ngPluralCase=\"'few'\">there are a few</ng-container>\n * <ng-container *ngPluralCase=\"'other'\">there are exactly #</ng-container>\n * </some-element>\n * ```\n *\n * @description\n *\n * Displays DOM sub-trees that match the switch expression value, or failing that, DOM sub-trees\n * that match the switch expression's pluralization category.\n *\n * To use this directive you must provide a container element that sets the `[ngPlural]` attribute\n * to a switch expression. Inner elements with a `[ngPluralCase]` will display based on their\n * expression:\n * - if `[ngPluralCase]` is set to a value starting with `=`, it will only display if the value\n * matches the switch expression exactly,\n * - otherwise, the view will be treated as a \"category match\", and will only display if exact\n * value matches aren't found and the value maps to its category for the defined locale.\n *\n * See http://cldr.unicode.org/index/cldr-spec/plural-rules\n *\n * @experimental\n */\n var NgPlural = (function () {\n function NgPlural(_localization) {\n this._localization = _localization;\n this._caseViews = {};\n }\n Object.defineProperty(NgPlural.prototype, \"ngPlural\", {\n set: function (value) {\n this._switchValue = value;\n this._updateView();\n },\n enumerable: true,\n configurable: true\n });\n NgPlural.prototype.addCase = function (value, switchView) { this._caseViews[value] = switchView; };\n NgPlural.prototype._updateView = function () {\n this._clearViews();\n var cases = Object.keys(this._caseViews);\n var key = getPluralCategory(this._switchValue, cases, this._localization);\n this._activateView(this._caseViews[key]);\n };\n NgPlural.prototype._clearViews = function () {\n if (this._activeView)\n this._activeView.destroy();\n };\n NgPlural.prototype._activateView = function (view) {\n if (view) {\n this._activeView = view;\n this._activeView.create();\n }\n };\n NgPlural.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngPlural]' },] },\n ];\n /** @nocollapse */\n NgPlural.ctorParameters = [\n { type: NgLocalization, },\n ];\n NgPlural.propDecorators = {\n 'ngPlural': [{ type: _angular_core.Input },],\n };\n return NgPlural;\n }());\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Creates a view that will be added/removed from the parent {@link NgPlural} when the\n * given expression matches the plural expression according to CLDR rules.\n *\n * @howToUse\n * ```\n * <some-element [ngPlural]=\"value\">\n * <ng-container *ngPluralCase=\"'=0'\">...</ng-container>\n * <ng-container *ngPluralCase=\"'other'\">...</ng-container>\n * </some-element>\n *```\n *\n * See {@link NgPlural} for more details and example.\n *\n * @experimental\n */\n var NgPluralCase = (function () {\n function NgPluralCase(value, template, viewContainer, ngPlural) {\n this.value = value;\n ngPlural.addCase(value, new SwitchView(viewContainer, template));\n }\n NgPluralCase.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngPluralCase]' },] },\n ];\n /** @nocollapse */\n NgPluralCase.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Attribute, args: ['ngPluralCase',] },] },\n { type: _angular_core.TemplateRef, },\n { type: _angular_core.ViewContainerRef, },\n { type: NgPlural, decorators: [{ type: _angular_core.Host },] },\n ];\n return NgPluralCase;\n }());\n\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Update an HTML element styles.\n *\n * @howToUse\n * ```\n * <some-element [ngStyle]=\"{'font-style': styleExp}\">...</some-element>\n *\n * <some-element [ngStyle]=\"{'max-width.px': widthExp}\">...</some-element>\n *\n * <some-element [ngStyle]=\"objExp\">...</some-element>\n * ```\n *\n * @description\n *\n * The styles are updated according to the value of the expression evaluation:\n * - keys are style names with an optional `.<unit>` suffix (ie 'top.px', 'font-style.em'),\n * - values are the values assigned to those properties (expressed in the given unit).\n *\n * @stable\n */\n var NgStyle = (function () {\n function NgStyle(_differs, _ngEl, _renderer) {\n this._differs = _differs;\n this._ngEl = _ngEl;\n this._renderer = _renderer;\n }\n Object.defineProperty(NgStyle.prototype, \"ngStyle\", {\n set: function (v) {\n this._ngStyle = v;\n if (!this._differ && v) {\n this._differ = this._differs.find(v).create(null);\n }\n },\n enumerable: true,\n configurable: true\n });\n NgStyle.prototype.ngDoCheck = function () {\n if (this._differ) {\n var changes = this._differ.diff(this._ngStyle);\n if (changes) {\n this._applyChanges(changes);\n }\n }\n };\n NgStyle.prototype._applyChanges = function (changes) {\n var _this = this;\n changes.forEachRemovedItem(function (record) { return _this._setStyle(record.key, null); });\n changes.forEachAddedItem(function (record) { return _this._setStyle(record.key, record.currentValue); });\n changes.forEachChangedItem(function (record) { return _this._setStyle(record.key, record.currentValue); });\n };\n NgStyle.prototype._setStyle = function (nameAndUnit, value) {\n var _a = nameAndUnit.split('.'), name = _a[0], unit = _a[1];\n value = value && unit ? \"\" + value + unit : value;\n this._renderer.setElementStyle(this._ngEl.nativeElement, name, value);\n };\n NgStyle.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngStyle]' },] },\n ];\n /** @nocollapse */\n NgStyle.ctorParameters = [\n { type: _angular_core.KeyValueDiffers, },\n { type: _angular_core.ElementRef, },\n { type: _angular_core.Renderer, },\n ];\n NgStyle.propDecorators = {\n 'ngStyle': [{ type: _angular_core.Input },],\n };\n return NgStyle;\n }());\n\n /**\n * @ngModule CommonModule\n *\n * @whatItDoes Inserts an embedded view from a prepared `TemplateRef`\n *\n * @howToUse\n * ```\n * <template [ngTemplateOutlet]=\"templateRefExpression\"\n * [ngOutletContext]=\"objectExpression\">\n * </template>\n * ```\n *\n * @description\n *\n * You can attach a context object to the `EmbeddedViewRef` by setting `[ngOutletContext]`.\n * `[ngOutletContext]` should be an object, the object's keys will be the local template variables\n * available within the `TemplateRef`.\n *\n * Note: using the key `$implicit` in the context object will set it's value as default.\n *\n * @experimental\n */\n var NgTemplateOutlet = (function () {\n function NgTemplateOutlet(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n }\n Object.defineProperty(NgTemplateOutlet.prototype, \"ngOutletContext\", {\n set: function (context) { this._context = context; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgTemplateOutlet.prototype, \"ngTemplateOutlet\", {\n set: function (templateRef) { this._templateRef = templateRef; },\n enumerable: true,\n configurable: true\n });\n NgTemplateOutlet.prototype.ngOnChanges = function (changes) {\n if (this._viewRef) {\n this._viewContainerRef.remove(this._viewContainerRef.indexOf(this._viewRef));\n }\n if (this._templateRef) {\n this._viewRef = this._viewContainerRef.createEmbeddedView(this._templateRef, this._context);\n }\n };\n NgTemplateOutlet.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngTemplateOutlet]' },] },\n ];\n /** @nocollapse */\n NgTemplateOutlet.ctorParameters = [\n { type: _angular_core.ViewContainerRef, },\n ];\n NgTemplateOutlet.propDecorators = {\n 'ngOutletContext': [{ type: _angular_core.Input },],\n 'ngTemplateOutlet': [{ type: _angular_core.Input },],\n };\n return NgTemplateOutlet;\n }());\n\n /**\n * A collection of Angular directives that are likely to be used in each and every Angular\n * application.\n */\n var COMMON_DIRECTIVES = [\n NgClass,\n NgFor,\n NgIf,\n NgTemplateOutlet,\n NgStyle,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgPlural,\n NgPluralCase,\n ];\n\n var isPromise = _angular_core.__core_private__.isPromise;\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @stable\n */\n var BaseError = (function (_super) {\n __extends$4(BaseError, _super);\n function BaseError(message) {\n // Errors don't use current this, instead they create a new instance.\n // We have to do forward all of our api to the nativeInstance.\n var nativeError = _super.call(this, message);\n this._nativeError = nativeError;\n }\n Object.defineProperty(BaseError.prototype, \"message\", {\n get: function () { return this._nativeError.message; },\n set: function (message) { this._nativeError.message = message; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"name\", {\n get: function () { return this._nativeError.name; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(BaseError.prototype, \"stack\", {\n get: function () { return this._nativeError.stack; },\n set: function (value) { this._nativeError.stack = value; },\n enumerable: true,\n configurable: true\n });\n BaseError.prototype.toString = function () { return this._nativeError.toString(); };\n return BaseError;\n }(Error));\n /**\n * @stable\n */\n var WrappedError = (function (_super) {\n __extends$4(WrappedError, _super);\n function WrappedError(message, error) {\n _super.call(this, message + \" caused by: \" + (error instanceof Error ? error.message : error));\n this.originalError = error;\n }\n Object.defineProperty(WrappedError.prototype, \"stack\", {\n get: function () {\n return (this.originalError instanceof Error ? this.originalError : this._nativeError)\n .stack;\n },\n enumerable: true,\n configurable: true\n });\n return WrappedError;\n }(BaseError));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var InvalidPipeArgumentError = (function (_super) {\n __extends$3(InvalidPipeArgumentError, _super);\n function InvalidPipeArgumentError(type, value) {\n _super.call(this, \"Invalid argument '\" + value + \"' for pipe '\" + stringify(type) + \"'\");\n }\n return InvalidPipeArgumentError;\n }(BaseError));\n\n var ObservableStrategy = (function () {\n function ObservableStrategy() {\n }\n ObservableStrategy.prototype.createSubscription = function (async, updateLatestValue) {\n return async.subscribe({ next: updateLatestValue, error: function (e) { throw e; } });\n };\n ObservableStrategy.prototype.dispose = function (subscription) { subscription.unsubscribe(); };\n ObservableStrategy.prototype.onDestroy = function (subscription) { subscription.unsubscribe(); };\n return ObservableStrategy;\n }());\n var PromiseStrategy = (function () {\n function PromiseStrategy() {\n }\n PromiseStrategy.prototype.createSubscription = function (async, updateLatestValue) {\n return async.then(updateLatestValue, function (e) { throw e; });\n };\n PromiseStrategy.prototype.dispose = function (subscription) { };\n PromiseStrategy.prototype.onDestroy = function (subscription) { };\n return PromiseStrategy;\n }());\n var _promiseStrategy = new PromiseStrategy();\n var _observableStrategy = new ObservableStrategy();\n /**\n * @ngModule CommonModule\n * @whatItDoes Unwraps a value from an asynchronous primitive.\n * @howToUse `observable_or_promise_expression | async`\n * @description\n * The `async` pipe subscribes to an `Observable` or `Promise` and returns the latest value it has\n * emitted. When a new value is emitted, the `async` pipe marks the component to be checked for\n * changes. When the component gets destroyed, the `async` pipe unsubscribes automatically to avoid\n * potential memory leaks.\n *\n *\n * ## Examples\n *\n * This example binds a `Promise` to the view. Clicking the `Resolve` button resolves the\n * promise.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipePromise'}\n *\n * It's also possible to use `async` with Observables. The example below binds the `time` Observable\n * to the view. The Observable continuesly updates the view with the current time.\n *\n * {@example common/pipes/ts/async_pipe.ts region='AsyncPipeObservable'}\n *\n * @stable\n */\n var AsyncPipe = (function () {\n function AsyncPipe(_ref) {\n this._ref = _ref;\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n this._strategy = null;\n }\n AsyncPipe.prototype.ngOnDestroy = function () {\n if (this._subscription) {\n this._dispose();\n }\n };\n AsyncPipe.prototype.transform = function (obj) {\n if (!this._obj) {\n if (obj) {\n this._subscribe(obj);\n }\n this._latestReturnedValue = this._latestValue;\n return this._latestValue;\n }\n if (obj !== this._obj) {\n this._dispose();\n return this.transform(obj);\n }\n if (this._latestValue === this._latestReturnedValue) {\n return this._latestReturnedValue;\n }\n this._latestReturnedValue = this._latestValue;\n return _angular_core.WrappedValue.wrap(this._latestValue);\n };\n AsyncPipe.prototype._subscribe = function (obj) {\n var _this = this;\n this._obj = obj;\n this._strategy = this._selectStrategy(obj);\n this._subscription = this._strategy.createSubscription(obj, function (value) { return _this._updateLatestValue(obj, value); });\n };\n AsyncPipe.prototype._selectStrategy = function (obj) {\n if (isPromise(obj)) {\n return _promiseStrategy;\n }\n if (obj.subscribe) {\n return _observableStrategy;\n }\n throw new InvalidPipeArgumentError(AsyncPipe, obj);\n };\n AsyncPipe.prototype._dispose = function () {\n this._strategy.dispose(this._subscription);\n this._latestValue = null;\n this._latestReturnedValue = null;\n this._subscription = null;\n this._obj = null;\n };\n AsyncPipe.prototype._updateLatestValue = function (async, value) {\n if (async === this._obj) {\n this._latestValue = value;\n this._ref.markForCheck();\n }\n };\n AsyncPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'async', pure: false },] },\n ];\n /** @nocollapse */\n AsyncPipe.ctorParameters = [\n { type: _angular_core.ChangeDetectorRef, },\n ];\n return AsyncPipe;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var NumberFormatStyle;\n (function (NumberFormatStyle) {\n NumberFormatStyle[NumberFormatStyle[\"Decimal\"] = 0] = \"Decimal\";\n NumberFormatStyle[NumberFormatStyle[\"Percent\"] = 1] = \"Percent\";\n NumberFormatStyle[NumberFormatStyle[\"Currency\"] = 2] = \"Currency\";\n })(NumberFormatStyle || (NumberFormatStyle = {}));\n var NumberFormatter = (function () {\n function NumberFormatter() {\n }\n NumberFormatter.format = function (num, locale, style, _a) {\n var _b = _a === void 0 ? {} : _a, minimumIntegerDigits = _b.minimumIntegerDigits, minimumFractionDigits = _b.minimumFractionDigits, maximumFractionDigits = _b.maximumFractionDigits, currency = _b.currency, _c = _b.currencyAsSymbol, currencyAsSymbol = _c === void 0 ? false : _c;\n var options = {\n minimumIntegerDigits: minimumIntegerDigits,\n minimumFractionDigits: minimumFractionDigits,\n maximumFractionDigits: maximumFractionDigits,\n style: NumberFormatStyle[style].toLowerCase()\n };\n if (style == NumberFormatStyle.Currency) {\n options.currency = currency;\n options.currencyDisplay = currencyAsSymbol ? 'symbol' : 'code';\n }\n return new Intl.NumberFormat(locale, options).format(num);\n };\n return NumberFormatter;\n }());\n var DATE_FORMATS_SPLIT = /((?:[^yMLdHhmsazZEwGjJ']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|J+|j+|m+|s+|a|z|Z|G+|w+))(.*)/;\n var PATTERN_ALIASES = {\n 'yMMMdjms': datePartGetterFactory(combine([\n digitCondition('year', 1),\n nameCondition('month', 3),\n digitCondition('day', 1),\n digitCondition('hour', 1),\n digitCondition('minute', 1),\n digitCondition('second', 1),\n ])),\n 'yMdjm': datePartGetterFactory(combine([\n digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1),\n digitCondition('hour', 1), digitCondition('minute', 1)\n ])),\n 'yMMMMEEEEd': datePartGetterFactory(combine([\n digitCondition('year', 1), nameCondition('month', 4), nameCondition('weekday', 4),\n digitCondition('day', 1)\n ])),\n 'yMMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 4), digitCondition('day', 1)])),\n 'yMMMd': datePartGetterFactory(combine([digitCondition('year', 1), nameCondition('month', 3), digitCondition('day', 1)])),\n 'yMd': datePartGetterFactory(combine([digitCondition('year', 1), digitCondition('month', 1), digitCondition('day', 1)])),\n 'jms': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('second', 1), digitCondition('minute', 1)])),\n 'jm': datePartGetterFactory(combine([digitCondition('hour', 1), digitCondition('minute', 1)]))\n };\n var DATE_FORMATS = {\n yyyy: datePartGetterFactory(digitCondition('year', 4)),\n yy: datePartGetterFactory(digitCondition('year', 2)),\n y: datePartGetterFactory(digitCondition('year', 1)),\n MMMM: datePartGetterFactory(nameCondition('month', 4)),\n MMM: datePartGetterFactory(nameCondition('month', 3)),\n MM: datePartGetterFactory(digitCondition('month', 2)),\n M: datePartGetterFactory(digitCondition('month', 1)),\n LLLL: datePartGetterFactory(nameCondition('month', 4)),\n L: datePartGetterFactory(nameCondition('month', 1)),\n dd: datePartGetterFactory(digitCondition('day', 2)),\n d: datePartGetterFactory(digitCondition('day', 1)),\n HH: digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), false)))),\n H: hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), false))),\n hh: digitModifier(hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 2), true)))),\n h: hourExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n jj: datePartGetterFactory(digitCondition('hour', 2)),\n j: datePartGetterFactory(digitCondition('hour', 1)),\n mm: digitModifier(datePartGetterFactory(digitCondition('minute', 2))),\n m: datePartGetterFactory(digitCondition('minute', 1)),\n ss: digitModifier(datePartGetterFactory(digitCondition('second', 2))),\n s: datePartGetterFactory(digitCondition('second', 1)),\n // while ISO 8601 requires fractions to be prefixed with `.` or `,`\n // we can be just safely rely on using `sss` since we currently don't support single or two digit\n // fractions\n sss: datePartGetterFactory(digitCondition('second', 3)),\n EEEE: datePartGetterFactory(nameCondition('weekday', 4)),\n EEE: datePartGetterFactory(nameCondition('weekday', 3)),\n EE: datePartGetterFactory(nameCondition('weekday', 2)),\n E: datePartGetterFactory(nameCondition('weekday', 1)),\n a: hourClockExtractor(datePartGetterFactory(hour12Modify(digitCondition('hour', 1), true))),\n Z: timeZoneGetter('short'),\n z: timeZoneGetter('long'),\n ww: datePartGetterFactory({}),\n // first Thursday of the year. not support ?\n w: datePartGetterFactory({}),\n // of the year not support ?\n G: datePartGetterFactory(nameCondition('era', 1)),\n GG: datePartGetterFactory(nameCondition('era', 2)),\n GGG: datePartGetterFactory(nameCondition('era', 3)),\n GGGG: datePartGetterFactory(nameCondition('era', 4))\n };\n function digitModifier(inner) {\n return function (date, locale) {\n var result = inner(date, locale);\n return result.length == 1 ? '0' + result : result;\n };\n }\n function hourClockExtractor(inner) {\n return function (date, locale) { return inner(date, locale).split(' ')[1]; };\n }\n function hourExtractor(inner) {\n return function (date, locale) { return inner(date, locale).split(' ')[0]; };\n }\n function intlDateFormat(date, locale, options) {\n return new Intl.DateTimeFormat(locale, options).format(date).replace(/[\\u200e\\u200f]/g, '');\n }\n function timeZoneGetter(timezone) {\n // To workaround `Intl` API restriction for single timezone let format with 24 hours\n var options = { hour: '2-digit', hour12: false, timeZoneName: timezone };\n return function (date, locale) {\n var result = intlDateFormat(date, locale, options);\n // Then extract first 3 letters that related to hours\n return result ? result.substring(3) : '';\n };\n }\n function hour12Modify(options, value) {\n options.hour12 = value;\n return options;\n }\n function digitCondition(prop, len) {\n var result = {};\n result[prop] = len === 2 ? '2-digit' : 'numeric';\n return result;\n }\n function nameCondition(prop, len) {\n var result = {};\n if (len < 4) {\n result[prop] = len > 1 ? 'short' : 'narrow';\n }\n else {\n result[prop] = 'long';\n }\n return result;\n }\n function combine(options) {\n return (_a = Object).assign.apply(_a, [{}].concat(options));\n var _a;\n }\n function datePartGetterFactory(ret) {\n return function (date, locale) { return intlDateFormat(date, locale, ret); };\n }\n var DATE_FORMATTER_CACHE = new Map();\n function dateFormatter(format, date, locale) {\n var fn = PATTERN_ALIASES[format];\n if (fn)\n return fn(date, locale);\n var parts = DATE_FORMATTER_CACHE.get(format);\n if (!parts) {\n parts = [];\n var match = void 0;\n DATE_FORMATS_SPLIT.exec(format);\n while (format) {\n match = DATE_FORMATS_SPLIT.exec(format);\n if (match) {\n parts = parts.concat(match.slice(1));\n format = parts.pop();\n }\n else {\n parts.push(format);\n format = null;\n }\n }\n DATE_FORMATTER_CACHE.set(format, parts);\n }\n return parts.reduce(function (text, part) {\n var fn = DATE_FORMATS[part];\n return text + (fn ? fn(date, locale) : partToTime(part));\n }, '');\n }\n function partToTime(part) {\n return part === '\\'\\'' ? '\\'' : part.replace(/(^'|'$)/g, '').replace(/''/g, '\\'');\n }\n var DateFormatter = (function () {\n function DateFormatter() {\n }\n DateFormatter.format = function (date, locale, pattern) {\n return dateFormatter(pattern, date, locale);\n };\n return DateFormatter;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Formats a date according to locale rules.\n * @howToUse `date_expression | date[:format]`\n * @description\n *\n * Where:\n * - `expression` is a date object or a number (milliseconds since UTC epoch) or an ISO string\n * (https://www.w3.org/TR/NOTE-datetime).\n * - `format` indicates which date/time components to include. The format can be predifined as\n * shown below or custom as shown in the table.\n * - `'medium'`: equivalent to `'yMMMdjms'` (e.g. `Sep 3, 2010, 12:05:08 PM` for `en-US`)\n * - `'short'`: equivalent to `'yMdjm'` (e.g. `9/3/2010, 12:05 PM` for `en-US`)\n * - `'fullDate'`: equivalent to `'yMMMMEEEEd'` (e.g. `Friday, September 3, 2010` for `en-US`)\n * - `'longDate'`: equivalent to `'yMMMMd'` (e.g. `September 3, 2010` for `en-US`)\n * - `'mediumDate'`: equivalent to `'yMMMd'` (e.g. `Sep 3, 2010` for `en-US`)\n * - `'shortDate'`: equivalent to `'yMd'` (e.g. `9/3/2010` for `en-US`)\n * - `'mediumTime'`: equivalent to `'jms'` (e.g. `12:05:08 PM` for `en-US`)\n * - `'shortTime'`: equivalent to `'jm'` (e.g. `12:05 PM` for `en-US`)\n *\n *\n * | Component | Symbol | Narrow | Short Form | Long Form | Numeric | 2-digit |\n * |-----------|:------:|--------|--------------|-------------------|-----------|-----------|\n * | era | G | G (A) | GGG (AD) | GGGG (Anno Domini)| - | - |\n * | year | y | - | - | - | y (2015) | yy (15) |\n * | month | M | L (S) | MMM (Sep) | MMMM (September) | M (9) | MM (09) |\n * | day | d | - | - | - | d (3) | dd (03) |\n * | weekday | E | E (S) | EEE (Sun) | EEEE (Sunday) | - | - |\n * | hour | j | - | - | - | j (13) | jj (13) |\n * | hour12 | h | - | - | - | h (1 PM) | hh (01 PM)|\n * | hour24 | H | - | - | - | H (13) | HH (13) |\n * | minute | m | - | - | - | m (5) | mm (05) |\n * | second | s | - | - | - | s (9) | ss (09) |\n * | timezone | z | - | - | z (Pacific Standard Time)| - | - |\n * | timezone | Z | - | Z (GMT-8:00) | - | - | - |\n * | timezone | a | - | a (PM) | - | - | - |\n *\n * In javascript, only the components specified will be respected (not the ordering,\n * punctuations, ...) and details of the formatting will be dependent on the locale.\n *\n * Timezone of the formatted text will be the local system timezone of the end-user's machine.\n *\n * When the expression is a ISO string without time (e.g. 2016-09-19) the time zone offset is not\n * applied and the formatted text will have the same day, month and year of the expression.\n *\n * WARNINGS:\n * - this pipe is marked as pure hence it will not be re-evaluated when the input is mutated.\n * Instead users should treat the date as an immutable object and change the reference when the\n * pipe needs to re-run (this is to avoid reformatting the date on every change detection run\n * which would be an expensive operation).\n * - this pipe uses the Internationalization API. Therefore it is only reliable in Chrome and Opera\n * browsers.\n *\n * ### Examples\n *\n * Assuming `dateObj` is (year: 2015, month: 6, day: 15, hour: 21, minute: 43, second: 11)\n * in the _local_ time and locale is 'en-US':\n *\n * ```\n * {{ dateObj | date }} // output is 'Jun 15, 2015'\n * {{ dateObj | date:'medium' }} // output is 'Jun 15, 2015, 9:43:11 PM'\n * {{ dateObj | date:'shortTime' }} // output is '9:43 PM'\n * {{ dateObj | date:'mmss' }} // output is '43:11'\n * ```\n *\n * {@example common/pipes/ts/date_pipe.ts region='DatePipe'}\n *\n * @stable\n */\n var DatePipe = (function () {\n function DatePipe(_locale) {\n this._locale = _locale;\n }\n DatePipe.prototype.transform = function (value, pattern) {\n if (pattern === void 0) { pattern = 'mediumDate'; }\n var date;\n if (isBlank$1(value))\n return null;\n if (typeof value === 'string') {\n value = value.trim();\n }\n if (isDate(value)) {\n date = value;\n }\n else if (NumberWrapper.isNumeric(value)) {\n date = new Date(parseFloat(value));\n }\n else if (typeof value === 'string' && /^(\\d{4}-\\d{1,2}-\\d{1,2})$/.test(value)) {\n /**\n * For ISO Strings without time the day, month and year must be extracted from the ISO String\n * before Date creation to avoid time offset and errors in the new Date.\n * If we only replace '-' with ',' in the ISO String (\"2015,01,01\"), and try to create a new\n * date, some browsers (e.g. IE 9) will throw an invalid Date error\n * If we leave the '-' (\"2015-01-01\") and try to create a new Date(\"2015-01-01\") the timeoffset\n * is applied\n * Note: ISO months are 0 for January, 1 for February, ...\n */\n var _a = value.split('-').map(function (val) { return parseInt(val, 10); }), y = _a[0], m = _a[1], d = _a[2];\n date = new Date(y, m - 1, d);\n }\n else {\n date = new Date(value);\n }\n if (!isDate(date)) {\n throw new InvalidPipeArgumentError(DatePipe, value);\n }\n return DateFormatter.format(date, this._locale, DatePipe._ALIASES[pattern] || pattern);\n };\n /** @internal */\n DatePipe._ALIASES = {\n 'medium': 'yMMMdjms',\n 'short': 'yMdjm',\n 'fullDate': 'yMMMMEEEEd',\n 'longDate': 'yMMMMd',\n 'mediumDate': 'yMMMd',\n 'shortDate': 'yMd',\n 'mediumTime': 'jms',\n 'shortTime': 'jm'\n };\n DatePipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'date', pure: true },] },\n ];\n /** @nocollapse */\n DatePipe.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n ];\n return DatePipe;\n }());\n function isBlank$1(obj) {\n return obj == null || obj === '';\n }\n\n var _INTERPOLATION_REGEXP = /#/g;\n /**\n * @ngModule CommonModule\n * @whatItDoes Maps a value to a string that pluralizes the value according to locale rules.\n * @howToUse `expression | i18nPlural:mapping`\n * @description\n *\n * Where:\n * - `expression` is a number.\n * - `mapping` is an object that mimics the ICU format, see\n * http://userguide.icu-project.org/formatparse/messages\n *\n * ## Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nPluralPipeComponent'}\n *\n * @experimental\n */\n var I18nPluralPipe = (function () {\n function I18nPluralPipe(_localization) {\n this._localization = _localization;\n }\n I18nPluralPipe.prototype.transform = function (value, pluralMap) {\n if (isBlank(value))\n return '';\n if (typeof pluralMap !== 'object' || pluralMap === null) {\n throw new InvalidPipeArgumentError(I18nPluralPipe, pluralMap);\n }\n var key = getPluralCategory(value, Object.keys(pluralMap), this._localization);\n return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());\n };\n I18nPluralPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'i18nPlural', pure: true },] },\n ];\n /** @nocollapse */\n I18nPluralPipe.ctorParameters = [\n { type: NgLocalization, },\n ];\n return I18nPluralPipe;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Generic selector that displays the string that matches the current value.\n * @howToUse `expression | i18nSelect:mapping`\n * @description\n *\n * Where `mapping` is an object that indicates the text that should be displayed\n * for different values of the provided `expression`.\n * If none of the keys of the mapping match the value of the `expression`, then the content\n * of the `other` key is returned when present, otherwise an empty string is returned.\n *\n * ## Example\n *\n * {@example common/pipes/ts/i18n_pipe.ts region='I18nSelectPipeComponent'}\n *\n * @experimental\n */\n var I18nSelectPipe = (function () {\n function I18nSelectPipe() {\n }\n I18nSelectPipe.prototype.transform = function (value, mapping) {\n if (value == null)\n return '';\n if (typeof mapping !== 'object' || typeof value !== 'string') {\n throw new InvalidPipeArgumentError(I18nSelectPipe, mapping);\n }\n if (mapping.hasOwnProperty(value)) {\n return mapping[value];\n }\n if (mapping.hasOwnProperty('other')) {\n return mapping['other'];\n }\n return '';\n };\n I18nSelectPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'i18nSelect', pure: true },] },\n ];\n /** @nocollapse */\n I18nSelectPipe.ctorParameters = [];\n return I18nSelectPipe;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Converts value into JSON string.\n * @howToUse `expression | json`\n * @description\n *\n * Converts value into string using `JSON.stringify`. Useful for debugging.\n *\n * ### Example\n * {@example common/pipes/ts/json_pipe.ts region='JsonPipe'}\n *\n * @stable\n */\n var JsonPipe = (function () {\n function JsonPipe() {\n }\n JsonPipe.prototype.transform = function (value) { return JSON.stringify(value, null, 2); };\n JsonPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'json', pure: false },] },\n ];\n /** @nocollapse */\n JsonPipe.ctorParameters = [];\n return JsonPipe;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Transforms string to lowercase.\n * @howToUse `expression | lowercase`\n * @description\n *\n * Converts value into a lowercase string using `String.prototype.toLowerCase()`.\n *\n * ### Example\n *\n * {@example common/pipes/ts/lowerupper_pipe.ts region='LowerUpperPipe'}\n *\n * @stable\n */\n var LowerCasePipe = (function () {\n function LowerCasePipe() {\n }\n LowerCasePipe.prototype.transform = function (value) {\n if (isBlank(value))\n return value;\n if (typeof value !== 'string') {\n throw new InvalidPipeArgumentError(LowerCasePipe, value);\n }\n return value.toLowerCase();\n };\n LowerCasePipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'lowercase' },] },\n ];\n /** @nocollapse */\n LowerCasePipe.ctorParameters = [];\n return LowerCasePipe;\n }());\n\n var _NUMBER_FORMAT_REGEXP = /^(\\d+)?\\.((\\d+)(-(\\d+))?)?$/;\n function formatNumber(pipe, locale, value, style, digits, currency, currencyAsSymbol) {\n if (currency === void 0) { currency = null; }\n if (currencyAsSymbol === void 0) { currencyAsSymbol = false; }\n if (isBlank(value))\n return null;\n // Convert strings to numbers\n value = typeof value === 'string' && NumberWrapper.isNumeric(value) ? +value : value;\n if (typeof value !== 'number') {\n throw new InvalidPipeArgumentError(pipe, value);\n }\n var minInt;\n var minFraction;\n var maxFraction;\n if (style !== NumberFormatStyle.Currency) {\n // rely on Intl default for currency\n minInt = 1;\n minFraction = 0;\n maxFraction = 3;\n }\n if (digits) {\n var parts = digits.match(_NUMBER_FORMAT_REGEXP);\n if (parts === null) {\n throw new Error(digits + \" is not a valid digit info for number pipes\");\n }\n if (isPresent(parts[1])) {\n minInt = NumberWrapper.parseIntAutoRadix(parts[1]);\n }\n if (isPresent(parts[3])) {\n minFraction = NumberWrapper.parseIntAutoRadix(parts[3]);\n }\n if (isPresent(parts[5])) {\n maxFraction = NumberWrapper.parseIntAutoRadix(parts[5]);\n }\n }\n return NumberFormatter.format(value, locale, style, {\n minimumIntegerDigits: minInt,\n minimumFractionDigits: minFraction,\n maximumFractionDigits: maxFraction,\n currency: currency,\n currencyAsSymbol: currencyAsSymbol,\n });\n }\n /**\n * @ngModule CommonModule\n * @whatItDoes Formats a number according to locale rules.\n * @howToUse `number_expression | number[:digitInfo]`\n *\n * Formats a number as text. Group sizing and separator and other locale-specific\n * configurations are based on the active locale.\n *\n * where `expression` is a number:\n * - `digitInfo` is a `string` which has a following format: <br>\n * <code>{minIntegerDigits}.{minFractionDigits}-{maxFractionDigits}</code>\n * - `minIntegerDigits` is the minimum number of integer digits to use. Defaults to `1`.\n * - `minFractionDigits` is the minimum number of digits after fraction. Defaults to `0`.\n * - `maxFractionDigits` is the maximum number of digits after fraction. Defaults to `3`.\n *\n * For more information on the acceptable range for each of these numbers and other\n * details see your native internationalization library.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n *\n * ### Example\n *\n * {@example common/pipes/ts/number_pipe.ts region='NumberPipe'}\n *\n * @stable\n */\n var DecimalPipe = (function () {\n function DecimalPipe(_locale) {\n this._locale = _locale;\n }\n DecimalPipe.prototype.transform = function (value, digits) {\n if (digits === void 0) { digits = null; }\n return formatNumber(DecimalPipe, this._locale, value, NumberFormatStyle.Decimal, digits);\n };\n DecimalPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'number' },] },\n ];\n /** @nocollapse */\n DecimalPipe.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n ];\n return DecimalPipe;\n }());\n /**\n * @ngModule CommonModule\n * @whatItDoes Formats a number as a percentage according to locale rules.\n * @howToUse `number_expression | percent[:digitInfo]`\n *\n * @description\n *\n * Formats a number as percentage.\n *\n * - `digitInfo` See {@link DecimalPipe} for detailed description.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n *\n * ### Example\n *\n * {@example common/pipes/ts/number_pipe.ts region='PercentPipe'}\n *\n * @stable\n */\n var PercentPipe = (function () {\n function PercentPipe(_locale) {\n this._locale = _locale;\n }\n PercentPipe.prototype.transform = function (value, digits) {\n if (digits === void 0) { digits = null; }\n return formatNumber(PercentPipe, this._locale, value, NumberFormatStyle.Percent, digits);\n };\n PercentPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'percent' },] },\n ];\n /** @nocollapse */\n PercentPipe.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n ];\n return PercentPipe;\n }());\n /**\n * @ngModule CommonModule\n * @whatItDoes Formats a number as currency using locale rules.\n * @howToUse `number_expression | currency[:currencyCode[:symbolDisplay[:digitInfo]]]`\n * @description\n *\n * Use `currency` to format a number as currency.\n *\n * - `currencyCode` is the [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code, such\n * as `USD` for the US dollar and `EUR` for the euro.\n * - `symbolDisplay` is a boolean indicating whether to use the currency symbol or code.\n * - `true`: use symbol (e.g. `$`).\n * - `false`(default): use code (e.g. `USD`).\n * - `digitInfo` See {@link DecimalPipe} for detailed description.\n *\n * WARNING: this pipe uses the Internationalization API which is not yet available in all browsers\n * and may require a polyfill. See {@linkDocs guide/browser-support} for details.\n *\n * ### Example\n *\n * {@example common/pipes/ts/number_pipe.ts region='CurrencyPipe'}\n *\n * @stable\n */\n var CurrencyPipe = (function () {\n function CurrencyPipe(_locale) {\n this._locale = _locale;\n }\n CurrencyPipe.prototype.transform = function (value, currencyCode, symbolDisplay, digits) {\n if (currencyCode === void 0) { currencyCode = 'USD'; }\n if (symbolDisplay === void 0) { symbolDisplay = false; }\n if (digits === void 0) { digits = null; }\n return formatNumber(CurrencyPipe, this._locale, value, NumberFormatStyle.Currency, digits, currencyCode, symbolDisplay);\n };\n CurrencyPipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'currency' },] },\n ];\n /** @nocollapse */\n CurrencyPipe.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Inject, args: [_angular_core.LOCALE_ID,] },] },\n ];\n return CurrencyPipe;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Creates a new List or String containing a subset (slice) of the elements.\n * @howToUse `array_or_string_expression | slice:start[:end]`\n * @description\n *\n * Where the input expression is a `List` or `String`, and:\n * - `start`: The starting index of the subset to return.\n * - **a positive integer**: return the item at `start` index and all items after\n * in the list or string expression.\n * - **a negative integer**: return the item at `start` index from the end and all items after\n * in the list or string expression.\n * - **if positive and greater than the size of the expression**: return an empty list or string.\n * - **if negative and greater than the size of the expression**: return entire list or string.\n * - `end`: The ending index of the subset to return.\n * - **omitted**: return all items until the end.\n * - **if positive**: return all items before `end` index of the list or string.\n * - **if negative**: return all items before `end` index from the end of the list or string.\n *\n * All behavior is based on the expected behavior of the JavaScript API `Array.prototype.slice()`\n * and `String.prototype.slice()`.\n *\n * When operating on a [List], the returned list is always a copy even when all\n * the elements are being returned.\n *\n * When operating on a blank value, the pipe returns the blank value.\n *\n * ## List Example\n *\n * This `ngFor` example:\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_list'}\n *\n * produces the following:\n *\n * <li>b</li>\n * <li>c</li>\n *\n * ## String Examples\n *\n * {@example common/pipes/ts/slice_pipe.ts region='SlicePipe_string'}\n *\n * @stable\n */\n var SlicePipe = (function () {\n function SlicePipe() {\n }\n SlicePipe.prototype.transform = function (value, start, end) {\n if (isBlank(value))\n return value;\n if (!this.supports(value)) {\n throw new InvalidPipeArgumentError(SlicePipe, value);\n }\n return value.slice(start, end);\n };\n SlicePipe.prototype.supports = function (obj) { return typeof obj === 'string' || Array.isArray(obj); };\n SlicePipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'slice', pure: false },] },\n ];\n /** @nocollapse */\n SlicePipe.ctorParameters = [];\n return SlicePipe;\n }());\n\n /**\n * @ngModule CommonModule\n * @whatItDoes Transforms string to uppercase.\n * @howToUse `expression | uppercase`\n * @description\n *\n * Converts value into an uppercase string using `String.prototype.toUpperCase()`.\n *\n * ### Example\n *\n * {@example common/pipes/ts/lowerupper_pipe.ts region='LowerUpperPipe'}\n *\n * @stable\n */\n var UpperCasePipe = (function () {\n function UpperCasePipe() {\n }\n UpperCasePipe.prototype.transform = function (value) {\n if (isBlank(value))\n return value;\n if (typeof value !== 'string') {\n throw new InvalidPipeArgumentError(UpperCasePipe, value);\n }\n return value.toUpperCase();\n };\n UpperCasePipe.decorators = [\n { type: _angular_core.Pipe, args: [{ name: 'uppercase' },] },\n ];\n /** @nocollapse */\n UpperCasePipe.ctorParameters = [];\n return UpperCasePipe;\n }());\n\n /**\n * A collection of Angular pipes that are likely to be used in each and every application.\n */\n var COMMON_PIPES = [\n AsyncPipe,\n UpperCasePipe,\n LowerCasePipe,\n JsonPipe,\n SlicePipe,\n DecimalPipe,\n PercentPipe,\n CurrencyPipe,\n DatePipe,\n I18nPluralPipe,\n I18nSelectPipe,\n ];\n\n // Note: This does not contain the location providers,\n // as they need some platform specific implementations to work.\n /**\n * The module that includes all the basic Angular directives like {@link NgIf}, {@link NgFor}, ...\n *\n * @stable\n */\n var CommonModule = (function () {\n function CommonModule() {\n }\n CommonModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n declarations: [COMMON_DIRECTIVES, COMMON_PIPES],\n exports: [COMMON_DIRECTIVES, COMMON_PIPES],\n providers: [\n { provide: NgLocalization, useClass: NgLocaleLocalization },\n ],\n },] },\n ];\n /** @nocollapse */\n CommonModule.ctorParameters = [];\n return CommonModule;\n }());\n\n exports.NgLocalization = NgLocalization;\n exports.CommonModule = CommonModule;\n exports.NgClass = NgClass;\n exports.NgFor = NgFor;\n exports.NgIf = NgIf;\n exports.NgPlural = NgPlural;\n exports.NgPluralCase = NgPluralCase;\n exports.NgStyle = NgStyle;\n exports.NgSwitch = NgSwitch;\n exports.NgSwitchCase = NgSwitchCase;\n exports.NgSwitchDefault = NgSwitchDefault;\n exports.NgTemplateOutlet = NgTemplateOutlet;\n exports.AsyncPipe = AsyncPipe;\n exports.DatePipe = DatePipe;\n exports.I18nPluralPipe = I18nPluralPipe;\n exports.I18nSelectPipe = I18nSelectPipe;\n exports.JsonPipe = JsonPipe;\n exports.LowerCasePipe = LowerCasePipe;\n exports.CurrencyPipe = CurrencyPipe;\n exports.DecimalPipe = DecimalPipe;\n exports.PercentPipe = PercentPipe;\n exports.SlicePipe = SlicePipe;\n exports.UpperCasePipe = UpperCasePipe;\n exports.PlatformLocation = PlatformLocation;\n exports.LocationStrategy = LocationStrategy;\n exports.APP_BASE_HREF = APP_BASE_HREF;\n exports.HashLocationStrategy = HashLocationStrategy;\n exports.PathLocationStrategy = PathLocationStrategy;\n exports.Location = Location;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/common/bundles/common.umd.js\n// module id = 282\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/operator/toPromise'), require('rxjs/Subject'), require('rxjs/Observable'), require('rxjs/observable/fromPromise')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs/operator/toPromise', 'rxjs/Subject', 'rxjs/Observable', 'rxjs/observable/fromPromise'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.forms = global.ng.forms || {}),global.ng.core,global.Rx.Observable.prototype,global.Rx,global.Rx,global.Rx.Observable));\n}(this, function (exports,_angular_core,rxjs_operator_toPromise,rxjs_Subject,rxjs_Observable,rxjs_observable_fromPromise) { 'use strict';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Base class for control directives.\n *\n * Only used internally in the forms module.\n *\n * @stable\n */\n var AbstractControlDirective = (function () {\n function AbstractControlDirective() {\n }\n Object.defineProperty(AbstractControlDirective.prototype, \"control\", {\n get: function () { throw new Error('unimplemented'); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"value\", {\n get: function () { return this.control ? this.control.value : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"valid\", {\n get: function () { return this.control ? this.control.valid : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"invalid\", {\n get: function () { return this.control ? this.control.invalid : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"pending\", {\n get: function () { return this.control ? this.control.pending : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"errors\", {\n get: function () { return this.control ? this.control.errors : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"pristine\", {\n get: function () { return this.control ? this.control.pristine : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"dirty\", {\n get: function () { return this.control ? this.control.dirty : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"touched\", {\n get: function () { return this.control ? this.control.touched : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"untouched\", {\n get: function () { return this.control ? this.control.untouched : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"disabled\", {\n get: function () { return this.control ? this.control.disabled : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"enabled\", {\n get: function () { return this.control ? this.control.enabled : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"statusChanges\", {\n get: function () { return this.control ? this.control.statusChanges : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"valueChanges\", {\n get: function () { return this.control ? this.control.valueChanges : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlDirective.prototype, \"path\", {\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n AbstractControlDirective.prototype.reset = function (value) {\n if (value === void 0) { value = undefined; }\n if (this.control)\n this.control.reset(value);\n };\n AbstractControlDirective.prototype.hasError = function (errorCode, path) {\n if (path === void 0) { path = null; }\n return this.control ? this.control.hasError(errorCode, path) : false;\n };\n AbstractControlDirective.prototype.getError = function (errorCode, path) {\n if (path === void 0) { path = null; }\n return this.control ? this.control.getError(errorCode, path) : null;\n };\n return AbstractControlDirective;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * A directive that contains multiple {@link NgControl}s.\n *\n * Only used by the forms module.\n *\n * @stable\n */\n var ControlContainer = (function (_super) {\n __extends$1(ControlContainer, _super);\n function ControlContainer() {\n _super.apply(this, arguments);\n }\n Object.defineProperty(ControlContainer.prototype, \"formDirective\", {\n /**\n * Get the form to which this container belongs.\n */\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ControlContainer.prototype, \"path\", {\n /**\n * Get the path to this container.\n */\n get: function () { return null; },\n enumerable: true,\n configurable: true\n });\n return ControlContainer;\n }(AbstractControlDirective));\n\n function isPresent(obj) {\n return obj != null;\n }\n function isBlank(obj) {\n return obj == null;\n }\n // JS has NaN !== NaN\n function looseIdentical(a, b) {\n return a === b || typeof a === 'number' && typeof b === 'number' && isNaN(a) && isNaN(b);\n }\n function isJsObject(o) {\n return o !== null && (typeof o === 'function' || typeof o === 'object');\n }\n function isPrimitive(obj) {\n return !isJsObject(obj);\n }\n\n /**\n * Wraps Javascript Objects\n */\n var StringMapWrapper = (function () {\n function StringMapWrapper() {\n }\n StringMapWrapper.merge = function (m1, m2) {\n var m = {};\n for (var _i = 0, _a = Object.keys(m1); _i < _a.length; _i++) {\n var k = _a[_i];\n m[k] = m1[k];\n }\n for (var _b = 0, _c = Object.keys(m2); _b < _c.length; _b++) {\n var k = _c[_b];\n m[k] = m2[k];\n }\n return m;\n };\n StringMapWrapper.equals = function (m1, m2) {\n var k1 = Object.keys(m1);\n var k2 = Object.keys(m2);\n if (k1.length != k2.length) {\n return false;\n }\n for (var i = 0; i < k1.length; i++) {\n var key = k1[i];\n if (m1[key] !== m2[key]) {\n return false;\n }\n }\n return true;\n };\n return StringMapWrapper;\n }());\n var ListWrapper = (function () {\n function ListWrapper() {\n }\n ListWrapper.removeAll = function (list, items) {\n for (var i = 0; i < items.length; ++i) {\n var index = list.indexOf(items[i]);\n if (index > -1) {\n list.splice(index, 1);\n }\n }\n };\n ListWrapper.remove = function (list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\n return true;\n }\n return false;\n };\n ListWrapper.equals = function (a, b) {\n if (a.length != b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i] !== b[i])\n return false;\n }\n return true;\n };\n ListWrapper.flatten = function (list) {\n return list.reduce(function (flat, item) {\n var flatItem = Array.isArray(item) ? ListWrapper.flatten(item) : item;\n return flat.concat(flatItem);\n }, []);\n };\n return ListWrapper;\n }());\n\n var isPromise = _angular_core.__core_private__.isPromise;\n\n function isEmptyInputValue(value) {\n return value == null || typeof value === 'string' && value.length === 0;\n }\n /**\n * Providers for validators to be used for {@link FormControl}s in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * ### Example\n *\n * {@example core/forms/ts/ng_validators/ng_validators.ts region='ng_validators'}\n * @stable\n */\n var NG_VALIDATORS = new _angular_core.OpaqueToken('NgValidators');\n /**\n * Providers for asynchronous validators to be used for {@link FormControl}s\n * in a form.\n *\n * Provide this using `multi: true` to add validators.\n *\n * See {@link NG_VALIDATORS} for more details.\n *\n * @stable\n */\n var NG_ASYNC_VALIDATORS = new _angular_core.OpaqueToken('NgAsyncValidators');\n /**\n * Provides a set of validators used by form controls.\n *\n * A validator is a function that processes a {@link FormControl} or collection of\n * controls and returns a map of errors. A null map means that validation has passed.\n *\n * ### Example\n *\n * ```typescript\n * var loginControl = new FormControl(\"\", Validators.required)\n * ```\n *\n * @stable\n */\n var Validators = (function () {\n function Validators() {\n }\n /**\n * Validator that requires controls to have a non-empty value.\n */\n Validators.required = function (control) {\n return isEmptyInputValue(control.value) ? { 'required': true } : null;\n };\n /**\n * Validator that requires controls to have a value of a minimum length.\n */\n Validators.minLength = function (minLength) {\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length < minLength ?\n { 'minlength': { 'requiredLength': minLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires controls to have a value of a maximum length.\n */\n Validators.maxLength = function (maxLength) {\n return function (control) {\n var length = typeof control.value === 'string' ? control.value.length : 0;\n return length > maxLength ?\n { 'maxlength': { 'requiredLength': maxLength, 'actualLength': length } } :\n null;\n };\n };\n /**\n * Validator that requires a control to match a regex to its value.\n */\n Validators.pattern = function (pattern) {\n if (!pattern)\n return Validators.nullValidator;\n var regex;\n var regexStr;\n if (typeof pattern === 'string') {\n regexStr = \"^\" + pattern + \"$\";\n regex = new RegExp(regexStr);\n }\n else {\n regexStr = pattern.toString();\n regex = pattern;\n }\n return function (control) {\n if (isEmptyInputValue(control.value)) {\n return null; // don't validate empty values to allow optional controls\n }\n var value = control.value;\n return regex.test(value) ? null :\n { 'pattern': { 'requiredPattern': regexStr, 'actualValue': value } };\n };\n };\n /**\n * No-op validator.\n */\n Validators.nullValidator = function (c) { return null; };\n /**\n * Compose multiple validators into a single function that returns the union\n * of the individual error maps.\n */\n Validators.compose = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(isPresent);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n return _mergeErrors(_executeValidators(control, presentValidators));\n };\n };\n Validators.composeAsync = function (validators) {\n if (!validators)\n return null;\n var presentValidators = validators.filter(isPresent);\n if (presentValidators.length == 0)\n return null;\n return function (control) {\n var promises = _executeAsyncValidators(control, presentValidators).map(_convertToPromise);\n return Promise.all(promises).then(_mergeErrors);\n };\n };\n return Validators;\n }());\n function _convertToPromise(obj) {\n return isPromise(obj) ? obj : rxjs_operator_toPromise.toPromise.call(obj);\n }\n function _executeValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n }\n function _executeAsyncValidators(control, validators) {\n return validators.map(function (v) { return v(control); });\n }\n function _mergeErrors(arrayOfErrors) {\n var res = arrayOfErrors.reduce(function (res, errors) {\n return isPresent(errors) ? StringMapWrapper.merge(res, errors) : res;\n }, {});\n return Object.keys(res).length === 0 ? null : res;\n }\n\n /**\n * Used to provide a {@link ControlValueAccessor} for form controls.\n *\n * See {@link DefaultValueAccessor} for how to implement one.\n * @stable\n */\n var NG_VALUE_ACCESSOR = new _angular_core.OpaqueToken('NgValueAccessor');\n\n var CHECKBOX_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return CheckboxControlValueAccessor; }),\n multi: true,\n };\n /**\n * The accessor for writing a value and listening to changes on a checkbox input element.\n *\n * ### Example\n * ```\n * <input type=\"checkbox\" name=\"rememberLogin\" ngModel>\n * ```\n *\n * @stable\n */\n var CheckboxControlValueAccessor = (function () {\n function CheckboxControlValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n CheckboxControlValueAccessor.prototype.writeValue = function (value) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', value);\n };\n CheckboxControlValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\n CheckboxControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n CheckboxControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n CheckboxControlValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'input[type=checkbox][formControlName],input[type=checkbox][formControl],input[type=checkbox][ngModel]',\n host: { '(change)': 'onChange($event.target.checked)', '(blur)': 'onTouched()' },\n providers: [CHECKBOX_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n CheckboxControlValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return CheckboxControlValueAccessor;\n }());\n\n var DEFAULT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return DefaultValueAccessor; }),\n multi: true\n };\n /**\n * The default accessor for writing a value and listening to changes that is used by the\n * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n *\n * ### Example\n * ```\n * <input type=\"text\" name=\"searchQuery\" ngModel>\n * ```\n *\n * @stable\n */\n var DefaultValueAccessor = (function () {\n function DefaultValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n DefaultValueAccessor.prototype.writeValue = function (value) {\n var normalizedValue = value == null ? '' : value;\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n };\n DefaultValueAccessor.prototype.registerOnChange = function (fn) { this.onChange = fn; };\n DefaultValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n DefaultValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n DefaultValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]',\n // TODO: vsavkin replace the above selector with the one below it once\n // https://github.com/angular/angular/issues/3011 is implemented\n // selector: '[ngControl],[ngModel],[ngFormControl]',\n host: { '(input)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n providers: [DEFAULT_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n DefaultValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return DefaultValueAccessor;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function normalizeValidator(validator) {\n if (validator.validate) {\n return function (c) { return validator.validate(c); };\n }\n else {\n return validator;\n }\n }\n function normalizeAsyncValidator(validator) {\n if (validator.validate) {\n return function (c) { return validator.validate(c); };\n }\n else {\n return validator;\n }\n }\n\n var NUMBER_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return NumberValueAccessor; }),\n multi: true\n };\n /**\n * The accessor for writing a number value and listening to changes that is used by the\n * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n *\n * ### Example\n * ```\n * <input type=\"number\" [(ngModel)]=\"age\">\n * ```\n */\n var NumberValueAccessor = (function () {\n function NumberValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n NumberValueAccessor.prototype.writeValue = function (value) {\n // The value needs to be normalized for IE9, otherwise it is set to 'null' when null\n var normalizedValue = value == null ? '' : value;\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', normalizedValue);\n };\n NumberValueAccessor.prototype.registerOnChange = function (fn) {\n this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); };\n };\n NumberValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n NumberValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n NumberValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'input[type=number][formControlName],input[type=number][formControl],input[type=number][ngModel]',\n host: {\n '(change)': 'onChange($event.target.value)',\n '(input)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n providers: [NUMBER_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n NumberValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return NumberValueAccessor;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function unimplemented() {\n throw new Error('unimplemented');\n }\n /**\n * A base class that all control directive extend.\n * It binds a {@link FormControl} object to a DOM element.\n *\n * Used internally by Angular forms.\n *\n * @stable\n */\n var NgControl = (function (_super) {\n __extends$2(NgControl, _super);\n function NgControl() {\n _super.apply(this, arguments);\n /** @internal */\n this._parent = null;\n this.name = null;\n this.valueAccessor = null;\n /** @internal */\n this._rawValidators = [];\n /** @internal */\n this._rawAsyncValidators = [];\n }\n Object.defineProperty(NgControl.prototype, \"validator\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgControl.prototype, \"asyncValidator\", {\n get: function () { return unimplemented(); },\n enumerable: true,\n configurable: true\n });\n return NgControl;\n }(AbstractControlDirective));\n\n var RADIO_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return RadioControlValueAccessor; }),\n multi: true\n };\n /**\n * Internal class used by Angular to uncheck radio buttons with the matching name.\n */\n var RadioControlRegistry = (function () {\n function RadioControlRegistry() {\n this._accessors = [];\n }\n RadioControlRegistry.prototype.add = function (control, accessor) {\n this._accessors.push([control, accessor]);\n };\n RadioControlRegistry.prototype.remove = function (accessor) {\n for (var i = this._accessors.length - 1; i >= 0; --i) {\n if (this._accessors[i][1] === accessor) {\n this._accessors.splice(i, 1);\n return;\n }\n }\n };\n RadioControlRegistry.prototype.select = function (accessor) {\n var _this = this;\n this._accessors.forEach(function (c) {\n if (_this._isSameGroup(c, accessor) && c[1] !== accessor) {\n c[1].fireUncheck(accessor.value);\n }\n });\n };\n RadioControlRegistry.prototype._isSameGroup = function (controlPair, accessor) {\n if (!controlPair[0].control)\n return false;\n return controlPair[0]._parent === accessor._control._parent &&\n controlPair[1].name === accessor.name;\n };\n RadioControlRegistry.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n RadioControlRegistry.ctorParameters = [];\n return RadioControlRegistry;\n }());\n /**\n * @whatItDoes Writes radio control values and listens to radio control changes.\n *\n * Used by {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName}\n * to keep the view synced with the {@link FormControl} model.\n *\n * @howToUse\n *\n * If you have imported the {@link FormsModule} or the {@link ReactiveFormsModule}, this\n * value accessor will be active on any radio control that has a form directive. You do\n * **not** need to add a special selector to activate it.\n *\n * ### How to use radio buttons with form directives\n *\n * To use radio buttons in a template-driven form, you'll want to ensure that radio buttons\n * in the same group have the same `name` attribute. Radio buttons with different `name`\n * attributes do not affect each other.\n *\n * {@example forms/ts/radioButtons/radio_button_example.ts region='TemplateDriven'}\n *\n * When using radio buttons in a reactive form, radio buttons in the same group should have the\n * same `formControlName`. You can also add a `name` attribute, but it's optional.\n *\n * {@example forms/ts/reactiveRadioButtons/reactive_radio_button_example.ts region='Reactive'}\n *\n * * **npm package**: `@angular/forms`\n *\n * @stable\n */\n var RadioControlValueAccessor = (function () {\n function RadioControlValueAccessor(_renderer, _elementRef, _registry, _injector) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this._registry = _registry;\n this._injector = _injector;\n this.onChange = function () { };\n this.onTouched = function () { };\n }\n RadioControlValueAccessor.prototype.ngOnInit = function () {\n this._control = this._injector.get(NgControl);\n this._checkName();\n this._registry.add(this._control, this);\n };\n RadioControlValueAccessor.prototype.ngOnDestroy = function () { this._registry.remove(this); };\n RadioControlValueAccessor.prototype.writeValue = function (value) {\n this._state = value === this.value;\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'checked', this._state);\n };\n RadioControlValueAccessor.prototype.registerOnChange = function (fn) {\n var _this = this;\n this._fn = fn;\n this.onChange = function () {\n fn(_this.value);\n _this._registry.select(_this);\n };\n };\n RadioControlValueAccessor.prototype.fireUncheck = function (value) { this.writeValue(value); };\n RadioControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n RadioControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n RadioControlValueAccessor.prototype._checkName = function () {\n if (this.name && this.formControlName && this.name !== this.formControlName) {\n this._throwNameError();\n }\n if (!this.name && this.formControlName)\n this.name = this.formControlName;\n };\n RadioControlValueAccessor.prototype._throwNameError = function () {\n throw new Error(\"\\n If you define both a name and a formControlName attribute on your radio button, their values\\n must match. Ex: <input type=\\\"radio\\\" formControlName=\\\"food\\\" name=\\\"food\\\">\\n \");\n };\n RadioControlValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'input[type=radio][formControlName],input[type=radio][formControl],input[type=radio][ngModel]',\n host: { '(change)': 'onChange()', '(blur)': 'onTouched()' },\n providers: [RADIO_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n RadioControlValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n { type: RadioControlRegistry, },\n { type: _angular_core.Injector, },\n ];\n RadioControlValueAccessor.propDecorators = {\n 'name': [{ type: _angular_core.Input },],\n 'formControlName': [{ type: _angular_core.Input },],\n 'value': [{ type: _angular_core.Input },],\n };\n return RadioControlValueAccessor;\n }());\n\n var RANGE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return RangeValueAccessor; }),\n multi: true\n };\n /**\n * The accessor for writing a range value and listening to changes that is used by the\n * {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName} directives.\n *\n * ### Example\n * ```\n * <input type=\"range\" [(ngModel)]=\"age\" >\n * ```\n */\n var RangeValueAccessor = (function () {\n function RangeValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n RangeValueAccessor.prototype.writeValue = function (value) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', parseFloat(value));\n };\n RangeValueAccessor.prototype.registerOnChange = function (fn) {\n this.onChange = function (value) { fn(value == '' ? null : parseFloat(value)); };\n };\n RangeValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n RangeValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n RangeValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'input[type=range][formControlName],input[type=range][formControl],input[type=range][ngModel]',\n host: {\n '(change)': 'onChange($event.target.value)',\n '(input)': 'onChange($event.target.value)',\n '(blur)': 'onTouched()'\n },\n providers: [RANGE_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n RangeValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return RangeValueAccessor;\n }());\n\n var SELECT_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return SelectControlValueAccessor; }),\n multi: true\n };\n function _buildValueString(id, value) {\n if (id == null)\n return \"\" + value;\n if (!isPrimitive(value))\n value = 'Object';\n return (id + \": \" + value).slice(0, 50);\n }\n function _extractId(valueString) {\n return valueString.split(':')[0];\n }\n /**\n * @whatItDoes Writes values and listens to changes on a select element.\n *\n * Used by {@link NgModel}, {@link FormControlDirective}, and {@link FormControlName}\n * to keep the view synced with the {@link FormControl} model.\n *\n * @howToUse\n *\n * If you have imported the {@link FormsModule} or the {@link ReactiveFormsModule}, this\n * value accessor will be active on any select control that has a form directive. You do\n * **not** need to add a special selector to activate it.\n *\n * ### How to use select controls with form directives\n *\n * To use a select in a template-driven form, simply add an `ngModel` and a `name`\n * attribute to the main `<select>` tag.\n *\n * If your option values are simple strings, you can bind to the normal `value` property\n * on the option. If your option values happen to be objects (and you'd like to save the\n * selection in your form as an object), use `ngValue` instead:\n *\n * {@example forms/ts/selectControl/select_control_example.ts region='Component'}\n *\n * In reactive forms, you'll also want to add your form directive (`formControlName` or\n * `formControl`) on the main `<select>` tag. Like in the former example, you have the\n * choice of binding to the `value` or `ngValue` property on the select's options.\n *\n * {@example forms/ts/reactiveSelectControl/reactive_select_control_example.ts region='Component'}\n *\n * Note: We listen to the 'change' event because 'input' events aren't fired\n * for selects in Firefox and IE:\n * https://bugzilla.mozilla.org/show_bug.cgi?id=1024350\n * https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/4660045/\n *\n * * **npm package**: `@angular/forms`\n *\n * @stable\n */\n var SelectControlValueAccessor = (function () {\n function SelectControlValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n /** @internal */\n this._optionMap = new Map();\n /** @internal */\n this._idCounter = 0;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n SelectControlValueAccessor.prototype.writeValue = function (value) {\n this.value = value;\n var valueString = _buildValueString(this._getOptionId(value), value);\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'value', valueString);\n };\n SelectControlValueAccessor.prototype.registerOnChange = function (fn) {\n var _this = this;\n this.onChange = function (valueString) {\n _this.value = valueString;\n fn(_this._getOptionValue(valueString));\n };\n };\n SelectControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n SelectControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n /** @internal */\n SelectControlValueAccessor.prototype._registerOption = function () { return (this._idCounter++).toString(); };\n /** @internal */\n SelectControlValueAccessor.prototype._getOptionId = function (value) {\n for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) {\n var id = _a[_i];\n if (looseIdentical(this._optionMap.get(id), value))\n return id;\n }\n return null;\n };\n /** @internal */\n SelectControlValueAccessor.prototype._getOptionValue = function (valueString) {\n var id = _extractId(valueString);\n return this._optionMap.has(id) ? this._optionMap.get(id) : valueString;\n };\n SelectControlValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'select:not([multiple])[formControlName],select:not([multiple])[formControl],select:not([multiple])[ngModel]',\n host: { '(change)': 'onChange($event.target.value)', '(blur)': 'onTouched()' },\n providers: [SELECT_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n SelectControlValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return SelectControlValueAccessor;\n }());\n /**\n * @whatItDoes Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * @howToUse\n *\n * See docs for {@link SelectControlValueAccessor} for usage examples.\n *\n * @stable\n */\n var NgSelectOption = (function () {\n function NgSelectOption(_element, _renderer, _select) {\n this._element = _element;\n this._renderer = _renderer;\n this._select = _select;\n if (this._select)\n this.id = this._select._registerOption();\n }\n Object.defineProperty(NgSelectOption.prototype, \"ngValue\", {\n set: function (value) {\n if (this._select == null)\n return;\n this._select._optionMap.set(this.id, value);\n this._setElementValue(_buildValueString(this.id, value));\n this._select.writeValue(this._select.value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgSelectOption.prototype, \"value\", {\n set: function (value) {\n this._setElementValue(value);\n if (this._select)\n this._select.writeValue(this._select.value);\n },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n NgSelectOption.prototype._setElementValue = function (value) {\n this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\n };\n NgSelectOption.prototype.ngOnDestroy = function () {\n if (this._select) {\n this._select._optionMap.delete(this.id);\n this._select.writeValue(this._select.value);\n }\n };\n NgSelectOption.decorators = [\n { type: _angular_core.Directive, args: [{ selector: 'option' },] },\n ];\n /** @nocollapse */\n NgSelectOption.ctorParameters = [\n { type: _angular_core.ElementRef, },\n { type: _angular_core.Renderer, },\n { type: SelectControlValueAccessor, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n ];\n NgSelectOption.propDecorators = {\n 'ngValue': [{ type: _angular_core.Input, args: ['ngValue',] },],\n 'value': [{ type: _angular_core.Input, args: ['value',] },],\n };\n return NgSelectOption;\n }());\n\n var SELECT_MULTIPLE_VALUE_ACCESSOR = {\n provide: NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return SelectMultipleControlValueAccessor; }),\n multi: true\n };\n function _buildValueString$1(id, value) {\n if (id == null)\n return \"\" + value;\n if (typeof value === 'string')\n value = \"'\" + value + \"'\";\n if (!isPrimitive(value))\n value = 'Object';\n return (id + \": \" + value).slice(0, 50);\n }\n function _extractId$1(valueString) {\n return valueString.split(':')[0];\n }\n /**\n * The accessor for writing a value and listening to changes on a select element.\n *\n * @stable\n */\n var SelectMultipleControlValueAccessor = (function () {\n function SelectMultipleControlValueAccessor(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n /** @internal */\n this._optionMap = new Map();\n /** @internal */\n this._idCounter = 0;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n }\n SelectMultipleControlValueAccessor.prototype.writeValue = function (value) {\n var _this = this;\n this.value = value;\n if (value == null)\n return;\n var values = value;\n // convert values to ids\n var ids = values.map(function (v) { return _this._getOptionId(v); });\n this._optionMap.forEach(function (opt, o) { opt._setSelected(ids.indexOf(o.toString()) > -1); });\n };\n SelectMultipleControlValueAccessor.prototype.registerOnChange = function (fn) {\n var _this = this;\n this.onChange = function (_) {\n var selected = [];\n if (_.hasOwnProperty('selectedOptions')) {\n var options = _.selectedOptions;\n for (var i = 0; i < options.length; i++) {\n var opt = options.item(i);\n var val = _this._getOptionValue(opt.value);\n selected.push(val);\n }\n }\n else {\n var options = _.options;\n for (var i = 0; i < options.length; i++) {\n var opt = options.item(i);\n if (opt.selected) {\n var val = _this._getOptionValue(opt.value);\n selected.push(val);\n }\n }\n }\n fn(selected);\n };\n };\n SelectMultipleControlValueAccessor.prototype.registerOnTouched = function (fn) { this.onTouched = fn; };\n SelectMultipleControlValueAccessor.prototype.setDisabledState = function (isDisabled) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'disabled', isDisabled);\n };\n /** @internal */\n SelectMultipleControlValueAccessor.prototype._registerOption = function (value) {\n var id = (this._idCounter++).toString();\n this._optionMap.set(id, value);\n return id;\n };\n /** @internal */\n SelectMultipleControlValueAccessor.prototype._getOptionId = function (value) {\n for (var _i = 0, _a = Array.from(this._optionMap.keys()); _i < _a.length; _i++) {\n var id = _a[_i];\n if (looseIdentical(this._optionMap.get(id)._value, value))\n return id;\n }\n return null;\n };\n /** @internal */\n SelectMultipleControlValueAccessor.prototype._getOptionValue = function (valueString) {\n var id = _extractId$1(valueString);\n return this._optionMap.has(id) ? this._optionMap.get(id)._value : valueString;\n };\n SelectMultipleControlValueAccessor.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'select[multiple][formControlName],select[multiple][formControl],select[multiple][ngModel]',\n host: { '(change)': 'onChange($event.target)', '(blur)': 'onTouched()' },\n providers: [SELECT_MULTIPLE_VALUE_ACCESSOR]\n },] },\n ];\n /** @nocollapse */\n SelectMultipleControlValueAccessor.ctorParameters = [\n { type: _angular_core.Renderer, },\n { type: _angular_core.ElementRef, },\n ];\n return SelectMultipleControlValueAccessor;\n }());\n /**\n * Marks `<option>` as dynamic, so Angular can be notified when options change.\n *\n * ### Example\n *\n * ```\n * <select multiple name=\"city\" ngModel>\n * <option *ngFor=\"let c of cities\" [value]=\"c\"></option>\n * </select>\n * ```\n */\n var NgSelectMultipleOption = (function () {\n function NgSelectMultipleOption(_element, _renderer, _select) {\n this._element = _element;\n this._renderer = _renderer;\n this._select = _select;\n if (this._select) {\n this.id = this._select._registerOption(this);\n }\n }\n Object.defineProperty(NgSelectMultipleOption.prototype, \"ngValue\", {\n set: function (value) {\n if (this._select == null)\n return;\n this._value = value;\n this._setElementValue(_buildValueString$1(this.id, value));\n this._select.writeValue(this._select.value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgSelectMultipleOption.prototype, \"value\", {\n set: function (value) {\n if (this._select) {\n this._value = value;\n this._setElementValue(_buildValueString$1(this.id, value));\n this._select.writeValue(this._select.value);\n }\n else {\n this._setElementValue(value);\n }\n },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n NgSelectMultipleOption.prototype._setElementValue = function (value) {\n this._renderer.setElementProperty(this._element.nativeElement, 'value', value);\n };\n /** @internal */\n NgSelectMultipleOption.prototype._setSelected = function (selected) {\n this._renderer.setElementProperty(this._element.nativeElement, 'selected', selected);\n };\n NgSelectMultipleOption.prototype.ngOnDestroy = function () {\n if (this._select) {\n this._select._optionMap.delete(this.id);\n this._select.writeValue(this._select.value);\n }\n };\n NgSelectMultipleOption.decorators = [\n { type: _angular_core.Directive, args: [{ selector: 'option' },] },\n ];\n /** @nocollapse */\n NgSelectMultipleOption.ctorParameters = [\n { type: _angular_core.ElementRef, },\n { type: _angular_core.Renderer, },\n { type: SelectMultipleControlValueAccessor, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n ];\n NgSelectMultipleOption.propDecorators = {\n 'ngValue': [{ type: _angular_core.Input, args: ['ngValue',] },],\n 'value': [{ type: _angular_core.Input, args: ['value',] },],\n };\n return NgSelectMultipleOption;\n }());\n\n function controlPath(name, parent) {\n return parent.path.concat([name]);\n }\n function setUpControl(control, dir) {\n if (!control)\n _throwError(dir, 'Cannot find control with');\n if (!dir.valueAccessor)\n _throwError(dir, 'No value accessor for form control with');\n control.validator = Validators.compose([control.validator, dir.validator]);\n control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n dir.valueAccessor.writeValue(control.value);\n // view -> model\n dir.valueAccessor.registerOnChange(function (newValue) {\n dir.viewToModelUpdate(newValue);\n control.markAsDirty();\n control.setValue(newValue, { emitModelToViewChange: false });\n });\n // touched\n dir.valueAccessor.registerOnTouched(function () { return control.markAsTouched(); });\n control.registerOnChange(function (newValue, emitModelEvent) {\n // control -> view\n dir.valueAccessor.writeValue(newValue);\n // control -> ngModel\n if (emitModelEvent)\n dir.viewToModelUpdate(newValue);\n });\n if (dir.valueAccessor.setDisabledState) {\n control.registerOnDisabledChange(function (isDisabled) { dir.valueAccessor.setDisabledState(isDisabled); });\n }\n // re-run validation when validator binding changes, e.g. minlength=3 -> minlength=4\n dir._rawValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange)\n validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n });\n dir._rawAsyncValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange)\n validator.registerOnValidatorChange(function () { return control.updateValueAndValidity(); });\n });\n }\n function cleanUpControl(control, dir) {\n dir.valueAccessor.registerOnChange(function () { return _noControlError(dir); });\n dir.valueAccessor.registerOnTouched(function () { return _noControlError(dir); });\n dir._rawValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange) {\n validator.registerOnValidatorChange(null);\n }\n });\n dir._rawAsyncValidators.forEach(function (validator) {\n if (validator.registerOnValidatorChange) {\n validator.registerOnValidatorChange(null);\n }\n });\n if (control)\n control._clearChangeFns();\n }\n function setUpFormContainer(control, dir) {\n if (isBlank(control))\n _throwError(dir, 'Cannot find control with');\n control.validator = Validators.compose([control.validator, dir.validator]);\n control.asyncValidator = Validators.composeAsync([control.asyncValidator, dir.asyncValidator]);\n }\n function _noControlError(dir) {\n return _throwError(dir, 'There is no FormControl instance attached to form control element with');\n }\n function _throwError(dir, message) {\n var messageEnd;\n if (dir.path.length > 1) {\n messageEnd = \"path: '\" + dir.path.join(' -> ') + \"'\";\n }\n else if (dir.path[0]) {\n messageEnd = \"name: '\" + dir.path + \"'\";\n }\n else {\n messageEnd = 'unspecified name attribute';\n }\n throw new Error(message + \" \" + messageEnd);\n }\n function composeValidators(validators) {\n return isPresent(validators) ? Validators.compose(validators.map(normalizeValidator)) : null;\n }\n function composeAsyncValidators(validators) {\n return isPresent(validators) ? Validators.composeAsync(validators.map(normalizeAsyncValidator)) :\n null;\n }\n function isPropertyUpdated(changes, viewModel) {\n if (!changes.hasOwnProperty('model'))\n return false;\n var change = changes['model'];\n if (change.isFirstChange())\n return true;\n return !looseIdentical(viewModel, change.currentValue);\n }\n var BUILTIN_ACCESSORS = [\n CheckboxControlValueAccessor,\n RangeValueAccessor,\n NumberValueAccessor,\n SelectControlValueAccessor,\n SelectMultipleControlValueAccessor,\n RadioControlValueAccessor,\n ];\n function isBuiltInAccessor(valueAccessor) {\n return BUILTIN_ACCESSORS.some(function (a) { return valueAccessor.constructor === a; });\n }\n // TODO: vsavkin remove it once https://github.com/angular/angular/issues/3011 is implemented\n function selectValueAccessor(dir, valueAccessors) {\n if (!valueAccessors)\n return null;\n var defaultAccessor;\n var builtinAccessor;\n var customAccessor;\n valueAccessors.forEach(function (v) {\n if (v.constructor === DefaultValueAccessor) {\n defaultAccessor = v;\n }\n else if (isBuiltInAccessor(v)) {\n if (builtinAccessor)\n _throwError(dir, 'More than one built-in value accessor matches form control with');\n builtinAccessor = v;\n }\n else {\n if (customAccessor)\n _throwError(dir, 'More than one custom value accessor matches form control with');\n customAccessor = v;\n }\n });\n if (customAccessor)\n return customAccessor;\n if (builtinAccessor)\n return builtinAccessor;\n if (defaultAccessor)\n return defaultAccessor;\n _throwError(dir, 'No valid value accessor for form control with');\n return null;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * This is a base class for code shared between {@link NgModelGroup} and {@link FormGroupName}.\n *\n * @stable\n */\n var AbstractFormGroupDirective = (function (_super) {\n __extends(AbstractFormGroupDirective, _super);\n function AbstractFormGroupDirective() {\n _super.apply(this, arguments);\n }\n AbstractFormGroupDirective.prototype.ngOnInit = function () {\n this._checkParentType();\n this.formDirective.addFormGroup(this);\n };\n AbstractFormGroupDirective.prototype.ngOnDestroy = function () {\n if (this.formDirective) {\n this.formDirective.removeFormGroup(this);\n }\n };\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"control\", {\n /**\n * Get the {@link FormGroup} backing this binding.\n */\n get: function () { return this.formDirective.getFormGroup(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"path\", {\n /**\n * Get the path to this control group.\n */\n get: function () { return controlPath(this.name, this._parent); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"formDirective\", {\n /**\n * Get the {@link Form} to which this group belongs.\n */\n get: function () { return this._parent ? this._parent.formDirective : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"validator\", {\n get: function () { return composeValidators(this._validators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractFormGroupDirective.prototype, \"asyncValidator\", {\n get: function () { return composeAsyncValidators(this._asyncValidators); },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n AbstractFormGroupDirective.prototype._checkParentType = function () { };\n return AbstractFormGroupDirective;\n }(ControlContainer));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var AbstractControlStatus = (function () {\n function AbstractControlStatus(cd) {\n this._cd = cd;\n }\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassUntouched\", {\n get: function () { return this._cd.control ? this._cd.control.untouched : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassTouched\", {\n get: function () { return this._cd.control ? this._cd.control.touched : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassPristine\", {\n get: function () { return this._cd.control ? this._cd.control.pristine : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassDirty\", {\n get: function () { return this._cd.control ? this._cd.control.dirty : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassValid\", {\n get: function () { return this._cd.control ? this._cd.control.valid : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassInvalid\", {\n get: function () { return this._cd.control ? this._cd.control.invalid : false; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControlStatus.prototype, \"ngClassPending\", {\n get: function () { return this._cd.control ? this._cd.control.pending : false; },\n enumerable: true,\n configurable: true\n });\n return AbstractControlStatus;\n }());\n var ngControlStatusHost = {\n '[class.ng-untouched]': 'ngClassUntouched',\n '[class.ng-touched]': 'ngClassTouched',\n '[class.ng-pristine]': 'ngClassPristine',\n '[class.ng-dirty]': 'ngClassDirty',\n '[class.ng-valid]': 'ngClassValid',\n '[class.ng-invalid]': 'ngClassInvalid',\n '[class.ng-pending]': 'ngClassPending',\n };\n /**\n * Directive automatically applied to Angular form controls that sets CSS classes\n * based on control status (valid/invalid/dirty/etc).\n *\n * @stable\n */\n var NgControlStatus = (function (_super) {\n __extends$3(NgControlStatus, _super);\n function NgControlStatus(cd) {\n _super.call(this, cd);\n }\n NgControlStatus.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[formControlName],[ngModel],[formControl]', host: ngControlStatusHost },] },\n ];\n /** @nocollapse */\n NgControlStatus.ctorParameters = [\n { type: NgControl, decorators: [{ type: _angular_core.Self },] },\n ];\n return NgControlStatus;\n }(AbstractControlStatus));\n /**\n * Directive automatically applied to Angular form groups that sets CSS classes\n * based on control status (valid/invalid/dirty/etc).\n *\n * @stable\n */\n var NgControlStatusGroup = (function (_super) {\n __extends$3(NgControlStatusGroup, _super);\n function NgControlStatusGroup(cd) {\n _super.call(this, cd);\n }\n NgControlStatusGroup.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]',\n host: ngControlStatusHost\n },] },\n ];\n /** @nocollapse */\n NgControlStatusGroup.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Self },] },\n ];\n return NgControlStatusGroup;\n }(AbstractControlStatus));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Use by directives and components to emit custom Events.\n *\n * ### Examples\n *\n * In the following example, `Zippy` alternatively emits `open` and `close` events when its\n * title gets clicked:\n *\n * ```\n * @Component({\n * selector: 'zippy',\n * template: `\n * <div class=\"zippy\">\n * <div (click)=\"toggle()\">Toggle</div>\n * <div [hidden]=\"!visible\">\n * <ng-content></ng-content>\n * </div>\n * </div>`})\n * export class Zippy {\n * visible: boolean = true;\n * @Output() open: EventEmitter<any> = new EventEmitter();\n * @Output() close: EventEmitter<any> = new EventEmitter();\n *\n * toggle() {\n * this.visible = !this.visible;\n * if (this.visible) {\n * this.open.emit(null);\n * } else {\n * this.close.emit(null);\n * }\n * }\n * }\n * ```\n *\n * The events payload can be accessed by the parameter `$event` on the components output event\n * handler:\n *\n * ```\n * <zippy (open)=\"onOpen($event)\" (close)=\"onClose($event)\"></zippy>\n * ```\n *\n * Uses Rx.Observable but provides an adapter to make it work as specified here:\n * https://github.com/jhusain/observable-spec\n *\n * Once a reference implementation of the spec is available, switch to it.\n * @stable\n */\n var EventEmitter = (function (_super) {\n __extends$5(EventEmitter, _super);\n /**\n * Creates an instance of [EventEmitter], which depending on [isAsync],\n * delivers events synchronously or asynchronously.\n */\n function EventEmitter(isAsync) {\n if (isAsync === void 0) { isAsync = false; }\n _super.call(this);\n this.__isAsync = isAsync;\n }\n EventEmitter.prototype.emit = function (value) { _super.prototype.next.call(this, value); };\n EventEmitter.prototype.subscribe = function (generatorOrNext, error, complete) {\n var schedulerFn;\n var errorFn = function (err) { return null; };\n var completeFn = function () { return null; };\n if (generatorOrNext && typeof generatorOrNext === 'object') {\n schedulerFn = this.__isAsync ? function (value) {\n setTimeout(function () { return generatorOrNext.next(value); });\n } : function (value) { generatorOrNext.next(value); };\n if (generatorOrNext.error) {\n errorFn = this.__isAsync ? function (err) { setTimeout(function () { return generatorOrNext.error(err); }); } :\n function (err) { generatorOrNext.error(err); };\n }\n if (generatorOrNext.complete) {\n completeFn = this.__isAsync ? function () { setTimeout(function () { return generatorOrNext.complete(); }); } :\n function () { generatorOrNext.complete(); };\n }\n }\n else {\n schedulerFn = this.__isAsync ? function (value) { setTimeout(function () { return generatorOrNext(value); }); } :\n function (value) { generatorOrNext(value); };\n if (error) {\n errorFn =\n this.__isAsync ? function (err) { setTimeout(function () { return error(err); }); } : function (err) { error(err); };\n }\n if (complete) {\n completeFn =\n this.__isAsync ? function () { setTimeout(function () { return complete(); }); } : function () { complete(); };\n }\n }\n return _super.prototype.subscribe.call(this, schedulerFn, errorFn, completeFn);\n };\n return EventEmitter;\n }(rxjs_Subject.Subject));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$6 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Indicates that a FormControl is valid, i.e. that no errors exist in the input value.\n */\n var VALID = 'VALID';\n /**\n * Indicates that a FormControl is invalid, i.e. that an error exists in the input value.\n */\n var INVALID = 'INVALID';\n /**\n * Indicates that a FormControl is pending, i.e. that async validation is occurring and\n * errors are not yet available for the input value.\n */\n var PENDING = 'PENDING';\n /**\n * Indicates that a FormControl is disabled, i.e. that the control is exempt from ancestor\n * calculations of validity or value.\n */\n var DISABLED = 'DISABLED';\n function _find(control, path, delimiter) {\n if (path == null)\n return null;\n if (!(path instanceof Array)) {\n path = path.split(delimiter);\n }\n if (path instanceof Array && (path.length === 0))\n return null;\n return path.reduce(function (v, name) {\n if (v instanceof FormGroup) {\n return v.controls[name] || null;\n }\n if (v instanceof FormArray) {\n return v.at(name) || null;\n }\n return null;\n }, control);\n }\n function toObservable(r) {\n return isPromise(r) ? rxjs_observable_fromPromise.fromPromise(r) : r;\n }\n function coerceToValidator(validator) {\n return Array.isArray(validator) ? composeValidators(validator) : validator;\n }\n function coerceToAsyncValidator(asyncValidator) {\n return Array.isArray(asyncValidator) ? composeAsyncValidators(asyncValidator) : asyncValidator;\n }\n /**\n * @whatItDoes This is the base class for {@link FormControl}, {@link FormGroup}, and\n * {@link FormArray}.\n *\n * It provides some of the shared behavior that all controls and groups of controls have, like\n * running validators, calculating status, and resetting state. It also defines the properties\n * that are shared between all sub-classes, like `value`, `valid`, and `dirty`. It shouldn't be\n * instantiated directly.\n *\n * @stable\n */\n var AbstractControl = (function () {\n function AbstractControl(validator, asyncValidator) {\n this.validator = validator;\n this.asyncValidator = asyncValidator;\n /** @internal */\n this._onCollectionChange = function () { };\n this._pristine = true;\n this._touched = false;\n /** @internal */\n this._onDisabledChange = [];\n }\n Object.defineProperty(AbstractControl.prototype, \"value\", {\n /**\n * The value of the control.\n */\n get: function () { return this._value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"parent\", {\n /**\n * The parent control.\n */\n get: function () { return this._parent; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"status\", {\n /**\n * The validation status of the control. There are four possible\n * validation statuses:\n *\n * * **VALID**: control has passed all validation checks\n * * **INVALID**: control has failed at least one validation check\n * * **PENDING**: control is in the midst of conducting a validation check\n * * **DISABLED**: control is exempt from validation checks\n *\n * These statuses are mutually exclusive, so a control cannot be\n * both valid AND invalid or invalid AND disabled.\n */\n get: function () { return this._status; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"valid\", {\n /**\n * A control is `valid` when its `status === VALID`.\n *\n * In order to have this status, the control must have passed all its\n * validation checks.\n */\n get: function () { return this._status === VALID; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"invalid\", {\n /**\n * A control is `invalid` when its `status === INVALID`.\n *\n * In order to have this status, the control must have failed\n * at least one of its validation checks.\n */\n get: function () { return this._status === INVALID; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"pending\", {\n /**\n * A control is `pending` when its `status === PENDING`.\n *\n * In order to have this status, the control must be in the\n * middle of conducting a validation check.\n */\n get: function () { return this._status == PENDING; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"disabled\", {\n /**\n * A control is `disabled` when its `status === DISABLED`.\n *\n * Disabled controls are exempt from validation checks and\n * are not included in the aggregate value of their ancestor\n * controls.\n */\n get: function () { return this._status === DISABLED; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"enabled\", {\n /**\n * A control is `enabled` as long as its `status !== DISABLED`.\n *\n * In other words, it has a status of `VALID`, `INVALID`, or\n * `PENDING`.\n */\n get: function () { return this._status !== DISABLED; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"errors\", {\n /**\n * Returns any errors generated by failing validation. If there\n * are no errors, it will return null.\n */\n get: function () { return this._errors; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"pristine\", {\n /**\n * A control is `pristine` if the user has not yet changed\n * the value in the UI.\n *\n * Note that programmatic changes to a control's value will\n * *not* mark it dirty.\n */\n get: function () { return this._pristine; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"dirty\", {\n /**\n * A control is `dirty` if the user has changed the value\n * in the UI.\n *\n * Note that programmatic changes to a control's value will\n * *not* mark it dirty.\n */\n get: function () { return !this.pristine; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"touched\", {\n /**\n * A control is marked `touched` once the user has triggered\n * a `blur` event on it.\n */\n get: function () { return this._touched; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"untouched\", {\n /**\n * A control is `untouched` if the user has not yet triggered\n * a `blur` event on it.\n */\n get: function () { return !this._touched; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"valueChanges\", {\n /**\n * Emits an event every time the value of the control changes, in\n * the UI or programmatically.\n */\n get: function () { return this._valueChanges; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(AbstractControl.prototype, \"statusChanges\", {\n /**\n * Emits an event every time the validation status of the control\n * is re-calculated.\n */\n get: function () { return this._statusChanges; },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the synchronous validators that are active on this control. Calling\n * this will overwrite any existing sync validators.\n */\n AbstractControl.prototype.setValidators = function (newValidator) {\n this.validator = coerceToValidator(newValidator);\n };\n /**\n * Sets the async validators that are active on this control. Calling this\n * will overwrite any existing async validators.\n */\n AbstractControl.prototype.setAsyncValidators = function (newValidator) {\n this.asyncValidator = coerceToAsyncValidator(newValidator);\n };\n /**\n * Empties out the sync validator list.\n */\n AbstractControl.prototype.clearValidators = function () { this.validator = null; };\n /**\n * Empties out the async validator list.\n */\n AbstractControl.prototype.clearAsyncValidators = function () { this.asyncValidator = null; };\n /**\n * Marks the control as `touched`.\n *\n * This will also mark all direct ancestors as `touched` to maintain\n * the model.\n */\n AbstractControl.prototype.markAsTouched = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._touched = true;\n if (this._parent && !onlySelf) {\n this._parent.markAsTouched({ onlySelf: onlySelf });\n }\n };\n /**\n * Marks the control as `untouched`.\n *\n * If the control has any children, it will also mark all children as `untouched`\n * to maintain the model, and re-calculate the `touched` status of all parent\n * controls.\n */\n AbstractControl.prototype.markAsUntouched = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._touched = false;\n this._forEachChild(function (control) { control.markAsUntouched({ onlySelf: true }); });\n if (this._parent && !onlySelf) {\n this._parent._updateTouched({ onlySelf: onlySelf });\n }\n };\n /**\n * Marks the control as `dirty`.\n *\n * This will also mark all direct ancestors as `dirty` to maintain\n * the model.\n */\n AbstractControl.prototype.markAsDirty = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._pristine = false;\n if (this._parent && !onlySelf) {\n this._parent.markAsDirty({ onlySelf: onlySelf });\n }\n };\n /**\n * Marks the control as `pristine`.\n *\n * If the control has any children, it will also mark all children as `pristine`\n * to maintain the model, and re-calculate the `pristine` status of all parent\n * controls.\n */\n AbstractControl.prototype.markAsPristine = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._pristine = true;\n this._forEachChild(function (control) { control.markAsPristine({ onlySelf: true }); });\n if (this._parent && !onlySelf) {\n this._parent._updatePristine({ onlySelf: onlySelf });\n }\n };\n /**\n * Marks the control as `pending`.\n */\n AbstractControl.prototype.markAsPending = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._status = PENDING;\n if (this._parent && !onlySelf) {\n this._parent.markAsPending({ onlySelf: onlySelf });\n }\n };\n /**\n * Disables the control. This means the control will be exempt from validation checks and\n * excluded from the aggregate value of any parent. Its status is `DISABLED`.\n *\n * If the control has children, all children will be disabled to maintain the model.\n */\n AbstractControl.prototype.disable = function (_a) {\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._status = DISABLED;\n this._errors = null;\n this._forEachChild(function (control) { control.disable({ onlySelf: true }); });\n this._updateValue();\n if (emitEvent !== false) {\n this._valueChanges.emit(this._value);\n this._statusChanges.emit(this._status);\n }\n this._updateAncestors(onlySelf);\n this._onDisabledChange.forEach(function (changeFn) { return changeFn(true); });\n };\n /**\n * Enables the control. This means the control will be included in validation checks and\n * the aggregate value of its parent. Its status is re-calculated based on its value and\n * its validators.\n *\n * If the control has children, all children will be enabled.\n */\n AbstractControl.prototype.enable = function (_a) {\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._status = VALID;\n this._forEachChild(function (control) { control.enable({ onlySelf: true }); });\n this.updateValueAndValidity({ onlySelf: true, emitEvent: emitEvent });\n this._updateAncestors(onlySelf);\n this._onDisabledChange.forEach(function (changeFn) { return changeFn(false); });\n };\n AbstractControl.prototype._updateAncestors = function (onlySelf) {\n if (this._parent && !onlySelf) {\n this._parent.updateValueAndValidity();\n this._parent._updatePristine();\n this._parent._updateTouched();\n }\n };\n AbstractControl.prototype.setParent = function (parent) { this._parent = parent; };\n /**\n * Re-calculates the value and validation status of the control.\n *\n * By default, it will also update the value and validity of its ancestors.\n */\n AbstractControl.prototype.updateValueAndValidity = function (_a) {\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._setInitialStatus();\n this._updateValue();\n if (this.enabled) {\n this._errors = this._runValidator();\n this._status = this._calculateStatus();\n if (this._status === VALID || this._status === PENDING) {\n this._runAsyncValidator(emitEvent);\n }\n }\n if (emitEvent !== false) {\n this._valueChanges.emit(this._value);\n this._statusChanges.emit(this._status);\n }\n if (this._parent && !onlySelf) {\n this._parent.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n }\n };\n /** @internal */\n AbstractControl.prototype._updateTreeValidity = function (_a) {\n var emitEvent = (_a === void 0 ? { emitEvent: true } : _a).emitEvent;\n this._forEachChild(function (ctrl) { return ctrl._updateTreeValidity({ emitEvent: emitEvent }); });\n this.updateValueAndValidity({ onlySelf: true, emitEvent: emitEvent });\n };\n AbstractControl.prototype._setInitialStatus = function () { this._status = this._allControlsDisabled() ? DISABLED : VALID; };\n AbstractControl.prototype._runValidator = function () {\n return this.validator ? this.validator(this) : null;\n };\n AbstractControl.prototype._runAsyncValidator = function (emitEvent) {\n var _this = this;\n if (this.asyncValidator) {\n this._status = PENDING;\n this._cancelExistingSubscription();\n var obs = toObservable(this.asyncValidator(this));\n this._asyncValidationSubscription =\n obs.subscribe({ next: function (res) { return _this.setErrors(res, { emitEvent: emitEvent }); } });\n }\n };\n AbstractControl.prototype._cancelExistingSubscription = function () {\n if (this._asyncValidationSubscription) {\n this._asyncValidationSubscription.unsubscribe();\n }\n };\n /**\n * Sets errors on a form control.\n *\n * This is used when validations are run manually by the user, rather than automatically.\n *\n * Calling `setErrors` will also update the validity of the parent control.\n *\n * ### Example\n *\n * ```\n * const login = new FormControl(\"someLogin\");\n * login.setErrors({\n * \"notUnique\": true\n * });\n *\n * expect(login.valid).toEqual(false);\n * expect(login.errors).toEqual({\"notUnique\": true});\n *\n * login.setValue(\"someOtherLogin\");\n *\n * expect(login.valid).toEqual(true);\n * ```\n */\n AbstractControl.prototype.setErrors = function (errors, _a) {\n var emitEvent = (_a === void 0 ? {} : _a).emitEvent;\n this._errors = errors;\n this._updateControlsErrors(emitEvent !== false);\n };\n /**\n * Retrieves a child control given the control's name or path.\n *\n * Paths can be passed in as an array or a string delimited by a dot.\n *\n * To get a control nested within a `person` sub-group:\n *\n * * `this.form.get('person.name');`\n *\n * -OR-\n *\n * * `this.form.get(['person', 'name']);`\n */\n AbstractControl.prototype.get = function (path) { return _find(this, path, '.'); };\n /**\n * Returns true if the control with the given path has the error specified. Otherwise\n * returns null or undefined.\n *\n * If no path is given, it checks for the error on the present control.\n */\n AbstractControl.prototype.getError = function (errorCode, path) {\n if (path === void 0) { path = null; }\n var control = path ? this.get(path) : this;\n return control && control._errors ? control._errors[errorCode] : null;\n };\n /**\n * Returns true if the control with the given path has the error specified. Otherwise\n * returns false.\n *\n * If no path is given, it checks for the error on the present control.\n */\n AbstractControl.prototype.hasError = function (errorCode, path) {\n if (path === void 0) { path = null; }\n return !!this.getError(errorCode, path);\n };\n Object.defineProperty(AbstractControl.prototype, \"root\", {\n /**\n * Retrieves the top-level ancestor of this control.\n */\n get: function () {\n var x = this;\n while (x._parent) {\n x = x._parent;\n }\n return x;\n },\n enumerable: true,\n configurable: true\n });\n /** @internal */\n AbstractControl.prototype._updateControlsErrors = function (emitEvent) {\n this._status = this._calculateStatus();\n if (emitEvent) {\n this._statusChanges.emit(this._status);\n }\n if (this._parent) {\n this._parent._updateControlsErrors(emitEvent);\n }\n };\n /** @internal */\n AbstractControl.prototype._initObservables = function () {\n this._valueChanges = new EventEmitter();\n this._statusChanges = new EventEmitter();\n };\n AbstractControl.prototype._calculateStatus = function () {\n if (this._allControlsDisabled())\n return DISABLED;\n if (this._errors)\n return INVALID;\n if (this._anyControlsHaveStatus(PENDING))\n return PENDING;\n if (this._anyControlsHaveStatus(INVALID))\n return INVALID;\n return VALID;\n };\n /** @internal */\n AbstractControl.prototype._anyControlsHaveStatus = function (status) {\n return this._anyControls(function (control) { return control.status === status; });\n };\n /** @internal */\n AbstractControl.prototype._anyControlsDirty = function () {\n return this._anyControls(function (control) { return control.dirty; });\n };\n /** @internal */\n AbstractControl.prototype._anyControlsTouched = function () {\n return this._anyControls(function (control) { return control.touched; });\n };\n /** @internal */\n AbstractControl.prototype._updatePristine = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._pristine = !this._anyControlsDirty();\n if (this._parent && !onlySelf) {\n this._parent._updatePristine({ onlySelf: onlySelf });\n }\n };\n /** @internal */\n AbstractControl.prototype._updateTouched = function (_a) {\n var onlySelf = (_a === void 0 ? {} : _a).onlySelf;\n this._touched = this._anyControlsTouched();\n if (this._parent && !onlySelf) {\n this._parent._updateTouched({ onlySelf: onlySelf });\n }\n };\n /** @internal */\n AbstractControl.prototype._isBoxedValue = function (formState) {\n return typeof formState === 'object' && formState !== null &&\n Object.keys(formState).length === 2 && 'value' in formState && 'disabled' in formState;\n };\n /** @internal */\n AbstractControl.prototype._registerOnCollectionChange = function (fn) { this._onCollectionChange = fn; };\n return AbstractControl;\n }());\n /**\n * @whatItDoes Tracks the value and validation status of an individual form control.\n *\n * It is one of the three fundamental building blocks of Angular forms, along with\n * {@link FormGroup} and {@link FormArray}.\n *\n * @howToUse\n *\n * When instantiating a {@link FormControl}, you can pass in an initial value as the\n * first argument. Example:\n *\n * ```ts\n * const ctrl = new FormControl('some value');\n * console.log(ctrl.value); // 'some value'\n *```\n *\n * You can also initialize the control with a form state object on instantiation,\n * which includes both the value and whether or not the control is disabled.\n * You can't use the value key without the disabled key; both are required\n * to use this way of initialization.\n *\n * ```ts\n * const ctrl = new FormControl({value: 'n/a', disabled: true});\n * console.log(ctrl.value); // 'n/a'\n * console.log(ctrl.status); // 'DISABLED'\n * ```\n *\n * To include a sync validator (or an array of sync validators) with the control,\n * pass it in as the second argument. Async validators are also supported, but\n * have to be passed in separately as the third arg.\n *\n * ```ts\n * const ctrl = new FormControl('', Validators.required);\n * console.log(ctrl.value); // ''\n * console.log(ctrl.status); // 'INVALID'\n * ```\n *\n * See its superclass, {@link AbstractControl}, for more properties and methods.\n *\n * * **npm package**: `@angular/forms`\n *\n * @stable\n */\n var FormControl = (function (_super) {\n __extends$6(FormControl, _super);\n function FormControl(formState, validator, asyncValidator) {\n if (formState === void 0) { formState = null; }\n if (validator === void 0) { validator = null; }\n if (asyncValidator === void 0) { asyncValidator = null; }\n _super.call(this, coerceToValidator(validator), coerceToAsyncValidator(asyncValidator));\n /** @internal */\n this._onChange = [];\n this._applyFormState(formState);\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n this._initObservables();\n }\n /**\n * Set the value of the form control to `value`.\n *\n * If `onlySelf` is `true`, this change will only affect the validation of this `FormControl`\n * and not its parent component. This defaults to false.\n *\n * If `emitEvent` is `true`, this\n * change will cause a `valueChanges` event on the `FormControl` to be emitted. This defaults\n * to true (as it falls through to `updateValueAndValidity`).\n *\n * If `emitModelToViewChange` is `true`, the view will be notified about the new value\n * via an `onChange` event. This is the default behavior if `emitModelToViewChange` is not\n * specified.\n *\n * If `emitViewToModelChange` is `true`, an ngModelChange event will be fired to update the\n * model. This is the default behavior if `emitViewToModelChange` is not specified.\n */\n FormControl.prototype.setValue = function (value, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent, emitModelToViewChange = _b.emitModelToViewChange, emitViewToModelChange = _b.emitViewToModelChange;\n this._value = value;\n if (this._onChange.length && emitModelToViewChange !== false) {\n this._onChange.forEach(function (changeFn) { return changeFn(_this._value, emitViewToModelChange !== false); });\n }\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * Patches the value of a control.\n *\n * This function is functionally the same as {@link FormControl.setValue} at this level.\n * It exists for symmetry with {@link FormGroup.patchValue} on `FormGroups` and `FormArrays`,\n * where it does behave differently.\n */\n FormControl.prototype.patchValue = function (value, options) {\n if (options === void 0) { options = {}; }\n this.setValue(value, options);\n };\n /**\n * Resets the form control. This means by default:\n *\n * * it is marked as `pristine`\n * * it is marked as `untouched`\n * * value is set to null\n *\n * You can also reset to a specific form state by passing through a standalone\n * value or a form state object that contains both a value and a disabled state\n * (these are the only two properties that cannot be calculated).\n *\n * Ex:\n *\n * ```ts\n * this.control.reset('Nancy');\n *\n * console.log(this.control.value); // 'Nancy'\n * ```\n *\n * OR\n *\n * ```\n * this.control.reset({value: 'Nancy', disabled: true});\n *\n * console.log(this.control.value); // 'Nancy'\n * console.log(this.control.status); // 'DISABLED'\n * ```\n */\n FormControl.prototype.reset = function (formState, _a) {\n if (formState === void 0) { formState = null; }\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._applyFormState(formState);\n this.markAsPristine({ onlySelf: onlySelf });\n this.markAsUntouched({ onlySelf: onlySelf });\n this.setValue(this._value, { onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * @internal\n */\n FormControl.prototype._updateValue = function () { };\n /**\n * @internal\n */\n FormControl.prototype._anyControls = function (condition) { return false; };\n /**\n * @internal\n */\n FormControl.prototype._allControlsDisabled = function () { return this.disabled; };\n /**\n * Register a listener for change events.\n */\n FormControl.prototype.registerOnChange = function (fn) { this._onChange.push(fn); };\n /**\n * @internal\n */\n FormControl.prototype._clearChangeFns = function () {\n this._onChange = [];\n this._onDisabledChange = [];\n this._onCollectionChange = function () { };\n };\n /**\n * Register a listener for disabled events.\n */\n FormControl.prototype.registerOnDisabledChange = function (fn) {\n this._onDisabledChange.push(fn);\n };\n /**\n * @internal\n */\n FormControl.prototype._forEachChild = function (cb) { };\n FormControl.prototype._applyFormState = function (formState) {\n if (this._isBoxedValue(formState)) {\n this._value = formState.value;\n formState.disabled ? this.disable({ onlySelf: true, emitEvent: false }) :\n this.enable({ onlySelf: true, emitEvent: false });\n }\n else {\n this._value = formState;\n }\n };\n return FormControl;\n }(AbstractControl));\n /**\n * @whatItDoes Tracks the value and validity state of a group of {@link FormControl}\n * instances.\n *\n * A `FormGroup` aggregates the values of each child {@link FormControl} into one object,\n * with each control name as the key. It calculates its status by reducing the statuses\n * of its children. For example, if one of the controls in a group is invalid, the entire\n * group becomes invalid.\n *\n * `FormGroup` is one of the three fundamental building blocks used to define forms in Angular,\n * along with {@link FormControl} and {@link FormArray}.\n *\n * @howToUse\n *\n * When instantiating a {@link FormGroup}, pass in a collection of child controls as the first\n * argument. The key for each child will be the name under which it is registered.\n *\n * ### Example\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl('Nancy', Validators.minLength(2)),\n * last: new FormControl('Drew'),\n * });\n *\n * console.log(form.value); // {first: 'Nancy', last; 'Drew'}\n * console.log(form.status); // 'VALID'\n * ```\n *\n * You can also include group-level validators as the second arg, or group-level async\n * validators as the third arg. These come in handy when you want to perform validation\n * that considers the value of more than one child control.\n *\n * ### Example\n *\n * ```\n * const form = new FormGroup({\n * password: new FormControl('', Validators.minLength(2)),\n * passwordConfirm: new FormControl('', Validators.minLength(2)),\n * }, passwordMatchValidator);\n *\n *\n * function passwordMatchValidator(g: FormGroup) {\n * return g.get('password').value === g.get('passwordConfirm').value\n * ? null : {'mismatch': true};\n * }\n * ```\n *\n * * **npm package**: `@angular/forms`\n *\n * @stable\n */\n var FormGroup = (function (_super) {\n __extends$6(FormGroup, _super);\n function FormGroup(controls, validator, asyncValidator) {\n if (validator === void 0) { validator = null; }\n if (asyncValidator === void 0) { asyncValidator = null; }\n _super.call(this, validator, asyncValidator);\n this.controls = controls;\n this._initObservables();\n this._setUpControls();\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n }\n /**\n * Registers a control with the group's list of controls.\n *\n * This method does not update value or validity of the control, so for\n * most cases you'll want to use {@link FormGroup.addControl} instead.\n */\n FormGroup.prototype.registerControl = function (name, control) {\n if (this.controls[name])\n return this.controls[name];\n this.controls[name] = control;\n control.setParent(this);\n control._registerOnCollectionChange(this._onCollectionChange);\n return control;\n };\n /**\n * Add a control to this group.\n */\n FormGroup.prototype.addControl = function (name, control) {\n this.registerControl(name, control);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Remove a control from this group.\n */\n FormGroup.prototype.removeControl = function (name) {\n if (this.controls[name])\n this.controls[name]._registerOnCollectionChange(function () { });\n delete (this.controls[name]);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Replace an existing control.\n */\n FormGroup.prototype.setControl = function (name, control) {\n if (this.controls[name])\n this.controls[name]._registerOnCollectionChange(function () { });\n delete (this.controls[name]);\n if (control)\n this.registerControl(name, control);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Check whether there is an enabled control with the given name in the group.\n *\n * It will return false for disabled controls. If you'd like to check for\n * existence in the group only, use {@link AbstractControl.get} instead.\n */\n FormGroup.prototype.contains = function (controlName) {\n return this.controls.hasOwnProperty(controlName) && this.controls[controlName].enabled;\n };\n /**\n * Sets the value of the {@link FormGroup}. It accepts an object that matches\n * the structure of the group, with control names as keys.\n *\n * This method performs strict checks, so it will throw an error if you try\n * to set the value of a control that doesn't exist or if you exclude the\n * value of a control.\n *\n * ### Example\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl(),\n * last: new FormControl()\n * });\n * console.log(form.value); // {first: null, last: null}\n *\n * form.setValue({first: 'Nancy', last: 'Drew'});\n * console.log(form.value); // {first: 'Nancy', last: 'Drew'}\n *\n * ```\n */\n FormGroup.prototype.setValue = function (value, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._checkAllValuesPresent(value);\n Object.keys(value).forEach(function (name) {\n _this._throwIfControlMissing(name);\n _this.controls[name].setValue(value[name], { onlySelf: true, emitEvent: emitEvent });\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * Patches the value of the {@link FormGroup}. It accepts an object with control\n * names as keys, and will do its best to match the values to the correct controls\n * in the group.\n *\n * It accepts both super-sets and sub-sets of the group without throwing an error.\n *\n * ### Example\n *\n * ```\n * const form = new FormGroup({\n * first: new FormControl(),\n * last: new FormControl()\n * });\n * console.log(form.value); // {first: null, last: null}\n *\n * form.patchValue({first: 'Nancy'});\n * console.log(form.value); // {first: 'Nancy', last: null}\n *\n * ```\n */\n FormGroup.prototype.patchValue = function (value, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n Object.keys(value).forEach(function (name) {\n if (_this.controls[name]) {\n _this.controls[name].patchValue(value[name], { onlySelf: true, emitEvent: emitEvent });\n }\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * Resets the {@link FormGroup}. This means by default:\n *\n * * The group and all descendants are marked `pristine`\n * * The group and all descendants are marked `untouched`\n * * The value of all descendants will be null or null maps\n *\n * You can also reset to a specific form state by passing in a map of states\n * that matches the structure of your form, with control names as keys. The state\n * can be a standalone value or a form state object with both a value and a disabled\n * status.\n *\n * ### Example\n *\n * ```ts\n * this.form.reset({first: 'name', last: 'last name'});\n *\n * console.log(this.form.value); // {first: 'name', last: 'last name'}\n * ```\n *\n * - OR -\n *\n * ```\n * this.form.reset({\n * first: {value: 'name', disabled: true},\n * last: 'last'\n * });\n *\n * console.log(this.form.value); // {first: 'name', last: 'last name'}\n * console.log(this.form.get('first').status); // 'DISABLED'\n * ```\n */\n FormGroup.prototype.reset = function (value, _a) {\n if (value === void 0) { value = {}; }\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._forEachChild(function (control, name) {\n control.reset(value[name], { onlySelf: true, emitEvent: emitEvent });\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n this._updatePristine({ onlySelf: onlySelf });\n this._updateTouched({ onlySelf: onlySelf });\n };\n /**\n * The aggregate value of the {@link FormGroup}, including any disabled controls.\n *\n * If you'd like to include all values regardless of disabled status, use this method.\n * Otherwise, the `value` property is the best way to get the value of the group.\n */\n FormGroup.prototype.getRawValue = function () {\n return this._reduceChildren({}, function (acc, control, name) {\n acc[name] = control.value;\n return acc;\n });\n };\n /** @internal */\n FormGroup.prototype._throwIfControlMissing = function (name) {\n if (!Object.keys(this.controls).length) {\n 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 \");\n }\n if (!this.controls[name]) {\n throw new Error(\"Cannot find form control with name: \" + name + \".\");\n }\n };\n /** @internal */\n FormGroup.prototype._forEachChild = function (cb) {\n var _this = this;\n Object.keys(this.controls).forEach(function (k) { return cb(_this.controls[k], k); });\n };\n /** @internal */\n FormGroup.prototype._setUpControls = function () {\n var _this = this;\n this._forEachChild(function (control) {\n control.setParent(_this);\n control._registerOnCollectionChange(_this._onCollectionChange);\n });\n };\n /** @internal */\n FormGroup.prototype._updateValue = function () { this._value = this._reduceValue(); };\n /** @internal */\n FormGroup.prototype._anyControls = function (condition) {\n var _this = this;\n var res = false;\n this._forEachChild(function (control, name) {\n res = res || (_this.contains(name) && condition(control));\n });\n return res;\n };\n /** @internal */\n FormGroup.prototype._reduceValue = function () {\n var _this = this;\n return this._reduceChildren({}, function (acc, control, name) {\n if (control.enabled || _this.disabled) {\n acc[name] = control.value;\n }\n return acc;\n });\n };\n /** @internal */\n FormGroup.prototype._reduceChildren = function (initValue, fn) {\n var res = initValue;\n this._forEachChild(function (control, name) { res = fn(res, control, name); });\n return res;\n };\n /** @internal */\n FormGroup.prototype._allControlsDisabled = function () {\n for (var _i = 0, _a = Object.keys(this.controls); _i < _a.length; _i++) {\n var controlName = _a[_i];\n if (this.controls[controlName].enabled) {\n return false;\n }\n }\n return Object.keys(this.controls).length > 0 || this.disabled;\n };\n /** @internal */\n FormGroup.prototype._checkAllValuesPresent = function (value) {\n this._forEachChild(function (control, name) {\n if (value[name] === undefined) {\n throw new Error(\"Must supply a value for form control with name: '\" + name + \"'.\");\n }\n });\n };\n return FormGroup;\n }(AbstractControl));\n /**\n * @whatItDoes Tracks the value and validity state of an array of {@link FormControl}\n * instances.\n *\n * A `FormArray` aggregates the values of each child {@link FormControl} into an array.\n * It calculates its status by reducing the statuses of its children. For example, if one of\n * the controls in a `FormArray` is invalid, the entire array becomes invalid.\n *\n * `FormArray` is one of the three fundamental building blocks used to define forms in Angular,\n * along with {@link FormControl} and {@link FormGroup}.\n *\n * @howToUse\n *\n * When instantiating a {@link FormArray}, pass in an array of child controls as the first\n * argument.\n *\n * ### Example\n *\n * ```\n * const arr = new FormArray([\n * new FormControl('Nancy', Validators.minLength(2)),\n * new FormControl('Drew'),\n * ]);\n *\n * console.log(arr.value); // ['Nancy', 'Drew']\n * console.log(arr.status); // 'VALID'\n * ```\n *\n * You can also include array-level validators as the second arg, or array-level async\n * validators as the third arg. These come in handy when you want to perform validation\n * that considers the value of more than one child control.\n *\n * ### Adding or removing controls\n *\n * To change the controls in the array, use the `push`, `insert`, or `removeAt` methods\n * in `FormArray` itself. These methods ensure the controls are properly tracked in the\n * form's hierarchy. Do not modify the array of `AbstractControl`s used to instantiate\n * the `FormArray` directly, as that will result in strange and unexpected behavior such\n * as broken change detection.\n *\n * * **npm package**: `@angular/forms`\n *\n * @stable\n */\n var FormArray = (function (_super) {\n __extends$6(FormArray, _super);\n function FormArray(controls, validator, asyncValidator) {\n if (validator === void 0) { validator = null; }\n if (asyncValidator === void 0) { asyncValidator = null; }\n _super.call(this, validator, asyncValidator);\n this.controls = controls;\n this._initObservables();\n this._setUpControls();\n this.updateValueAndValidity({ onlySelf: true, emitEvent: false });\n }\n /**\n * Get the {@link AbstractControl} at the given `index` in the array.\n */\n FormArray.prototype.at = function (index) { return this.controls[index]; };\n /**\n * Insert a new {@link AbstractControl} at the end of the array.\n */\n FormArray.prototype.push = function (control) {\n this.controls.push(control);\n this._registerControl(control);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Insert a new {@link AbstractControl} at the given `index` in the array.\n */\n FormArray.prototype.insert = function (index, control) {\n this.controls.splice(index, 0, control);\n this._registerControl(control);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Remove the control at the given `index` in the array.\n */\n FormArray.prototype.removeAt = function (index) {\n if (this.controls[index])\n this.controls[index]._registerOnCollectionChange(function () { });\n this.controls.splice(index, 1);\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n /**\n * Replace an existing control.\n */\n FormArray.prototype.setControl = function (index, control) {\n if (this.controls[index])\n this.controls[index]._registerOnCollectionChange(function () { });\n this.controls.splice(index, 1);\n if (control) {\n this.controls.splice(index, 0, control);\n this._registerControl(control);\n }\n this.updateValueAndValidity();\n this._onCollectionChange();\n };\n Object.defineProperty(FormArray.prototype, \"length\", {\n /**\n * Length of the control array.\n */\n get: function () { return this.controls.length; },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the value of the {@link FormArray}. It accepts an array that matches\n * the structure of the control.\n *\n * This method performs strict checks, so it will throw an error if you try\n * to set the value of a control that doesn't exist or if you exclude the\n * value of a control.\n *\n * ### Example\n *\n * ```\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * console.log(arr.value); // [null, null]\n *\n * arr.setValue(['Nancy', 'Drew']);\n * console.log(arr.value); // ['Nancy', 'Drew']\n * ```\n */\n FormArray.prototype.setValue = function (value, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._checkAllValuesPresent(value);\n value.forEach(function (newValue, index) {\n _this._throwIfControlMissing(index);\n _this.at(index).setValue(newValue, { onlySelf: true, emitEvent: emitEvent });\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * Patches the value of the {@link FormArray}. It accepts an array that matches the\n * structure of the control, and will do its best to match the values to the correct\n * controls in the group.\n *\n * It accepts both super-sets and sub-sets of the array without throwing an error.\n *\n * ### Example\n *\n * ```\n * const arr = new FormArray([\n * new FormControl(),\n * new FormControl()\n * ]);\n * console.log(arr.value); // [null, null]\n *\n * arr.patchValue(['Nancy']);\n * console.log(arr.value); // ['Nancy', null]\n * ```\n */\n FormArray.prototype.patchValue = function (value, _a) {\n var _this = this;\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n value.forEach(function (newValue, index) {\n if (_this.at(index)) {\n _this.at(index).patchValue(newValue, { onlySelf: true, emitEvent: emitEvent });\n }\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n };\n /**\n * Resets the {@link FormArray}. This means by default:\n *\n * * The array and all descendants are marked `pristine`\n * * The array and all descendants are marked `untouched`\n * * The value of all descendants will be null or null maps\n *\n * You can also reset to a specific form state by passing in an array of states\n * that matches the structure of the control. The state can be a standalone value\n * or a form state object with both a value and a disabled status.\n *\n * ### Example\n *\n * ```ts\n * this.arr.reset(['name', 'last name']);\n *\n * console.log(this.arr.value); // ['name', 'last name']\n * ```\n *\n * - OR -\n *\n * ```\n * this.arr.reset([\n * {value: 'name', disabled: true},\n * 'last'\n * ]);\n *\n * console.log(this.arr.value); // ['name', 'last name']\n * console.log(this.arr.get(0).status); // 'DISABLED'\n * ```\n */\n FormArray.prototype.reset = function (value, _a) {\n if (value === void 0) { value = []; }\n var _b = _a === void 0 ? {} : _a, onlySelf = _b.onlySelf, emitEvent = _b.emitEvent;\n this._forEachChild(function (control, index) {\n control.reset(value[index], { onlySelf: true, emitEvent: emitEvent });\n });\n this.updateValueAndValidity({ onlySelf: onlySelf, emitEvent: emitEvent });\n this._updatePristine({ onlySelf: onlySelf });\n this._updateTouched({ onlySelf: onlySelf });\n };\n /**\n * The aggregate value of the array, including any disabled controls.\n *\n * If you'd like to include all values regardless of disabled status, use this method.\n * Otherwise, the `value` property is the best way to get the value of the array.\n */\n FormArray.prototype.getRawValue = function () { return this.controls.map(function (control) { return control.value; }); };\n /** @internal */\n FormArray.prototype._throwIfControlMissing = function (index) {\n if (!this.controls.length) {\n 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 \");\n }\n if (!this.at(index)) {\n throw new Error(\"Cannot find form control at index \" + index);\n }\n };\n /** @internal */\n FormArray.prototype._forEachChild = function (cb) {\n this.controls.forEach(function (control, index) { cb(control, index); });\n };\n /** @internal */\n FormArray.prototype._updateValue = function () {\n var _this = this;\n this._value = this.controls.filter(function (control) { return control.enabled || _this.disabled; })\n .map(function (control) { return control.value; });\n };\n /** @internal */\n FormArray.prototype._anyControls = function (condition) {\n return this.controls.some(function (control) { return control.enabled && condition(control); });\n };\n /** @internal */\n FormArray.prototype._setUpControls = function () {\n var _this = this;\n this._forEachChild(function (control) { return _this._registerControl(control); });\n };\n /** @internal */\n FormArray.prototype._checkAllValuesPresent = function (value) {\n this._forEachChild(function (control, i) {\n if (value[i] === undefined) {\n throw new Error(\"Must supply a value for form control at index: \" + i + \".\");\n }\n });\n };\n /** @internal */\n FormArray.prototype._allControlsDisabled = function () {\n for (var _i = 0, _a = this.controls; _i < _a.length; _i++) {\n var control = _a[_i];\n if (control.enabled)\n return false;\n }\n return this.controls.length > 0 || this.disabled;\n };\n FormArray.prototype._registerControl = function (control) {\n control.setParent(this);\n control._registerOnCollectionChange(this._onCollectionChange);\n };\n return FormArray;\n }(AbstractControl));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var formDirectiveProvider = {\n provide: ControlContainer,\n useExisting: _angular_core.forwardRef(function () { return NgForm; })\n };\n var resolvedPromise = Promise.resolve(null);\n /**\n * @whatItDoes Creates a top-level {@link FormGroup} instance and binds it to a form\n * to track aggregate form value and validation status.\n *\n * @howToUse\n *\n * As soon as you import the `FormsModule`, this directive becomes active by default on\n * all `<form>` tags. You don't need to add a special selector.\n *\n * You can export the directive into a local template variable using `ngForm` as the key\n * (ex: `#myForm=\"ngForm\"`). This is optional, but useful. Many properties from the underlying\n * {@link FormGroup} instance are duplicated on the directive itself, so a reference to it\n * will give you access to the aggregate value and validity status of the form, as well as\n * user interaction properties like `dirty` and `touched`.\n *\n * To register child controls with the form, you'll want to use {@link NgModel} with a\n * `name` attribute. You can also use {@link NgModelGroup} if you'd like to create\n * sub-groups within the form.\n *\n * You can listen to the directive's `ngSubmit` event to be notified when the user has\n * triggered a form submission. The `ngSubmit` event will be emitted with the original form\n * submission event.\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: `FormsModule`\n *\n * @stable\n */\n var NgForm = (function (_super) {\n __extends$4(NgForm, _super);\n function NgForm(validators, asyncValidators) {\n _super.call(this);\n this._submitted = false;\n this.ngSubmit = new EventEmitter();\n this.form =\n new FormGroup({}, composeValidators(validators), composeAsyncValidators(asyncValidators));\n }\n Object.defineProperty(NgForm.prototype, \"submitted\", {\n get: function () { return this._submitted; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"formDirective\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"control\", {\n get: function () { return this.form; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"path\", {\n get: function () { return []; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgForm.prototype, \"controls\", {\n get: function () { return this.form.controls; },\n enumerable: true,\n configurable: true\n });\n NgForm.prototype.addControl = function (dir) {\n var _this = this;\n resolvedPromise.then(function () {\n var container = _this._findContainer(dir.path);\n dir._control = container.registerControl(dir.name, dir.control);\n setUpControl(dir.control, dir);\n dir.control.updateValueAndValidity({ emitEvent: false });\n });\n };\n NgForm.prototype.getControl = function (dir) { return this.form.get(dir.path); };\n NgForm.prototype.removeControl = function (dir) {\n var _this = this;\n resolvedPromise.then(function () {\n var container = _this._findContainer(dir.path);\n if (container) {\n container.removeControl(dir.name);\n }\n });\n };\n NgForm.prototype.addFormGroup = function (dir) {\n var _this = this;\n resolvedPromise.then(function () {\n var container = _this._findContainer(dir.path);\n var group = new FormGroup({});\n setUpFormContainer(group, dir);\n container.registerControl(dir.name, group);\n group.updateValueAndValidity({ emitEvent: false });\n });\n };\n NgForm.prototype.removeFormGroup = function (dir) {\n var _this = this;\n resolvedPromise.then(function () {\n var container = _this._findContainer(dir.path);\n if (container) {\n container.removeControl(dir.name);\n }\n });\n };\n NgForm.prototype.getFormGroup = function (dir) { return this.form.get(dir.path); };\n NgForm.prototype.updateModel = function (dir, value) {\n var _this = this;\n resolvedPromise.then(function () {\n var ctrl = _this.form.get(dir.path);\n ctrl.setValue(value);\n });\n };\n NgForm.prototype.setValue = function (value) { this.control.setValue(value); };\n NgForm.prototype.onSubmit = function ($event) {\n this._submitted = true;\n this.ngSubmit.emit($event);\n return false;\n };\n NgForm.prototype.onReset = function () { this.resetForm(); };\n NgForm.prototype.resetForm = function (value) {\n if (value === void 0) { value = undefined; }\n this.form.reset(value);\n this._submitted = false;\n };\n /** @internal */\n NgForm.prototype._findContainer = function (path) {\n path.pop();\n return path.length ? this.form.get(path) : this.form;\n };\n NgForm.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: 'form:not([ngNoForm]):not([formGroup]),ngForm,[ngForm]',\n providers: [formDirectiveProvider],\n host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n outputs: ['ngSubmit'],\n exportAs: 'ngForm'\n },] },\n ];\n /** @nocollapse */\n NgForm.ctorParameters = [\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n ];\n return NgForm;\n }(ControlContainer));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Examples = {\n formControlName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <input formControlName=\\\"firstName\\\">\\n </div>\\n\\n In your class:\\n\\n this.myGroup = new FormGroup({\\n firstName: new FormControl()\\n });\",\n formGroupName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <div formGroupName=\\\"person\\\">\\n <input formControlName=\\\"firstName\\\">\\n </div>\\n </div>\\n\\n In your class:\\n\\n this.myGroup = new FormGroup({\\n person: new FormGroup({ firstName: new FormControl() })\\n });\",\n formArrayName: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <div formArrayName=\\\"cities\\\">\\n <div *ngFor=\\\"let city of cityArray.controls; let i=index\\\">\\n <input [formControlName]=\\\"i\\\">\\n </div>\\n </div>\\n </div>\\n\\n In your class:\\n\\n this.cityArray = new FormArray([new FormControl('SF')]);\\n this.myGroup = new FormGroup({\\n cities: this.cityArray\\n });\",\n ngModelGroup: \"\\n <form>\\n <div ngModelGroup=\\\"person\\\">\\n <input [(ngModel)]=\\\"person.name\\\" name=\\\"firstName\\\">\\n </div>\\n </form>\",\n ngModelWithFormGroup: \"\\n <div [formGroup]=\\\"myGroup\\\">\\n <input formControlName=\\\"firstName\\\">\\n <input [(ngModel)]=\\\"showMoreControls\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\\n </div>\\n \"\n };\n\n var TemplateDrivenErrors = (function () {\n function TemplateDrivenErrors() {\n }\n TemplateDrivenErrors.modelParentException = function () {\n 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 \" + Examples.formControlName + \"\\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 \" + Examples.ngModelWithFormGroup);\n };\n TemplateDrivenErrors.formGroupNameException = function () {\n 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Update ngModel's parent be ngModelGroup (template-driven strategy):\\n\\n \" + Examples.ngModelGroup);\n };\n TemplateDrivenErrors.missingNameException = function () {\n throw new Error(\"If ngModel is used within a form tag, either the name attribute must be set or the form\\n control must be defined as 'standalone' in ngModelOptions.\\n\\n Example 1: <input [(ngModel)]=\\\"person.firstName\\\" name=\\\"first\\\">\\n Example 2: <input [(ngModel)]=\\\"person.firstName\\\" [ngModelOptions]=\\\"{standalone: true}\\\">\");\n };\n TemplateDrivenErrors.modelGroupParentException = function () {\n 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Use a regular form tag instead of the formGroup directive (template-driven strategy):\\n\\n \" + Examples.ngModelGroup);\n };\n return TemplateDrivenErrors;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$8 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var modelGroupProvider = {\n provide: ControlContainer,\n useExisting: _angular_core.forwardRef(function () { return NgModelGroup; })\n };\n /**\n * @whatItDoes Creates and binds a {@link FormGroup} instance to a DOM element.\n *\n * @howToUse\n *\n * This directive can only be used as a child of {@link NgForm} (or in other words,\n * within `<form>` tags).\n *\n * Use this directive if you'd like to create a sub-group within a form. This can\n * come in handy if you want to validate a sub-group of your form separately from\n * the rest of your form, or if some values in your domain model make more sense to\n * consume together in a nested object.\n *\n * Pass in the name you'd like this sub-group to have and it will become the key\n * for the sub-group in the form's full value. You can also export the directive into\n * a local template variable using `ngModelGroup` (ex: `#myGroup=\"ngModelGroup\"`).\n *\n * {@example forms/ts/ngModelGroup/ng_model_group_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: `FormsModule`\n *\n * @stable\n */\n var NgModelGroup = (function (_super) {\n __extends$8(NgModelGroup, _super);\n function NgModelGroup(parent, validators, asyncValidators) {\n _super.call(this);\n this._parent = parent;\n this._validators = validators;\n this._asyncValidators = asyncValidators;\n }\n /** @internal */\n NgModelGroup.prototype._checkParentType = function () {\n if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n TemplateDrivenErrors.modelGroupParentException();\n }\n };\n NgModelGroup.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[ngModelGroup]', providers: [modelGroupProvider], exportAs: 'ngModelGroup' },] },\n ];\n /** @nocollapse */\n NgModelGroup.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n ];\n NgModelGroup.propDecorators = {\n 'name': [{ type: _angular_core.Input, args: ['ngModelGroup',] },],\n };\n return NgModelGroup;\n }(AbstractFormGroupDirective));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$7 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var formControlBinding = {\n provide: NgControl,\n useExisting: _angular_core.forwardRef(function () { return NgModel; })\n };\n /**\n * `ngModel` forces an additional change detection run when its inputs change:\n * E.g.:\n * ```\n * <div>{{myModel.valid}}</div>\n * <input [(ngModel)]=\"myValue\" #myModel=\"ngModel\">\n * ```\n * I.e. `ngModel` can export itself on the element and then be used in the template.\n * Normally, this would result in expressions before the `input` that use the exported directive\n * to have and old value as they have been\n * dirty checked before. As this is a very common case for `ngModel`, we added this second change\n * detection run.\n *\n * Notes:\n * - this is just one extra run no matter how many `ngModel` have been changed.\n * - this is a general problem when using `exportAs` for directives!\n */\n var resolvedPromise$1 = Promise.resolve(null);\n /**\n * @whatItDoes Creates a {@link FormControl} instance from a domain model and binds it\n * to a form control element.\n *\n * The {@link FormControl} instance will track the value, user interaction, and\n * validation status of the control and keep the view synced with the model. If used\n * within a parent form, the directive will also register itself with the form as a child\n * control.\n *\n * @howToUse\n *\n * This directive can be used by itself or as part of a larger form. All you need is the\n * `ngModel` selector to activate it.\n *\n * It accepts a domain model as an optional {@link @Input}. If you have a one-way binding\n * to `ngModel` with `[]` syntax, changing the value of the domain model in the component\n * class will set the value in the view. If you have a two-way binding with `[()]` syntax\n * (also known as 'banana-box syntax'), the value in the UI will always be synced back to\n * the domain model in your class as well.\n *\n * If you wish to inspect the properties of the associated {@link FormControl} (like\n * validity state), you can also export the directive into a local template variable using\n * `ngModel` as the key (ex: `#myVar=\"ngModel\"`). You can then access the control using the\n * directive's `control` property, but most properties you'll need (like `valid` and `dirty`)\n * will fall through to the control anyway, so you can access them directly. You can see a\n * full list of properties directly available in {@link AbstractControlDirective}.\n *\n * The following is an example of a simple standalone control using `ngModel`:\n *\n * {@example forms/ts/simpleNgModel/simple_ng_model_example.ts region='Component'}\n *\n * When using the `ngModel` within `<form>` tags, you'll also need to supply a `name` attribute\n * so that the control can be registered with the parent form under that name.\n *\n * It's worth noting that in the context of a parent form, you often can skip one-way or\n * two-way binding because the parent form will sync the value for you. You can access\n * its properties by exporting it into a local template variable using `ngForm` (ex:\n * `#f=\"ngForm\"`). Then you can pass it where it needs to go on submit.\n *\n * If you do need to populate initial values into your form, using a one-way binding for\n * `ngModel` tends to be sufficient as long as you use the exported form's value rather\n * than the domain model's value on submit.\n *\n * Take a look at an example of using `ngModel` within a form:\n *\n * {@example forms/ts/simpleForm/simple_form_example.ts region='Component'}\n *\n * To see `ngModel` examples with different form control types, see:\n *\n * * Radio buttons: {@link RadioControlValueAccessor}\n * * Selects: {@link SelectControlValueAccessor}\n *\n * **npm package**: `@angular/forms`\n *\n * **NgModule**: `FormsModule`\n *\n * @stable\n */\n var NgModel = (function (_super) {\n __extends$7(NgModel, _super);\n function NgModel(parent, validators, asyncValidators, valueAccessors) {\n _super.call(this);\n /** @internal */\n this._control = new FormControl();\n /** @internal */\n this._registered = false;\n this.update = new EventEmitter();\n this._parent = parent;\n this._rawValidators = validators || [];\n this._rawAsyncValidators = asyncValidators || [];\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n NgModel.prototype.ngOnChanges = function (changes) {\n this._checkForErrors();\n if (!this._registered)\n this._setUpControl();\n if ('isDisabled' in changes) {\n this._updateDisabled(changes);\n }\n if (isPropertyUpdated(changes, this.viewModel)) {\n this._updateValue(this.model);\n this.viewModel = this.model;\n }\n };\n NgModel.prototype.ngOnDestroy = function () { this.formDirective && this.formDirective.removeControl(this); };\n Object.defineProperty(NgModel.prototype, \"control\", {\n get: function () { return this._control; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"path\", {\n get: function () {\n return this._parent ? controlPath(this.name, this._parent) : [this.name];\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"formDirective\", {\n get: function () { return this._parent ? this._parent.formDirective : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"validator\", {\n get: function () { return composeValidators(this._rawValidators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(NgModel.prototype, \"asyncValidator\", {\n get: function () {\n return composeAsyncValidators(this._rawAsyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n NgModel.prototype.viewToModelUpdate = function (newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n };\n NgModel.prototype._setUpControl = function () {\n this._isStandalone() ? this._setUpStandalone() :\n this.formDirective.addControl(this);\n this._registered = true;\n };\n NgModel.prototype._isStandalone = function () {\n return !this._parent || (this.options && this.options.standalone);\n };\n NgModel.prototype._setUpStandalone = function () {\n setUpControl(this._control, this);\n this._control.updateValueAndValidity({ emitEvent: false });\n };\n NgModel.prototype._checkForErrors = function () {\n if (!this._isStandalone()) {\n this._checkParentType();\n }\n this._checkName();\n };\n NgModel.prototype._checkParentType = function () {\n if (!(this._parent instanceof NgModelGroup) &&\n this._parent instanceof AbstractFormGroupDirective) {\n TemplateDrivenErrors.formGroupNameException();\n }\n else if (!(this._parent instanceof NgModelGroup) && !(this._parent instanceof NgForm)) {\n TemplateDrivenErrors.modelParentException();\n }\n };\n NgModel.prototype._checkName = function () {\n if (this.options && this.options.name)\n this.name = this.options.name;\n if (!this._isStandalone() && !this.name) {\n TemplateDrivenErrors.missingNameException();\n }\n };\n NgModel.prototype._updateValue = function (value) {\n var _this = this;\n resolvedPromise$1.then(function () { _this.control.setValue(value, { emitViewToModelChange: false }); });\n };\n NgModel.prototype._updateDisabled = function (changes) {\n var _this = this;\n var disabledValue = changes['isDisabled'].currentValue;\n var isDisabled = disabledValue === '' || (disabledValue && disabledValue !== 'false');\n resolvedPromise$1.then(function () {\n if (isDisabled && !_this.control.disabled) {\n _this.control.disable();\n }\n else if (!isDisabled && _this.control.disabled) {\n _this.control.enable();\n }\n });\n };\n NgModel.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[ngModel]:not([formControlName]):not([formControl])',\n providers: [formControlBinding],\n exportAs: 'ngModel'\n },] },\n ];\n /** @nocollapse */\n NgModel.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n ];\n NgModel.propDecorators = {\n 'name': [{ type: _angular_core.Input },],\n 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n 'options': [{ type: _angular_core.Input, args: ['ngModelOptions',] },],\n 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n };\n return NgModel;\n }(NgControl));\n\n var ReactiveErrors = (function () {\n function ReactiveErrors() {\n }\n ReactiveErrors.controlParentException = function () {\n 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 \" + Examples.formControlName);\n };\n ReactiveErrors.ngModelGroupException = function () {\n 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 \" + Examples.formGroupName + \"\\n\\n Option 2: Use ngModel instead of formControlName (template-driven strategy)\\n\\n \" + Examples.ngModelGroup);\n };\n ReactiveErrors.missingFormException = function () {\n throw new Error(\"formGroup expects a FormGroup instance. Please pass one in.\\n\\n Example:\\n\\n \" + Examples.formControlName);\n };\n ReactiveErrors.groupParentException = function () {\n 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 \" + Examples.formGroupName);\n };\n ReactiveErrors.arrayParentException = function () {\n 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 \" + Examples.formArrayName);\n };\n ReactiveErrors.disabledAttrWarning = function () {\n 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 \");\n };\n return ReactiveErrors;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$9 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var formControlBinding$1 = {\n provide: NgControl,\n useExisting: _angular_core.forwardRef(function () { return FormControlDirective; })\n };\n /**\n * @whatItDoes Syncs a standalone {@link FormControl} instance to a form control element.\n *\n * In other words, this directive ensures that any values written to the {@link FormControl}\n * instance programmatically will be written to the DOM element (model -> view). Conversely,\n * any values written to the DOM element through user input will be reflected in the\n * {@link FormControl} instance (view -> model).\n *\n * @howToUse\n *\n * Use this directive if you'd like to create and manage a {@link FormControl} instance directly.\n * Simply create a {@link FormControl}, save it to your component class, and pass it into the\n * {@link FormControlDirective}.\n *\n * This directive is designed to be used as a standalone control. Unlike {@link FormControlName},\n * it does not require that your {@link FormControl} instance be part of any parent\n * {@link FormGroup}, and it won't be registered to any {@link FormGroupDirective} that\n * exists above it.\n *\n * **Get the value**: the `value` property is always synced and available on the\n * {@link FormControl} instance. See a full list of available properties in\n * {@link AbstractControl}.\n *\n * **Set the value**: You can pass in an initial value when instantiating the {@link FormControl},\n * or you can set it programmatically later using {@link AbstractControl.setValue} or\n * {@link AbstractControl.patchValue}.\n *\n * **Listen to value**: If you want to listen to changes in the value of the control, you can\n * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n * {@link AbstractControl.statusChanges} to be notified when the validation status is\n * re-calculated.\n *\n * ### Example\n *\n * {@example forms/ts/simpleFormControl/simple_form_control_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: `ReactiveFormsModule`\n *\n * @stable\n */\n var FormControlDirective = (function (_super) {\n __extends$9(FormControlDirective, _super);\n function FormControlDirective(validators, asyncValidators, valueAccessors) {\n _super.call(this);\n this.update = new EventEmitter();\n this._rawValidators = validators || [];\n this._rawAsyncValidators = asyncValidators || [];\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n Object.defineProperty(FormControlDirective.prototype, \"isDisabled\", {\n set: function (isDisabled) { ReactiveErrors.disabledAttrWarning(); },\n enumerable: true,\n configurable: true\n });\n FormControlDirective.prototype.ngOnChanges = function (changes) {\n if (this._isControlChanged(changes)) {\n setUpControl(this.form, this);\n if (this.control.disabled && this.valueAccessor.setDisabledState) {\n this.valueAccessor.setDisabledState(true);\n }\n this.form.updateValueAndValidity({ emitEvent: false });\n }\n if (isPropertyUpdated(changes, this.viewModel)) {\n this.form.setValue(this.model);\n this.viewModel = this.model;\n }\n };\n Object.defineProperty(FormControlDirective.prototype, \"path\", {\n get: function () { return []; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlDirective.prototype, \"validator\", {\n get: function () { return composeValidators(this._rawValidators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlDirective.prototype, \"asyncValidator\", {\n get: function () {\n return composeAsyncValidators(this._rawAsyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlDirective.prototype, \"control\", {\n get: function () { return this.form; },\n enumerable: true,\n configurable: true\n });\n FormControlDirective.prototype.viewToModelUpdate = function (newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n };\n FormControlDirective.prototype._isControlChanged = function (changes) {\n return changes.hasOwnProperty('form');\n };\n FormControlDirective.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[formControl]', providers: [formControlBinding$1], exportAs: 'ngForm' },] },\n ];\n /** @nocollapse */\n FormControlDirective.ctorParameters = [\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n ];\n FormControlDirective.propDecorators = {\n 'form': [{ type: _angular_core.Input, args: ['formControl',] },],\n 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n };\n return FormControlDirective;\n }(NgControl));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$11 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var formDirectiveProvider$1 = {\n provide: ControlContainer,\n useExisting: _angular_core.forwardRef(function () { return FormGroupDirective; })\n };\n /**\n * @whatItDoes Binds an existing {@link FormGroup} to a DOM element.\n *\n * @howToUse\n *\n * This directive accepts an existing {@link FormGroup} instance. It will then use this\n * {@link FormGroup} instance to match any child {@link FormControl}, {@link FormGroup},\n * and {@link FormArray} instances to child {@link FormControlName}, {@link FormGroupName},\n * and {@link FormArrayName} directives.\n *\n * **Set value**: You can set the form's initial value when instantiating the\n * {@link FormGroup}, or you can set it programmatically later using the {@link FormGroup}'s\n * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue} methods.\n *\n * **Listen to value**: If you want to listen to changes in the value of the form, you can subscribe\n * to the {@link FormGroup}'s {@link AbstractControl.valueChanges} event. You can also listen to\n * its {@link AbstractControl.statusChanges} event to be notified when the validation status is\n * re-calculated.\n *\n * Furthermore, you can listen to the directive's `ngSubmit` event to be notified when the user has\n * triggered a form submission. The `ngSubmit` event will be emitted with the original form\n * submission event.\n *\n * ### Example\n *\n * In this example, we create form controls for first name and last name.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * **npm package**: `@angular/forms`\n *\n * **NgModule**: {@link ReactiveFormsModule}\n *\n * @stable\n */\n var FormGroupDirective = (function (_super) {\n __extends$11(FormGroupDirective, _super);\n function FormGroupDirective(_validators, _asyncValidators) {\n _super.call(this);\n this._validators = _validators;\n this._asyncValidators = _asyncValidators;\n this._submitted = false;\n this.directives = [];\n this.form = null;\n this.ngSubmit = new EventEmitter();\n }\n FormGroupDirective.prototype.ngOnChanges = function (changes) {\n this._checkFormPresent();\n if (changes.hasOwnProperty('form')) {\n this._updateValidators();\n this._updateDomValue();\n this._updateRegistrations();\n }\n };\n Object.defineProperty(FormGroupDirective.prototype, \"submitted\", {\n get: function () { return this._submitted; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormGroupDirective.prototype, \"formDirective\", {\n get: function () { return this; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormGroupDirective.prototype, \"control\", {\n get: function () { return this.form; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormGroupDirective.prototype, \"path\", {\n get: function () { return []; },\n enumerable: true,\n configurable: true\n });\n FormGroupDirective.prototype.addControl = function (dir) {\n var ctrl = this.form.get(dir.path);\n setUpControl(ctrl, dir);\n ctrl.updateValueAndValidity({ emitEvent: false });\n this.directives.push(dir);\n return ctrl;\n };\n FormGroupDirective.prototype.getControl = function (dir) { return this.form.get(dir.path); };\n FormGroupDirective.prototype.removeControl = function (dir) { ListWrapper.remove(this.directives, dir); };\n FormGroupDirective.prototype.addFormGroup = function (dir) {\n var ctrl = this.form.get(dir.path);\n setUpFormContainer(ctrl, dir);\n ctrl.updateValueAndValidity({ emitEvent: false });\n };\n FormGroupDirective.prototype.removeFormGroup = function (dir) { };\n FormGroupDirective.prototype.getFormGroup = function (dir) { return this.form.get(dir.path); };\n FormGroupDirective.prototype.addFormArray = function (dir) {\n var ctrl = this.form.get(dir.path);\n setUpFormContainer(ctrl, dir);\n ctrl.updateValueAndValidity({ emitEvent: false });\n };\n FormGroupDirective.prototype.removeFormArray = function (dir) { };\n FormGroupDirective.prototype.getFormArray = function (dir) { return this.form.get(dir.path); };\n FormGroupDirective.prototype.updateModel = function (dir, value) {\n var ctrl = this.form.get(dir.path);\n ctrl.setValue(value);\n };\n FormGroupDirective.prototype.onSubmit = function ($event) {\n this._submitted = true;\n this.ngSubmit.emit($event);\n return false;\n };\n FormGroupDirective.prototype.onReset = function () { this.resetForm(); };\n FormGroupDirective.prototype.resetForm = function (value) {\n if (value === void 0) { value = undefined; }\n this.form.reset(value);\n this._submitted = false;\n };\n /** @internal */\n FormGroupDirective.prototype._updateDomValue = function () {\n var _this = this;\n this.directives.forEach(function (dir) {\n var newCtrl = _this.form.get(dir.path);\n if (dir._control !== newCtrl) {\n cleanUpControl(dir._control, dir);\n if (newCtrl)\n setUpControl(newCtrl, dir);\n dir._control = newCtrl;\n }\n });\n this.form._updateTreeValidity({ emitEvent: false });\n };\n FormGroupDirective.prototype._updateRegistrations = function () {\n var _this = this;\n this.form._registerOnCollectionChange(function () { return _this._updateDomValue(); });\n if (this._oldForm)\n this._oldForm._registerOnCollectionChange(function () { });\n this._oldForm = this.form;\n };\n FormGroupDirective.prototype._updateValidators = function () {\n var sync = composeValidators(this._validators);\n this.form.validator = Validators.compose([this.form.validator, sync]);\n var async = composeAsyncValidators(this._asyncValidators);\n this.form.asyncValidator = Validators.composeAsync([this.form.asyncValidator, async]);\n };\n FormGroupDirective.prototype._checkFormPresent = function () {\n if (!this.form) {\n ReactiveErrors.missingFormException();\n }\n };\n FormGroupDirective.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[formGroup]',\n providers: [formDirectiveProvider$1],\n host: { '(submit)': 'onSubmit($event)', '(reset)': 'onReset()' },\n exportAs: 'ngForm'\n },] },\n ];\n /** @nocollapse */\n FormGroupDirective.ctorParameters = [\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n ];\n FormGroupDirective.propDecorators = {\n 'form': [{ type: _angular_core.Input, args: ['formGroup',] },],\n 'ngSubmit': [{ type: _angular_core.Output },],\n };\n return FormGroupDirective;\n }(ControlContainer));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$12 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var formGroupNameProvider = {\n provide: ControlContainer,\n useExisting: _angular_core.forwardRef(function () { return FormGroupName; })\n };\n /**\n * @whatItDoes Syncs a nested {@link FormGroup} to a DOM element.\n *\n * @howToUse\n *\n * This directive can only be used with a parent {@link FormGroupDirective} (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the nested {@link FormGroup} you want to link, and\n * will look for a {@link FormGroup} registered with that name in the parent\n * {@link FormGroup} instance you passed into {@link FormGroupDirective}.\n *\n * Nested form groups can come in handy when you want to validate a sub-group of a\n * form separately from the rest or when you'd like to group the values of certain\n * controls into their own nested object.\n *\n * **Access the group**: You can access the associated {@link FormGroup} using the\n * {@link AbstractControl.get} method. Ex: `this.form.get('name')`.\n *\n * You can also access individual controls within the group using dot syntax.\n * Ex: `this.form.get('name.first')`\n *\n * **Get the value**: the `value` property is always synced and available on the\n * {@link FormGroup}. See a full list of available properties in {@link AbstractControl}.\n *\n * **Set the value**: You can set an initial value for each child control when instantiating\n * the {@link FormGroup}, or you can set it programmatically later using\n * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}.\n *\n * **Listen to value**: If you want to listen to changes in the value of the group, you can\n * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n * {@link AbstractControl.statusChanges} to be notified when the validation status is\n * re-calculated.\n *\n * ### Example\n *\n * {@example forms/ts/nestedFormGroup/nested_form_group_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: `ReactiveFormsModule`\n *\n * @stable\n */\n var FormGroupName = (function (_super) {\n __extends$12(FormGroupName, _super);\n function FormGroupName(parent, validators, asyncValidators) {\n _super.call(this);\n this._parent = parent;\n this._validators = validators;\n this._asyncValidators = asyncValidators;\n }\n /** @internal */\n FormGroupName.prototype._checkParentType = function () {\n if (_hasInvalidParent(this._parent)) {\n ReactiveErrors.groupParentException();\n }\n };\n FormGroupName.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[formGroupName]', providers: [formGroupNameProvider] },] },\n ];\n /** @nocollapse */\n FormGroupName.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n ];\n FormGroupName.propDecorators = {\n 'name': [{ type: _angular_core.Input, args: ['formGroupName',] },],\n };\n return FormGroupName;\n }(AbstractFormGroupDirective));\n var formArrayNameProvider = {\n provide: ControlContainer,\n useExisting: _angular_core.forwardRef(function () { return FormArrayName; })\n };\n /**\n * @whatItDoes Syncs a nested {@link FormArray} to a DOM element.\n *\n * @howToUse\n *\n * This directive is designed to be used with a parent {@link FormGroupDirective} (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the nested {@link FormArray} you want to link, and\n * will look for a {@link FormArray} registered with that name in the parent\n * {@link FormGroup} instance you passed into {@link FormGroupDirective}.\n *\n * Nested form arrays can come in handy when you have a group of form controls but\n * you're not sure how many there will be. Form arrays allow you to create new\n * form controls dynamically.\n *\n * **Access the array**: You can access the associated {@link FormArray} using the\n * {@link AbstractControl.get} method on the parent {@link FormGroup}.\n * Ex: `this.form.get('cities')`.\n *\n * **Get the value**: the `value` property is always synced and available on the\n * {@link FormArray}. See a full list of available properties in {@link AbstractControl}.\n *\n * **Set the value**: You can set an initial value for each child control when instantiating\n * the {@link FormArray}, or you can set the value programmatically later using the\n * {@link FormArray}'s {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}\n * methods.\n *\n * **Listen to value**: If you want to listen to changes in the value of the array, you can\n * subscribe to the {@link FormArray}'s {@link AbstractControl.valueChanges} event. You can also\n * listen to its {@link AbstractControl.statusChanges} event to be notified when the validation\n * status is re-calculated.\n *\n * **Add new controls**: You can add new controls to the {@link FormArray} dynamically by\n * calling its {@link FormArray.push} method.\n * Ex: `this.form.get('cities').push(new FormControl());`\n *\n * ### Example\n *\n * {@example forms/ts/nestedFormArray/nested_form_array_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: `ReactiveFormsModule`\n *\n * @stable\n */\n var FormArrayName = (function (_super) {\n __extends$12(FormArrayName, _super);\n function FormArrayName(parent, validators, asyncValidators) {\n _super.call(this);\n this._parent = parent;\n this._validators = validators;\n this._asyncValidators = asyncValidators;\n }\n FormArrayName.prototype.ngOnInit = function () {\n this._checkParentType();\n this.formDirective.addFormArray(this);\n };\n FormArrayName.prototype.ngOnDestroy = function () {\n if (this.formDirective) {\n this.formDirective.removeFormArray(this);\n }\n };\n Object.defineProperty(FormArrayName.prototype, \"control\", {\n get: function () { return this.formDirective.getFormArray(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormArrayName.prototype, \"formDirective\", {\n get: function () {\n return this._parent ? this._parent.formDirective : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormArrayName.prototype, \"path\", {\n get: function () { return controlPath(this.name, this._parent); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormArrayName.prototype, \"validator\", {\n get: function () { return composeValidators(this._validators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormArrayName.prototype, \"asyncValidator\", {\n get: function () { return composeAsyncValidators(this._asyncValidators); },\n enumerable: true,\n configurable: true\n });\n FormArrayName.prototype._checkParentType = function () {\n if (_hasInvalidParent(this._parent)) {\n ReactiveErrors.arrayParentException();\n }\n };\n FormArrayName.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[formArrayName]', providers: [formArrayNameProvider] },] },\n ];\n /** @nocollapse */\n FormArrayName.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n ];\n FormArrayName.propDecorators = {\n 'name': [{ type: _angular_core.Input, args: ['formArrayName',] },],\n };\n return FormArrayName;\n }(ControlContainer));\n function _hasInvalidParent(parent) {\n return !(parent instanceof FormGroupName) && !(parent instanceof FormGroupDirective) &&\n !(parent instanceof FormArrayName);\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$10 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var controlNameBinding = {\n provide: NgControl,\n useExisting: _angular_core.forwardRef(function () { return FormControlName; })\n };\n /**\n * @whatItDoes Syncs a {@link FormControl} in an existing {@link FormGroup} to a form control\n * element by name.\n *\n * In other words, this directive ensures that any values written to the {@link FormControl}\n * instance programmatically will be written to the DOM element (model -> view). Conversely,\n * any values written to the DOM element through user input will be reflected in the\n * {@link FormControl} instance (view -> model).\n *\n * @howToUse\n *\n * This directive is designed to be used with a parent {@link FormGroupDirective} (selector:\n * `[formGroup]`).\n *\n * It accepts the string name of the {@link FormControl} instance you want to\n * link, and will look for a {@link FormControl} registered with that name in the\n * closest {@link FormGroup} or {@link FormArray} above it.\n *\n * **Access the control**: You can access the {@link FormControl} associated with\n * this directive by using the {@link AbstractControl.get} method.\n * Ex: `this.form.get('first');`\n *\n * **Get value**: the `value` property is always synced and available on the {@link FormControl}.\n * See a full list of available properties in {@link AbstractControl}.\n *\n * **Set value**: You can set an initial value for the control when instantiating the\n * {@link FormControl}, or you can set it programmatically later using\n * {@link AbstractControl.setValue} or {@link AbstractControl.patchValue}.\n *\n * **Listen to value**: If you want to listen to changes in the value of the control, you can\n * subscribe to the {@link AbstractControl.valueChanges} event. You can also listen to\n * {@link AbstractControl.statusChanges} to be notified when the validation status is\n * re-calculated.\n *\n * ### Example\n *\n * In this example, we create form controls for first name and last name.\n *\n * {@example forms/ts/simpleFormGroup/simple_form_group_example.ts region='Component'}\n *\n * To see `formControlName` examples with different form control types, see:\n *\n * * Radio buttons: {@link RadioControlValueAccessor}\n * * Selects: {@link SelectControlValueAccessor}\n *\n * **npm package**: `@angular/forms`\n *\n * **NgModule**: {@link ReactiveFormsModule}\n *\n * @stable\n */\n var FormControlName = (function (_super) {\n __extends$10(FormControlName, _super);\n function FormControlName(parent, validators, asyncValidators, valueAccessors) {\n _super.call(this);\n this._added = false;\n this.update = new EventEmitter();\n this._parent = parent;\n this._rawValidators = validators || [];\n this._rawAsyncValidators = asyncValidators || [];\n this.valueAccessor = selectValueAccessor(this, valueAccessors);\n }\n Object.defineProperty(FormControlName.prototype, \"isDisabled\", {\n set: function (isDisabled) { ReactiveErrors.disabledAttrWarning(); },\n enumerable: true,\n configurable: true\n });\n FormControlName.prototype.ngOnChanges = function (changes) {\n if (!this._added)\n this._setUpControl();\n if (isPropertyUpdated(changes, this.viewModel)) {\n this.viewModel = this.model;\n this.formDirective.updateModel(this, this.model);\n }\n };\n FormControlName.prototype.ngOnDestroy = function () {\n if (this.formDirective) {\n this.formDirective.removeControl(this);\n }\n };\n FormControlName.prototype.viewToModelUpdate = function (newValue) {\n this.viewModel = newValue;\n this.update.emit(newValue);\n };\n Object.defineProperty(FormControlName.prototype, \"path\", {\n get: function () { return controlPath(this.name, this._parent); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlName.prototype, \"formDirective\", {\n get: function () { return this._parent ? this._parent.formDirective : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlName.prototype, \"validator\", {\n get: function () { return composeValidators(this._rawValidators); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlName.prototype, \"asyncValidator\", {\n get: function () {\n return composeAsyncValidators(this._rawAsyncValidators);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(FormControlName.prototype, \"control\", {\n get: function () { return this._control; },\n enumerable: true,\n configurable: true\n });\n FormControlName.prototype._checkParentType = function () {\n if (!(this._parent instanceof FormGroupName) &&\n this._parent instanceof AbstractFormGroupDirective) {\n ReactiveErrors.ngModelGroupException();\n }\n else if (!(this._parent instanceof FormGroupName) && !(this._parent instanceof FormGroupDirective) &&\n !(this._parent instanceof FormArrayName)) {\n ReactiveErrors.controlParentException();\n }\n };\n FormControlName.prototype._setUpControl = function () {\n this._checkParentType();\n this._control = this.formDirective.addControl(this);\n if (this.control.disabled && this.valueAccessor.setDisabledState) {\n this.valueAccessor.setDisabledState(true);\n }\n this._added = true;\n };\n FormControlName.decorators = [\n { type: _angular_core.Directive, args: [{ selector: '[formControlName]', providers: [controlNameBinding] },] },\n ];\n /** @nocollapse */\n FormControlName.ctorParameters = [\n { type: ControlContainer, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Host }, { type: _angular_core.SkipSelf },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_ASYNC_VALIDATORS,] },] },\n { type: Array, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Self }, { type: _angular_core.Inject, args: [NG_VALUE_ACCESSOR,] },] },\n ];\n FormControlName.propDecorators = {\n 'name': [{ type: _angular_core.Input, args: ['formControlName',] },],\n 'model': [{ type: _angular_core.Input, args: ['ngModel',] },],\n 'update': [{ type: _angular_core.Output, args: ['ngModelChange',] },],\n 'isDisabled': [{ type: _angular_core.Input, args: ['disabled',] },],\n };\n return FormControlName;\n }(NgControl));\n\n var REQUIRED_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: _angular_core.forwardRef(function () { return RequiredValidator; }),\n multi: true\n };\n /**\n * A Directive that adds the `required` validator to any controls marked with the\n * `required` attribute, via the {@link NG_VALIDATORS} binding.\n *\n * ### Example\n *\n * ```\n * <input name=\"fullName\" ngModel required>\n * ```\n *\n * @stable\n */\n var RequiredValidator = (function () {\n function RequiredValidator() {\n }\n Object.defineProperty(RequiredValidator.prototype, \"required\", {\n get: function () { return this._required; },\n set: function (value) {\n this._required = value != null && value !== false && \"\" + value !== 'false';\n if (this._onChange)\n this._onChange();\n },\n enumerable: true,\n configurable: true\n });\n RequiredValidator.prototype.validate = function (c) {\n return this.required ? Validators.required(c) : null;\n };\n RequiredValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n RequiredValidator.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[required][formControlName],[required][formControl],[required][ngModel]',\n providers: [REQUIRED_VALIDATOR],\n host: { '[attr.required]': 'required ? \"\" : null' }\n },] },\n ];\n /** @nocollapse */\n RequiredValidator.ctorParameters = [];\n RequiredValidator.propDecorators = {\n 'required': [{ type: _angular_core.Input },],\n };\n return RequiredValidator;\n }());\n /**\n * Provider which adds {@link MinLengthValidator} to {@link NG_VALIDATORS}.\n *\n * ## Example:\n *\n * {@example common/forms/ts/validators/validators.ts region='min'}\n */\n var MIN_LENGTH_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: _angular_core.forwardRef(function () { return MinLengthValidator; }),\n multi: true\n };\n /**\n * A directive which installs the {@link MinLengthValidator} for any `formControlName`,\n * `formControl`, or control with `ngModel` that also has a `minlength` attribute.\n *\n * @stable\n */\n var MinLengthValidator = (function () {\n function MinLengthValidator() {\n }\n MinLengthValidator.prototype.ngOnChanges = function (changes) {\n if ('minlength' in changes) {\n this._createValidator();\n if (this._onChange)\n this._onChange();\n }\n };\n MinLengthValidator.prototype.validate = function (c) {\n return this.minlength == null ? null : this._validator(c);\n };\n MinLengthValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n MinLengthValidator.prototype._createValidator = function () {\n this._validator = Validators.minLength(parseInt(this.minlength, 10));\n };\n MinLengthValidator.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[minlength][formControlName],[minlength][formControl],[minlength][ngModel]',\n providers: [MIN_LENGTH_VALIDATOR],\n host: { '[attr.minlength]': 'minlength ? minlength : null' }\n },] },\n ];\n /** @nocollapse */\n MinLengthValidator.ctorParameters = [];\n MinLengthValidator.propDecorators = {\n 'minlength': [{ type: _angular_core.Input },],\n };\n return MinLengthValidator;\n }());\n /**\n * Provider which adds {@link MaxLengthValidator} to {@link NG_VALIDATORS}.\n *\n * ## Example:\n *\n * {@example common/forms/ts/validators/validators.ts region='max'}\n */\n var MAX_LENGTH_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: _angular_core.forwardRef(function () { return MaxLengthValidator; }),\n multi: true\n };\n /**\n * A directive which installs the {@link MaxLengthValidator} for any `formControlName,\n * `formControl`,\n * or control with `ngModel` that also has a `maxlength` attribute.\n *\n * @stable\n */\n var MaxLengthValidator = (function () {\n function MaxLengthValidator() {\n }\n MaxLengthValidator.prototype.ngOnChanges = function (changes) {\n if ('maxlength' in changes) {\n this._createValidator();\n if (this._onChange)\n this._onChange();\n }\n };\n MaxLengthValidator.prototype.validate = function (c) {\n return this.maxlength != null ? this._validator(c) : null;\n };\n MaxLengthValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n MaxLengthValidator.prototype._createValidator = function () {\n this._validator = Validators.maxLength(parseInt(this.maxlength, 10));\n };\n MaxLengthValidator.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[maxlength][formControlName],[maxlength][formControl],[maxlength][ngModel]',\n providers: [MAX_LENGTH_VALIDATOR],\n host: { '[attr.maxlength]': 'maxlength ? maxlength : null' }\n },] },\n ];\n /** @nocollapse */\n MaxLengthValidator.ctorParameters = [];\n MaxLengthValidator.propDecorators = {\n 'maxlength': [{ type: _angular_core.Input },],\n };\n return MaxLengthValidator;\n }());\n var PATTERN_VALIDATOR = {\n provide: NG_VALIDATORS,\n useExisting: _angular_core.forwardRef(function () { return PatternValidator; }),\n multi: true\n };\n /**\n * A Directive that adds the `pattern` validator to any controls marked with the\n * `pattern` attribute, via the {@link NG_VALIDATORS} binding. Uses attribute value\n * as the regex to validate Control value against. Follows pattern attribute\n * semantics; i.e. regex must match entire Control value.\n *\n * ### Example\n *\n * ```\n * <input [name]=\"fullName\" pattern=\"[a-zA-Z ]*\" ngModel>\n * ```\n * @stable\n */\n var PatternValidator = (function () {\n function PatternValidator() {\n }\n PatternValidator.prototype.ngOnChanges = function (changes) {\n if ('pattern' in changes) {\n this._createValidator();\n if (this._onChange)\n this._onChange();\n }\n };\n PatternValidator.prototype.validate = function (c) { return this._validator(c); };\n PatternValidator.prototype.registerOnValidatorChange = function (fn) { this._onChange = fn; };\n PatternValidator.prototype._createValidator = function () { this._validator = Validators.pattern(this.pattern); };\n PatternValidator.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[pattern][formControlName],[pattern][formControl],[pattern][ngModel]',\n providers: [PATTERN_VALIDATOR],\n host: { '[attr.pattern]': 'pattern ? pattern : null' }\n },] },\n ];\n /** @nocollapse */\n PatternValidator.ctorParameters = [];\n PatternValidator.propDecorators = {\n 'pattern': [{ type: _angular_core.Input },],\n };\n return PatternValidator;\n }());\n\n /**\n * @whatItDoes Creates an {@link AbstractControl} from a user-specified configuration.\n *\n * It is essentially syntactic sugar that shortens the `new FormGroup()`,\n * `new FormControl()`, and `new FormArray()` boilerplate that can build up in larger\n * forms.\n *\n * @howToUse\n *\n * To use, inject `FormBuilder` into your component class. You can then call its methods\n * directly.\n *\n * {@example forms/ts/formBuilder/form_builder_example.ts region='Component'}\n *\n * * **npm package**: `@angular/forms`\n *\n * * **NgModule**: {@link ReactiveFormsModule}\n *\n * @stable\n */\n var FormBuilder = (function () {\n function FormBuilder() {\n }\n /**\n * Construct a new {@link FormGroup} with the given map of configuration.\n * Valid keys for the `extra` parameter map are `validator` and `asyncValidator`.\n *\n * See the {@link FormGroup} constructor for more details.\n */\n FormBuilder.prototype.group = function (controlsConfig, extra) {\n if (extra === void 0) { extra = null; }\n var controls = this._reduceControls(controlsConfig);\n var validator = isPresent(extra) ? extra['validator'] : null;\n var asyncValidator = isPresent(extra) ? extra['asyncValidator'] : null;\n return new FormGroup(controls, validator, asyncValidator);\n };\n /**\n * Construct a new {@link FormControl} with the given `formState`,`validator`, and\n * `asyncValidator`.\n *\n * `formState` can either be a standalone value for the form control or an object\n * that contains both a value and a disabled status.\n *\n */\n FormBuilder.prototype.control = function (formState, validator, asyncValidator) {\n if (validator === void 0) { validator = null; }\n if (asyncValidator === void 0) { asyncValidator = null; }\n return new FormControl(formState, validator, asyncValidator);\n };\n /**\n * Construct a {@link FormArray} from the given `controlsConfig` array of\n * configuration, with the given optional `validator` and `asyncValidator`.\n */\n FormBuilder.prototype.array = function (controlsConfig, validator, asyncValidator) {\n var _this = this;\n if (validator === void 0) { validator = null; }\n if (asyncValidator === void 0) { asyncValidator = null; }\n var controls = controlsConfig.map(function (c) { return _this._createControl(c); });\n return new FormArray(controls, validator, asyncValidator);\n };\n /** @internal */\n FormBuilder.prototype._reduceControls = function (controlsConfig) {\n var _this = this;\n var controls = {};\n Object.keys(controlsConfig).forEach(function (controlName) {\n controls[controlName] = _this._createControl(controlsConfig[controlName]);\n });\n return controls;\n };\n /** @internal */\n FormBuilder.prototype._createControl = function (controlConfig) {\n if (controlConfig instanceof FormControl || controlConfig instanceof FormGroup ||\n controlConfig instanceof FormArray) {\n return controlConfig;\n }\n else if (Array.isArray(controlConfig)) {\n var value = controlConfig[0];\n var validator = controlConfig.length > 1 ? controlConfig[1] : null;\n var asyncValidator = controlConfig.length > 2 ? controlConfig[2] : null;\n return this.control(value, validator, asyncValidator);\n }\n else {\n return this.control(controlConfig);\n }\n };\n FormBuilder.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n FormBuilder.ctorParameters = [];\n return FormBuilder;\n }());\n\n var SHARED_FORM_DIRECTIVES = [\n NgSelectOption, NgSelectMultipleOption, DefaultValueAccessor, NumberValueAccessor,\n RangeValueAccessor, CheckboxControlValueAccessor, SelectControlValueAccessor,\n SelectMultipleControlValueAccessor, RadioControlValueAccessor, NgControlStatus,\n NgControlStatusGroup, RequiredValidator, MinLengthValidator, MaxLengthValidator, PatternValidator\n ];\n var TEMPLATE_DRIVEN_DIRECTIVES = [NgModel, NgModelGroup, NgForm];\n var REACTIVE_DRIVEN_DIRECTIVES = [FormControlDirective, FormGroupDirective, FormControlName, FormGroupName, FormArrayName];\n /**\n * Internal module used for sharing directives between FormsModule and ReactiveFormsModule\n */\n var InternalFormsSharedModule = (function () {\n function InternalFormsSharedModule() {\n }\n InternalFormsSharedModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n declarations: SHARED_FORM_DIRECTIVES,\n exports: SHARED_FORM_DIRECTIVES,\n },] },\n ];\n /** @nocollapse */\n InternalFormsSharedModule.ctorParameters = [];\n return InternalFormsSharedModule;\n }());\n\n /**\n * The ng module for forms.\n * @stable\n */\n var FormsModule = (function () {\n function FormsModule() {\n }\n FormsModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n declarations: TEMPLATE_DRIVEN_DIRECTIVES,\n providers: [RadioControlRegistry],\n exports: [InternalFormsSharedModule, TEMPLATE_DRIVEN_DIRECTIVES]\n },] },\n ];\n /** @nocollapse */\n FormsModule.ctorParameters = [];\n return FormsModule;\n }());\n /**\n * The ng module for reactive forms.\n * @stable\n */\n var ReactiveFormsModule = (function () {\n function ReactiveFormsModule() {\n }\n ReactiveFormsModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n declarations: [REACTIVE_DRIVEN_DIRECTIVES],\n providers: [FormBuilder, RadioControlRegistry],\n exports: [InternalFormsSharedModule, REACTIVE_DRIVEN_DIRECTIVES]\n },] },\n ];\n /** @nocollapse */\n ReactiveFormsModule.ctorParameters = [];\n return ReactiveFormsModule;\n }());\n\n exports.AbstractControlDirective = AbstractControlDirective;\n exports.AbstractFormGroupDirective = AbstractFormGroupDirective;\n exports.CheckboxControlValueAccessor = CheckboxControlValueAccessor;\n exports.ControlContainer = ControlContainer;\n exports.NG_VALUE_ACCESSOR = NG_VALUE_ACCESSOR;\n exports.DefaultValueAccessor = DefaultValueAccessor;\n exports.NgControl = NgControl;\n exports.NgControlStatus = NgControlStatus;\n exports.NgControlStatusGroup = NgControlStatusGroup;\n exports.NgForm = NgForm;\n exports.NgModel = NgModel;\n exports.NgModelGroup = NgModelGroup;\n exports.RadioControlValueAccessor = RadioControlValueAccessor;\n exports.FormControlDirective = FormControlDirective;\n exports.FormControlName = FormControlName;\n exports.FormGroupDirective = FormGroupDirective;\n exports.FormArrayName = FormArrayName;\n exports.FormGroupName = FormGroupName;\n exports.NgSelectOption = NgSelectOption;\n exports.SelectControlValueAccessor = SelectControlValueAccessor;\n exports.SelectMultipleControlValueAccessor = SelectMultipleControlValueAccessor;\n exports.MaxLengthValidator = MaxLengthValidator;\n exports.MinLengthValidator = MinLengthValidator;\n exports.PatternValidator = PatternValidator;\n exports.RequiredValidator = RequiredValidator;\n exports.FormBuilder = FormBuilder;\n exports.AbstractControl = AbstractControl;\n exports.FormArray = FormArray;\n exports.FormControl = FormControl;\n exports.FormGroup = FormGroup;\n exports.NG_ASYNC_VALIDATORS = NG_ASYNC_VALIDATORS;\n exports.NG_VALIDATORS = NG_VALIDATORS;\n exports.Validators = Validators;\n exports.FormsModule = FormsModule;\n exports.ReactiveFormsModule = ReactiveFormsModule;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/forms/bundles/forms.umd.js\n// module id = 283\n// module chunks = 0","\"use strict\";\nvar root_1 = require('../util/root');\n/**\n * @param PromiseCtor\n * @return {Promise<T>}\n * @method toPromise\n * @owner Observable\n */\nfunction toPromise(PromiseCtor) {\n var _this = this;\n if (!PromiseCtor) {\n if (root_1.root.Rx && root_1.root.Rx.config && root_1.root.Rx.config.Promise) {\n PromiseCtor = root_1.root.Rx.config.Promise;\n }\n else if (root_1.root.Promise) {\n PromiseCtor = root_1.root.Promise;\n }\n }\n if (!PromiseCtor) {\n throw new Error('no Promise impl found');\n }\n return new PromiseCtor(function (resolve, reject) {\n var value;\n _this.subscribe(function (x) { return value = x; }, function (err) { return reject(err); }, function () { return resolve(value); });\n });\n}\nexports.toPromise = toPromise;\n//# sourceMappingURL=toPromise.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/toPromise.js\n// module id = 284\n// module chunks = 0","\"use strict\";\nvar PromiseObservable_1 = require('./PromiseObservable');\nexports.fromPromise = PromiseObservable_1.PromiseObservable.create;\n//# sourceMappingURL=fromPromise.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/fromPromise.js\n// module id = 285\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Observable_1 = require('../Observable');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar PromiseObservable = (function (_super) {\n __extends(PromiseObservable, _super);\n function PromiseObservable(promise, scheduler) {\n _super.call(this);\n this.promise = promise;\n this.scheduler = scheduler;\n }\n /**\n * Converts a Promise to an Observable.\n *\n * <span class=\"informal\">Returns an Observable that just emits the Promise's\n * resolved value, then completes.</span>\n *\n * Converts an ES2015 Promise or a Promises/A+ spec compliant Promise to an\n * Observable. If the Promise resolves with a value, the output Observable\n * emits that resolved value as a `next`, and then completes. If the Promise\n * is rejected, then the output Observable emits the corresponding Error.\n *\n * @example <caption>Convert the Promise returned by Fetch to an Observable</caption>\n * var result = Rx.Observable.fromPromise(fetch('http://myserver.com/'));\n * result.subscribe(x => console.log(x), e => console.error(e));\n *\n * @see {@link bindCallback}\n * @see {@link from}\n *\n * @param {Promise<T>} promise The promise to be converted.\n * @param {Scheduler} [scheduler] An optional Scheduler to use for scheduling\n * the delivery of the resolved value (or the rejection).\n * @return {Observable<T>} An Observable which wraps the Promise.\n * @static true\n * @name fromPromise\n * @owner Observable\n */\n PromiseObservable.create = function (promise, scheduler) {\n return new PromiseObservable(promise, scheduler);\n };\n PromiseObservable.prototype._subscribe = function (subscriber) {\n var _this = this;\n var promise = this.promise;\n var scheduler = this.scheduler;\n if (scheduler == null) {\n if (this._isScalar) {\n if (!subscriber.closed) {\n subscriber.next(this.value);\n subscriber.complete();\n }\n }\n else {\n promise.then(function (value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n }, function (err) {\n if (!subscriber.closed) {\n subscriber.error(err);\n }\n })\n .then(null, function (err) {\n // escape the promise trap, throw unhandled errors\n root_1.root.setTimeout(function () { throw err; });\n });\n }\n }\n else {\n if (this._isScalar) {\n if (!subscriber.closed) {\n return scheduler.schedule(dispatchNext, 0, { value: this.value, subscriber: subscriber });\n }\n }\n else {\n promise.then(function (value) {\n _this.value = value;\n _this._isScalar = true;\n if (!subscriber.closed) {\n subscriber.add(scheduler.schedule(dispatchNext, 0, { value: value, subscriber: subscriber }));\n }\n }, function (err) {\n if (!subscriber.closed) {\n subscriber.add(scheduler.schedule(dispatchError, 0, { err: err, subscriber: subscriber }));\n }\n })\n .then(null, function (err) {\n // escape the promise trap, throw unhandled errors\n root_1.root.setTimeout(function () { throw err; });\n });\n }\n }\n };\n return PromiseObservable;\n}(Observable_1.Observable));\nexports.PromiseObservable = PromiseObservable;\nfunction dispatchNext(arg) {\n var value = arg.value, subscriber = arg.subscriber;\n if (!subscriber.closed) {\n subscriber.next(value);\n subscriber.complete();\n }\n}\nfunction dispatchError(arg) {\n var err = arg.err, subscriber = arg.subscriber;\n if (!subscriber.closed) {\n subscriber.error(err);\n }\n}\n//# sourceMappingURL=PromiseObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/PromiseObservable.js\n// module id = 286\n// module chunks = 0","/**\n * @license Angular Material v2.0.0-beta.2\n * Copyright (c) 2017 Google, Inc. https://material.angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('rxjs/Subject'), require('rxjs/Observable'), require('rxjs/add/observable/fromEvent'), require('rxjs/add/operator/auditTime'), require('@angular/platform-browser'), require('@angular/forms'), require('rxjs/add/operator/startWith'), require('rxjs/add/operator/first'), require('@angular/http'), require('rxjs/add/observable/forkJoin'), require('rxjs/add/observable/of'), require('rxjs/add/operator/map'), require('rxjs/add/operator/filter'), require('rxjs/add/operator/do'), require('rxjs/add/operator/share'), require('rxjs/add/operator/finally'), require('rxjs/add/operator/catch'), require('rxjs/add/observable/merge'), require('rxjs/add/operator/switchMap')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/core', '@angular/common', 'rxjs/Subject', 'rxjs/Observable', 'rxjs/add/observable/fromEvent', 'rxjs/add/operator/auditTime', '@angular/platform-browser', '@angular/forms', 'rxjs/add/operator/startWith', 'rxjs/add/operator/first', '@angular/http', 'rxjs/add/observable/forkJoin', 'rxjs/add/observable/of', 'rxjs/add/operator/map', 'rxjs/add/operator/filter', 'rxjs/add/operator/do', 'rxjs/add/operator/share', 'rxjs/add/operator/finally', 'rxjs/add/operator/catch', 'rxjs/add/observable/merge', 'rxjs/add/operator/switchMap'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.material = global.ng.material || {}),global.ng.core,global.ng.common,global.Rx,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.ng.platformBrowser,global.ng.forms,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.ng.http,global.Rx.Observable,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable,global.Rx.Observable.prototype));\n}(this, (function (exports,_angular_core,_angular_common,rxjs_Subject,rxjs_Observable,rxjs_add_observable_fromEvent,rxjs_add_operator_auditTime,_angular_platformBrowser,_angular_forms,rxjs_add_operator_startWith,rxjs_add_operator_first,_angular_http,rxjs_add_observable_forkJoin,rxjs_add_observable_of,rxjs_add_operator_map,rxjs_add_operator_filter,rxjs_add_operator_do,rxjs_add_operator_share,rxjs_add_operator_finally,rxjs_add_operator_catch,rxjs_add_observable_merge,rxjs_add_operator_switchMap) { 'use strict';\n\nvar __decorate$2 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$2 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar MATERIAL_COMPATIBILITY_MODE = new _angular_core.OpaqueToken('md-compatibility-mode');\n/** Selector that matches all elements that may have style collisions with AngularJS Material. */\nvar MAT_ELEMENTS_SELECTOR = \"\\n [mat-button],\\n [mat-dialog-actions],\\n [mat-dialog-close],\\n [mat-dialog-content],\\n [mat-dialog-title],\\n [mat-fab],\\n [mat-icon-button],\\n [mat-menu-trigger-for],\\n [mat-mini-fab],\\n [mat-raised-button],\\n [mat-tab-label],\\n [mat-tab-link],\\n [mat-tab-nav-bar],\\n [matTooltip],\\n mat-autocomplete,\\n mat-button-toggle,\\n mat-button-toggle-group,\\n mat-button-toggle,\\n mat-card,\\n mat-card-actions,\\n mat-card-content,\\n mat-card-footer,\\n mat-card-header,\\n mat-card-subtitle,\\n mat-card-title,\\n mat-card-title-group,\\n mat-checkbox,\\n mat-chip,\\n mat-dialog-actions,\\n mat-dialog-container,\\n mat-dialog-content,\\n mat-divider,\\n mat-grid-list,\\n mat-grid-tile,\\n mat-grid-tile-footer,\\n mat-grid-tile-header,\\n mat-hint,\\n mat-icon,\\n mat-ink-bar,\\n mat-list,\\n mat-list-item,\\n mat-menu,\\n mat-nav-list,\\n mat-option,\\n mat-placeholder,\\n mat-progress-bar,\\n mat-progress-circle,\\n mat-pseudo-checkbox,\\n mat-radio-button,\\n mat-radio-group,\\n mat-select,\\n mat-sidenav,\\n mat-sidenav-container,\\n mat-slider,\\n mat-spinner,\\n mat-tab,\\n mat-tab-body,\\n mat-tab-header,\\n mat-tab-group,\\n mat-toolbar\";\n/** Selector that matches all elements that may have style collisions with AngularJS Material. */\nvar MD_ELEMENTS_SELECTOR = \" \\n [md-button],\\n [md-dialog-actions],\\n [md-dialog-close],\\n [md-dialog-content],\\n [md-dialog-title],\\n [md-fab],\\n [md-icon-button],\\n [md-menu-trigger-for],\\n [md-mini-fab],\\n [md-raised-button],\\n [md-tab-label],\\n [md-tab-link],\\n [md-tab-nav-bar],\\n [mdTooltip],\\n md-autocomplete,\\n md-button-toggle,\\n md-button-toggle-group,\\n md-button-toggle,\\n md-card,\\n md-card-actions,\\n md-card-content,\\n md-card-footer,\\n md-card-header,\\n md-card-subtitle,\\n md-card-title,\\n md-card-title-group,\\n md-checkbox,\\n md-chip,\\n md-dialog-actions,\\n md-dialog-container,\\n md-dialog-content,\\n md-divider,\\n md-grid-list,\\n md-grid-tile,\\n md-grid-tile-footer,\\n md-grid-tile-header,\\n md-hint,\\n md-icon,\\n md-ink-bar,\\n md-list,\\n md-list-item,\\n md-menu,\\n md-nav-list,\\n md-option,\\n md-placeholder,\\n md-progress-bar,\\n md-progress-circle,\\n md-pseudo-checkbox,\\n md-radio-button,\\n md-radio-group,\\n md-select,\\n md-sidenav,\\n md-sidenav-container,\\n md-slider,\\n md-spinner,\\n md-tab,\\n md-tab-body,\\n md-tab-header,\\n md-tab-group,\\n md-toolbar\";\n/** Directive that enforces that the `mat-` prefix cannot be used. */\nvar MatPrefixRejector = (function () {\n function MatPrefixRejector(isCompatibilityMode) {\n if (!isCompatibilityMode) {\n throw Error('The \"mat-\" prefix cannot be used out of ng-material v1 compatibility mode.');\n }\n }\n MatPrefixRejector = __decorate$2([\n _angular_core.Directive({ selector: MAT_ELEMENTS_SELECTOR }),\n __param(0, _angular_core.Optional()),\n __param(0, _angular_core.Inject(MATERIAL_COMPATIBILITY_MODE)), \n __metadata$2('design:paramtypes', [Boolean])\n ], MatPrefixRejector);\n return MatPrefixRejector;\n}());\n/** Directive that enforces that the `md-` prefix cannot be used. */\nvar MdPrefixRejector = (function () {\n function MdPrefixRejector(isCompatibilityMode) {\n if (isCompatibilityMode) {\n throw Error('The \"md-\" prefix cannot be used in ng-material v1 compatibility mode.');\n }\n }\n MdPrefixRejector = __decorate$2([\n _angular_core.Directive({ selector: MD_ELEMENTS_SELECTOR }),\n __param(0, _angular_core.Optional()),\n __param(0, _angular_core.Inject(MATERIAL_COMPATIBILITY_MODE)), \n __metadata$2('design:paramtypes', [Boolean])\n ], MdPrefixRejector);\n return MdPrefixRejector;\n}());\n/**\n * Module that enforces the default compatibility mode settings. When this module is loaded\n * without NoConflictStyleCompatibilityMode also being imported, it will throw an error if\n * there are any uses of the `mat-` prefix.\n */\nvar CompatibilityModule = (function () {\n function CompatibilityModule() {\n }\n CompatibilityModule.forRoot = function () {\n return {\n ngModule: CompatibilityModule,\n providers: [],\n };\n };\n CompatibilityModule = __decorate$2([\n _angular_core.NgModule({\n declarations: [MatPrefixRejector, MdPrefixRejector],\n exports: [MatPrefixRejector, MdPrefixRejector],\n }), \n __metadata$2('design:paramtypes', [])\n ], CompatibilityModule);\n return CompatibilityModule;\n}());\n/**\n * Module that enforces \"no-conflict\" compatibility mode settings. When this module is loaded,\n * it will throw an error if there are any uses of the `md-` prefix.\n */\nvar NoConflictStyleCompatibilityMode = (function () {\n function NoConflictStyleCompatibilityMode() {\n }\n NoConflictStyleCompatibilityMode = __decorate$2([\n _angular_core.NgModule({\n providers: [{\n provide: MATERIAL_COMPATIBILITY_MODE, useValue: true,\n }],\n }), \n __metadata$2('design:paramtypes', [])\n ], NoConflictStyleCompatibilityMode);\n return NoConflictStyleCompatibilityMode;\n}());\n\nvar __decorate$1 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$1 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Shared directive to count lines inside a text area, such as a list item.\n * Line elements can be extracted with a @ContentChildren(MdLine) query, then\n * counted by checking the query list's length.\n */\nvar MdLine = (function () {\n function MdLine() {\n }\n MdLine = __decorate$1([\n _angular_core.Directive({\n selector: '[md-line], [mat-line]',\n host: {\n '[class.mat-line]': 'true'\n }\n }), \n __metadata$1('design:paramtypes', [])\n ], MdLine);\n return MdLine;\n}());\n/**\n * Helper that takes a query list of lines and sets the correct class on the host.\n * @docs-private\n */\nvar MdLineSetter = (function () {\n function MdLineSetter(_lines, _renderer, _element) {\n var _this = this;\n this._lines = _lines;\n this._renderer = _renderer;\n this._element = _element;\n this._setLineClass(this._lines.length);\n this._lines.changes.subscribe(function () {\n _this._setLineClass(_this._lines.length);\n });\n }\n MdLineSetter.prototype._setLineClass = function (count) {\n this._resetClasses();\n if (count === 2 || count === 3) {\n this._setClass(\"mat-\" + count + \"-line\", true);\n }\n else if (count > 3) {\n this._setClass(\"mat-multi-line\", true);\n }\n };\n MdLineSetter.prototype._resetClasses = function () {\n this._setClass('mat-2-line', false);\n this._setClass('mat-3-line', false);\n this._setClass('mat-multi-line', false);\n };\n MdLineSetter.prototype._setClass = function (className, bool) {\n this._renderer.setElementClass(this._element.nativeElement, className, bool);\n };\n return MdLineSetter;\n}());\nvar MdLineModule = (function () {\n function MdLineModule() {\n }\n MdLineModule = __decorate$1([\n _angular_core.NgModule({\n imports: [CompatibilityModule],\n exports: [MdLine, CompatibilityModule],\n declarations: [MdLine],\n }), \n __metadata$1('design:paramtypes', [])\n ], MdLineModule);\n return MdLineModule;\n}());\n\nvar __decorate$3 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$3 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Directive to listen for changes of direction of part of the DOM.\n *\n * Applications should use this directive instead of the native attribute so that Material\n * components can listen on changes of direction.\n */\nvar Dir = (function () {\n function Dir() {\n /** Layout direction of the element. */\n this._dir = 'ltr';\n /** Event emitted when the direction changes. */\n this.dirChange = new _angular_core.EventEmitter();\n }\n Object.defineProperty(Dir.prototype, \"dir\", {\n /** @docs-private */\n get: function () {\n return this._dir;\n },\n set: function (v) {\n var old = this._dir;\n this._dir = v;\n if (old != this._dir) {\n this.dirChange.emit();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Dir.prototype, \"value\", {\n /** Current layout direction of the element. */\n get: function () { return this.dir; },\n set: function (v) { this.dir = v; },\n enumerable: true,\n configurable: true\n });\n __decorate$3([\n _angular_core.Input('dir'), \n __metadata$3('design:type', String)\n ], Dir.prototype, \"_dir\", void 0);\n __decorate$3([\n _angular_core.Output(), \n __metadata$3('design:type', Object)\n ], Dir.prototype, \"dirChange\", void 0);\n __decorate$3([\n _angular_core.HostBinding('attr.dir'), \n __metadata$3('design:type', String)\n ], Dir.prototype, \"dir\", null);\n Dir = __decorate$3([\n _angular_core.Directive({\n selector: '[dir]',\n // TODO(hansl): maybe `$implicit` isn't the best option here, but for now that's the best we got.\n exportAs: '$implicit'\n }), \n __metadata$3('design:paramtypes', [])\n ], Dir);\n return Dir;\n}());\nvar RtlModule = (function () {\n function RtlModule() {\n }\n /** @deprecated */\n RtlModule.forRoot = function () {\n return {\n ngModule: RtlModule,\n providers: []\n };\n };\n RtlModule = __decorate$3([\n _angular_core.NgModule({\n exports: [Dir],\n declarations: [Dir]\n }), \n __metadata$3('design:paramtypes', [])\n ], RtlModule);\n return RtlModule;\n}());\n\nvar __decorate$4 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$4 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Directive that triggers a callback whenever the content of\n * its associated element has changed.\n */\nvar ObserveContent = (function () {\n function ObserveContent(_elementRef) {\n this._elementRef = _elementRef;\n /** Event emitted for each change in the element's content. */\n this.event = new _angular_core.EventEmitter();\n }\n ObserveContent.prototype.ngAfterContentInit = function () {\n var _this = this;\n this._observer = new MutationObserver(function (mutations) { return mutations.forEach(function () { return _this.event.emit(); }); });\n this._observer.observe(this._elementRef.nativeElement, {\n characterData: true,\n childList: true,\n subtree: true\n });\n };\n ObserveContent.prototype.ngOnDestroy = function () {\n if (this._observer) {\n this._observer.disconnect();\n }\n };\n __decorate$4([\n _angular_core.Output('cdkObserveContent'), \n __metadata$4('design:type', Object)\n ], ObserveContent.prototype, \"event\", void 0);\n ObserveContent = __decorate$4([\n _angular_core.Directive({\n selector: '[cdkObserveContent]'\n }), \n __metadata$4('design:paramtypes', [_angular_core.ElementRef])\n ], ObserveContent);\n return ObserveContent;\n}());\nvar ObserveContentModule = (function () {\n function ObserveContentModule() {\n }\n /** @deprecated */\n ObserveContentModule.forRoot = function () {\n return {\n ngModule: ObserveContentModule,\n providers: []\n };\n };\n ObserveContentModule = __decorate$4([\n _angular_core.NgModule({\n exports: [ObserveContent],\n declarations: [ObserveContent]\n }), \n __metadata$4('design:paramtypes', [])\n ], ObserveContentModule);\n return ObserveContentModule;\n}());\n\n// Due to a bug in the ChromeDriver, Angular keyboard events are not triggered by `sendKeys`\n// during E2E tests when using dot notation such as `(keydown.rightArrow)`. To get around this,\n// we are temporarily using a single (keydown) handler.\n// See: https://github.com/angular/angular/issues/9419\nvar UP_ARROW = 38;\nvar DOWN_ARROW = 40;\nvar RIGHT_ARROW = 39;\nvar LEFT_ARROW = 37;\nvar PAGE_UP = 33;\nvar PAGE_DOWN = 34;\nvar HOME = 36;\nvar END = 35;\nvar ENTER = 13;\nvar SPACE = 32;\nvar TAB = 9;\nvar ESCAPE = 27;\nvar BACKSPACE = 8;\nvar DELETE = 46;\n\n/** Coerces a data-bound value (typically a string) to a boolean. */\nfunction coerceBooleanProperty(value) {\n return value != null && \"\" + value !== 'false';\n}\n\n/** Fade-in speed in pixels per second. Can be modified with the speedFactor option. */\nvar RIPPLE_SPEED_PX_PER_SECOND = 170;\n/** Fade-out speed for the ripples in milliseconds. This can't be modified by the speedFactor. */\nvar RIPPLE_FADE_OUT_DURATION = 600;\n/**\n * Returns the distance from the point (x, y) to the furthest corner of a rectangle.\n */\nvar distanceToFurthestCorner = function (x, y, rect) {\n var distX = Math.max(Math.abs(x - rect.left), Math.abs(x - rect.right));\n var distY = Math.max(Math.abs(y - rect.top), Math.abs(y - rect.bottom));\n return Math.sqrt(distX * distX + distY * distY);\n};\n/**\n * Helper service that performs DOM manipulations. Not intended to be used outside this module.\n * The constructor takes a reference to the ripple directive's host element and a map of DOM\n * event handlers to be installed on the element that triggers ripple animations.\n * This will eventually become a custom renderer once Angular support exists.\n * @docs-private\n */\nvar RippleRenderer = (function () {\n function RippleRenderer(_elementRef, _ngZone, _ruler) {\n this._ngZone = _ngZone;\n this._ruler = _ruler;\n /** Whether the mouse is currently down or not. */\n this._isMousedown = false;\n /** Currently active ripples that will be closed on mouseup. */\n this._activeRipples = [];\n /** Events to be registered on the trigger element. */\n this._triggerEvents = new Map();\n /** Ripple config for all ripples created by events. */\n this.rippleConfig = {};\n /** Whether mouse ripples should be created or not. */\n this.rippleDisabled = false;\n this._containerElement = _elementRef.nativeElement;\n // Specify events which need to be registered on the trigger.\n this._triggerEvents.set('mousedown', this.onMousedown.bind(this));\n this._triggerEvents.set('mouseup', this.onMouseup.bind(this));\n this._triggerEvents.set('mouseleave', this.onMouseLeave.bind(this));\n // By default use the host element as trigger element.\n this.setTriggerElement(this._containerElement);\n }\n /** Fades in a ripple at the given coordinates. */\n RippleRenderer.prototype.fadeInRipple = function (pageX, pageY, config) {\n var _this = this;\n if (config === void 0) { config = {}; }\n var containerRect = this._containerElement.getBoundingClientRect();\n if (config.centered) {\n pageX = containerRect.left + containerRect.width / 2;\n pageY = containerRect.top + containerRect.height / 2;\n }\n else {\n // Subtract scroll values from the coordinates because calculations below\n // are always relative to the viewport rectangle.\n var scrollPosition = this._ruler.getViewportScrollPosition();\n pageX -= scrollPosition.left;\n pageY -= scrollPosition.top;\n }\n var radius = config.radius || distanceToFurthestCorner(pageX, pageY, containerRect);\n var duration = 1 / (config.speedFactor || 1) * (radius / RIPPLE_SPEED_PX_PER_SECOND);\n var offsetX = pageX - containerRect.left;\n var offsetY = pageY - containerRect.top;\n var ripple = document.createElement('div');\n ripple.classList.add('mat-ripple-element');\n ripple.style.left = (offsetX - radius) + \"px\";\n ripple.style.top = (offsetY - radius) + \"px\";\n ripple.style.height = radius * 2 + \"px\";\n ripple.style.width = radius * 2 + \"px\";\n // If the color is not set, the default CSS color will be used.\n ripple.style.backgroundColor = config.color;\n ripple.style.transitionDuration = duration + \"s\";\n this._containerElement.appendChild(ripple);\n // By default the browser does not recalculate the styles of dynamically created\n // ripple elements. This is critical because then the `scale` would not animate properly.\n this._enforceStyleRecalculation(ripple);\n ripple.style.transform = 'scale(1)';\n // Wait for the ripple to be faded in. Once it's faded in, the ripple can be hidden immediately\n // if the mouse is released.\n this.runTimeoutOutsideZone(function () {\n _this._isMousedown ? _this._activeRipples.push(ripple) : _this.fadeOutRipple(ripple);\n }, duration * 1000);\n };\n /** Fades out a ripple element. */\n RippleRenderer.prototype.fadeOutRipple = function (ripple) {\n ripple.style.transitionDuration = RIPPLE_FADE_OUT_DURATION + \"ms\";\n ripple.style.opacity = '0';\n // Once the ripple faded out, the ripple can be safely removed from the DOM.\n this.runTimeoutOutsideZone(function () {\n ripple.parentNode.removeChild(ripple);\n }, RIPPLE_FADE_OUT_DURATION);\n };\n /** Sets the trigger element and registers the mouse events. */\n RippleRenderer.prototype.setTriggerElement = function (element) {\n var _this = this;\n // Remove all previously register event listeners from the trigger element.\n if (this._triggerElement) {\n this._triggerEvents.forEach(function (fn, type) { return _this._triggerElement.removeEventListener(type, fn); });\n }\n if (element) {\n // If the element is not null, register all event listeners on the trigger element.\n this._triggerEvents.forEach(function (fn, type) { return element.addEventListener(type, fn); });\n }\n this._triggerElement = element;\n };\n /** Listener being called on mousedown event. */\n RippleRenderer.prototype.onMousedown = function (event) {\n if (this.rippleDisabled) {\n return;\n }\n this._isMousedown = true;\n this.fadeInRipple(event.pageX, event.pageY, this.rippleConfig);\n };\n /** Listener being called on mouseup event. */\n RippleRenderer.prototype.onMouseup = function () {\n var _this = this;\n this._isMousedown = false;\n this._activeRipples.forEach(function (ripple) { return _this.fadeOutRipple(ripple); });\n this._activeRipples = [];\n };\n /** Listener being called on mouseleave event. */\n RippleRenderer.prototype.onMouseLeave = function () {\n if (this._isMousedown) {\n this.onMouseup();\n }\n };\n /** Runs a timeout outside of the Angular zone to avoid triggering the change detection. */\n RippleRenderer.prototype.runTimeoutOutsideZone = function (fn, delay) {\n if (delay === void 0) { delay = 0; }\n this._ngZone.runOutsideAngular(function () { return setTimeout(fn, delay); });\n };\n /** Enforces a style recalculation of a DOM element by computing its styles. */\n // TODO(devversion): Move into global utility function.\n RippleRenderer.prototype._enforceStyleRecalculation = function (element) {\n // Enforce a style recalculation by calling `getComputedStyle` and accessing any property.\n // Calling `getPropertyValue` is important to let optimizers know that this is not a noop.\n // See: https://gist.github.com/paulirish/5d52fb081b3570c81e3a\n window.getComputedStyle(element).getPropertyValue('opacity');\n };\n return RippleRenderer;\n}());\n\nvar __decorate$8 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$8 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Time in ms to throttle the scrolling events by default. */\nvar DEFAULT_SCROLL_TIME = 20;\n/**\n * Service contained all registered Scrollable references and emits an event when any one of the\n * Scrollable references emit a scrolled event.\n */\nvar ScrollDispatcher = (function () {\n function ScrollDispatcher() {\n var _this = this;\n /** Subject for notifying that a registered scrollable reference element has been scrolled. */\n this._scrolled = new rxjs_Subject.Subject();\n /**\n * Map of all the scrollable references that are registered with the service and their\n * scroll event subscriptions.\n */\n this.scrollableReferences = new Map();\n // By default, notify a scroll event when the document is scrolled or the window is resized.\n rxjs_Observable.Observable.fromEvent(window.document, 'scroll').subscribe(function () { return _this._notify(); });\n rxjs_Observable.Observable.fromEvent(window, 'resize').subscribe(function () { return _this._notify(); });\n }\n /**\n * Registers a Scrollable with the service and listens for its scrolled events. When the\n * scrollable is scrolled, the service emits the event in its scrolled observable.\n *\n * @param scrollable Scrollable instance to be registered.\n */\n ScrollDispatcher.prototype.register = function (scrollable) {\n var _this = this;\n var scrollSubscription = scrollable.elementScrolled().subscribe(function () { return _this._notify(); });\n this.scrollableReferences.set(scrollable, scrollSubscription);\n };\n /**\n * Deregisters a Scrollable reference and unsubscribes from its scroll event observable.\n *\n * @param scrollable Scrollable instance to be deregistered.\n */\n ScrollDispatcher.prototype.deregister = function (scrollable) {\n this.scrollableReferences.get(scrollable).unsubscribe();\n this.scrollableReferences.delete(scrollable);\n };\n /**\n * Returns an observable that emits an event whenever any of the registered Scrollable\n * references (or window, document, or body) fire a scrolled event. Can provide a time in ms\n * to override the default \"throttle\" time.\n */\n ScrollDispatcher.prototype.scrolled = function (auditTimeInMs) {\n if (auditTimeInMs === void 0) { auditTimeInMs = DEFAULT_SCROLL_TIME; }\n // In the case of a 0ms delay, return the observable without auditTime since it does add\n // a perceptible delay in processing overhead.\n if (auditTimeInMs == 0) {\n return this._scrolled.asObservable();\n }\n return this._scrolled.asObservable().auditTime(auditTimeInMs);\n };\n /** Returns all registered Scrollables that contain the provided element. */\n ScrollDispatcher.prototype.getScrollContainers = function (elementRef) {\n var _this = this;\n var scrollingContainers = [];\n this.scrollableReferences.forEach(function (subscription, scrollable) {\n if (_this.scrollableContainsElement(scrollable, elementRef)) {\n scrollingContainers.push(scrollable);\n }\n });\n return scrollingContainers;\n };\n /** Returns true if the element is contained within the provided Scrollable. */\n ScrollDispatcher.prototype.scrollableContainsElement = function (scrollable, elementRef) {\n var element = elementRef.nativeElement;\n var scrollableElement = scrollable.getElementRef().nativeElement;\n // Traverse through the element parents until we reach null, checking if any of the elements\n // are the scrollable's element.\n do {\n if (element == scrollableElement) {\n return true;\n }\n } while (element = element.parentElement);\n };\n /** Sends a notification that a scroll event has been fired. */\n ScrollDispatcher.prototype._notify = function () {\n this._scrolled.next();\n };\n ScrollDispatcher = __decorate$8([\n _angular_core.Injectable(), \n __metadata$8('design:paramtypes', [])\n ], ScrollDispatcher);\n return ScrollDispatcher;\n}());\nfunction SCROLL_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) {\n return parentDispatcher || new ScrollDispatcher();\n}\nvar SCROLL_DISPATCHER_PROVIDER = {\n // If there is already a ScrollDispatcher available, use that. Otherwise, provide a new one.\n provide: ScrollDispatcher,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), ScrollDispatcher]],\n useFactory: SCROLL_DISPATCHER_PROVIDER_FACTORY\n};\n\nvar __decorate$7 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$7 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Simple utility for getting the bounds of the browser viewport.\n * @docs-private\n */\nvar ViewportRuler = (function () {\n function ViewportRuler(scrollDispatcher) {\n var _this = this;\n // Initially cache the document rectangle.\n this._cacheViewportGeometry();\n // Subscribe to scroll and resize events and update the document rectangle on changes.\n scrollDispatcher.scrolled().subscribe(function () { return _this._cacheViewportGeometry(); });\n }\n /** Gets a ClientRect for the viewport's bounds. */\n ViewportRuler.prototype.getViewportRect = function (documentRect) {\n if (documentRect === void 0) { documentRect = this._documentRect; }\n // Use the document element's bounding rect rather than the window scroll properties\n // (e.g. pageYOffset, scrollY) due to in issue in Chrome and IE where window scroll\n // properties and client coordinates (boundingClientRect, clientX/Y, etc.) are in different\n // conceptual viewports. Under most circumstances these viewports are equivalent, but they\n // can disagree when the page is pinch-zoomed (on devices that support touch).\n // See https://bugs.chromium.org/p/chromium/issues/detail?id=489206#c4\n // We use the documentElement instead of the body because, by default (without a css reset)\n // browsers typically give the document body an 8px margin, which is not included in\n // getBoundingClientRect().\n var scrollPosition = this.getViewportScrollPosition(documentRect);\n var height = window.innerHeight;\n var width = window.innerWidth;\n return {\n top: scrollPosition.top,\n left: scrollPosition.left,\n bottom: scrollPosition.top + height,\n right: scrollPosition.left + width,\n height: height,\n width: width,\n };\n };\n /**\n * Gets the (top, left) scroll position of the viewport.\n * @param documentRect\n */\n ViewportRuler.prototype.getViewportScrollPosition = function (documentRect) {\n if (documentRect === void 0) { documentRect = this._documentRect; }\n // The top-left-corner of the viewport is determined by the scroll position of the document\n // body, normally just (scrollLeft, scrollTop). However, Chrome and Firefox disagree about\n // whether `document.body` or `document.documentElement` is the scrolled element, so reading\n // `scrollTop` and `scrollLeft` is inconsistent. However, using the bounding rect of\n // `document.documentElement` works consistently, where the `top` and `left` values will\n // equal negative the scroll position.\n var top = -documentRect.top || document.body.scrollTop || window.scrollY || 0;\n var left = -documentRect.left || document.body.scrollLeft || window.scrollX || 0;\n return { top: top, left: left };\n };\n /** Caches the latest client rectangle of the document element. */\n ViewportRuler.prototype._cacheViewportGeometry = function () {\n this._documentRect = document.documentElement.getBoundingClientRect();\n };\n ViewportRuler = __decorate$7([\n _angular_core.Injectable(), \n __metadata$7('design:paramtypes', [ScrollDispatcher])\n ], ViewportRuler);\n return ViewportRuler;\n}());\nfunction VIEWPORT_RULER_PROVIDER_FACTORY(parentRuler, scrollDispatcher) {\n return parentRuler || new ViewportRuler(scrollDispatcher);\n}\nvar VIEWPORT_RULER_PROVIDER = {\n // If there is already a ViewportRuler available, use that. Otherwise, provide a new one.\n provide: ViewportRuler,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), ViewportRuler], ScrollDispatcher],\n useFactory: VIEWPORT_RULER_PROVIDER_FACTORY\n};\n\nvar __decorate$6 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$6 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdRipple = (function () {\n function MdRipple(elementRef, ngZone, ruler) {\n /**\n * If set, the radius in pixels of foreground ripples when fully expanded. If unset, the radius\n * will be the distance from the center of the ripple to the furthest corner of the host element's\n * bounding rectangle.\n */\n this.radius = 0;\n /**\n * If set, the normal duration of ripple animations is divided by this value. For example,\n * setting it to 0.5 will cause the animations to take twice as long.\n * A changed speedFactor will not modify the fade-out duration of the ripples.\n */\n this.speedFactor = 1;\n this._rippleRenderer = new RippleRenderer(elementRef, ngZone, ruler);\n }\n MdRipple.prototype.ngOnChanges = function (changes) {\n if (changes['trigger'] && this.trigger) {\n this._rippleRenderer.setTriggerElement(this.trigger);\n }\n this._rippleRenderer.rippleDisabled = this.disabled;\n this._updateRippleConfig();\n };\n MdRipple.prototype.ngOnDestroy = function () {\n // Set the trigger element to null to cleanup all listeners.\n this._rippleRenderer.setTriggerElement(null);\n };\n /** Launches a manual ripple at the specified position. */\n MdRipple.prototype.launch = function (pageX, pageY, config) {\n this._rippleRenderer.fadeInRipple(pageX, pageY, config);\n };\n /** Updates the ripple configuration with the input values. */\n MdRipple.prototype._updateRippleConfig = function () {\n this._rippleRenderer.rippleConfig = {\n centered: this.centered,\n speedFactor: this.speedFactor,\n radius: this.radius,\n color: this.color\n };\n };\n __decorate$6([\n _angular_core.Input('mdRippleTrigger'), \n __metadata$6('design:type', Object)\n ], MdRipple.prototype, \"trigger\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleCentered'), \n __metadata$6('design:type', Boolean)\n ], MdRipple.prototype, \"centered\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleDisabled'), \n __metadata$6('design:type', Boolean)\n ], MdRipple.prototype, \"disabled\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleRadius'), \n __metadata$6('design:type', Number)\n ], MdRipple.prototype, \"radius\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleSpeedFactor'), \n __metadata$6('design:type', Number)\n ], MdRipple.prototype, \"speedFactor\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleColor'), \n __metadata$6('design:type', String)\n ], MdRipple.prototype, \"color\", void 0);\n __decorate$6([\n _angular_core.Input('mdRippleUnbounded'), \n __metadata$6('design:type', Boolean)\n ], MdRipple.prototype, \"unbounded\", void 0);\n MdRipple = __decorate$6([\n _angular_core.Directive({\n selector: '[md-ripple], [mat-ripple]',\n host: {\n '[class.mat-ripple]': 'true',\n '[class.mat-ripple-unbounded]': 'unbounded'\n }\n }), \n __metadata$6('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, ViewportRuler])\n ], MdRipple);\n return MdRipple;\n}());\nvar MdRippleModule = (function () {\n function MdRippleModule() {\n }\n /** @deprecated */\n MdRippleModule.forRoot = function () {\n return {\n ngModule: MdRippleModule,\n providers: []\n };\n };\n MdRippleModule = __decorate$6([\n _angular_core.NgModule({\n imports: [CompatibilityModule],\n exports: [MdRipple, CompatibilityModule],\n declarations: [MdRipple],\n providers: [VIEWPORT_RULER_PROVIDER, SCROLL_DISPATCHER_PROVIDER],\n }), \n __metadata$6('design:paramtypes', [])\n ], MdRippleModule);\n return MdRippleModule;\n}());\n\nvar __decorate$5 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$5 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Option IDs need to be unique across components, so this counter exists outside of\n * the component definition.\n */\nvar _uniqueIdCounter = 0;\n/** Event object emitted by MdOption when selected. */\nvar MdOptionSelectEvent = (function () {\n function MdOptionSelectEvent(source, isUserInput) {\n if (isUserInput === void 0) { isUserInput = false; }\n this.source = source;\n this.isUserInput = isUserInput;\n }\n return MdOptionSelectEvent;\n}());\n/**\n * Single option inside of a `<md-select>` element.\n */\nvar MdOption = (function () {\n function MdOption(_element, _renderer) {\n this._element = _element;\n this._renderer = _renderer;\n this._selected = false;\n this._active = false;\n /** Whether the option is disabled. */\n this._disabled = false;\n this._id = \"md-option-\" + _uniqueIdCounter++;\n /** Event emitted when the option is selected. */\n this.onSelect = new _angular_core.EventEmitter();\n }\n Object.defineProperty(MdOption.prototype, \"id\", {\n /** The unique ID of the option. */\n get: function () { return this._id; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdOption.prototype, \"disabled\", {\n /** Whether the option is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdOption.prototype, \"selected\", {\n /** Whether or not the option is currently selected. */\n get: function () {\n return this._selected;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdOption.prototype, \"active\", {\n /**\n * Whether or not the option is currently active and ready to be selected.\n * An active option displays styles as if it is focused, but the\n * focus is actually retained somewhere else. This comes in handy\n * for components like autocomplete where focus must remain on the input.\n */\n get: function () {\n return this._active;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdOption.prototype, \"viewValue\", {\n /**\n * The displayed value of the option. It is necessary to show the selected option in the\n * select's trigger.\n */\n get: function () {\n // TODO(kara): Add input property alternative for node envs.\n return this._getHostElement().textContent.trim();\n },\n enumerable: true,\n configurable: true\n });\n /** Selects the option. */\n MdOption.prototype.select = function () {\n this._selected = true;\n this.onSelect.emit(new MdOptionSelectEvent(this, false));\n };\n /** Deselects the option. */\n MdOption.prototype.deselect = function () {\n this._selected = false;\n };\n /** Sets focus onto this option. */\n MdOption.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._getHostElement(), 'focus');\n };\n /**\n * This method sets display styles on the option to make it appear\n * active. This is used by the ActiveDescendantKeyManager so key\n * events will display the proper options as active on arrow key events.\n */\n MdOption.prototype.setActiveStyles = function () {\n var _this = this;\n Promise.resolve(null).then(function () { return _this._active = true; });\n };\n /**\n * This method removes display styles on the option that made it appear\n * active. This is used by the ActiveDescendantKeyManager so key\n * events will display the proper options as active on arrow key events.\n */\n MdOption.prototype.setInactiveStyles = function () {\n var _this = this;\n Promise.resolve(null).then(function () { return _this._active = false; });\n };\n /** Ensures the option is selected when activated from the keyboard. */\n MdOption.prototype._handleKeydown = function (event) {\n if (event.keyCode === ENTER || event.keyCode === SPACE) {\n this._selectViaInteraction();\n }\n };\n /**\n * Selects the option while indicating the selection came from the user. Used to\n * determine if the select's view -> model callback should be invoked.\n */\n MdOption.prototype._selectViaInteraction = function () {\n if (!this.disabled) {\n this._selected = true;\n this.onSelect.emit(new MdOptionSelectEvent(this, true));\n }\n };\n /** Returns the correct tabindex for the option depending on disabled state. */\n MdOption.prototype._getTabIndex = function () {\n return this.disabled ? '-1' : '0';\n };\n MdOption.prototype._getHostElement = function () {\n return this._element.nativeElement;\n };\n __decorate$5([\n _angular_core.Input(), \n __metadata$5('design:type', Object)\n ], MdOption.prototype, \"value\", void 0);\n __decorate$5([\n _angular_core.Input(), \n __metadata$5('design:type', Object)\n ], MdOption.prototype, \"disabled\", null);\n __decorate$5([\n _angular_core.Output(), \n __metadata$5('design:type', Object)\n ], MdOption.prototype, \"onSelect\", void 0);\n MdOption = __decorate$5([\n _angular_core.Component({selector: 'md-option, mat-option',\n host: {\n 'role': 'option',\n '[attr.tabindex]': '_getTabIndex()',\n '[class.mat-selected]': 'selected',\n '[class.mat-active]': 'active',\n '[id]': 'id',\n '[attr.aria-selected]': 'selected.toString()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[class.mat-option-disabled]': 'disabled',\n '(click)': '_selectViaInteraction()',\n '(keydown)': '_handleKeydown($event)',\n '[class.mat-option]': 'true',\n },\n template: \"<ng-content></ng-content><div class=\\\"mat-option-ripple\\\" *ngIf=\\\"!disabled\\\" md-ripple [mdRippleTrigger]=\\\"_getHostElement()\\\"></div>\",\n encapsulation: _angular_core.ViewEncapsulation.None\n }), \n __metadata$5('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdOption);\n return MdOption;\n}());\nvar MdOptionModule = (function () {\n function MdOptionModule() {\n }\n MdOptionModule.forRoot = function () {\n return {\n ngModule: MdOptionModule,\n providers: []\n };\n };\n MdOptionModule = __decorate$5([\n _angular_core.NgModule({\n imports: [MdRippleModule, _angular_common.CommonModule],\n exports: [MdOption],\n declarations: [MdOption]\n }), \n __metadata$5('design:paramtypes', [])\n ], MdOptionModule);\n return MdOptionModule;\n}());\n\n// TODO(kara): Revisit why error messages are not being properly set.\nvar __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Wrapper around Error that sets the error message.\n * @docs-private\n */\nvar MdError = (function (_super) {\n __extends$3(MdError, _super);\n function MdError(value) {\n _super.call(this);\n this.message = value;\n }\n return MdError;\n}(Error));\n\nvar __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Exception thrown when attempting to attach a null portal to a host.\n * @docs-private\n */\nvar NullPortalError = (function (_super) {\n __extends$2(NullPortalError, _super);\n function NullPortalError() {\n _super.call(this, 'Must provide a portal to attach');\n }\n return NullPortalError;\n}(MdError));\n/**\n * Exception thrown when attempting to attach a portal to a host that is already attached.\n * @docs-private\n */\nvar PortalAlreadyAttachedError = (function (_super) {\n __extends$2(PortalAlreadyAttachedError, _super);\n function PortalAlreadyAttachedError() {\n _super.call(this, 'Host already has a portal attached');\n }\n return PortalAlreadyAttachedError;\n}(MdError));\n/**\n * Exception thrown when attempting to attach a portal to an already-disposed host.\n * @docs-private\n */\nvar PortalHostAlreadyDisposedError = (function (_super) {\n __extends$2(PortalHostAlreadyDisposedError, _super);\n function PortalHostAlreadyDisposedError() {\n _super.call(this, 'This PortalHost has already been disposed');\n }\n return PortalHostAlreadyDisposedError;\n}(MdError));\n/**\n * Exception thrown when attempting to attach an unknown portal type.\n * @docs-private\n */\nvar UnknownPortalTypeError = (function (_super) {\n __extends$2(UnknownPortalTypeError, _super);\n function UnknownPortalTypeError() {\n _super.call(this, 'Attempting to attach an unknown Portal type. ' +\n 'BasePortalHost accepts either a ComponentPortal or a TemplatePortal.');\n }\n return UnknownPortalTypeError;\n}(MdError));\n/**\n * Exception thrown when attempting to attach a portal to a null host.\n * @docs-private\n */\nvar NullPortalHostError = (function (_super) {\n __extends$2(NullPortalHostError, _super);\n function NullPortalHostError() {\n _super.call(this, 'Attempting to attach a portal to a null PortalHost');\n }\n return NullPortalHostError;\n}(MdError));\n/**\n * Exception thrown when attempting to detach a portal that is not attached.\n * @docs-private\n */\nvar NoPortalAttachedError = (function (_super) {\n __extends$2(NoPortalAttachedError, _super);\n function NoPortalAttachedError() {\n _super.call(this, 'Attempting to detach a portal that is not attached to a host');\n }\n return NoPortalAttachedError;\n}(MdError));\n\nvar __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * A `Portal` is something that you want to render somewhere else.\n * It can be attach to / detached from a `PortalHost`.\n */\nvar Portal = (function () {\n function Portal() {\n }\n /** Attach this portal to a host. */\n Portal.prototype.attach = function (host) {\n if (host == null) {\n throw new NullPortalHostError();\n }\n if (host.hasAttached()) {\n throw new PortalAlreadyAttachedError();\n }\n this._attachedHost = host;\n return host.attach(this);\n };\n /** Detach this portal from its host */\n Portal.prototype.detach = function () {\n var host = this._attachedHost;\n if (host == null) {\n throw new NoPortalAttachedError();\n }\n this._attachedHost = null;\n return host.detach();\n };\n Object.defineProperty(Portal.prototype, \"isAttached\", {\n /** Whether this portal is attached to a host. */\n get: function () {\n return this._attachedHost != null;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the PortalHost reference without performing `attach()`. This is used directly by\n * the PortalHost when it is performing an `attach()` or `detach()`.\n */\n Portal.prototype.setAttachedHost = function (host) {\n this._attachedHost = host;\n };\n return Portal;\n}());\n/**\n * A `ComponentPortal` is a portal that instantiates some Component upon attachment.\n */\nvar ComponentPortal = (function (_super) {\n __extends$1(ComponentPortal, _super);\n function ComponentPortal(component, viewContainerRef, injector) {\n if (viewContainerRef === void 0) { viewContainerRef = null; }\n if (injector === void 0) { injector = null; }\n _super.call(this);\n this.component = component;\n this.viewContainerRef = viewContainerRef;\n this.injector = injector;\n }\n return ComponentPortal;\n}(Portal));\n/**\n * A `TemplatePortal` is a portal that represents some embedded template (TemplateRef).\n */\nvar TemplatePortal = (function (_super) {\n __extends$1(TemplatePortal, _super);\n function TemplatePortal(template, viewContainerRef) {\n _super.call(this);\n /**\n * Additional locals for the instantiated embedded view.\n * These locals can be seen as \"exports\" for the template, such as how ngFor has\n * index / event / odd.\n * See https://angular.io/docs/ts/latest/api/core/EmbeddedViewRef-class.html\n */\n this.locals = new Map();\n this.templateRef = template;\n this.viewContainerRef = viewContainerRef;\n }\n Object.defineProperty(TemplatePortal.prototype, \"origin\", {\n get: function () {\n return this.templateRef.elementRef;\n },\n enumerable: true,\n configurable: true\n });\n TemplatePortal.prototype.attach = function (host, locals) {\n this.locals = locals == null ? new Map() : locals;\n return _super.prototype.attach.call(this, host);\n };\n TemplatePortal.prototype.detach = function () {\n this.locals = new Map();\n return _super.prototype.detach.call(this);\n };\n return TemplatePortal;\n}(Portal));\n/**\n * Partial implementation of PortalHost that only deals with attaching either a\n * ComponentPortal or a TemplatePortal.\n */\nvar BasePortalHost = (function () {\n function BasePortalHost() {\n /** Whether this host has already been permanently disposed. */\n this._isDisposed = false;\n }\n /** Whether this host has an attached portal. */\n BasePortalHost.prototype.hasAttached = function () {\n return this._attachedPortal != null;\n };\n BasePortalHost.prototype.attach = function (portal) {\n if (portal == null) {\n throw new NullPortalError();\n }\n if (this.hasAttached()) {\n throw new PortalAlreadyAttachedError();\n }\n if (this._isDisposed) {\n throw new PortalHostAlreadyDisposedError();\n }\n if (portal instanceof ComponentPortal) {\n this._attachedPortal = portal;\n return this.attachComponentPortal(portal);\n }\n else if (portal instanceof TemplatePortal) {\n this._attachedPortal = portal;\n return this.attachTemplatePortal(portal);\n }\n throw new UnknownPortalTypeError();\n };\n BasePortalHost.prototype.detach = function () {\n if (this._attachedPortal) {\n this._attachedPortal.setAttachedHost(null);\n }\n this._attachedPortal = null;\n if (this._disposeFn != null) {\n this._disposeFn();\n this._disposeFn = null;\n }\n };\n BasePortalHost.prototype.dispose = function () {\n if (this.hasAttached()) {\n this.detach();\n }\n this._isDisposed = true;\n };\n BasePortalHost.prototype.setDisposeFn = function (fn) {\n this._disposeFn = fn;\n };\n return BasePortalHost;\n}());\n\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$9 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$9 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Directive version of a `TemplatePortal`. Because the directive *is* a TemplatePortal,\n * the directive instance itself can be attached to a host, enabling declarative use of portals.\n *\n * Usage:\n * <template portal #greeting>\n * <p> Hello {{name}} </p>\n * </template>\n */\nvar TemplatePortalDirective = (function (_super) {\n __extends(TemplatePortalDirective, _super);\n function TemplatePortalDirective(templateRef, viewContainerRef) {\n _super.call(this, templateRef, viewContainerRef);\n }\n TemplatePortalDirective = __decorate$9([\n _angular_core.Directive({\n selector: '[cdk-portal], [portal]',\n exportAs: 'cdkPortal',\n }), \n __metadata$9('design:paramtypes', [_angular_core.TemplateRef, _angular_core.ViewContainerRef])\n ], TemplatePortalDirective);\n return TemplatePortalDirective;\n}(TemplatePortal));\n/**\n * Directive version of a PortalHost. Because the directive *is* a PortalHost, portals can be\n * directly attached to it, enabling declarative use.\n *\n * Usage:\n * <template [cdkPortalHost]=\"greeting\"></template>\n */\nvar PortalHostDirective = (function (_super) {\n __extends(PortalHostDirective, _super);\n function PortalHostDirective(_componentFactoryResolver, _viewContainerRef) {\n _super.call(this);\n this._componentFactoryResolver = _componentFactoryResolver;\n this._viewContainerRef = _viewContainerRef;\n }\n Object.defineProperty(PortalHostDirective.prototype, \"_deprecatedPortal\", {\n /** @deprecated */\n get: function () { return this.portal; },\n set: function (v) { this.portal = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(PortalHostDirective.prototype, \"portal\", {\n /** Portal associated with the Portal host. */\n get: function () {\n return this._portal;\n },\n set: function (p) {\n if (p) {\n this._replaceAttachedPortal(p);\n }\n },\n enumerable: true,\n configurable: true\n });\n PortalHostDirective.prototype.ngOnDestroy = function () {\n this.dispose();\n };\n /**\n * Attach the given ComponentPortal to this PortalHost using the ComponentFactoryResolver.\n *\n * @param portal Portal to be attached to the portal host.\n */\n PortalHostDirective.prototype.attachComponentPortal = function (portal) {\n portal.setAttachedHost(this);\n // If the portal specifies an origin, use that as the logical location of the component\n // in the application tree. Otherwise use the location of this PortalHost.\n var viewContainerRef = portal.viewContainerRef != null ?\n portal.viewContainerRef :\n this._viewContainerRef;\n var componentFactory = this._componentFactoryResolver.resolveComponentFactory(portal.component);\n var ref = viewContainerRef.createComponent(componentFactory, viewContainerRef.length, portal.injector || viewContainerRef.parentInjector);\n this.setDisposeFn(function () { return ref.destroy(); });\n return ref;\n };\n /**\n * Attach the given TemplatePortal to this PortlHost as an embedded View.\n * @param portal Portal to be attached.\n */\n PortalHostDirective.prototype.attachTemplatePortal = function (portal) {\n var _this = this;\n portal.setAttachedHost(this);\n this._viewContainerRef.createEmbeddedView(portal.templateRef);\n this.setDisposeFn(function () { return _this._viewContainerRef.clear(); });\n // TODO(jelbourn): return locals from view\n return new Map();\n };\n /** Detaches the currently attached Portal (if there is one) and attaches the given Portal. */\n PortalHostDirective.prototype._replaceAttachedPortal = function (p) {\n if (this.hasAttached()) {\n this.detach();\n }\n if (p) {\n this.attach(p);\n this._portal = p;\n }\n };\n __decorate$9([\n _angular_core.Input('portalHost'), \n __metadata$9('design:type', Object)\n ], PortalHostDirective.prototype, \"_deprecatedPortal\", null);\n PortalHostDirective = __decorate$9([\n _angular_core.Directive({\n selector: '[cdkPortalHost], [portalHost]',\n inputs: ['portal: cdkPortalHost']\n }), \n __metadata$9('design:paramtypes', [_angular_core.ComponentFactoryResolver, _angular_core.ViewContainerRef])\n ], PortalHostDirective);\n return PortalHostDirective;\n}(BasePortalHost));\nvar PortalModule = (function () {\n function PortalModule() {\n }\n /** @deprecated */\n PortalModule.forRoot = function () {\n return {\n ngModule: PortalModule,\n providers: []\n };\n };\n PortalModule = __decorate$9([\n _angular_core.NgModule({\n exports: [TemplatePortalDirective, PortalHostDirective],\n declarations: [TemplatePortalDirective, PortalHostDirective],\n }), \n __metadata$9('design:paramtypes', [])\n ], PortalModule);\n return PortalModule;\n}());\n\n/**\n * OverlayState is a bag of values for either the initial configuration or current state of an\n * overlay.\n */\nvar OverlayState = (function () {\n function OverlayState() {\n /** Whether the overlay has a backdrop. */\n this.hasBackdrop = false;\n /** Custom class to add to the backdrop **/\n this.backdropClass = 'cdk-overlay-dark-backdrop';\n /** The direction of the text in the overlay panel. */\n this.direction = 'ltr';\n }\n return OverlayState;\n}());\n\nvar __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * A PortalHost for attaching portals to an arbitrary DOM element outside of the Angular\n * application context.\n *\n * This is the only part of the portal core that directly touches the DOM.\n */\nvar DomPortalHost = (function (_super) {\n __extends$4(DomPortalHost, _super);\n function DomPortalHost(_hostDomElement, _componentFactoryResolver, _appRef, _defaultInjector) {\n _super.call(this);\n this._hostDomElement = _hostDomElement;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._appRef = _appRef;\n this._defaultInjector = _defaultInjector;\n }\n /**\n * Attach the given ComponentPortal to DOM element using the ComponentFactoryResolver.\n * @param portal Portal to be attached\n */\n DomPortalHost.prototype.attachComponentPortal = function (portal) {\n var _this = this;\n var componentFactory = this._componentFactoryResolver.resolveComponentFactory(portal.component);\n var componentRef;\n // If the portal specifies a ViewContainerRef, we will use that as the attachment point\n // for the component (in terms of Angular's component tree, not rendering).\n // When the ViewContainerRef is missing, we use the factory to create the component directly\n // and then manually attach the view to the application.\n if (portal.viewContainerRef) {\n componentRef = portal.viewContainerRef.createComponent(componentFactory, portal.viewContainerRef.length, portal.injector || portal.viewContainerRef.parentInjector);\n this.setDisposeFn(function () { return componentRef.destroy(); });\n }\n else {\n componentRef = componentFactory.create(portal.injector || this._defaultInjector);\n this._appRef.attachView(componentRef.hostView);\n this.setDisposeFn(function () {\n _this._appRef.detachView(componentRef.hostView);\n componentRef.destroy();\n });\n }\n // At this point the component has been instantiated, so we move it to the location in the DOM\n // where we want it to be rendered.\n this._hostDomElement.appendChild(this._getComponentRootNode(componentRef));\n return componentRef;\n };\n /**\n * Attaches a template portal to the DOM as an embedded view.\n * @param portal Portal to be attached.\n */\n DomPortalHost.prototype.attachTemplatePortal = function (portal) {\n var _this = this;\n var viewContainer = portal.viewContainerRef;\n var viewRef = viewContainer.createEmbeddedView(portal.templateRef);\n // The method `createEmbeddedView` will add the view as a child of the viewContainer.\n // But for the DomPortalHost the view can be added everywhere in the DOM (e.g Overlay Container)\n // To move the view to the specified host element. We just re-append the existing root nodes.\n viewRef.rootNodes.forEach(function (rootNode) { return _this._hostDomElement.appendChild(rootNode); });\n this.setDisposeFn((function () {\n var index = viewContainer.indexOf(viewRef);\n if (index !== -1) {\n viewContainer.remove(index);\n }\n }));\n // TODO(jelbourn): Return locals from view.\n return new Map();\n };\n /**\n * Clears out a portal from the DOM.\n */\n DomPortalHost.prototype.dispose = function () {\n _super.prototype.dispose.call(this);\n if (this._hostDomElement.parentNode != null) {\n this._hostDomElement.parentNode.removeChild(this._hostDomElement);\n }\n };\n /** Gets the root HTMLElement for an instantiated component. */\n DomPortalHost.prototype._getComponentRootNode = function (componentRef) {\n return componentRef.hostView.rootNodes[0];\n };\n return DomPortalHost;\n}(BasePortalHost));\n\n/**\n * Reference to an overlay that has been created with the Overlay service.\n * Used to manipulate or dispose of said overlay.\n */\nvar OverlayRef = (function () {\n function OverlayRef(_portalHost, _pane, _state, _ngZone) {\n this._portalHost = _portalHost;\n this._pane = _pane;\n this._state = _state;\n this._ngZone = _ngZone;\n this._backdropElement = null;\n this._backdropClick = new rxjs_Subject.Subject();\n }\n Object.defineProperty(OverlayRef.prototype, \"overlayElement\", {\n /** The overlay's HTML element */\n get: function () {\n return this._pane;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Attaches the overlay to a portal instance and adds the backdrop.\n * @param portal Portal instance to which to attach the overlay.\n * @returns The portal attachment result.\n */\n OverlayRef.prototype.attach = function (portal) {\n if (this._state.hasBackdrop) {\n this._attachBackdrop();\n }\n var attachResult = this._portalHost.attach(portal);\n // Update the pane element with the given state configuration.\n this.updateSize();\n this.updateDirection();\n this.updatePosition();\n // Enable pointer events for the overlay pane element.\n this._togglePointerEvents(true);\n return attachResult;\n };\n /**\n * Detaches an overlay from a portal.\n * @returns Resolves when the overlay has been detached.\n */\n OverlayRef.prototype.detach = function () {\n this._detachBackdrop();\n // When the overlay is detached, the pane element should disable pointer events.\n // This is necessary because otherwise the pane element will cover the page and disable\n // pointer events therefore. Depends on the position strategy and the applied pane boundaries.\n this._togglePointerEvents(false);\n return this._portalHost.detach();\n };\n /**\n * Cleans up the overlay from the DOM.\n */\n OverlayRef.prototype.dispose = function () {\n if (this._state.positionStrategy) {\n this._state.positionStrategy.dispose();\n }\n this._detachBackdrop();\n this._portalHost.dispose();\n };\n /**\n * Checks whether the overlay has been attached.\n */\n OverlayRef.prototype.hasAttached = function () {\n return this._portalHost.hasAttached();\n };\n /**\n * Returns an observable that emits when the backdrop has been clicked.\n */\n OverlayRef.prototype.backdropClick = function () {\n return this._backdropClick.asObservable();\n };\n /**\n * Gets the current state config of the overlay.\n */\n OverlayRef.prototype.getState = function () {\n return this._state;\n };\n /** Updates the position of the overlay based on the position strategy. */\n OverlayRef.prototype.updatePosition = function () {\n if (this._state.positionStrategy) {\n this._state.positionStrategy.apply(this._pane);\n }\n };\n /** Updates the text direction of the overlay panel. **/\n OverlayRef.prototype.updateDirection = function () {\n this._pane.setAttribute('dir', this._state.direction);\n };\n /** Updates the size of the overlay based on the overlay config. */\n OverlayRef.prototype.updateSize = function () {\n if (this._state.width || this._state.width === 0) {\n this._pane.style.width = formatCssUnit(this._state.width);\n }\n if (this._state.height || this._state.height === 0) {\n this._pane.style.height = formatCssUnit(this._state.height);\n }\n if (this._state.minWidth || this._state.minWidth === 0) {\n this._pane.style.minWidth = formatCssUnit(this._state.minWidth);\n }\n if (this._state.minHeight || this._state.minHeight === 0) {\n this._pane.style.minHeight = formatCssUnit(this._state.minHeight);\n }\n };\n /** Toggles the pointer events for the overlay pane element. */\n OverlayRef.prototype._togglePointerEvents = function (enablePointer) {\n this._pane.style.pointerEvents = enablePointer ? 'auto' : 'none';\n };\n /** Attaches a backdrop for this overlay. */\n OverlayRef.prototype._attachBackdrop = function () {\n var _this = this;\n this._backdropElement = document.createElement('div');\n this._backdropElement.classList.add('cdk-overlay-backdrop');\n this._backdropElement.classList.add(this._state.backdropClass);\n // Insert the backdrop before the pane in the DOM order,\n // in order to handle stacked overlays properly.\n this._pane.parentElement.insertBefore(this._backdropElement, this._pane);\n // Forward backdrop clicks such that the consumer of the overlay can perform whatever\n // action desired when such a click occurs (usually closing the overlay).\n this._backdropElement.addEventListener('click', function () { return _this._backdropClick.next(null); });\n // Add class to fade-in the backdrop after one frame.\n requestAnimationFrame(function () {\n if (_this._backdropElement) {\n _this._backdropElement.classList.add('cdk-overlay-backdrop-showing');\n }\n });\n };\n /** Detaches the backdrop (if any) associated with the overlay. */\n OverlayRef.prototype._detachBackdrop = function () {\n var _this = this;\n var backdropToDetach = this._backdropElement;\n if (backdropToDetach) {\n var finishDetach_1 = function () {\n // It may not be attached to anything in certain cases (e.g. unit tests).\n if (backdropToDetach && backdropToDetach.parentNode) {\n backdropToDetach.parentNode.removeChild(backdropToDetach);\n }\n // It is possible that a new portal has been attached to this overlay since we started\n // removing the backdrop. If that is the case, only clear the backdrop reference if it\n // is still the same instance that we started to remove.\n if (_this._backdropElement == backdropToDetach) {\n _this._backdropElement = null;\n }\n };\n backdropToDetach.classList.remove('cdk-overlay-backdrop-showing');\n backdropToDetach.classList.remove(this._state.backdropClass);\n backdropToDetach.addEventListener('transitionend', finishDetach_1);\n // If the backdrop doesn't have a transition, the `transitionend` event won't fire.\n // In this case we make it unclickable and we try to remove it after a delay.\n backdropToDetach.style.pointerEvents = 'none';\n // Run this outside the Angular zone because there's nothing that Angular cares about.\n // If it were to run inside the Angular zone, every test that used Overlay would have to be\n // either async or fakeAsync.\n this._ngZone.runOutsideAngular(function () {\n setTimeout(finishDetach_1, 500);\n });\n }\n };\n return OverlayRef;\n}());\nfunction formatCssUnit(value) {\n return typeof value === 'string' ? value : value + \"px\";\n}\n\nvar __decorate$13 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$13 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$2 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/** The points of the origin element and the overlay element to connect. */\nvar ConnectionPositionPair = (function () {\n function ConnectionPositionPair(origin, overlay) {\n this.originX = origin.originX;\n this.originY = origin.originY;\n this.overlayX = overlay.overlayX;\n this.overlayY = overlay.overlayY;\n }\n return ConnectionPositionPair;\n}());\n/**\n * Set of properties regarding the position of the origin and overlay relative to the viewport\n * with respect to the containing Scrollable elements.\n *\n * The overlay and origin are clipped if any part of their bounding client rectangle exceeds the\n * bounds of any one of the strategy's Scrollable's bounding client rectangle.\n *\n * The overlay and origin are outside view if there is no overlap between their bounding client\n * rectangle and any one of the strategy's Scrollable's bounding client rectangle.\n *\n * ----------- -----------\n * | outside | | clipped |\n * | view | --------------------------\n * | | | | | |\n * ---------- | ----------- |\n * -------------------------- | |\n * | | | Scrollable |\n * | | | |\n * | | --------------------------\n * | Scrollable |\n * | |\n * --------------------------\n */\nvar ScrollableViewProperties = (function () {\n function ScrollableViewProperties() {\n }\n return ScrollableViewProperties;\n}());\n/** The change event emitted by the strategy when a fallback position is used. */\nvar ConnectedOverlayPositionChange = (function () {\n function ConnectedOverlayPositionChange(connectionPair, scrollableViewProperties) {\n this.connectionPair = connectionPair;\n this.scrollableViewProperties = scrollableViewProperties;\n }\n ConnectedOverlayPositionChange = __decorate$13([\n __param$2(1, _angular_core.Optional()), \n __metadata$13('design:paramtypes', [ConnectionPositionPair, ScrollableViewProperties])\n ], ConnectedOverlayPositionChange);\n return ConnectedOverlayPositionChange;\n}());\n\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * implicit position relative some origin element. The relative position is defined in terms of\n * a point on the origin element that is connected to a point on the overlay element. For example,\n * a basic dropdown is connecting the bottom-left corner of the origin to the top-left corner\n * of the overlay.\n */\nvar ConnectedPositionStrategy = (function () {\n function ConnectedPositionStrategy(_connectedTo, _originPos, _overlayPos, _viewportRuler) {\n this._connectedTo = _connectedTo;\n this._originPos = _originPos;\n this._overlayPos = _overlayPos;\n this._viewportRuler = _viewportRuler;\n this._dir = 'ltr';\n /** The offset in pixels for the overlay connection point on the x-axis */\n this._offsetX = 0;\n /** The offset in pixels for the overlay connection point on the y-axis */\n this._offsetY = 0;\n /** The Scrollable containers used to check scrollable view properties on position change. */\n this.scrollables = [];\n /** Ordered list of preferred positions, from most to least desirable. */\n this._preferredPositions = [];\n this._onPositionChange = new rxjs_Subject.Subject();\n this._origin = this._connectedTo.nativeElement;\n this.withFallbackPosition(_originPos, _overlayPos);\n }\n Object.defineProperty(ConnectedPositionStrategy.prototype, \"_isRtl\", {\n /** Whether the we're dealing with an RTL context */\n get: function () {\n return this._dir === 'rtl';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedPositionStrategy.prototype, \"onPositionChange\", {\n /** Emits an event when the connection point changes. */\n get: function () {\n return this._onPositionChange.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedPositionStrategy.prototype, \"positions\", {\n /** Ordered list of preferred positions, from most to least desirable. */\n get: function () {\n return this._preferredPositions;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * To be used to for any cleanup after the element gets destroyed.\n */\n ConnectedPositionStrategy.prototype.dispose = function () { };\n /**\n * Updates the position of the overlay element, using whichever preferred position relative\n * to the origin fits on-screen.\n * @docs-private\n *\n * @param element Element to which to apply the CSS styles.\n * @returns Resolves when the styles have been applied.\n */\n ConnectedPositionStrategy.prototype.apply = function (element) {\n // Cache the overlay pane element in case re-calculating position is necessary\n this._pane = element;\n // We need the bounding rects for the origin and the overlay to determine how to position\n // the overlay relative to the origin.\n var originRect = this._origin.getBoundingClientRect();\n var overlayRect = element.getBoundingClientRect();\n // We use the viewport rect to determine whether a position would go off-screen.\n var viewportRect = this._viewportRuler.getViewportRect();\n // Fallback point if none of the fallbacks fit into the viewport.\n var fallbackPoint = null;\n // We want to place the overlay in the first of the preferred positions such that the\n // overlay fits on-screen.\n for (var _i = 0, _a = this._preferredPositions; _i < _a.length; _i++) {\n var pos = _a[_i];\n // Get the (x, y) point of connection on the origin, and then use that to get the\n // (top, left) coordinate for the overlay at `pos`.\n var originPoint = this._getOriginConnectionPoint(originRect, pos);\n var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, viewportRect, pos);\n // If the overlay in the calculated position fits on-screen, put it there and we're done.\n if (overlayPoint.fitsInViewport) {\n this._setElementPosition(element, overlayPoint);\n // Save the last connected position in case the position needs to be re-calculated.\n this._lastConnectedPosition = pos;\n // Notify that the position has been changed along with its change properties.\n var scrollableViewProperties = this.getScrollableViewProperties(element);\n var positionChange = new ConnectedOverlayPositionChange(pos, scrollableViewProperties);\n this._onPositionChange.next(positionChange);\n return Promise.resolve(null);\n }\n else if (!fallbackPoint || fallbackPoint.visibleArea < overlayPoint.visibleArea) {\n fallbackPoint = overlayPoint;\n }\n }\n // If none of the preferred positions were in the viewport, take the one\n // with the largest visible area.\n this._setElementPosition(element, fallbackPoint);\n return Promise.resolve(null);\n };\n /**\n * This re-aligns the overlay element with the trigger in its last calculated position,\n * even if a position higher in the \"preferred positions\" list would now fit. This\n * allows one to re-align the panel without changing the orientation of the panel.\n */\n ConnectedPositionStrategy.prototype.recalculateLastPosition = function () {\n var originRect = this._origin.getBoundingClientRect();\n var overlayRect = this._pane.getBoundingClientRect();\n var viewportRect = this._viewportRuler.getViewportRect();\n var originPoint = this._getOriginConnectionPoint(originRect, this._lastConnectedPosition);\n var overlayPoint = this._getOverlayPoint(originPoint, overlayRect, viewportRect, this._lastConnectedPosition);\n this._setElementPosition(this._pane, overlayPoint);\n };\n /**\n * Sets the list of Scrollable containers that host the origin element so that\n * on reposition we can evaluate if it or the overlay has been clipped or outside view. Every\n * Scrollable must be an ancestor element of the strategy's origin element.\n */\n ConnectedPositionStrategy.prototype.withScrollableContainers = function (scrollables) {\n this.scrollables = scrollables;\n };\n /**\n * Adds a new preferred fallback position.\n * @param originPos\n * @param overlayPos\n */\n ConnectedPositionStrategy.prototype.withFallbackPosition = function (originPos, overlayPos) {\n this._preferredPositions.push(new ConnectionPositionPair(originPos, overlayPos));\n return this;\n };\n /**\n * Sets the layout direction so the overlay's position can be adjusted to match.\n * @param dir New layout direction.\n */\n ConnectedPositionStrategy.prototype.withDirection = function (dir) {\n this._dir = dir;\n return this;\n };\n /**\n * Sets an offset for the overlay's connection point on the x-axis\n * @param offset New offset in the X axis.\n */\n ConnectedPositionStrategy.prototype.withOffsetX = function (offset) {\n this._offsetX = offset;\n return this;\n };\n /**\n * Sets an offset for the overlay's connection point on the y-axis\n * @param offset New offset in the Y axis.\n */\n ConnectedPositionStrategy.prototype.withOffsetY = function (offset) {\n this._offsetY = offset;\n return this;\n };\n /**\n * Gets the horizontal (x) \"start\" dimension based on whether the overlay is in an RTL context.\n * @param rect\n */\n ConnectedPositionStrategy.prototype._getStartX = function (rect) {\n return this._isRtl ? rect.right : rect.left;\n };\n /**\n * Gets the horizontal (x) \"end\" dimension based on whether the overlay is in an RTL context.\n * @param rect\n */\n ConnectedPositionStrategy.prototype._getEndX = function (rect) {\n return this._isRtl ? rect.left : rect.right;\n };\n /**\n * Gets the (x, y) coordinate of a connection point on the origin based on a relative position.\n * @param originRect\n * @param pos\n */\n ConnectedPositionStrategy.prototype._getOriginConnectionPoint = function (originRect, pos) {\n var originStartX = this._getStartX(originRect);\n var originEndX = this._getEndX(originRect);\n var x;\n if (pos.originX == 'center') {\n x = originStartX + (originRect.width / 2);\n }\n else {\n x = pos.originX == 'start' ? originStartX : originEndX;\n }\n var y;\n if (pos.originY == 'center') {\n y = originRect.top + (originRect.height / 2);\n }\n else {\n y = pos.originY == 'top' ? originRect.top : originRect.bottom;\n }\n return { x: x, y: y };\n };\n /**\n * Gets the (x, y) coordinate of the top-left corner of the overlay given a given position and\n * origin point to which the overlay should be connected, as well as how much of the element\n * would be inside the viewport at that position.\n */\n ConnectedPositionStrategy.prototype._getOverlayPoint = function (originPoint, overlayRect, viewportRect, pos) {\n // Calculate the (overlayStartX, overlayStartY), the start of the potential overlay position\n // relative to the origin point.\n var overlayStartX;\n if (pos.overlayX == 'center') {\n overlayStartX = -overlayRect.width / 2;\n }\n else if (pos.overlayX === 'start') {\n overlayStartX = this._isRtl ? -overlayRect.width : 0;\n }\n else {\n overlayStartX = this._isRtl ? 0 : -overlayRect.width;\n }\n var overlayStartY;\n if (pos.overlayY == 'center') {\n overlayStartY = -overlayRect.height / 2;\n }\n else {\n overlayStartY = pos.overlayY == 'top' ? 0 : -overlayRect.height;\n }\n // The (x, y) coordinates of the overlay.\n var x = originPoint.x + overlayStartX + this._offsetX;\n var y = originPoint.y + overlayStartY + this._offsetY;\n // How much the overlay would overflow at this position, on each side.\n var leftOverflow = 0 - x;\n var rightOverflow = (x + overlayRect.width) - viewportRect.width;\n var topOverflow = 0 - y;\n var bottomOverflow = (y + overlayRect.height) - viewportRect.height;\n // Visible parts of the element on each axis.\n var visibleWidth = this._subtractOverflows(overlayRect.width, leftOverflow, rightOverflow);\n var visibleHeight = this._subtractOverflows(overlayRect.height, topOverflow, bottomOverflow);\n // The area of the element that's within the viewport.\n var visibleArea = visibleWidth * visibleHeight;\n var fitsInViewport = (overlayRect.width * overlayRect.height) === visibleArea;\n return { x: x, y: y, fitsInViewport: fitsInViewport, visibleArea: visibleArea };\n };\n /**\n * Gets the view properties of the trigger and overlay, including whether they are clipped\n * or completely outside the view of any of the strategy's scrollables.\n */\n ConnectedPositionStrategy.prototype.getScrollableViewProperties = function (overlay) {\n var _this = this;\n var originBounds = this._getElementBounds(this._origin);\n var overlayBounds = this._getElementBounds(overlay);\n var scrollContainerBounds = this.scrollables.map(function (scrollable) {\n return _this._getElementBounds(scrollable.getElementRef().nativeElement);\n });\n return {\n isOriginClipped: this.isElementClipped(originBounds, scrollContainerBounds),\n isOriginOutsideView: this.isElementOutsideView(originBounds, scrollContainerBounds),\n isOverlayClipped: this.isElementClipped(overlayBounds, scrollContainerBounds),\n isOverlayOutsideView: this.isElementOutsideView(overlayBounds, scrollContainerBounds),\n };\n };\n /** Whether the element is completely out of the view of any of the containers. */\n ConnectedPositionStrategy.prototype.isElementOutsideView = function (elementBounds, containersBounds) {\n return containersBounds.some(function (containerBounds) {\n var outsideAbove = elementBounds.bottom < containerBounds.top;\n var outsideBelow = elementBounds.top > containerBounds.bottom;\n var outsideLeft = elementBounds.right < containerBounds.left;\n var outsideRight = elementBounds.left > containerBounds.right;\n return outsideAbove || outsideBelow || outsideLeft || outsideRight;\n });\n };\n /** Whether the element is clipped by any of the containers. */\n ConnectedPositionStrategy.prototype.isElementClipped = function (elementBounds, containersBounds) {\n return containersBounds.some(function (containerBounds) {\n var clippedAbove = elementBounds.top < containerBounds.top;\n var clippedBelow = elementBounds.bottom > containerBounds.bottom;\n var clippedLeft = elementBounds.left < containerBounds.left;\n var clippedRight = elementBounds.right > containerBounds.right;\n return clippedAbove || clippedBelow || clippedLeft || clippedRight;\n });\n };\n /**\n * Physically positions the overlay element to the given coordinate.\n * @param element\n * @param overlayPoint\n */\n ConnectedPositionStrategy.prototype._setElementPosition = function (element, overlayPoint) {\n element.style.left = overlayPoint.x + 'px';\n element.style.top = overlayPoint.y + 'px';\n };\n /** Returns the bounding positions of the provided element with respect to the viewport. */\n ConnectedPositionStrategy.prototype._getElementBounds = function (element) {\n var boundingClientRect = element.getBoundingClientRect();\n return {\n top: boundingClientRect.top,\n right: boundingClientRect.left + boundingClientRect.width,\n bottom: boundingClientRect.top + boundingClientRect.height,\n left: boundingClientRect.left\n };\n };\n /**\n * Subtracts the amount that an element is overflowing on an axis from it's length.\n */\n ConnectedPositionStrategy.prototype._subtractOverflows = function (length) {\n var overflows = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n overflows[_i - 1] = arguments[_i];\n }\n return overflows.reduce(function (currentValue, currentOverflow) {\n return currentValue - Math.max(currentOverflow, 0);\n }, length);\n };\n return ConnectedPositionStrategy;\n}());\n\n/**\n * A strategy for positioning overlays. Using this strategy, an overlay is given an\n * explicit position relative to the browser's viewport. We use flexbox, instead of\n * transforms, in order to avoid issues with subpixel rendering which can cause the\n * element to become blurry.\n */\nvar GlobalPositionStrategy = (function () {\n function GlobalPositionStrategy() {\n this._cssPosition = 'static';\n this._topOffset = '';\n this._bottomOffset = '';\n this._leftOffset = '';\n this._rightOffset = '';\n this._alignItems = '';\n this._justifyContent = '';\n this._width = '';\n this._height = '';\n }\n /**\n * Sets the top position of the overlay. Clears any previously set vertical position.\n * @param value New top offset.\n */\n GlobalPositionStrategy.prototype.top = function (value) {\n this._bottomOffset = '';\n this._topOffset = value;\n this._alignItems = 'flex-start';\n return this;\n };\n /**\n * Sets the left position of the overlay. Clears any previously set horizontal position.\n * @param value New left offset.\n */\n GlobalPositionStrategy.prototype.left = function (value) {\n this._rightOffset = '';\n this._leftOffset = value;\n this._justifyContent = 'flex-start';\n return this;\n };\n /**\n * Sets the bottom position of the overlay. Clears any previously set vertical position.\n * @param value New bottom offset.\n */\n GlobalPositionStrategy.prototype.bottom = function (value) {\n this._topOffset = '';\n this._bottomOffset = value;\n this._alignItems = 'flex-end';\n return this;\n };\n /**\n * Sets the right position of the overlay. Clears any previously set horizontal position.\n * @param value New right offset.\n */\n GlobalPositionStrategy.prototype.right = function (value) {\n this._leftOffset = '';\n this._rightOffset = value;\n this._justifyContent = 'flex-end';\n return this;\n };\n /**\n * Sets the overlay width and clears any previously set width.\n * @param value New width for the overlay\n */\n GlobalPositionStrategy.prototype.width = function (value) {\n this._width = value;\n // When the width is 100%, we should reset the `left` and the offset,\n // in order to ensure that the element is flush against the viewport edge.\n if (value === '100%') {\n this.left('0px');\n }\n return this;\n };\n /**\n * Sets the overlay height and clears any previously set height.\n * @param value New height for the overlay\n */\n GlobalPositionStrategy.prototype.height = function (value) {\n this._height = value;\n // When the height is 100%, we should reset the `top` and the offset,\n // in order to ensure that the element is flush against the viewport edge.\n if (value === '100%') {\n this.top('0px');\n }\n return this;\n };\n /**\n * Centers the overlay horizontally with an optional offset.\n * Clears any previously set horizontal position.\n *\n * @param offset Overlay offset from the horizontal center.\n */\n GlobalPositionStrategy.prototype.centerHorizontally = function (offset) {\n if (offset === void 0) { offset = ''; }\n this.left(offset);\n this._justifyContent = 'center';\n return this;\n };\n /**\n * Centers the overlay vertically with an optional offset.\n * Clears any previously set vertical position.\n *\n * @param offset Overlay offset from the vertical center.\n */\n GlobalPositionStrategy.prototype.centerVertically = function (offset) {\n if (offset === void 0) { offset = ''; }\n this.top(offset);\n this._alignItems = 'center';\n return this;\n };\n /**\n * Apply the position to the element.\n * @docs-private\n *\n * @param element Element to which to apply the CSS.\n * @returns Resolved when the styles have been applied.\n */\n GlobalPositionStrategy.prototype.apply = function (element) {\n if (!this._wrapper) {\n this._wrapper = document.createElement('div');\n this._wrapper.classList.add('cdk-global-overlay-wrapper');\n element.parentNode.insertBefore(this._wrapper, element);\n this._wrapper.appendChild(element);\n }\n var styles = element.style;\n var parentStyles = element.parentNode.style;\n styles.position = this._cssPosition;\n styles.marginTop = this._topOffset;\n styles.marginLeft = this._leftOffset;\n styles.marginBottom = this._bottomOffset;\n styles.marginRight = this._rightOffset;\n styles.width = this._width;\n styles.height = this._height;\n parentStyles.justifyContent = this._justifyContent;\n parentStyles.alignItems = this._alignItems;\n return Promise.resolve(null);\n };\n /**\n * Removes the wrapper element from the DOM.\n */\n GlobalPositionStrategy.prototype.dispose = function () {\n if (this._wrapper && this._wrapper.parentNode) {\n this._wrapper.parentNode.removeChild(this._wrapper);\n this._wrapper = null;\n }\n };\n return GlobalPositionStrategy;\n}());\n\nvar __decorate$12 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$12 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Builder for overlay position strategy. */\nvar OverlayPositionBuilder = (function () {\n function OverlayPositionBuilder(_viewportRuler) {\n this._viewportRuler = _viewportRuler;\n }\n /**\n * Creates a global position strategy.\n */\n OverlayPositionBuilder.prototype.global = function () {\n return new GlobalPositionStrategy();\n };\n /**\n * Creates a relative position strategy.\n * @param elementRef\n * @param originPos\n * @param overlayPos\n */\n OverlayPositionBuilder.prototype.connectedTo = function (elementRef, originPos, overlayPos) {\n return new ConnectedPositionStrategy(elementRef, originPos, overlayPos, this._viewportRuler);\n };\n OverlayPositionBuilder = __decorate$12([\n _angular_core.Injectable(), \n __metadata$12('design:paramtypes', [ViewportRuler])\n ], OverlayPositionBuilder);\n return OverlayPositionBuilder;\n}());\n\nvar __decorate$14 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$14 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * The OverlayContainer is the container in which all overlays will load.\n * It should be provided in the root component to ensure it is properly shared.\n */\nvar OverlayContainer = (function () {\n function OverlayContainer() {\n }\n /**\n * This method returns the overlay container element. It will lazily\n * create the element the first time it is called to facilitate using\n * the container in non-browser environments.\n * @returns the container element\n */\n OverlayContainer.prototype.getContainerElement = function () {\n if (!this._containerElement) {\n this._createContainer();\n }\n return this._containerElement;\n };\n /**\n * Create the overlay container element, which is simply a div\n * with the 'cdk-overlay-container' class on the document body.\n */\n OverlayContainer.prototype._createContainer = function () {\n var container = document.createElement('div');\n container.classList.add('cdk-overlay-container');\n document.body.appendChild(container);\n this._containerElement = container;\n };\n OverlayContainer = __decorate$14([\n _angular_core.Injectable(), \n __metadata$14('design:paramtypes', [])\n ], OverlayContainer);\n return OverlayContainer;\n}());\nfunction OVERLAY_CONTAINER_PROVIDER_FACTORY(parentContainer) {\n return parentContainer || new OverlayContainer();\n}\n\nvar OVERLAY_CONTAINER_PROVIDER = {\n // If there is already an OverlayContainer available, use that. Otherwise, provide a new one.\n provide: OverlayContainer,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), OverlayContainer]],\n useFactory: OVERLAY_CONTAINER_PROVIDER_FACTORY\n};\n\nvar __decorate$11 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$11 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Next overlay unique ID. */\nvar nextUniqueId = 0;\n/** The default state for newly created overlays. */\nvar defaultState = new OverlayState();\n/**\n * Service to create Overlays. Overlays are dynamically added pieces of floating UI, meant to be\n * used as a low-level building building block for other components. Dialogs, tooltips, menus,\n * selects, etc. can all be built using overlays. The service should primarily be used by authors\n * of re-usable components rather than developers building end-user applications.\n *\n * An overlay *is* a PortalHost, so any kind of Portal can be loaded into one.\n */\nvar Overlay = (function () {\n function Overlay(_overlayContainer, _componentFactoryResolver, _positionBuilder, _appRef, _injector, _ngZone) {\n this._overlayContainer = _overlayContainer;\n this._componentFactoryResolver = _componentFactoryResolver;\n this._positionBuilder = _positionBuilder;\n this._appRef = _appRef;\n this._injector = _injector;\n this._ngZone = _ngZone;\n }\n /**\n * Creates an overlay.\n * @param state State to apply to the overlay.\n * @returns Reference to the created overlay.\n */\n Overlay.prototype.create = function (state$$1) {\n if (state$$1 === void 0) { state$$1 = defaultState; }\n return this._createOverlayRef(this._createPaneElement(), state$$1);\n };\n /**\n * Returns a position builder that can be used, via fluent API,\n * to construct and configure a position strategy.\n */\n Overlay.prototype.position = function () {\n return this._positionBuilder;\n };\n /**\n * Creates the DOM element for an overlay and appends it to the overlay container.\n * @returns Newly-created pane element\n */\n Overlay.prototype._createPaneElement = function () {\n var pane = document.createElement('div');\n pane.id = \"cdk-overlay-\" + nextUniqueId++;\n pane.classList.add('cdk-overlay-pane');\n this._overlayContainer.getContainerElement().appendChild(pane);\n return pane;\n };\n /**\n * Create a DomPortalHost into which the overlay content can be loaded.\n * @param pane The DOM element to turn into a portal host.\n * @returns A portal host for the given DOM element.\n */\n Overlay.prototype._createPortalHost = function (pane) {\n return new DomPortalHost(pane, this._componentFactoryResolver, this._appRef, this._injector);\n };\n /**\n * Creates an OverlayRef for an overlay in the given DOM element.\n * @param pane DOM element for the overlay\n * @param state\n */\n Overlay.prototype._createOverlayRef = function (pane, state$$1) {\n return new OverlayRef(this._createPortalHost(pane), pane, state$$1, this._ngZone);\n };\n Overlay = __decorate$11([\n _angular_core.Injectable(), \n __metadata$11('design:paramtypes', [OverlayContainer, _angular_core.ComponentFactoryResolver, OverlayPositionBuilder, _angular_core.ApplicationRef, _angular_core.Injector, _angular_core.NgZone])\n ], Overlay);\n return Overlay;\n}());\n/** Providers for Overlay and its related injectables. */\nvar OVERLAY_PROVIDERS = [\n Overlay,\n OverlayPositionBuilder,\n VIEWPORT_RULER_PROVIDER,\n SCROLL_DISPATCHER_PROVIDER,\n OVERLAY_CONTAINER_PROVIDER,\n];\n\nvar __decorate$15 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$15 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Sends an event when the directive's element is scrolled. Registers itself with the\n * ScrollDispatcher service to include itself as part of its collection of scrolling events that it\n * can be listened to through the service.\n */\nvar Scrollable = (function () {\n function Scrollable(_elementRef, _scroll) {\n this._elementRef = _elementRef;\n this._scroll = _scroll;\n }\n Scrollable.prototype.ngOnInit = function () {\n this._scroll.register(this);\n };\n Scrollable.prototype.ngOnDestroy = function () {\n this._scroll.deregister(this);\n };\n /**\n * Returns observable that emits when a scroll event is fired on the host element.\n */\n Scrollable.prototype.elementScrolled = function () {\n return rxjs_Observable.Observable.fromEvent(this._elementRef.nativeElement, 'scroll');\n };\n Scrollable.prototype.getElementRef = function () {\n return this._elementRef;\n };\n Scrollable = __decorate$15([\n _angular_core.Directive({\n selector: '[cdk-scrollable]'\n }), \n __metadata$15('design:paramtypes', [_angular_core.ElementRef, ScrollDispatcher])\n ], Scrollable);\n return Scrollable;\n}());\n\nvar __decorate$10 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$10 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$1 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/** Default set of positions for the overlay. Follows the behavior of a dropdown. */\nvar defaultPositionList = [\n new ConnectionPositionPair({ originX: 'start', originY: 'bottom' }, { overlayX: 'start', overlayY: 'top' }),\n new ConnectionPositionPair({ originX: 'start', originY: 'top' }, { overlayX: 'start', overlayY: 'bottom' }),\n];\n/**\n * Directive applied to an element to make it usable as an origin for an Overlay using a\n * ConnectedPositionStrategy.\n */\nvar OverlayOrigin = (function () {\n function OverlayOrigin(elementRef) {\n this.elementRef = elementRef;\n }\n OverlayOrigin = __decorate$10([\n _angular_core.Directive({\n selector: '[cdk-overlay-origin], [overlay-origin]',\n exportAs: 'cdkOverlayOrigin',\n }), \n __metadata$10('design:paramtypes', [_angular_core.ElementRef])\n ], OverlayOrigin);\n return OverlayOrigin;\n}());\n/**\n * Directive to facilitate declarative creation of an Overlay using a ConnectedPositionStrategy.\n */\nvar ConnectedOverlayDirective = (function () {\n // TODO(jelbourn): inputs for size, scroll behavior, animation, etc.\n function ConnectedOverlayDirective(_overlay, templateRef, viewContainerRef, _dir) {\n this._overlay = _overlay;\n this._dir = _dir;\n this._open = false;\n this._hasBackdrop = false;\n this._offsetX = 0;\n this._offsetY = 0;\n /** Event emitted when the backdrop is clicked. */\n this.backdropClick = new _angular_core.EventEmitter();\n /** Event emitted when the position has changed. */\n this.positionChange = new _angular_core.EventEmitter();\n /** Event emitted when the overlay has been attached. */\n this.attach = new _angular_core.EventEmitter();\n /** Event emitted when the overlay has been detached. */\n this.detach = new _angular_core.EventEmitter();\n this._templatePortal = new TemplatePortal(templateRef, viewContainerRef);\n }\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"offsetX\", {\n /** The offset in pixels for the overlay connection point on the x-axis */\n get: function () {\n return this._offsetX;\n },\n set: function (offsetX) {\n this._offsetX = offsetX;\n if (this._position) {\n this._position.withOffsetX(offsetX);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"offsetY\", {\n /** The offset in pixels for the overlay connection point on the y-axis */\n get: function () {\n return this._offsetY;\n },\n set: function (offsetY) {\n this._offsetY = offsetY;\n if (this._position) {\n this._position.withOffsetY(offsetY);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"hasBackdrop\", {\n /** Whether or not the overlay should attach a backdrop. */\n get: function () {\n return this._hasBackdrop;\n },\n set: function (value) {\n this._hasBackdrop = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"open\", {\n get: function () {\n return this._open;\n },\n set: function (value) {\n value ? this._attachOverlay() : this._detachOverlay();\n this._open = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"overlayRef\", {\n /** The associated overlay reference. */\n get: function () {\n return this._overlayRef;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ConnectedOverlayDirective.prototype, \"dir\", {\n /** The element's layout direction. */\n get: function () {\n return this._dir ? this._dir.value : 'ltr';\n },\n enumerable: true,\n configurable: true\n });\n ConnectedOverlayDirective.prototype.ngOnDestroy = function () {\n this._destroyOverlay();\n };\n /** Creates an overlay */\n ConnectedOverlayDirective.prototype._createOverlay = function () {\n if (!this.positions || !this.positions.length) {\n this.positions = defaultPositionList;\n }\n this._overlayRef = this._overlay.create(this._buildConfig());\n };\n /** Builds the overlay config based on the directive's inputs */\n ConnectedOverlayDirective.prototype._buildConfig = function () {\n var overlayConfig = new OverlayState();\n if (this.width || this.width === 0) {\n overlayConfig.width = this.width;\n }\n if (this.height || this.height === 0) {\n overlayConfig.height = this.height;\n }\n if (this.minWidth || this.minWidth === 0) {\n overlayConfig.minWidth = this.minWidth;\n }\n if (this.minHeight || this.minHeight === 0) {\n overlayConfig.minHeight = this.minHeight;\n }\n overlayConfig.hasBackdrop = this.hasBackdrop;\n if (this.backdropClass) {\n overlayConfig.backdropClass = this.backdropClass;\n }\n this._position = this._createPositionStrategy();\n overlayConfig.positionStrategy = this._position;\n overlayConfig.direction = this.dir;\n return overlayConfig;\n };\n /** Returns the position strategy of the overlay to be set on the overlay config */\n ConnectedOverlayDirective.prototype._createPositionStrategy = function () {\n var pos = this.positions[0];\n var originPoint = { originX: pos.originX, originY: pos.originY };\n var overlayPoint = { overlayX: pos.overlayX, overlayY: pos.overlayY };\n var strategy = this._overlay.position()\n .connectedTo(this.origin.elementRef, originPoint, overlayPoint)\n .withDirection(this.dir)\n .withOffsetX(this.offsetX)\n .withOffsetY(this.offsetY);\n this._handlePositionChanges(strategy);\n return strategy;\n };\n ConnectedOverlayDirective.prototype._handlePositionChanges = function (strategy) {\n var _this = this;\n for (var i = 1; i < this.positions.length; i++) {\n strategy.withFallbackPosition({ originX: this.positions[i].originX, originY: this.positions[i].originY }, { overlayX: this.positions[i].overlayX, overlayY: this.positions[i].overlayY });\n }\n this._positionSubscription =\n strategy.onPositionChange.subscribe(function (pos) { return _this.positionChange.emit(pos); });\n };\n /** Attaches the overlay and subscribes to backdrop clicks if backdrop exists */\n ConnectedOverlayDirective.prototype._attachOverlay = function () {\n var _this = this;\n if (!this._overlayRef) {\n this._createOverlay();\n }\n if (!this._overlayRef.hasAttached()) {\n this._overlayRef.attach(this._templatePortal);\n this.attach.emit();\n }\n if (this.hasBackdrop) {\n this._backdropSubscription = this._overlayRef.backdropClick().subscribe(function () {\n _this.backdropClick.emit();\n });\n }\n };\n /** Detaches the overlay and unsubscribes to backdrop clicks if backdrop exists */\n ConnectedOverlayDirective.prototype._detachOverlay = function () {\n if (this._overlayRef) {\n this._overlayRef.detach();\n this.detach.emit();\n }\n if (this._backdropSubscription) {\n this._backdropSubscription.unsubscribe();\n this._backdropSubscription = null;\n }\n };\n /** Destroys the overlay created by this directive. */\n ConnectedOverlayDirective.prototype._destroyOverlay = function () {\n if (this._overlayRef) {\n this._overlayRef.dispose();\n }\n if (this._backdropSubscription) {\n this._backdropSubscription.unsubscribe();\n }\n if (this._positionSubscription) {\n this._positionSubscription.unsubscribe();\n }\n };\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', OverlayOrigin)\n ], ConnectedOverlayDirective.prototype, \"origin\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Array)\n ], ConnectedOverlayDirective.prototype, \"positions\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Number)\n ], ConnectedOverlayDirective.prototype, \"offsetX\", null);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"offsetY\", null);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"width\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"height\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"minWidth\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"minHeight\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', String)\n ], ConnectedOverlayDirective.prototype, \"backdropClass\", void 0);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"hasBackdrop\", null);\n __decorate$10([\n _angular_core.Input(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"open\", null);\n __decorate$10([\n _angular_core.Output(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"backdropClick\", void 0);\n __decorate$10([\n _angular_core.Output(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"positionChange\", void 0);\n __decorate$10([\n _angular_core.Output(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"attach\", void 0);\n __decorate$10([\n _angular_core.Output(), \n __metadata$10('design:type', Object)\n ], ConnectedOverlayDirective.prototype, \"detach\", void 0);\n ConnectedOverlayDirective = __decorate$10([\n _angular_core.Directive({\n selector: '[cdk-connected-overlay], [connected-overlay]',\n exportAs: 'cdkConnectedOverlay'\n }),\n __param$1(3, _angular_core.Optional()), \n __metadata$10('design:paramtypes', [Overlay, _angular_core.TemplateRef, _angular_core.ViewContainerRef, Dir])\n ], ConnectedOverlayDirective);\n return ConnectedOverlayDirective;\n}());\nvar OverlayModule = (function () {\n function OverlayModule() {\n }\n /** @deprecated */\n OverlayModule.forRoot = function () {\n return {\n ngModule: OverlayModule,\n providers: [],\n };\n };\n OverlayModule = __decorate$10([\n _angular_core.NgModule({\n imports: [PortalModule],\n exports: [ConnectedOverlayDirective, OverlayOrigin, Scrollable],\n declarations: [ConnectedOverlayDirective, OverlayOrigin, Scrollable],\n providers: [OVERLAY_PROVIDERS],\n }), \n __metadata$10('design:paramtypes', [])\n ], OverlayModule);\n return OverlayModule;\n}());\n\nvar __decorate$19 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$19 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// Whether the current platform supports the V8 Break Iterator. The V8 check\n// is necessary to detect all Blink based browsers.\nvar hasV8BreakIterator = typeof (window) !== 'undefined' ?\n (window.Intl && window.Intl.v8BreakIterator) :\n (typeof (Intl) !== 'undefined' && Intl.v8BreakIterator);\n/**\n * Service to detect the current platform by comparing the userAgent strings and\n * checking browser-specific global properties.\n * @docs-private\n */\nvar Platform = (function () {\n function Platform() {\n /** Layout Engines */\n this.EDGE = /(edge)/i.test(navigator.userAgent);\n this.TRIDENT = /(msie|trident)/i.test(navigator.userAgent);\n // EdgeHTML and Trident mock Blink specific things and need to excluded from this check.\n this.BLINK = !!(window.chrome || hasV8BreakIterator) && !!CSS && !this.EDGE && !this.TRIDENT;\n // Webkit is part of the userAgent in EdgeHTML Blink and Trident, so we need to\n // ensure that Webkit runs standalone and is not use as another engines base.\n this.WEBKIT = /AppleWebKit/i.test(navigator.userAgent) && !this.BLINK && !this.EDGE && !this.TRIDENT;\n /** Browsers and Platform Types */\n this.IOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;\n // It's difficult to detect the plain Gecko engine, because most of the browsers identify\n // them self as Gecko-like browsers and modify the userAgent's according to that.\n // Since we only cover one explicit Firefox case, we can simply check for Firefox\n // instead of having an unstable check for Gecko.\n this.FIREFOX = /(firefox|minefield)/i.test(navigator.userAgent);\n // Trident on mobile adds the android platform to the userAgent to trick detections.\n this.ANDROID = /android/i.test(navigator.userAgent) && !this.TRIDENT;\n }\n Platform = __decorate$19([\n _angular_core.Injectable(), \n __metadata$19('design:paramtypes', [])\n ], Platform);\n return Platform;\n}());\n\nvar __decorate$18 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$18 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * The InteractivityChecker leans heavily on the ally.js accessibility utilities.\n * Methods like `isTabbable` are only covering specific edge-cases for the browsers which are\n * supported.\n */\n/**\n * Utility for checking the interactivity of an element, such as whether is is focusable or\n * tabbable.\n */\nvar InteractivityChecker = (function () {\n function InteractivityChecker(_platform) {\n this._platform = _platform;\n }\n /**\n * Gets whether an element is disabled.\n *\n * @param element Element to be checked.\n * @returns Whether the element is disabled.\n */\n InteractivityChecker.prototype.isDisabled = function (element) {\n // This does not capture some cases, such as a non-form control with a disabled attribute or\n // a form control inside of a disabled form, but should capture the most common cases.\n return element.hasAttribute('disabled');\n };\n /**\n * Gets whether an element is visible for the purposes of interactivity.\n *\n * This will capture states like `display: none` and `visibility: hidden`, but not things like\n * being clipped by an `overflow: hidden` parent or being outside the viewport.\n *\n * @returns Whether the element is visible.\n */\n InteractivityChecker.prototype.isVisible = function (element) {\n return hasGeometry(element) && getComputedStyle(element).visibility === 'visible';\n };\n /**\n * Gets whether an element can be reached via Tab key.\n * Assumes that the element has already been checked with isFocusable.\n *\n * @param element Element to be checked.\n * @returns Whether the element is tabbable.\n */\n InteractivityChecker.prototype.isTabbable = function (element) {\n var frameElement = getWindow(element).frameElement;\n if (frameElement) {\n var frameType = frameElement && frameElement.nodeName.toLowerCase();\n // Frame elements inherit their tabindex onto all child elements.\n if (getTabIndexValue(frameElement) === -1) {\n return false;\n }\n // Webkit and Blink consider anything inside of an <object> element as non-tabbable.\n if ((this._platform.BLINK || this._platform.WEBKIT) && frameType === 'object') {\n return false;\n }\n // Webkit and Blink disable tabbing to an element inside of an invisible frame.\n if ((this._platform.BLINK || this._platform.WEBKIT) && !this.isVisible(frameElement)) {\n return false;\n }\n }\n var nodeName = element.nodeName.toLowerCase();\n var tabIndexValue = getTabIndexValue(element);\n if (element.hasAttribute('contenteditable')) {\n return tabIndexValue !== -1;\n }\n if (nodeName === 'iframe') {\n // The frames may be tabbable depending on content, but it's not possibly to reliably\n // investigate the content of the frames.\n return false;\n }\n if (nodeName === 'audio') {\n if (!element.hasAttribute('controls')) {\n // By default an <audio> element without the controls enabled is not tabbable.\n return false;\n }\n else if (this._platform.BLINK) {\n // In Blink <audio controls> elements are always tabbable.\n return true;\n }\n }\n if (nodeName === 'video') {\n if (!element.hasAttribute('controls') && this._platform.TRIDENT) {\n // In Trident a <video> element without the controls enabled is not tabbable.\n return false;\n }\n else if (this._platform.BLINK || this._platform.FIREFOX) {\n // In Chrome and Firefox <video controls> elements are always tabbable.\n return true;\n }\n }\n if (nodeName === 'object' && (this._platform.BLINK || this._platform.WEBKIT)) {\n // In all Blink and WebKit based browsers <object> elements are never tabbable.\n return false;\n }\n // In iOS the browser only considers some specific elements as tabbable.\n if (this._platform.WEBKIT && this._platform.IOS && !isPotentiallyTabbableIOS(element)) {\n return false;\n }\n return element.tabIndex >= 0;\n };\n /**\n * Gets whether an element can be focused by the user.\n *\n * @param element Element to be checked.\n * @returns Whether the element is focusable.\n */\n InteractivityChecker.prototype.isFocusable = function (element) {\n // Perform checks in order of left to most expensive.\n // Again, naive approach that does not capture many edge cases and browser quirks.\n return isPotentiallyFocusable(element) && !this.isDisabled(element) && this.isVisible(element);\n };\n InteractivityChecker = __decorate$18([\n _angular_core.Injectable(), \n __metadata$18('design:paramtypes', [Platform])\n ], InteractivityChecker);\n return InteractivityChecker;\n}());\n/** Checks whether the specified element has any geometry / rectangles. */\nfunction hasGeometry(element) {\n // Use logic from jQuery to check for an invisible element.\n // See https://github.com/jquery/jquery/blob/master/src/css/hiddenVisibleSelectors.js#L12\n return !!(element.offsetWidth || element.offsetHeight || element.getClientRects().length);\n}\n/** Gets whether an element's */\nfunction isNativeFormElement(element) {\n var nodeName = element.nodeName.toLowerCase();\n return nodeName === 'input' ||\n nodeName === 'select' ||\n nodeName === 'button' ||\n nodeName === 'textarea';\n}\n/** Gets whether an element is an <input type=\"hidden\">. */\nfunction isHiddenInput(element) {\n return isInputElement(element) && element.type == 'hidden';\n}\n/** Gets whether an element is an anchor that has an href attribute. */\nfunction isAnchorWithHref(element) {\n return isAnchorElement(element) && element.hasAttribute('href');\n}\n/** Gets whether an element is an input element. */\nfunction isInputElement(element) {\n return element.nodeName == 'input';\n}\n/** Gets whether an element is an anchor element. */\nfunction isAnchorElement(element) {\n return element.nodeName.toLowerCase() == 'a';\n}\n/** Gets whether an element has a valid tabindex. */\nfunction hasValidTabIndex(element) {\n if (!element.hasAttribute('tabindex') || element.tabIndex === undefined) {\n return false;\n }\n var tabIndex = element.getAttribute('tabindex');\n // IE11 parses tabindex=\"\" as the value \"-32768\"\n if (tabIndex == '-32768') {\n return false;\n }\n return !!(tabIndex && !isNaN(parseInt(tabIndex, 10)));\n}\n/**\n * Returns the parsed tabindex from the element attributes instead of returning the\n * evaluated tabindex from the browsers defaults.\n */\nfunction getTabIndexValue(element) {\n if (!hasValidTabIndex(element)) {\n return null;\n }\n // See browser issue in Gecko https://bugzilla.mozilla.org/show_bug.cgi?id=1128054\n var tabIndex = parseInt(element.getAttribute('tabindex'), 10);\n return isNaN(tabIndex) ? -1 : tabIndex;\n}\n/** Checks whether the specified element is potentially tabbable on iOS */\nfunction isPotentiallyTabbableIOS(element) {\n var nodeName = element.nodeName.toLowerCase();\n var inputType = nodeName === 'input' && element.type;\n return inputType === 'text'\n || inputType === 'password'\n || nodeName === 'select'\n || nodeName === 'textarea';\n}\n/**\n * Gets whether an element is potentially focusable without taking current visible/disabled state\n * into account.\n */\nfunction isPotentiallyFocusable(element) {\n // Inputs are potentially focusable *unless* they're type=\"hidden\".\n if (isHiddenInput(element)) {\n return false;\n }\n return isNativeFormElement(element) ||\n isAnchorWithHref(element) ||\n element.hasAttribute('contenteditable') ||\n hasValidTabIndex(element);\n}\n/** Gets the parent window of a DOM node with regards of being inside of an iframe. */\nfunction getWindow(node) {\n return node.ownerDocument.defaultView || window;\n}\n\nvar __decorate$17 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$17 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Directive for trapping focus within a region.\n *\n * NOTE: This directive currently uses a very simple (naive) approach to focus trapping.\n * It assumes that the tab order is the same as DOM order, which is not necessarily true.\n * Things like tabIndex > 0, flex `order`, and shadow roots can cause to two to misalign.\n * This will be replaced with a more intelligent solution before the library is considered stable.\n */\nvar FocusTrap = (function () {\n function FocusTrap(_checker, _ngZone) {\n this._checker = _checker;\n this._ngZone = _ngZone;\n this._disabled = false;\n }\n Object.defineProperty(FocusTrap.prototype, \"disabled\", {\n /** Whether the focus trap is active. */\n get: function () { return this._disabled; },\n set: function (val) { this._disabled = coerceBooleanProperty(val); },\n enumerable: true,\n configurable: true\n });\n /**\n * Waits for microtask queue to empty, then focuses the first tabbable element within the focus\n * trap region.\n */\n FocusTrap.prototype.focusFirstTabbableElementWhenReady = function () {\n var _this = this;\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n _this.focusFirstTabbableElement();\n });\n };\n /**\n * Waits for microtask queue to empty, then focuses the last tabbable element within the focus\n * trap region.\n */\n FocusTrap.prototype.focusLastTabbableElementWhenReady = function () {\n var _this = this;\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n _this.focusLastTabbableElement();\n });\n };\n /**\n * Focuses the first tabbable element within the focus trap region.\n */\n FocusTrap.prototype.focusFirstTabbableElement = function () {\n var rootElement = this.trappedContent.nativeElement;\n var redirectToElement = rootElement.querySelector('[cdk-focus-start]') ||\n this._getFirstTabbableElement(rootElement);\n if (redirectToElement) {\n redirectToElement.focus();\n }\n };\n /**\n * Focuses the last tabbable element within the focus trap region.\n */\n FocusTrap.prototype.focusLastTabbableElement = function () {\n var rootElement = this.trappedContent.nativeElement;\n var focusTargets = rootElement.querySelectorAll('[cdk-focus-end]');\n var redirectToElement = null;\n if (focusTargets.length) {\n redirectToElement = focusTargets[focusTargets.length - 1];\n }\n else {\n redirectToElement = this._getLastTabbableElement(rootElement);\n }\n if (redirectToElement) {\n redirectToElement.focus();\n }\n };\n /** Get the first tabbable element from a DOM subtree (inclusive). */\n FocusTrap.prototype._getFirstTabbableElement = function (root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n // Iterate in DOM order.\n var childCount = root.children.length;\n for (var i = 0; i < childCount; i++) {\n var tabbableChild = this._getFirstTabbableElement(root.children[i]);\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n };\n /** Get the last tabbable element from a DOM subtree (inclusive). */\n FocusTrap.prototype._getLastTabbableElement = function (root) {\n if (this._checker.isFocusable(root) && this._checker.isTabbable(root)) {\n return root;\n }\n // Iterate in reverse DOM order.\n for (var i = root.children.length - 1; i >= 0; i--) {\n var tabbableChild = this._getLastTabbableElement(root.children[i]);\n if (tabbableChild) {\n return tabbableChild;\n }\n }\n return null;\n };\n __decorate$17([\n _angular_core.ViewChild('trappedContent'), \n __metadata$17('design:type', _angular_core.ElementRef)\n ], FocusTrap.prototype, \"trappedContent\", void 0);\n __decorate$17([\n _angular_core.Input(), \n __metadata$17('design:type', Boolean)\n ], FocusTrap.prototype, \"disabled\", null);\n FocusTrap = __decorate$17([\n _angular_core.Component({selector: 'cdk-focus-trap, focus-trap',\n template: \"<div *ngIf=\\\"!disabled\\\" tabindex=\\\"0\\\" (focus)=\\\"focusLastTabbableElement()\\\"></div><div #trappedContent class=\\\"cdk-focus-trap-content\\\"><ng-content></ng-content></div><div *ngIf=\\\"!disabled\\\" tabindex=\\\"0\\\" (focus)=\\\"focusFirstTabbableElement()\\\"></div>\",\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$17('design:paramtypes', [InteractivityChecker, _angular_core.NgZone])\n ], FocusTrap);\n return FocusTrap;\n}());\n\nvar __decorate$20 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$20 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$3 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar LIVE_ANNOUNCER_ELEMENT_TOKEN = new _angular_core.OpaqueToken('liveAnnouncerElement');\nvar LiveAnnouncer = (function () {\n function LiveAnnouncer(elementToken) {\n // We inject the live element as `any` because the constructor signature cannot reference\n // browser globals (HTMLElement) on non-browser environments, since having a class decorator\n // causes TypeScript to preserve the constructor signature types.\n this._liveElement = elementToken || this._createLiveElement();\n }\n /**\n * Announces a message to screenreaders.\n * @param message Message to be announced to the screenreader\n * @param politeness The politeness of the announcer element\n */\n LiveAnnouncer.prototype.announce = function (message, politeness) {\n var _this = this;\n if (politeness === void 0) { politeness = 'polite'; }\n this._liveElement.textContent = '';\n // TODO: ensure changing the politeness works on all environments we support.\n this._liveElement.setAttribute('aria-live', politeness);\n // This 100ms timeout is necessary for some browser + screen-reader combinations:\n // - Both JAWS and NVDA over IE11 will not announce anything without a non-zero timeout.\n // - With Chrome and IE11 with NVDA or JAWS, a repeated (identical) message won't be read a\n // second time without clearing and then using a non-zero delay.\n // (using JAWS 17 at time of this writing).\n setTimeout(function () { return _this._liveElement.textContent = message; }, 100);\n };\n /** Removes the aria-live element from the DOM. */\n LiveAnnouncer.prototype._removeLiveElement = function () {\n if (this._liveElement && this._liveElement.parentNode) {\n this._liveElement.parentNode.removeChild(this._liveElement);\n }\n };\n LiveAnnouncer.prototype._createLiveElement = function () {\n var liveEl = document.createElement('div');\n liveEl.classList.add('cdk-visually-hidden');\n liveEl.setAttribute('aria-atomic', 'true');\n liveEl.setAttribute('aria-live', 'polite');\n document.body.appendChild(liveEl);\n return liveEl;\n };\n LiveAnnouncer = __decorate$20([\n _angular_core.Injectable(),\n __param$3(0, _angular_core.Optional()),\n __param$3(0, _angular_core.Inject(LIVE_ANNOUNCER_ELEMENT_TOKEN)), \n __metadata$20('design:paramtypes', [Object])\n ], LiveAnnouncer);\n return LiveAnnouncer;\n}());\nfunction LIVE_ANNOUNCER_PROVIDER_FACTORY(parentDispatcher, liveElement) {\n return parentDispatcher || new LiveAnnouncer(liveElement);\n}\n\nvar LIVE_ANNOUNCER_PROVIDER = {\n // If there is already a LiveAnnouncer available, use that. Otherwise, provide a new one.\n provide: LiveAnnouncer,\n deps: [\n [new _angular_core.Optional(), new _angular_core.SkipSelf(), LiveAnnouncer],\n [new _angular_core.Optional(), new _angular_core.Inject(LIVE_ANNOUNCER_ELEMENT_TOKEN)]\n ],\n useFactory: LIVE_ANNOUNCER_PROVIDER_FACTORY\n};\n\nvar supportedInputTypes;\n/** @returns The input types supported by this browser. */\nfunction getSupportedInputTypes() {\n if (!supportedInputTypes) {\n var featureTestInput_1 = document.createElement('input');\n supportedInputTypes = new Set([\n // `color` must come first. Chrome 56 shows a warning if we change the type to `color` after\n // first changing it to something else:\n // The specified value \"\" does not conform to the required format.\n // The format is \"#rrggbb\" where rr, gg, bb are two-digit hexadecimal numbers.\n 'color',\n 'button',\n 'checkbox',\n 'date',\n 'datetime-local',\n 'email',\n 'file',\n 'hidden',\n 'image',\n 'month',\n 'number',\n 'password',\n 'radio',\n 'range',\n 'reset',\n 'search',\n 'submit',\n 'tel',\n 'text',\n 'time',\n 'url',\n 'week',\n ].filter(function (value) {\n featureTestInput_1.setAttribute('type', value);\n return featureTestInput_1.type === value;\n }));\n }\n return supportedInputTypes;\n}\n\nvar __decorate$21 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$21 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar PlatformModule = (function () {\n function PlatformModule() {\n }\n /** @deprecated */\n PlatformModule.forRoot = function () {\n return {\n ngModule: PlatformModule,\n providers: [],\n };\n };\n PlatformModule = __decorate$21([\n _angular_core.NgModule({\n providers: [Platform]\n }), \n __metadata$21('design:paramtypes', [])\n ], PlatformModule);\n return PlatformModule;\n}());\n\nvar __decorate$16 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$16 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar A11yModule = (function () {\n function A11yModule() {\n }\n /** @deprecated */\n A11yModule.forRoot = function () {\n return {\n ngModule: A11yModule,\n providers: [],\n };\n };\n A11yModule = __decorate$16([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, PlatformModule],\n declarations: [FocusTrap],\n exports: [FocusTrap],\n providers: [InteractivityChecker, LIVE_ANNOUNCER_PROVIDER]\n }), \n __metadata$16('design:paramtypes', [])\n ], A11yModule);\n return A11yModule;\n}());\n\nvar __decorate$23 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$23 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Component that shows a simplified checkbox without including any kind of \"real\" checkbox.\n * Meant to be used when the checkbox is purely decorative and a large number of them will be\n * included, such as for the options in a multi-select. Uses no SVGs or complex animations.\n *\n * Note that this component will be completely invisible to screen-reader users. This is *not*\n * interchangeable with <md-checkbox> and should *not* be used if the user would directly interact\n * with the checkbox. The pseudo-checkbox should only be used as an implementation detail of\n * more complex components that appropriately handle selected / checked state.\n * @docs-private\n */\nvar MdPseudoCheckbox = (function () {\n function MdPseudoCheckbox(_elementRef, _renderer) {\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n /** Display state of the checkbox. */\n this.state = 'unchecked';\n /** Whether the checkbox is disabled. */\n this.disabled = false;\n this.color = 'accent';\n }\n Object.defineProperty(MdPseudoCheckbox.prototype, \"color\", {\n /** Color of the checkbox. */\n get: function () { return this._color; },\n set: function (value) {\n if (value) {\n var nativeElement = this._elementRef.nativeElement;\n this._renderer.setElementClass(nativeElement, \"mat-\" + this.color, false);\n this._renderer.setElementClass(nativeElement, \"mat-\" + value, true);\n this._color = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n \n __decorate$23([\n _angular_core.Input(), \n __metadata$23('design:type', String)\n ], MdPseudoCheckbox.prototype, \"state\", void 0);\n __decorate$23([\n _angular_core.Input(), \n __metadata$23('design:type', Boolean)\n ], MdPseudoCheckbox.prototype, \"disabled\", void 0);\n __decorate$23([\n _angular_core.Input(), \n __metadata$23('design:type', String)\n ], MdPseudoCheckbox.prototype, \"color\", null);\n MdPseudoCheckbox = __decorate$23([\n _angular_core.Component({encapsulation: _angular_core.ViewEncapsulation.None,\n selector: 'md-pseudo-checkbox, mat-pseudo-checkbox',\n styles: [\".mat-pseudo-checkbox{width:20px;height:20px;border:2px solid;border-radius:2px;cursor:pointer;display:inline-block;vertical-align:middle;box-sizing:border-box;position:relative;transition:border-color 90ms cubic-bezier(0,0,.2,.1),background-color 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox::after{position:absolute;opacity:0;content:'';border-bottom:2px solid currentColor;transition:opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-pseudo-checkbox-disabled{cursor:default}.mat-pseudo-checkbox-indeterminate::after{top:9px;left:2px;width:16px;opacity:1}.mat-pseudo-checkbox-checked::after{top:5px;left:3px;width:12px;height:5px;border-left:2px solid currentColor;transform:rotate(-45deg);opacity:1}\"],\n template: '',\n host: {\n '[class.mat-pseudo-checkbox]': 'true',\n '[class.mat-pseudo-checkbox-indeterminate]': 'state === \"indeterminate\"',\n '[class.mat-pseudo-checkbox-checked]': 'state === \"checked\"',\n '[class.mat-pseudo-checkbox-disabled]': 'disabled',\n },\n }), \n __metadata$23('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdPseudoCheckbox);\n return MdPseudoCheckbox;\n}());\n\nvar __decorate$22 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$22 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdSelectionModule = (function () {\n function MdSelectionModule() {\n }\n MdSelectionModule = __decorate$22([\n _angular_core.NgModule({\n exports: [MdPseudoCheckbox],\n declarations: [MdPseudoCheckbox]\n }), \n __metadata$22('design:paramtypes', [])\n ], MdSelectionModule);\n return MdSelectionModule;\n}());\n\nvar __decorate$24 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$24 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// \"Polyfill\" for `Node.replaceWith()`.\n// cf. https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/replaceWith\nfunction _replaceWith(toReplaceEl, otherEl) {\n toReplaceEl.parentElement.replaceChild(otherEl, toReplaceEl);\n}\n/** @docs-private */\nvar DomProjectionHost = (function () {\n function DomProjectionHost(ref) {\n this.ref = ref;\n }\n DomProjectionHost = __decorate$24([\n _angular_core.Directive({\n selector: 'cdk-dom-projection-host'\n }), \n __metadata$24('design:paramtypes', [_angular_core.ElementRef])\n ], DomProjectionHost);\n return DomProjectionHost;\n}());\n/** @docs-private */\nvar DomProjection = (function () {\n function DomProjection() {\n }\n /**\n * Project an element into a host element.\n * Replace a host element by another element. This also replaces the children of the element\n * by the children of the host.\n *\n * It should be used like this:\n *\n * ```\n * @Component({\n * template: `<div>\n * <cdk-dom-projection-host>\n * <div>other</div>\n * <ng-content></ng-content>\n * </cdk-dom-projection-host>\n * </div>`\n * })\n * class Cmpt {\n * constructor(private _projector: DomProjection, private _el: ElementRef) {}\n * ngOnInit() { this._projector.project(this._el, this._projector); }\n * }\n * ```\n *\n * This component will move the content of the element it's applied to in the outer div. Because\n * `project()` also move the children of the host inside the projected element, the element will\n * contain the `<div>other</div>` HTML as well as its own children.\n *\n * Note: without `<ng-content></ng-content>` the projection will project an empty element.\n *\n * @param ref ElementRef to be projected.\n * @param host Projection host into which to project the `ElementRef`.\n */\n DomProjection.prototype.project = function (ref, host) {\n var projectedEl = ref.nativeElement;\n var hostEl = host.ref.nativeElement;\n var childNodes = projectedEl.childNodes;\n var child = childNodes[0];\n // We hoist all of the projected element's children out into the projected elements position\n // because we *only* want to move the projected element and not its children.\n _replaceWith(projectedEl, child);\n var l = childNodes.length;\n while (l--) {\n child.parentNode.insertBefore(childNodes[0], child.nextSibling);\n child = child.nextSibling; // nextSibling is now the childNodes[0].\n }\n // Insert all host children under the projectedEl, then replace host by component.\n l = hostEl.childNodes.length;\n while (l--) {\n projectedEl.appendChild(hostEl.childNodes[0]);\n }\n _replaceWith(hostEl, projectedEl);\n // At this point the host is replaced by the component. Nothing else to be done.\n };\n DomProjection = __decorate$24([\n _angular_core.Injectable(), \n __metadata$24('design:paramtypes', [])\n ], DomProjection);\n return DomProjection;\n}());\n/** @docs-private */\nvar ProjectionModule = (function () {\n function ProjectionModule() {\n }\n /** @deprecated */\n ProjectionModule.forRoot = function () {\n return {\n ngModule: ProjectionModule,\n };\n };\n ProjectionModule = __decorate$24([\n _angular_core.NgModule({\n exports: [DomProjectionHost],\n declarations: [DomProjectionHost],\n providers: [DomProjection],\n }), \n __metadata$24('design:paramtypes', [])\n ], ProjectionModule);\n return ProjectionModule;\n}());\n\nvar __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$25 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$25 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * The FullscreenOverlayContainer is the alternative to OverlayContainer\n * that supports correct displaying of overlay elements in Fullscreen mode\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/requestFullScreen\n * It should be provided in the root component that way:\n * providers: [\n * {provide: OverlayContainer, useClass: FullscreenOverlayContainer}\n * ],\n */\nvar FullscreenOverlayContainer = (function (_super) {\n __extends$5(FullscreenOverlayContainer, _super);\n function FullscreenOverlayContainer() {\n _super.apply(this, arguments);\n }\n FullscreenOverlayContainer.prototype._createContainer = function () {\n var _this = this;\n _super.prototype._createContainer.call(this);\n this._adjustParentForFullscreenChange();\n this._addFullscreenChangeListener(function () { return _this._adjustParentForFullscreenChange(); });\n };\n FullscreenOverlayContainer.prototype._adjustParentForFullscreenChange = function () {\n if (!this._containerElement) {\n return;\n }\n var fullscreenElement = this.getFullscreenElement();\n var parent = fullscreenElement || document.body;\n parent.appendChild(this._containerElement);\n };\n FullscreenOverlayContainer.prototype._addFullscreenChangeListener = function (fn) {\n if (document.fullscreenEnabled) {\n document.addEventListener('fullscreenchange', fn);\n }\n else if (document.webkitFullscreenEnabled) {\n document.addEventListener('webkitfullscreenchange', fn);\n }\n else if (document.mozFullScreenEnabled) {\n document.addEventListener('mozfullscreenchange', fn);\n }\n else if (document.msFullscreenEnabled) {\n document.addEventListener('MSFullscreenChange', fn);\n }\n };\n /**\n * When the page is put into fullscreen mode, a specific element is specified.\n * Only that element and its children are visible when in fullscreen mode.\n */\n FullscreenOverlayContainer.prototype.getFullscreenElement = function () {\n return document.fullscreenElement ||\n document.webkitFullscreenElement ||\n document.mozFullScreenElement ||\n document.msFullscreenElement ||\n null;\n };\n FullscreenOverlayContainer = __decorate$25([\n _angular_core.Injectable(), \n __metadata$25('design:paramtypes', [])\n ], FullscreenOverlayContainer);\n return FullscreenOverlayContainer;\n}(OverlayContainer));\n\nvar __extends$6 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$26 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$26 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/* Adjusts configuration of our gesture library, Hammer. */\nvar GestureConfig = (function (_super) {\n __extends$6(GestureConfig, _super);\n function GestureConfig() {\n _super.call(this);\n this._hammer = typeof window !== 'undefined' ? window.Hammer : null;\n /* List of new event names to add to the gesture support list */\n this.events = this._hammer ? [\n 'longpress',\n 'slide',\n 'slidestart',\n 'slideend',\n 'slideright',\n 'slideleft'\n ] : [];\n if (!this._hammer && _angular_core.isDevMode()) {\n console.warn('Could not find HammerJS. Certain Angular Material ' +\n 'components may not work correctly.');\n }\n }\n /**\n * Builds Hammer instance manually to add custom recognizers that match the Material Design spec.\n *\n * Our gesture names come from the Material Design gestures spec:\n * https://www.google.com/design/spec/patterns/gestures.html#gestures-touch-mechanics\n *\n * More information on default recognizers can be found in Hammer docs:\n * http://hammerjs.github.io/recognizer-pan/\n * http://hammerjs.github.io/recognizer-press/\n *\n * @param element Element to which to assign the new HammerJS gestures.\n * @returns Newly-created HammerJS instance.\n */\n GestureConfig.prototype.buildHammer = function (element) {\n var mc = new this._hammer(element);\n // Default Hammer Recognizers.\n var pan = new this._hammer.Pan();\n var swipe = new this._hammer.Swipe();\n var press = new this._hammer.Press();\n // Notice that a HammerJS recognizer can only depend on one other recognizer once.\n // Otherwise the previous `recognizeWith` will be dropped.\n // TODO: Confirm threshold numbers with Material Design UX Team\n var slide = this._createRecognizer(pan, { event: 'slide', threshold: 0 }, swipe);\n var longpress = this._createRecognizer(press, { event: 'longpress', time: 500 });\n // Overwrite the default `pan` event to use the swipe event.\n pan.recognizeWith(swipe);\n // Add customized gestures to Hammer manager\n mc.add([swipe, press, pan, slide, longpress]);\n return mc;\n };\n /** Creates a new recognizer, without affecting the default recognizers of HammerJS */\n GestureConfig.prototype._createRecognizer = function (base, options) {\n var inheritances = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n inheritances[_i - 2] = arguments[_i];\n }\n var recognizer = new base.constructor(options);\n inheritances.push(base);\n inheritances.forEach(function (item) { return recognizer.recognizeWith(item); });\n return recognizer;\n };\n GestureConfig = __decorate$26([\n _angular_core.Injectable(), \n __metadata$26('design:paramtypes', [])\n ], GestureConfig);\n return GestureConfig;\n}(_angular_platformBrowser.HammerGestureConfig));\n\n/**\n * Class to be used to power selecting one or more options from a list.\n * @docs-private\n */\nvar SelectionModel = (function () {\n function SelectionModel(_isMulti, initiallySelectedValues) {\n var _this = this;\n if (_isMulti === void 0) { _isMulti = false; }\n this._isMulti = _isMulti;\n /** Currently-selected values. */\n this._selection = new Set();\n /** Keeps track of the deselected options that haven't been emitted by the change event. */\n this._deselectedToEmit = [];\n /** Keeps track of the selected option that haven't been emitted by the change event. */\n this._selectedToEmit = [];\n /** Event emitted when the value has changed. */\n this.onChange = new rxjs_Subject.Subject();\n if (initiallySelectedValues) {\n if (_isMulti) {\n initiallySelectedValues.forEach(function (value) { return _this._markSelected(value); });\n }\n else {\n this._markSelected(initiallySelectedValues[0]);\n }\n // Clear the array in order to avoid firing the change event for preselected values.\n this._selectedToEmit.length = 0;\n }\n }\n Object.defineProperty(SelectionModel.prototype, \"selected\", {\n /** Selected value(s). */\n get: function () {\n if (!this._selected) {\n this._selected = Array.from(this._selection.values());\n }\n return this._selected;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Selects a value or an array of values.\n */\n SelectionModel.prototype.select = function (value) {\n this._markSelected(value);\n this._emitChangeEvent();\n };\n /**\n * Deselects a value or an array of values.\n */\n SelectionModel.prototype.deselect = function (value) {\n this._unmarkSelected(value);\n this._emitChangeEvent();\n };\n /**\n * Clears all of the selected values.\n */\n SelectionModel.prototype.clear = function () {\n this._unmarkAll();\n this._emitChangeEvent();\n };\n /**\n * Determines whether a value is selected.\n */\n SelectionModel.prototype.isSelected = function (value) {\n return this._selection.has(value);\n };\n /**\n * Determines whether the model has a value.\n */\n SelectionModel.prototype.isEmpty = function () {\n return this._selection.size === 0;\n };\n /** Emits a change event and clears the records of selected and deselected values. */\n SelectionModel.prototype._emitChangeEvent = function () {\n if (this._selectedToEmit.length || this._deselectedToEmit.length) {\n var eventData = new SelectionChange(this._selectedToEmit, this._deselectedToEmit);\n this.onChange.next(eventData);\n this._deselectedToEmit = [];\n this._selectedToEmit = [];\n this._selected = null;\n }\n };\n /** Selects a value. */\n SelectionModel.prototype._markSelected = function (value) {\n if (!this.isSelected(value)) {\n if (!this._isMulti) {\n this._unmarkAll();\n }\n this._selection.add(value);\n this._selectedToEmit.push(value);\n }\n };\n /** Deselects a value. */\n SelectionModel.prototype._unmarkSelected = function (value) {\n if (this.isSelected(value)) {\n this._selection.delete(value);\n this._deselectedToEmit.push(value);\n }\n };\n /** Clears out the selected values. */\n SelectionModel.prototype._unmarkAll = function () {\n var _this = this;\n if (!this.isEmpty()) {\n this._selection.forEach(function (value) { return _this._unmarkSelected(value); });\n }\n };\n return SelectionModel;\n}());\n/**\n * Describes an event emitted when the value of a MdSelectionModel has changed.\n * @docs-private\n */\nvar SelectionChange = (function () {\n function SelectionChange(added, removed) {\n this.added = added;\n this.removed = removed;\n }\n return SelectionChange;\n}());\n\n/**\n * Screenreaders will often fire fake mousedown events when a focusable element\n * is activated using the keyboard. We can typically distinguish between these faked\n * mousedown events and real mousedown events using the \"buttons\" property. While\n * real mousedowns will indicate the mouse button that was pressed (e.g. \"1\" for\n * the left mouse button), faked mousedowns will usually set the property value to 0.\n */\nfunction isFakeMousedownFromScreenReader(event) {\n return event.buttons === 0;\n}\n\nvar __decorate$27 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$27 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Class to coordinate unique selection based on name.\n * Intended to be consumed as an Angular service.\n * This service is needed because native radio change events are only fired on the item currently\n * being selected, and we still need to uncheck the previous selection.\n *\n * This service does not *store* any IDs and names because they may change at any time, so it is\n * less error-prone if they are simply passed through when the events occur.\n */\nvar UniqueSelectionDispatcher = (function () {\n function UniqueSelectionDispatcher() {\n this._listeners = [];\n }\n /**\n * Notify other items that selection for the given name has been set.\n * @param id ID of the item.\n * @param name Name of the item.\n */\n UniqueSelectionDispatcher.prototype.notify = function (id, name) {\n for (var _i = 0, _a = this._listeners; _i < _a.length; _i++) {\n var listener = _a[_i];\n listener(id, name);\n }\n };\n /** Listen for future changes to item selection. */\n UniqueSelectionDispatcher.prototype.listen = function (listener) {\n this._listeners.push(listener);\n };\n UniqueSelectionDispatcher = __decorate$27([\n _angular_core.Injectable(), \n __metadata$27('design:paramtypes', [])\n ], UniqueSelectionDispatcher);\n return UniqueSelectionDispatcher;\n}());\nfunction UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY(parentDispatcher) {\n return parentDispatcher || new UniqueSelectionDispatcher();\n}\nvar UNIQUE_SELECTION_DISPATCHER_PROVIDER = {\n // If there is already a dispatcher available, use that. Otherwise, provide a new one.\n provide: UniqueSelectionDispatcher,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), UniqueSelectionDispatcher]],\n useFactory: UNIQUE_SELECTION_DISPATCHER_PROVIDER_FACTORY\n};\n\nvar __decorate$29 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$29 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// This is the value used by AngularJS Material. Through trial and error (on iPhone 6S) they found\n// that a value of around 650ms seems appropriate.\nvar TOUCH_BUFFER_MS = 650;\n/** Monitors mouse and keyboard events to determine the cause of focus events. */\nvar FocusOriginMonitor = (function () {\n function FocusOriginMonitor() {\n // Note: we listen to events in the capture phase so we can detect them even if the user stops\n // propagation.\n var _this = this;\n /** The focus origin that the next focus event is a result of. */\n this._origin = null;\n /** Whether the window has just been focused. */\n this._windowFocused = false;\n // On keydown record the origin and clear any touch event that may be in progress.\n document.addEventListener('keydown', function () {\n _this._lastTouchTarget = null;\n _this._setOriginForCurrentEventQueue('keyboard');\n }, true);\n // On mousedown record the origin only if there is not touch target, since a mousedown can\n // happen as a result of a touch event.\n document.addEventListener('mousedown', function () {\n if (!_this._lastTouchTarget) {\n _this._setOriginForCurrentEventQueue('mouse');\n }\n }, true);\n // When the touchstart event fires the focus event is not yet in the event queue. This means we\n // can't rely on the trick used above (setting timeout of 0ms). Instead we wait 650ms to see if\n // a focus happens.\n document.addEventListener('touchstart', function (event) {\n if (_this._touchTimeout != null) {\n clearTimeout(_this._touchTimeout);\n }\n _this._lastTouchTarget = event.target;\n _this._touchTimeout = setTimeout(function () { return _this._lastTouchTarget = null; }, TOUCH_BUFFER_MS);\n }, true);\n // Make a note of when the window regains focus, so we can restore the origin info for the\n // focused element.\n window.addEventListener('focus', function () {\n _this._windowFocused = true;\n setTimeout(function () { return _this._windowFocused = false; }, 0);\n });\n }\n /** Register an element to receive focus classes. */\n FocusOriginMonitor.prototype.registerElementForFocusClasses = function (element, renderer) {\n var _this = this;\n var subject = new rxjs_Subject.Subject();\n renderer.listen(element, 'focus', function (event) { return _this._onFocus(event, element, renderer, subject); });\n renderer.listen(element, 'blur', function () { return _this._onBlur(element, renderer, subject); });\n return subject.asObservable();\n };\n /** Focuses the element via the specified focus origin. */\n FocusOriginMonitor.prototype.focusVia = function (element, renderer, origin) {\n this._setOriginForCurrentEventQueue(origin);\n renderer.invokeElementMethod(element, 'focus');\n };\n /** Sets the origin and schedules an async function to clear it at the end of the event queue. */\n FocusOriginMonitor.prototype._setOriginForCurrentEventQueue = function (origin) {\n var _this = this;\n this._origin = origin;\n setTimeout(function () { return _this._origin = null; }, 0);\n };\n /** Checks whether the given focus event was caused by a touchstart event. */\n FocusOriginMonitor.prototype._wasCausedByTouch = function (event) {\n // Note(mmalerba): This implementation is not quite perfect, there is a small edge case.\n // Consider the following dom structure:\n //\n // <div #parent tabindex=\"0\" cdkFocusClasses>\n // <div #child (click)=\"#parent.focus()\"></div>\n // </div>\n //\n // If the user touches the #child element and the #parent is programmatically focused as a\n // result, this code will still consider it to have been caused by the touch event and will\n // apply the cdk-touch-focused class rather than the cdk-program-focused class. This is a\n // relatively small edge-case that can be worked around by using\n // focusVia(parentEl, renderer, 'program') to focus the parent element.\n //\n // If we decide that we absolutely must handle this case correctly, we can do so by listening\n // for the first focus event after the touchstart, and then the first blur event after that\n // focus event. When that blur event fires we know that whatever follows is not a result of the\n // touchstart.\n var focusTarget = event.target;\n return this._lastTouchTarget instanceof Node && focusTarget instanceof Node &&\n (focusTarget == this._lastTouchTarget || focusTarget.contains(this._lastTouchTarget));\n };\n /** Handles focus events on a registered element. */\n FocusOriginMonitor.prototype._onFocus = function (event, element, renderer, subject) {\n // If we couldn't detect a cause for the focus event, it's due to one of two reasons:\n // 1) The window has just regained focus, in which case we want to restore the focused state of\n // the element from before the window blurred.\n // 2) It was caused by a touch event, in which case we mark the origin as 'touch'.\n // 3) The element was programmatically focused, in which case we should mark the origin as\n // 'program'.\n if (!this._origin) {\n if (this._windowFocused && this._lastFocusOrigin) {\n this._origin = this._lastFocusOrigin;\n }\n else if (this._wasCausedByTouch(event)) {\n this._origin = 'touch';\n }\n else {\n this._origin = 'program';\n }\n }\n renderer.setElementClass(element, 'cdk-focused', true);\n renderer.setElementClass(element, 'cdk-touch-focused', this._origin == 'touch');\n renderer.setElementClass(element, 'cdk-keyboard-focused', this._origin == 'keyboard');\n renderer.setElementClass(element, 'cdk-mouse-focused', this._origin == 'mouse');\n renderer.setElementClass(element, 'cdk-program-focused', this._origin == 'program');\n subject.next(this._origin);\n this._lastFocusOrigin = this._origin;\n this._origin = null;\n };\n /** Handles blur events on a registered element. */\n FocusOriginMonitor.prototype._onBlur = function (element, renderer, subject) {\n renderer.setElementClass(element, 'cdk-focused', false);\n renderer.setElementClass(element, 'cdk-touch-focused', false);\n renderer.setElementClass(element, 'cdk-keyboard-focused', false);\n renderer.setElementClass(element, 'cdk-mouse-focused', false);\n renderer.setElementClass(element, 'cdk-program-focused', false);\n subject.next(null);\n };\n FocusOriginMonitor = __decorate$29([\n _angular_core.Injectable(), \n __metadata$29('design:paramtypes', [])\n ], FocusOriginMonitor);\n return FocusOriginMonitor;\n}());\n/**\n * Directive that determines how a particular element was focused (via keyboard, mouse, or\n * programmatically) and adds corresponding classes to the element.\n */\nvar CdkFocusClasses = (function () {\n function CdkFocusClasses(elementRef, focusOriginMonitor, renderer) {\n this.changes =\n focusOriginMonitor.registerElementForFocusClasses(elementRef.nativeElement, renderer);\n }\n CdkFocusClasses = __decorate$29([\n _angular_core.Directive({\n selector: '[cdkFocusClasses]',\n }), \n __metadata$29('design:paramtypes', [_angular_core.ElementRef, FocusOriginMonitor, _angular_core.Renderer])\n ], CdkFocusClasses);\n return CdkFocusClasses;\n}());\nfunction FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY(parentDispatcher) {\n return parentDispatcher || new FocusOriginMonitor();\n}\nvar FOCUS_ORIGIN_MONITOR_PROVIDER = {\n // If there is already a FocusOriginMonitor available, use that. Otherwise, provide a new one.\n provide: FocusOriginMonitor,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), FocusOriginMonitor]],\n useFactory: FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY\n};\n\n/**\n * Applies a CSS transform to an element, including browser-prefixed properties.\n * @param element\n * @param transformValue\n */\nfunction applyCssTransform(element, transformValue) {\n // It's important to trim the result, because the browser will ignore the set operation\n // if the string contains only whitespace.\n var value = transformValue.trim();\n element.style.transform = value;\n element.style.webkitTransform = value;\n}\n\nvar __decorate$28 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$28 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar StyleModule = (function () {\n function StyleModule() {\n }\n StyleModule = __decorate$28([\n _angular_core.NgModule({\n declarations: [CdkFocusClasses],\n exports: [CdkFocusClasses],\n providers: [FOCUS_ORIGIN_MONITOR_PROVIDER],\n }), \n __metadata$28('design:paramtypes', [])\n ], StyleModule);\n return StyleModule;\n}());\n\n/** @docs-private */\nvar AnimationCurves = (function () {\n function AnimationCurves() {\n }\n AnimationCurves.STANDARD_CURVE = 'cubic-bezier(0.4,0.0,0.2,1)';\n AnimationCurves.DECELERATION_CURVE = 'cubic-bezier(0.0,0.0,0.2,1)';\n AnimationCurves.ACCELERATION_CURVE = 'cubic-bezier(0.4,0.0,1,1)';\n AnimationCurves.SHARP_CURVE = 'cubic-bezier(0.4,0.0,0.6,1)';\n return AnimationCurves;\n}());\n/** @docs-private */\nvar AnimationDurations = (function () {\n function AnimationDurations() {\n }\n AnimationDurations.COMPLEX = '375ms';\n AnimationDurations.ENTERING = '225ms';\n AnimationDurations.EXITING = '195ms';\n return AnimationDurations;\n}());\n\n/** Coerces a data-bound value (typically a string) to a number. */\nfunction coerceNumberProperty(value, fallbackValue) {\n if (fallbackValue === void 0) { fallbackValue = 0; }\n // parseFloat(value) handles most of the cases we're interested in (it treats null, empty string,\n // and other non-number values as NaN, where Number just uses 0) but it considers the string\n // '123hello' to be a valid number. Therefore we also check if Number(value) is NaN.\n return isNaN(parseFloat(value)) || isNaN(Number(value)) ? fallbackValue : Number(value);\n}\n\nvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdCoreModule = (function () {\n function MdCoreModule() {\n }\n /** @deprecated */\n MdCoreModule.forRoot = function () {\n return {\n ngModule: MdCoreModule,\n providers: [],\n };\n };\n MdCoreModule = __decorate([\n _angular_core.NgModule({\n imports: [\n MdLineModule,\n RtlModule,\n MdRippleModule,\n ObserveContentModule,\n PortalModule,\n OverlayModule,\n A11yModule,\n MdOptionModule,\n MdSelectionModule,\n ],\n exports: [\n MdLineModule,\n RtlModule,\n MdRippleModule,\n ObserveContentModule,\n PortalModule,\n OverlayModule,\n A11yModule,\n MdOptionModule,\n MdSelectionModule,\n ],\n }), \n __metadata('design:paramtypes', [])\n ], MdCoreModule);\n return MdCoreModule;\n}());\n\nvar __decorate$31 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$31 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$4 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * Provider Expression that allows md-button-toggle-group to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n */\nvar MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdButtonToggleGroup; }),\n multi: true\n};\nvar _uniqueIdCounter$1 = 0;\n/** Change event object emitted by MdButtonToggle. */\nvar MdButtonToggleChange = (function () {\n function MdButtonToggleChange() {\n }\n return MdButtonToggleChange;\n}());\n/** Exclusive selection button toggle group that behaves like a radio-button group. */\nvar MdButtonToggleGroup = (function () {\n function MdButtonToggleGroup() {\n /** The value for the button toggle group. Should match currently selected button toggle. */\n this._value = null;\n /** The HTML name attribute applied to toggles in this group. */\n this._name = \"md-button-toggle-group-\" + _uniqueIdCounter$1++;\n /** Disables all toggles in the group. */\n this._disabled = null;\n /** Whether the button toggle group should be vertical. */\n this._vertical = false;\n /** The currently selected button toggle, should match the value. */\n this._selected = null;\n /** Whether the button toggle group is initialized or not. */\n this._isInitialized = false;\n /**\n * The method to be called in order to update ngModel.\n * Now `ngModel` binding is not supported in multiple selection mode.\n */\n this._controlValueAccessorChangeFn = function (value) { };\n /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n this.onTouched = function () { };\n /** Event emitted when the group's value changes. */\n this._change = new _angular_core.EventEmitter();\n /** Child button toggle buttons. */\n this._buttonToggles = null;\n }\n Object.defineProperty(MdButtonToggleGroup.prototype, \"change\", {\n get: function () {\n return this._change.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n MdButtonToggleGroup.prototype.ngAfterViewInit = function () {\n this._isInitialized = true;\n };\n Object.defineProperty(MdButtonToggleGroup.prototype, \"name\", {\n /** `name` attribute for the underlying `input` element. */\n get: function () {\n return this._name;\n },\n set: function (value) {\n this._name = value;\n this._updateButtonToggleNames();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggleGroup.prototype, \"disabled\", {\n /** Whether the toggle group is disabled. */\n get: function () {\n return this._disabled;\n },\n set: function (value) {\n this._disabled = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggleGroup.prototype, \"vertical\", {\n /** Whether the toggle group is vertical. */\n get: function () {\n return this._vertical;\n },\n set: function (value) {\n this._vertical = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggleGroup.prototype, \"value\", {\n /** Value of the toggle group. */\n get: function () {\n return this._value;\n },\n set: function (newValue) {\n if (this._value != newValue) {\n this._value = newValue;\n this._updateSelectedButtonToggleFromValue();\n // Only emit a change event if the view is completely initialized.\n // We don't want to emit a change event for the initial values.\n if (this._isInitialized) {\n this._emitChangeEvent();\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggleGroup.prototype, \"selected\", {\n /** Whether the toggle group is selected. */\n get: function () {\n return this._selected;\n },\n set: function (selected) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n if (selected && !selected.checked) {\n selected.checked = true;\n }\n },\n enumerable: true,\n configurable: true\n });\n MdButtonToggleGroup.prototype._updateButtonToggleNames = function () {\n var _this = this;\n if (this._buttonToggles) {\n this._buttonToggles.forEach(function (toggle) {\n toggle.name = _this._name;\n });\n }\n };\n // TODO: Refactor into shared code with radio.\n MdButtonToggleGroup.prototype._updateSelectedButtonToggleFromValue = function () {\n var _this = this;\n var isAlreadySelected = this._selected != null && this._selected.value == this._value;\n if (this._buttonToggles != null && !isAlreadySelected) {\n var matchingButtonToggle = this._buttonToggles.filter(function (buttonToggle) { return buttonToggle.value == _this._value; })[0];\n if (matchingButtonToggle) {\n this.selected = matchingButtonToggle;\n }\n else if (this.value == null) {\n this.selected = null;\n this._buttonToggles.forEach(function (buttonToggle) {\n buttonToggle.checked = false;\n });\n }\n }\n };\n /** Dispatch change event with current selection and group value. */\n MdButtonToggleGroup.prototype._emitChangeEvent = function () {\n var event = new MdButtonToggleChange();\n event.source = this._selected;\n event.value = this._value;\n this._controlValueAccessorChangeFn(event.value);\n this._change.emit(event);\n };\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value Value to be set to the model.\n */\n MdButtonToggleGroup.prototype.writeValue = function (value) {\n this.value = value;\n };\n /**\n * Registers a callback that will be triggered when the value has changed.\n * Implemented as part of ControlValueAccessor.\n * @param fn On change callback function.\n */\n MdButtonToggleGroup.prototype.registerOnChange = function (fn) {\n this._controlValueAccessorChangeFn = fn;\n };\n /**\n * Registers a callback that will be triggered when the control has been touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn On touch callback function.\n */\n MdButtonToggleGroup.prototype.registerOnTouched = function (fn) {\n this.onTouched = fn;\n };\n /**\n * Toggles the disabled state of the component. Implemented as part of ControlValueAccessor.\n * @param isDisabled Whether the component should be disabled.\n */\n MdButtonToggleGroup.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n __decorate$31([\n _angular_core.Output(), \n __metadata$31('design:type', rxjs_Observable.Observable)\n ], MdButtonToggleGroup.prototype, \"change\", null);\n __decorate$31([\n _angular_core.ContentChildren(_angular_core.forwardRef(function () { return MdButtonToggle; })), \n __metadata$31('design:type', _angular_core.QueryList)\n ], MdButtonToggleGroup.prototype, \"_buttonToggles\", void 0);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', String)\n ], MdButtonToggleGroup.prototype, \"name\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggleGroup.prototype, \"disabled\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggleGroup.prototype, \"vertical\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Object)\n ], MdButtonToggleGroup.prototype, \"value\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Object)\n ], MdButtonToggleGroup.prototype, \"selected\", null);\n MdButtonToggleGroup = __decorate$31([\n _angular_core.Directive({\n selector: 'md-button-toggle-group:not([multiple]), mat-button-toggle-group:not([multiple])',\n providers: [MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR],\n host: {\n '[class.mat-button-toggle-group]': 'true',\n 'role': 'radiogroup',\n '[class.mat-button-toggle-vertical]': 'vertical'\n },\n exportAs: 'mdButtonToggleGroup',\n }), \n __metadata$31('design:paramtypes', [])\n ], MdButtonToggleGroup);\n return MdButtonToggleGroup;\n}());\n/** Multiple selection button-toggle group. `ngModel` is not supported in this mode. */\nvar MdButtonToggleGroupMultiple = (function () {\n function MdButtonToggleGroupMultiple() {\n /** Disables all toggles in the group. */\n this._disabled = null;\n /** Whether the button toggle group should be vertical. */\n this._vertical = false;\n }\n Object.defineProperty(MdButtonToggleGroupMultiple.prototype, \"disabled\", {\n /** Whether the toggle group is disabled. */\n get: function () {\n return this._disabled;\n },\n set: function (value) {\n this._disabled = (value != null && value !== false) ? true : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggleGroupMultiple.prototype, \"vertical\", {\n /** Whether the toggle group is vertical. */\n get: function () {\n return this._vertical;\n },\n set: function (value) {\n this._vertical = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggleGroupMultiple.prototype, \"disabled\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggleGroupMultiple.prototype, \"vertical\", null);\n MdButtonToggleGroupMultiple = __decorate$31([\n _angular_core.Directive({\n selector: 'md-button-toggle-group[multiple], mat-button-toggle-group[multiple]',\n exportAs: 'mdButtonToggleGroup',\n host: {\n '[class.mat-button-toggle-group]': 'true',\n '[class.mat-button-toggle-vertical]': 'vertical'\n }\n }), \n __metadata$31('design:paramtypes', [])\n ], MdButtonToggleGroupMultiple);\n return MdButtonToggleGroupMultiple;\n}());\n/** Single button inside of a toggle group. */\nvar MdButtonToggle = (function () {\n function MdButtonToggle(toggleGroup, toggleGroupMultiple, buttonToggleDispatcher, _renderer) {\n var _this = this;\n this.buttonToggleDispatcher = buttonToggleDispatcher;\n this._renderer = _renderer;\n /** Whether or not this button toggle is checked. */\n this._checked = false;\n /** Whether or not this button toggle is disabled. */\n this._disabled = null;\n /** Value assigned to this button toggle. */\n this._value = null;\n /** Whether or not the button toggle is a single selection. */\n this._isSingleSelector = null;\n /** Event emitted when the group value changes. */\n this._change = new _angular_core.EventEmitter();\n this.buttonToggleGroup = toggleGroup;\n this.buttonToggleGroupMultiple = toggleGroupMultiple;\n if (this.buttonToggleGroup) {\n buttonToggleDispatcher.listen(function (id, name) {\n if (id != _this.id && name == _this.name) {\n _this.checked = false;\n }\n });\n this._type = 'radio';\n this.name = this.buttonToggleGroup.name;\n this._isSingleSelector = true;\n }\n else {\n // Even if there is no group at all, treat the button toggle as a checkbox so it can be\n // toggled on or off.\n this._type = 'checkbox';\n this._isSingleSelector = false;\n }\n }\n Object.defineProperty(MdButtonToggle.prototype, \"change\", {\n get: function () {\n return this._change.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n MdButtonToggle.prototype.ngOnInit = function () {\n if (this.id == null) {\n this.id = \"md-button-toggle-\" + _uniqueIdCounter$1++;\n }\n if (this.buttonToggleGroup && this._value == this.buttonToggleGroup.value) {\n this._checked = true;\n }\n };\n Object.defineProperty(MdButtonToggle.prototype, \"inputId\", {\n /** Unique ID for the underlying `input` element. */\n get: function () {\n return this.id + \"-input\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggle.prototype, \"checked\", {\n /** Whether the button is checked. */\n get: function () {\n return this._checked;\n },\n set: function (newCheckedState) {\n if (this._isSingleSelector) {\n if (newCheckedState) {\n // Notify all button toggles with the same name (in the same group) to un-check.\n this.buttonToggleDispatcher.notify(this.id, this.name);\n }\n }\n this._checked = newCheckedState;\n if (newCheckedState && this._isSingleSelector && this.buttonToggleGroup.value != this.value) {\n this.buttonToggleGroup.selected = this;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButtonToggle.prototype, \"value\", {\n /** MdButtonToggleGroup reads this to assign its own value. */\n get: function () {\n return this._value;\n },\n set: function (value) {\n if (this._value != value) {\n if (this.buttonToggleGroup != null && this.checked) {\n this.buttonToggleGroup.value = value;\n }\n this._value = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n /** Dispatch change event with current value. */\n MdButtonToggle.prototype._emitChangeEvent = function () {\n var event = new MdButtonToggleChange();\n event.source = this;\n event.value = this._value;\n this._change.emit(event);\n };\n Object.defineProperty(MdButtonToggle.prototype, \"disabled\", {\n /** Whether the button is disabled. */\n get: function () {\n return this._disabled || (this.buttonToggleGroup != null && this.buttonToggleGroup.disabled) ||\n (this.buttonToggleGroupMultiple != null && this.buttonToggleGroupMultiple.disabled);\n },\n set: function (value) {\n this._disabled = (value != null && value !== false) ? true : null;\n },\n enumerable: true,\n configurable: true\n });\n /** Toggle the state of the current button toggle. */\n MdButtonToggle.prototype._toggle = function () {\n this.checked = !this.checked;\n };\n /** Checks the button toggle due to an interaction with the underlying native input. */\n MdButtonToggle.prototype._onInputChange = function (event) {\n event.stopPropagation();\n if (this._isSingleSelector) {\n // Propagate the change one-way via the group, which will in turn mark this\n // button toggle as checked.\n this.checked = true;\n this.buttonToggleGroup.selected = this;\n this.buttonToggleGroup.onTouched();\n }\n else {\n this._toggle();\n }\n // Emit a change event when the native input does.\n this._emitChangeEvent();\n };\n MdButtonToggle.prototype._onInputClick = function (event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `slide-toggle` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n };\n /** Focuses the button. */\n MdButtonToggle.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n };\n __decorate$31([\n _angular_core.HostBinding(),\n _angular_core.Input(), \n __metadata$31('design:type', String)\n ], MdButtonToggle.prototype, \"id\", void 0);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', String)\n ], MdButtonToggle.prototype, \"name\", void 0);\n __decorate$31([\n _angular_core.Output(), \n __metadata$31('design:type', rxjs_Observable.Observable)\n ], MdButtonToggle.prototype, \"change\", null);\n __decorate$31([\n _angular_core.ViewChild('input'), \n __metadata$31('design:type', _angular_core.ElementRef)\n ], MdButtonToggle.prototype, \"_inputElement\", void 0);\n __decorate$31([\n _angular_core.HostBinding('class.mat-button-toggle-checked'),\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggle.prototype, \"checked\", null);\n __decorate$31([\n _angular_core.Input(), \n __metadata$31('design:type', Object)\n ], MdButtonToggle.prototype, \"value\", null);\n __decorate$31([\n _angular_core.HostBinding('class.mat-button-toggle-disabled'),\n _angular_core.Input(), \n __metadata$31('design:type', Boolean)\n ], MdButtonToggle.prototype, \"disabled\", null);\n MdButtonToggle = __decorate$31([\n _angular_core.Component({selector: 'md-button-toggle, mat-button-toggle',\n template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-button-toggle-label\\\"><input #input class=\\\"mat-button-toggle-input cdk-visually-hidden\\\" [type]=\\\"_type\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" (change)=\\\"_onInputChange($event)\\\" (click)=\\\"_onInputClick($event)\\\"><div class=\\\"mat-button-toggle-label-content\\\"><ng-content></ng-content></div></label>\",\n styles: [\".mat-button-toggle-group{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);position:relative;display:inline-flex;flex-direction:row;border-radius:2px;cursor:pointer;white-space:nowrap}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle-disabled .mat-button-toggle-label-content{cursor:default}.mat-button-toggle{white-space:nowrap;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-button-toggle-label-content{display:inline-block;line-height:36px;padding:0 16px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mat-button-toggle-label-content>*{vertical-align:middle}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n host: {\n '[class.mat-button-toggle]': 'true'\n }\n }),\n __param$4(0, _angular_core.Optional()),\n __param$4(1, _angular_core.Optional()), \n __metadata$31('design:paramtypes', [MdButtonToggleGroup, MdButtonToggleGroupMultiple, UniqueSelectionDispatcher, _angular_core.Renderer])\n ], MdButtonToggle);\n return MdButtonToggle;\n}());\nvar MdButtonToggleModule = (function () {\n function MdButtonToggleModule() {\n }\n /** @deprecated */\n MdButtonToggleModule.forRoot = function () {\n return {\n ngModule: MdButtonToggleModule,\n providers: []\n };\n };\n MdButtonToggleModule = __decorate$31([\n _angular_core.NgModule({\n imports: [_angular_forms.FormsModule, CompatibilityModule],\n exports: [\n MdButtonToggleGroup,\n MdButtonToggleGroupMultiple,\n MdButtonToggle,\n CompatibilityModule,\n ],\n declarations: [MdButtonToggleGroup, MdButtonToggleGroupMultiple, MdButtonToggle],\n providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER]\n }), \n __metadata$31('design:paramtypes', [])\n ], MdButtonToggleModule);\n return MdButtonToggleModule;\n}());\n\nvar __extends$7 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$32 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$32 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// TODO(jelbourn): Make the `isMouseDown` stuff done with one global listener.\n// TODO(kara): Convert attribute selectors to classes when attr maps become available\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdButtonCssMatStyler = (function () {\n function MdButtonCssMatStyler() {\n }\n MdButtonCssMatStyler = __decorate$32([\n _angular_core.Directive({\n selector: 'button[md-button], button[mat-button], a[md-button], a[mat-button]',\n host: {\n '[class.mat-button]': 'true'\n }\n }), \n __metadata$32('design:paramtypes', [])\n ], MdButtonCssMatStyler);\n return MdButtonCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdRaisedButtonCssMatStyler = (function () {\n function MdRaisedButtonCssMatStyler() {\n }\n MdRaisedButtonCssMatStyler = __decorate$32([\n _angular_core.Directive({\n selector: 'button[md-raised-button], button[mat-raised-button], ' +\n 'a[md-raised-button], a[mat-raised-button]',\n host: {\n '[class.mat-raised-button]': 'true'\n }\n }), \n __metadata$32('design:paramtypes', [])\n ], MdRaisedButtonCssMatStyler);\n return MdRaisedButtonCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdIconButtonCssMatStyler = (function () {\n function MdIconButtonCssMatStyler() {\n }\n MdIconButtonCssMatStyler = __decorate$32([\n _angular_core.Directive({\n selector: 'button[md-icon-button], button[mat-icon-button], a[md-icon-button], a[mat-icon-button]',\n host: {\n '[class.mat-icon-button]': 'true',\n }\n }), \n __metadata$32('design:paramtypes', [])\n ], MdIconButtonCssMatStyler);\n return MdIconButtonCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdFabCssMatStyler = (function () {\n function MdFabCssMatStyler() {\n }\n MdFabCssMatStyler = __decorate$32([\n _angular_core.Directive({\n selector: 'button[md-fab], button[mat-fab], a[md-fab], a[mat-fab]',\n host: {\n '[class.mat-fab]': 'true'\n }\n }), \n __metadata$32('design:paramtypes', [])\n ], MdFabCssMatStyler);\n return MdFabCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdMiniFabCssMatStyler = (function () {\n function MdMiniFabCssMatStyler() {\n }\n MdMiniFabCssMatStyler = __decorate$32([\n _angular_core.Directive({\n selector: 'button[md-mini-fab], button[mat-mini-fab], a[md-mini-fab], a[mat-mini-fab]',\n host: {\n '[class.mat-mini-fab]': 'true'\n }\n }), \n __metadata$32('design:paramtypes', [])\n ], MdMiniFabCssMatStyler);\n return MdMiniFabCssMatStyler;\n}());\n/**\n * Material design button.\n */\nvar MdButton = (function () {\n function MdButton(_elementRef, _renderer) {\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n /** Whether the button has focus from the keyboard (not the mouse). Used for class binding. */\n this._isKeyboardFocused = false;\n /** Whether a mousedown has occurred on this element in the last 100ms. */\n this._isMouseDown = false;\n /** Whether the ripple effect on click should be disabled. */\n this._disableRipple = false;\n this._disabled = null;\n }\n Object.defineProperty(MdButton.prototype, \"disableRipple\", {\n /** Whether the ripple effect for this button is disabled. */\n get: function () { return this._disableRipple; },\n set: function (v) { this._disableRipple = coerceBooleanProperty(v); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButton.prototype, \"disabled\", {\n /** Whether the button is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value) ? true : null; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdButton.prototype, \"color\", {\n /** The color of the button. Can be `primary`, `accent`, or `warn`. */\n get: function () { return this._color; },\n set: function (value) { this._updateColor(value); },\n enumerable: true,\n configurable: true\n });\n MdButton.prototype._setMousedown = function () {\n var _this = this;\n // We only *show* the focus style when focus has come to the button via the keyboard.\n // The Material Design spec is silent on this topic, and without doing this, the\n // button continues to look :active after clicking.\n // @see http://marcysutton.com/button-focus-hell/\n this._isMouseDown = true;\n setTimeout(function () { _this._isMouseDown = false; }, 100);\n };\n MdButton.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n MdButton.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._getHostElement(), \"mat-\" + color, isAdd);\n }\n };\n MdButton.prototype._setKeyboardFocus = function () {\n this._isKeyboardFocused = !this._isMouseDown;\n };\n MdButton.prototype._removeKeyboardFocus = function () {\n this._isKeyboardFocused = false;\n };\n /** Focuses the button. */\n MdButton.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._getHostElement(), 'focus');\n };\n MdButton.prototype._getHostElement = function () {\n return this._elementRef.nativeElement;\n };\n MdButton.prototype._isRoundButton = function () {\n var el = this._getHostElement();\n return el.hasAttribute('md-icon-button') ||\n el.hasAttribute('md-fab') ||\n el.hasAttribute('md-mini-fab');\n };\n MdButton.prototype._isRippleDisabled = function () {\n return this.disableRipple || this.disabled;\n };\n __decorate$32([\n _angular_core.Input(), \n __metadata$32('design:type', Object)\n ], MdButton.prototype, \"disableRipple\", null);\n __decorate$32([\n _angular_core.Input(), \n __metadata$32('design:type', Object)\n ], MdButton.prototype, \"disabled\", null);\n __decorate$32([\n _angular_core.Input(), \n __metadata$32('design:type', String)\n ], MdButton.prototype, \"color\", null);\n MdButton = __decorate$32([\n _angular_core.Component({selector: 'button[md-button], button[md-raised-button], button[md-icon-button],' +\n 'button[md-fab], button[md-mini-fab],' +\n 'button[mat-button], button[mat-raised-button], button[mat-icon-button],' +\n 'button[mat-fab], button[mat-mini-fab]',\n host: {\n '[disabled]': 'disabled',\n '[class.mat-button-focus]': '_isKeyboardFocused',\n '(mousedown)': '_setMousedown()',\n '(focus)': '_setKeyboardFocus()',\n '(blur)': '_removeKeyboardFocus()',\n },\n template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"_isRoundButton()\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\" (touchstart)=\\\"$event.preventDefault()\\\"></div>\",\n styles: [\".mat-button-focus.mat-button .mat-button-focus-overlay,.mat-button-focus.mat-fab .mat-button-focus-overlay,.mat-button-focus.mat-icon-button .mat-button-focus-overlay,.mat-button-focus.mat-mini-fab .mat-button-focus-overlay,.mat-button-focus.mat-raised-button .mat-button-focus-overlay,.mat-button:hover .mat-button-focus-overlay,.mat-icon-button:hover .mat-button-focus-overlay{opacity:1}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button[disabled]:hover .mat-button-focus-overlay,.mat-button[disabled]:hover.mat-accent,.mat-button[disabled]:hover.mat-primary,.mat-button[disabled]:hover.mat-warn,.mat-icon-button[disabled]:hover .mat-button-focus-overlay,.mat-icon-button[disabled]:hover.mat-accent,.mat-icon-button[disabled]:hover.mat-primary,.mat-icon-button[disabled]:hover.mat-warn{background-color:transparent}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-icon-button,.mat-mini-fab{min-width:0;width:40px;height:40px;border-radius:50%}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-icon,.mat-fab i{padding:16px 0;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-icon,.mat-mini-fab i{padding:8px 0;line-height:24px}.mat-icon-button{padding:0;flex-shrink:0;line-height:40px}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{position:absolute;top:0;left:0;bottom:0;right:0}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;pointer-events:none;opacity:0}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n }), \n __metadata$32('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdButton);\n return MdButton;\n}());\n/**\n * Raised Material design button.\n */\nvar MdAnchor = (function (_super) {\n __extends$7(MdAnchor, _super);\n function MdAnchor(elementRef, renderer) {\n _super.call(this, elementRef, renderer);\n }\n Object.defineProperty(MdAnchor.prototype, \"tabIndex\", {\n /** @docs-private */\n get: function () {\n return this.disabled ? -1 : 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdAnchor.prototype, \"_isAriaDisabled\", {\n get: function () {\n return this.disabled ? 'true' : 'false';\n },\n enumerable: true,\n configurable: true\n });\n MdAnchor.prototype._haltDisabledEvents = function (event) {\n // A disabled button shouldn't apply any actions\n if (this.disabled) {\n event.preventDefault();\n event.stopImmediatePropagation();\n }\n };\n __decorate$32([\n _angular_core.HostBinding('tabIndex'), \n __metadata$32('design:type', Number)\n ], MdAnchor.prototype, \"tabIndex\", null);\n MdAnchor = __decorate$32([\n _angular_core.Component({selector: \"a[md-button], a[md-raised-button], a[md-icon-button], a[md-fab], a[md-mini-fab],\\n a[mat-button], a[mat-raised-button], a[mat-icon-button], a[mat-fab], a[mat-mini-fab]\",\n host: {\n '[attr.disabled]': 'disabled',\n '[attr.aria-disabled]': '_isAriaDisabled',\n '[class.mat-button-focus]': '_isKeyboardFocused',\n '(mousedown)': '_setMousedown()',\n '(focus)': '_setKeyboardFocus()',\n '(blur)': '_removeKeyboardFocus()',\n '(click)': '_haltDisabledEvents($event)',\n },\n template: \"<span class=\\\"mat-button-wrapper\\\"><ng-content></ng-content></span><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-button-ripple\\\" [class.mat-button-ripple-round]=\\\"_isRoundButton()\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\"></div><div class=\\\"mat-button-focus-overlay\\\" (touchstart)=\\\"$event.preventDefault()\\\"></div>\",\n styles: [\".mat-button-focus.mat-button .mat-button-focus-overlay,.mat-button-focus.mat-fab .mat-button-focus-overlay,.mat-button-focus.mat-icon-button .mat-button-focus-overlay,.mat-button-focus.mat-mini-fab .mat-button-focus-overlay,.mat-button-focus.mat-raised-button .mat-button-focus-overlay,.mat-button:hover .mat-button-focus-overlay,.mat-icon-button:hover .mat-button-focus-overlay{opacity:1}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{box-sizing:border-box;position:relative;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;display:inline-block;white-space:nowrap;text-decoration:none;vertical-align:baseline;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;text-align:center;margin:0;min-width:88px;line-height:36px;padding:0 16px;border-radius:2px}[disabled].mat-button,[disabled].mat-fab,[disabled].mat-icon-button,[disabled].mat-mini-fab,[disabled].mat-raised-button{cursor:default}.mat-fab,.mat-mini-fab,.mat-raised-button{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transform:translate3d(0,0,0);transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-fab:not([disabled]):active,.mat-mini-fab:not([disabled]):active,.mat-raised-button:not([disabled]):active{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[disabled].mat-fab,[disabled].mat-mini-fab,[disabled].mat-raised-button{box-shadow:none}.mat-button[disabled]:hover .mat-button-focus-overlay,.mat-button[disabled]:hover.mat-accent,.mat-button[disabled]:hover.mat-primary,.mat-button[disabled]:hover.mat-warn,.mat-icon-button[disabled]:hover .mat-button-focus-overlay,.mat-icon-button[disabled]:hover.mat-accent,.mat-icon-button[disabled]:hover.mat-primary,.mat-icon-button[disabled]:hover.mat-warn{background-color:transparent}.mat-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);min-width:0;border-radius:50%;width:56px;height:56px;padding:0;flex-shrink:0}.mat-icon-button,.mat-mini-fab{min-width:0;width:40px;height:40px;border-radius:50%}.mat-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-fab .mat-icon,.mat-fab i{padding:16px 0;line-height:24px}.mat-mini-fab{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);padding:0;flex-shrink:0}.mat-mini-fab:not([disabled]):active{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.mat-mini-fab .mat-icon,.mat-mini-fab i{padding:8px 0;line-height:24px}.mat-icon-button{padding:0;flex-shrink:0;line-height:40px}.mat-icon-button .mat-icon,.mat-icon-button i{line-height:24px}.mat-button,.mat-icon-button,.mat-raised-button{color:currentColor}.mat-button .mat-button-wrapper>*,.mat-icon-button .mat-button-wrapper>*,.mat-raised-button .mat-button-wrapper>*{vertical-align:middle}.mat-button-focus-overlay,.mat-button-ripple{position:absolute;top:0;left:0;bottom:0;right:0}.mat-button-focus-overlay{background-color:rgba(0,0,0,.12);border-radius:inherit;pointer-events:none;opacity:0}.mat-button-ripple-round{border-radius:50%;z-index:1}@media screen and (-ms-high-contrast:active){.mat-button-focus-overlay{background-color:rgba(255,255,255,.5)}.mat-button,.mat-fab,.mat-icon-button,.mat-mini-fab,.mat-raised-button{outline:solid 1px}}\"],\n encapsulation: _angular_core.ViewEncapsulation.None\n }), \n __metadata$32('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdAnchor);\n return MdAnchor;\n}(MdButton));\nvar MdButtonModule = (function () {\n function MdButtonModule() {\n }\n /** @deprecated */\n MdButtonModule.forRoot = function () {\n return {\n ngModule: MdButtonModule,\n providers: []\n };\n };\n MdButtonModule = __decorate$32([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n exports: [\n MdButton, MdAnchor,\n CompatibilityModule,\n MdButtonCssMatStyler,\n MdRaisedButtonCssMatStyler,\n MdIconButtonCssMatStyler,\n MdFabCssMatStyler,\n MdMiniFabCssMatStyler\n ],\n declarations: [\n MdButton,\n MdAnchor,\n MdButtonCssMatStyler,\n MdRaisedButtonCssMatStyler,\n MdIconButtonCssMatStyler,\n MdFabCssMatStyler,\n MdMiniFabCssMatStyler\n ],\n }), \n __metadata$32('design:paramtypes', [])\n ], MdButtonModule);\n return MdButtonModule;\n}());\n\nvar __decorate$33 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$33 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Monotonically increasing integer used to auto-generate unique ids for checkbox components. */\nvar nextId = 0;\n/**\n * Provider Expression that allows md-checkbox to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)].\n * @docs-private\n */\nvar MD_CHECKBOX_CONTROL_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdCheckbox; }),\n multi: true\n};\n/**\n * Represents the different states that require custom transitions between them.\n * @docs-private\n */\n\n(function (TransitionCheckState) {\n /** The initial state of the component before any user interaction. */\n TransitionCheckState[TransitionCheckState[\"Init\"] = 0] = \"Init\";\n /** The state representing the component when it's becoming checked. */\n TransitionCheckState[TransitionCheckState[\"Checked\"] = 1] = \"Checked\";\n /** The state representing the component when it's becoming unchecked. */\n TransitionCheckState[TransitionCheckState[\"Unchecked\"] = 2] = \"Unchecked\";\n /** The state representing the component when it's becoming indeterminate. */\n TransitionCheckState[TransitionCheckState[\"Indeterminate\"] = 3] = \"Indeterminate\";\n})(exports.TransitionCheckState || (exports.TransitionCheckState = {}));\n/** Change event object emitted by MdCheckbox. */\nvar MdCheckboxChange = (function () {\n function MdCheckboxChange() {\n }\n return MdCheckboxChange;\n}());\n/**\n * A material design checkbox component. Supports all of the functionality of an HTML5 checkbox,\n * and exposes a similar API. A MdCheckbox can be either checked, unchecked, indeterminate, or\n * disabled. Note that all additional accessibility attributes are taken care of by the component,\n * so there is no need to provide them yourself. However, if you want to omit a label and still\n * have the checkbox be accessible, you may supply an [aria-label] input.\n * See: https://www.google.com/design/spec/components/selection-controls.html\n */\nvar MdCheckbox = (function () {\n function MdCheckbox(_renderer, _elementRef, _changeDetectorRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n /**\n * Attached to the aria-label attribute of the host element. In most cases, arial-labelledby will\n * take precedence so this may be omitted.\n */\n this.ariaLabel = '';\n /**\n * Users can specify the `aria-labelledby` attribute which will be forwarded to the input element\n */\n this.ariaLabelledby = null;\n /** A unique id for the checkbox. If one is not supplied, it is auto-generated. */\n this.id = \"md-checkbox-\" + ++nextId;\n /** Whether the label should appear after or before the checkbox. Defaults to 'after' */\n this.labelPosition = 'after';\n this._disabled = false;\n /** Tabindex value that is passed to the underlying input element. */\n this.tabIndex = 0;\n /** Name value will be applied to the input element if present */\n this.name = null;\n /** Event emitted when the checkbox's `checked` value changes. */\n this.change = new _angular_core.EventEmitter();\n /** Event emitted when the checkbox's `indeterminate` value changes. */\n this.indeterminateChange = new _angular_core.EventEmitter();\n /**\n * Called when the checkbox is blurred. Needed to properly implement ControlValueAccessor.\n * @docs-private\n */\n this.onTouched = function () { };\n this._currentAnimationClass = '';\n this._currentCheckState = exports.TransitionCheckState.Init;\n this._checked = false;\n this._indeterminate = false;\n this._controlValueAccessorChangeFn = function (value) { };\n this._hasFocus = false;\n this.color = 'accent';\n }\n Object.defineProperty(MdCheckbox.prototype, \"disableRipple\", {\n /** Whether the ripple effect for this checkbox is disabled. */\n get: function () { return this._disableRipple; },\n set: function (value) { this._disableRipple = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"inputId\", {\n /** ID of the native input element inside `<md-checkbox>` */\n get: function () {\n return \"input-\" + this.id;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"required\", {\n /** Whether the checkbox is required. */\n get: function () { return this._required; },\n set: function (value) { this._required = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"align\", {\n /**\n * Whether or not the checkbox should appear before or after the label.\n * @deprecated\n */\n get: function () {\n // align refers to the checkbox relative to the label, while labelPosition refers to the\n // label relative to the checkbox. As such, they are inverted.\n return this.labelPosition == 'after' ? 'start' : 'end';\n },\n set: function (v) {\n this.labelPosition = (v == 'start') ? 'after' : 'before';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"disabled\", {\n /** Whether the checkbox is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"checked\", {\n /**\n * Whether the checkbox is checked. Note that setting `checked` will immediately set\n * `indeterminate` to false.\n */\n get: function () {\n return this._checked;\n },\n set: function (checked) {\n if (checked != this.checked) {\n if (this._indeterminate) {\n this._indeterminate = false;\n this.indeterminateChange.emit(this._indeterminate);\n }\n this._checked = checked;\n this._transitionCheckState(this._checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);\n this._changeDetectorRef.markForCheck();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"indeterminate\", {\n /**\n * Whether the checkbox is indeterminate. This is also known as \"mixed\" mode and can be used to\n * represent a checkbox with three states, e.g. a checkbox that represents a nested list of\n * checkable items. Note that whenever `checked` is set, indeterminate is immediately set to\n * false. This differs from the web platform in that indeterminate state on native\n * checkboxes is only remove when the user manually checks the checkbox (rather than setting the\n * `checked` property programmatically). However, we feel that this behavior is more accommodating\n * to the way consumers would envision using this component.\n */\n get: function () {\n return this._indeterminate;\n },\n set: function (indeterminate) {\n var changed = indeterminate != this._indeterminate;\n this._indeterminate = indeterminate;\n if (this._indeterminate) {\n this._transitionCheckState(exports.TransitionCheckState.Indeterminate);\n }\n else {\n this._transitionCheckState(this.checked ? exports.TransitionCheckState.Checked : exports.TransitionCheckState.Unchecked);\n }\n if (changed) {\n this.indeterminateChange.emit(this._indeterminate);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdCheckbox.prototype, \"color\", {\n /** The color of the button. Can be `primary`, `accent`, or `warn`. */\n get: function () { return this._color; },\n set: function (value) { this._updateColor(value); },\n enumerable: true,\n configurable: true\n });\n MdCheckbox.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n MdCheckbox.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n MdCheckbox.prototype._isRippleDisabled = function () {\n return this.disableRipple || this.disabled;\n };\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value Value to be set to the model.\n */\n MdCheckbox.prototype.writeValue = function (value) {\n this.checked = !!value;\n };\n /**\n * Registers a callback to be triggered when the value has changed.\n * Implemented as part of ControlValueAccessor.\n * @param fn Function to be called on change.\n */\n MdCheckbox.prototype.registerOnChange = function (fn) {\n this._controlValueAccessorChangeFn = fn;\n };\n /**\n * Registers a callback to be triggered when the control has been touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be triggered when the checkbox is touched.\n */\n MdCheckbox.prototype.registerOnTouched = function (fn) {\n this.onTouched = fn;\n };\n /**\n * Sets the checkbox's disabled state. Implemented as a part of ControlValueAccessor.\n * @param isDisabled Whether the checkbox should be disabled.\n */\n MdCheckbox.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n MdCheckbox.prototype._transitionCheckState = function (newState) {\n var oldState = this._currentCheckState;\n var renderer = this._renderer;\n var elementRef = this._elementRef;\n if (oldState === newState) {\n return;\n }\n if (this._currentAnimationClass.length > 0) {\n renderer.setElementClass(elementRef.nativeElement, this._currentAnimationClass, false);\n }\n this._currentAnimationClass = this._getAnimationClassForCheckStateTransition(oldState, newState);\n this._currentCheckState = newState;\n if (this._currentAnimationClass.length > 0) {\n renderer.setElementClass(elementRef.nativeElement, this._currentAnimationClass, true);\n }\n };\n MdCheckbox.prototype._emitChangeEvent = function () {\n var event = new MdCheckboxChange();\n event.source = this;\n event.checked = this.checked;\n this._controlValueAccessorChangeFn(this.checked);\n this.change.emit(event);\n };\n /** Informs the component when the input has focus so that we can style accordingly */\n MdCheckbox.prototype._onInputFocus = function () {\n this._hasFocus = true;\n };\n /** Informs the component when we lose focus in order to style accordingly */\n MdCheckbox.prototype._onInputBlur = function () {\n this._hasFocus = false;\n this.onTouched();\n };\n /** Toggles the `checked` state of the checkbox. */\n MdCheckbox.prototype.toggle = function () {\n this.checked = !this.checked;\n };\n /**\n * Event handler for checkbox input element.\n * Toggles checked state if element is not disabled.\n * @param event\n */\n MdCheckbox.prototype._onInteractionEvent = function (event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n if (!this.disabled) {\n this.toggle();\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this._emitChangeEvent();\n }\n };\n /** Focuses the checkbox. */\n MdCheckbox.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n this._onInputFocus();\n };\n MdCheckbox.prototype._onInputClick = function (event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `checkbox` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n };\n MdCheckbox.prototype._getAnimationClassForCheckStateTransition = function (oldState, newState) {\n var animSuffix;\n switch (oldState) {\n case exports.TransitionCheckState.Init:\n // Handle edge case where user interacts with checkbox that does not have [(ngModel)] or\n // [checked] bound to it.\n if (newState === exports.TransitionCheckState.Checked) {\n animSuffix = 'unchecked-checked';\n }\n else {\n return '';\n }\n break;\n case exports.TransitionCheckState.Unchecked:\n animSuffix = newState === exports.TransitionCheckState.Checked ?\n 'unchecked-checked' : 'unchecked-indeterminate';\n break;\n case exports.TransitionCheckState.Checked:\n animSuffix = newState === exports.TransitionCheckState.Unchecked ?\n 'checked-unchecked' : 'checked-indeterminate';\n break;\n case exports.TransitionCheckState.Indeterminate:\n animSuffix = newState === exports.TransitionCheckState.Checked ?\n 'indeterminate-checked' : 'indeterminate-unchecked';\n }\n return \"mat-checkbox-anim-\" + animSuffix;\n };\n MdCheckbox.prototype._getHostElement = function () {\n return this._elementRef.nativeElement;\n };\n __decorate$33([\n _angular_core.Input('aria-label'), \n __metadata$33('design:type', String)\n ], MdCheckbox.prototype, \"ariaLabel\", void 0);\n __decorate$33([\n _angular_core.Input('aria-labelledby'), \n __metadata$33('design:type', String)\n ], MdCheckbox.prototype, \"ariaLabelledby\", void 0);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', String)\n ], MdCheckbox.prototype, \"id\", void 0);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Boolean)\n ], MdCheckbox.prototype, \"disableRipple\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Boolean)\n ], MdCheckbox.prototype, \"required\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Object)\n ], MdCheckbox.prototype, \"align\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Object)\n ], MdCheckbox.prototype, \"labelPosition\", void 0);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Boolean)\n ], MdCheckbox.prototype, \"disabled\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Number)\n ], MdCheckbox.prototype, \"tabIndex\", void 0);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', String)\n ], MdCheckbox.prototype, \"name\", void 0);\n __decorate$33([\n _angular_core.Output(), \n __metadata$33('design:type', _angular_core.EventEmitter)\n ], MdCheckbox.prototype, \"change\", void 0);\n __decorate$33([\n _angular_core.Output(), \n __metadata$33('design:type', _angular_core.EventEmitter)\n ], MdCheckbox.prototype, \"indeterminateChange\", void 0);\n __decorate$33([\n _angular_core.ViewChild('input'), \n __metadata$33('design:type', _angular_core.ElementRef)\n ], MdCheckbox.prototype, \"_inputElement\", void 0);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Object)\n ], MdCheckbox.prototype, \"checked\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', Object)\n ], MdCheckbox.prototype, \"indeterminate\", null);\n __decorate$33([\n _angular_core.Input(), \n __metadata$33('design:type', String)\n ], MdCheckbox.prototype, \"color\", null);\n MdCheckbox = __decorate$33([\n _angular_core.Component({selector: 'md-checkbox, mat-checkbox',\n template: \"<label class=\\\"mat-checkbox-layout\\\"><div class=\\\"mat-checkbox-inner-container\\\"><input #input class=\\\"mat-checkbox-input cdk-visually-hidden\\\" type=\\\"checkbox\\\" [id]=\\\"inputId\\\" [required]=\\\"required\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" [tabIndex]=\\\"tabIndex\\\" [indeterminate]=\\\"indeterminate\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (focus)=\\\"_onInputFocus()\\\" (blur)=\\\"_onInputBlur()\\\" (change)=\\\"_onInteractionEvent($event)\\\" (click)=\\\"_onInputClick($event)\\\"><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-checkbox-ripple\\\" [mdRippleTrigger]=\\\"_getHostElement()\\\" [mdRippleCentered]=\\\"true\\\" [mdRippleSpeedFactor]=\\\"0.3\\\"></div><div class=\\\"mat-checkbox-frame\\\"></div><div class=\\\"mat-checkbox-background\\\"><svg version=\\\"1.1\\\" class=\\\"mat-checkbox-checkmark\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" viewBox=\\\"0 0 24 24\\\" xml:space=\\\"preserve\\\"><path class=\\\"mat-checkbox-checkmark-path\\\" fill=\\\"none\\\" stroke=\\\"white\\\" d=\\\"M4.1,12.7 9,17.6 20.3,6.3\\\"/></svg><div class=\\\"mat-checkbox-mixedmark\\\"></div></div></div><span class=\\\"mat-checkbox-label\\\"><ng-content></ng-content></span></label>\",\n styles: [\".mat-checkbox-frame,.mat-checkbox-unchecked .mat-checkbox-background{background-color:transparent}@keyframes mat-checkbox-fade-in-background{0%{opacity:0}50%{opacity:1}}@keyframes mat-checkbox-fade-out-background{0%,50%{opacity:1}100%{opacity:0}}@keyframes mat-checkbox-unchecked-checked-checkmark-path{0%,50%{stroke-dashoffset:22.91026}50%{animation-timing-function:cubic-bezier(0,0,.2,.1)}100%{stroke-dashoffset:0}}@keyframes mat-checkbox-unchecked-indeterminate-mixedmark{0%,68.2%{transform:scaleX(0)}68.2%{animation-timing-function:cubic-bezier(0,0,0,1)}100%{transform:scaleX(1)}}@keyframes mat-checkbox-checked-unchecked-checkmark-path{from{animation-timing-function:cubic-bezier(.4,0,1,1);stroke-dashoffset:0}to{stroke-dashoffset:-22.91026}}@keyframes mat-checkbox-checked-indeterminate-checkmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(45deg)}}@keyframes mat-checkbox-indeterminate-checked-checkmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:0;transform:rotate(45deg)}to{opacity:1;transform:rotate(360deg)}}@keyframes mat-checkbox-checked-indeterminate-mixedmark{from{animation-timing-function:cubic-bezier(0,0,.2,.1);opacity:0;transform:rotate(-45deg)}to{opacity:1;transform:rotate(0)}}@keyframes mat-checkbox-indeterminate-checked-mixedmark{from{animation-timing-function:cubic-bezier(.14,0,0,1);opacity:1;transform:rotate(0)}to{opacity:0;transform:rotate(315deg)}}@keyframes mat-checkbox-indeterminate-unchecked-mixedmark{0%{animation-timing-function:linear;opacity:1;transform:scaleX(1)}100%,32.8%{opacity:0;transform:scaleX(0)}}.mat-checkbox-background,.mat-checkbox-checkmark,.mat-checkbox-frame{bottom:0;left:0;position:absolute;right:0;top:0}.mat-checkbox-checkmark,.mat-checkbox-mixedmark{width:calc(100% - 4px)}.mat-checkbox-background,.mat-checkbox-frame{border-radius:2px;box-sizing:border-box;pointer-events:none}.mat-checkbox{cursor:pointer;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;transition:background .4s cubic-bezier(.25,.8,.25,1),box-shadow 280ms cubic-bezier(.4,0,.2,1)}.mat-checkbox-layout{cursor:inherit;align-items:baseline;vertical-align:middle;display:inline-flex}.mat-checkbox-inner-container{display:inline-block;height:20px;line-height:0;margin:auto 8px auto auto;order:0;position:relative;vertical-align:middle;white-space:nowrap;width:20px;flex-shrink:0}[dir=rtl] .mat-checkbox-inner-container{margin-left:8px;margin-right:auto}.mat-checkbox-layout .mat-checkbox-label{line-height:24px}.mat-checkbox-frame{transition:border-color 90ms cubic-bezier(0,0,.2,.1);border-width:2px;border-style:solid}.mat-checkbox-background{align-items:center;display:inline-flex;justify-content:center;transition:background-color 90ms cubic-bezier(0,0,.2,.1),opacity 90ms cubic-bezier(0,0,.2,.1)}.mat-checkbox-checkmark{width:100%}.mat-checkbox-checkmark-path{stroke-dashoffset:22.91026;stroke-dasharray:22.91026;stroke-width:2.67px}.mat-checkbox-checked .mat-checkbox-checkmark-path,.mat-checkbox-indeterminate .mat-checkbox-checkmark-path{stroke-dashoffset:0}.mat-checkbox-mixedmark{height:2px;opacity:0;transform:scaleX(0) rotate(0)}.mat-checkbox-label-before .mat-checkbox-inner-container{order:1;margin-left:8px;margin-right:auto}[dir=rtl] .mat-checkbox-label-before .mat-checkbox-inner-container{margin-left:auto;margin-right:8px}.mat-checkbox-checked .mat-checkbox-checkmark{opacity:1}.mat-checkbox-checked .mat-checkbox-mixedmark{transform:scaleX(1) rotate(-45deg)}.mat-checkbox-indeterminate .mat-checkbox-checkmark{opacity:0;transform:rotate(45deg)}.mat-checkbox-indeterminate .mat-checkbox-mixedmark{opacity:1;transform:scaleX(1) rotate(0)}.mat-checkbox-disabled{cursor:default}.mat-checkbox-anim-unchecked-checked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-checked .mat-checkbox-checkmark-path{animation:180ms linear 0s mat-checkbox-unchecked-checked-checkmark-path}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-in-background}.mat-checkbox-anim-unchecked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-unchecked-indeterminate-mixedmark}.mat-checkbox-anim-checked-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-checked-unchecked .mat-checkbox-checkmark-path{animation:90ms linear 0s mat-checkbox-checked-unchecked-checkmark-path}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-checkmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-checkmark}.mat-checkbox-anim-checked-indeterminate .mat-checkbox-mixedmark{animation:90ms linear 0s mat-checkbox-checked-indeterminate-mixedmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-checkmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-checkmark}.mat-checkbox-anim-indeterminate-checked .mat-checkbox-mixedmark{animation:.5s linear 0s mat-checkbox-indeterminate-checked-mixedmark}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-background{animation:180ms linear 0s mat-checkbox-fade-out-background}.mat-checkbox-anim-indeterminate-unchecked .mat-checkbox-mixedmark{animation:.3s linear 0s mat-checkbox-indeterminate-unchecked-mixedmark}.mat-checkbox-input{bottom:0;left:50%}.mat-checkbox-ripple{position:absolute;left:-15px;top:-15px;right:-15px;bottom:-15px;border-radius:50%;z-index:1;pointer-events:none}\"],\n host: {\n '[class.mat-checkbox]': 'true',\n '[class.mat-checkbox-indeterminate]': 'indeterminate',\n '[class.mat-checkbox-checked]': 'checked',\n '[class.mat-checkbox-disabled]': 'disabled',\n '[class.mat-checkbox-label-before]': 'labelPosition == \"before\"',\n '[class.mat-checkbox-focused]': '_hasFocus',\n },\n providers: [MD_CHECKBOX_CONTROL_VALUE_ACCESSOR],\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n }), \n __metadata$33('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef, _angular_core.ChangeDetectorRef])\n ], MdCheckbox);\n return MdCheckbox;\n}());\nvar MdCheckboxModule = (function () {\n function MdCheckboxModule() {\n }\n /** @deprecated */\n MdCheckboxModule.forRoot = function () {\n return {\n ngModule: MdCheckboxModule,\n providers: []\n };\n };\n MdCheckboxModule = __decorate$33([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n exports: [MdCheckbox, CompatibilityModule],\n declarations: [MdCheckbox],\n }), \n __metadata$33('design:paramtypes', [])\n ], MdCheckboxModule);\n return MdCheckboxModule;\n}());\n\nvar __decorate$34 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$34 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$5 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * Provider Expression that allows md-radio-group to register as a ControlValueAccessor. This\n * allows it to support [(ngModel)] and ngControl.\n * @docs-private\n */\nvar MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdRadioGroup; }),\n multi: true\n};\nvar _uniqueIdCounter$2 = 0;\n/** Change event object emitted by MdRadio and MdRadioGroup. */\nvar MdRadioChange = (function () {\n function MdRadioChange() {\n }\n return MdRadioChange;\n}());\n/**\n * A group of radio buttons. May contain one or more `<md-radio-button>` elements.\n */\nvar MdRadioGroup = (function () {\n function MdRadioGroup() {\n /**\n * Selected value for group. Should equal the value of the selected radio button if there *is*\n * a corresponding radio button with a matching value. If there is *not* such a corresponding\n * radio button, this value persists to be applied in case a new radio button is added with a\n * matching value.\n */\n this._value = null;\n /** The HTML name attribute applied to radio buttons in this group. */\n this._name = \"md-radio-group-\" + _uniqueIdCounter$2++;\n /** Disables all individual radio buttons assigned to this group. */\n this._disabled = false;\n /** The currently selected radio button. Should match value. */\n this._selected = null;\n /** Whether the `value` has been set to its initial value. */\n this._isInitialized = false;\n /** The method to be called in order to update ngModel */\n this._controlValueAccessorChangeFn = function (value) { };\n /**\n * onTouch function registered via registerOnTouch (ControlValueAccessor).\n * @docs-private\n */\n this.onTouched = function () { };\n /**\n * Event emitted when the group value changes.\n * Change events are only emitted when the value changes due to user interaction with\n * a radio button (the same behavior as `<input type-\"radio\">`).\n */\n this.change = new _angular_core.EventEmitter();\n /** Child radio buttons. */\n this._radios = null;\n /** Whether the labels should appear after or before the radio-buttons. Defaults to 'after' */\n this.labelPosition = 'after';\n }\n Object.defineProperty(MdRadioGroup.prototype, \"name\", {\n /** Name of the radio button group. All radio buttons inside this group will use this name. */\n get: function () { return this._name; },\n set: function (value) {\n this._name = value;\n this._updateRadioButtonNames();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioGroup.prototype, \"align\", {\n /**\n * Alignment of the radio-buttons relative to their labels. Can be 'before' or 'after'.\n * @deprecated\n */\n get: function () {\n // align refers to the checkbox relative to the label, while labelPosition refers to the\n // label relative to the checkbox. As such, they are inverted.\n return this.labelPosition == 'after' ? 'start' : 'end';\n },\n set: function (v) {\n this.labelPosition = (v == 'start') ? 'after' : 'before';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioGroup.prototype, \"disabled\", {\n /** Whether the radio button is disabled. */\n get: function () { return this._disabled; },\n set: function (value) {\n // The presence of *any* disabled value makes the component disabled, *except* for false.\n this._disabled = (value != null && value !== false) ? true : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioGroup.prototype, \"value\", {\n /** Value of the radio button. */\n get: function () { return this._value; },\n set: function (newValue) {\n if (this._value != newValue) {\n // Set this before proceeding to ensure no circular loop occurs with selection.\n this._value = newValue;\n this._updateSelectedRadioFromValue();\n this._checkSelectedRadioButton();\n }\n },\n enumerable: true,\n configurable: true\n });\n MdRadioGroup.prototype._checkSelectedRadioButton = function () {\n if (this.selected && !this._selected.checked) {\n this._selected.checked = true;\n }\n };\n Object.defineProperty(MdRadioGroup.prototype, \"selected\", {\n /** Whether the radio button is selected. */\n get: function () { return this._selected; },\n set: function (selected) {\n this._selected = selected;\n this.value = selected ? selected.value : null;\n this._checkSelectedRadioButton();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Initialize properties once content children are available.\n * This allows us to propagate relevant attributes to associated buttons.\n */\n MdRadioGroup.prototype.ngAfterContentInit = function () {\n // Mark this component as initialized in AfterContentInit because the initial value can\n // possibly be set by NgModel on MdRadioGroup, and it is possible that the OnInit of the\n // NgModel occurs *after* the OnInit of the MdRadioGroup.\n this._isInitialized = true;\n };\n /**\n * Mark this group as being \"touched\" (for ngModel). Meant to be called by the contained\n * radio buttons upon their blur.\n */\n MdRadioGroup.prototype._touch = function () {\n if (this.onTouched) {\n this.onTouched();\n }\n };\n MdRadioGroup.prototype._updateRadioButtonNames = function () {\n var _this = this;\n if (this._radios) {\n this._radios.forEach(function (radio) {\n radio.name = _this.name;\n });\n }\n };\n /** Updates the `selected` radio button from the internal _value state. */\n MdRadioGroup.prototype._updateSelectedRadioFromValue = function () {\n var _this = this;\n // If the value already matches the selected radio, do nothing.\n var isAlreadySelected = this._selected != null && this._selected.value == this._value;\n if (this._radios != null && !isAlreadySelected) {\n this._selected = null;\n this._radios.forEach(function (radio) {\n radio.checked = _this.value == radio.value;\n if (radio.checked) {\n _this._selected = radio;\n }\n });\n }\n };\n /** Dispatch change event with current selection and group value. */\n MdRadioGroup.prototype._emitChangeEvent = function () {\n if (this._isInitialized) {\n var event_1 = new MdRadioChange();\n event_1.source = this._selected;\n event_1.value = this._value;\n this.change.emit(event_1);\n }\n };\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value\n */\n MdRadioGroup.prototype.writeValue = function (value) {\n this.value = value;\n };\n /**\n * Registers a callback to be triggered when the model value changes.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n MdRadioGroup.prototype.registerOnChange = function (fn) {\n this._controlValueAccessorChangeFn = fn;\n };\n /**\n * Registers a callback to be triggered when the control is touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n MdRadioGroup.prototype.registerOnTouched = function (fn) {\n this.onTouched = fn;\n };\n /**\n * Sets the disabled state of the control. Implemented as a part of ControlValueAccessor.\n * @param isDisabled Whether the control should be disabled.\n */\n MdRadioGroup.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n __decorate$34([\n _angular_core.Output(), \n __metadata$34('design:type', _angular_core.EventEmitter)\n ], MdRadioGroup.prototype, \"change\", void 0);\n __decorate$34([\n _angular_core.ContentChildren(_angular_core.forwardRef(function () { return MdRadioButton; })), \n __metadata$34('design:type', _angular_core.QueryList)\n ], MdRadioGroup.prototype, \"_radios\", void 0);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', String)\n ], MdRadioGroup.prototype, \"name\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioGroup.prototype, \"align\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioGroup.prototype, \"labelPosition\", void 0);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Boolean)\n ], MdRadioGroup.prototype, \"disabled\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioGroup.prototype, \"value\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioGroup.prototype, \"selected\", null);\n MdRadioGroup = __decorate$34([\n _angular_core.Directive({\n selector: 'md-radio-group, mat-radio-group',\n providers: [MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR],\n host: {\n 'role': 'radiogroup',\n '[class.mat-radio-group]': 'true',\n },\n }), \n __metadata$34('design:paramtypes', [])\n ], MdRadioGroup);\n return MdRadioGroup;\n}());\n/**\n * A radio-button. May be inside of\n */\nvar MdRadioButton = (function () {\n function MdRadioButton(radioGroup, _elementRef, _renderer, radioDispatcher) {\n // Assertions. Ideally these should be stripped out by the compiler.\n // TODO(jelbourn): Assert that there's no name binding AND a parent radio group.\n var _this = this;\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n this.radioDispatcher = radioDispatcher;\n /** Whether this radio is checked. */\n this._checked = false;\n /** The unique ID for the radio button. */\n this.id = \"md-radio-\" + _uniqueIdCounter$2++;\n /** Value assigned to this radio.*/\n this._value = null;\n /**\n * Event emitted when the checked state of this radio button changes.\n * Change events are only emitted when the value changes due to user interaction with\n * the radio button (the same behavior as `<input type-\"radio\">`).\n */\n this.change = new _angular_core.EventEmitter();\n this.radioGroup = radioGroup;\n radioDispatcher.listen(function (id, name) {\n if (id != _this.id && name == _this.name) {\n _this.checked = false;\n }\n });\n }\n Object.defineProperty(MdRadioButton.prototype, \"disableRipple\", {\n /** Whether the ripple effect for this radio button is disabled. */\n get: function () { return this._disableRipple; },\n set: function (value) { this._disableRipple = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"inputId\", {\n /** ID of the native input element inside `<md-radio-button>` */\n get: function () {\n return this.id + \"-input\";\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"checked\", {\n /** Whether this radio button is checked. */\n get: function () {\n return this._checked;\n },\n set: function (newCheckedState) {\n if (this._checked != newCheckedState) {\n this._checked = newCheckedState;\n if (newCheckedState && this.radioGroup && this.radioGroup.value != this.value) {\n this.radioGroup.selected = this;\n }\n else if (!newCheckedState && this.radioGroup && this.radioGroup.value == this.value) {\n // When unchecking the selected radio button, update the selected radio\n // property on the group.\n this.radioGroup.selected = null;\n }\n if (newCheckedState) {\n // Notify all radio buttons with the same name to un-check.\n this.radioDispatcher.notify(this.id, this.name);\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"value\", {\n /** The value of this radio button. */\n get: function () {\n return this._value;\n },\n set: function (value) {\n if (this._value != value) {\n this._value = value;\n if (this.radioGroup != null) {\n if (!this.checked) {\n // Update checked when the value changed to match the radio group's value\n this.checked = this.radioGroup.value == value;\n }\n if (this.checked) {\n this.radioGroup.selected = this;\n }\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"align\", {\n /**\n * Whether or not the radio-button should appear before or after the label.\n * @deprecated\n */\n get: function () {\n // align refers to the checkbox relative to the label, while labelPosition refers to the\n // label relative to the checkbox. As such, they are inverted.\n return this.labelPosition == 'after' ? 'start' : 'end';\n },\n set: function (v) {\n this.labelPosition = (v == 'start') ? 'after' : 'before';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"labelPosition\", {\n /** Whether the label should appear after or before the radio button. Defaults to 'after' */\n get: function () {\n return this._labelPosition || (this.radioGroup && this.radioGroup.labelPosition) || 'after';\n },\n set: function (value) {\n this._labelPosition = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdRadioButton.prototype, \"disabled\", {\n /** Whether the radio button is disabled. */\n get: function () {\n return this._disabled || (this.radioGroup != null && this.radioGroup.disabled);\n },\n set: function (value) {\n // The presence of *any* disabled value makes the component disabled, *except* for false.\n this._disabled = (value != null && value !== false) ? true : null;\n },\n enumerable: true,\n configurable: true\n });\n MdRadioButton.prototype.ngOnInit = function () {\n if (this.radioGroup) {\n // If the radio is inside a radio group, determine if it should be checked\n this.checked = this.radioGroup.value === this._value;\n // Copy name from parent radio group\n this.name = this.radioGroup.name;\n }\n };\n /** Dispatch change event with current value. */\n MdRadioButton.prototype._emitChangeEvent = function () {\n var event = new MdRadioChange();\n event.source = this;\n event.value = this._value;\n this.change.emit(event);\n };\n MdRadioButton.prototype._isRippleDisabled = function () {\n return this.disableRipple || this.disabled;\n };\n /**\n * We use a hidden native input field to handle changes to focus state via keyboard navigation,\n * with visual rendering done separately. The native element is kept in sync with the overall\n * state of the component.\n */\n MdRadioButton.prototype._onInputFocus = function () {\n this._isFocused = true;\n };\n /** Focuses the radio button. */\n MdRadioButton.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n this._onInputFocus();\n };\n MdRadioButton.prototype._onInputBlur = function () {\n this._isFocused = false;\n if (this.radioGroup) {\n this.radioGroup._touch();\n }\n };\n MdRadioButton.prototype._onInputClick = function (event) {\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `radio-button` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n };\n /**\n * Triggered when the radio button received a click or the input recognized any change.\n * Clicking on a label element, will trigger a change event on the associated input.\n */\n MdRadioButton.prototype._onInputChange = function (event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the `change` output.\n event.stopPropagation();\n var groupValueChanged = this.radioGroup && this.value != this.radioGroup.value;\n this.checked = true;\n this._emitChangeEvent();\n if (this.radioGroup) {\n this.radioGroup._controlValueAccessorChangeFn(this.value);\n this.radioGroup._touch();\n if (groupValueChanged) {\n this.radioGroup._emitChangeEvent();\n }\n }\n };\n __decorate$34([\n _angular_core.HostBinding('class.mat-radio-focused'), \n __metadata$34('design:type', Boolean)\n ], MdRadioButton.prototype, \"_isFocused\", void 0);\n __decorate$34([\n _angular_core.HostBinding('id'),\n _angular_core.Input(), \n __metadata$34('design:type', String)\n ], MdRadioButton.prototype, \"id\", void 0);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', String)\n ], MdRadioButton.prototype, \"name\", void 0);\n __decorate$34([\n _angular_core.Input('aria-label'), \n __metadata$34('design:type', String)\n ], MdRadioButton.prototype, \"ariaLabel\", void 0);\n __decorate$34([\n _angular_core.Input('aria-labelledby'), \n __metadata$34('design:type', String)\n ], MdRadioButton.prototype, \"ariaLabelledby\", void 0);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Boolean)\n ], MdRadioButton.prototype, \"disableRipple\", null);\n __decorate$34([\n _angular_core.Output(), \n __metadata$34('design:type', _angular_core.EventEmitter)\n ], MdRadioButton.prototype, \"change\", void 0);\n __decorate$34([\n _angular_core.ViewChild('input'), \n __metadata$34('design:type', _angular_core.ElementRef)\n ], MdRadioButton.prototype, \"_inputElement\", void 0);\n __decorate$34([\n _angular_core.HostBinding('class.mat-radio-checked'),\n _angular_core.Input(), \n __metadata$34('design:type', Boolean)\n ], MdRadioButton.prototype, \"checked\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioButton.prototype, \"value\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioButton.prototype, \"align\", null);\n __decorate$34([\n _angular_core.Input(), \n __metadata$34('design:type', Object)\n ], MdRadioButton.prototype, \"labelPosition\", null);\n __decorate$34([\n _angular_core.HostBinding('class.mat-radio-disabled'),\n _angular_core.Input(), \n __metadata$34('design:type', Boolean)\n ], MdRadioButton.prototype, \"disabled\", null);\n MdRadioButton = __decorate$34([\n _angular_core.Component({selector: 'md-radio-button, mat-radio-button',\n template: \"<label [attr.for]=\\\"inputId\\\" class=\\\"mat-radio-label\\\" #label><div class=\\\"mat-radio-container\\\"><div class=\\\"mat-radio-outer-circle\\\"></div><div class=\\\"mat-radio-inner-circle\\\"></div><div md-ripple *ngIf=\\\"!_isRippleDisabled()\\\" class=\\\"mat-radio-ripple\\\" [mdRippleTrigger]=\\\"label\\\" [mdRippleCentered]=\\\"true\\\" [mdRippleSpeedFactor]=\\\"0.3\\\"></div></div><input #input class=\\\"mat-radio-input cdk-visually-hidden\\\" type=\\\"radio\\\" [id]=\\\"inputId\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [name]=\\\"name\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (change)=\\\"_onInputChange($event)\\\" (focus)=\\\"_onInputFocus()\\\" (blur)=\\\"_onInputBlur()\\\" (click)=\\\"_onInputClick($event)\\\"><div class=\\\"mat-radio-label-content\\\" [class.mat-radio-label-before]=\\\"labelPosition == 'before'\\\"><ng-content></ng-content></div></label>\",\n styles: [\".mat-radio-button{display:inline-block;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-radio-label{cursor:pointer;display:inline-flex;align-items:baseline;white-space:nowrap}.mat-radio-container{box-sizing:border-box;display:inline-block;height:20px;position:relative;width:20px;top:2px}.mat-radio-inner-circle,.mat-radio-outer-circle{box-sizing:border-box;height:20px;left:0;top:0;width:20px;position:absolute;border-radius:50%}.mat-radio-outer-circle{transition:border-color ease 280ms;border-width:2px;border-style:solid}.mat-radio-inner-circle{transition:transform ease 280ms,background-color ease 280ms;transform:scale(0)}.mat-radio-checked .mat-radio-inner-circle{transform:scale(.5)}.mat-radio-label-content{display:inline-block;order:0;line-height:inherit;padding-left:8px;padding-right:0}[dir=rtl] .mat-radio-label-content{padding-right:8px;padding-left:0}.mat-radio-label-content.mat-radio-label-before{order:-1;padding-left:0;padding-right:8px}[dir=rtl] .mat-radio-label-content.mat-radio-label-before{padding-right:0;padding-left:8px}.mat-radio-disabled,.mat-radio-disabled .mat-radio-label{cursor:default}.mat-radio-ripple{position:absolute;left:-15px;top:-15px;right:-15px;bottom:-15px;border-radius:50%;z-index:1;pointer-events:none}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n host: {\n '[class.mat-radio-button]': 'true',\n }\n }),\n __param$5(0, _angular_core.Optional()), \n __metadata$34('design:paramtypes', [MdRadioGroup, _angular_core.ElementRef, _angular_core.Renderer, UniqueSelectionDispatcher])\n ], MdRadioButton);\n return MdRadioButton;\n}());\nvar MdRadioModule = (function () {\n function MdRadioModule() {\n }\n /** @deprecated */\n MdRadioModule.forRoot = function () {\n return {\n ngModule: MdRadioModule,\n providers: [],\n };\n };\n MdRadioModule = __decorate$34([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n exports: [MdRadioGroup, MdRadioButton, CompatibilityModule],\n providers: [UNIQUE_SELECTION_DISPATCHER_PROVIDER, VIEWPORT_RULER_PROVIDER],\n declarations: [MdRadioGroup, MdRadioButton],\n }), \n __metadata$34('design:paramtypes', [])\n ], MdRadioModule);\n return MdRadioModule;\n}());\n\n/**\n * This class manages keyboard events for selectable lists. If you pass it a query list\n * of items, it will set the active item correctly when arrow events occur.\n */\nvar ListKeyManager = (function () {\n function ListKeyManager(_items) {\n this._items = _items;\n this._tabOut = new rxjs_Subject.Subject();\n this._wrap = false;\n }\n /**\n * Turns on wrapping mode, which ensures that the active item will wrap to\n * the other end of list when there are no more items in the given direction.\n *\n * @returns The ListKeyManager that the method was called on.\n */\n ListKeyManager.prototype.withWrap = function () {\n this._wrap = true;\n return this;\n };\n /**\n * Sets the active item to the item at the index specified.\n *\n * @param index The index of the item to be set as active.\n */\n ListKeyManager.prototype.setActiveItem = function (index) {\n this._activeItemIndex = index;\n this._activeItem = this._items.toArray()[index];\n };\n /**\n * Sets the active item depending on the key event passed in.\n * @param event Keyboard event to be used for determining which element should be active.\n */\n ListKeyManager.prototype.onKeydown = function (event) {\n switch (event.keyCode) {\n case DOWN_ARROW:\n this.setNextItemActive();\n break;\n case UP_ARROW:\n this.setPreviousItemActive();\n break;\n case HOME:\n this.setFirstItemActive();\n break;\n case END:\n this.setLastItemActive();\n break;\n case TAB:\n // Note that we shouldn't prevent the default action on tab.\n this._tabOut.next(null);\n return;\n default:\n return;\n }\n event.preventDefault();\n };\n Object.defineProperty(ListKeyManager.prototype, \"activeItemIndex\", {\n /** Returns the index of the currently active item. */\n get: function () {\n return this._activeItemIndex;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ListKeyManager.prototype, \"activeItem\", {\n /** Returns the currently active item. */\n get: function () {\n return this._activeItem;\n },\n enumerable: true,\n configurable: true\n });\n /** Sets the active item to the first enabled item in the list. */\n ListKeyManager.prototype.setFirstItemActive = function () {\n this._setActiveItemByIndex(0, 1);\n };\n /** Sets the active item to the last enabled item in the list. */\n ListKeyManager.prototype.setLastItemActive = function () {\n this._setActiveItemByIndex(this._items.length - 1, -1);\n };\n /** Sets the active item to the next enabled item in the list. */\n ListKeyManager.prototype.setNextItemActive = function () {\n this._activeItemIndex === null ? this.setFirstItemActive() : this._setActiveItemByDelta(1);\n };\n /** Sets the active item to a previous enabled item in the list. */\n ListKeyManager.prototype.setPreviousItemActive = function () {\n this._activeItemIndex === null && this._wrap ? this.setLastItemActive()\n : this._setActiveItemByDelta(-1);\n };\n /**\n * Allows setting of the activeItemIndex without any other effects.\n * @param index The new activeItemIndex.\n */\n ListKeyManager.prototype.updateActiveItemIndex = function (index) {\n this._activeItemIndex = index;\n };\n Object.defineProperty(ListKeyManager.prototype, \"tabOut\", {\n /**\n * Observable that emits any time the TAB key is pressed, so components can react\n * when focus is shifted off of the list.\n */\n get: function () {\n return this._tabOut.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * This method sets the active item, given a list of items and the delta between the\n * currently active item and the new active item. It will calculate differently\n * depending on whether wrap mode is turned on.\n */\n ListKeyManager.prototype._setActiveItemByDelta = function (delta, items) {\n if (items === void 0) { items = this._items.toArray(); }\n this._wrap ? this._setActiveInWrapMode(delta, items)\n : this._setActiveInDefaultMode(delta, items);\n };\n /**\n * Sets the active item properly given \"wrap\" mode. In other words, it will continue to move\n * down the list until it finds an item that is not disabled, and it will wrap if it\n * encounters either end of the list.\n */\n ListKeyManager.prototype._setActiveInWrapMode = function (delta, items) {\n // when active item would leave menu, wrap to beginning or end\n this._activeItemIndex =\n (this._activeItemIndex + delta + items.length) % items.length;\n // skip all disabled menu items recursively until an enabled one is reached\n if (items[this._activeItemIndex].disabled) {\n this._setActiveInWrapMode(delta, items);\n }\n else {\n this.setActiveItem(this._activeItemIndex);\n }\n };\n /**\n * Sets the active item properly given the default mode. In other words, it will\n * continue to move down the list until it finds an item that is not disabled. If\n * it encounters either end of the list, it will stop and not wrap.\n */\n ListKeyManager.prototype._setActiveInDefaultMode = function (delta, items) {\n this._setActiveItemByIndex(this._activeItemIndex + delta, delta, items);\n };\n /**\n * Sets the active item to the first enabled item starting at the index specified. If the\n * item is disabled, it will move in the fallbackDelta direction until it either\n * finds an enabled item or encounters the end of the list.\n */\n ListKeyManager.prototype._setActiveItemByIndex = function (index, fallbackDelta, items) {\n if (items === void 0) { items = this._items.toArray(); }\n if (!items[index]) {\n return;\n }\n while (items[index].disabled) {\n index += fallbackDelta;\n if (!items[index]) {\n return;\n }\n }\n this.setActiveItem(index);\n };\n return ListKeyManager;\n}());\n\nvar __extends$8 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar FocusKeyManager = (function (_super) {\n __extends$8(FocusKeyManager, _super);\n function FocusKeyManager(items) {\n _super.call(this, items);\n }\n /**\n * This method sets the active item to the item at the specified index.\n * It also adds focuses the newly active item.\n */\n FocusKeyManager.prototype.setActiveItem = function (index) {\n _super.prototype.setActiveItem.call(this, index);\n this.activeItem.focus();\n };\n return FocusKeyManager;\n}(ListKeyManager));\n\n/**\n * The following are all the animations for the md-select component, with each\n * const containing the metadata for one animation.\n *\n * The values below match the implementation of the AngularJS Material md-select animation.\n */\n/**\n * This animation shrinks the placeholder text to 75% of its normal size and translates\n * it to either the top left corner (ltr) or top right corner (rtl) of the trigger,\n * depending on the text direction of the application.\n */\nvar transformPlaceholder = _angular_core.trigger('transformPlaceholder', [\n _angular_core.state('floating-ltr', _angular_core.style({\n top: '-22px',\n left: '-2px',\n transform: \"scale(0.75)\"\n })),\n _angular_core.state('floating-rtl', _angular_core.style({\n top: '-22px',\n left: '2px',\n transform: \"scale(0.75)\"\n })),\n _angular_core.transition('* => *', _angular_core.animate(\"400ms cubic-bezier(0.25, 0.8, 0.25, 1)\"))\n]);\n/**\n * This animation transforms the select's overlay panel on and off the page.\n *\n * When the panel is attached to the DOM, it expands its width 32px, scales it up to\n * 100% on the Y axis, fades in its border, and translates slightly up and to the\n * side to ensure the option text correctly overlaps the trigger text.\n *\n * When the panel is removed from the DOM, it simply fades out linearly.\n */\nvar transformPanel = _angular_core.trigger('transformPanel', [\n _angular_core.state('showing', _angular_core.style({\n opacity: 1,\n minWidth: 'calc(100% + 32px)',\n transform: \"translate3d(0,0,0) scaleY(1)\"\n })),\n _angular_core.transition('void => *', [\n _angular_core.style({\n opacity: 0,\n minWidth: '100%',\n transform: \"translate3d(0, 0, 0) scaleY(0)\"\n }),\n _angular_core.animate(\"150ms cubic-bezier(0.25, 0.8, 0.25, 1)\")\n ]),\n _angular_core.transition('* => void', [\n _angular_core.animate('250ms 100ms linear', _angular_core.style({ opacity: 0 }))\n ])\n]);\n/**\n * This animation fades in the background color and text content of the\n * select's options. It is time delayed to occur 100ms after the overlay\n * panel has transformed in.\n */\nvar fadeInContent = _angular_core.trigger('fadeInContent', [\n _angular_core.state('showing', _angular_core.style({ opacity: 1 })),\n _angular_core.transition('void => showing', [\n _angular_core.style({ opacity: 0 }),\n _angular_core.animate(\"150ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")\n ])\n]);\n\nvar __decorate$36 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$36 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$6 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * The following style constants are necessary to save here in order\n * to properly calculate the alignment of the selected option over\n * the trigger element.\n */\n/** The fixed height of every option element. */\nvar SELECT_OPTION_HEIGHT = 48;\n/** The max height of the select's overlay panel */\nvar SELECT_PANEL_MAX_HEIGHT = 256;\n/** The max number of options visible at once in the select panel. */\nvar SELECT_MAX_OPTIONS_DISPLAYED = 5;\n/** The fixed height of the select's trigger element. */\nvar SELECT_TRIGGER_HEIGHT = 30;\n/**\n * Must adjust for the difference in height between the option and the trigger,\n * so the text will align on the y axis.\n * (SELECT_OPTION_HEIGHT (48) - SELECT_TRIGGER_HEIGHT (30)) / 2 = 9\n */\nvar SELECT_OPTION_HEIGHT_ADJUSTMENT = 9;\n/** The panel's padding on the x-axis */\nvar SELECT_PANEL_PADDING_X = 16;\n/**\n * The panel's padding on the y-axis. This padding indicates there are more\n * options available if you scroll.\n */\nvar SELECT_PANEL_PADDING_Y = 16;\n/**\n * The select panel will only \"fit\" inside the viewport if it is positioned at\n * this value or more away from the viewport boundary.\n */\nvar SELECT_PANEL_VIEWPORT_PADDING = 8;\n/** Change event object that is emitted when the select value has changed. */\nvar MdSelectChange = (function () {\n function MdSelectChange(source, value) {\n this.source = source;\n this.value = value;\n }\n return MdSelectChange;\n}());\nvar MdSelect = (function () {\n function MdSelect(_element, _renderer, _viewportRuler, _changeDetectorRef, _dir, _control) {\n this._element = _element;\n this._renderer = _renderer;\n this._viewportRuler = _viewportRuler;\n this._changeDetectorRef = _changeDetectorRef;\n this._dir = _dir;\n this._control = _control;\n /** Whether or not the overlay panel is open. */\n this._panelOpen = false;\n /** Subscriptions to option events. */\n this._subscriptions = [];\n /** Whether filling out the select is required in the form. */\n this._required = false;\n /** Whether the select is disabled. */\n this._disabled = false;\n /** The scroll position of the overlay panel, calculated to center the selected option. */\n this._scrollTop = 0;\n /** The animation state of the placeholder. */\n this._placeholderState = '';\n /** View -> model callback called when value changes */\n this._onChange = function (value) { };\n /** View -> model callback called when select has been touched */\n this._onTouched = function () { };\n /** The IDs of child options to be passed to the aria-owns attribute. */\n this._optionIds = '';\n /** The value of the select panel's transform-origin property. */\n this._transformOrigin = 'top';\n /** Whether the panel's animation is done. */\n this._panelDoneAnimating = false;\n /**\n * The x-offset of the overlay panel in relation to the trigger's top start corner.\n * This must be adjusted to align the selected option text over the trigger text when\n * the panel opens. Will change based on LTR or RTL text direction.\n */\n this._offsetX = 0;\n /**\n * The y-offset of the overlay panel in relation to the trigger's top start corner.\n * This must be adjusted to align the selected option text over the trigger text.\n * when the panel opens. Will change based on the y-position of the selected option.\n */\n this._offsetY = 0;\n /**\n * This position config ensures that the top \"start\" corner of the overlay\n * is aligned with with the top \"start\" of the origin by default (overlapping\n * the trigger completely). If the panel cannot fit below the trigger, it\n * will fall back to a position above the trigger.\n */\n this._positions = [\n {\n originX: 'start',\n originY: 'top',\n overlayX: 'start',\n overlayY: 'top',\n },\n {\n originX: 'start',\n originY: 'bottom',\n overlayX: 'start',\n overlayY: 'bottom',\n },\n ];\n /** Event emitted when the select has been opened. */\n this.onOpen = new _angular_core.EventEmitter();\n /** Event emitted when the select has been closed. */\n this.onClose = new _angular_core.EventEmitter();\n /** Event emitted when the selected value has been changed by the user. */\n this.change = new _angular_core.EventEmitter();\n if (this._control) {\n this._control.valueAccessor = this;\n }\n }\n Object.defineProperty(MdSelect.prototype, \"placeholder\", {\n /** Placeholder to be shown if no value has been selected. */\n get: function () { return this._placeholder; },\n set: function (value) {\n var _this = this;\n this._placeholder = value;\n // Must wait to record the trigger width to ensure placeholder width is included.\n Promise.resolve(null).then(function () { return _this._triggerWidth = _this._getWidth(); });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSelect.prototype, \"disabled\", {\n /** Whether the component is disabled. */\n get: function () { return this._disabled; },\n set: function (value) {\n this._disabled = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSelect.prototype, \"required\", {\n /** Whether the component is required. */\n get: function () { return this._required; },\n set: function (value) { this._required = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n MdSelect.prototype.ngAfterContentInit = function () {\n var _this = this;\n this._initKeyManager();\n this._changeSubscription = this.options.changes.startWith(null).subscribe(function () {\n _this._resetOptions();\n if (_this._control) {\n // Defer setting the value in order to avoid the \"Expression\n // has changed after it was checked\" errors from Angular.\n Promise.resolve(null).then(function () { return _this._setSelectionByValue(_this._control.value); });\n }\n });\n };\n MdSelect.prototype.ngOnDestroy = function () {\n this._dropSubscriptions();\n if (this._changeSubscription) {\n this._changeSubscription.unsubscribe();\n }\n if (this._tabSubscription) {\n this._tabSubscription.unsubscribe();\n }\n };\n /** Toggles the overlay panel open or closed. */\n MdSelect.prototype.toggle = function () {\n this.panelOpen ? this.close() : this.open();\n };\n /** Opens the overlay panel. */\n MdSelect.prototype.open = function () {\n if (this.disabled || !this.options.length) {\n return;\n }\n this._calculateOverlayPosition();\n this._placeholderState = this._isRtl() ? 'floating-rtl' : 'floating-ltr';\n this._panelOpen = true;\n };\n /** Closes the overlay panel and focuses the host element. */\n MdSelect.prototype.close = function () {\n this._panelOpen = false;\n if (!this._selected) {\n this._placeholderState = '';\n }\n this._focusHost();\n };\n /**\n * Sets the select's value. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param value New value to be written to the model.\n */\n MdSelect.prototype.writeValue = function (value) {\n if (this.options) {\n this._setSelectionByValue(value);\n this._changeDetectorRef.markForCheck();\n }\n };\n /**\n * Saves a callback function to be invoked when the select's value\n * changes from user input. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the value changes.\n */\n MdSelect.prototype.registerOnChange = function (fn) {\n this._onChange = fn;\n };\n /**\n * Saves a callback function to be invoked when the select is blurred\n * by the user. Part of the ControlValueAccessor interface required\n * to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the component has been touched.\n */\n MdSelect.prototype.registerOnTouched = function (fn) {\n this._onTouched = fn;\n };\n /**\n * Disables the select. Part of the ControlValueAccessor interface required\n * to integrate with Angular's core forms API.\n *\n * @param isDisabled Sets whether the component is disabled.\n */\n MdSelect.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n Object.defineProperty(MdSelect.prototype, \"panelOpen\", {\n /** Whether or not the overlay panel is open. */\n get: function () {\n return this._panelOpen;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSelect.prototype, \"selected\", {\n /** The currently selected option. */\n get: function () {\n return this._selected;\n },\n enumerable: true,\n configurable: true\n });\n MdSelect.prototype._isRtl = function () {\n return this._dir ? this._dir.value === 'rtl' : false;\n };\n /** The width of the trigger element. This is necessary to match\n * the overlay width to the trigger width.\n */\n MdSelect.prototype._getWidth = function () {\n return this._getTriggerRect().width;\n };\n /** Ensures the panel opens if activated by the keyboard. */\n MdSelect.prototype._handleKeydown = function (event) {\n if (event.keyCode === ENTER || event.keyCode === SPACE) {\n this.open();\n }\n };\n /**\n * When the panel element is finished transforming in (though not fading in), it\n * emits an event and focuses an option if the panel is open.\n */\n MdSelect.prototype._onPanelDone = function () {\n if (this.panelOpen) {\n this._focusCorrectOption();\n this.onOpen.emit();\n }\n else {\n this.onClose.emit();\n }\n };\n /**\n * When the panel content is done fading in, the _panelDoneAnimating property is\n * set so the proper class can be added to the panel.\n */\n MdSelect.prototype._onFadeInDone = function () {\n this._panelDoneAnimating = this.panelOpen;\n };\n /**\n * Calls the touched callback only if the panel is closed. Otherwise, the trigger will\n * \"blur\" to the panel when it opens, causing a false positive.\n */\n MdSelect.prototype._onBlur = function () {\n if (!this.panelOpen) {\n this._onTouched();\n }\n };\n /** Returns the correct tabindex for the select depending on disabled state. */\n MdSelect.prototype._getTabIndex = function () {\n return this.disabled ? '-1' : '0';\n };\n /**\n * Sets the scroll position of the scroll container. This must be called after\n * the overlay pane is attached or the scroll container element will not yet be\n * present in the DOM.\n */\n MdSelect.prototype._setScrollTop = function () {\n var scrollContainer = this.overlayDir.overlayRef.overlayElement.querySelector('.mat-select-panel');\n scrollContainer.scrollTop = this._scrollTop;\n };\n /**\n * Sets the selected option based on a value. If no option can be\n * found with the designated value, the select trigger is cleared.\n */\n MdSelect.prototype._setSelectionByValue = function (value) {\n var options = this.options.toArray();\n for (var i = 0; i < this.options.length; i++) {\n if (options[i].value === value) {\n options[i].select();\n return;\n }\n }\n // Clear selection if no item was selected.\n this._clearSelection();\n };\n /** Clears the select trigger and deselects every option in the list. */\n MdSelect.prototype._clearSelection = function () {\n this._selected = null;\n this._updateOptions();\n };\n MdSelect.prototype._getTriggerRect = function () {\n return this.trigger.nativeElement.getBoundingClientRect();\n };\n /** Sets up a key manager to listen to keyboard events on the overlay panel. */\n MdSelect.prototype._initKeyManager = function () {\n var _this = this;\n this._keyManager = new FocusKeyManager(this.options);\n this._tabSubscription = this._keyManager.tabOut.subscribe(function () {\n _this.close();\n });\n };\n /** Drops current option subscriptions and IDs and resets from scratch. */\n MdSelect.prototype._resetOptions = function () {\n this._dropSubscriptions();\n this._listenToOptions();\n this._setOptionIds();\n };\n /** Listens to selection events on each option. */\n MdSelect.prototype._listenToOptions = function () {\n var _this = this;\n this.options.forEach(function (option) {\n var sub = option.onSelect.subscribe(function (event) {\n if (event.isUserInput && _this._selected !== option) {\n _this._emitChangeEvent(option);\n }\n _this._onSelect(option);\n });\n _this._subscriptions.push(sub);\n });\n };\n /** Unsubscribes from all option subscriptions. */\n MdSelect.prototype._dropSubscriptions = function () {\n this._subscriptions.forEach(function (sub) { return sub.unsubscribe(); });\n this._subscriptions = [];\n };\n /** Emits an event when the user selects an option. */\n MdSelect.prototype._emitChangeEvent = function (option) {\n this._onChange(option.value);\n this.change.emit(new MdSelectChange(this, option.value));\n };\n /** Records option IDs to pass to the aria-owns property. */\n MdSelect.prototype._setOptionIds = function () {\n this._optionIds = this.options.map(function (option) { return option.id; }).join(' ');\n };\n /** When a new option is selected, deselects the others and closes the panel. */\n MdSelect.prototype._onSelect = function (option) {\n this._selected = option;\n this._updateOptions();\n this._setValueWidth();\n this._placeholderState = '';\n if (this.panelOpen) {\n this.close();\n }\n };\n /** Deselect each option that doesn't match the current selection. */\n MdSelect.prototype._updateOptions = function () {\n var _this = this;\n this.options.forEach(function (option) {\n if (option !== _this.selected) {\n option.deselect();\n }\n });\n };\n /**\n * Must set the width of the selected option's value programmatically\n * because it is absolutely positioned and otherwise will not clip\n * overflow. The selection arrow is 9px wide, add 4px of padding = 13\n */\n MdSelect.prototype._setValueWidth = function () {\n this._selectedValueWidth = this._triggerWidth - 13;\n };\n /** Focuses the selected item. If no option is selected, it will focus\n * the first item instead.\n */\n MdSelect.prototype._focusCorrectOption = function () {\n if (this.selected) {\n this._keyManager.setActiveItem(this._getOptionIndex(this.selected));\n }\n else {\n this._keyManager.setFirstItemActive();\n }\n };\n /** Focuses the host element when the panel closes. */\n MdSelect.prototype._focusHost = function () {\n this._renderer.invokeElementMethod(this._element.nativeElement, 'focus');\n };\n /** Gets the index of the provided option in the option list. */\n MdSelect.prototype._getOptionIndex = function (option) {\n return this.options.reduce(function (result, current, index) {\n return result === undefined ? (option === current ? index : undefined) : result;\n }, undefined);\n };\n /** Calculates the scroll position and x- and y-offsets of the overlay panel. */\n MdSelect.prototype._calculateOverlayPosition = function () {\n this._offsetX = this._isRtl() ? SELECT_PANEL_PADDING_X : -SELECT_PANEL_PADDING_X;\n var panelHeight = Math.min(this.options.length * SELECT_OPTION_HEIGHT, SELECT_PANEL_MAX_HEIGHT);\n var scrollContainerHeight = this.options.length * SELECT_OPTION_HEIGHT;\n // The farthest the panel can be scrolled before it hits the bottom\n var maxScroll = scrollContainerHeight - panelHeight;\n if (this.selected) {\n var selectedIndex = this._getOptionIndex(this.selected);\n // We must maintain a scroll buffer so the selected option will be scrolled to the\n // center of the overlay panel rather than the top.\n var scrollBuffer = panelHeight / 2;\n this._scrollTop = this._calculateOverlayScroll(selectedIndex, scrollBuffer, maxScroll);\n this._offsetY = this._calculateOverlayOffset(selectedIndex, scrollBuffer, maxScroll);\n }\n else {\n // If no option is selected, the panel centers on the first option. In this case,\n // we must only adjust for the height difference between the option element\n // and the trigger element, then multiply it by -1 to ensure the panel moves\n // in the correct direction up the page.\n this._offsetY = (SELECT_OPTION_HEIGHT - SELECT_TRIGGER_HEIGHT) / 2 * -1;\n }\n this._checkOverlayWithinViewport(maxScroll);\n };\n /**\n * Calculates the scroll position of the select's overlay panel.\n *\n * Attempts to center the selected option in the panel. If the option is\n * too high or too low in the panel to be scrolled to the center, it clamps the\n * scroll position to the min or max scroll positions respectively.\n */\n MdSelect.prototype._calculateOverlayScroll = function (selectedIndex, scrollBuffer, maxScroll) {\n var optionOffsetFromScrollTop = SELECT_OPTION_HEIGHT * selectedIndex;\n var halfOptionHeight = SELECT_OPTION_HEIGHT / 2;\n // Starts at the optionOffsetFromScrollTop, which scrolls the option to the top of the\n // scroll container, then subtracts the scroll buffer to scroll the option down to\n // the center of the overlay panel. Half the option height must be re-added to the\n // scrollTop so the option is centered based on its middle, not its top edge.\n var optimalScrollPosition = optionOffsetFromScrollTop - scrollBuffer + halfOptionHeight;\n return clampValue(0, optimalScrollPosition, maxScroll);\n };\n /**\n * Calculates the y-offset of the select's overlay panel in relation to the\n * top start corner of the trigger. It has to be adjusted in order for the\n * selected option to be aligned over the trigger when the panel opens.\n */\n MdSelect.prototype._calculateOverlayOffset = function (selectedIndex, scrollBuffer, maxScroll) {\n var optionOffsetFromPanelTop;\n if (this._scrollTop === 0) {\n optionOffsetFromPanelTop = selectedIndex * SELECT_OPTION_HEIGHT;\n }\n else if (this._scrollTop === maxScroll) {\n var firstDisplayedIndex = this.options.length - SELECT_MAX_OPTIONS_DISPLAYED;\n var selectedDisplayIndex = selectedIndex - firstDisplayedIndex;\n // Because the panel height is longer than the height of the options alone,\n // there is always extra padding at the top or bottom of the panel. When\n // scrolled to the very bottom, this padding is at the top of the panel and\n // must be added to the offset.\n optionOffsetFromPanelTop =\n selectedDisplayIndex * SELECT_OPTION_HEIGHT + SELECT_PANEL_PADDING_Y;\n }\n else {\n // If the option was scrolled to the middle of the panel using a scroll buffer,\n // its offset will be the scroll buffer minus the half height that was added to\n // center it.\n optionOffsetFromPanelTop = scrollBuffer - SELECT_OPTION_HEIGHT / 2;\n }\n // The final offset is the option's offset from the top, adjusted for the height\n // difference, multiplied by -1 to ensure that the overlay moves in the correct\n // direction up the page.\n return optionOffsetFromPanelTop * -1 - SELECT_OPTION_HEIGHT_ADJUSTMENT;\n };\n /**\n * Checks that the attempted overlay position will fit within the viewport.\n * If it will not fit, tries to adjust the scroll position and the associated\n * y-offset so the panel can open fully on-screen. If it still won't fit,\n * sets the offset back to 0 to allow the fallback position to take over.\n */\n MdSelect.prototype._checkOverlayWithinViewport = function (maxScroll) {\n var viewportRect = this._viewportRuler.getViewportRect();\n var triggerRect = this._getTriggerRect();\n var topSpaceAvailable = triggerRect.top - SELECT_PANEL_VIEWPORT_PADDING;\n var bottomSpaceAvailable = viewportRect.height - triggerRect.bottom - SELECT_PANEL_VIEWPORT_PADDING;\n var panelHeightTop = Math.abs(this._offsetY);\n var totalPanelHeight = Math.min(this.options.length * SELECT_OPTION_HEIGHT, SELECT_PANEL_MAX_HEIGHT);\n var panelHeightBottom = totalPanelHeight - panelHeightTop - triggerRect.height;\n if (panelHeightBottom > bottomSpaceAvailable) {\n this._adjustPanelUp(panelHeightBottom, bottomSpaceAvailable);\n }\n else if (panelHeightTop > topSpaceAvailable) {\n this._adjustPanelDown(panelHeightTop, topSpaceAvailable, maxScroll);\n }\n else {\n this._transformOrigin = this._getOriginBasedOnOption();\n }\n };\n /** Adjusts the overlay panel up to fit in the viewport. */\n MdSelect.prototype._adjustPanelUp = function (panelHeightBottom, bottomSpaceAvailable) {\n var distanceBelowViewport = panelHeightBottom - bottomSpaceAvailable;\n // Scrolls the panel up by the distance it was extending past the boundary, then\n // adjusts the offset by that amount to move the panel up into the viewport.\n this._scrollTop -= distanceBelowViewport;\n this._offsetY -= distanceBelowViewport;\n this._transformOrigin = this._getOriginBasedOnOption();\n // If the panel is scrolled to the very top, it won't be able to fit the panel\n // by scrolling, so set the offset to 0 to allow the fallback position to take\n // effect.\n if (this._scrollTop <= 0) {\n this._scrollTop = 0;\n this._offsetY = 0;\n this._transformOrigin = \"50% bottom 0px\";\n }\n };\n /** Adjusts the overlay panel down to fit in the viewport. */\n MdSelect.prototype._adjustPanelDown = function (panelHeightTop, topSpaceAvailable, maxScroll) {\n var distanceAboveViewport = panelHeightTop - topSpaceAvailable;\n // Scrolls the panel down by the distance it was extending past the boundary, then\n // adjusts the offset by that amount to move the panel down into the viewport.\n this._scrollTop += distanceAboveViewport;\n this._offsetY += distanceAboveViewport;\n this._transformOrigin = this._getOriginBasedOnOption();\n // If the panel is scrolled to the very bottom, it won't be able to fit the\n // panel by scrolling, so set the offset to 0 to allow the fallback position\n // to take effect.\n if (this._scrollTop >= maxScroll) {\n this._scrollTop = maxScroll;\n this._offsetY = 0;\n this._transformOrigin = \"50% top 0px\";\n return;\n }\n };\n /** Sets the transform origin point based on the selected option. */\n MdSelect.prototype._getOriginBasedOnOption = function () {\n var originY = Math.abs(this._offsetY) - SELECT_OPTION_HEIGHT_ADJUSTMENT + SELECT_OPTION_HEIGHT / 2;\n return \"50% \" + originY + \"px 0px\";\n };\n __decorate$36([\n _angular_core.ViewChild('trigger'), \n __metadata$36('design:type', _angular_core.ElementRef)\n ], MdSelect.prototype, \"trigger\", void 0);\n __decorate$36([\n _angular_core.ViewChild(ConnectedOverlayDirective), \n __metadata$36('design:type', ConnectedOverlayDirective)\n ], MdSelect.prototype, \"overlayDir\", void 0);\n __decorate$36([\n _angular_core.ContentChildren(MdOption), \n __metadata$36('design:type', _angular_core.QueryList)\n ], MdSelect.prototype, \"options\", void 0);\n __decorate$36([\n _angular_core.Input(), \n __metadata$36('design:type', Object)\n ], MdSelect.prototype, \"placeholder\", null);\n __decorate$36([\n _angular_core.Input(), \n __metadata$36('design:type', Object)\n ], MdSelect.prototype, \"disabled\", null);\n __decorate$36([\n _angular_core.Input(), \n __metadata$36('design:type', Object)\n ], MdSelect.prototype, \"required\", null);\n __decorate$36([\n _angular_core.Output(), \n __metadata$36('design:type', _angular_core.EventEmitter)\n ], MdSelect.prototype, \"onOpen\", void 0);\n __decorate$36([\n _angular_core.Output(), \n __metadata$36('design:type', _angular_core.EventEmitter)\n ], MdSelect.prototype, \"onClose\", void 0);\n __decorate$36([\n _angular_core.Output(), \n __metadata$36('design:type', _angular_core.EventEmitter)\n ], MdSelect.prototype, \"change\", void 0);\n MdSelect = __decorate$36([\n _angular_core.Component({selector: 'md-select, mat-select',\n template: \"<div class=\\\"mat-select-trigger\\\" cdk-overlay-origin (click)=\\\"toggle()\\\" #origin=\\\"cdkOverlayOrigin\\\" #trigger><span class=\\\"mat-select-placeholder\\\" [class.mat-floating-placeholder]=\\\"this.selected\\\" [@transformPlaceholder]=\\\"_placeholderState\\\" [style.width.px]=\\\"_selectedValueWidth\\\">{{ placeholder }} </span><span class=\\\"mat-select-value\\\" *ngIf=\\\"selected\\\"><span class=\\\"mat-select-value-text\\\">{{ selected?.viewValue }}</span> </span><span class=\\\"mat-select-arrow\\\"></span> <span class=\\\"mat-select-underline\\\"></span></div><template cdk-connected-overlay [origin]=\\\"origin\\\" [open]=\\\"panelOpen\\\" hasBackdrop (backdropClick)=\\\"close()\\\" backdropClass=\\\"cdk-overlay-transparent-backdrop\\\" [positions]=\\\"_positions\\\" [minWidth]=\\\"_triggerWidth\\\" [offsetY]=\\\"_offsetY\\\" [offsetX]=\\\"_offsetX\\\" (attach)=\\\"_setScrollTop()\\\"><div class=\\\"mat-select-panel\\\" [@transformPanel]=\\\"'showing'\\\" (@transformPanel.done)=\\\"_onPanelDone()\\\" (keydown)=\\\"_keyManager.onKeydown($event)\\\" [style.transformOrigin]=\\\"_transformOrigin\\\" [class.mat-select-panel-done-animating]=\\\"_panelDoneAnimating\\\"><div class=\\\"mat-select-content\\\" [@fadeInContent]=\\\"'showing'\\\" (@fadeInContent.done)=\\\"_onFadeInDone()\\\"><ng-content></ng-content></div></div></template>\",\n styles: [\".mat-select{display:inline-block;outline:0;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-select-trigger{display:flex;align-items:center;height:30px;min-width:112px;cursor:pointer;position:relative;box-sizing:border-box;font-size:16px}[aria-disabled=true] .mat-select-trigger{cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.mat-select-underline{position:absolute;bottom:0;left:0;right:0;height:1px}[aria-disabled=true] .mat-select-underline{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;background-color:transparent;background-position:0 bottom}.mat-select-placeholder{position:relative;padding:0 2px;transform-origin:left top;flex-grow:1}.mat-select-placeholder.mat-floating-placeholder{top:-22px;left:-2px;text-align:left;transform:scale(.75)}[dir=rtl] .mat-select-placeholder{transform-origin:right top}[dir=rtl] .mat-select-placeholder.mat-floating-placeholder{left:2px;text-align:right}[aria-required=true] .mat-select-placeholder::after{content:'*'}.mat-select-value{position:absolute;max-width:calc(100% - 18px);flex-grow:1;top:0;left:0;bottom:0;display:flex;align-items:center}[dir=rtl] .mat-select-value{left:auto;right:0}.mat-select-value-text{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;line-height:30px}.mat-select-arrow{width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid;margin:0 4px}.mat-select-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;padding-top:0;padding-bottom:0;max-height:256px}@media screen and (-ms-high-contrast:active){.mat-select-panel{outline:solid 1px}}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n host: {\n 'role': 'listbox',\n '[attr.tabindex]': '_getTabIndex()',\n '[attr.aria-label]': 'placeholder',\n '[attr.aria-required]': 'required.toString()',\n '[attr.aria-disabled]': 'disabled.toString()',\n '[attr.aria-invalid]': '_control?.invalid || \"false\"',\n '[attr.aria-owns]': '_optionIds',\n '[class.mat-select-disabled]': 'disabled',\n '[class.mat-select]': 'true',\n '(keydown)': '_handleKeydown($event)',\n '(blur)': '_onBlur()'\n },\n animations: [\n transformPlaceholder,\n transformPanel,\n fadeInContent\n ],\n exportAs: 'mdSelect',\n }),\n __param$6(4, _angular_core.Optional()),\n __param$6(5, _angular_core.Self()),\n __param$6(5, _angular_core.Optional()), \n __metadata$36('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, ViewportRuler, _angular_core.ChangeDetectorRef, Dir, _angular_forms.NgControl])\n ], MdSelect);\n return MdSelect;\n}());\n/** Clamps a value n between min and max values. */\nfunction clampValue(min, n, max) {\n return Math.min(Math.max(min, n), max);\n}\n\nvar __decorate$35 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$35 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdSelectModule = (function () {\n function MdSelectModule() {\n }\n /** @deprecated */\n MdSelectModule.forRoot = function () {\n return {\n ngModule: MdSelectModule,\n providers: []\n };\n };\n MdSelectModule = __decorate$35([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, OverlayModule, MdOptionModule, CompatibilityModule],\n exports: [MdSelect, MdOptionModule, CompatibilityModule],\n declarations: [MdSelect],\n }), \n __metadata$35('design:paramtypes', [])\n ], MdSelectModule);\n return MdSelectModule;\n}());\n\nvar __decorate$37 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$37 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MD_SLIDE_TOGGLE_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdSlideToggle; }),\n multi: true\n};\n// A simple change event emitted by the MdSlideToggle component.\nvar MdSlideToggleChange = (function () {\n function MdSlideToggleChange() {\n }\n return MdSlideToggleChange;\n}());\n// Increasing integer for generating unique ids for slide-toggle components.\nvar nextId$1 = 0;\n/**\n * Two-state control, which can be also called `switch`.\n */\nvar MdSlideToggle = (function () {\n function MdSlideToggle(_elementRef, _renderer) {\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n this.onChange = function (_) { };\n this.onTouched = function () { };\n // A unique id for the slide-toggle. By default the id is auto-generated.\n this._uniqueId = \"md-slide-toggle-\" + ++nextId$1;\n this._checked = false;\n this._isMousedown = false;\n this._slideRenderer = null;\n this._disabled = false;\n this._required = false;\n // Needs to be public to support AOT compilation (as host binding).\n this._hasFocus = false;\n /** Name value will be applied to the input element if present */\n this.name = null;\n /** A unique id for the slide-toggle input. If none is supplied, it will be auto-generated. */\n this.id = this._uniqueId;\n /** Used to specify the tabIndex value for the underlying input element. */\n this.tabIndex = 0;\n /** Whether the label should appear after or before the slide-toggle. Defaults to 'after' */\n this.labelPosition = 'after';\n /** Used to set the aria-label attribute on the underlying input element. */\n this.ariaLabel = null;\n /** Used to set the aria-labelledby attribute on the underlying input element. */\n this.ariaLabelledby = null;\n this._change = new _angular_core.EventEmitter();\n /** An event will be dispatched each time the slide-toggle changes its value. */\n this.change = this._change.asObservable();\n }\n Object.defineProperty(MdSlideToggle.prototype, \"disabled\", {\n /** Whether the slide-toggle is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlideToggle.prototype, \"required\", {\n /** Whether the slide-toggle is required. */\n get: function () { return this._required; },\n set: function (value) { this._required = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlideToggle.prototype, \"inputId\", {\n /** Returns the unique id for the visual hidden input. */\n get: function () { return (this.id || this._uniqueId) + \"-input\"; },\n enumerable: true,\n configurable: true\n });\n MdSlideToggle.prototype.ngAfterContentInit = function () {\n this._slideRenderer = new SlideToggleRenderer(this._elementRef);\n };\n /**\n * The onChangeEvent method will be also called on click.\n * This is because everything for the slide-toggle is wrapped inside of a label,\n * which triggers a onChange event on click.\n */\n MdSlideToggle.prototype._onChangeEvent = function (event) {\n // We always have to stop propagation on the change event.\n // Otherwise the change event, from the input element, will bubble up and\n // emit its event object to the component's `change` output.\n event.stopPropagation();\n // Once a drag is currently in progress, we do not want to toggle the slide-toggle on a click.\n if (!this.disabled && !this._slideRenderer.isDragging()) {\n this.toggle();\n // Emit our custom change event if the native input emitted one.\n // It is important to only emit it, if the native input triggered one, because\n // we don't want to trigger a change event, when the `checked` variable changes for example.\n this._emitChangeEvent();\n }\n };\n MdSlideToggle.prototype._onInputClick = function (event) {\n this.onTouched();\n // We have to stop propagation for click events on the visual hidden input element.\n // By default, when a user clicks on a label element, a generated click event will be\n // dispatched on the associated input element. Since we are using a label element as our\n // root container, the click event on the `slide-toggle` will be executed twice.\n // The real click event will bubble up, and the generated click event also tries to bubble up.\n // This will lead to multiple click events.\n // Preventing bubbling for the second event will solve that issue.\n event.stopPropagation();\n };\n MdSlideToggle.prototype._setMousedown = function () {\n var _this = this;\n // We only *show* the focus style when focus has come to the button via the keyboard.\n // The Material Design spec is silent on this topic, and without doing this, the\n // button continues to look :active after clicking.\n // @see http://marcysutton.com/button-focus-hell/\n this._isMousedown = true;\n setTimeout(function () { return _this._isMousedown = false; }, 100);\n };\n MdSlideToggle.prototype._onInputFocus = function () {\n // Only show the focus / ripple indicator when the focus was not triggered by a mouse\n // interaction on the component.\n if (!this._isMousedown) {\n this._hasFocus = true;\n }\n };\n MdSlideToggle.prototype._onInputBlur = function () {\n this._hasFocus = false;\n this.onTouched();\n };\n /** Implemented as part of ControlValueAccessor. */\n MdSlideToggle.prototype.writeValue = function (value) {\n this.checked = value;\n };\n /** Implemented as part of ControlValueAccessor. */\n MdSlideToggle.prototype.registerOnChange = function (fn) {\n this.onChange = fn;\n };\n /** Implemented as part of ControlValueAccessor. */\n MdSlideToggle.prototype.registerOnTouched = function (fn) {\n this.onTouched = fn;\n };\n /** Implemented as a part of ControlValueAccessor. */\n MdSlideToggle.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n /** Focuses the slide-toggle. */\n MdSlideToggle.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._inputElement.nativeElement, 'focus');\n this._onInputFocus();\n };\n Object.defineProperty(MdSlideToggle.prototype, \"checked\", {\n /** Whether the slide-toggle is checked. */\n get: function () { return !!this._checked; },\n set: function (value) {\n if (this.checked !== !!value) {\n this._checked = value;\n this.onChange(this._checked);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlideToggle.prototype, \"color\", {\n /** The color of the slide-toggle. Can be primary, accent, or warn. */\n get: function () { return this._color; },\n set: function (value) {\n this._updateColor(value);\n },\n enumerable: true,\n configurable: true\n });\n /** Toggles the checked state of the slide-toggle. */\n MdSlideToggle.prototype.toggle = function () {\n this.checked = !this.checked;\n };\n MdSlideToggle.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n MdSlideToggle.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n /** Emits the change event to the `change` output EventEmitter */\n MdSlideToggle.prototype._emitChangeEvent = function () {\n var event = new MdSlideToggleChange();\n event.source = this;\n event.checked = this.checked;\n this._change.emit(event);\n };\n MdSlideToggle.prototype._onDragStart = function () {\n if (!this.disabled) {\n this._slideRenderer.startThumbDrag(this.checked);\n }\n };\n MdSlideToggle.prototype._onDrag = function (event) {\n if (this._slideRenderer.isDragging()) {\n this._slideRenderer.updateThumbPosition(event.deltaX);\n }\n };\n MdSlideToggle.prototype._onDragEnd = function () {\n var _this = this;\n if (!this._slideRenderer.isDragging()) {\n return;\n }\n // Notice that we have to stop outside of the current event handler,\n // because otherwise the click event will be fired and will reset the new checked variable.\n setTimeout(function () {\n _this.checked = _this._slideRenderer.stopThumbDrag();\n _this._emitChangeEvent();\n }, 0);\n };\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', String)\n ], MdSlideToggle.prototype, \"name\", void 0);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', String)\n ], MdSlideToggle.prototype, \"id\", void 0);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', Number)\n ], MdSlideToggle.prototype, \"tabIndex\", void 0);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', Object)\n ], MdSlideToggle.prototype, \"labelPosition\", void 0);\n __decorate$37([\n _angular_core.Input('aria-label'), \n __metadata$37('design:type', String)\n ], MdSlideToggle.prototype, \"ariaLabel\", void 0);\n __decorate$37([\n _angular_core.Input('aria-labelledby'), \n __metadata$37('design:type', String)\n ], MdSlideToggle.prototype, \"ariaLabelledby\", void 0);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', Boolean)\n ], MdSlideToggle.prototype, \"disabled\", null);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', Boolean)\n ], MdSlideToggle.prototype, \"required\", null);\n __decorate$37([\n _angular_core.Output(), \n __metadata$37('design:type', rxjs_Observable.Observable)\n ], MdSlideToggle.prototype, \"change\", void 0);\n __decorate$37([\n _angular_core.ViewChild('input'), \n __metadata$37('design:type', _angular_core.ElementRef)\n ], MdSlideToggle.prototype, \"_inputElement\", void 0);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', Object)\n ], MdSlideToggle.prototype, \"checked\", null);\n __decorate$37([\n _angular_core.Input(), \n __metadata$37('design:type', String)\n ], MdSlideToggle.prototype, \"color\", null);\n MdSlideToggle = __decorate$37([\n _angular_core.Component({selector: 'md-slide-toggle, mat-slide-toggle',\n host: {\n '[class.mat-slide-toggle]': 'true',\n '[class.mat-checked]': 'checked',\n '[class.mat-disabled]': 'disabled',\n // This mat-slide-toggle prefix will change, once the temporary ripple is removed.\n '[class.mat-slide-toggle-focused]': '_hasFocus',\n '[class.mat-slide-toggle-label-before]': 'labelPosition == \"before\"',\n '(mousedown)': '_setMousedown()'\n },\n template: \"<label class=\\\"mat-slide-toggle-label\\\"><div class=\\\"mat-slide-toggle-container\\\"><div class=\\\"mat-slide-toggle-bar\\\"></div><div class=\\\"mat-slide-toggle-thumb-container\\\" (slidestart)=\\\"_onDragStart()\\\" (slide)=\\\"_onDrag($event)\\\" (slideend)=\\\"_onDragEnd()\\\"><div class=\\\"mat-slide-toggle-thumb\\\"><div class=\\\"mat-ink-ripple\\\"></div></div></div><input #input class=\\\"mat-slide-toggle-input cdk-visually-hidden\\\" type=\\\"checkbox\\\" [id]=\\\"inputId\\\" [required]=\\\"required\\\" [tabIndex]=\\\"tabIndex\\\" [checked]=\\\"checked\\\" [disabled]=\\\"disabled\\\" [attr.name]=\\\"name\\\" [attr.aria-label]=\\\"ariaLabel\\\" [attr.aria-labelledby]=\\\"ariaLabelledby\\\" (blur)=\\\"_onInputBlur()\\\" (focus)=\\\"_onInputFocus()\\\" (change)=\\\"_onChangeEvent($event)\\\" (click)=\\\"_onInputClick($event)\\\"></div><span class=\\\"mat-slide-toggle-content\\\"><ng-content></ng-content></span></label>\",\n styles: [\".mat-slide-toggle{display:flex;height:24px;margin:16px 0;line-height:24px;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0}.mat-slide-toggle.mat-checked .mat-slide-toggle-thumb-container{transform:translate3d(100%,0,0)}.mat-slide-toggle .mat-ink-ripple{border-radius:50%;opacity:0;height:48px;left:50%;overflow:hidden;pointer-events:none;position:absolute;top:50%;transform:translate(-50%,-50%);transition:opacity ease 280ms,background-color ease 280ms;width:48px}.mat-slide-toggle.mat-slide-toggle-focused .mat-ink-ripple{opacity:1}.mat-slide-toggle.mat-slide-toggle-disabled .mat-ink-ripple{background-color:#000}.mat-slide-toggle.mat-disabled .mat-slide-toggle-container,.mat-slide-toggle.mat-disabled .mat-slide-toggle-label{cursor:default}.mat-slide-toggle-content{font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500}.mat-slide-toggle-label{display:flex;flex:1;cursor:pointer}.mat-slide-toggle-label-before .mat-slide-toggle-label{order:1}.mat-slide-toggle-label-before .mat-slide-toggle-container{order:2}.mat-slide-toggle-container{cursor:-webkit-grab;cursor:grab;width:36px;height:24px;position:relative}.mat-slide-toggle-container,[dir=rtl] .mat-slide-toggle-label-before .mat-slide-toggle-container{margin-right:8px;margin-left:0}.mat-slide-toggle-label-before .mat-slide-toggle-container,[dir=rtl] .mat-slide-toggle-container{margin-left:8px;margin-right:0}.mat-slide-toggle-thumb-container{position:absolute;top:2px;left:0;z-index:1;width:16px;transform:translate3d(0,0,0);transition:all 80ms linear;transition-property:transform}.mat-slide-toggle-thumb-container.mat-dragging{transition-duration:0s}.mat-slide-toggle-thumb{position:absolute;margin:0;left:0;top:0;height:20px;width:20px;border-radius:50%;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}@media screen and (-ms-high-contrast:active){.mat-slide-toggle-thumb{background:#fff;border:1px solid #000}.mat-slide-toggle-bar{background:#fff}}.mat-slide-toggle-bar{position:absolute;left:1px;top:5px;width:34px;height:14px;border-radius:8px}.mat-slide-toggle-input{bottom:0;left:10px}.mat-slide-toggle-bar,.mat-slide-toggle-thumb{transition:all 80ms linear;transition-property:background-color;transition-delay:50ms}\"],\n providers: [MD_SLIDE_TOGGLE_VALUE_ACCESSOR],\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n }), \n __metadata$37('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdSlideToggle);\n return MdSlideToggle;\n}());\n/**\n * Renderer for the Slide Toggle component, which separates DOM modification in its own class\n */\nvar SlideToggleRenderer = (function () {\n function SlideToggleRenderer(_elementRef) {\n this._elementRef = _elementRef;\n this._thumbEl = _elementRef.nativeElement.querySelector('.mat-slide-toggle-thumb-container');\n this._thumbBarEl = _elementRef.nativeElement.querySelector('.mat-slide-toggle-bar');\n }\n /** Whether the slide-toggle is currently dragging. */\n SlideToggleRenderer.prototype.isDragging = function () {\n return !!this._thumbBarWidth;\n };\n /** Initializes the drag of the slide-toggle. */\n SlideToggleRenderer.prototype.startThumbDrag = function (checked) {\n if (!this.isDragging()) {\n this._thumbBarWidth = this._thumbBarEl.clientWidth - this._thumbEl.clientWidth;\n this._checked = checked;\n this._thumbEl.classList.add('mat-dragging');\n }\n };\n /** Stops the current drag and returns the new checked value. */\n SlideToggleRenderer.prototype.stopThumbDrag = function () {\n if (this.isDragging()) {\n this._thumbBarWidth = null;\n this._thumbEl.classList.remove('mat-dragging');\n applyCssTransform(this._thumbEl, '');\n return this._percentage > 50;\n }\n };\n /** Updates the thumb containers position from the specified distance. */\n SlideToggleRenderer.prototype.updateThumbPosition = function (distance) {\n this._percentage = this._getThumbPercentage(distance);\n applyCssTransform(this._thumbEl, \"translate3d(\" + this._percentage + \"%, 0, 0)\");\n };\n /** Retrieves the percentage of thumb from the moved distance. */\n SlideToggleRenderer.prototype._getThumbPercentage = function (distance) {\n var percentage = (distance / this._thumbBarWidth) * 100;\n // When the toggle was initially checked, then we have to start the drag at the end.\n if (this._checked) {\n percentage += 100;\n }\n return Math.max(0, Math.min(percentage, 100));\n };\n return SlideToggleRenderer;\n}());\nvar MdSlideToggleModule = (function () {\n function MdSlideToggleModule() {\n }\n /** @deprecated */\n MdSlideToggleModule.forRoot = function () {\n return {\n ngModule: MdSlideToggleModule,\n providers: []\n };\n };\n MdSlideToggleModule = __decorate$37([\n _angular_core.NgModule({\n imports: [_angular_forms.FormsModule, CompatibilityModule],\n exports: [MdSlideToggle, CompatibilityModule],\n declarations: [MdSlideToggle],\n providers: [{ provide: _angular_platformBrowser.HAMMER_GESTURE_CONFIG, useClass: GestureConfig }],\n }), \n __metadata$37('design:paramtypes', [])\n ], MdSlideToggleModule);\n return MdSlideToggleModule;\n}());\n\nvar __decorate$38 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$38 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$7 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * Visually, a 30px separation between tick marks looks best. This is very subjective but it is\n * the default separation we chose.\n */\nvar MIN_AUTO_TICK_SEPARATION = 30;\n/** The thumb gap size for a disabled slider. */\nvar DISABLED_THUMB_GAP = 7;\n/** The thumb gap size for a non-active slider at its minimum value. */\nvar MIN_VALUE_NONACTIVE_THUMB_GAP = 7;\n/** The thumb gap size for an active slider at its minimum value. */\nvar MIN_VALUE_ACTIVE_THUMB_GAP = 10;\n/**\n * Provider Expression that allows md-slider to register as a ControlValueAccessor.\n * This allows it to support [(ngModel)] and [formControl].\n */\nvar MD_SLIDER_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdSlider; }),\n multi: true\n};\n/** A simple change event emitted by the MdSlider component. */\nvar MdSliderChange = (function () {\n function MdSliderChange() {\n }\n return MdSliderChange;\n}());\n/**\n * Allows users to select from a range of values by moving the slider thumb. It is similar in\n * behavior to the native `<input type=\"range\">` element.\n */\nvar MdSlider = (function () {\n function MdSlider(_dir, elementRef) {\n this._dir = _dir;\n /** A renderer to handle updating the slider's thumb and fill track. */\n this._renderer = null;\n /** The dimensions of the slider. */\n this._sliderDimensions = null;\n this._disabled = false;\n this._thumbLabel = false;\n this._controlValueAccessorChangeFn = function () { };\n /** The last values for which a change or input event was emitted. */\n this._lastChangeValue = null;\n this._lastInputValue = null;\n /** onTouch function registered via registerOnTouch (ControlValueAccessor). */\n this.onTouched = function () { };\n /**\n * Whether or not the thumb is sliding.\n * Used to determine if there should be a transition for the thumb and fill track.\n */\n this._isSliding = false;\n /**\n * Whether or not the slider is active (clicked or sliding).\n * Used to shrink and grow the thumb as according to the Material Design spec.\n */\n this._isActive = false;\n this._step = 1;\n this._tickInterval = 0;\n this._tickIntervalPercent = 0;\n this._percent = 0;\n this._value = null;\n this._min = 0;\n this._max = 100;\n this._invert = false;\n this._vertical = false;\n /** Event emitted when the slider value has changed. */\n this.change = new _angular_core.EventEmitter();\n /** Event emitted when the slider thumb moves. */\n this.input = new _angular_core.EventEmitter();\n this._renderer = new SliderRenderer(elementRef);\n }\n Object.defineProperty(MdSlider.prototype, \"disabled\", {\n /** Whether or not the slider is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"thumbLabel\", {\n /** Whether or not to show the thumb label. */\n get: function () { return this._thumbLabel; },\n set: function (value) { this._thumbLabel = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"_thumbLabelDeprecated\", {\n /** @deprecated */\n get: function () { return this._thumbLabel; },\n set: function (value) { this._thumbLabel = value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"step\", {\n /** The values at which the thumb will snap. */\n get: function () { return this._step; },\n set: function (v) {\n this._step = coerceNumberProperty(v, this._step);\n if (this._step % 1 !== 0) {\n this._roundLabelTo = this._step.toString().split('.').pop().length;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"tickInterval\", {\n /**\n * How often to show ticks. Relative to the step so that a tick always appears on a step.\n * Ex: Tick interval of 4 with a step of 3 will draw a tick every 4 steps (every 12 values).\n */\n get: function () { return this._tickInterval; },\n set: function (v) {\n this._tickInterval = (v == 'auto') ? v : coerceNumberProperty(v, this._tickInterval);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"_tickIntervalDeprecated\", {\n /** @deprecated */\n get: function () { return this.tickInterval; },\n set: function (v) { this.tickInterval = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"tickIntervalPercent\", {\n /** The size of a tick interval as a percentage of the size of the track. */\n get: function () { return this._tickIntervalPercent; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"percent\", {\n /** The percentage of the slider that coincides with the value. */\n get: function () { return this._clamp(this._percent); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"value\", {\n /** Value of the slider. */\n get: function () {\n // If the value needs to be read and it is still uninitialized, initialize it to the min.\n if (this._value === null) {\n this.value = this._min;\n }\n return this._value;\n },\n set: function (v) {\n this._value = coerceNumberProperty(v, this._value);\n this._percent = this._calculatePercentage(this._value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"min\", {\n /** The minimum value that the slider can have. */\n get: function () {\n return this._min;\n },\n set: function (v) {\n this._min = coerceNumberProperty(v, this._min);\n // If the value wasn't explicitly set by the user, set it to the min.\n if (this._value === null) {\n this.value = this._min;\n }\n this._percent = this._calculatePercentage(this.value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"max\", {\n /** The maximum value that the slider can have. */\n get: function () {\n return this._max;\n },\n set: function (v) {\n this._max = coerceNumberProperty(v, this._max);\n this._percent = this._calculatePercentage(this.value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"invert\", {\n /** Whether the slider is inverted. */\n get: function () { return this._invert; },\n set: function (value) { this._invert = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"vertical\", {\n /** Whether the slider is vertical. */\n get: function () { return this._vertical; },\n set: function (value) { this._vertical = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"displayValue\", {\n /** The value to be used for display purposes. */\n get: function () {\n // Note that this could be improved further by rounding something like 0.999 to 1 or\n // 0.899 to 0.9, however it is very performance sensitive, because it gets called on\n // every change detection cycle.\n if (this._roundLabelTo && this.value % 1 !== 0) {\n return this.value.toFixed(this._roundLabelTo);\n }\n return this.value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"invertAxis\", {\n /**\n * Whether the axis of the slider is inverted.\n * (i.e. whether moving the thumb in the positive x or y direction decreases the slider's value).\n */\n get: function () {\n // Standard non-inverted mode for a vertical slider should be dragging the thumb from bottom to\n // top. However from a y-axis standpoint this is inverted.\n return this.vertical ? !this.invert : this.invert;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"invertMouseCoords\", {\n /**\n * Whether mouse events should be converted to a slider position by calculating their distance\n * from the right or bottom edge of the slider as opposed to the top or left.\n */\n get: function () {\n return (this.direction == 'rtl' && !this.vertical) ? !this.invertAxis : this.invertAxis;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"_isMinValue\", {\n /** Whether the slider is at its minimum value. */\n get: function () {\n return this.percent === 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"_thumbGap\", {\n /**\n * The amount of space to leave between the slider thumb and the track fill & track background\n * elements.\n */\n get: function () {\n if (this.disabled) {\n return DISABLED_THUMB_GAP;\n }\n if (this._isMinValue && !this.thumbLabel) {\n return this._isActive ? MIN_VALUE_ACTIVE_THUMB_GAP : MIN_VALUE_NONACTIVE_THUMB_GAP;\n }\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"trackBackgroundStyles\", {\n /** CSS styles for the track background element. */\n get: function () {\n var axis = this.vertical ? 'Y' : 'X';\n var sign = this.invertMouseCoords ? '-' : '';\n return {\n 'transform': \"translate\" + axis + \"(\" + sign + this._thumbGap + \"px) scale\" + axis + \"(\" + (1 - this.percent) + \")\"\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"trackFillStyles\", {\n /** CSS styles for the track fill element. */\n get: function () {\n var axis = this.vertical ? 'Y' : 'X';\n var sign = this.invertMouseCoords ? '' : '-';\n return {\n 'transform': \"translate\" + axis + \"(\" + sign + this._thumbGap + \"px) scale\" + axis + \"(\" + this.percent + \")\"\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"ticksContainerStyles\", {\n /** CSS styles for the ticks container element. */\n get: function () {\n var axis = this.vertical ? 'Y' : 'X';\n // For a horizontal slider in RTL languages we push the ticks container off the left edge\n // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n var sign = !this.vertical && this.direction == 'rtl' ? '' : '-';\n var offset = this.tickIntervalPercent / 2 * 100;\n return {\n 'transform': \"translate\" + axis + \"(\" + sign + offset + \"%)\"\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"ticksStyles\", {\n /** CSS styles for the ticks element. */\n get: function () {\n var tickSize = this.tickIntervalPercent * 100;\n var backgroundSize = this.vertical ? \"2px \" + tickSize + \"%\" : tickSize + \"% 2px\";\n var axis = this.vertical ? 'Y' : 'X';\n // Depending on the direction we pushed the ticks container, push the ticks the opposite\n // direction to re-center them but clip off the end edge. In RTL languages we need to flip the\n // ticks 180 degrees so we're really cutting off the end edge abd not the start.\n var sign = !this.vertical && this.direction == 'rtl' ? '-' : '';\n var rotate = !this.vertical && this.direction == 'rtl' ? ' rotate(180deg)' : '';\n var styles = {\n 'backgroundSize': backgroundSize,\n // Without translateZ ticks sometimes jitter as the slider moves on Chrome & Firefox.\n 'transform': \"translateZ(0) translate\" + axis + \"(\" + sign + tickSize / 2 + \"%)\" + rotate\n };\n if (this._isMinValue && this._thumbGap) {\n var side = this.vertical ?\n (this.invertAxis ? 'Bottom' : 'Top') :\n (this.invertAxis ? 'Right' : 'Left');\n styles[(\"padding\" + side)] = this._thumbGap + \"px\";\n }\n return styles;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"thumbContainerStyles\", {\n get: function () {\n var axis = this.vertical ? 'Y' : 'X';\n // For a horizontal slider in RTL languages we push the thumb container off the left edge\n // instead of the right edge to avoid causing a horizontal scrollbar to appear.\n var invertOffset = (this.direction == 'rtl' && !this.vertical) ? !this.invertAxis : this.invertAxis;\n var offset = (invertOffset ? this.percent : 1 - this.percent) * 100;\n return {\n 'transform': \"translate\" + axis + \"(-\" + offset + \"%)\"\n };\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSlider.prototype, \"direction\", {\n /** The language direction for this slider element. */\n get: function () {\n return (this._dir && this._dir.value == 'rtl') ? 'rtl' : 'ltr';\n },\n enumerable: true,\n configurable: true\n });\n MdSlider.prototype._onMouseenter = function () {\n if (this.disabled) {\n return;\n }\n // We save the dimensions of the slider here so we can use them to update the spacing of the\n // ticks and determine where on the slider click and slide events happen.\n this._sliderDimensions = this._renderer.getSliderDimensions();\n this._updateTickIntervalPercent();\n };\n MdSlider.prototype._onClick = function (event) {\n if (this.disabled) {\n return;\n }\n this._isActive = true;\n this._isSliding = false;\n this._renderer.addFocus();\n this._updateValueFromPosition({ x: event.clientX, y: event.clientY });\n /* Emits a change and input event if the value changed. */\n this._emitInputEvent();\n this._emitValueIfChanged();\n };\n MdSlider.prototype._onSlide = function (event) {\n if (this.disabled) {\n return;\n }\n // Prevent the slide from selecting anything else.\n event.preventDefault();\n this._updateValueFromPosition({ x: event.center.x, y: event.center.y });\n // Native range elements always emit `input` events when the value changed while sliding.\n this._emitInputEvent();\n };\n MdSlider.prototype._onSlideStart = function (event) {\n if (this.disabled) {\n return;\n }\n // Simulate mouseenter in case this is a mobile device.\n this._onMouseenter();\n event.preventDefault();\n this._isSliding = true;\n this._isActive = true;\n this._renderer.addFocus();\n this._updateValueFromPosition({ x: event.center.x, y: event.center.y });\n };\n MdSlider.prototype._onSlideEnd = function () {\n this._isSliding = false;\n this._emitValueIfChanged();\n };\n MdSlider.prototype._onBlur = function () {\n this._isActive = false;\n this.onTouched();\n };\n MdSlider.prototype._onKeydown = function (event) {\n if (this.disabled) {\n return;\n }\n switch (event.keyCode) {\n case PAGE_UP:\n this._increment(10);\n break;\n case PAGE_DOWN:\n this._increment(-10);\n break;\n case END:\n this.value = this.max;\n break;\n case HOME:\n this.value = this.min;\n break;\n case LEFT_ARROW:\n // NOTE: For a sighted user it would make more sense that when they press an arrow key on an\n // inverted slider the thumb moves in that direction. However for a blind user, nothing\n // about the slider indicates that it is inverted. They will expect left to be decrement,\n // regardless of how it appears on the screen. For speakers ofRTL languages, they probably\n // expect left to mean increment. Therefore we flip the meaning of the side arrow keys for\n // RTL. For inverted sliders we prefer a good a11y experience to having it \"look right\" for\n // sighted users, therefore we do not swap the meaning.\n this._increment(this.direction == 'rtl' ? 1 : -1);\n break;\n case UP_ARROW:\n this._increment(1);\n break;\n case RIGHT_ARROW:\n // See comment on LEFT_ARROW about the conditions under which we flip the meaning.\n this._increment(this.direction == 'rtl' ? -1 : 1);\n break;\n case DOWN_ARROW:\n this._increment(-1);\n break;\n default:\n // Return if the key is not one that we explicitly handle to avoid calling preventDefault on\n // it.\n return;\n }\n this._isSliding = true;\n event.preventDefault();\n };\n MdSlider.prototype._onKeyup = function () {\n this._isSliding = false;\n };\n /** Increments the slider by the given number of steps (negative number decrements). */\n MdSlider.prototype._increment = function (numSteps) {\n this.value = this._clamp(this.value + this.step * numSteps, this.min, this.max);\n this._emitInputEvent();\n this._emitValueIfChanged();\n };\n /** Calculate the new value from the new physical location. The value will always be snapped. */\n MdSlider.prototype._updateValueFromPosition = function (pos) {\n if (!this._sliderDimensions) {\n return;\n }\n var offset = this.vertical ? this._sliderDimensions.top : this._sliderDimensions.left;\n var size = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n var posComponent = this.vertical ? pos.y : pos.x;\n // The exact value is calculated from the event and used to find the closest snap value.\n var percent = this._clamp((posComponent - offset) / size);\n if (this.invertMouseCoords) {\n percent = 1 - percent;\n }\n var exactValue = this._calculateValue(percent);\n // This calculation finds the closest step by finding the closest whole number divisible by the\n // step relative to the min.\n var closestValue = Math.round((exactValue - this.min) / this.step) * this.step + this.min;\n // The value needs to snap to the min and max.\n this.value = this._clamp(closestValue, this.min, this.max);\n };\n /** Emits a change event if the current value is different from the last emitted value. */\n MdSlider.prototype._emitValueIfChanged = function () {\n if (this.value != this._lastChangeValue) {\n var event_1 = this._createChangeEvent();\n this._lastChangeValue = this.value;\n this._controlValueAccessorChangeFn(this.value);\n this.change.emit(event_1);\n }\n };\n /** Emits an input event when the current value is different from the last emitted value. */\n MdSlider.prototype._emitInputEvent = function () {\n if (this.value != this._lastInputValue) {\n var event_2 = this._createChangeEvent();\n this._lastInputValue = this.value;\n this.input.emit(event_2);\n }\n };\n /** Updates the amount of space between ticks as a percentage of the width of the slider. */\n MdSlider.prototype._updateTickIntervalPercent = function () {\n if (!this.tickInterval) {\n return;\n }\n if (this.tickInterval == 'auto') {\n var trackSize = this.vertical ? this._sliderDimensions.height : this._sliderDimensions.width;\n var pixelsPerStep = trackSize * this.step / (this.max - this.min);\n var stepsPerTick = Math.ceil(MIN_AUTO_TICK_SEPARATION / pixelsPerStep);\n var pixelsPerTick = stepsPerTick * this.step;\n this._tickIntervalPercent = pixelsPerTick / trackSize;\n }\n else {\n this._tickIntervalPercent = this.tickInterval * this.step / (this.max - this.min);\n }\n };\n /** Creates a slider change object from the specified value. */\n MdSlider.prototype._createChangeEvent = function (value) {\n if (value === void 0) { value = this.value; }\n var event = new MdSliderChange();\n event.source = this;\n event.value = value;\n return event;\n };\n /** Calculates the percentage of the slider that a value is. */\n MdSlider.prototype._calculatePercentage = function (value) {\n return (value - this.min) / (this.max - this.min);\n };\n /** Calculates the value a percentage of the slider corresponds to. */\n MdSlider.prototype._calculateValue = function (percentage) {\n return this.min + percentage * (this.max - this.min);\n };\n /** Return a number between two numbers. */\n MdSlider.prototype._clamp = function (value, min, max) {\n if (min === void 0) { min = 0; }\n if (max === void 0) { max = 1; }\n return Math.max(min, Math.min(value, max));\n };\n /**\n * Sets the model value. Implemented as part of ControlValueAccessor.\n * @param value\n */\n MdSlider.prototype.writeValue = function (value) {\n this.value = value;\n };\n /**\n * Registers a callback to eb triggered when the value has changed.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n MdSlider.prototype.registerOnChange = function (fn) {\n this._controlValueAccessorChangeFn = fn;\n };\n /**\n * Registers a callback to be triggered when the component is touched.\n * Implemented as part of ControlValueAccessor.\n * @param fn Callback to be registered.\n */\n MdSlider.prototype.registerOnTouched = function (fn) {\n this.onTouched = fn;\n };\n /**\n * Sets whether the component should be disabled.\n * Implemented as part of ControlValueAccessor.\n * @param isDisabled\n */\n MdSlider.prototype.setDisabledState = function (isDisabled) {\n this.disabled = isDisabled;\n };\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Boolean)\n ], MdSlider.prototype, \"disabled\", null);\n __decorate$38([\n _angular_core.Input('thumbLabel'), \n __metadata$38('design:type', Boolean)\n ], MdSlider.prototype, \"thumbLabel\", null);\n __decorate$38([\n _angular_core.Input('thumb-label'), \n __metadata$38('design:type', Boolean)\n ], MdSlider.prototype, \"_thumbLabelDeprecated\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"step\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"tickInterval\", null);\n __decorate$38([\n _angular_core.Input('tick-interval'), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"_tickIntervalDeprecated\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"value\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"min\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"max\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"invert\", null);\n __decorate$38([\n _angular_core.Input(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"vertical\", null);\n __decorate$38([\n _angular_core.Output(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"change\", void 0);\n __decorate$38([\n _angular_core.Output(), \n __metadata$38('design:type', Object)\n ], MdSlider.prototype, \"input\", void 0);\n MdSlider = __decorate$38([\n _angular_core.Component({selector: 'md-slider, mat-slider',\n providers: [MD_SLIDER_VALUE_ACCESSOR],\n host: {\n '[class.mat-slider]': 'true',\n '(blur)': '_onBlur()',\n '(click)': '_onClick($event)',\n '(keydown)': '_onKeydown($event)',\n '(keyup)': '_onKeyup()',\n '(mouseenter)': '_onMouseenter()',\n '(slide)': '_onSlide($event)',\n '(slideend)': '_onSlideEnd()',\n '(slidestart)': '_onSlideStart($event)',\n 'role': 'slider',\n 'tabindex': '0',\n '[attr.aria-disabled]': 'disabled',\n '[attr.aria-valuemax]': 'max',\n '[attr.aria-valuemin]': 'min',\n '[attr.aria-valuenow]': 'value',\n '[class.mat-slider-active]': '_isActive',\n '[class.mat-slider-disabled]': 'disabled',\n '[class.mat-slider-has-ticks]': 'tickInterval',\n '[class.mat-slider-horizontal]': '!vertical',\n '[class.mat-slider-axis-inverted]': 'invertAxis',\n '[class.mat-slider-sliding]': '_isSliding',\n '[class.mat-slider-thumb-label-showing]': 'thumbLabel',\n '[class.mat-slider-vertical]': 'vertical',\n '[class.mat-slider-min-value]': '_isMinValue',\n '[class.mat-slider-hide-last-tick]': '_isMinValue && _thumbGap && invertAxis',\n },\n template: \"<div class=\\\"mat-slider-wrapper\\\"><div class=\\\"mat-slider-track-wrapper\\\"><div class=\\\"mat-slider-track-background\\\" [ngStyle]=\\\"trackBackgroundStyles\\\"></div><div class=\\\"mat-slider-track-fill\\\" [ngStyle]=\\\"trackFillStyles\\\"></div></div><div class=\\\"mat-slider-ticks-container\\\" [ngStyle]=\\\"ticksContainerStyles\\\"><div class=\\\"mat-slider-ticks\\\" [ngStyle]=\\\"ticksStyles\\\"></div></div><div class=\\\"mat-slider-thumb-container\\\" [ngStyle]=\\\"thumbContainerStyles\\\"><div class=\\\"mat-slider-thumb\\\"></div><div class=\\\"mat-slider-thumb-label\\\"><span class=\\\"mat-slider-thumb-label-text\\\">{{displayValue}}</span></div></div></div>\",\n styles: [\".mat-slider-track-background,.mat-slider-track-fill{transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider{display:inline-block;position:relative;box-sizing:border-box;padding:8px;outline:0;vertical-align:middle}.mat-slider-wrapper{position:absolute}.mat-slider-track-wrapper{position:absolute;top:0;left:0;overflow:hidden}.mat-slider-track-fill{position:absolute;transform-origin:0 0}.mat-slider-track-background{position:absolute;transform-origin:100% 100%}.mat-slider-ticks-container{position:absolute;left:0;top:0;overflow:hidden}.mat-slider-ticks{box-sizing:border-box;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-disabled .mat-slider-ticks{opacity:0}.mat-slider-thumb-container{position:absolute;z-index:1;transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb{position:absolute;right:-10px;bottom:-10px;box-sizing:border-box;width:20px;height:20px;border:3px solid transparent;border-radius:50%;transform:scale(.7);transition:transform .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1),border-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label{display:none;align-items:center;justify-content:center;position:absolute;width:28px;height:28px;border-radius:50%;transition:transform .4s cubic-bezier(.25,.8,.25,1),border-radius .4s cubic-bezier(.25,.8,.25,1),background-color .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-thumb-label-text{z-index:1;font-size:12px;font-weight:700;opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-sliding .mat-slider-thumb-container,.mat-slider-sliding .mat-slider-track-background,.mat-slider-sliding .mat-slider-track-fill{transition-duration:0s}.mat-slider-has-ticks .mat-slider-wrapper::after{content:'';position:absolute;border:0 solid rgba(0,0,0,.6);opacity:0;transition:opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-slider-active .mat-slider-thumb-label-text,.mat-slider-has-ticks.mat-slider-active .mat-slider-ticks,.mat-slider-has-ticks.mat-slider-active:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after,.mat-slider-has-ticks:hover .mat-slider-ticks,.mat-slider-has-ticks:hover:not(.mat-slider-hide-last-tick) .mat-slider-wrapper::after{opacity:1}.mat-slider-thumb-label-showing .mat-slider-thumb-label{display:flex}.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:100% 100%}.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:0 0}.mat-slider-active .mat-slider-thumb{border-width:2px;transform:scale(1)}.mat-slider-active.mat-slider-thumb-label-showing .mat-slider-thumb{transform:scale(0)}.mat-slider-active .mat-slider-thumb-label{border-radius:50% 50% 0}.mat-slider-disabled .mat-slider-thumb{border-width:4px;transform:scale(.5)}.mat-slider-disabled .mat-slider-thumb-label{display:none}.mat-slider-horizontal{height:48px;min-width:128px}.mat-slider-horizontal .mat-slider-wrapper{height:2px;top:23px;left:8px;right:8px}.mat-slider-horizontal .mat-slider-wrapper::after{height:2px;border-left-width:2px;right:0;top:0}.mat-slider-horizontal .mat-slider-track-wrapper{height:2px;width:100%}.mat-slider-horizontal .mat-slider-track-fill{height:2px;width:100%;transform:scaleX(0)}.mat-slider-horizontal .mat-slider-track-background{height:2px;width:100%;transform:scaleX(1)}.mat-slider-horizontal .mat-slider-ticks-container{height:2px;width:100%}.mat-slider-horizontal .mat-slider-ticks{background:repeating-linear-gradient(to right,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background:-moz-repeating-linear-gradient(.0001deg,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background-clip:content-box;height:2px;width:100%}.mat-slider-horizontal .mat-slider-thumb-container{width:100%;height:0;top:50%}.mat-slider-horizontal .mat-slider-thumb-label{right:-14px;top:-40px;transform:translateY(26px) scale(.01) rotate(45deg)}.mat-slider-horizontal .mat-slider-thumb-label-text{transform:rotate(-45deg)}.mat-slider-horizontal.mat-slider-active .mat-slider-thumb-label{transform:rotate(45deg)}.mat-slider-vertical{width:48px;min-height:128px}.mat-slider-vertical .mat-slider-wrapper{width:2px;top:8px;bottom:8px;left:23px}.mat-slider-vertical .mat-slider-wrapper::after{width:2px;border-top-width:2px;bottom:0;left:0}.mat-slider-vertical .mat-slider-track-wrapper{height:100%;width:2px}.mat-slider-vertical .mat-slider-track-fill{height:100%;width:2px;transform:scaleY(0)}.mat-slider-vertical .mat-slider-track-background{height:100%;width:2px;transform:scaleY(1)}.mat-slider-vertical .mat-slider-ticks-container{width:2px;height:100%}.mat-slider-vertical .mat-slider-ticks{background:repeating-linear-gradient(to bottom,rgba(0,0,0,.6),rgba(0,0,0,.6) 2px,transparent 0,transparent);background-clip:content-box;width:2px;height:100%}.mat-slider-vertical .mat-slider-thumb-container{height:100%;width:0;left:50%}.mat-slider-vertical .mat-slider-thumb-label{bottom:-14px;left:-40px;transform:translateX(26px) scale(.01) rotate(-45deg)}.mat-slider-vertical .mat-slider-thumb-label-text{transform:rotate(45deg)}.mat-slider-vertical.mat-slider-active .mat-slider-thumb-label{transform:rotate(-45deg)}[dir=rtl] .mat-slider-wrapper::after{left:0;right:auto}[dir=rtl] .mat-slider-horizontal .mat-slider-track-fill{transform-origin:100% 100%}[dir=rtl] .mat-slider-horizontal .mat-slider-track-background,[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-fill{transform-origin:0 0}[dir=rtl] .mat-slider-horizontal.mat-slider-axis-inverted .mat-slider-track-background{transform-origin:100% 100%}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n }),\n __param$7(0, _angular_core.Optional()), \n __metadata$38('design:paramtypes', [Dir, _angular_core.ElementRef])\n ], MdSlider);\n return MdSlider;\n}());\n/**\n * Renderer class in order to keep all dom manipulation in one place and outside of the main class.\n * @docs-private\n */\nvar SliderRenderer = (function () {\n function SliderRenderer(elementRef) {\n this._sliderElement = elementRef.nativeElement;\n }\n /**\n * Get the bounding client rect of the slider track element.\n * The track is used rather than the native element to ignore the extra space that the thumb can\n * take up.\n */\n SliderRenderer.prototype.getSliderDimensions = function () {\n var wrapperElement = this._sliderElement.querySelector('.mat-slider-wrapper');\n return wrapperElement.getBoundingClientRect();\n };\n /**\n * Focuses the native element.\n * Currently only used to allow a blur event to fire but will be used with keyboard input later.\n */\n SliderRenderer.prototype.addFocus = function () {\n this._sliderElement.focus();\n };\n return SliderRenderer;\n}());\nvar MdSliderModule = (function () {\n function MdSliderModule() {\n }\n /** @deprecated */\n MdSliderModule.forRoot = function () {\n return {\n ngModule: MdSliderModule,\n providers: []\n };\n };\n MdSliderModule = __decorate$38([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, _angular_forms.FormsModule, CompatibilityModule],\n exports: [MdSlider, CompatibilityModule],\n declarations: [MdSlider],\n providers: [{ provide: _angular_platformBrowser.HAMMER_GESTURE_CONFIG, useClass: GestureConfig }]\n }), \n __metadata$38('design:paramtypes', [])\n ], MdSliderModule);\n return MdSliderModule;\n}());\n\nvar __extends$9 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$39 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$39 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$8 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/** Exception thrown when two MdSidenav are matching the same side. */\nvar MdDuplicatedSidenavError = (function (_super) {\n __extends$9(MdDuplicatedSidenavError, _super);\n function MdDuplicatedSidenavError(align) {\n _super.call(this, \"A sidenav was already declared for 'align=\\\"\" + align + \"\\\"'\");\n }\n return MdDuplicatedSidenavError;\n}(MdError));\n/** Sidenav toggle promise result. */\nvar MdSidenavToggleResult = (function () {\n function MdSidenavToggleResult(type, animationFinished) {\n this.type = type;\n this.animationFinished = animationFinished;\n }\n return MdSidenavToggleResult;\n}());\n/**\n * <md-sidenav> component.\n *\n * This component corresponds to the drawer of the sidenav.\n *\n * Please refer to README.md for examples on how to use it.\n */\nvar MdSidenav = (function () {\n /**\n * @param _elementRef The DOM element reference. Used for transition and width calculation.\n * If not available we do not hook on transitions.\n */\n function MdSidenav(_elementRef, _renderer) {\n var _this = this;\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n /** Alignment of the sidenav (direction neutral); whether 'start' or 'end'. */\n this._align = 'start';\n this._valid = true;\n /** Mode of the sidenav; whether 'over' or 'side'. */\n this.mode = 'over';\n this._disableClose = false;\n /** Whether the sidenav is opened. */\n this._opened = false;\n /** Event emitted when the sidenav is being opened. Use this to synchronize animations. */\n this.onOpenStart = new _angular_core.EventEmitter();\n /** Event emitted when the sidenav is fully opened. */\n this.onOpen = new _angular_core.EventEmitter();\n /** Event emitted when the sidenav is being closed. Use this to synchronize animations. */\n this.onCloseStart = new _angular_core.EventEmitter();\n /** Event emitted when the sidenav is fully closed. */\n this.onClose = new _angular_core.EventEmitter();\n /** Event emitted when the sidenav alignment changes. */\n this.onAlignChanged = new _angular_core.EventEmitter();\n /** The current toggle animation promise. `null` if no animation is in progress. */\n this._toggleAnimationPromise = null;\n /**\n * The current toggle animation promise resolution function.\n * `null` if no animation is in progress.\n */\n this._resolveToggleAnimationPromise = null;\n this._elementFocusedBeforeSidenavWasOpened = null;\n this.onOpen.subscribe(function () {\n _this._elementFocusedBeforeSidenavWasOpened = document.activeElement;\n if (!_this.isFocusTrapDisabled) {\n _this._focusTrap.focusFirstTabbableElementWhenReady();\n }\n });\n this.onClose.subscribe(function () {\n if (_this._elementFocusedBeforeSidenavWasOpened instanceof HTMLElement) {\n _this._renderer.invokeElementMethod(_this._elementFocusedBeforeSidenavWasOpened, 'focus');\n }\n else {\n _this._renderer.invokeElementMethod(_this._elementRef.nativeElement, 'blur');\n }\n _this._elementFocusedBeforeSidenavWasOpened = null;\n });\n }\n Object.defineProperty(MdSidenav.prototype, \"valid\", {\n /** Whether this md-sidenav is part of a valid md-sidenav-container configuration. */\n get: function () { return this._valid; },\n set: function (value) {\n value = coerceBooleanProperty(value);\n // When the drawers are not in a valid configuration we close them all until they are in a valid\n // configuration again.\n if (!value) {\n this.close();\n }\n this._valid = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"align\", {\n /** Direction which the sidenav is aligned in. */\n get: function () { return this._align; },\n set: function (value) {\n // Make sure we have a valid value.\n value = (value == 'end') ? 'end' : 'start';\n if (value != this._align) {\n this._align = value;\n this.onAlignChanged.emit();\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"disableClose\", {\n /** Whether the sidenav can be closed with the escape key or not. */\n get: function () { return this._disableClose; },\n set: function (value) { this._disableClose = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"isFocusTrapDisabled\", {\n get: function () {\n // The focus trap is only enabled when the sidenav is open in any mode other than side.\n return !this.opened || this.mode == 'side';\n },\n enumerable: true,\n configurable: true\n });\n MdSidenav.prototype.ngAfterContentInit = function () {\n // This can happen when the sidenav is set to opened in the template and the transition\n // isn't ended.\n if (this._toggleAnimationPromise) {\n this._resolveToggleAnimationPromise(true);\n this._toggleAnimationPromise = this._resolveToggleAnimationPromise = null;\n }\n };\n Object.defineProperty(MdSidenav.prototype, \"opened\", {\n /**\n * Whether the sidenav is opened. We overload this because we trigger an event when it\n * starts or end.\n */\n get: function () { return this._opened; },\n set: function (v) {\n this.toggle(coerceBooleanProperty(v));\n },\n enumerable: true,\n configurable: true\n });\n /** Open this sidenav, and return a Promise that will resolve when it's fully opened (or get\n * rejected if it didn't). */\n MdSidenav.prototype.open = function () {\n return this.toggle(true);\n };\n /**\n * Close this sidenav, and return a Promise that will resolve when it's fully closed (or get\n * rejected if it didn't).\n */\n MdSidenav.prototype.close = function () {\n return this.toggle(false);\n };\n /**\n * Toggle this sidenav. This is equivalent to calling open() when it's already opened, or\n * close() when it's closed.\n * @param isOpen Whether the sidenav should be open.\n * @returns Resolves with the result of whether the sidenav was opened or closed.\n */\n MdSidenav.prototype.toggle = function (isOpen) {\n var _this = this;\n if (isOpen === void 0) { isOpen = !this.opened; }\n if (!this.valid) {\n return Promise.resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', true));\n }\n // Shortcut it if we're already opened.\n if (isOpen === this.opened) {\n return this._toggleAnimationPromise ||\n Promise.resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', true));\n }\n this._opened = isOpen;\n if (isOpen) {\n this.onOpenStart.emit();\n }\n else {\n this.onCloseStart.emit();\n }\n if (this._toggleAnimationPromise) {\n this._resolveToggleAnimationPromise(false);\n }\n this._toggleAnimationPromise = new Promise(function (resolve) {\n _this._resolveToggleAnimationPromise = function (animationFinished) {\n return resolve(new MdSidenavToggleResult(isOpen ? 'open' : 'close', animationFinished));\n };\n });\n return this._toggleAnimationPromise;\n };\n /**\n * Handles the keyboard events.\n * @docs-private\n */\n MdSidenav.prototype.handleKeydown = function (event) {\n if (event.keyCode === ESCAPE && !this.disableClose) {\n this.close();\n event.stopPropagation();\n }\n };\n /**\n * When transition has finished, set the internal state for classes and emit the proper event.\n * The event passed is actually of type TransitionEvent, but that type is not available in\n * Android so we use any.\n */\n MdSidenav.prototype._onTransitionEnd = function (transitionEvent) {\n if (transitionEvent.target == this._elementRef.nativeElement\n && transitionEvent.propertyName.endsWith('transform')) {\n if (this._opened) {\n this.onOpen.emit();\n }\n else {\n this.onClose.emit();\n }\n if (this._toggleAnimationPromise) {\n this._resolveToggleAnimationPromise(true);\n this._toggleAnimationPromise = this._resolveToggleAnimationPromise = null;\n }\n }\n };\n Object.defineProperty(MdSidenav.prototype, \"_isClosing\", {\n get: function () {\n return !this._opened && !!this._toggleAnimationPromise;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_isOpening\", {\n get: function () {\n return this._opened && !!this._toggleAnimationPromise;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_isClosed\", {\n get: function () {\n return !this._opened && !this._toggleAnimationPromise;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_isOpened\", {\n get: function () {\n return this._opened && !this._toggleAnimationPromise;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_isEnd\", {\n get: function () {\n return this.align == 'end';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_modeSide\", {\n get: function () {\n return this.mode == 'side';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_modeOver\", {\n get: function () {\n return this.mode == 'over';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_modePush\", {\n get: function () {\n return this.mode == 'push';\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenav.prototype, \"_width\", {\n get: function () {\n if (this._elementRef.nativeElement) {\n return this._elementRef.nativeElement.offsetWidth;\n }\n return 0;\n },\n enumerable: true,\n configurable: true\n });\n __decorate$39([\n _angular_core.ViewChild(FocusTrap), \n __metadata$39('design:type', FocusTrap)\n ], MdSidenav.prototype, \"_focusTrap\", void 0);\n __decorate$39([\n _angular_core.Input(), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"align\", null);\n __decorate$39([\n _angular_core.Input(), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"mode\", void 0);\n __decorate$39([\n _angular_core.Input(), \n __metadata$39('design:type', Boolean)\n ], MdSidenav.prototype, \"disableClose\", null);\n __decorate$39([\n _angular_core.Output('open-start'), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"onOpenStart\", void 0);\n __decorate$39([\n _angular_core.Output('open'), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"onOpen\", void 0);\n __decorate$39([\n _angular_core.Output('close-start'), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"onCloseStart\", void 0);\n __decorate$39([\n _angular_core.Output('close'), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"onClose\", void 0);\n __decorate$39([\n _angular_core.Output('align-changed'), \n __metadata$39('design:type', Object)\n ], MdSidenav.prototype, \"onAlignChanged\", void 0);\n __decorate$39([\n _angular_core.Input(), \n __metadata$39('design:type', Boolean)\n ], MdSidenav.prototype, \"opened\", null);\n MdSidenav = __decorate$39([\n _angular_core.Component({selector: 'md-sidenav, mat-sidenav',\n // TODO(mmalerba): move template to separate file.\n template: \"<cdk-focus-trap class=\\\"mat-sidenav-focus-trap\\\" [disabled]=\\\"isFocusTrapDisabled\\\"><ng-content></ng-content></cdk-focus-trap>\",\n host: {\n '[class.mat-sidenav]': 'true',\n '(transitionend)': '_onTransitionEnd($event)',\n '(keydown)': 'handleKeydown($event)',\n // must prevent the browser from aligning text based on value\n '[attr.align]': 'null',\n '[class.mat-sidenav-closed]': '_isClosed',\n '[class.mat-sidenav-closing]': '_isClosing',\n '[class.mat-sidenav-end]': '_isEnd',\n '[class.mat-sidenav-opened]': '_isOpened',\n '[class.mat-sidenav-opening]': '_isOpening',\n '[class.mat-sidenav-over]': '_modeOver',\n '[class.mat-sidenav-push]': '_modePush',\n '[class.mat-sidenav-side]': '_modeSide',\n '[class.mat-sidenav-invalid]': '!valid',\n 'tabIndex': '-1'\n },\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$39('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdSidenav);\n return MdSidenav;\n}());\n/**\n * <md-sidenav-container> component.\n *\n * This is the parent component to one or two <md-sidenav>s that validates the state internally\n * and coordinates the backdrop and content styling.\n */\nvar MdSidenavContainer = (function () {\n function MdSidenavContainer(_dir, _element, _renderer, _ngZone) {\n var _this = this;\n this._dir = _dir;\n this._element = _element;\n this._renderer = _renderer;\n this._ngZone = _ngZone;\n /** Event emitted when the sidenav backdrop is clicked. */\n this.backdropClick = new _angular_core.EventEmitter();\n /** Whether to enable open/close trantions. */\n this._enableTransitions = false;\n // If a `Dir` directive exists up the tree, listen direction changes and update the left/right\n // properties to point to the proper start/end.\n if (_dir != null) {\n _dir.dirChange.subscribe(function () { return _this._validateDrawers(); });\n }\n }\n Object.defineProperty(MdSidenavContainer.prototype, \"start\", {\n /** The sidenav child with the `start` alignment. */\n get: function () { return this._start; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdSidenavContainer.prototype, \"end\", {\n /** The sidenav child with the `end` alignment. */\n get: function () { return this._end; },\n enumerable: true,\n configurable: true\n });\n MdSidenavContainer.prototype.ngAfterContentInit = function () {\n var _this = this;\n // On changes, assert on consistency.\n this._sidenavs.changes.subscribe(function () { return _this._validateDrawers(); });\n this._sidenavs.forEach(function (sidenav) {\n _this._watchSidenavToggle(sidenav);\n _this._watchSidenavAlign(sidenav);\n });\n this._validateDrawers();\n // Give the view a chance to render the initial state, then enable transitions.\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () { return _this._enableTransitions = true; });\n };\n /**\n * Subscribes to sidenav events in order to set a class on the main container element when the\n * sidenav is open and the backdrop is visible. This ensures any overflow on the container element\n * is properly hidden.\n */\n MdSidenavContainer.prototype._watchSidenavToggle = function (sidenav) {\n var _this = this;\n if (!sidenav || sidenav.mode === 'side') {\n return;\n }\n sidenav.onOpen.subscribe(function () { return _this._setContainerClass(sidenav, true); });\n sidenav.onClose.subscribe(function () { return _this._setContainerClass(sidenav, false); });\n };\n /**\n * Subscribes to sidenav onAlignChanged event in order to re-validate drawers when the align\n * changes.\n */\n MdSidenavContainer.prototype._watchSidenavAlign = function (sidenav) {\n var _this = this;\n if (!sidenav) {\n return;\n }\n sidenav.onAlignChanged.subscribe(function () { return _this._validateDrawers(); });\n };\n /** Toggles the 'mat-sidenav-opened' class on the main 'md-sidenav-container' element. */\n MdSidenavContainer.prototype._setContainerClass = function (sidenav, bool) {\n this._renderer.setElementClass(this._element.nativeElement, 'mat-sidenav-opened', bool);\n };\n /** Sets the valid state of the drawers. */\n MdSidenavContainer.prototype._setDrawersValid = function (valid) {\n this._sidenavs.forEach(function (sidenav) {\n sidenav.valid = valid;\n });\n if (!valid) {\n this._start = this._end = this._left = this._right = null;\n }\n };\n /** Validate the state of the sidenav children components. */\n MdSidenavContainer.prototype._validateDrawers = function () {\n this._start = this._end = null;\n // Ensure that we have at most one start and one end sidenav.\n // NOTE: We must call toArray on _sidenavs even though it's iterable\n // (see https://github.com/Microsoft/TypeScript/issues/3164).\n for (var _i = 0, _a = this._sidenavs.toArray(); _i < _a.length; _i++) {\n var sidenav = _a[_i];\n if (sidenav.align == 'end') {\n if (this._end != null) {\n this._setDrawersValid(false);\n return;\n }\n this._end = sidenav;\n }\n else {\n if (this._start != null) {\n this._setDrawersValid(false);\n return;\n }\n this._start = sidenav;\n }\n }\n this._right = this._left = null;\n // Detect if we're LTR or RTL.\n if (this._dir == null || this._dir.value == 'ltr') {\n this._left = this._start;\n this._right = this._end;\n }\n else {\n this._left = this._end;\n this._right = this._start;\n }\n this._setDrawersValid(true);\n };\n MdSidenavContainer.prototype._onBackdropClicked = function () {\n this.backdropClick.emit();\n this._closeModalSidenav();\n };\n MdSidenavContainer.prototype._closeModalSidenav = function () {\n // Close all open sidenav's where closing is not disabled and the mode is not `side`.\n [this._start, this._end]\n .filter(function (sidenav) { return sidenav && !sidenav.disableClose && sidenav.mode !== 'side'; })\n .forEach(function (sidenav) { return sidenav.close(); });\n };\n MdSidenavContainer.prototype._isShowingBackdrop = function () {\n return (this._isSidenavOpen(this._start) && this._start.mode != 'side')\n || (this._isSidenavOpen(this._end) && this._end.mode != 'side');\n };\n MdSidenavContainer.prototype._isSidenavOpen = function (side) {\n return side != null && side.opened;\n };\n /**\n * Return the width of the sidenav, if it's in the proper mode and opened.\n * This may relayout the view, so do not call this often.\n * @param sidenav\n * @param mode\n */\n MdSidenavContainer.prototype._getSidenavEffectiveWidth = function (sidenav, mode) {\n return (this._isSidenavOpen(sidenav) && sidenav.mode == mode) ? sidenav._width : 0;\n };\n MdSidenavContainer.prototype._getMarginLeft = function () {\n return this._getSidenavEffectiveWidth(this._left, 'side');\n };\n MdSidenavContainer.prototype._getMarginRight = function () {\n return this._getSidenavEffectiveWidth(this._right, 'side');\n };\n MdSidenavContainer.prototype._getPositionLeft = function () {\n return this._getSidenavEffectiveWidth(this._left, 'push');\n };\n MdSidenavContainer.prototype._getPositionRight = function () {\n return this._getSidenavEffectiveWidth(this._right, 'push');\n };\n /**\n * Returns the horizontal offset for the content area. There should never be a value for both\n * left and right, so by subtracting the right value from the left value, we should always get\n * the appropriate offset.\n */\n MdSidenavContainer.prototype._getPositionOffset = function () {\n return this._getPositionLeft() - this._getPositionRight();\n };\n /**\n * This is using [ngStyle] rather than separate [style...] properties because [style.transform]\n * doesn't seem to work right now.\n */\n MdSidenavContainer.prototype._getStyles = function () {\n return {\n marginLeft: this._getMarginLeft() + \"px\",\n marginRight: this._getMarginRight() + \"px\",\n transform: \"translate3d(\" + this._getPositionOffset() + \"px, 0, 0)\"\n };\n };\n __decorate$39([\n _angular_core.ContentChildren(MdSidenav), \n __metadata$39('design:type', _angular_core.QueryList)\n ], MdSidenavContainer.prototype, \"_sidenavs\", void 0);\n __decorate$39([\n _angular_core.Output(), \n __metadata$39('design:type', Object)\n ], MdSidenavContainer.prototype, \"backdropClick\", void 0);\n MdSidenavContainer = __decorate$39([\n _angular_core.Component({selector: 'md-sidenav-container, mat-sidenav-container',\n // Do not use ChangeDetectionStrategy.OnPush. It does not work for this component because\n // technically it is a sibling of MdSidenav (on the content tree) and isn't updated when MdSidenav\n // changes its state.\n template: \"<div class=\\\"mat-sidenav-backdrop\\\" (click)=\\\"_onBackdropClicked()\\\" [class.mat-sidenav-shown]=\\\"_isShowingBackdrop()\\\"></div><ng-content select=\\\"md-sidenav, mat-sidenav\\\"></ng-content><div class=\\\"mat-sidenav-content\\\" [ngStyle]=\\\"_getStyles()\\\" cdk-scrollable><ng-content></ng-content></div>\",\n styles: [\".mat-sidenav-container{position:relative;transform:translate3d(0,0,0);box-sizing:border-box;-webkit-overflow-scrolling:touch;display:block;overflow:hidden}.mat-sidenav-backdrop,.mat-sidenav-container[fullscreen]{position:absolute;top:0;bottom:0;right:0;left:0}.mat-sidenav-container[fullscreen].mat-sidenav-opened{overflow:hidden}.mat-sidenav-backdrop{display:block;z-index:2;visibility:hidden}.mat-sidenav-backdrop.mat-sidenav-shown{visibility:visible}.mat-sidenav.mat-sidenav-closed,.mat-sidenav.mat-sidenav-end.mat-sidenav-closed,[dir=rtl] .mat-sidenav.mat-sidenav-closed,[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-closed{visibility:hidden}@media screen and (-ms-high-contrast:active){.mat-sidenav-backdrop{opacity:.5}}.mat-sidenav-content{position:relative;transform:translate3d(0,0,0);display:block;height:100%;overflow:auto}.mat-sidenav{display:block;position:absolute;top:0;bottom:0;z-index:3;min-width:5%;outline:0;transform:translate3d(-100%,0,0)}.mat-sidenav.mat-sidenav-opened,.mat-sidenav.mat-sidenav-opening{transform:translate3d(0,0,0)}.mat-sidenav.mat-sidenav-side{z-index:1}.mat-sidenav.mat-sidenav-end{right:0;transform:translate3d(100%,0,0)}.mat-sidenav.mat-sidenav-end.mat-sidenav-opened,.mat-sidenav.mat-sidenav-end.mat-sidenav-opening{transform:translate3d(0,0,0)}[dir=rtl] .mat-sidenav{transform:translate3d(100%,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-opened,[dir=rtl] .mat-sidenav.mat-sidenav-opening{transform:translate3d(0,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-end{left:0;right:auto;transform:translate3d(-100%,0,0)}[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-opened,[dir=rtl] .mat-sidenav.mat-sidenav-end.mat-sidenav-opening{transform:translate3d(0,0,0)}.mat-sidenav.mat-sidenav-opened:not(.mat-sidenav-side),.mat-sidenav.mat-sidenav-opening:not(.mat-sidenav-side){box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.mat-sidenav-focus-trap{height:100%}.mat-sidenav-focus-trap>.cdk-focus-trap-content{box-sizing:border-box;height:100%;overflow-y:auto;transform:translateZ(0)}.mat-sidenav-invalid{display:none}\",\n\".mat-sidenav-transition .mat-sidenav{transition:transform .4s cubic-bezier(.25,.8,.25,1)}.mat-sidenav-transition .mat-sidenav-content{transition-duration:.4s;transition-timing-function:cubic-bezier(.25,.8,.25,1);transition-property:transform,margin-left,margin-right}.mat-sidenav-transition .mat-sidenav-backdrop.mat-sidenav-shown{transition:background-color .4s cubic-bezier(.25,.8,.25,1)}\"],\n host: {\n '[class.mat-sidenav-container]': 'true',\n '[class.mat-sidenav-transition]': '_enableTransitions',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n }),\n __param$8(0, _angular_core.Optional()), \n __metadata$39('design:paramtypes', [Dir, _angular_core.ElementRef, _angular_core.Renderer, _angular_core.NgZone])\n ], MdSidenavContainer);\n return MdSidenavContainer;\n}());\nvar MdSidenavModule = (function () {\n function MdSidenavModule() {\n }\n /** @deprecated */\n MdSidenavModule.forRoot = function () {\n return {\n ngModule: MdSidenavModule,\n providers: []\n };\n };\n MdSidenavModule = __decorate$39([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, CompatibilityModule, A11yModule, OverlayModule],\n exports: [MdSidenavContainer, MdSidenav, CompatibilityModule],\n declarations: [MdSidenavContainer, MdSidenav],\n }), \n __metadata$39('design:paramtypes', [])\n ], MdSidenavModule);\n return MdSidenavModule;\n}());\n\nvar __decorate$40 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$40 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdListDivider = (function () {\n function MdListDivider() {\n }\n MdListDivider = __decorate$40([\n _angular_core.Directive({\n selector: 'md-divider, mat-divider'\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListDivider);\n return MdListDivider;\n}());\nvar MdList = (function () {\n function MdList() {\n }\n MdList = __decorate$40([\n _angular_core.Component({selector: 'md-list, mat-list, md-nav-list, mat-nav-list',\n host: {\n 'role': 'list' },\n template: '<ng-content></ng-content>',\n styles: [\".mat-list,.mat-nav-list{padding-top:8px;display:block}.mat-list .mat-subheader,.mat-nav-list .mat-subheader{display:block;box-sizing:border-box;height:48px;padding:16px;margin:0;font-size:14px;font-weight:500}.mat-list .mat-subheader:first-child,.mat-nav-list .mat-subheader:first-child{margin-top:-8px}.mat-list .mat-list-item,.mat-nav-list .mat-list-item{display:block}.mat-list .mat-list-item .mat-list-item-content,.mat-nav-list .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;box-sizing:border-box;font-size:16px;height:48px;padding:0 16px}.mat-list .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:56px}.mat-list .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-2-line .mat-list-item-content{height:72px}.mat-list .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-3-line .mat-list-item-content{height:88px}.mat-list .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list .mat-list-item .mat-list-text,.mat-nav-list .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list .mat-list-item .mat-list-text>*,.mat-nav-list .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list .mat-list-item .mat-list-text:empty,.mat-nav-list .mat-list-item .mat-list-text:empty{display:none}.mat-list .mat-list-item .mat-list-text:first-child,.mat-nav-list .mat-list-item .mat-list-text:first-child{padding:0}.mat-list .mat-list-item .mat-list-avatar,.mat-nav-list .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list .mat-list-item .mat-list-icon,.mat-nav-list .mat-list-item .mat-list-icon{width:24px;height:24px;border-radius:50%;padding:4px}.mat-list .mat-list-item .mat-line,.mat-nav-list .mat-list-item .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list .mat-list-item .mat-line:nth-child(n+2){font-size:14px}.mat-list[dense],.mat-nav-list[dense]{padding-top:4px;display:block}.mat-list[dense] .mat-subheader,.mat-nav-list[dense] .mat-subheader{display:block;box-sizing:border-box;height:40px;padding:16px;margin:0;font-size:13px;font-weight:500}.mat-list[dense] .mat-subheader:first-child,.mat-nav-list[dense] .mat-subheader:first-child{margin-top:-4px}.mat-list[dense] .mat-list-item,.mat-nav-list[dense] .mat-list-item{display:block}.mat-list[dense] .mat-list-item .mat-list-item-content,.mat-nav-list[dense] .mat-list-item .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;box-sizing:border-box;font-size:13px;height:40px;padding:0 16px}.mat-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-list-item-avatar .mat-list-item-content{height:48px}.mat-list[dense] .mat-list-item.mat-2-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-2-line .mat-list-item-content{height:60px}.mat-list[dense] .mat-list-item.mat-3-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-3-line .mat-list-item-content{height:76px}.mat-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content,.mat-nav-list[dense] .mat-list-item.mat-multi-line .mat-list-item-content{height:100%;padding:8px 16px}.mat-list[dense] .mat-list-item .mat-list-text,.mat-nav-list[dense] .mat-list-item .mat-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden;padding:0 16px}.mat-list[dense] .mat-list-item .mat-list-text>*,.mat-nav-list[dense] .mat-list-item .mat-list-text>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-list[dense] .mat-list-item .mat-list-text:empty,.mat-nav-list[dense] .mat-list-item .mat-list-text:empty{display:none}.mat-list[dense] .mat-list-item .mat-list-text:first-child,.mat-nav-list[dense] .mat-list-item .mat-list-text:first-child{padding:0}.mat-list[dense] .mat-list-item .mat-list-avatar,.mat-nav-list[dense] .mat-list-item .mat-list-avatar{flex-shrink:0;width:40px;height:40px;border-radius:50%}.mat-list[dense] .mat-list-item .mat-list-icon,.mat-nav-list[dense] .mat-list-item .mat-list-icon{width:24px;height:24px;border-radius:50%;padding:4px}.mat-list[dense] .mat-list-item .mat-line,.mat-nav-list[dense] .mat-list-item .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-list[dense] .mat-list-item .mat-line:nth-child(n+2),.mat-nav-list[dense] .mat-list-item .mat-line:nth-child(n+2){font-size:13px}.mat-divider{display:block;border-top-style:solid;border-top-width:1px;margin:0}.mat-nav-list a{text-decoration:none;color:inherit}.mat-nav-list .mat-list-item-content{cursor:pointer}.mat-nav-list .mat-list-item-content.mat-list-item-focus,.mat-nav-list .mat-list-item-content:hover{outline:0}\"],\n encapsulation: _angular_core.ViewEncapsulation.None\n }), \n __metadata$40('design:paramtypes', [])\n ], MdList);\n return MdList;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdListCssMatStyler = (function () {\n function MdListCssMatStyler() {\n }\n MdListCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: 'md-list, mat-list',\n host: {\n '[class.mat-list]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListCssMatStyler);\n return MdListCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdNavListCssMatStyler = (function () {\n function MdNavListCssMatStyler() {\n }\n MdNavListCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: 'md-nav-list, mat-nav-list',\n host: {\n '[class.mat-nav-list]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdNavListCssMatStyler);\n return MdNavListCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdDividerCssMatStyler = (function () {\n function MdDividerCssMatStyler() {\n }\n MdDividerCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: 'md-divider, mat-divider',\n host: {\n '[class.mat-divider]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdDividerCssMatStyler);\n return MdDividerCssMatStyler;\n}());\n/* Need directive for a ContentChild query in list-item */\nvar MdListAvatarCssMatStyler = (function () {\n function MdListAvatarCssMatStyler() {\n }\n MdListAvatarCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: '[md-list-avatar], [mat-list-avatar]',\n host: {\n '[class.mat-list-avatar]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListAvatarCssMatStyler);\n return MdListAvatarCssMatStyler;\n}());\n/* Need directive to add mat- CSS styling */\nvar MdListIconCssMatStyler = (function () {\n function MdListIconCssMatStyler() {\n }\n MdListIconCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: '[md-list-icon], [mat-list-icon]',\n host: {\n '[class.mat-list-icon]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListIconCssMatStyler);\n return MdListIconCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdListSubheaderCssMatStyler = (function () {\n function MdListSubheaderCssMatStyler() {\n }\n MdListSubheaderCssMatStyler = __decorate$40([\n _angular_core.Directive({\n selector: '[md-subheader], [mat-subheader]',\n host: {\n '[class.mat-subheader]': 'true'\n }\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListSubheaderCssMatStyler);\n return MdListSubheaderCssMatStyler;\n}());\nvar MdListItem = (function () {\n function MdListItem(_renderer, _element) {\n this._renderer = _renderer;\n this._element = _element;\n this._hasFocus = false;\n }\n Object.defineProperty(MdListItem.prototype, \"_hasAvatar\", {\n set: function (avatar) {\n this._renderer.setElementClass(this._element.nativeElement, 'mat-list-item-avatar', avatar != null);\n },\n enumerable: true,\n configurable: true\n });\n MdListItem.prototype.ngAfterContentInit = function () {\n this._lineSetter = new MdLineSetter(this._lines, this._renderer, this._element);\n };\n MdListItem.prototype._handleFocus = function () {\n this._hasFocus = true;\n };\n MdListItem.prototype._handleBlur = function () {\n this._hasFocus = false;\n };\n __decorate$40([\n _angular_core.ContentChildren(MdLine), \n __metadata$40('design:type', _angular_core.QueryList)\n ], MdListItem.prototype, \"_lines\", void 0);\n __decorate$40([\n _angular_core.ContentChild(MdListAvatarCssMatStyler), \n __metadata$40('design:type', MdListAvatarCssMatStyler), \n __metadata$40('design:paramtypes', [MdListAvatarCssMatStyler])\n ], MdListItem.prototype, \"_hasAvatar\", null);\n MdListItem = __decorate$40([\n _angular_core.Component({selector: 'md-list-item, mat-list-item, a[md-list-item], a[mat-list-item]',\n host: {\n 'role': 'listitem',\n '(focus)': '_handleFocus()',\n '(blur)': '_handleBlur()',\n '[class.mat-list-item]': 'true',\n },\n template: \"<div class=\\\"mat-list-item-content\\\" [class.mat-list-item-focus]=\\\"_hasFocus\\\"><ng-content select=\\\"[md-list-avatar],[md-list-icon], [mat-list-avatar], [mat-list-icon]\\\"></ng-content><div class=\\\"mat-list-text\\\"><ng-content select=\\\"[md-line], [mat-line]\\\"></ng-content></div><ng-content></ng-content></div>\",\n encapsulation: _angular_core.ViewEncapsulation.None\n }), \n __metadata$40('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdListItem);\n return MdListItem;\n}());\nvar MdListModule = (function () {\n function MdListModule() {\n }\n /** @deprecated */\n MdListModule.forRoot = function () {\n return {\n ngModule: MdListModule,\n providers: []\n };\n };\n MdListModule = __decorate$40([\n _angular_core.NgModule({\n imports: [MdLineModule, CompatibilityModule],\n exports: [\n MdList,\n MdListItem,\n MdListDivider,\n MdListAvatarCssMatStyler,\n MdLineModule,\n CompatibilityModule,\n MdListIconCssMatStyler,\n MdListCssMatStyler,\n MdNavListCssMatStyler,\n MdDividerCssMatStyler,\n MdListSubheaderCssMatStyler\n ],\n declarations: [\n MdList,\n MdListItem,\n MdListDivider,\n MdListAvatarCssMatStyler,\n MdListIconCssMatStyler,\n MdListCssMatStyler,\n MdNavListCssMatStyler,\n MdDividerCssMatStyler,\n MdListSubheaderCssMatStyler\n ],\n }), \n __metadata$40('design:paramtypes', [])\n ], MdListModule);\n return MdListModule;\n}());\n\n/**\n * Converts values into strings. Falsy values become empty strings.\n * @docs-private\n */\nfunction coerceToString(value) {\n return \"\" + (value || '');\n}\n/**\n * Converts a value that might be a string into a number.\n * @docs-private\n */\nfunction coerceToNumber(value) {\n return typeof value === 'string' ? parseInt(value, 10) : value;\n}\n\nvar __decorate$42 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$42 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdGridTile = (function () {\n function MdGridTile(_renderer, _element) {\n this._renderer = _renderer;\n this._element = _element;\n this._rowspan = 1;\n this._colspan = 1;\n }\n Object.defineProperty(MdGridTile.prototype, \"rowspan\", {\n /** Amount of rows that the grid tile takes up. */\n get: function () { return this._rowspan; },\n set: function (value) { this._rowspan = coerceToNumber(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdGridTile.prototype, \"colspan\", {\n /** Amount of columns that the grid tile takes up. */\n get: function () { return this._colspan; },\n set: function (value) { this._colspan = coerceToNumber(value); },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the style of the grid-tile element. Needs to be set manually to avoid\n * \"Changed after checked\" errors that would occur with HostBinding.\n */\n MdGridTile.prototype._setStyle = function (property, value) {\n this._renderer.setElementStyle(this._element.nativeElement, property, value);\n };\n __decorate$42([\n _angular_core.Input(), \n __metadata$42('design:type', Object)\n ], MdGridTile.prototype, \"rowspan\", null);\n __decorate$42([\n _angular_core.Input(), \n __metadata$42('design:type', Object)\n ], MdGridTile.prototype, \"colspan\", null);\n MdGridTile = __decorate$42([\n _angular_core.Component({selector: 'md-grid-tile, mat-grid-tile',\n host: {\n 'role': 'listitem',\n '[class.mat-grid-tile]': 'true',\n },\n template: \"<figure class=\\\"mat-figure\\\"><ng-content></ng-content></figure>\",\n styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{display:flex;position:absolute;align-items:center;justify-content:center;height:100%;top:0;right:0;bottom:0;left:0;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;font-size:16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer .mat-line,.mat-grid-tile .mat-grid-tile-header .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile .mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile .mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}.mat-grid-tile .mat-grid-list-text>*,.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-avatar:empty,.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$42('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdGridTile);\n return MdGridTile;\n}());\nvar MdGridTileText = (function () {\n function MdGridTileText(_renderer, _element) {\n this._renderer = _renderer;\n this._element = _element;\n }\n MdGridTileText.prototype.ngAfterContentInit = function () {\n this._lineSetter = new MdLineSetter(this._lines, this._renderer, this._element);\n };\n __decorate$42([\n _angular_core.ContentChildren(MdLine), \n __metadata$42('design:type', _angular_core.QueryList)\n ], MdGridTileText.prototype, \"_lines\", void 0);\n MdGridTileText = __decorate$42([\n _angular_core.Component({selector: 'md-grid-tile-header, mat-grid-tile-header, md-grid-tile-footer, mat-grid-tile-footer',\n template: \"<ng-content select=\\\"[md-grid-avatar], [mat-grid-avatar]\\\"></ng-content><div class=\\\"mat-grid-list-text\\\"><ng-content select=\\\"[md-line], [mat-line]\\\"></ng-content></div><ng-content></ng-content>\"\n }), \n __metadata$42('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdGridTileText);\n return MdGridTileText;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdGridAvatarCssMatStyler = (function () {\n function MdGridAvatarCssMatStyler() {\n }\n MdGridAvatarCssMatStyler = __decorate$42([\n _angular_core.Directive({\n selector: '[md-grid-avatar], [mat-grid-avatar]',\n host: {\n '[class.mat-grid-avatar]': 'true'\n }\n }), \n __metadata$42('design:paramtypes', [])\n ], MdGridAvatarCssMatStyler);\n return MdGridAvatarCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdGridTileHeaderCssMatStyler = (function () {\n function MdGridTileHeaderCssMatStyler() {\n }\n MdGridTileHeaderCssMatStyler = __decorate$42([\n _angular_core.Directive({\n selector: 'md-grid-tile-header, mat-grid-tile-header',\n host: {\n '[class.mat-grid-tile-header]': 'true'\n }\n }), \n __metadata$42('design:paramtypes', [])\n ], MdGridTileHeaderCssMatStyler);\n return MdGridTileHeaderCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdGridTileFooterCssMatStyler = (function () {\n function MdGridTileFooterCssMatStyler() {\n }\n MdGridTileFooterCssMatStyler = __decorate$42([\n _angular_core.Directive({\n selector: 'md-grid-tile-footer, mat-grid-tile-footer',\n host: {\n '[class.mat-grid-tile-footer]': 'true'\n }\n }), \n __metadata$42('design:paramtypes', [])\n ], MdGridTileFooterCssMatStyler);\n return MdGridTileFooterCssMatStyler;\n}());\n\nvar __extends$10 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Exception thrown when cols property is missing from grid-list\n * @docs-private\n */\nvar MdGridListColsError = (function (_super) {\n __extends$10(MdGridListColsError, _super);\n function MdGridListColsError() {\n _super.call(this, \"md-grid-list: must pass in number of columns. Example: <md-grid-list cols=\\\"3\\\">\");\n }\n return MdGridListColsError;\n}(MdError));\n/**\n * Exception thrown when a tile's colspan is longer than the number of cols in list\n * @docs-private\n */\nvar MdGridTileTooWideError = (function (_super) {\n __extends$10(MdGridTileTooWideError, _super);\n function MdGridTileTooWideError(cols, listLength) {\n _super.call(this, \"md-grid-list: tile with colspan \" + cols + \" is wider than grid with cols=\\\"\" + listLength + \"\\\".\");\n }\n return MdGridTileTooWideError;\n}(MdError));\n/**\n * Exception thrown when an invalid ratio is passed in as a rowHeight\n * @docs-private\n */\nvar MdGridListBadRatioError = (function (_super) {\n __extends$10(MdGridListBadRatioError, _super);\n function MdGridListBadRatioError(value) {\n _super.call(this, \"md-grid-list: invalid ratio given for row-height: \\\"\" + value + \"\\\"\");\n }\n return MdGridListBadRatioError;\n}(MdError));\n\n/**\n * Class for determining, from a list of tiles, the (row, col) position of each of those tiles\n * in the grid. This is necessary (rather than just rendering the tiles in normal document flow)\n * because the tiles can have a rowspan.\n *\n * The positioning algorithm greedily places each tile as soon as it encounters a gap in the grid\n * large enough to accommodate it so that the tiles still render in the same order in which they\n * are given.\n *\n * The basis of the algorithm is the use of an array to track the already placed tiles. Each\n * element of the array corresponds to a column, and the value indicates how many cells in that\n * column are already occupied; zero indicates an empty cell. Moving \"down\" to the next row\n * decrements each value in the tracking array (indicating that the column is one cell closer to\n * being free).\n *\n * @docs-private\n */\nvar TileCoordinator = (function () {\n function TileCoordinator(numColumns, tiles) {\n var _this = this;\n /** Index at which the search for the next gap will start. */\n this.columnIndex = 0;\n /** The current row index. */\n this.rowIndex = 0;\n this.tracker = new Array(numColumns);\n this.tracker.fill(0, 0, this.tracker.length);\n this.positions = tiles.map(function (tile) { return _this._trackTile(tile); });\n }\n Object.defineProperty(TileCoordinator.prototype, \"rowCount\", {\n /** Gets the total number of rows occupied by tiles */\n get: function () { return this.rowIndex + 1; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(TileCoordinator.prototype, \"rowspan\", {\n /** Gets the total span of rows occupied by tiles.\n * Ex: A list with 1 row that contains a tile with rowspan 2 will have a total rowspan of 2. */\n get: function () {\n var lastRowMax = Math.max.apply(Math, this.tracker);\n // if any of the tiles has a rowspan that pushes it beyond the total row count,\n // add the difference to the rowcount\n return lastRowMax > 1 ? this.rowCount + lastRowMax - 1 : this.rowCount;\n },\n enumerable: true,\n configurable: true\n });\n /** Calculates the row and col position of a tile. */\n TileCoordinator.prototype._trackTile = function (tile) {\n // Find a gap large enough for this tile.\n var gapStartIndex = this._findMatchingGap(tile.colspan);\n // Place tile in the resulting gap.\n this._markTilePosition(gapStartIndex, tile);\n // The next time we look for a gap, the search will start at columnIndex, which should be\n // immediately after the tile that has just been placed.\n this.columnIndex = gapStartIndex + tile.colspan;\n return new TilePosition(this.rowIndex, gapStartIndex);\n };\n /** Finds the next available space large enough to fit the tile. */\n TileCoordinator.prototype._findMatchingGap = function (tileCols) {\n if (tileCols > this.tracker.length) {\n throw new MdGridTileTooWideError(tileCols, this.tracker.length);\n }\n // Start index is inclusive, end index is exclusive.\n var gapStartIndex = -1;\n var gapEndIndex = -1;\n // Look for a gap large enough to fit the given tile. Empty spaces are marked with a zero.\n do {\n // If we've reached the end of the row, go to the next row.\n if (this.columnIndex + tileCols > this.tracker.length) {\n this._nextRow();\n continue;\n }\n gapStartIndex = this.tracker.indexOf(0, this.columnIndex);\n // If there are no more empty spaces in this row at all, move on to the next row.\n if (gapStartIndex == -1) {\n this._nextRow();\n continue;\n }\n gapEndIndex = this._findGapEndIndex(gapStartIndex);\n // If a gap large enough isn't found, we want to start looking immediately after the current\n // gap on the next iteration.\n this.columnIndex = gapStartIndex + 1;\n } while (gapEndIndex - gapStartIndex < tileCols);\n return gapStartIndex;\n };\n /** Move \"down\" to the next row. */\n TileCoordinator.prototype._nextRow = function () {\n this.columnIndex = 0;\n this.rowIndex++;\n // Decrement all spaces by one to reflect moving down one row.\n for (var i = 0; i < this.tracker.length; i++) {\n this.tracker[i] = Math.max(0, this.tracker[i] - 1);\n }\n };\n /**\n * Finds the end index (exclusive) of a gap given the index from which to start looking.\n * The gap ends when a non-zero value is found.\n */\n TileCoordinator.prototype._findGapEndIndex = function (gapStartIndex) {\n for (var i = gapStartIndex + 1; i < this.tracker.length; i++) {\n if (this.tracker[i] != 0) {\n return i;\n }\n }\n // The gap ends with the end of the row.\n return this.tracker.length;\n };\n /** Update the tile tracker to account for the given tile in the given space. */\n TileCoordinator.prototype._markTilePosition = function (start, tile) {\n for (var i = 0; i < tile.colspan; i++) {\n this.tracker[start + i] = tile.rowspan;\n }\n };\n return TileCoordinator;\n}());\n/**\n * Simple data structure for tile position (row, col).\n * @docs-private\n */\nvar TilePosition = (function () {\n function TilePosition(row, col) {\n this.row = row;\n this.col = col;\n }\n return TilePosition;\n}());\n\nvar __extends$11 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Sets the style properties for an individual tile, given the position calculated by the\n * Tile Coordinator.\n * @docs-private\n */\nvar TileStyler = (function () {\n function TileStyler() {\n this._rows = 0;\n this._rowspan = 0;\n }\n /**\n * Adds grid-list layout info once it is available. Cannot be processed in the constructor\n * because these properties haven't been calculated by that point.\n *\n * @param gutterSize Size of the grid's gutter.\n * @param tracker Instance of the TileCoordinator.\n * @param cols Amount of columns in the grid.\n * @param direction Layout direction of the grid.\n */\n TileStyler.prototype.init = function (gutterSize, tracker, cols, direction) {\n this._gutterSize = normalizeUnits(gutterSize);\n this._rows = tracker.rowCount;\n this._rowspan = tracker.rowspan;\n this._cols = cols;\n this._direction = direction;\n };\n /**\n * Computes the amount of space a single 1x1 tile would take up (width or height).\n * Used as a basis for other calculations.\n * @param sizePercent Percent of the total grid-list space that one 1x1 tile would take up.\n * @param gutterFraction Fraction of the gutter size taken up by one 1x1 tile.\n * @return The size of a 1x1 tile as an expression that can be evaluated via CSS calc().\n */\n TileStyler.prototype.getBaseTileSize = function (sizePercent, gutterFraction) {\n // Take the base size percent (as would be if evenly dividing the size between cells),\n // and then subtracting the size of one gutter. However, since there are no gutters on the\n // edges, each tile only uses a fraction (gutterShare = numGutters / numCells) of the gutter\n // size. (Imagine having one gutter per tile, and then breaking up the extra gutter on the\n // edge evenly among the cells).\n return \"(\" + sizePercent + \"% - ( \" + this._gutterSize + \" * \" + gutterFraction + \" ))\";\n };\n /**\n * Gets The horizontal or vertical position of a tile, e.g., the 'top' or 'left' property value.\n * @param offset Number of tiles that have already been rendered in the row/column.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @return Position of the tile as a CSS calc() expression.\n */\n TileStyler.prototype.getTilePosition = function (baseSize, offset) {\n // The position comes the size of a 1x1 tile plus gutter for each previous tile in the\n // row/column (offset).\n return calc(\"(\" + baseSize + \" + \" + this._gutterSize + \") * \" + offset);\n };\n /**\n * Gets the actual size of a tile, e.g., width or height, taking rowspan or colspan into account.\n * @param baseSize Base size of a 1x1 tile (as computed in getBaseTileSize).\n * @param span The tile's rowspan or colspan.\n * @return Size of the tile as a CSS calc() expression.\n */\n TileStyler.prototype.getTileSize = function (baseSize, span) {\n return \"(\" + baseSize + \" * \" + span + \") + (\" + (span - 1) + \" * \" + this._gutterSize + \")\";\n };\n /**\n * Sets the style properties to be applied to a tile for the given row and column index.\n * @param tile Tile to which to apply the styling.\n * @param rowIndex Index of the tile's row.\n * @param colIndex Index of the tile's column.\n */\n TileStyler.prototype.setStyle = function (tile, rowIndex, colIndex) {\n // Percent of the available horizontal space that one column takes up.\n var percentWidthPerTile = 100 / this._cols;\n // Fraction of the vertical gutter size that each column takes up.\n // For example, if there are 5 columns, each column uses 4/5 = 0.8 times the gutter width.\n var gutterWidthFractionPerTile = (this._cols - 1) / this._cols;\n this.setColStyles(tile, colIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n this.setRowStyles(tile, rowIndex, percentWidthPerTile, gutterWidthFractionPerTile);\n };\n /** Sets the horizontal placement of the tile in the list. */\n TileStyler.prototype.setColStyles = function (tile, colIndex, percentWidth, gutterWidth) {\n // Base horizontal size of a column.\n var baseTileWidth = this.getBaseTileSize(percentWidth, gutterWidth);\n // The width and horizontal position of each tile is always calculated the same way, but the\n // height and vertical position depends on the rowMode.\n var side = this._direction === 'ltr' ? 'left' : 'right';\n tile._setStyle(side, this.getTilePosition(baseTileWidth, colIndex));\n tile._setStyle('width', calc(this.getTileSize(baseTileWidth, tile.colspan)));\n };\n /**\n * Calculates the total size taken up by gutters across one axis of a list.\n */\n TileStyler.prototype.getGutterSpan = function () {\n return this._gutterSize + \" * (\" + this._rowspan + \" - 1)\";\n };\n /**\n * Calculates the total size taken up by tiles across one axis of a list.\n * @param tileHeight Height of the tile.\n */\n TileStyler.prototype.getTileSpan = function (tileHeight) {\n return this._rowspan + \" * \" + this.getTileSize(tileHeight, 1);\n };\n /**\n * Sets the vertical placement of the tile in the list.\n * This method will be implemented by each type of TileStyler.\n * @docs-private\n */\n TileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) { };\n /**\n * Calculates the computed height and returns the correct style property to set.\n * This method will be implemented by each type of TileStyler.\n * @docs-private\n */\n TileStyler.prototype.getComputedHeight = function () { return null; };\n return TileStyler;\n}());\n/**\n * This type of styler is instantiated when the user passes in a fixed row height.\n * Example <md-grid-list cols=\"3\" rowHeight=\"100px\">\n * @docs-private\n */\nvar FixedTileStyler = (function (_super) {\n __extends$11(FixedTileStyler, _super);\n function FixedTileStyler(fixedRowHeight) {\n _super.call(this);\n this.fixedRowHeight = fixedRowHeight;\n }\n FixedTileStyler.prototype.init = function (gutterSize, tracker, cols, direction) {\n _super.prototype.init.call(this, gutterSize, tracker, cols, direction);\n this.fixedRowHeight = normalizeUnits(this.fixedRowHeight);\n };\n FixedTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n tile._setStyle('top', this.getTilePosition(this.fixedRowHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(this.fixedRowHeight, tile.rowspan)));\n };\n FixedTileStyler.prototype.getComputedHeight = function () {\n return [\n 'height', calc(this.getTileSpan(this.fixedRowHeight) + \" + \" + this.getGutterSpan())\n ];\n };\n return FixedTileStyler;\n}(TileStyler));\n/**\n * This type of styler is instantiated when the user passes in a width:height ratio\n * for the row height. Example <md-grid-list cols=\"3\" rowHeight=\"3:1\">\n * @docs-private\n */\nvar RatioTileStyler = (function (_super) {\n __extends$11(RatioTileStyler, _super);\n function RatioTileStyler(value) {\n _super.call(this);\n this._parseRatio(value);\n }\n RatioTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n var percentHeightPerTile = percentWidth / this.rowHeightRatio;\n this.baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterWidth);\n // Use paddingTop and marginTop to maintain the given aspect ratio, as\n // a percentage-based value for these properties is applied versus the *width* of the\n // containing block. See http://www.w3.org/TR/CSS2/box.html#margin-properties\n tile._setStyle('marginTop', this.getTilePosition(this.baseTileHeight, rowIndex));\n tile._setStyle('paddingTop', calc(this.getTileSize(this.baseTileHeight, tile.rowspan)));\n };\n RatioTileStyler.prototype.getComputedHeight = function () {\n return [\n 'paddingBottom', calc(this.getTileSpan(this.baseTileHeight) + \" + \" + this.getGutterSpan())\n ];\n };\n RatioTileStyler.prototype._parseRatio = function (value) {\n var ratioParts = value.split(':');\n if (ratioParts.length !== 2) {\n throw new MdGridListBadRatioError(value);\n }\n this.rowHeightRatio = parseFloat(ratioParts[0]) / parseFloat(ratioParts[1]);\n };\n return RatioTileStyler;\n}(TileStyler));\n/**\n * This type of styler is instantiated when the user selects a \"fit\" row height mode.\n * In other words, the row height will reflect the total height of the container divided\n * by the number of rows. Example <md-grid-list cols=\"3\" rowHeight=\"fit\">\n *\n * @docs-private\n */\nvar FitTileStyler = (function (_super) {\n __extends$11(FitTileStyler, _super);\n function FitTileStyler() {\n _super.apply(this, arguments);\n }\n FitTileStyler.prototype.setRowStyles = function (tile, rowIndex, percentWidth, gutterWidth) {\n // Percent of the available vertical space that one row takes up.\n var percentHeightPerTile = 100 / this._rowspan;\n // Fraction of the horizontal gutter size that each column takes up.\n var gutterHeightPerTile = (this._rows - 1) / this._rows;\n // Base vertical size of a column.\n var baseTileHeight = this.getBaseTileSize(percentHeightPerTile, gutterHeightPerTile);\n tile._setStyle('top', this.getTilePosition(baseTileHeight, rowIndex));\n tile._setStyle('height', calc(this.getTileSize(baseTileHeight, tile.rowspan)));\n };\n return FitTileStyler;\n}(TileStyler));\n/** Wraps a CSS string in a calc function */\nfunction calc(exp) { return \"calc(\" + exp + \")\"; }\n/** Appends pixels to a CSS string if no units are given. */\nfunction normalizeUnits(value) {\n return (value.match(/px|em|rem/)) ? value : value + 'px';\n}\n\nvar __decorate$41 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$41 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$9 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n// TODO(kara): Conditional (responsive) column count / row size.\n// TODO(kara): Re-layout on window resize / media change (debounced).\n// TODO(kara): gridTileHeader and gridTileFooter.\nvar MD_FIT_MODE = 'fit';\nvar MdGridList = (function () {\n function MdGridList(_renderer, _element, _dir) {\n this._renderer = _renderer;\n this._element = _element;\n this._dir = _dir;\n /** The amount of space between tiles. This will be something like '5px' or '2em'. */\n this._gutter = '1px';\n }\n Object.defineProperty(MdGridList.prototype, \"cols\", {\n /** Amount of columns in the grid list. */\n get: function () { return this._cols; },\n set: function (value) { this._cols = coerceToNumber(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdGridList.prototype, \"gutterSize\", {\n /** Size of the grid list's gutter in pixels. */\n get: function () { return this._gutter; },\n set: function (value) { this._gutter = coerceToString(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdGridList.prototype, \"rowHeight\", {\n /** Set internal representation of row height from the user-provided value. */\n set: function (value) {\n this._rowHeight = coerceToString(value);\n this._setTileStyler();\n },\n enumerable: true,\n configurable: true\n });\n MdGridList.prototype.ngOnInit = function () {\n this._checkCols();\n this._checkRowHeight();\n };\n /**\n * The layout calculation is fairly cheap if nothing changes, so there's little cost\n * to run it frequently.\n */\n MdGridList.prototype.ngAfterContentChecked = function () {\n this._layoutTiles();\n };\n /** Throw a friendly error if cols property is missing */\n MdGridList.prototype._checkCols = function () {\n if (!this.cols) {\n throw new MdGridListColsError();\n }\n };\n /** Default to equal width:height if rowHeight property is missing */\n MdGridList.prototype._checkRowHeight = function () {\n if (!this._rowHeight) {\n this._tileStyler = new RatioTileStyler('1:1');\n }\n };\n /** Creates correct Tile Styler subtype based on rowHeight passed in by user */\n MdGridList.prototype._setTileStyler = function () {\n if (this._rowHeight === MD_FIT_MODE) {\n this._tileStyler = new FitTileStyler();\n }\n else if (this._rowHeight && this._rowHeight.indexOf(':') > -1) {\n this._tileStyler = new RatioTileStyler(this._rowHeight);\n }\n else {\n this._tileStyler = new FixedTileStyler(this._rowHeight);\n }\n };\n /** Computes and applies the size and position for all children grid tiles. */\n MdGridList.prototype._layoutTiles = function () {\n var _this = this;\n var tracker = new TileCoordinator(this.cols, this._tiles);\n var direction = this._dir ? this._dir.value : 'ltr';\n this._tileStyler.init(this.gutterSize, tracker, this.cols, direction);\n this._tiles.forEach(function (tile, index) {\n var pos = tracker.positions[index];\n _this._tileStyler.setStyle(tile, pos.row, pos.col);\n });\n this._setListStyle(this._tileStyler.getComputedHeight());\n };\n /** Sets style on the main grid-list element, given the style name and value. */\n MdGridList.prototype._setListStyle = function (style$$1) {\n if (style$$1) {\n this._renderer.setElementStyle(this._element.nativeElement, style$$1[0], style$$1[1]);\n }\n };\n __decorate$41([\n _angular_core.ContentChildren(MdGridTile), \n __metadata$41('design:type', _angular_core.QueryList)\n ], MdGridList.prototype, \"_tiles\", void 0);\n __decorate$41([\n _angular_core.Input(), \n __metadata$41('design:type', Object)\n ], MdGridList.prototype, \"cols\", null);\n __decorate$41([\n _angular_core.Input(), \n __metadata$41('design:type', Object)\n ], MdGridList.prototype, \"gutterSize\", null);\n __decorate$41([\n _angular_core.Input(), \n __metadata$41('design:type', Object), \n __metadata$41('design:paramtypes', [Object])\n ], MdGridList.prototype, \"rowHeight\", null);\n MdGridList = __decorate$41([\n _angular_core.Component({selector: 'md-grid-list, mat-grid-list',\n template: \"<div><ng-content></ng-content></div>\",\n styles: [\".mat-grid-list{display:block;position:relative}.mat-grid-tile{display:block;position:absolute;overflow:hidden}.mat-grid-tile .mat-figure{display:flex;position:absolute;align-items:center;justify-content:center;height:100%;top:0;right:0;bottom:0;left:0;padding:0;margin:0}.mat-grid-tile .mat-grid-tile-footer,.mat-grid-tile .mat-grid-tile-header{display:flex;align-items:center;height:48px;color:#fff;background:rgba(0,0,0,.38);overflow:hidden;padding:0 16px;font-size:16px;position:absolute;left:0;right:0}.mat-grid-tile .mat-grid-tile-footer .mat-line,.mat-grid-tile .mat-grid-tile-header .mat-line{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;box-sizing:border-box}.mat-grid-tile .mat-grid-tile-footer .mat-line:nth-child(n+2),.mat-grid-tile .mat-grid-tile-header .mat-line:nth-child(n+2){font-size:12px}.mat-grid-tile .mat-grid-list-text>*,.mat-grid-tile .mat-grid-tile-footer>*,.mat-grid-tile .mat-grid-tile-header>*{margin:0;padding:0;font-weight:400;font-size:inherit}.mat-grid-tile .mat-grid-tile-footer.mat-2-line,.mat-grid-tile .mat-grid-tile-header.mat-2-line{height:68px}.mat-grid-tile .mat-grid-list-text{display:flex;flex-direction:column;width:100%;box-sizing:border-box;overflow:hidden}.mat-grid-tile .mat-grid-avatar:empty,.mat-grid-tile .mat-grid-list-text:empty{display:none}.mat-grid-tile .mat-grid-tile-header{top:0}.mat-grid-tile .mat-grid-tile-footer{bottom:0}.mat-grid-tile .mat-grid-avatar{padding-right:16px}[dir=rtl] .mat-grid-tile .mat-grid-avatar{padding-right:0;padding-left:16px}\"],\n host: {\n 'role': 'list',\n '[class.mat-grid-list]': 'true',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n }),\n __param$9(2, _angular_core.Optional()), \n __metadata$41('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef, Dir])\n ], MdGridList);\n return MdGridList;\n}());\nvar MdGridListModule = (function () {\n function MdGridListModule() {\n }\n /** @deprecated */\n MdGridListModule.forRoot = function () {\n return {\n ngModule: MdGridListModule,\n providers: []\n };\n };\n MdGridListModule = __decorate$41([\n _angular_core.NgModule({\n imports: [MdLineModule, CompatibilityModule],\n exports: [\n MdGridList,\n MdGridTile,\n MdGridTileText,\n MdLineModule,\n CompatibilityModule,\n MdGridTileHeaderCssMatStyler,\n MdGridTileFooterCssMatStyler,\n MdGridAvatarCssMatStyler\n ],\n declarations: [\n MdGridList,\n MdGridTile,\n MdGridTileText,\n MdGridTileHeaderCssMatStyler,\n MdGridTileFooterCssMatStyler,\n MdGridAvatarCssMatStyler],\n }), \n __metadata$41('design:paramtypes', [])\n ], MdGridListModule);\n return MdGridListModule;\n}());\n\nvar __decorate$43 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$43 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Content of a card, needed as it's used as a selector in the API.\n */\nvar MdCardContent = (function () {\n function MdCardContent() {\n }\n MdCardContent = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-content, mat-card-content',\n host: {\n '[class.mat-card-content]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardContent);\n return MdCardContent;\n}());\n/**\n * Title of a card, needed as it's used as a selector in the API.\n */\nvar MdCardTitle = (function () {\n function MdCardTitle() {\n }\n MdCardTitle = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-title, mat-card-title',\n host: {\n '[class.mat-card-title]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardTitle);\n return MdCardTitle;\n}());\n/**\n * Sub-title of a card, needed as it's used as a selector in the API.\n */\nvar MdCardSubtitle = (function () {\n function MdCardSubtitle() {\n }\n MdCardSubtitle = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-subtitle, mat-card-subtitle',\n host: {\n '[class.mat-card-subtitle]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardSubtitle);\n return MdCardSubtitle;\n}());\n/**\n * Action section of a card, needed as it's used as a selector in the API.\n */\nvar MdCardActions = (function () {\n function MdCardActions() {\n }\n MdCardActions = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-actions, mat-card-actions',\n host: {\n '[class.mat-card-actions]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardActions);\n return MdCardActions;\n}());\n/**\n * Footer of a card, needed as it's used as a selector in the API.\n */\nvar MdCardFooter = (function () {\n function MdCardFooter() {\n }\n MdCardFooter = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-footer, mat-card-footer',\n host: {\n '[class.mat-card-footer]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardFooter);\n return MdCardFooter;\n}());\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardSmImage = (function () {\n function MdCardSmImage() {\n }\n MdCardSmImage = __decorate$43([\n _angular_core.Directive({\n selector: '[md-card-sm-image], [mat-card-sm-image]',\n host: {\n '[class.mat-card-sm-image]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardSmImage);\n return MdCardSmImage;\n}());\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardMdImage = (function () {\n function MdCardMdImage() {\n }\n MdCardMdImage = __decorate$43([\n _angular_core.Directive({\n selector: '[md-card-md-image], [mat-card-md-image]',\n host: {\n '[class.mat-card-md-image]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardMdImage);\n return MdCardMdImage;\n}());\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardLgImage = (function () {\n function MdCardLgImage() {\n }\n MdCardLgImage = __decorate$43([\n _angular_core.Directive({\n selector: '[md-card-lg-image], [mat-card-lg-image]',\n host: {\n 'class.mat-card-lg-image': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardLgImage);\n return MdCardLgImage;\n}());\n/**\n * Image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardImage = (function () {\n function MdCardImage() {\n }\n MdCardImage = __decorate$43([\n _angular_core.Directive({\n selector: '[md-card-image], [mat-card-image]',\n host: {\n '[class.mat-card-image]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardImage);\n return MdCardImage;\n}());\n/**\n * Large image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardXlImage = (function () {\n function MdCardXlImage() {\n }\n MdCardXlImage = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-xl-image, mat-card-xl-image',\n host: {\n '[class.mat-card-xl-image]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardXlImage);\n return MdCardXlImage;\n}());\n/**\n * Avatar image used in a card, needed to add the mat- CSS styling.\n */\nvar MdCardAvatar = (function () {\n function MdCardAvatar() {\n }\n MdCardAvatar = __decorate$43([\n _angular_core.Directive({\n selector: 'md-card-avatar, mat-card-avatar',\n host: {\n '[class.mat-card-avatar]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardAvatar);\n return MdCardAvatar;\n}());\n/**\n * A basic content container component that adds the styles of a Material design card.\n *\n * While this component can be used alone, it also provides a number\n * of preset styles for common card sections, including:\n * - md-card-title\n * - md-card-subtitle\n * - md-card-content\n * - md-card-actions\n * - md-card-footer\n */\nvar MdCard = (function () {\n function MdCard() {\n }\n MdCard = __decorate$43([\n _angular_core.Component({selector: 'md-card, mat-card',\n template: \"<ng-content></ng-content>\",\n styles: [\".mat-card{box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);transition:box-shadow 280ms cubic-bezier(.4,0,.2,1);will-change:box-shadow;display:block;position:relative;padding:24px;border-radius:2px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}@media screen and (-ms-high-contrast:active){.mat-card{outline:solid 1px}}.mat-card-flat{box-shadow:none}.mat-card-actions,.mat-card-content,.mat-card-subtitle,.mat-card-title{display:block;margin-bottom:16px}.mat-card-title{font-size:24px;font-weight:400}.mat-card-content,.mat-card-header .mat-card-title,.mat-card-subtitle{font-size:14px}.mat-card-actions{margin-left:-16px;margin-right:-16px;padding:8px 0}.mat-card-actions[align=end]{display:flex;justify-content:flex-end}.mat-card-image{width:calc(100% + 48px);margin:0 -24px 16px}.mat-card-xl-image{width:240px;height:240px;margin:-8px}.mat-card-footer{position:absolute;width:100%;min-height:5px;bottom:0;left:0}.mat-card-actions .mat-button,.mat-card-actions .mat-raised-button{margin:0 4px}.mat-card-header{display:flex;flex-direction:row;height:40px;margin:-8px 0 16px}.mat-card-header-text{height:40px;margin:0 8px}.mat-card-avatar{height:40px;width:40px;border-radius:50%}.mat-card-lg-image,.mat-card-md-image,.mat-card-sm-image{margin:-8px 0}.mat-card-title-group{display:flex;justify-content:space-between;margin:0 -8px}.mat-card-sm-image{width:80px;height:80px}.mat-card-md-image{width:112px;height:112px}.mat-card-lg-image{width:152px;height:152px}@media (max-width:600px){.mat-card{padding:24px 16px}.mat-card-actions{margin-left:-8px;margin-right:-8px}.mat-card-image{width:calc(100% + 32px);margin:16px -16px}.mat-card-title-group{margin:0}.mat-card-xl-image{margin-left:0;margin-right:0}.mat-card-header{margin:-8px 0 0}}.mat-card-content>:first-child,.mat-card>:first-child{margin-top:0}.mat-card-content>:last-child,.mat-card>:last-child{margin-bottom:0}.mat-card-image:first-child{margin-top:-24px}.mat-card>.mat-card-actions:last-child{margin-bottom:-16px;padding-bottom:0}.mat-card-actions .mat-button:first-child,.mat-card-actions .mat-raised-button:first-child{margin-left:0;margin-right:0}.mat-card-subtitle:not(:first-child),.mat-card-title:not(:first-child){margin-top:-4px}.mat-card-header .mat-card-subtitle:not(:first-child),.mat-card>.mat-card-xl-image:first-child{margin-top:-8px}.mat-card>.mat-card-xl-image:last-child{margin-bottom:-8px}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mat-card]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCard);\n return MdCard;\n}());\n/**\n * Component intended to be used within the `<md-card>` component. It adds styles for a\n * preset header section (i.e. a title, subtitle, and avatar layout).\n */\nvar MdCardHeader = (function () {\n function MdCardHeader() {\n }\n MdCardHeader = __decorate$43([\n _angular_core.Component({selector: 'md-card-header, mat-card-header',\n template: \"<ng-content select=\\\"[md-card-avatar], [mat-card-avatar]\\\"></ng-content><div class=\\\"mat-card-header-text\\\"><ng-content select=\\\"md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle\\\"></ng-content></div><ng-content></ng-content>\",\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mat-card-header]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardHeader);\n return MdCardHeader;\n}());\n/**\n * Component intended to be used within the <md-card> component. It adds styles for a preset\n * layout that groups an image with a title section.\n */\nvar MdCardTitleGroup = (function () {\n function MdCardTitleGroup() {\n }\n MdCardTitleGroup = __decorate$43([\n _angular_core.Component({selector: 'md-card-title-group, mat-card-title-group',\n template: \"<div><ng-content select=\\\"md-card-title, mat-card-title, md-card-subtitle, mat-card-subtitle\\\"></ng-content></div><ng-content select=\\\"img\\\"></ng-content><ng-content></ng-content>\",\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n host: {\n '[class.mat-card-title-group]': 'true'\n }\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardTitleGroup);\n return MdCardTitleGroup;\n}());\nvar MdCardModule = (function () {\n function MdCardModule() {\n }\n /** @deprecated */\n MdCardModule.forRoot = function () {\n return {\n ngModule: MdCardModule,\n providers: []\n };\n };\n MdCardModule = __decorate$43([\n _angular_core.NgModule({\n imports: [CompatibilityModule],\n exports: [\n MdCard,\n MdCardHeader,\n MdCardTitleGroup,\n MdCardContent,\n MdCardTitle,\n MdCardSubtitle,\n MdCardActions,\n MdCardFooter,\n MdCardSmImage,\n MdCardMdImage,\n MdCardLgImage,\n MdCardImage,\n MdCardXlImage,\n MdCardAvatar,\n CompatibilityModule,\n ],\n declarations: [\n MdCard, MdCardHeader, MdCardTitleGroup, MdCardContent, MdCardTitle, MdCardSubtitle,\n MdCardActions, MdCardFooter, MdCardSmImage, MdCardMdImage, MdCardLgImage, MdCardImage,\n MdCardXlImage, MdCardAvatar,\n ],\n }), \n __metadata$43('design:paramtypes', [])\n ], MdCardModule);\n return MdCardModule;\n}());\n\nvar __decorate$45 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$45 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Material design styled Chip component. Used inside the MdChipList component.\n */\nvar MdChip = (function () {\n function MdChip(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n /** Whether or not the chip is disabled. Disabled chips cannot be focused. */\n this._disabled = null;\n /** Whether or not the chip is selected. */\n this._selected = false;\n /** The palette color of selected chips. */\n this._color = 'primary';\n /** Emitted when the chip is focused. */\n this.onFocus = new _angular_core.EventEmitter();\n /** Emitted when the chip is selected. */\n this.select = new _angular_core.EventEmitter();\n /** Emitted when the chip is deselected. */\n this.deselect = new _angular_core.EventEmitter();\n /** Emitted when the chip is destroyed. */\n this.destroy = new _angular_core.EventEmitter();\n }\n MdChip.prototype.ngOnInit = function () {\n this._addDefaultCSSClass();\n this._updateColor(this._color);\n };\n MdChip.prototype.ngOnDestroy = function () {\n this.destroy.emit({ chip: this });\n };\n Object.defineProperty(MdChip.prototype, \"disabled\", {\n /** Whether or not the chip is disabled. */\n get: function () {\n return this._disabled;\n },\n /** Sets the disabled state of the chip. */\n set: function (value) {\n this._disabled = coerceBooleanProperty(value) ? true : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdChip.prototype, \"_isAriaDisabled\", {\n /** A String representation of the current disabled state. */\n get: function () {\n return String(coerceBooleanProperty(this.disabled));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdChip.prototype, \"selected\", {\n /** Whether or not this chip is selected. */\n get: function () {\n return this._selected;\n },\n set: function (value) {\n this._selected = coerceBooleanProperty(value);\n if (this._selected) {\n this.select.emit({ chip: this });\n }\n else {\n this.deselect.emit({ chip: this });\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Toggles the current selected state of this chip.\n * @return Whether the chip is selected.\n */\n MdChip.prototype.toggleSelected = function () {\n this.selected = !this.selected;\n return this.selected;\n };\n Object.defineProperty(MdChip.prototype, \"color\", {\n /** The color of the chip. Can be `primary`, `accent`, or `warn`. */\n get: function () {\n return this._color;\n },\n set: function (value) {\n this._updateColor(value);\n },\n enumerable: true,\n configurable: true\n });\n /** Allows for programmatic focusing of the chip. */\n MdChip.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus');\n this.onFocus.emit({ chip: this });\n };\n /** Ensures events fire properly upon click. */\n MdChip.prototype._handleClick = function (event) {\n // Check disabled\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n else {\n this.focus();\n }\n };\n /** Initializes the appropriate CSS classes based on the chip type (basic or standard). */\n MdChip.prototype._addDefaultCSSClass = function () {\n var el = this._elementRef.nativeElement;\n // Always add the `mat-chip` class\n el.classList.add('mat-chip');\n // If we are a basic chip, also add the `mat-basic-chip` class for :not() targeting\n if (el.nodeName.toLowerCase() == 'mat-basic-chip' || el.hasAttribute('mat-basic-chip') ||\n el.nodeName.toLowerCase() == 'md-basic-chip' || el.hasAttribute('md-basic-chip')) {\n el.classList.add('mat-basic-chip');\n }\n };\n /** Updates the private _color variable and the native element. */\n MdChip.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n /** Sets the mat-color on the native element. */\n MdChip.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n __decorate$45([\n _angular_core.Output(), \n __metadata$45('design:type', Object)\n ], MdChip.prototype, \"select\", void 0);\n __decorate$45([\n _angular_core.Output(), \n __metadata$45('design:type', Object)\n ], MdChip.prototype, \"deselect\", void 0);\n __decorate$45([\n _angular_core.Output(), \n __metadata$45('design:type', Object)\n ], MdChip.prototype, \"destroy\", void 0);\n __decorate$45([\n _angular_core.Input(), \n __metadata$45('design:type', Boolean)\n ], MdChip.prototype, \"disabled\", null);\n __decorate$45([\n _angular_core.Input(), \n __metadata$45('design:type', Boolean)\n ], MdChip.prototype, \"selected\", null);\n __decorate$45([\n _angular_core.Input(), \n __metadata$45('design:type', String)\n ], MdChip.prototype, \"color\", null);\n MdChip = __decorate$45([\n _angular_core.Component({\n selector: \"md-basic-chip, [md-basic-chip], md-chip, [md-chip],\\n mat-basic-chip, [mat-basic-chip], mat-chip, [mat-chip]\",\n template: \"<ng-content></ng-content>\",\n host: {\n '[class.mat-chip]': 'true',\n 'tabindex': '-1',\n 'role': 'option',\n '[class.mat-chip-selected]': 'selected',\n '[attr.disabled]': 'disabled',\n '[attr.aria-disabled]': '_isAriaDisabled',\n '(click)': '_handleClick($event)'\n }\n }), \n __metadata$45('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdChip);\n return MdChip;\n}());\n\nvar __decorate$44 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$44 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * A material design chips component (named ChipList for it's similarity to the List component).\n *\n * Example:\n *\n * <md-chip-list>\n * <md-chip>Chip 1<md-chip>\n * <md-chip>Chip 2<md-chip>\n * </md-chip-list>\n */\nvar MdChipList = (function () {\n function MdChipList(_elementRef) {\n this._elementRef = _elementRef;\n /** Track which chips we're listening to for focus/destruction. */\n this._subscribed = new WeakMap();\n /** Whether or not the chip is selectable. */\n this._selectable = true;\n }\n MdChipList.prototype.ngAfterContentInit = function () {\n var _this = this;\n this._keyManager = new FocusKeyManager(this.chips).withWrap();\n // Go ahead and subscribe all of the initial chips\n this._subscribeChips(this.chips);\n // When the list changes, re-subscribe\n this.chips.changes.subscribe(function (chips) {\n _this._subscribeChips(chips);\n });\n };\n Object.defineProperty(MdChipList.prototype, \"selectable\", {\n /**\n * Whether or not this chip is selectable. When a chip is not selectable,\n * it's selected state is always ignored.\n */\n get: function () {\n return this._selectable;\n },\n set: function (value) {\n this._selectable = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Programmatically focus the chip list. This in turn focuses the first\n * non-disabled chip in this chip list.\n */\n MdChipList.prototype.focus = function () {\n // TODO: ARIA says this should focus the first `selected` chip.\n this._keyManager.setFirstItemActive();\n };\n /** Passes relevant key presses to our key manager. */\n MdChipList.prototype._keydown = function (event) {\n var target = event.target;\n // If they are on a chip, check for space/left/right, otherwise pass to our key manager\n if (target && target.classList.contains('mat-chip')) {\n switch (event.keyCode) {\n case SPACE:\n // If we are selectable, toggle the focused chip\n if (this.selectable) {\n this._toggleSelectOnFocusedChip();\n }\n // Always prevent space from scrolling the page since the list has focus\n event.preventDefault();\n break;\n case LEFT_ARROW:\n this._keyManager.setPreviousItemActive();\n event.preventDefault();\n break;\n case RIGHT_ARROW:\n this._keyManager.setNextItemActive();\n event.preventDefault();\n break;\n default:\n this._keyManager.onKeydown(event);\n }\n }\n };\n /** Toggles the selected state of the currently focused chip. */\n MdChipList.prototype._toggleSelectOnFocusedChip = function () {\n // Allow disabling of chip selection\n if (!this.selectable) {\n return;\n }\n var focusedIndex = this._keyManager.activeItemIndex;\n if (this._isValidIndex(focusedIndex)) {\n var focusedChip = this.chips.toArray()[focusedIndex];\n if (focusedChip) {\n focusedChip.toggleSelected();\n }\n }\n };\n /**\n * Iterate through the list of chips and add them to our list of\n * subscribed chips.\n *\n * @param chips The list of chips to be subscribed.\n */\n MdChipList.prototype._subscribeChips = function (chips) {\n var _this = this;\n chips.forEach(function (chip) { return _this._addChip(chip); });\n };\n /**\n * Add a specific chip to our subscribed list. If the chip has\n * already been subscribed, this ensures it is only subscribed\n * once.\n *\n * @param chip The chip to be subscribed (or checked for existing\n * subscription).\n */\n MdChipList.prototype._addChip = function (chip) {\n var _this = this;\n // If we've already been subscribed to a parent, do nothing\n if (this._subscribed.has(chip)) {\n return;\n }\n // Watch for focus events outside of the keyboard navigation\n chip.onFocus.subscribe(function () {\n var chipIndex = _this.chips.toArray().indexOf(chip);\n if (_this._isValidIndex(chipIndex)) {\n _this._keyManager.updateActiveItemIndex(chipIndex);\n }\n });\n // On destroy, remove the item from our list, and check focus\n chip.destroy.subscribe(function () {\n var chipIndex = _this.chips.toArray().indexOf(chip);\n if (_this._isValidIndex(chipIndex)) {\n // Check whether the chip is the last item\n if (chipIndex < _this.chips.length - 1) {\n _this._keyManager.setActiveItem(chipIndex);\n }\n else if (chipIndex - 1 >= 0) {\n _this._keyManager.setActiveItem(chipIndex - 1);\n }\n }\n _this._subscribed.delete(chip);\n chip.destroy.unsubscribe();\n });\n this._subscribed.set(chip, true);\n };\n /**\n * Utility to ensure all indexes are valid.\n *\n * @param index The index to be checked.\n * @returns True if the index is valid for our list of chips.\n */\n MdChipList.prototype._isValidIndex = function (index) {\n return index >= 0 && index < this.chips.length;\n };\n __decorate$44([\n _angular_core.Input(), \n __metadata$44('design:type', Boolean)\n ], MdChipList.prototype, \"selectable\", null);\n MdChipList = __decorate$44([\n _angular_core.Component({selector: 'md-chip-list, mat-chip-list',\n template: \"<div class=\\\"md-chip-list-wrapper\\\"><ng-content></ng-content></div>\",\n host: {\n // Properties\n 'tabindex': '0',\n 'role': 'listbox',\n '[class.mat-chip-list]': 'true',\n // Events\n '(focus)': 'focus()',\n '(keydown)': '_keydown($event)'\n },\n queries: {\n chips: new _angular_core.ContentChildren(MdChip)\n },\n styles: [\".mat-chip-list-wrapper{display:flex;flex-direction:row;flex-wrap:wrap;align-items:flex-start}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){margin:0 3px}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):first-child{margin-left:0;margin-right:3px}.mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child,[dir=rtl] .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):first-child{margin-left:3px;margin-right:0}[dir=rtl] .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child{margin-left:0;margin-right:3px}.mat-chip:not(.mat-basic-chip){display:inline-block;padding:8px 12px;border-radius:24px;font-size:13px;line-height:16px}.mat-chip-list-stacked .mat-chip-list-wrapper{display:block}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){display:block;margin:0 0 8px}[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip){margin:0 0 8px}.mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child,[dir=rtl] .mat-chip-list-stacked .mat-chip-list-wrapper .mat-chip:not(.mat-basic-chip):last-child{margin-bottom:0}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush\n }), \n __metadata$44('design:paramtypes', [_angular_core.ElementRef])\n ], MdChipList);\n return MdChipList;\n}());\nvar MdChipsModule = (function () {\n function MdChipsModule() {\n }\n /** @deprecated */\n MdChipsModule.forRoot = function () {\n return {\n ngModule: MdChipsModule,\n providers: []\n };\n };\n MdChipsModule = __decorate$44([\n _angular_core.NgModule({\n imports: [],\n exports: [MdChipList, MdChip],\n declarations: [MdChipList, MdChip]\n }), \n __metadata$44('design:paramtypes', [])\n ], MdChipsModule);\n return MdChipsModule;\n}());\n\nvar __extends$13 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$47 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$47 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Exception thrown when attempting to load an icon with a name that cannot be found.\n * @docs-private\n */\nvar MdIconNameNotFoundError = (function (_super) {\n __extends$13(MdIconNameNotFoundError, _super);\n function MdIconNameNotFoundError(iconName) {\n _super.call(this, \"Unable to find icon with the name \\\"\" + iconName + \"\\\"\");\n }\n return MdIconNameNotFoundError;\n}(MdError));\n/**\n * Exception thrown when attempting to load SVG content that does not contain the expected\n * <svg> tag.\n * @docs-private\n */\nvar MdIconSvgTagNotFoundError = (function (_super) {\n __extends$13(MdIconSvgTagNotFoundError, _super);\n function MdIconSvgTagNotFoundError() {\n _super.call(this, '<svg> tag not found');\n }\n return MdIconSvgTagNotFoundError;\n}(MdError));\n/**\n * Configuration for an icon, including the URL and possibly the cached SVG element.\n * @docs-private\n */\nvar SvgIconConfig = (function () {\n function SvgIconConfig(url) {\n this.url = url;\n this.svgElement = null;\n }\n return SvgIconConfig;\n}());\n/** Returns the cache key to use for an icon namespace and name. */\nvar iconKey = function (namespace, name) { return namespace + ':' + name; };\n/**\n * Service to register and display icons used by the <md-icon> component.\n * - Registers icon URLs by namespace and name.\n * - Registers icon set URLs by namespace.\n * - Registers aliases for CSS classes, for use with icon fonts.\n * - Loads icons from URLs and extracts individual icons from icon sets.\n */\nvar MdIconRegistry = (function () {\n function MdIconRegistry(_http, _sanitizer) {\n this._http = _http;\n this._sanitizer = _sanitizer;\n /**\n * URLs and cached SVG elements for individual icons. Keys are of the format \"[namespace]:[icon]\".\n */\n this._svgIconConfigs = new Map();\n /**\n * SvgIconConfig objects and cached SVG elements for icon sets, keyed by namespace.\n * Multiple icon sets can be registered under the same namespace.\n */\n this._iconSetConfigs = new Map();\n /** Cache for icons loaded by direct URLs. */\n this._cachedIconsByUrl = new Map();\n /** In-progress icon fetches. Used to coalesce multiple requests to the same URL. */\n this._inProgressUrlFetches = new Map();\n /** Map from font identifiers to their CSS class names. Used for icon fonts. */\n this._fontCssClassesByAlias = new Map();\n /**\n * The CSS class to apply when an <md-icon> component has no icon name, url, or font specified.\n * The default 'material-icons' value assumes that the material icon font has been loaded as\n * described at http://google.github.io/material-design-icons/#icon-font-for-the-web\n */\n this._defaultFontSetClass = 'material-icons';\n }\n /**\n * Registers an icon by URL in the default namespace.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n MdIconRegistry.prototype.addSvgIcon = function (iconName, url) {\n return this.addSvgIconInNamespace('', iconName, url);\n };\n /**\n * Registers an icon by URL in the specified namespace.\n * @param namespace Namespace in which the icon should be registered.\n * @param iconName Name under which the icon should be registered.\n * @param url\n */\n MdIconRegistry.prototype.addSvgIconInNamespace = function (namespace, iconName, url) {\n var key = iconKey(namespace, iconName);\n this._svgIconConfigs.set(key, new SvgIconConfig(url));\n return this;\n };\n /**\n * Registers an icon set by URL in the default namespace.\n * @param url\n */\n MdIconRegistry.prototype.addSvgIconSet = function (url) {\n return this.addSvgIconSetInNamespace('', url);\n };\n /**\n * Registers an icon set by URL in the specified namespace.\n * @param namespace Namespace in which to register the icon set.\n * @param url\n */\n MdIconRegistry.prototype.addSvgIconSetInNamespace = function (namespace, url) {\n var config = new SvgIconConfig(url);\n if (this._iconSetConfigs.has(namespace)) {\n this._iconSetConfigs.get(namespace).push(config);\n }\n else {\n this._iconSetConfigs.set(namespace, [config]);\n }\n return this;\n };\n /**\n * Defines an alias for a CSS class name to be used for icon fonts. Creating an mdIcon\n * component with the alias as the fontSet input will cause the class name to be applied\n * to the <md-icon> element.\n *\n * @param alias Alias for the font.\n * @param className Class name override to be used instead of the alias.\n */\n MdIconRegistry.prototype.registerFontClassAlias = function (alias, className) {\n if (className === void 0) { className = alias; }\n this._fontCssClassesByAlias.set(alias, className);\n return this;\n };\n /**\n * Returns the CSS class name associated with the alias by a previous call to\n * registerFontClassAlias. If no CSS class has been associated, returns the alias unmodified.\n */\n MdIconRegistry.prototype.classNameForFontAlias = function (alias) {\n return this._fontCssClassesByAlias.get(alias) || alias;\n };\n /**\n * Sets the CSS class name to be used for icon fonts when an <md-icon> component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n *\n * @param className\n */\n MdIconRegistry.prototype.setDefaultFontSetClass = function (className) {\n this._defaultFontSetClass = className;\n return this;\n };\n /**\n * Returns the CSS class name to be used for icon fonts when an <md-icon> component does not\n * have a fontSet input value, and is not loading an icon by name or URL.\n */\n MdIconRegistry.prototype.getDefaultFontSetClass = function () {\n return this._defaultFontSetClass;\n };\n /**\n * Returns an Observable that produces the icon (as an <svg> DOM element) from the given URL.\n * The response from the URL may be cached so this will not always cause an HTTP request, but\n * the produced element will always be a new copy of the originally fetched icon. (That is,\n * it will not contain any modifications made to elements previously returned).\n *\n * @param safeUrl URL from which to fetch the SVG icon.\n */\n MdIconRegistry.prototype.getSvgIconFromUrl = function (safeUrl) {\n var _this = this;\n var url = this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, safeUrl);\n if (this._cachedIconsByUrl.has(url)) {\n return rxjs_Observable.Observable.of(cloneSvg(this._cachedIconsByUrl.get(url)));\n }\n return this._loadSvgIconFromConfig(new SvgIconConfig(url))\n .do(function (svg) { return _this._cachedIconsByUrl.set(url, svg); })\n .map(function (svg) { return cloneSvg(svg); });\n };\n /**\n * Returns an Observable that produces the icon (as an <svg> DOM element) with the given name\n * and namespace. The icon must have been previously registered with addIcon or addIconSet;\n * if not, the Observable will throw an MdIconNameNotFoundError.\n *\n * @param name Name of the icon to be retrieved.\n * @param namespace Namespace in which to look for the icon.\n */\n MdIconRegistry.prototype.getNamedSvgIcon = function (name, namespace) {\n if (namespace === void 0) { namespace = ''; }\n // Return (copy of) cached icon if possible.\n var key = iconKey(namespace, name);\n if (this._svgIconConfigs.has(key)) {\n return this._getSvgFromConfig(this._svgIconConfigs.get(key));\n }\n // See if we have any icon sets registered for the namespace.\n var iconSetConfigs = this._iconSetConfigs.get(namespace);\n if (iconSetConfigs) {\n return this._getSvgFromIconSetConfigs(name, iconSetConfigs);\n }\n return rxjs_Observable.Observable.throw(new MdIconNameNotFoundError(key));\n };\n /**\n * Returns the cached icon for a SvgIconConfig if available, or fetches it from its URL if not.\n */\n MdIconRegistry.prototype._getSvgFromConfig = function (config) {\n if (config.svgElement) {\n // We already have the SVG element for this icon, return a copy.\n return rxjs_Observable.Observable.of(cloneSvg(config.svgElement));\n }\n else {\n // Fetch the icon from the config's URL, cache it, and return a copy.\n return this._loadSvgIconFromConfig(config)\n .do(function (svg) { return config.svgElement = svg; })\n .map(function (svg) { return cloneSvg(svg); });\n }\n };\n /**\n * Attempts to find an icon with the specified name in any of the SVG icon sets.\n * First searches the available cached icons for a nested element with a matching name, and\n * if found copies the element to a new <svg> element. If not found, fetches all icon sets\n * that have not been cached, and searches again after all fetches are completed.\n * The returned Observable produces the SVG element if possible, and throws\n * MdIconNameNotFoundError if no icon with the specified name can be found.\n */\n MdIconRegistry.prototype._getSvgFromIconSetConfigs = function (name, iconSetConfigs) {\n var _this = this;\n // For all the icon set SVG elements we've fetched, see if any contain an icon with the\n // requested name.\n var namedIcon = this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n if (namedIcon) {\n // We could cache namedIcon in _svgIconConfigs, but since we have to make a copy every\n // time anyway, there's probably not much advantage compared to just always extracting\n // it from the icon set.\n return rxjs_Observable.Observable.of(namedIcon);\n }\n // Not found in any cached icon sets. If there are icon sets with URLs that we haven't\n // fetched, fetch them now and look for iconName in the results.\n var iconSetFetchRequests = iconSetConfigs\n .filter(function (iconSetConfig) { return !iconSetConfig.svgElement; })\n .map(function (iconSetConfig) {\n return _this._loadSvgIconSetFromConfig(iconSetConfig)\n .catch(function (err, caught) {\n var url = _this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, iconSetConfig.url);\n // Swallow errors fetching individual URLs so the combined Observable won't\n // necessarily fail.\n console.log(\"Loading icon set URL: \" + url + \" failed: \" + err);\n return rxjs_Observable.Observable.of(null);\n })\n .do(function (svg) {\n // Cache SVG element.\n if (svg) {\n iconSetConfig.svgElement = svg;\n }\n });\n });\n // Fetch all the icon set URLs. When the requests complete, every IconSet should have a\n // cached SVG element (unless the request failed), and we can check again for the icon.\n return rxjs_Observable.Observable.forkJoin(iconSetFetchRequests)\n .map(function (ignoredResults) {\n var foundIcon = _this._extractIconWithNameFromAnySet(name, iconSetConfigs);\n if (!foundIcon) {\n throw new MdIconNameNotFoundError(name);\n }\n return foundIcon;\n });\n };\n /**\n * Searches the cached SVG elements for the given icon sets for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n MdIconRegistry.prototype._extractIconWithNameFromAnySet = function (iconName, iconSetConfigs) {\n // Iterate backwards, so icon sets added later have precedence.\n for (var i = iconSetConfigs.length - 1; i >= 0; i--) {\n var config = iconSetConfigs[i];\n if (config.svgElement) {\n var foundIcon = this._extractSvgIconFromSet(config.svgElement, iconName);\n if (foundIcon) {\n return foundIcon;\n }\n }\n }\n return null;\n };\n /**\n * Loads the content of the icon URL specified in the SvgIconConfig and creates an SVG element\n * from it.\n */\n MdIconRegistry.prototype._loadSvgIconFromConfig = function (config) {\n var _this = this;\n return this._fetchUrl(config.url)\n .map(function (svgText) { return _this._createSvgElementForSingleIcon(svgText); });\n };\n /**\n * Loads the content of the icon set URL specified in the SvgIconConfig and creates an SVG element\n * from it.\n */\n MdIconRegistry.prototype._loadSvgIconSetFromConfig = function (config) {\n var _this = this;\n // TODO: Document that icons should only be loaded from trusted sources.\n return this._fetchUrl(config.url)\n .map(function (svgText) { return _this._svgElementFromString(svgText); });\n };\n /**\n * Creates a DOM element from the given SVG string, and adds default attributes.\n */\n MdIconRegistry.prototype._createSvgElementForSingleIcon = function (responseText) {\n var svg = this._svgElementFromString(responseText);\n this._setSvgAttributes(svg);\n return svg;\n };\n /**\n * Searches the cached element of the given SvgIconConfig for a nested icon element whose \"id\"\n * tag matches the specified name. If found, copies the nested element to a new SVG element and\n * returns it. Returns null if no matching element is found.\n */\n MdIconRegistry.prototype._extractSvgIconFromSet = function (iconSet, iconName) {\n var iconNode = iconSet.querySelector('#' + iconName);\n if (!iconNode) {\n return null;\n }\n // If the icon node is itself an <svg> node, clone and return it directly. If not, set it as\n // the content of a new <svg> node.\n if (iconNode.tagName.toLowerCase() == 'svg') {\n return this._setSvgAttributes(iconNode.cloneNode(true));\n }\n // createElement('SVG') doesn't work as expected; the DOM ends up with\n // the correct nodes, but the SVG content doesn't render. Instead we\n // have to create an empty SVG node using innerHTML and append its content.\n // Elements created using DOMParser.parseFromString have the same problem.\n // http://stackoverflow.com/questions/23003278/svg-innerhtml-in-firefox-can-not-display\n var svg = this._svgElementFromString('<svg></svg>');\n // Clone the node so we don't remove it from the parent icon set element.\n svg.appendChild(iconNode.cloneNode(true));\n return this._setSvgAttributes(svg);\n };\n /**\n * Creates a DOM element from the given SVG string.\n */\n MdIconRegistry.prototype._svgElementFromString = function (str) {\n // TODO: Is there a better way than innerHTML? Renderer doesn't appear to have a method for\n // creating an element from an HTML string.\n var div = document.createElement('DIV');\n div.innerHTML = str;\n var svg = div.querySelector('svg');\n if (!svg) {\n throw new MdIconSvgTagNotFoundError();\n }\n return svg;\n };\n /**\n * Sets the default attributes for an SVG element to be used as an icon.\n */\n MdIconRegistry.prototype._setSvgAttributes = function (svg) {\n if (!svg.getAttribute('xmlns')) {\n svg.setAttribute('xmlns', 'http://www.w3.org/2000/svg');\n }\n svg.setAttribute('fit', '');\n svg.setAttribute('height', '100%');\n svg.setAttribute('width', '100%');\n svg.setAttribute('preserveAspectRatio', 'xMidYMid meet');\n svg.setAttribute('focusable', 'false'); // Disable IE11 default behavior to make SVGs focusable.\n return svg;\n };\n /**\n * Returns an Observable which produces the string contents of the given URL. Results may be\n * cached, so future calls with the same URL may not cause another HTTP request.\n */\n MdIconRegistry.prototype._fetchUrl = function (safeUrl) {\n var _this = this;\n var url = this._sanitizer.sanitize(_angular_core.SecurityContext.RESOURCE_URL, safeUrl);\n // Store in-progress fetches to avoid sending a duplicate request for a URL when there is\n // already a request in progress for that URL. It's necessary to call share() on the\n // Observable returned by http.get() so that multiple subscribers don't cause multiple XHRs.\n if (this._inProgressUrlFetches.has(url)) {\n return this._inProgressUrlFetches.get(url);\n }\n // TODO(jelbourn): for some reason, the `finally` operator \"loses\" the generic type on the\n // Observable. Figure out why and fix it.\n var req = this._http.get(url)\n .map(function (response) { return response.text(); })\n .finally(function () {\n _this._inProgressUrlFetches.delete(url);\n })\n .share();\n this._inProgressUrlFetches.set(url, req);\n return req;\n };\n MdIconRegistry = __decorate$47([\n _angular_core.Injectable(), \n __metadata$47('design:paramtypes', [_angular_http.Http, _angular_platformBrowser.DomSanitizer])\n ], MdIconRegistry);\n return MdIconRegistry;\n}());\n/** Clones an SVGElement while preserving type information. */\nfunction cloneSvg(svg) {\n return svg.cloneNode(true);\n}\n\nvar __extends$12 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$46 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$46 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Exception thrown when an invalid icon name is passed to an md-icon component. */\nvar MdIconInvalidNameError = (function (_super) {\n __extends$12(MdIconInvalidNameError, _super);\n function MdIconInvalidNameError(iconName) {\n _super.call(this, \"Invalid icon name: \\\"\" + iconName + \"\\\"\");\n }\n return MdIconInvalidNameError;\n}(MdError));\n/**\n * Component to display an icon. It can be used in the following ways:\n * - Specify the svgSrc input to load an SVG icon from a URL. The SVG content is directly inlined\n * as a child of the <md-icon> component, so that CSS styles can easily be applied to it.\n * The URL is loaded via an XMLHttpRequest, so it must be on the same domain as the page or its\n * server must be configured to allow cross-domain requests.\n * Example:\n * <md-icon svgSrc=\"assets/arrow.svg\"></md-icon>\n *\n * - Specify the svgIcon input to load an SVG icon from a URL previously registered with the\n * addSvgIcon, addSvgIconInNamespace, addSvgIconSet, or addSvgIconSetInNamespace methods of\n * MdIconRegistry. If the svgIcon value contains a colon it is assumed to be in the format\n * \"[namespace]:[name]\", if not the value will be the name of an icon in the default namespace.\n * Examples:\n * <md-icon svgIcon=\"left-arrow\"></md-icon>\n * <md-icon svgIcon=\"animals:cat\"></md-icon>\n *\n * - Use a font ligature as an icon by putting the ligature text in the content of the <md-icon>\n * component. By default the Material icons font is used as described at\n * http://google.github.io/material-design-icons/#icon-font-for-the-web. You can specify an\n * alternate font by setting the fontSet input to either the CSS class to apply to use the\n * desired font, or to an alias previously registered with MdIconRegistry.registerFontClassAlias.\n * Examples:\n * <md-icon>home</md-icon>\n * <md-icon fontSet=\"myfont\">sun</md-icon>\n *\n * - Specify a font glyph to be included via CSS rules by setting the fontSet input to specify the\n * font, and the fontIcon input to specify the icon. Typically the fontIcon will specify a\n * CSS class which causes the glyph to be displayed via a :before selector, as in\n * https://fortawesome.github.io/Font-Awesome/examples/\n * Example:\n * <md-icon fontSet=\"fa\" fontIcon=\"alarm\"></md-icon>\n */\nvar MdIcon = (function () {\n function MdIcon(_elementRef, _renderer, _mdIconRegistry) {\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n this._mdIconRegistry = _mdIconRegistry;\n /** Screenreader label for the icon. */\n this.hostAriaLabel = '';\n }\n Object.defineProperty(MdIcon.prototype, \"color\", {\n /** Color of the icon. */\n get: function () { return this._color; },\n set: function (value) { this._updateColor(value); },\n enumerable: true,\n configurable: true\n });\n MdIcon.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n MdIcon.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n /**\n * Splits an svgIcon binding value into its icon set and icon name components.\n * Returns a 2-element array of [(icon set), (icon name)].\n * The separator for the two fields is ':'. If there is no separator, an empty\n * string is returned for the icon set and the entire value is returned for\n * the icon name. If the argument is falsy, returns an array of two empty strings.\n * Throws a MdIconInvalidNameError if the name contains two or more ':' separators.\n * Examples:\n * 'social:cake' -> ['social', 'cake']\n * 'penguin' -> ['', 'penguin']\n * null -> ['', '']\n * 'a:b:c' -> (throws MdIconInvalidNameError)\n */\n MdIcon.prototype._splitIconName = function (iconName) {\n if (!iconName) {\n return ['', ''];\n }\n var parts = iconName.split(':');\n switch (parts.length) {\n case 1:\n // Use default namespace.\n return ['', parts[0]];\n case 2:\n return parts;\n default:\n throw new MdIconInvalidNameError(iconName);\n }\n };\n MdIcon.prototype.ngOnChanges = function (changes) {\n var _this = this;\n var changedInputs = Object.keys(changes);\n // Only update the inline SVG icon if the inputs changed, to avoid unnecessary DOM operations.\n if (changedInputs.indexOf('svgIcon') != -1 || changedInputs.indexOf('svgSrc') != -1) {\n if (this.svgIcon) {\n var _a = this._splitIconName(this.svgIcon), namespace = _a[0], iconName = _a[1];\n this._mdIconRegistry.getNamedSvgIcon(iconName, namespace).first().subscribe(function (svg) { return _this._setSvgElement(svg); }, function (err) { return console.log(\"Error retrieving icon: \" + err); });\n }\n }\n if (this._usingFontIcon()) {\n this._updateFontIconClasses();\n }\n this._updateAriaLabel();\n };\n MdIcon.prototype.ngOnInit = function () {\n // Update font classes because ngOnChanges won't be called if none of the inputs are present,\n // e.g. <md-icon>arrow</md-icon>. In this case we need to add a CSS class for the default font.\n if (this._usingFontIcon()) {\n this._updateFontIconClasses();\n }\n };\n MdIcon.prototype.ngAfterViewChecked = function () {\n // Update aria label here because it may depend on the projected text content.\n // (e.g. <md-icon>home</md-icon> should use 'home').\n this._updateAriaLabel();\n };\n MdIcon.prototype._updateAriaLabel = function () {\n var ariaLabel = this._getAriaLabel();\n if (ariaLabel && ariaLabel !== this._previousAriaLabel) {\n this._previousAriaLabel = ariaLabel;\n this._renderer.setElementAttribute(this._elementRef.nativeElement, 'aria-label', ariaLabel);\n }\n };\n MdIcon.prototype._getAriaLabel = function () {\n // If the parent provided an aria-label attribute value, use it as-is. Otherwise look for a\n // reasonable value from the alt attribute, font icon name, SVG icon name, or (for ligatures)\n // the text content of the directive.\n var label = this.hostAriaLabel ||\n this.alt ||\n this.fontIcon ||\n this._splitIconName(this.svgIcon)[1];\n if (label) {\n return label;\n }\n // The \"content\" of an SVG icon is not a useful label.\n if (this._usingFontIcon()) {\n var text = this._elementRef.nativeElement.textContent;\n if (text) {\n return text;\n }\n }\n // TODO: Warn here in dev mode.\n return null;\n };\n MdIcon.prototype._usingFontIcon = function () {\n return !this.svgIcon;\n };\n MdIcon.prototype._setSvgElement = function (svg) {\n var layoutElement = this._elementRef.nativeElement;\n // Remove existing child nodes and add the new SVG element.\n // We would use renderer.detachView(Array.from(layoutElement.childNodes)) here,\n // but it fails in IE11: https://github.com/angular/angular/issues/6327\n layoutElement.innerHTML = '';\n this._renderer.projectNodes(layoutElement, [svg]);\n };\n MdIcon.prototype._updateFontIconClasses = function () {\n if (!this._usingFontIcon()) {\n return;\n }\n var elem = this._elementRef.nativeElement;\n var fontSetClass = this.fontSet ?\n this._mdIconRegistry.classNameForFontAlias(this.fontSet) :\n this._mdIconRegistry.getDefaultFontSetClass();\n if (fontSetClass != this._previousFontSetClass) {\n if (this._previousFontSetClass) {\n this._renderer.setElementClass(elem, this._previousFontSetClass, false);\n }\n if (fontSetClass) {\n this._renderer.setElementClass(elem, fontSetClass, true);\n }\n this._previousFontSetClass = fontSetClass;\n }\n if (this.fontIcon != this._previousFontIconClass) {\n if (this._previousFontIconClass) {\n this._renderer.setElementClass(elem, this._previousFontIconClass, false);\n }\n if (this.fontIcon) {\n this._renderer.setElementClass(elem, this.fontIcon, true);\n }\n this._previousFontIconClass = this.fontIcon;\n }\n };\n __decorate$46([\n _angular_core.Input(), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"svgIcon\", void 0);\n __decorate$46([\n _angular_core.Input(), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"fontSet\", void 0);\n __decorate$46([\n _angular_core.Input(), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"fontIcon\", void 0);\n __decorate$46([\n _angular_core.Input(), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"alt\", void 0);\n __decorate$46([\n _angular_core.Input('aria-label'), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"hostAriaLabel\", void 0);\n __decorate$46([\n _angular_core.Input(), \n __metadata$46('design:type', String)\n ], MdIcon.prototype, \"color\", null);\n MdIcon = __decorate$46([\n _angular_core.Component({template: '<ng-content></ng-content>',\n selector: 'md-icon, mat-icon',\n styles: [\".mat-icon{background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px}\"],\n host: {\n 'role': 'img',\n '[class.mat-icon]': 'true',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n }), \n __metadata$46('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, MdIconRegistry])\n ], MdIcon);\n return MdIcon;\n}());\nfunction ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry, http, sanitizer) {\n return parentRegistry || new MdIconRegistry(http, sanitizer);\n}\n\nvar ICON_REGISTRY_PROVIDER = {\n // If there is already an MdIconRegistry available, use that. Otherwise, provide a new one.\n provide: MdIconRegistry,\n deps: [[new _angular_core.Optional(), new _angular_core.SkipSelf(), MdIconRegistry], _angular_http.Http, _angular_platformBrowser.DomSanitizer],\n useFactory: ICON_REGISTRY_PROVIDER_FACTORY,\n};\nvar MdIconModule = (function () {\n function MdIconModule() {\n }\n /** @deprecated */\n MdIconModule.forRoot = function () {\n return {\n ngModule: MdIconModule,\n providers: [],\n };\n };\n MdIconModule = __decorate$46([\n _angular_core.NgModule({\n imports: [_angular_http.HttpModule, CompatibilityModule],\n exports: [MdIcon, CompatibilityModule],\n declarations: [MdIcon],\n providers: [ICON_REGISTRY_PROVIDER],\n }), \n __metadata$46('design:paramtypes', [])\n ], MdIconModule);\n return MdIconModule;\n}());\n\nvar __extends$14 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$48 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$48 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// TODO(josephperrott): Benchpress tests.\n/** A single degree in radians. */\nvar DEGREE_IN_RADIANS = Math.PI / 180;\n/** Duration of the indeterminate animation. */\nvar DURATION_INDETERMINATE = 667;\n/** Duration of the indeterminate animation. */\nvar DURATION_DETERMINATE = 225;\n/** Start animation value of the indeterminate animation */\nvar startIndeterminate = 3;\n/** End animation value of the indeterminate animation */\nvar endIndeterminate = 80;\n/* Maximum angle for the arc. The angle can't be exactly 360, because the arc becomes hidden. */\nvar MAX_ANGLE = 359.99 / 100;\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdProgressSpinnerCssMatStyler = (function () {\n function MdProgressSpinnerCssMatStyler() {\n }\n MdProgressSpinnerCssMatStyler = __decorate$48([\n _angular_core.Directive({\n selector: 'md-progress-spinner, mat-progress-spinner',\n host: {\n '[class.mat-progress-spinner]': 'true'\n }\n }), \n __metadata$48('design:paramtypes', [])\n ], MdProgressSpinnerCssMatStyler);\n return MdProgressSpinnerCssMatStyler;\n}());\n/**\n * Directive whose purpose is to add the mat- CSS styling to this selector.\n */\nvar MdProgressCircleCssMatStyler = (function () {\n function MdProgressCircleCssMatStyler() {\n }\n MdProgressCircleCssMatStyler = __decorate$48([\n _angular_core.Directive({\n selector: 'md-progress-circle, mat-progress-circle',\n host: {\n '[class.mat-progress-circle]': 'true'\n }\n }), \n __metadata$48('design:paramtypes', [])\n ], MdProgressCircleCssMatStyler);\n return MdProgressCircleCssMatStyler;\n}());\n/**\n * <md-progress-spinner> component.\n */\nvar MdProgressSpinner = (function () {\n function MdProgressSpinner(_ngZone, _elementRef, _renderer) {\n this._ngZone = _ngZone;\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n /** The id of the last requested animation. */\n this._lastAnimationId = 0;\n this._mode = 'determinate';\n this._color = 'primary';\n }\n Object.defineProperty(MdProgressSpinner.prototype, \"_ariaValueMin\", {\n /**\n * Values for aria max and min are only defined as numbers when in a determinate mode. We do this\n * because voiceover does not report the progress indicator as indeterminate if the aria min\n * and/or max value are number values.\n */\n get: function () {\n return this.mode == 'determinate' ? 0 : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdProgressSpinner.prototype, \"_ariaValueMax\", {\n get: function () {\n return this.mode == 'determinate' ? 100 : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdProgressSpinner.prototype, \"interdeterminateInterval\", {\n /** @docs-private */\n get: function () {\n return this._interdeterminateInterval;\n },\n /** @docs-private */\n set: function (interval) {\n clearInterval(this._interdeterminateInterval);\n this._interdeterminateInterval = interval;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Clean up any animations that were running.\n */\n MdProgressSpinner.prototype.ngOnDestroy = function () {\n this._cleanupIndeterminateAnimation();\n };\n Object.defineProperty(MdProgressSpinner.prototype, \"color\", {\n /** The color of the progress-spinner. Can be primary, accent, or warn. */\n get: function () { return this._color; },\n set: function (value) {\n this._updateColor(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdProgressSpinner.prototype, \"value\", {\n /** Value of the progress circle. It is bound to the host as the attribute aria-valuenow. */\n get: function () {\n if (this.mode == 'determinate') {\n return this._value;\n }\n },\n set: function (v) {\n if (v != null && this.mode == 'determinate') {\n var newValue = clamp(v);\n this._animateCircle((this.value || 0), newValue, linearEase, DURATION_DETERMINATE, 0);\n this._value = newValue;\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdProgressSpinner.prototype, \"mode\", {\n /**\n * Mode of the progress circle\n *\n * Input must be one of the values from ProgressMode, defaults to 'determinate'.\n * mode is bound to the host as the attribute host.\n */\n get: function () {\n return this._mode;\n },\n set: function (m) {\n if (m == 'indeterminate') {\n this._startIndeterminateAnimation();\n }\n else {\n this._cleanupIndeterminateAnimation();\n }\n this._mode = m;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Animates the circle from one percentage value to another.\n *\n * @param animateFrom The percentage of the circle filled starting the animation.\n * @param animateTo The percentage of the circle filled ending the animation.\n * @param ease The easing function to manage the pace of change in the animation.\n * @param duration The length of time to show the animation, in milliseconds.\n * @param rotation The starting angle of the circle fill, with 0° represented at the top center\n * of the circle.\n */\n MdProgressSpinner.prototype._animateCircle = function (animateFrom, animateTo, ease, duration, rotation) {\n var _this = this;\n var id = ++this._lastAnimationId;\n var startTime = Date.now();\n var changeInValue = animateTo - animateFrom;\n // No need to animate it if the values are the same\n if (animateTo === animateFrom) {\n this._renderArc(animateTo, rotation);\n }\n else {\n var animation_1 = function () {\n var elapsedTime = Math.max(0, Math.min(Date.now() - startTime, duration));\n _this._renderArc(ease(elapsedTime, animateFrom, changeInValue, duration), rotation);\n // Prevent overlapping animations by checking if a new animation has been called for and\n // if the animation has lasted longer than the animation duration.\n if (id === _this._lastAnimationId && elapsedTime < duration) {\n requestAnimationFrame(animation_1);\n }\n };\n // Run the animation outside of Angular's zone, in order to avoid\n // hitting ZoneJS and change detection on each frame.\n this._ngZone.runOutsideAngular(animation_1);\n }\n };\n /**\n * Starts the indeterminate animation interval, if it is not already running.\n */\n MdProgressSpinner.prototype._startIndeterminateAnimation = function () {\n var _this = this;\n var rotationStartPoint = 0;\n var start = startIndeterminate;\n var end = endIndeterminate;\n var duration = DURATION_INDETERMINATE;\n var animate$$1 = function () {\n _this._animateCircle(start, end, materialEase, duration, rotationStartPoint);\n // Prevent rotation from reaching Number.MAX_SAFE_INTEGER.\n rotationStartPoint = (rotationStartPoint + end) % 100;\n var temp = start;\n start = -end;\n end = -temp;\n };\n if (!this.interdeterminateInterval) {\n this._ngZone.runOutsideAngular(function () {\n _this.interdeterminateInterval = setInterval(animate$$1, duration + 50, 0, false);\n animate$$1();\n });\n }\n };\n /**\n * Removes interval, ending the animation.\n */\n MdProgressSpinner.prototype._cleanupIndeterminateAnimation = function () {\n this.interdeterminateInterval = null;\n };\n /**\n * Renders the arc onto the SVG element. Proxies `getArc` while setting the proper\n * DOM attribute on the `<path>`.\n */\n MdProgressSpinner.prototype._renderArc = function (currentValue, rotation) {\n // Caches the path reference so it doesn't have to be looked up every time.\n var path = this._path = this._path || this._elementRef.nativeElement.querySelector('path');\n // Ensure that the path was found. This may not be the case if the\n // animation function fires too early.\n if (path) {\n path.setAttribute('d', getSvgArc(currentValue, rotation));\n }\n };\n /**\n * Updates the color of the progress-spinner by adding the new palette class to the element\n * and removing the old one.\n */\n MdProgressSpinner.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n /** Sets the given palette class on the component element. */\n MdProgressSpinner.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this._renderer.setElementClass(this._elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n __decorate$48([\n _angular_core.Input(), \n __metadata$48('design:type', String)\n ], MdProgressSpinner.prototype, \"color\", null);\n __decorate$48([\n _angular_core.Input(),\n _angular_core.HostBinding('attr.aria-valuenow'), \n __metadata$48('design:type', Object)\n ], MdProgressSpinner.prototype, \"value\", null);\n __decorate$48([\n _angular_core.HostBinding('attr.mode'),\n _angular_core.Input(), \n __metadata$48('design:type', Object)\n ], MdProgressSpinner.prototype, \"mode\", null);\n MdProgressSpinner = __decorate$48([\n _angular_core.Component({selector: 'md-progress-spinner, mat-progress-spinner, md-progress-circle, mat-progress-circle',\n host: {\n 'role': 'progressbar',\n '[attr.aria-valuemin]': '_ariaValueMin',\n '[attr.aria-valuemax]': '_ariaValueMax'\n },\n template: \"<svg viewBox=\\\"0 0 100 100\\\" preserveAspectRatio=\\\"xMidYMid meet\\\"><path></path></svg>\",\n styles: [\":host{display:block;height:100px;width:100px;overflow:hidden}:host svg{height:100%;width:100%;transform-origin:center}:host path{fill:transparent;stroke-width:10px}:host[mode=indeterminate] svg{animation-duration:5.25s,2.887s;animation-name:mat-progress-spinner-sporadic-rotate,mat-progress-spinner-linear-rotate;animation-timing-function:cubic-bezier(.35,0,.25,1),linear;animation-iteration-count:infinite;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-sporadic-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}\"],\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n }), \n __metadata$48('design:paramtypes', [_angular_core.NgZone, _angular_core.ElementRef, _angular_core.Renderer])\n ], MdProgressSpinner);\n return MdProgressSpinner;\n}());\n/**\n * <md-spinner> component.\n *\n * This is a component definition to be used as a convenience reference to create an\n * indeterminate <md-progress-spinner> instance.\n */\nvar MdSpinner = (function (_super) {\n __extends$14(MdSpinner, _super);\n function MdSpinner(elementRef, ngZone, renderer) {\n _super.call(this, ngZone, elementRef, renderer);\n this.mode = 'indeterminate';\n }\n MdSpinner.prototype.ngOnDestroy = function () {\n // The `ngOnDestroy` from `MdProgressSpinner` should be called explicitly, because\n // in certain cases Angular won't call it (e.g. when using AoT and in unit tests).\n _super.prototype.ngOnDestroy.call(this);\n };\n MdSpinner = __decorate$48([\n _angular_core.Component({selector: 'md-spinner, mat-spinner',\n host: {\n 'role': 'progressbar',\n 'mode': 'indeterminate',\n '[class.mat-spinner]': 'true',\n },\n template: \"<svg viewBox=\\\"0 0 100 100\\\" preserveAspectRatio=\\\"xMidYMid meet\\\"><path></path></svg>\",\n styles: [\":host{display:block;height:100px;width:100px;overflow:hidden}:host svg{height:100%;width:100%;transform-origin:center}:host path{fill:transparent;stroke-width:10px}:host[mode=indeterminate] svg{animation-duration:5.25s,2.887s;animation-name:mat-progress-spinner-sporadic-rotate,mat-progress-spinner-linear-rotate;animation-timing-function:cubic-bezier(.35,0,.25,1),linear;animation-iteration-count:infinite;transition:none}@keyframes mat-progress-spinner-linear-rotate{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes mat-progress-spinner-sporadic-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}\"],\n }), \n __metadata$48('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, _angular_core.Renderer])\n ], MdSpinner);\n return MdSpinner;\n}(MdProgressSpinner));\n/**\n * Module functions.\n */\n/** Clamps a value to be between 0 and 100. */\nfunction clamp(v) {\n return Math.max(0, Math.min(100, v));\n}\n/**\n * Converts Polar coordinates to Cartesian.\n */\nfunction polarToCartesian(radius, pathRadius, angleInDegrees) {\n var angleInRadians = (angleInDegrees - 90) * DEGREE_IN_RADIANS;\n return (radius + (pathRadius * Math.cos(angleInRadians))) +\n ',' + (radius + (pathRadius * Math.sin(angleInRadians)));\n}\n/**\n * Easing function for linear animation.\n */\nfunction linearEase(currentTime, startValue, changeInValue, duration) {\n return changeInValue * currentTime / duration + startValue;\n}\n/**\n * Easing function to match material design indeterminate animation.\n */\nfunction materialEase(currentTime, startValue, changeInValue, duration) {\n var time = currentTime / duration;\n var timeCubed = Math.pow(time, 3);\n var timeQuad = Math.pow(time, 4);\n var timeQuint = Math.pow(time, 5);\n return startValue + changeInValue * ((6 * timeQuint) + (-15 * timeQuad) + (10 * timeCubed));\n}\n/**\n * Determines the path value to define the arc. Converting percentage values to to polar\n * coordinates on the circle, and then to cartesian coordinates in the viewport.\n *\n * @param currentValue The current percentage value of the progress circle, the percentage of the\n * circle to fill.\n * @param rotation The starting point of the circle with 0 being the 0 degree point.\n * @return A string for an SVG path representing a circle filled from the starting point to the\n * percentage value provided.\n */\nfunction getSvgArc(currentValue, rotation) {\n var startPoint = rotation || 0;\n var radius = 50;\n var pathRadius = 40;\n var startAngle = startPoint * MAX_ANGLE;\n var endAngle = currentValue * MAX_ANGLE;\n var start = polarToCartesian(radius, pathRadius, startAngle);\n var end = polarToCartesian(radius, pathRadius, endAngle + startAngle);\n var arcSweep = endAngle < 0 ? 0 : 1;\n var largeArcFlag;\n if (endAngle < 0) {\n largeArcFlag = endAngle >= -180 ? 0 : 1;\n }\n else {\n largeArcFlag = endAngle <= 180 ? 0 : 1;\n }\n return \"M\" + start + \"A\" + pathRadius + \",\" + pathRadius + \" 0 \" + largeArcFlag + \",\" + arcSweep + \" \" + end;\n}\nvar MdProgressSpinnerModule = (function () {\n function MdProgressSpinnerModule() {\n }\n /** @deprecated */\n MdProgressSpinnerModule.forRoot = function () {\n return {\n ngModule: MdProgressSpinnerModule,\n providers: []\n };\n };\n MdProgressSpinnerModule = __decorate$48([\n _angular_core.NgModule({\n imports: [CompatibilityModule],\n exports: [\n MdProgressSpinner,\n MdSpinner,\n CompatibilityModule,\n MdProgressSpinnerCssMatStyler,\n MdProgressCircleCssMatStyler\n ],\n declarations: [\n MdProgressSpinner,\n MdSpinner,\n MdProgressSpinnerCssMatStyler,\n MdProgressCircleCssMatStyler\n ],\n }), \n __metadata$48('design:paramtypes', [])\n ], MdProgressSpinnerModule);\n return MdProgressSpinnerModule;\n}());\n\n/** @deprecated */\n\nvar __decorate$49 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$49 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// TODO(josephperrott): Benchpress tests.\n// TODO(josephperrott): Add ARIA attributes for progressbar \"for\".\n/**\n * <md-progress-bar> component.\n */\nvar MdProgressBar = (function () {\n function MdProgressBar() {\n /** Color of the progress bar. */\n this.color = 'primary';\n this._value = 0;\n this._bufferValue = 0;\n /**\n * Mode of the progress bar.\n *\n * Input must be one of these values: determinate, indeterminate, buffer, query, defaults to\n * 'determinate'.\n * Mirrored to mode attribute.\n */\n this.mode = 'determinate';\n }\n Object.defineProperty(MdProgressBar.prototype, \"value\", {\n /** Value of the progressbar. Defaults to zero. Mirrored to aria-valuenow. */\n get: function () { return this._value; },\n set: function (v) { this._value = clamp$1(v || 0); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdProgressBar.prototype, \"bufferValue\", {\n /** Buffer value of the progress bar. Defaults to zero. */\n get: function () { return this._bufferValue; },\n set: function (v) { this._bufferValue = clamp$1(v || 0); },\n enumerable: true,\n configurable: true\n });\n /** Gets the current transform value for the progress bar's primary indicator. */\n MdProgressBar.prototype._primaryTransform = function () {\n var scale = this.value / 100;\n return { transform: \"scaleX(\" + scale + \")\" };\n };\n /**\n * Gets the current transform value for the progress bar's buffer indicator. Only used if the\n * progress mode is set to buffer, otherwise returns an undefined, causing no transformation.\n */\n MdProgressBar.prototype._bufferTransform = function () {\n if (this.mode == 'buffer') {\n var scale = this.bufferValue / 100;\n return { transform: \"scaleX(\" + scale + \")\" };\n }\n };\n __decorate$49([\n _angular_core.Input(), \n __metadata$49('design:type', Object)\n ], MdProgressBar.prototype, \"color\", void 0);\n __decorate$49([\n _angular_core.Input(),\n _angular_core.HostBinding('attr.aria-valuenow'), \n __metadata$49('design:type', Object)\n ], MdProgressBar.prototype, \"value\", null);\n __decorate$49([\n _angular_core.Input(), \n __metadata$49('design:type', Object)\n ], MdProgressBar.prototype, \"bufferValue\", null);\n __decorate$49([\n _angular_core.Input(),\n _angular_core.HostBinding('attr.mode'), \n __metadata$49('design:type', Object)\n ], MdProgressBar.prototype, \"mode\", void 0);\n MdProgressBar = __decorate$49([\n _angular_core.Component({selector: 'md-progress-bar, mat-progress-bar',\n host: {\n 'role': 'progressbar',\n 'aria-valuemin': '0',\n 'aria-valuemax': '100',\n '[class.mat-primary]': 'color == \"primary\"',\n '[class.mat-accent]': 'color == \"accent\"',\n '[class.mat-warn]': 'color == \"warn\"',\n '[class.mat-progress-bar]': 'true',\n },\n template: \"<div class=\\\"mat-progress-bar-background mat-progress-bar-element\\\"></div><div class=\\\"mat-progress-bar-buffer mat-progress-bar-element\\\" [ngStyle]=\\\"_bufferTransform()\\\"></div><div class=\\\"mat-progress-bar-primary mat-progress-bar-fill mat-progress-bar-element\\\" [ngStyle]=\\\"_primaryTransform()\\\"></div><div class=\\\"mat-progress-bar-secondary mat-progress-bar-fill mat-progress-bar-element\\\"></div>\",\n styles: [\":host{display:block;height:5px;overflow:hidden;position:relative;transform:translateZ(0);transition:opacity 250ms linear;width:100%}:host .mat-progress-bar-element,:host .mat-progress-bar-fill::after{height:100%;position:absolute;width:100%}:host .mat-progress-bar-background{background-repeat:repeat-x;background-size:10px 4px;display:none}:host .mat-progress-bar-buffer{transform-origin:top left;transition:transform 250ms ease}:host .mat-progress-bar-secondary{display:none}:host .mat-progress-bar-fill{animation:none;transform-origin:top left;transition:transform 250ms ease}:host .mat-progress-bar-fill::after{animation:none;content:'';display:inline-block;left:0}:host[mode=query]{transform:rotateZ(180deg)}:host[mode=query] .mat-progress-bar-fill,:host[mode=indeterminate] .mat-progress-bar-fill{transition:none}:host[mode=query] .mat-progress-bar-primary,:host[mode=indeterminate] .mat-progress-bar-primary{animation:mat-progress-bar-primary-indeterminate-translate 2s infinite linear;left:-145.166611%}:host[mode=query] .mat-progress-bar-primary.mat-progress-bar-fill::after,:host[mode=indeterminate] .mat-progress-bar-primary.mat-progress-bar-fill::after{animation:mat-progress-bar-primary-indeterminate-scale 2s infinite linear}:host[mode=query] .mat-progress-bar-secondary,:host[mode=indeterminate] .mat-progress-bar-secondary{animation:mat-progress-bar-secondary-indeterminate-translate 2s infinite linear;left:-54.888891%;display:block}:host[mode=query] .mat-progress-bar-secondary.mat-progress-bar-fill::after,:host[mode=indeterminate] .mat-progress-bar-secondary.mat-progress-bar-fill::after{animation:mat-progress-bar-secondary-indeterminate-scale 2s infinite linear}:host[mode=buffer] .mat-progress-bar-background{animation:mat-progress-bar-background-scroll 250ms infinite linear;display:block}:host-context([dir=rtl]){transform:rotateY(180deg)}@keyframes mat-progress-bar-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(.5,0,.70173,.49582);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(.30244,.38135,.55,.95635);transform:translateX(83.67142%)}100%{transform:translateX(200.61106%)}}@keyframes mat-progress-bar-primary-indeterminate-scale{0%{transform:scaleX(.08)}36.65%{animation-timing-function:cubic-bezier(.33473,.12482,.78584,1);transform:scaleX(.08)}69.15%{animation-timing-function:cubic-bezier(.06,.11,.6,1);transform:scaleX(.66148)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:translateX(37.65191%)}48.35%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:translateX(84.38617%)}100%{transform:translateX(160.27778%)}}@keyframes mat-progress-bar-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(.15,0,.51506,.40969);transform:scaleX(.08)}19.15%{animation-timing-function:cubic-bezier(.31033,.28406,.8,.73371);transform:scaleX(.4571)}44.15%{animation-timing-function:cubic-bezier(.4,.62704,.6,.90203);transform:scaleX(.72796)}100%{transform:scaleX(.08)}}@keyframes mat-progress-bar-background-scroll{to{transform:translateX(-10px)}}\"],\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n }), \n __metadata$49('design:paramtypes', [])\n ], MdProgressBar);\n return MdProgressBar;\n}());\n/** Clamps a value to be between two numbers, by default 0 and 100. */\nfunction clamp$1(v, min, max) {\n if (min === void 0) { min = 0; }\n if (max === void 0) { max = 100; }\n return Math.max(min, Math.min(max, v));\n}\nvar MdProgressBarModule = (function () {\n function MdProgressBarModule() {\n }\n /** @deprecated */\n MdProgressBarModule.forRoot = function () {\n return {\n ngModule: MdProgressBarModule,\n providers: []\n };\n };\n MdProgressBarModule = __decorate$49([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, CompatibilityModule],\n exports: [MdProgressBar, CompatibilityModule],\n declarations: [MdProgressBar],\n }), \n __metadata$49('design:paramtypes', [])\n ], MdProgressBarModule);\n return MdProgressBarModule;\n}());\n\nvar __extends$15 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/** @docs-private */\nvar MdInputContainerPlaceholderConflictError = (function (_super) {\n __extends$15(MdInputContainerPlaceholderConflictError, _super);\n function MdInputContainerPlaceholderConflictError() {\n _super.call(this, 'Placeholder attribute and child element were both specified.');\n }\n return MdInputContainerPlaceholderConflictError;\n}(MdError));\n/** @docs-private */\nvar MdInputContainerUnsupportedTypeError = (function (_super) {\n __extends$15(MdInputContainerUnsupportedTypeError, _super);\n function MdInputContainerUnsupportedTypeError(type) {\n _super.call(this, \"Input type \\\"\" + type + \"\\\" isn't supported by md-input-container.\");\n }\n return MdInputContainerUnsupportedTypeError;\n}(MdError));\n/** @docs-private */\nvar MdInputContainerDuplicatedHintError = (function (_super) {\n __extends$15(MdInputContainerDuplicatedHintError, _super);\n function MdInputContainerDuplicatedHintError(align) {\n _super.call(this, \"A hint was already declared for 'align=\\\"\" + align + \"\\\"'.\");\n }\n return MdInputContainerDuplicatedHintError;\n}(MdError));\n/** @docs-private */\nvar MdInputContainerMissingMdInputError = (function (_super) {\n __extends$15(MdInputContainerMissingMdInputError, _super);\n function MdInputContainerMissingMdInputError() {\n _super.call(this, 'md-input-container must contain an mdInput directive. Did you forget to add mdInput ' +\n 'to the native input or textarea element?');\n }\n return MdInputContainerMissingMdInputError;\n}(MdError));\n\nvar __decorate$51 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$51 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$10 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n// Invalid input type. Using one of these will throw an MdInputContainerUnsupportedTypeError.\nvar MD_INPUT_INVALID_TYPES = [\n 'button',\n 'checkbox',\n 'color',\n 'file',\n 'hidden',\n 'image',\n 'radio',\n 'range',\n 'reset',\n 'submit'\n];\nvar nextUniqueId$1 = 0;\n/**\n * The placeholder directive. The content can declare this to implement more\n * complex placeholders.\n */\nvar MdPlaceholder = (function () {\n function MdPlaceholder() {\n }\n MdPlaceholder = __decorate$51([\n _angular_core.Directive({\n selector: 'md-placeholder, mat-placeholder'\n }), \n __metadata$51('design:paramtypes', [])\n ], MdPlaceholder);\n return MdPlaceholder;\n}());\n/** The hint directive, used to tag content as hint labels (going under the input). */\nvar MdHint = (function () {\n function MdHint() {\n // Whether to align the hint label at the start or end of the line.\n this.align = 'start';\n // Unique ID for the hint. Used for the aria-describedby on the input.\n this.id = \"md-input-hint-\" + nextUniqueId$1++;\n }\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdHint.prototype, \"align\", void 0);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', String)\n ], MdHint.prototype, \"id\", void 0);\n MdHint = __decorate$51([\n _angular_core.Directive({\n selector: 'md-hint, mat-hint',\n host: {\n '[class.mat-hint]': 'true',\n '[class.mat-right]': 'align == \"end\"',\n '[attr.id]': 'id',\n }\n }), \n __metadata$51('design:paramtypes', [])\n ], MdHint);\n return MdHint;\n}());\n/** The input directive, used to mark the input that `MdInputContainer` is wrapping. */\nvar MdInputDirective = (function () {\n function MdInputDirective(_elementRef, _renderer, _ngControl) {\n this._elementRef = _elementRef;\n this._renderer = _renderer;\n this._ngControl = _ngControl;\n /** Variables used as cache for getters and setters. */\n this._type = 'text';\n this._placeholder = '';\n this._disabled = false;\n this._required = false;\n /** Whether the element is focused or not. */\n this.focused = false;\n /**\n * Emits an event when the placeholder changes so that the `md-input-container` can re-validate.\n */\n this._placeholderChange = new _angular_core.EventEmitter();\n this._neverEmptyInputTypes = [\n 'date',\n 'datetime',\n 'datetime-local',\n 'month',\n 'time',\n 'week'\n ].filter(function (t) { return getSupportedInputTypes().has(t); });\n // Force setter to be called in case id was not specified.\n this.id = this.id;\n }\n Object.defineProperty(MdInputDirective.prototype, \"disabled\", {\n /** Whether the element is disabled. */\n get: function () {\n return this._ngControl ? this._ngControl.disabled : this._disabled;\n },\n set: function (value) {\n this._disabled = coerceBooleanProperty(value);\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"id\", {\n /** Unique id of the element. */\n get: function () { return this._id; },\n set: function (value) { this._id = value || this._uid; },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(MdInputDirective.prototype, \"placeholder\", {\n /** Placeholder attribute of the element. */\n get: function () { return this._placeholder; },\n set: function (value) {\n if (this._placeholder !== value) {\n this._placeholder = value;\n this._placeholderChange.emit(this._placeholder);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"required\", {\n /** Whether the element is required. */\n get: function () { return this._required; },\n set: function (value) { this._required = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"type\", {\n /** Input type of the element. */\n get: function () { return this._type; },\n set: function (value) {\n this._type = value || 'text';\n this._validateType();\n // When using Angular inputs, developers are no longer able to set the properties on the native\n // input element. To ensure that bindings for `type` work, we need to sync the setter\n // with the native property. Textarea elements don't support the type property or attribute.\n if (!this._isTextarea() && getSupportedInputTypes().has(this._type)) {\n this._renderer.setElementProperty(this._elementRef.nativeElement, 'type', this._type);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"value\", {\n /** The input element's value. */\n get: function () { return this._elementRef.nativeElement.value; },\n set: function (value) { this._elementRef.nativeElement.value = value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"empty\", {\n get: function () {\n return !this._isNeverEmpty() &&\n (this.value == null || this.value === '') &&\n // Check if the input contains bad input. If so, we know that it only appears empty because\n // the value failed to parse. From the user's perspective it is not empty.\n // TODO(mmalerba): Add e2e test for bad input case.\n !this._isBadInput();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputDirective.prototype, \"_uid\", {\n get: function () { return this._cachedUid = this._cachedUid || \"md-input-\" + nextUniqueId$1++; },\n enumerable: true,\n configurable: true\n });\n /** Focuses the input element. */\n MdInputDirective.prototype.focus = function () { this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus'); };\n MdInputDirective.prototype._onFocus = function () { this.focused = true; };\n MdInputDirective.prototype._onBlur = function () { this.focused = false; };\n MdInputDirective.prototype._onInput = function () {\n // This is a noop function and is used to let Angular know whenever the value changes.\n // Angular will run a new change detection each time the `input` event has been dispatched.\n // It's necessary that Angular recognizes the value change, because when floatingLabel\n // is set to false and Angular forms aren't used, the placeholder won't recognize the\n // value changes and will not disappear.\n // Listening to the input event wouldn't be necessary when the input is using the\n // FormsModule or ReactiveFormsModule, because Angular forms also listens to input events.\n };\n /** Make sure the input is a supported type. */\n MdInputDirective.prototype._validateType = function () {\n if (MD_INPUT_INVALID_TYPES.indexOf(this._type) !== -1) {\n throw new MdInputContainerUnsupportedTypeError(this._type);\n }\n };\n MdInputDirective.prototype._isNeverEmpty = function () { return this._neverEmptyInputTypes.indexOf(this._type) !== -1; };\n MdInputDirective.prototype._isBadInput = function () {\n return this._elementRef.nativeElement.validity.badInput;\n };\n /** Determines if the component host is a textarea. If not recognizable it returns false. */\n MdInputDirective.prototype._isTextarea = function () {\n var nativeElement = this._elementRef.nativeElement;\n return nativeElement ? nativeElement.nodeName.toLowerCase() === 'textarea' : false;\n };\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"disabled\", null);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"id\", null);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"placeholder\", null);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"required\", null);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"type\", null);\n __decorate$51([\n _angular_core.Output(), \n __metadata$51('design:type', Object)\n ], MdInputDirective.prototype, \"_placeholderChange\", void 0);\n MdInputDirective = __decorate$51([\n _angular_core.Directive({\n selector: \"input[mdInput], textarea[mdInput], input[matInput], textarea[matInput]\",\n host: {\n '[class.mat-input-element]': 'true',\n // Native input properties that are overwritten by Angular inputs need to be synced with\n // the native input element. Otherwise property bindings for those don't work.\n '[id]': 'id',\n '[placeholder]': 'placeholder',\n '[disabled]': 'disabled',\n '[required]': 'required',\n '[attr.aria-describedby]': 'ariaDescribedby',\n '(blur)': '_onBlur()',\n '(focus)': '_onFocus()',\n '(input)': '_onInput()',\n }\n }),\n __param$10(2, _angular_core.Optional()), \n __metadata$51('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer, _angular_forms.NgControl])\n ], MdInputDirective);\n return MdInputDirective;\n}());\n/**\n * Component that represents a text input. It encapsulates the <input> HTMLElement and\n * improve on its behaviour, along with styling it according to the Material Design.\n */\nvar MdInputContainer = (function () {\n function MdInputContainer() {\n /** Alignment of the input container's content. */\n this.align = 'start';\n /** Color of the input divider, based on the theme. */\n this.dividerColor = 'primary';\n this._hintLabel = '';\n // Unique id for the hint label.\n this._hintLabelId = \"md-input-hint-\" + nextUniqueId$1++;\n this._floatPlaceholder = 'auto';\n }\n Object.defineProperty(MdInputContainer.prototype, \"_shouldAlwaysFloat\", {\n /** Whether the floating label should always float or not. */\n get: function () { return this._floatPlaceholder === 'always'; },\n enumerable: true,\n configurable: true\n });\n \n Object.defineProperty(MdInputContainer.prototype, \"_canPlaceholderFloat\", {\n /** Whether the placeholder can float or not. */\n get: function () { return this._floatPlaceholder !== 'never'; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputContainer.prototype, \"hintLabel\", {\n /** Text for the input hint. */\n get: function () { return this._hintLabel; },\n set: function (value) {\n this._hintLabel = value;\n this._processHints();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdInputContainer.prototype, \"floatPlaceholder\", {\n /** Whether the placeholder should always float, never float or float as the user types. */\n get: function () { return this._floatPlaceholder; },\n set: function (value) {\n this._floatPlaceholder = value || 'auto';\n },\n enumerable: true,\n configurable: true\n });\n MdInputContainer.prototype.ngAfterContentInit = function () {\n var _this = this;\n if (!this._mdInputChild) {\n throw new MdInputContainerMissingMdInputError();\n }\n this._processHints();\n this._validatePlaceholders();\n // Re-validate when things change.\n this._hintChildren.changes.subscribe(function () { return _this._processHints(); });\n this._mdInputChild._placeholderChange.subscribe(function () { return _this._validatePlaceholders(); });\n };\n /** Determines whether a class from the NgControl should be forwarded to the host element. */\n MdInputContainer.prototype._shouldForward = function (prop) {\n var control = this._mdInputChild ? this._mdInputChild._ngControl : null;\n return control && control[prop];\n };\n /** Whether the input has a placeholder. */\n MdInputContainer.prototype._hasPlaceholder = function () { return !!(this._mdInputChild.placeholder || this._placeholderChild); };\n /** Focuses the underlying input. */\n MdInputContainer.prototype._focusInput = function () { this._mdInputChild.focus(); };\n /**\n * Ensure that there is only one placeholder (either `input` attribute or child element with the\n * `md-placeholder` attribute.\n */\n MdInputContainer.prototype._validatePlaceholders = function () {\n if (this._mdInputChild.placeholder && this._placeholderChild) {\n throw new MdInputContainerPlaceholderConflictError();\n }\n };\n /**\n * Does any extra processing that is required when handling the hints.\n */\n MdInputContainer.prototype._processHints = function () {\n this._validateHints();\n this._syncAriaDescribedby();\n };\n /**\n * Ensure that there is a maximum of one of each `<md-hint>` alignment specified, with the\n * attribute being considered as `align=\"start\"`.\n */\n MdInputContainer.prototype._validateHints = function () {\n var _this = this;\n if (this._hintChildren) {\n var startHint_1 = null;\n var endHint_1 = null;\n this._hintChildren.forEach(function (hint) {\n if (hint.align == 'start') {\n if (startHint_1 || _this.hintLabel) {\n throw new MdInputContainerDuplicatedHintError('start');\n }\n startHint_1 = hint;\n }\n else if (hint.align == 'end') {\n if (endHint_1) {\n throw new MdInputContainerDuplicatedHintError('end');\n }\n endHint_1 = hint;\n }\n });\n }\n };\n /**\n * Sets the child input's `aria-describedby` to a space-separated list of the ids\n * of the currently-specified hints, as well as a generated id for the hint label.\n */\n MdInputContainer.prototype._syncAriaDescribedby = function () {\n var ids = [];\n var startHint = this._hintChildren ?\n this._hintChildren.find(function (hint) { return hint.align === 'start'; }) : null;\n var endHint = this._hintChildren ?\n this._hintChildren.find(function (hint) { return hint.align === 'end'; }) : null;\n if (startHint) {\n ids.push(startHint.id);\n }\n else if (this._hintLabel) {\n ids.push(this._hintLabelId);\n }\n if (endHint) {\n ids.push(endHint.id);\n }\n this._mdInputChild.ariaDescribedby = ids.join(' ');\n };\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputContainer.prototype, \"align\", void 0);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputContainer.prototype, \"dividerColor\", void 0);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputContainer.prototype, \"hintLabel\", null);\n __decorate$51([\n _angular_core.Input(), \n __metadata$51('design:type', Object)\n ], MdInputContainer.prototype, \"floatPlaceholder\", null);\n __decorate$51([\n _angular_core.ContentChild(MdInputDirective), \n __metadata$51('design:type', MdInputDirective)\n ], MdInputContainer.prototype, \"_mdInputChild\", void 0);\n __decorate$51([\n _angular_core.ContentChild(MdPlaceholder), \n __metadata$51('design:type', MdPlaceholder)\n ], MdInputContainer.prototype, \"_placeholderChild\", void 0);\n __decorate$51([\n _angular_core.ContentChildren(MdHint), \n __metadata$51('design:type', _angular_core.QueryList)\n ], MdInputContainer.prototype, \"_hintChildren\", void 0);\n MdInputContainer = __decorate$51([\n _angular_core.Component({selector: 'md-input-container, mat-input-container',\n template: \"<div class=\\\"mat-input-wrapper\\\"><div class=\\\"mat-input-table\\\"><div class=\\\"mat-input-prefix\\\"><ng-content select=\\\"[mdPrefix], [matPrefix], [md-prefix]\\\"></ng-content></div><div class=\\\"mat-input-infix\\\" [class.mat-end]=\\\"align == 'end'\\\"><ng-content selector=\\\"input, textarea\\\"></ng-content><span class=\\\"mat-input-placeholder-wrapper\\\"><label class=\\\"mat-input-placeholder\\\" [attr.for]=\\\"_mdInputChild.id\\\" [class.mat-empty]=\\\"_mdInputChild.empty && !_shouldAlwaysFloat\\\" [class.mat-focused]=\\\"_mdInputChild.focused\\\" [class.mat-float]=\\\"_canPlaceholderFloat\\\" [class.mat-accent]=\\\"dividerColor == 'accent'\\\" [class.mat-warn]=\\\"dividerColor == 'warn'\\\" *ngIf=\\\"_hasPlaceholder()\\\"><ng-content select=\\\"md-placeholder, mat-placeholder\\\"></ng-content>{{_mdInputChild.placeholder}} <span class=\\\"mat-placeholder-required\\\" *ngIf=\\\"_mdInputChild.required\\\">*</span></label></span></div><div class=\\\"mat-input-suffix\\\"><ng-content select=\\\"[mdSuffix], [matSuffix], [md-suffix]\\\"></ng-content></div></div><div class=\\\"mat-input-underline\\\" [class.mat-disabled]=\\\"_mdInputChild.disabled\\\"><span class=\\\"mat-input-ripple\\\" [class.mat-focused]=\\\"_mdInputChild.focused\\\" [class.mat-accent]=\\\"dividerColor == 'accent'\\\" [class.mat-warn]=\\\"dividerColor == 'warn'\\\"></span></div><div *ngIf=\\\"hintLabel != ''\\\" [attr.id]=\\\"_hintLabelId\\\" class=\\\"mat-hint\\\">{{hintLabel}}</div><ng-content select=\\\"md-hint, mat-hint\\\"></ng-content></div>\",\n styles: [\".mat-input-container{display:inline-block;position:relative;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;line-height:normal;text-align:left}.mat-end .mat-input-element,[dir=rtl] .mat-input-container{text-align:right}.mat-input-wrapper{margin:1em 0;padding-bottom:6px}.mat-input-table{display:inline-table;flex-flow:column;vertical-align:bottom;width:100%}.mat-input-table>*{display:table-cell}.mat-input-infix{position:relative}.mat-input-element{font:inherit;background:0 0;color:currentColor;border:none;outline:0;padding:0;width:100%}.mat-input-placeholder,.mat-input-placeholder-wrapper{padding-top:1em;pointer-events:none;position:absolute}[dir=rtl] .mat-end .mat-input-element{text-align:left}.mat-input-element:-moz-ui-invalid{box-shadow:none}.mat-input-element:-webkit-autofill+.mat-input-placeholder.mat-float{display:block;transform:translateY(-1.35em) scale(.75);width:133.33333%}.mat-input-element::placeholder{color:transparent}.mat-input-element::-moz-placeholder{color:transparent}.mat-input-element::-webkit-input-placeholder{color:transparent}.mat-input-element:-ms-input-placeholder{color:transparent}.mat-input-placeholder{left:0;top:0;font-size:100%;z-index:1;width:100%;display:none;white-space:nowrap;text-overflow:ellipsis;overflow-x:hidden;transform:translateY(0);transform-origin:bottom left;transition:transform .4s cubic-bezier(.25,.8,.25,1),color .4s cubic-bezier(.25,.8,.25,1),width .4s cubic-bezier(.25,.8,.25,1)}.mat-input-placeholder.mat-empty{display:block;cursor:text}.mat-input-placeholder.mat-float.mat-focused,.mat-input-placeholder.mat-float:not(.mat-empty){display:block;transform:translateY(-1.35em) scale(.75);width:133.33333%}[dir=rtl] .mat-input-placeholder{transform-origin:bottom right;left:auto;right:0}.mat-input-placeholder-wrapper{left:0;top:-1em;width:100%;overflow:hidden}.mat-input-placeholder-wrapper::after{content:'';display:inline-table}.mat-input-underline{position:absolute;height:1px;width:100%;margin-top:4px;border-top-width:1px;border-top-style:solid}.mat-input-underline.mat-disabled{background-image:linear-gradient(to right,rgba(0,0,0,.26) 0,rgba(0,0,0,.26) 33%,transparent 0);background-size:4px 1px;background-repeat:repeat-x;border-top:0;background-position:0}.mat-input-underline .mat-input-ripple{position:absolute;height:2px;z-index:1;top:-1px;width:100%;transform-origin:top;opacity:0;transform:scaleY(0);transition:transform .4s cubic-bezier(.25,.8,.25,1),opacity .4s cubic-bezier(.25,.8,.25,1)}.mat-input-underline .mat-input-ripple.mat-focused{opacity:1;transform:scaleY(1)}.mat-hint{display:block;position:absolute;font-size:75%;bottom:0}.mat-hint.mat-right{right:0}[dir=rtl] .mat-hint{right:0;left:auto}[dir=rtl] .mat-hint.mat-right{right:auto;left:0}.mat-input-prefix,.mat-input-suffix{width:.1px;white-space:nowrap}\"],\n host: {\n '[class.mat-input-container]': 'true',\n // Remove align attribute to prevent it from interfering with layout.\n '[attr.align]': 'null',\n '[class.ng-untouched]': '_shouldForward(\"untouched\")',\n '[class.ng-touched]': '_shouldForward(\"touched\")',\n '[class.ng-pristine]': '_shouldForward(\"pristine\")',\n '[class.ng-dirty]': '_shouldForward(\"dirty\")',\n '[class.ng-valid]': '_shouldForward(\"valid\")',\n '[class.ng-invalid]': '_shouldForward(\"invalid\")',\n '[class.ng-pending]': '_shouldForward(\"pending\")',\n '(click)': '_focusInput()',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$51('design:paramtypes', [])\n ], MdInputContainer);\n return MdInputContainer;\n}());\n\nvar __decorate$52 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$52 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Directive to automatically resize a textarea to fit its content.\n */\nvar MdTextareaAutosize = (function () {\n function MdTextareaAutosize(_elementRef) {\n this._elementRef = _elementRef;\n }\n Object.defineProperty(MdTextareaAutosize.prototype, \"mdAutosizeMinRows\", {\n get: function () {\n return this.minRows;\n },\n set: function (value) {\n this.minRows = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTextareaAutosize.prototype, \"mdAutosizeMaxRows\", {\n get: function () {\n return this.maxRows;\n },\n set: function (value) {\n this.maxRows = value;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTextareaAutosize.prototype, \"_minHeight\", {\n /** The minimum height of the textarea as determined by minRows. */\n get: function () {\n return this.minRows ? this.minRows * this._cachedLineHeight + \"px\" : null;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTextareaAutosize.prototype, \"_maxHeight\", {\n /** The maximum height of the textarea as determined by maxRows. */\n get: function () {\n return this.maxRows ? this.maxRows * this._cachedLineHeight + \"px\" : null;\n },\n enumerable: true,\n configurable: true\n });\n MdTextareaAutosize.prototype.ngOnInit = function () {\n this._cacheTextareaLineHeight();\n this.resizeToFitContent();\n };\n /**\n * Cache the height of a single-row textarea.\n *\n * We need to know how large a single \"row\" of a textarea is in order to apply minRows and\n * maxRows. For the initial version, we will assume that the height of a single line in the\n * textarea does not ever change.\n */\n MdTextareaAutosize.prototype._cacheTextareaLineHeight = function () {\n var textarea = this._elementRef.nativeElement;\n // Use a clone element because we have to override some styles.\n var textareaClone = textarea.cloneNode(false);\n textareaClone.rows = 1;\n // Use `position: absolute` so that this doesn't cause a browser layout and use\n // `visibility: hidden` so that nothing is rendered. Clear any other styles that\n // would affect the height.\n textareaClone.style.position = 'absolute';\n textareaClone.style.visibility = 'hidden';\n textareaClone.style.border = 'none';\n textareaClone.style.padding = '';\n textareaClone.style.height = '';\n textareaClone.style.minHeight = '';\n textareaClone.style.maxHeight = '';\n textarea.parentNode.appendChild(textareaClone);\n this._cachedLineHeight = textareaClone.offsetHeight;\n textarea.parentNode.removeChild(textareaClone);\n };\n /** Resize the textarea to fit its content. */\n MdTextareaAutosize.prototype.resizeToFitContent = function () {\n var textarea = this._elementRef.nativeElement;\n // Reset the textarea height to auto in order to shrink back to its default size.\n textarea.style.height = 'auto';\n // Use the scrollHeight to know how large the textarea *would* be if fit its entire value.\n textarea.style.height = textarea.scrollHeight + \"px\";\n };\n __decorate$52([\n _angular_core.Input(), \n __metadata$52('design:type', Number)\n ], MdTextareaAutosize.prototype, \"minRows\", void 0);\n __decorate$52([\n _angular_core.Input(), \n __metadata$52('design:type', Number)\n ], MdTextareaAutosize.prototype, \"mdAutosizeMinRows\", null);\n __decorate$52([\n _angular_core.Input(), \n __metadata$52('design:type', Number)\n ], MdTextareaAutosize.prototype, \"maxRows\", void 0);\n __decorate$52([\n _angular_core.Input(), \n __metadata$52('design:type', Number)\n ], MdTextareaAutosize.prototype, \"mdAutosizeMaxRows\", null);\n MdTextareaAutosize = __decorate$52([\n _angular_core.Directive({\n selector: 'textarea[md-autosize], textarea[mdTextareaAutosize],' +\n 'textarea[mat-autosize], textarea[matTextareaAutosize]',\n exportAs: 'mdTextareaAutosize',\n host: {\n '(input)': 'resizeToFitContent()',\n '[style.min-height]': '_minHeight',\n '[style.max-height]': '_maxHeight',\n },\n }), \n __metadata$52('design:paramtypes', [_angular_core.ElementRef])\n ], MdTextareaAutosize);\n return MdTextareaAutosize;\n}());\n\nvar __decorate$50 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$50 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdInputModule = (function () {\n function MdInputModule() {\n }\n /** @deprecated */\n MdInputModule.forRoot = function () {\n return {\n ngModule: MdInputModule,\n providers: [],\n };\n };\n MdInputModule = __decorate$50([\n _angular_core.NgModule({\n declarations: [\n MdPlaceholder,\n MdInputContainer,\n MdHint,\n MdTextareaAutosize,\n MdInputDirective\n ],\n imports: [\n _angular_common.CommonModule,\n _angular_forms.FormsModule,\n PlatformModule,\n ],\n exports: [\n MdPlaceholder,\n MdInputContainer,\n MdHint,\n MdTextareaAutosize,\n MdInputDirective\n ],\n }), \n __metadata$50('design:paramtypes', [])\n ], MdInputModule);\n return MdInputModule;\n}());\n\n/**\n * Configuration used when opening a snack-bar.\n */\nvar MdSnackBarConfig = (function () {\n function MdSnackBarConfig() {\n /** The politeness level for the MdAriaLiveAnnouncer announcement. */\n this.politeness = 'assertive';\n /** Message to be announced by the MdAriaLiveAnnouncer */\n this.announcementMessage = '';\n /** The view container to place the overlay for the snack bar into. */\n this.viewContainerRef = null;\n /** The length of time in milliseconds to wait before automatically dismissing the snack bar. */\n this.duration = 0;\n }\n return MdSnackBarConfig;\n}());\n\n// TODO(josephperrott): Implement onAction observable.\n/**\n * Reference to a snack bar dispatched from the snack bar service.\n */\nvar MdSnackBarRef = (function () {\n function MdSnackBarRef(instance, containerInstance, _overlayRef) {\n var _this = this;\n this._overlayRef = _overlayRef;\n /** Subject for notifying the user that the snack bar has closed. */\n this._afterClosed = new rxjs_Subject.Subject();\n /** Subject for notifying the user that the snack bar action was called. */\n this._onAction = new rxjs_Subject.Subject();\n // Sets the readonly instance of the snack bar content component.\n this._instance = instance;\n this.containerInstance = containerInstance;\n // Dismiss snackbar on action.\n this.onAction().subscribe(function () { return _this.dismiss(); });\n containerInstance._onExit().subscribe(function () { return _this._finishDismiss(); });\n }\n Object.defineProperty(MdSnackBarRef.prototype, \"instance\", {\n /** The instance of the component making up the content of the snack bar. */\n get: function () {\n return this._instance;\n },\n enumerable: true,\n configurable: true\n });\n /** Dismisses the snack bar. */\n MdSnackBarRef.prototype.dismiss = function () {\n if (!this._afterClosed.closed) {\n this.containerInstance.exit();\n }\n };\n /** Marks the snackbar action clicked. */\n MdSnackBarRef.prototype._action = function () {\n if (!this._onAction.closed) {\n this._onAction.next();\n this._onAction.complete();\n }\n };\n /** Marks the snackbar as opened */\n MdSnackBarRef.prototype._open = function () {\n if (!this._afterOpened.closed) {\n this._afterOpened.next();\n this._afterOpened.complete();\n }\n };\n /** Cleans up the DOM after closing. */\n MdSnackBarRef.prototype._finishDismiss = function () {\n this._overlayRef.dispose();\n this._afterClosed.next();\n this._afterClosed.complete();\n };\n /** Gets an observable that is notified when the snack bar is finished closing. */\n MdSnackBarRef.prototype.afterDismissed = function () {\n return this._afterClosed.asObservable();\n };\n /** Gets an observable that is notified when the snack bar has opened and appeared. */\n MdSnackBarRef.prototype.afterOpened = function () {\n return this.containerInstance._onEnter();\n };\n /** Gets an observable that is notified when the snack bar action is called. */\n MdSnackBarRef.prototype.onAction = function () {\n return this._onAction.asObservable();\n };\n return MdSnackBarRef;\n}());\n\nvar __extends$17 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Error that is thrown when attempting to attach a snack bar that is already attached.\n * @docs-private\n */\nvar MdSnackBarContentAlreadyAttached = (function (_super) {\n __extends$17(MdSnackBarContentAlreadyAttached, _super);\n function MdSnackBarContentAlreadyAttached() {\n _super.call(this, 'Attempting to attach snack bar content after content is already attached');\n }\n return MdSnackBarContentAlreadyAttached;\n}(MdError));\n\nvar __extends$16 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$55 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$55 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n// TODO(jelbourn): we can't use constants from animation.ts here because you can't use\n// a text interpolation in anything that is analyzed statically with ngc (for AoT compile).\nvar SHOW_ANIMATION = '225ms cubic-bezier(0.4,0.0,1,1)';\nvar HIDE_ANIMATION = '195ms cubic-bezier(0.0,0.0,0.2,1)';\n/**\n * Internal component that wraps user-provided snack bar content.\n * @docs-private\n */\nvar MdSnackBarContainer = (function (_super) {\n __extends$16(MdSnackBarContainer, _super);\n function MdSnackBarContainer(_ngZone, _renderer, _elementRef) {\n _super.call(this);\n this._ngZone = _ngZone;\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n /** Subject for notifying that the snack bar has exited from view. */\n this.onExit = new rxjs_Subject.Subject();\n /** Subject for notifying that the snack bar has finished entering the view. */\n this.onEnter = new rxjs_Subject.Subject();\n /** The state of the snack bar animations. */\n this.animationState = 'initial';\n }\n /** Attach a component portal as content to this snack bar container. */\n MdSnackBarContainer.prototype.attachComponentPortal = function (portal) {\n if (this._portalHost.hasAttached()) {\n throw new MdSnackBarContentAlreadyAttached();\n }\n if (this.snackBarConfig.extraClasses) {\n // Not the most efficient way of adding classes, but the renderer doesn't allow us\n // to pass in an array or a space-separated list.\n for (var _i = 0, _a = this.snackBarConfig.extraClasses; _i < _a.length; _i++) {\n var cssClass = _a[_i];\n this._renderer.setElementClass(this._elementRef.nativeElement, cssClass, true);\n }\n }\n return this._portalHost.attachComponentPortal(portal);\n };\n /** Attach a template portal as content to this snack bar container. */\n MdSnackBarContainer.prototype.attachTemplatePortal = function (portal) {\n throw Error('Not yet implemented');\n };\n /** Handle end of animations, updating the state of the snackbar. */\n MdSnackBarContainer.prototype.onAnimationEnd = function (event) {\n var _this = this;\n if (event.toState === 'void' || event.toState === 'complete') {\n this._completeExit();\n }\n if (event.toState === 'visible') {\n this._ngZone.run(function () {\n _this.onEnter.next();\n _this.onEnter.complete();\n });\n }\n };\n /** Begin animation of snack bar entrance into view. */\n MdSnackBarContainer.prototype.enter = function () {\n this.animationState = 'visible';\n };\n /** Returns an observable resolving when the enter animation completes. */\n MdSnackBarContainer.prototype._onEnter = function () {\n this.animationState = 'visible';\n return this.onEnter.asObservable();\n };\n /** Begin animation of the snack bar exiting from view. */\n MdSnackBarContainer.prototype.exit = function () {\n this.animationState = 'complete';\n return this._onExit();\n };\n /** Returns an observable that completes after the closing animation is done. */\n MdSnackBarContainer.prototype._onExit = function () {\n return this.onExit.asObservable();\n };\n /**\n * Makes sure the exit callbacks have been invoked when the element is destroyed.\n */\n MdSnackBarContainer.prototype.ngOnDestroy = function () {\n this._completeExit();\n };\n /**\n * Waits for the zone to settle before removing the element. Helps prevent\n * errors where we end up removing an element which is in the middle of an animation.\n */\n MdSnackBarContainer.prototype._completeExit = function () {\n var _this = this;\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n _this.onExit.next();\n _this.onExit.complete();\n });\n };\n __decorate$55([\n _angular_core.ViewChild(PortalHostDirective), \n __metadata$55('design:type', PortalHostDirective)\n ], MdSnackBarContainer.prototype, \"_portalHost\", void 0);\n MdSnackBarContainer = __decorate$55([\n _angular_core.Component({selector: 'snack-bar-container',\n template: \"<template cdkPortalHost></template>\",\n styles: [\":host{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px 0 rgba(0,0,0,.14),0 1px 18px 0 rgba(0,0,0,.12);background:#323232;border-radius:2px;box-sizing:content-box;display:block;height:20px;max-width:568px;min-width:288px;overflow:hidden;padding:14px 24px;transform:translateY(100%)}@media screen and (-ms-high-contrast:active){:host{border:1px solid}}\"],\n host: {\n 'role': 'alert',\n '[@state]': 'animationState',\n '(@state.done)': 'onAnimationEnd($event)'\n },\n animations: [\n _angular_core.trigger('state', [\n _angular_core.state('initial', _angular_core.style({ transform: 'translateY(100%)' })),\n _angular_core.state('visible', _angular_core.style({ transform: 'translateY(0%)' })),\n _angular_core.state('complete', _angular_core.style({ transform: 'translateY(100%)' })),\n _angular_core.transition('visible => complete', _angular_core.animate(HIDE_ANIMATION)),\n _angular_core.transition('initial => visible, void => visible', _angular_core.animate(SHOW_ANIMATION)),\n ])\n ],\n }), \n __metadata$55('design:paramtypes', [_angular_core.NgZone, _angular_core.Renderer, _angular_core.ElementRef])\n ], MdSnackBarContainer);\n return MdSnackBarContainer;\n}(BasePortalHost));\n\nvar __decorate$56 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$56 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * A component used to open as the default snack bar, matching material spec.\n * This should only be used internally by the snack bar service.\n */\nvar SimpleSnackBar = (function () {\n function SimpleSnackBar() {\n }\n /** Dismisses the snack bar. */\n SimpleSnackBar.prototype.dismiss = function () {\n this.snackBarRef._action();\n };\n Object.defineProperty(SimpleSnackBar.prototype, \"hasAction\", {\n /** If the action button should be shown. */\n get: function () { return !!this.action; },\n enumerable: true,\n configurable: true\n });\n SimpleSnackBar = __decorate$56([\n _angular_core.Component({selector: 'simple-snack-bar',\n template: \"<span class=\\\"mat-simple-snackbar-message\\\">{{message}}</span> <button class=\\\"mat-simple-snackbar-action\\\" *ngIf=\\\"hasAction\\\" (click)=\\\"dismiss()\\\">{{action}}</button>\",\n styles: [\":host{display:flex;justify-content:space-between;color:#fff;line-height:20px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}.mat-simple-snackbar-message{white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis}.mat-simple-snackbar-action{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;background:0 0;margin:-5px 0 0;padding:5px;text-transform:uppercase;color:inherit;line-height:inherit;flex-shrink:0;font-family:inherit;font-size:inherit;font-weight:600}\"],\n host: {\n '[class.mat-simple-snackbar]': 'true',\n }\n }), \n __metadata$56('design:paramtypes', [])\n ], SimpleSnackBar);\n return SimpleSnackBar;\n}());\n\n/**\n * Extends an object with the *enumerable* and *own* properties of one or more source objects,\n * similar to Object.assign.\n *\n * @param dest The object which will have properties copied to it.\n * @param sources The source objects from which properties will be copied.\n */\nfunction extendObject(dest) {\n var sources = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n sources[_i - 1] = arguments[_i];\n }\n if (dest == null) {\n throw TypeError('Cannot convert undefined or null to object');\n }\n for (var _a = 0, sources_1 = sources; _a < sources_1.length; _a++) {\n var source = sources_1[_a];\n if (source != null) {\n for (var key in source) {\n if (source.hasOwnProperty(key)) {\n dest[key] = source[key];\n }\n }\n }\n }\n return dest;\n}\n\nvar __decorate$54 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$54 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$11 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * Service to dispatch Material Design snack bar messages.\n */\nvar MdSnackBar = (function () {\n function MdSnackBar(_overlay, _live, _parentSnackBar) {\n this._overlay = _overlay;\n this._live = _live;\n this._parentSnackBar = _parentSnackBar;\n }\n Object.defineProperty(MdSnackBar.prototype, \"_openedSnackBarRef\", {\n /** Reference to the currently opened snackbar at *any* level. */\n get: function () {\n return this._parentSnackBar ?\n this._parentSnackBar._openedSnackBarRef : this._snackBarRefAtThisLevel;\n },\n set: function (value) {\n if (this._parentSnackBar) {\n this._parentSnackBar._openedSnackBarRef = value;\n }\n else {\n this._snackBarRefAtThisLevel = value;\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Creates and dispatches a snack bar with a custom component for the content, removing any\n * currently opened snack bars.\n *\n * @param component Component to be instantiated.\n * @param config Extra configuration for the snack bar.\n */\n MdSnackBar.prototype.openFromComponent = function (component, config) {\n var _this = this;\n config = _applyConfigDefaults(config);\n var overlayRef = this._createOverlay();\n var snackBarContainer = this._attachSnackBarContainer(overlayRef, config);\n var snackBarRef = this._attachSnackbarContent(component, snackBarContainer, overlayRef);\n // When the snackbar is dismissed, clear the reference to it.\n snackBarRef.afterDismissed().subscribe(function () {\n // Clear the snackbar ref if it hasn't already been replaced by a newer snackbar.\n if (_this._openedSnackBarRef == snackBarRef) {\n _this._openedSnackBarRef = null;\n }\n });\n // If a snack bar is already in view, dismiss it and enter the new snack bar after exit\n // animation is complete.\n if (this._openedSnackBarRef) {\n this._openedSnackBarRef.afterDismissed().subscribe(function () {\n snackBarRef.containerInstance.enter();\n });\n this._openedSnackBarRef.dismiss();\n }\n else {\n snackBarRef.containerInstance.enter();\n }\n // If a dismiss timeout is provided, set up dismiss based on after the snackbar is opened.\n if (config.duration > 0) {\n snackBarRef.afterOpened().subscribe(function () {\n setTimeout(function () { return snackBarRef.dismiss(); }, config.duration);\n });\n }\n this._live.announce(config.announcementMessage, config.politeness);\n this._openedSnackBarRef = snackBarRef;\n return this._openedSnackBarRef;\n };\n /**\n * Opens a snackbar with a message and an optional action.\n * @param message The message to show in the snackbar.\n * @param action The label for the snackbar action.\n * @param config Additional configuration options for the snackbar.\n */\n MdSnackBar.prototype.open = function (message, action, config) {\n if (action === void 0) { action = ''; }\n if (config === void 0) { config = {}; }\n config.announcementMessage = message;\n var simpleSnackBarRef = this.openFromComponent(SimpleSnackBar, config);\n simpleSnackBarRef.instance.snackBarRef = simpleSnackBarRef;\n simpleSnackBarRef.instance.message = message;\n simpleSnackBarRef.instance.action = action;\n return simpleSnackBarRef;\n };\n /**\n * Attaches the snack bar container component to the overlay.\n */\n MdSnackBar.prototype._attachSnackBarContainer = function (overlayRef, config) {\n var containerPortal = new ComponentPortal(MdSnackBarContainer, config.viewContainerRef);\n var containerRef = overlayRef.attach(containerPortal);\n containerRef.instance.snackBarConfig = config;\n return containerRef.instance;\n };\n /**\n * Places a new component as the content of the snack bar container.\n */\n MdSnackBar.prototype._attachSnackbarContent = function (component, container, overlayRef) {\n var portal = new ComponentPortal(component);\n var contentRef = container.attachComponentPortal(portal);\n return new MdSnackBarRef(contentRef.instance, container, overlayRef);\n };\n /**\n * Creates a new overlay and places it in the correct location.\n */\n MdSnackBar.prototype._createOverlay = function () {\n var state$$1 = new OverlayState();\n state$$1.positionStrategy = this._overlay.position().global()\n .centerHorizontally()\n .bottom('0');\n return this._overlay.create(state$$1);\n };\n MdSnackBar = __decorate$54([\n _angular_core.Injectable(),\n __param$11(2, _angular_core.Optional()),\n __param$11(2, _angular_core.SkipSelf()), \n __metadata$54('design:paramtypes', [Overlay, LiveAnnouncer, MdSnackBar])\n ], MdSnackBar);\n return MdSnackBar;\n}());\n/**\n * Applies default options to the snackbar config.\n * @param config The configuration to which the defaults will be applied.\n * @returns The new configuration object with defaults applied.\n */\nfunction _applyConfigDefaults(config) {\n return extendObject(new MdSnackBarConfig(), config);\n}\n\nvar __decorate$53 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$53 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdSnackBarModule = (function () {\n function MdSnackBarModule() {\n }\n /** @deprecated */\n MdSnackBarModule.forRoot = function () {\n return {\n ngModule: MdSnackBarModule,\n providers: []\n };\n };\n MdSnackBarModule = __decorate$53([\n _angular_core.NgModule({\n imports: [OverlayModule, PortalModule, _angular_common.CommonModule, CompatibilityModule],\n exports: [MdSnackBarContainer, CompatibilityModule],\n declarations: [MdSnackBarContainer, SimpleSnackBar],\n entryComponents: [MdSnackBarContainer, SimpleSnackBar],\n providers: [MdSnackBar, LIVE_ANNOUNCER_PROVIDER]\n }), \n __metadata$53('design:paramtypes', [])\n ], MdSnackBarModule);\n return MdSnackBarModule;\n}());\n\nvar __extends$18 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$58 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$58 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Used to flag tab labels for use with the portal directive */\nvar MdTabLabel = (function (_super) {\n __extends$18(MdTabLabel, _super);\n function MdTabLabel(templateRef, viewContainerRef) {\n _super.call(this, templateRef, viewContainerRef);\n }\n MdTabLabel = __decorate$58([\n _angular_core.Directive({\n selector: '[md-tab-label], [mat-tab-label]',\n }), \n __metadata$58('design:paramtypes', [_angular_core.TemplateRef, _angular_core.ViewContainerRef])\n ], MdTabLabel);\n return MdTabLabel;\n}(TemplatePortalDirective));\n\nvar __decorate$59 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$59 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Used in the `md-tab-group` view to display tab labels */\nvar MdTabLabelWrapper = (function () {\n function MdTabLabelWrapper(elementRef, _renderer) {\n this.elementRef = elementRef;\n this._renderer = _renderer;\n /** Whether the tab label is disabled. */\n this._disabled = false;\n }\n Object.defineProperty(MdTabLabelWrapper.prototype, \"disabled\", {\n /** Whether the element is disabled. */\n get: function () { return this._disabled; },\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n /** Sets focus on the wrapper element */\n MdTabLabelWrapper.prototype.focus = function () {\n this._renderer.invokeElementMethod(this.elementRef.nativeElement, 'focus');\n };\n MdTabLabelWrapper.prototype.getOffsetLeft = function () {\n return this.elementRef.nativeElement.offsetLeft;\n };\n MdTabLabelWrapper.prototype.getOffsetWidth = function () {\n return this.elementRef.nativeElement.offsetWidth;\n };\n __decorate$59([\n _angular_core.Input(), \n __metadata$59('design:type', Object)\n ], MdTabLabelWrapper.prototype, \"disabled\", null);\n MdTabLabelWrapper = __decorate$59([\n _angular_core.Directive({\n selector: '[md-tab-label-wrapper], [mat-tab-label-wrapper]',\n host: {\n '[class.mat-tab-disabled]': 'disabled'\n }\n }), \n __metadata$59('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdTabLabelWrapper);\n return MdTabLabelWrapper;\n}());\n\nvar __decorate$61 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$61 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** The ink-bar is used to display and animate the line underneath the current active tab label. */\nvar MdInkBar = (function () {\n function MdInkBar(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n }\n /**\n * Calculates the styles from the provided element in order to align the ink-bar to that element.\n * Shows the ink bar if previously set as hidden.\n * @param element\n */\n MdInkBar.prototype.alignToElement = function (element) {\n this.show();\n this._renderer.setElementStyle(this._elementRef.nativeElement, 'left', this._getLeftPosition(element));\n this._renderer.setElementStyle(this._elementRef.nativeElement, 'width', this._getElementWidth(element));\n };\n /** Shows the ink bar. */\n MdInkBar.prototype.show = function () {\n this._renderer.setElementStyle(this._elementRef.nativeElement, 'visibility', 'visible');\n };\n /** Hides the ink bar. */\n MdInkBar.prototype.hide = function () {\n this._renderer.setElementStyle(this._elementRef.nativeElement, 'visibility', 'hidden');\n };\n /**\n * Generates the pixel distance from the left based on the provided element in string format.\n * @param element\n */\n MdInkBar.prototype._getLeftPosition = function (element) {\n return element ? element.offsetLeft + 'px' : '0';\n };\n /**\n * Generates the pixel width from the provided element in string format.\n * @param element\n */\n MdInkBar.prototype._getElementWidth = function (element) {\n return element ? element.offsetWidth + 'px' : '0';\n };\n MdInkBar = __decorate$61([\n _angular_core.Directive({\n selector: 'md-ink-bar, mat-ink-bar',\n host: {\n '[class.mat-ink-bar]': 'true',\n },\n }), \n __metadata$61('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdInkBar);\n return MdInkBar;\n}());\n\nvar __extends$19 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$60 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$60 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Navigation component matching the styles of the tab group header.\n * Provides anchored navigation with animated ink bar.\n */\nvar MdTabNavBar = (function () {\n function MdTabNavBar() {\n }\n /** Notifies the component that the active link has been changed. */\n MdTabNavBar.prototype.updateActiveLink = function (element) {\n this._activeLinkChanged = this._activeLinkElement != element;\n this._activeLinkElement = element;\n };\n /** Checks if the active link has been changed and, if so, will update the ink bar. */\n MdTabNavBar.prototype.ngAfterContentChecked = function () {\n if (this._activeLinkChanged) {\n this._inkBar.alignToElement(this._activeLinkElement.nativeElement);\n this._activeLinkChanged = false;\n }\n };\n __decorate$60([\n _angular_core.ViewChild(MdInkBar), \n __metadata$60('design:type', MdInkBar)\n ], MdTabNavBar.prototype, \"_inkBar\", void 0);\n MdTabNavBar = __decorate$60([\n _angular_core.Component({selector: '[md-tab-nav-bar], [mat-tab-nav-bar]',\n template: \"<div class=\\\"mat-tab-links\\\"><ng-content></ng-content></div><md-ink-bar></md-ink-bar>\",\n styles: [\".mat-tab-link,.mat-tab-nav-bar{position:relative;overflow:hidden}.mat-tab-nav-bar{flex-shrink:0}.mat-tab-links{display:flex;position:relative}.mat-tab-link{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;text-decoration:none}.mat-tab-link:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-link{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}\"],\n host: {\n '[class.mat-tab-nav-bar]': 'true',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$60('design:paramtypes', [])\n ], MdTabNavBar);\n return MdTabNavBar;\n}());\n/**\n * Link inside of a `md-tab-nav-bar`.\n */\nvar MdTabLink = (function () {\n function MdTabLink(_mdTabNavBar, _elementRef) {\n this._mdTabNavBar = _mdTabNavBar;\n this._elementRef = _elementRef;\n this._isActive = false;\n }\n Object.defineProperty(MdTabLink.prototype, \"active\", {\n /** Whether the link is active. */\n get: function () { return this._isActive; },\n set: function (value) {\n this._isActive = value;\n if (value) {\n this._mdTabNavBar.updateActiveLink(this._elementRef);\n }\n },\n enumerable: true,\n configurable: true\n });\n __decorate$60([\n _angular_core.Input(), \n __metadata$60('design:type', Boolean)\n ], MdTabLink.prototype, \"active\", null);\n MdTabLink = __decorate$60([\n _angular_core.Directive({\n selector: '[md-tab-link], [mat-tab-link]',\n host: {\n '[class.mat-tab-link]': 'true',\n }\n }), \n __metadata$60('design:paramtypes', [MdTabNavBar, _angular_core.ElementRef])\n ], MdTabLink);\n return MdTabLink;\n}());\n/**\n * Simple directive that extends the ripple and matches the selector of the MdTabLink. This\n * adds the ripple behavior to nav bar labels.\n */\nvar MdTabLinkRipple = (function (_super) {\n __extends$19(MdTabLinkRipple, _super);\n function MdTabLinkRipple(elementRef, ngZone, ruler) {\n _super.call(this, elementRef, ngZone, ruler);\n }\n MdTabLinkRipple = __decorate$60([\n _angular_core.Directive({\n selector: '[md-tab-link], [mat-tab-link]',\n host: {\n '[class.mat-tab-link]': 'true',\n },\n }), \n __metadata$60('design:paramtypes', [_angular_core.ElementRef, _angular_core.NgZone, ViewportRuler])\n ], MdTabLinkRipple);\n return MdTabLinkRipple;\n}(MdRipple));\n\nvar __decorate$62 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$62 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdTab = (function () {\n function MdTab(_viewContainerRef) {\n this._viewContainerRef = _viewContainerRef;\n /** The plain text label for the tab, used when there is no template label. */\n this.textLabel = '';\n /** The portal that will be the hosted content of the tab */\n this._contentPortal = null;\n /**\n * The relatively indexed position where 0 represents the center, negative is left, and positive\n * represents the right.\n */\n this.position = null;\n /**\n * The initial relatively index origin of the tab if it was created and selected after there\n * was already a selected tab. Provides context of what position the tab should originate from.\n */\n this.origin = null;\n this._disabled = false;\n }\n Object.defineProperty(MdTab.prototype, \"content\", {\n get: function () { return this._contentPortal; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTab.prototype, \"disabled\", {\n get: function () { return this._disabled; },\n /** Whether the tab is disabled */\n set: function (value) { this._disabled = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n MdTab.prototype.ngOnInit = function () {\n this._contentPortal = new TemplatePortal(this._content, this._viewContainerRef);\n };\n __decorate$62([\n _angular_core.ContentChild(MdTabLabel), \n __metadata$62('design:type', MdTabLabel)\n ], MdTab.prototype, \"templateLabel\", void 0);\n __decorate$62([\n _angular_core.ViewChild(_angular_core.TemplateRef), \n __metadata$62('design:type', _angular_core.TemplateRef)\n ], MdTab.prototype, \"_content\", void 0);\n __decorate$62([\n _angular_core.Input('label'), \n __metadata$62('design:type', String)\n ], MdTab.prototype, \"textLabel\", void 0);\n __decorate$62([\n _angular_core.Input(), \n __metadata$62('design:type', Boolean), \n __metadata$62('design:paramtypes', [Boolean])\n ], MdTab.prototype, \"disabled\", null);\n MdTab = __decorate$62([\n _angular_core.Component({selector: 'md-tab, mat-tab',\n template: \"<template><ng-content></ng-content></template>\",\n }), \n __metadata$62('design:paramtypes', [_angular_core.ViewContainerRef])\n ], MdTab);\n return MdTab;\n}());\n\nvar __decorate$63 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$63 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$12 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * Wrapper for the contents of a tab.\n */\nvar MdTabBody = (function () {\n function MdTabBody(_dir, _elementRef, _changeDetectorRef) {\n this._dir = _dir;\n this._elementRef = _elementRef;\n this._changeDetectorRef = _changeDetectorRef;\n /** Event emitted when the tab begins to animate towards the center as the active tab. */\n this.onCentering = new _angular_core.EventEmitter();\n /** Event emitted when the tab completes its animation towards the center. */\n this.onCentered = new _angular_core.EventEmitter(true);\n /** Whether the element is allowed to be animated. */\n this._canBeAnimated = false;\n }\n Object.defineProperty(MdTabBody.prototype, \"position\", {\n set: function (position) {\n if (position < 0) {\n this._position = this._getLayoutDirection() == 'ltr' ? 'left' : 'right';\n }\n else if (position > 0) {\n this._position = this._getLayoutDirection() == 'ltr' ? 'right' : 'left';\n }\n else {\n this._position = 'center';\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabBody.prototype, \"origin\", {\n /** The origin position from which this tab should appear when it is centered into view. */\n set: function (origin) {\n if (origin == null) {\n return;\n }\n var dir = this._getLayoutDirection();\n if ((dir == 'ltr' && origin <= 0) || (dir == 'rtl' && origin > 0)) {\n this._origin = 'left';\n }\n else {\n this._origin = 'right';\n }\n },\n enumerable: true,\n configurable: true\n });\n /**\n * After initialized, check if the content is centered and has an origin. If so, set the\n * special position states that transition the tab from the left or right before centering.\n */\n MdTabBody.prototype.ngOnInit = function () {\n if (this._position == 'center' && this._origin) {\n this._position = this._origin == 'left' ? 'left-origin-center' : 'right-origin-center';\n }\n };\n /**\n * After the view has been set, check if the tab content is set to the center and attach the\n * content if it is not already attached.\n */\n MdTabBody.prototype.ngAfterViewChecked = function () {\n if (this._isCenterPosition(this._position) && !this._portalHost.hasAttached()) {\n this._portalHost.attach(this._content);\n }\n };\n /**\n * After the content has been checked, determines whether the element should be allowed to\n * animate. This has to be limited, because under a specific set of circumstances (see #2151),\n * the animations can be triggered too early, which either crashes Chrome by putting it into an\n * infinite loop (with Angular < 2.3.0) or throws an error because the element doesn't have a\n * computed style (with Angular > 2.3.0). This can alternatively be determined by checking the\n * transform: canBeAnimated = getComputedStyle(element) !== '', however document.contains should\n * be faster since it doesn't cause a reflow.\n *\n * TODO: This can safely be removed after we stop supporting Angular < 2.4.2. The fix landed via\n * https://github.com/angular/angular/commit/21030e9a1cf30e8101399d8535ed72d847a23ba6\n */\n MdTabBody.prototype.ngAfterContentChecked = function () {\n if (!this._canBeAnimated) {\n this._canBeAnimated = document.body.contains(this._elementRef.nativeElement);\n if (this._canBeAnimated) {\n this._changeDetectorRef.markForCheck();\n }\n }\n };\n MdTabBody.prototype._onTranslateTabStarted = function (e) {\n if (this._isCenterPosition(e.toState)) {\n this.onCentering.emit(this._elementRef.nativeElement.clientHeight);\n }\n };\n MdTabBody.prototype._onTranslateTabComplete = function (e) {\n // If the end state is that the tab is not centered, then detach the content.\n if (!this._isCenterPosition(e.toState) && !this._isCenterPosition(this._position)) {\n this._portalHost.detach();\n }\n // If the transition to the center is complete, emit an event.\n if (this._isCenterPosition(e.toState) && this._isCenterPosition(this._position)) {\n this.onCentered.emit();\n }\n };\n /** The text direction of the containing app. */\n MdTabBody.prototype._getLayoutDirection = function () {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n };\n /** Whether the provided position state is considered center, regardless of origin. */\n MdTabBody.prototype._isCenterPosition = function (position) {\n return position == 'center' ||\n position == 'left-origin-center' ||\n position == 'right-origin-center';\n };\n __decorate$63([\n _angular_core.ViewChild(PortalHostDirective), \n __metadata$63('design:type', PortalHostDirective)\n ], MdTabBody.prototype, \"_portalHost\", void 0);\n __decorate$63([\n _angular_core.Output(), \n __metadata$63('design:type', _angular_core.EventEmitter)\n ], MdTabBody.prototype, \"onCentering\", void 0);\n __decorate$63([\n _angular_core.Output(), \n __metadata$63('design:type', _angular_core.EventEmitter)\n ], MdTabBody.prototype, \"onCentered\", void 0);\n __decorate$63([\n _angular_core.Input('content'), \n __metadata$63('design:type', TemplatePortal)\n ], MdTabBody.prototype, \"_content\", void 0);\n __decorate$63([\n _angular_core.Input('position'), \n __metadata$63('design:type', Number), \n __metadata$63('design:paramtypes', [Number])\n ], MdTabBody.prototype, \"position\", null);\n __decorate$63([\n _angular_core.Input('origin'), \n __metadata$63('design:type', Number), \n __metadata$63('design:paramtypes', [Number])\n ], MdTabBody.prototype, \"origin\", null);\n MdTabBody = __decorate$63([\n _angular_core.Component({selector: 'md-tab-body, mat-tab-body',\n template: \"<div class=\\\"mat-tab-body-content\\\" #content [@translateTab]=\\\"_canBeAnimated ? _position : null\\\" (@translateTab.start)=\\\"_onTranslateTabStarted($event)\\\" (@translateTab.done)=\\\"_onTranslateTabComplete($event)\\\"><template cdkPortalHost></template></div>\",\n host: {\n '[class.mat-tab-body]': 'true',\n },\n animations: [\n _angular_core.trigger('translateTab', [\n _angular_core.state('left', _angular_core.style({ transform: 'translate3d(-100%, 0, 0)' })),\n _angular_core.state('left-origin-center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n _angular_core.state('right-origin-center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n _angular_core.state('center', _angular_core.style({ transform: 'translate3d(0, 0, 0)' })),\n _angular_core.state('right', _angular_core.style({ transform: 'translate3d(100%, 0, 0)' })),\n _angular_core.transition('* => left, * => right, left => center, right => center', _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')),\n _angular_core.transition('void => left-origin-center', [\n _angular_core.style({ transform: 'translate3d(-100%, 0, 0)' }),\n _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')\n ]),\n _angular_core.transition('void => right-origin-center', [\n _angular_core.style({ transform: 'translate3d(100%, 0, 0)' }),\n _angular_core.animate('500ms cubic-bezier(0.35, 0, 0.25, 1)')\n ])\n ])\n ]\n }),\n __param$12(0, _angular_core.Optional()), \n __metadata$63('design:paramtypes', [Dir, _angular_core.ElementRef, _angular_core.ChangeDetectorRef])\n ], MdTabBody);\n return MdTabBody;\n}());\n\nvar __decorate$64 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$64 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$13 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * The distance in pixels that will be overshot when scrolling a tab label into view. This helps\n * provide a small affordance to the label next to it.\n */\nvar EXAGGERATED_OVERSCROLL = 60;\n/**\n * The header of the tab group which displays a list of all the tabs in the tab group. Includes\n * an ink bar that follows the currently selected tab. When the tabs list's width exceeds the\n * width of the header container, then arrows will be displayed to allow the user to scroll\n * left and right across the header.\n */\nvar MdTabHeader = (function () {\n function MdTabHeader(_zone, _elementRef, _dir) {\n this._zone = _zone;\n this._elementRef = _elementRef;\n this._dir = _dir;\n /** The tab index that is focused. */\n this._focusIndex = 0;\n /** The distance in pixels that the tab labels should be translated to the left. */\n this._scrollDistance = 0;\n /** Whether the header should scroll to the selected index after the view has been checked. */\n this._selectedIndexChanged = false;\n /** Whether the controls for pagination should be displayed */\n this._showPaginationControls = false;\n /** Whether the tab list can be scrolled more towards the end of the tab label list. */\n this._disableScrollAfter = true;\n /** Whether the tab list can be scrolled more towards the beginning of the tab label list. */\n this._disableScrollBefore = true;\n this._selectedIndex = 0;\n /** Event emitted when the option is selected. */\n this.selectFocusedIndex = new _angular_core.EventEmitter();\n /** Event emitted when a label is focused. */\n this.indexFocused = new _angular_core.EventEmitter();\n }\n Object.defineProperty(MdTabHeader.prototype, \"selectedIndex\", {\n get: function () { return this._selectedIndex; },\n /** The index of the active tab. */\n set: function (value) {\n this._selectedIndexChanged = this._selectedIndex != value;\n this._selectedIndex = value;\n this._focusIndex = value;\n },\n enumerable: true,\n configurable: true\n });\n MdTabHeader.prototype.ngAfterContentChecked = function () {\n // If the number of tab labels have changed, check if scrolling should be enabled\n if (this._tabLabelCount != this._labelWrappers.length) {\n this._updatePagination();\n this._tabLabelCount = this._labelWrappers.length;\n }\n // If the selected index has changed, scroll to the label and check if the scrolling controls\n // should be disabled.\n if (this._selectedIndexChanged) {\n this._scrollToLabel(this._selectedIndex);\n this._checkScrollingControls();\n this._alignInkBarToSelectedTab();\n this._selectedIndexChanged = false;\n }\n // If the scroll distance has been changed (tab selected, focused, scroll controls activated),\n // then translate the header to reflect this.\n if (this._scrollDistanceChanged) {\n this._updateTabScrollPosition();\n this._scrollDistanceChanged = false;\n }\n };\n MdTabHeader.prototype._handleKeydown = function (event) {\n switch (event.keyCode) {\n case RIGHT_ARROW:\n this._focusNextTab();\n break;\n case LEFT_ARROW:\n this._focusPreviousTab();\n break;\n case ENTER:\n this.selectFocusedIndex.emit(this.focusIndex);\n break;\n }\n };\n /**\n * Aligns the ink bar to the selected tab on load.\n */\n MdTabHeader.prototype.ngAfterContentInit = function () {\n this._alignInkBarToSelectedTab();\n };\n /**\n * Callback for when the MutationObserver detects that the content has changed.\n */\n MdTabHeader.prototype._onContentChanges = function () {\n this._updatePagination();\n this._alignInkBarToSelectedTab();\n };\n /**\n * Updating the view whether pagination should be enabled or not\n */\n MdTabHeader.prototype._updatePagination = function () {\n this._checkPaginationEnabled();\n this._checkScrollingControls();\n this._updateTabScrollPosition();\n };\n Object.defineProperty(MdTabHeader.prototype, \"focusIndex\", {\n /** Tracks which element has focus; used for keyboard navigation */\n get: function () { return this._focusIndex; },\n /** When the focus index is set, we must manually send focus to the correct label */\n set: function (value) {\n if (!this._isValidIndex(value) || this._focusIndex == value) {\n return;\n }\n this._focusIndex = value;\n this.indexFocused.emit(value);\n this._setTabFocus(value);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Determines if an index is valid. If the tabs are not ready yet, we assume that the user is\n * providing a valid index and return true.\n */\n MdTabHeader.prototype._isValidIndex = function (index) {\n if (!this._labelWrappers) {\n return true;\n }\n var tab = this._labelWrappers ? this._labelWrappers.toArray()[index] : null;\n return tab && !tab.disabled;\n };\n /**\n * Sets focus on the HTML element for the label wrapper and scrolls it into the view if\n * scrolling is enabled.\n */\n MdTabHeader.prototype._setTabFocus = function (tabIndex) {\n if (this._showPaginationControls) {\n this._scrollToLabel(tabIndex);\n }\n if (this._labelWrappers && this._labelWrappers.length) {\n this._labelWrappers.toArray()[tabIndex].focus();\n // Do not let the browser manage scrolling to focus the element, this will be handled\n // by using translation. In LTR, the scroll left should be 0. In RTL, the scroll width\n // should be the full width minus the offset width.\n var containerEl = this._tabListContainer.nativeElement;\n var dir = this._getLayoutDirection();\n if (dir == 'ltr') {\n containerEl.scrollLeft = 0;\n }\n else {\n containerEl.scrollLeft = containerEl.scrollWidth - containerEl.offsetWidth;\n }\n }\n };\n /**\n * Moves the focus towards the beginning or the end of the list depending on the offset provided.\n * Valid offsets are 1 and -1.\n */\n MdTabHeader.prototype._moveFocus = function (offset) {\n if (this._labelWrappers) {\n var tabs = this._labelWrappers.toArray();\n for (var i = this.focusIndex + offset; i < tabs.length && i >= 0; i += offset) {\n if (this._isValidIndex(i)) {\n this.focusIndex = i;\n return;\n }\n }\n }\n };\n /** Increment the focus index by 1 until a valid tab is found. */\n MdTabHeader.prototype._focusNextTab = function () {\n this._moveFocus(this._getLayoutDirection() == 'ltr' ? 1 : -1);\n };\n /** Decrement the focus index by 1 until a valid tab is found. */\n MdTabHeader.prototype._focusPreviousTab = function () {\n this._moveFocus(this._getLayoutDirection() == 'ltr' ? -1 : 1);\n };\n /** The layout direction of the containing app. */\n MdTabHeader.prototype._getLayoutDirection = function () {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n };\n /** Performs the CSS transformation on the tab list that will cause the list to scroll. */\n MdTabHeader.prototype._updateTabScrollPosition = function () {\n var translateX = this.scrollDistance + 'px';\n if (this._getLayoutDirection() == 'ltr') {\n translateX = '-' + translateX;\n }\n applyCssTransform(this._tabList.nativeElement, \"translate3d(\" + translateX + \", 0, 0)\");\n };\n Object.defineProperty(MdTabHeader.prototype, \"scrollDistance\", {\n get: function () { return this._scrollDistance; },\n /** Sets the distance in pixels that the tab header should be transformed in the X-axis. */\n set: function (v) {\n this._scrollDistance = Math.max(0, Math.min(this._getMaxScrollDistance(), v));\n // Mark that the scroll distance has changed so that after the view is checked, the CSS\n // transformation can move the header.\n this._scrollDistanceChanged = true;\n this._checkScrollingControls();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Moves the tab list in the 'before' or 'after' direction (towards the beginning of the list or\n * the end of the list, respectively). The distance to scroll is computed to be a third of the\n * length of the tab list view window.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n MdTabHeader.prototype._scrollHeader = function (scrollDir) {\n var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n // Move the scroll distance one-third the length of the tab list's viewport.\n this.scrollDistance += (scrollDir == 'before' ? -1 : 1) * viewLength / 3;\n };\n /**\n * Moves the tab list such that the desired tab label (marked by index) is moved into view.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n MdTabHeader.prototype._scrollToLabel = function (labelIndex) {\n var selectedLabel = this._labelWrappers\n ? this._labelWrappers.toArray()[labelIndex]\n : null;\n if (!selectedLabel) {\n return;\n }\n // The view length is the visible width of the tab labels.\n var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n var labelBeforePos, labelAfterPos;\n if (this._getLayoutDirection() == 'ltr') {\n labelBeforePos = selectedLabel.getOffsetLeft();\n labelAfterPos = labelBeforePos + selectedLabel.getOffsetWidth();\n }\n else {\n labelAfterPos = this._tabList.nativeElement.offsetWidth - selectedLabel.getOffsetLeft();\n labelBeforePos = labelAfterPos - selectedLabel.getOffsetWidth();\n }\n var beforeVisiblePos = this.scrollDistance;\n var afterVisiblePos = this.scrollDistance + viewLength;\n if (labelBeforePos < beforeVisiblePos) {\n // Scroll header to move label to the before direction\n this.scrollDistance -= beforeVisiblePos - labelBeforePos + EXAGGERATED_OVERSCROLL;\n }\n else if (labelAfterPos > afterVisiblePos) {\n // Scroll header to move label to the after direction\n this.scrollDistance += labelAfterPos - afterVisiblePos + EXAGGERATED_OVERSCROLL;\n }\n };\n /**\n * Evaluate whether the pagination controls should be displayed. If the scroll width of the\n * tab list is wider than the size of the header container, then the pagination controls should\n * be shown.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n MdTabHeader.prototype._checkPaginationEnabled = function () {\n this._showPaginationControls =\n this._tabList.nativeElement.scrollWidth > this._elementRef.nativeElement.offsetWidth;\n if (!this._showPaginationControls) {\n this.scrollDistance = 0;\n }\n };\n /**\n * Evaluate whether the before and after controls should be enabled or disabled.\n * If the header is at the beginning of the list (scroll distance is equal to 0) then disable the\n * before button. If the header is at the end of the list (scroll distance is equal to the\n * maximum distance we can scroll), then disable the after button.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n MdTabHeader.prototype._checkScrollingControls = function () {\n // Check if the pagination arrows should be activated.\n this._disableScrollBefore = this.scrollDistance == 0;\n this._disableScrollAfter = this.scrollDistance == this._getMaxScrollDistance();\n };\n /**\n * Determines what is the maximum length in pixels that can be set for the scroll distance. This\n * is equal to the difference in width between the tab list container and tab header container.\n *\n * This is an expensive call that forces a layout reflow to compute box and scroll metrics and\n * should be called sparingly.\n */\n MdTabHeader.prototype._getMaxScrollDistance = function () {\n var lengthOfTabList = this._tabList.nativeElement.scrollWidth;\n var viewLength = this._tabListContainer.nativeElement.offsetWidth;\n return lengthOfTabList - viewLength;\n };\n /** Tells the ink-bar to align itself to the current label wrapper */\n MdTabHeader.prototype._alignInkBarToSelectedTab = function () {\n var _this = this;\n var selectedLabelWrapper = this._labelWrappers && this._labelWrappers.length\n ? this._labelWrappers.toArray()[this.selectedIndex].elementRef.nativeElement\n : null;\n this._zone.runOutsideAngular(function () {\n requestAnimationFrame(function () {\n _this._inkBar.alignToElement(selectedLabelWrapper);\n });\n });\n };\n __decorate$64([\n _angular_core.ContentChildren(MdTabLabelWrapper), \n __metadata$64('design:type', _angular_core.QueryList)\n ], MdTabHeader.prototype, \"_labelWrappers\", void 0);\n __decorate$64([\n _angular_core.ViewChild(MdInkBar), \n __metadata$64('design:type', MdInkBar)\n ], MdTabHeader.prototype, \"_inkBar\", void 0);\n __decorate$64([\n _angular_core.ViewChild('tabListContainer'), \n __metadata$64('design:type', _angular_core.ElementRef)\n ], MdTabHeader.prototype, \"_tabListContainer\", void 0);\n __decorate$64([\n _angular_core.ViewChild('tabList'), \n __metadata$64('design:type', _angular_core.ElementRef)\n ], MdTabHeader.prototype, \"_tabList\", void 0);\n __decorate$64([\n _angular_core.Input(), \n __metadata$64('design:type', Number), \n __metadata$64('design:paramtypes', [Number])\n ], MdTabHeader.prototype, \"selectedIndex\", null);\n __decorate$64([\n _angular_core.Output(), \n __metadata$64('design:type', Object)\n ], MdTabHeader.prototype, \"selectFocusedIndex\", void 0);\n __decorate$64([\n _angular_core.Output(), \n __metadata$64('design:type', Object)\n ], MdTabHeader.prototype, \"indexFocused\", void 0);\n MdTabHeader = __decorate$64([\n _angular_core.Component({selector: 'md-tab-header, mat-tab-header',\n template: \"<div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-before mat-elevation-z4\\\" aria-hidden=\\\"true\\\" md-ripple [mdRippleDisabled]=\\\"_disableScrollBefore\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollBefore\\\" (click)=\\\"_scrollHeader('before')\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div><div class=\\\"mat-tab-label-container\\\" #tabListContainer (keydown)=\\\"_handleKeydown($event)\\\"><div class=\\\"mat-tab-list\\\" #tabList role=\\\"tablist\\\" (cdkObserveContent)=\\\"_onContentChanges()\\\"><div class=\\\"mat-tab-labels\\\"><ng-content></ng-content></div><md-ink-bar></md-ink-bar></div></div><div class=\\\"mat-tab-header-pagination mat-tab-header-pagination-after mat-elevation-z4\\\" aria-hidden=\\\"true\\\" md-ripple [mdRippleDisabled]=\\\"_disableScrollAfter\\\" [class.mat-tab-header-pagination-disabled]=\\\"_disableScrollAfter\\\" (click)=\\\"_scrollHeader('after')\\\"><div class=\\\"mat-tab-header-pagination-chevron\\\"></div></div>\",\n styles: [\".mat-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mat-tab-label{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;position:relative}.mat-tab-label:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-label{min-width:72px}}.mat-ink-bar{position:absolute;bottom:0;height:2px;transition:.5s cubic-bezier(.35,0,.25,1)}.mat-tab-group-inverted-header .mat-ink-bar{bottom:auto;top:0}.mat-tab-header-pagination{position:relative;display:none;justify-content:center;align-items:center;min-width:32px;cursor:pointer;z-index:2}.mat-tab-header-pagination-controls-enabled .mat-tab-header-pagination,.mat-tab-labels{display:flex}.mat-tab-header-pagination-before,.mat-tab-header-rtl .mat-tab-header-pagination-after{padding-left:4px}.mat-tab-header-pagination-before .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-after .mat-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-tab-header-pagination-after,.mat-tab-header-rtl .mat-tab-header-pagination-before{padding-right:4px}.mat-tab-header-pagination-after .mat-tab-header-pagination-chevron,.mat-tab-header-rtl .mat-tab-header-pagination-before .mat-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;content:'';height:8px;width:8px}.mat-tab-header-pagination-disabled{box-shadow:none;cursor:default}.mat-tab-header-pagination-disabled .mat-tab-header-pagination-chevron{border-color:#ccc}.mat-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1}.mat-tab-list{flex-grow:1;position:relative;transition:transform .5s cubic-bezier(.35,0,.25,1)}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n host: {\n 'class': 'mat-tab-header',\n '[class.mat-tab-header-pagination-controls-enabled]': '_showPaginationControls',\n '[class.mat-tab-header-rtl]': \"_getLayoutDirection() == 'rtl'\",\n }\n }),\n __param$13(2, _angular_core.Optional()), \n __metadata$64('design:paramtypes', [_angular_core.NgZone, _angular_core.ElementRef, Dir])\n ], MdTabHeader);\n return MdTabHeader;\n}());\n\nvar __decorate$57 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$57 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/** Used to generate unique ID's for each tab component */\nvar nextId$2 = 0;\n/** A simple change event emitted on focus or selection changes. */\nvar MdTabChangeEvent = (function () {\n function MdTabChangeEvent() {\n }\n return MdTabChangeEvent;\n}());\n/**\n * Material design tab-group component. Supports basic tab pairs (label + content) and includes\n * animated ink-bar, keyboard navigation, and screen reader.\n * See: https://www.google.com/design/spec/components/tabs.html\n */\nvar MdTabGroup = (function () {\n function MdTabGroup(_renderer) {\n this._renderer = _renderer;\n /** Whether this component has been initialized. */\n this._isInitialized = false;\n /** The tab index that should be selected after the content has been checked. */\n this._indexToSelect = 0;\n /** Snapshot of the height of the tab body wrapper before another tab is activated. */\n this._tabBodyWrapperHeight = null;\n /** Whether the tab group should grow to the size of the active tab */\n this._dynamicHeight = false;\n this._selectedIndex = null;\n /** Position of the tab header. */\n this.headerPosition = 'above';\n this._onFocusChange = new _angular_core.EventEmitter();\n this._onSelectChange = new _angular_core.EventEmitter(true);\n this._groupId = nextId$2++;\n }\n Object.defineProperty(MdTabGroup.prototype, \"dynamicHeight\", {\n get: function () { return this._dynamicHeight; },\n set: function (value) { this._dynamicHeight = coerceBooleanProperty(value); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabGroup.prototype, \"_dynamicHeightDeprecated\", {\n /** @deprecated */\n get: function () { return this._dynamicHeight; },\n set: function (value) { this._dynamicHeight = value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabGroup.prototype, \"selectedIndex\", {\n get: function () { return this._selectedIndex; },\n /** The index of the active tab. */\n set: function (value) { this._indexToSelect = value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabGroup.prototype, \"selectedIndexChange\", {\n /** Output to enable support for two-way binding on `selectedIndex`. */\n get: function () {\n return this.selectChange.map(function (event) { return event.index; });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabGroup.prototype, \"focusChange\", {\n /** Event emitted when focus has changed within a tab group. */\n get: function () {\n return this._onFocusChange.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTabGroup.prototype, \"selectChange\", {\n /** Event emitted when the tab selection has changed. */\n get: function () {\n return this._onSelectChange.asObservable();\n },\n enumerable: true,\n configurable: true\n });\n /**\n * After the content is checked, this component knows what tabs have been defined\n * and what the selected index should be. This is where we can know exactly what position\n * each tab should be in according to the new selected index, and additionally we know how\n * a new selected tab should transition in (from the left or right).\n */\n MdTabGroup.prototype.ngAfterContentChecked = function () {\n var _this = this;\n // Clamp the next selected index to the bounds of 0 and the tabs length. Note the `|| 0`, which\n // ensures that values like NaN can't get through and which would otherwise throw the\n // component into an infinite loop (since Math.max(NaN, 0) === NaN).\n this._indexToSelect =\n Math.min(this._tabs.length - 1, Math.max(this._indexToSelect || 0, 0));\n // If there is a change in selected index, emit a change event. Should not trigger if\n // the selected index has not yet been initialized.\n if (this._selectedIndex != this._indexToSelect && this._selectedIndex != null) {\n this._onSelectChange.emit(this._createChangeEvent(this._indexToSelect));\n }\n // Setup the position for each tab and optionally setup an origin on the next selected tab.\n this._tabs.forEach(function (tab, index) {\n tab.position = index - _this._indexToSelect;\n // If there is already a selected tab, then set up an origin for the next selected tab\n // if it doesn't have one already.\n if (_this._selectedIndex != null && tab.position == 0 && !tab.origin) {\n tab.origin = _this._indexToSelect - _this._selectedIndex;\n }\n });\n this._selectedIndex = this._indexToSelect;\n };\n /**\n * Waits one frame for the view to update, then updates the ink bar\n * Note: This must be run outside of the zone or it will create an infinite change detection loop.\n */\n MdTabGroup.prototype.ngAfterViewChecked = function () {\n this._isInitialized = true;\n };\n MdTabGroup.prototype._focusChanged = function (index) {\n this._onFocusChange.emit(this._createChangeEvent(index));\n };\n MdTabGroup.prototype._createChangeEvent = function (index) {\n var event = new MdTabChangeEvent;\n event.index = index;\n if (this._tabs && this._tabs.length) {\n event.tab = this._tabs.toArray()[index];\n }\n return event;\n };\n /** Returns a unique id for each tab label element */\n MdTabGroup.prototype._getTabLabelId = function (i) {\n return \"md-tab-label-\" + this._groupId + \"-\" + i;\n };\n /** Returns a unique id for each tab content element */\n MdTabGroup.prototype._getTabContentId = function (i) {\n return \"md-tab-content-\" + this._groupId + \"-\" + i;\n };\n /**\n * Sets the height of the body wrapper to the height of the activating tab if dynamic\n * height property is true.\n */\n MdTabGroup.prototype._setTabBodyWrapperHeight = function (tabHeight) {\n if (!this._dynamicHeight || !this._tabBodyWrapperHeight) {\n return;\n }\n this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', this._tabBodyWrapperHeight + 'px');\n // This conditional forces the browser to paint the height so that\n // the animation to the new height can have an origin.\n if (this._tabBodyWrapper.nativeElement.offsetHeight) {\n this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', tabHeight + 'px');\n }\n };\n /** Removes the height of the tab body wrapper. */\n MdTabGroup.prototype._removeTabBodyWrapperHeight = function () {\n this._tabBodyWrapperHeight = this._tabBodyWrapper.nativeElement.clientHeight;\n this._renderer.setElementStyle(this._tabBodyWrapper.nativeElement, 'height', '');\n };\n __decorate$57([\n _angular_core.ContentChildren(MdTab), \n __metadata$57('design:type', _angular_core.QueryList)\n ], MdTabGroup.prototype, \"_tabs\", void 0);\n __decorate$57([\n _angular_core.ViewChild('tabBodyWrapper'), \n __metadata$57('design:type', _angular_core.ElementRef)\n ], MdTabGroup.prototype, \"_tabBodyWrapper\", void 0);\n __decorate$57([\n _angular_core.Input(), \n __metadata$57('design:type', Boolean)\n ], MdTabGroup.prototype, \"dynamicHeight\", null);\n __decorate$57([\n _angular_core.Input('md-dynamic-height'), \n __metadata$57('design:type', Boolean)\n ], MdTabGroup.prototype, \"_dynamicHeightDeprecated\", null);\n __decorate$57([\n _angular_core.Input(), \n __metadata$57('design:type', Number), \n __metadata$57('design:paramtypes', [Number])\n ], MdTabGroup.prototype, \"selectedIndex\", null);\n __decorate$57([\n _angular_core.Input(), \n __metadata$57('design:type', String)\n ], MdTabGroup.prototype, \"headerPosition\", void 0);\n __decorate$57([\n _angular_core.Output(), \n __metadata$57('design:type', rxjs_Observable.Observable)\n ], MdTabGroup.prototype, \"selectedIndexChange\", null);\n __decorate$57([\n _angular_core.Output(), \n __metadata$57('design:type', rxjs_Observable.Observable)\n ], MdTabGroup.prototype, \"focusChange\", null);\n __decorate$57([\n _angular_core.Output(), \n __metadata$57('design:type', rxjs_Observable.Observable)\n ], MdTabGroup.prototype, \"selectChange\", null);\n MdTabGroup = __decorate$57([\n _angular_core.Component({selector: 'md-tab-group, mat-tab-group',\n template: \"<md-tab-header [selectedIndex]=\\\"selectedIndex\\\" #tabHeader (indexFocused)=\\\"_focusChanged($event)\\\" (selectFocusedIndex)=\\\"selectedIndex = $event\\\"><div class=\\\"mat-tab-label\\\" role=\\\"tab\\\" md-tab-label-wrapper md-ripple *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabLabelId(i)\\\" [tabIndex]=\\\"selectedIndex == i ? 0 : -1\\\" [attr.aria-controls]=\\\"_getTabContentId(i)\\\" [attr.aria-selected]=\\\"selectedIndex == i\\\" [class.mat-tab-label-active]=\\\"selectedIndex == i\\\" [disabled]=\\\"tab.disabled\\\" (click)=\\\"tabHeader.focusIndex = selectedIndex = i\\\"><template [ngIf]=\\\"tab.templateLabel\\\"><template [cdkPortalHost]=\\\"tab.templateLabel\\\"></template></template><template [ngIf]=\\\"!tab.templateLabel\\\">{{tab.textLabel}}</template></div></md-tab-header><div class=\\\"mat-tab-body-wrapper\\\" #tabBodyWrapper><md-tab-body role=\\\"tabpanel\\\" *ngFor=\\\"let tab of _tabs; let i = index\\\" [id]=\\\"_getTabContentId(i)\\\" [attr.aria-labelledby]=\\\"_getTabLabelId(i)\\\" [class.mat-tab-body-active]=\\\"selectedIndex == i\\\" [content]=\\\"tab.content\\\" [position]=\\\"tab.position\\\" [origin]=\\\"tab.origin\\\" (onCentered)=\\\"_removeTabBodyWrapperHeight()\\\" (onCentering)=\\\"_setTabBodyWrapperHeight($event)\\\"></md-tab-body></div>\",\n styles: [\":host{display:flex;flex-direction:column;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif}:host.mat-tab-group-inverted-header{flex-direction:column-reverse}.mat-tab-label{line-height:48px;height:48px;padding:0 12px;font-size:14px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-weight:500;cursor:pointer;box-sizing:border-box;color:currentColor;opacity:.6;min-width:160px;text-align:center;position:relative}.mat-tab-label:focus{outline:0;opacity:1}@media (max-width:600px){.mat-tab-label{min-width:72px}}:host[mat-stretch-tabs] .mat-tab-label,:host[md-stretch-tabs] .mat-tab-label{flex-basis:0;flex-grow:1}.mat-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height .5s cubic-bezier(.35,0,.25,1)}.mat-tab-body{position:absolute;top:0;left:0;right:0;bottom:0;display:block;overflow:hidden}.mat-tab-body.mat-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}:host.mat-tab-group-dynamic-height .mat-tab-body.mat-tab-body-active{overflow-y:hidden}.mat-tab-disabled{cursor:default;pointer-events:none}\"],\n host: {\n '[class.mat-tab-group-dynamic-height]': 'dynamicHeight',\n '[class.mat-tab-group-inverted-header]': 'headerPosition === \"below\"',\n }\n }), \n __metadata$57('design:paramtypes', [_angular_core.Renderer])\n ], MdTabGroup);\n return MdTabGroup;\n}());\nvar MdTabsModule = (function () {\n function MdTabsModule() {\n }\n /** @deprecated */\n MdTabsModule.forRoot = function () {\n return {\n ngModule: MdTabsModule,\n providers: []\n };\n };\n MdTabsModule = __decorate$57([\n _angular_core.NgModule({\n imports: [_angular_common.CommonModule, PortalModule, MdRippleModule, ObserveContentModule],\n // Don't export all components because some are only to be used internally.\n exports: [MdTabGroup, MdTabLabel, MdTab, MdTabNavBar, MdTabLink, MdTabLinkRipple],\n declarations: [MdTabGroup, MdTabLabel, MdTab, MdInkBar, MdTabLabelWrapper,\n MdTabNavBar, MdTabLink, MdTabBody, MdTabLinkRipple, MdTabHeader],\n providers: [VIEWPORT_RULER_PROVIDER, SCROLL_DISPATCHER_PROVIDER],\n }), \n __metadata$57('design:paramtypes', [])\n ], MdTabsModule);\n return MdTabsModule;\n}());\n\nvar __decorate$65 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$65 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdToolbarRow = (function () {\n function MdToolbarRow() {\n }\n MdToolbarRow = __decorate$65([\n _angular_core.Directive({\n selector: 'md-toolbar-row, mat-toolbar-row',\n host: {\n '[class.mat-toolbar-row]': 'true',\n },\n }), \n __metadata$65('design:paramtypes', [])\n ], MdToolbarRow);\n return MdToolbarRow;\n}());\nvar MdToolbar = (function () {\n function MdToolbar(elementRef, renderer) {\n this.elementRef = elementRef;\n this.renderer = renderer;\n }\n Object.defineProperty(MdToolbar.prototype, \"color\", {\n /** The color of the toolbar. Can be primary, accent, or warn. */\n get: function () {\n return this._color;\n },\n set: function (value) {\n this._updateColor(value);\n },\n enumerable: true,\n configurable: true\n });\n MdToolbar.prototype._updateColor = function (newColor) {\n this._setElementColor(this._color, false);\n this._setElementColor(newColor, true);\n this._color = newColor;\n };\n MdToolbar.prototype._setElementColor = function (color, isAdd) {\n if (color != null && color != '') {\n this.renderer.setElementClass(this.elementRef.nativeElement, \"mat-\" + color, isAdd);\n }\n };\n __decorate$65([\n _angular_core.Input(), \n __metadata$65('design:type', String)\n ], MdToolbar.prototype, \"color\", null);\n MdToolbar = __decorate$65([\n _angular_core.Component({selector: 'md-toolbar, mat-toolbar',\n template: \"<div class=\\\"mat-toolbar-layout\\\"><md-toolbar-row><ng-content></ng-content></md-toolbar-row><ng-content select=\\\"md-toolbar-row, mat-toolbar-row\\\"></ng-content></div>\",\n styles: [\".mat-toolbar,.mat-toolbar .mat-toolbar-row{display:flex;box-sizing:border-box;width:100%}.mat-toolbar{font-size:20px;font-weight:500;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;padding:0 16px;flex-direction:column;min-height:64px}.mat-toolbar .mat-toolbar-row{flex-direction:row;align-items:center;white-space:nowrap}.mat-toolbar-row{height:64px}@media (max-width:600px) and (orientation:portrait){.mat-toolbar{min-height:56px}.mat-toolbar-row{height:56px}}@media (max-width:960px) and (orientation:landscape){.mat-toolbar{min-height:48px}.mat-toolbar-row{height:48px}}\"],\n host: {\n '[class.mat-toolbar]': 'true',\n 'role': 'toolbar'\n },\n changeDetection: _angular_core.ChangeDetectionStrategy.OnPush,\n encapsulation: _angular_core.ViewEncapsulation.None\n }), \n __metadata$65('design:paramtypes', [_angular_core.ElementRef, _angular_core.Renderer])\n ], MdToolbar);\n return MdToolbar;\n}());\nvar MdToolbarModule = (function () {\n function MdToolbarModule() {\n }\n /** @deprecated */\n MdToolbarModule.forRoot = function () {\n return {\n ngModule: MdToolbarModule,\n providers: []\n };\n };\n MdToolbarModule = __decorate$65([\n _angular_core.NgModule({\n imports: [CompatibilityModule],\n exports: [MdToolbar, MdToolbarRow, CompatibilityModule],\n declarations: [MdToolbar, MdToolbarRow],\n }), \n __metadata$65('design:paramtypes', [])\n ], MdToolbarModule);\n return MdToolbarModule;\n}());\n\nvar __extends$20 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Exception thrown when a tooltip has an invalid position.\n * @docs-private\n */\nvar MdTooltipInvalidPositionError = (function (_super) {\n __extends$20(MdTooltipInvalidPositionError, _super);\n function MdTooltipInvalidPositionError(position) {\n _super.call(this, \"Tooltip position \\\"\" + position + \"\\\" is invalid.\");\n }\n return MdTooltipInvalidPositionError;\n}(MdError));\n\nvar __decorate$66 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$66 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$14 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/** Time in ms to delay before changing the tooltip visibility to hidden */\nvar TOUCHEND_HIDE_DELAY = 1500;\n/** Time in ms to throttle repositioning after scroll events. */\nvar SCROLL_THROTTLE_MS = 20;\n/**\n * Directive that attaches a material design tooltip to the host element. Animates the showing and\n * hiding of a tooltip provided position (defaults to below the element).\n *\n * https://material.google.com/components/tooltips.html\n */\nvar MdTooltip = (function () {\n function MdTooltip(_overlay, _scrollDispatcher, _elementRef, _viewContainerRef, _ngZone, _dir) {\n this._overlay = _overlay;\n this._scrollDispatcher = _scrollDispatcher;\n this._elementRef = _elementRef;\n this._viewContainerRef = _viewContainerRef;\n this._ngZone = _ngZone;\n this._dir = _dir;\n this._position = 'below';\n /** The default delay in ms before showing the tooltip after show is called */\n this.showDelay = 0;\n /** The default delay in ms before hiding the tooltip after hide is called */\n this.hideDelay = 0;\n }\n Object.defineProperty(MdTooltip.prototype, \"position\", {\n /** Allows the user to define the position of the tooltip relative to the parent element */\n get: function () { return this._position; },\n set: function (value) {\n if (value !== this._position) {\n this._position = value;\n // TODO(andrewjs): When the overlay's position can be dynamically changed, do not destroy\n // the tooltip.\n if (this._tooltipInstance) {\n this._disposeTooltip();\n }\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_positionDeprecated\", {\n /** @deprecated */\n get: function () { return this._position; },\n set: function (value) { this._position = value; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"message\", {\n /** The message to be displayed in the tooltip */\n get: function () { return this._message; },\n set: function (value) {\n this._message = value;\n if (this._tooltipInstance) {\n this._setTooltipMessage(this._message);\n }\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_deprecatedMessage\", {\n /** @deprecated */\n get: function () { return this.message; },\n set: function (v) { this.message = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_matMessage\", {\n // Properties with `mat-` prefix for noconflict mode.\n get: function () { return this.message; },\n set: function (v) { this.message = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_matPosition\", {\n // Properties with `mat-` prefix for noconflict mode.\n get: function () { return this.position; },\n set: function (v) { this.position = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_matHideDelay\", {\n // Properties with `mat-` prefix for noconflict mode.\n get: function () { return this.hideDelay; },\n set: function (v) { this.hideDelay = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdTooltip.prototype, \"_matShowDelay\", {\n // Properties with `mat-` prefix for noconflict mode.\n get: function () { return this.showDelay; },\n set: function (v) { this.showDelay = v; },\n enumerable: true,\n configurable: true\n });\n MdTooltip.prototype.ngOnInit = function () {\n var _this = this;\n // When a scroll on the page occurs, update the position in case this tooltip needs\n // to be repositioned.\n this.scrollSubscription = this._scrollDispatcher.scrolled(SCROLL_THROTTLE_MS).subscribe(function () {\n if (_this._overlayRef) {\n _this._overlayRef.updatePosition();\n }\n });\n };\n /**\n * Dispose the tooltip when destroyed.\n */\n MdTooltip.prototype.ngOnDestroy = function () {\n if (this._tooltipInstance) {\n this._disposeTooltip();\n }\n this.scrollSubscription.unsubscribe();\n };\n /** Shows the tooltip after the delay in ms, defaults to tooltip-delay-show or 0ms if no input */\n MdTooltip.prototype.show = function (delay) {\n if (delay === void 0) { delay = this.showDelay; }\n if (!this._message || !this._message.trim()) {\n return;\n }\n if (!this._tooltipInstance) {\n this._createTooltip();\n }\n this._setTooltipMessage(this._message);\n this._tooltipInstance.show(this._position, delay);\n };\n /** Hides the tooltip after the delay in ms, defaults to tooltip-delay-hide or 0ms if no input */\n MdTooltip.prototype.hide = function (delay) {\n if (delay === void 0) { delay = this.hideDelay; }\n if (this._tooltipInstance) {\n this._tooltipInstance.hide(delay);\n }\n };\n /** Shows/hides the tooltip */\n MdTooltip.prototype.toggle = function () {\n this._isTooltipVisible() ? this.hide() : this.show();\n };\n /** Returns true if the tooltip is currently visible to the user */\n MdTooltip.prototype._isTooltipVisible = function () {\n return this._tooltipInstance && this._tooltipInstance.isVisible();\n };\n /** Create the tooltip to display */\n MdTooltip.prototype._createTooltip = function () {\n var _this = this;\n this._createOverlay();\n var portal = new ComponentPortal(TooltipComponent, this._viewContainerRef);\n this._tooltipInstance = this._overlayRef.attach(portal).instance;\n // Dispose the overlay when finished the shown tooltip.\n this._tooltipInstance.afterHidden().subscribe(function () {\n // Check first if the tooltip has already been removed through this components destroy.\n if (_this._tooltipInstance) {\n _this._disposeTooltip();\n }\n });\n };\n /** Create the overlay config and position strategy */\n MdTooltip.prototype._createOverlay = function () {\n var _this = this;\n var origin = this._getOrigin();\n var position = this._getOverlayPosition();\n // Create connected position strategy that listens for scroll events to reposition.\n // After position changes occur and the overlay is clipped by a parent scrollable then\n // close the tooltip.\n var strategy = this._overlay.position().connectedTo(this._elementRef, origin, position);\n strategy.withScrollableContainers(this._scrollDispatcher.getScrollContainers(this._elementRef));\n strategy.onPositionChange.subscribe(function (change) {\n if (change.scrollableViewProperties.isOverlayClipped &&\n _this._tooltipInstance && _this._tooltipInstance.isVisible()) {\n _this.hide(0);\n }\n });\n var config = new OverlayState();\n config.positionStrategy = strategy;\n this._overlayRef = this._overlay.create(config);\n };\n /** Disposes the current tooltip and the overlay it is attached to */\n MdTooltip.prototype._disposeTooltip = function () {\n this._overlayRef.dispose();\n this._overlayRef = null;\n this._tooltipInstance = null;\n };\n /** Returns the origin position based on the user's position preference */\n MdTooltip.prototype._getOrigin = function () {\n if (this.position == 'above' || this.position == 'below') {\n return { originX: 'center', originY: this.position == 'above' ? 'top' : 'bottom' };\n }\n var isDirectionLtr = !this._dir || this._dir.value == 'ltr';\n if (this.position == 'left' ||\n this.position == 'before' && isDirectionLtr ||\n this.position == 'after' && !isDirectionLtr) {\n return { originX: 'start', originY: 'center' };\n }\n if (this.position == 'right' ||\n this.position == 'after' && isDirectionLtr ||\n this.position == 'before' && !isDirectionLtr) {\n return { originX: 'end', originY: 'center' };\n }\n throw new MdTooltipInvalidPositionError(this.position);\n };\n /** Returns the overlay position based on the user's preference */\n MdTooltip.prototype._getOverlayPosition = function () {\n if (this.position == 'above') {\n return { overlayX: 'center', overlayY: 'bottom' };\n }\n if (this.position == 'below') {\n return { overlayX: 'center', overlayY: 'top' };\n }\n var isLtr = !this._dir || this._dir.value == 'ltr';\n if (this.position == 'left' ||\n this.position == 'before' && isLtr ||\n this.position == 'after' && !isLtr) {\n return { overlayX: 'end', overlayY: 'center' };\n }\n if (this.position == 'right' ||\n this.position == 'after' && isLtr ||\n this.position == 'before' && !isLtr) {\n return { overlayX: 'start', overlayY: 'center' };\n }\n throw new MdTooltipInvalidPositionError(this.position);\n };\n /** Updates the tooltip message and repositions the overlay according to the new message length */\n MdTooltip.prototype._setTooltipMessage = function (message) {\n var _this = this;\n // Must wait for the message to be painted to the tooltip so that the overlay can properly\n // calculate the correct positioning based on the size of the text.\n this._tooltipInstance.message = message;\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n if (_this._tooltipInstance) {\n _this._overlayRef.updatePosition();\n }\n });\n };\n __decorate$66([\n _angular_core.Input('mdTooltipPosition'), \n __metadata$66('design:type', String)\n ], MdTooltip.prototype, \"position\", null);\n __decorate$66([\n _angular_core.Input('tooltip-position'), \n __metadata$66('design:type', String)\n ], MdTooltip.prototype, \"_positionDeprecated\", null);\n __decorate$66([\n _angular_core.Input('mdTooltipShowDelay'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"showDelay\", void 0);\n __decorate$66([\n _angular_core.Input('mdTooltipHideDelay'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"hideDelay\", void 0);\n __decorate$66([\n _angular_core.Input('mdTooltip'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"message\", null);\n __decorate$66([\n _angular_core.Input('md-tooltip'), \n __metadata$66('design:type', String)\n ], MdTooltip.prototype, \"_deprecatedMessage\", null);\n __decorate$66([\n _angular_core.Input('matTooltip'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"_matMessage\", null);\n __decorate$66([\n _angular_core.Input('matTooltipPosition'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"_matPosition\", null);\n __decorate$66([\n _angular_core.Input('matTooltipHideDelay'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"_matHideDelay\", null);\n __decorate$66([\n _angular_core.Input('matTooltipShowDelay'), \n __metadata$66('design:type', Object)\n ], MdTooltip.prototype, \"_matShowDelay\", null);\n MdTooltip = __decorate$66([\n _angular_core.Directive({\n selector: '[md-tooltip], [mdTooltip], [mat-tooltip], [matTooltip]',\n host: {\n '(longpress)': 'show()',\n '(touchend)': 'hide(' + TOUCHEND_HIDE_DELAY + ')',\n '(mouseenter)': 'show()',\n '(mouseleave)': 'hide()',\n },\n exportAs: 'mdTooltip',\n }),\n __param$14(5, _angular_core.Optional()), \n __metadata$66('design:paramtypes', [Overlay, ScrollDispatcher, _angular_core.ElementRef, _angular_core.ViewContainerRef, _angular_core.NgZone, Dir])\n ], MdTooltip);\n return MdTooltip;\n}());\n/**\n * Internal component that wraps the tooltip's content.\n * @docs-private\n */\nvar TooltipComponent = (function () {\n function TooltipComponent(_dir, _changeDetectorRef) {\n this._dir = _dir;\n this._changeDetectorRef = _changeDetectorRef;\n /** Property watched by the animation framework to show or hide the tooltip */\n this._visibility = 'initial';\n /** Whether interactions on the page should close the tooltip */\n this._closeOnInteraction = false;\n /** The transform origin used in the animation for showing and hiding the tooltip */\n this._transformOrigin = 'bottom';\n /** Subject for notifying that the tooltip has been hidden from the view */\n this._onHide = new rxjs_Subject.Subject();\n }\n /**\n * Shows the tooltip with an animation originating from the provided origin\n * @param position Position of the tooltip.\n * @param delay Amount of milliseconds to the delay showing the tooltip.\n */\n TooltipComponent.prototype.show = function (position, delay) {\n var _this = this;\n // Cancel the delayed hide if it is scheduled\n if (this._hideTimeoutId) {\n clearTimeout(this._hideTimeoutId);\n }\n // Body interactions should cancel the tooltip if there is a delay in showing.\n this._closeOnInteraction = true;\n this._setTransformOrigin(position);\n this._showTimeoutId = setTimeout(function () {\n _this._visibility = 'visible';\n // If this was set to true immediately, then a body click that triggers show() would\n // trigger interaction and close the tooltip right after it was displayed.\n _this._closeOnInteraction = false;\n // Mark for check so if any parent component has set the\n // ChangeDetectionStrategy to OnPush it will be checked anyways\n _this._changeDetectorRef.markForCheck();\n setTimeout(function () { _this._closeOnInteraction = true; }, 0);\n }, delay);\n };\n /**\n * Begins the animation to hide the tooltip after the provided delay in ms.\n * @param delay Amount of milliseconds to delay showing the tooltip.\n */\n TooltipComponent.prototype.hide = function (delay) {\n var _this = this;\n // Cancel the delayed show if it is scheduled\n if (this._showTimeoutId) {\n clearTimeout(this._showTimeoutId);\n }\n this._hideTimeoutId = setTimeout(function () {\n _this._visibility = 'hidden';\n _this._closeOnInteraction = false;\n // Mark for check so if any parent component has set the\n // ChangeDetectionStrategy to OnPush it will be checked anyways\n _this._changeDetectorRef.markForCheck();\n }, delay);\n };\n /**\n * Returns an observable that notifies when the tooltip has been hidden from view\n */\n TooltipComponent.prototype.afterHidden = function () {\n return this._onHide.asObservable();\n };\n /**\n * Whether the tooltip is being displayed\n */\n TooltipComponent.prototype.isVisible = function () {\n return this._visibility === 'visible';\n };\n /** Sets the tooltip transform origin according to the tooltip position */\n TooltipComponent.prototype._setTransformOrigin = function (value) {\n var isLtr = !this._dir || this._dir.value == 'ltr';\n switch (value) {\n case 'before':\n this._transformOrigin = isLtr ? 'right' : 'left';\n break;\n case 'after':\n this._transformOrigin = isLtr ? 'left' : 'right';\n break;\n case 'left':\n this._transformOrigin = 'right';\n break;\n case 'right':\n this._transformOrigin = 'left';\n break;\n case 'above':\n this._transformOrigin = 'bottom';\n break;\n case 'below':\n this._transformOrigin = 'top';\n break;\n default: throw new MdTooltipInvalidPositionError(value);\n }\n };\n TooltipComponent.prototype._afterVisibilityAnimation = function (e) {\n if (e.toState === 'hidden' && !this.isVisible()) {\n this._onHide.next();\n }\n };\n /**\n * Interactions on the HTML body should close the tooltip immediately as defined in the\n * material design spec.\n * https://material.google.com/components/tooltips.html#tooltips-interaction\n */\n TooltipComponent.prototype._handleBodyInteraction = function () {\n if (this._closeOnInteraction) {\n this.hide(0);\n }\n };\n TooltipComponent = __decorate$66([\n _angular_core.Component({selector: 'md-tooltip-component, mat-tooltip-component',\n template: \"<div class=\\\"mat-tooltip\\\" [style.transform-origin]=\\\"_transformOrigin\\\" [@state]=\\\"_visibility\\\" (@state.done)=\\\"_afterVisibilityAnimation($event)\\\">{{message}}</div>\",\n styles: [\":host{pointer-events:none}.mat-tooltip{color:#fff;padding:6px 8px;border-radius:2px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;font-size:10px;margin:14px;max-width:250px}@media screen and (-ms-high-contrast:active){.mat-tooltip{outline:solid 1px}}\"],\n animations: [\n _angular_core.trigger('state', [\n _angular_core.state('void', _angular_core.style({ transform: 'scale(0)' })),\n _angular_core.state('initial', _angular_core.style({ transform: 'scale(0)' })),\n _angular_core.state('visible', _angular_core.style({ transform: 'scale(1)' })),\n _angular_core.state('hidden', _angular_core.style({ transform: 'scale(0)' })),\n _angular_core.transition('* => visible', _angular_core.animate('150ms cubic-bezier(0.0, 0.0, 0.2, 1)')),\n _angular_core.transition('* => hidden', _angular_core.animate('150ms cubic-bezier(0.4, 0.0, 1, 1)')),\n ])\n ],\n host: {\n '(body:click)': 'this._handleBodyInteraction()'\n }\n }),\n __param$14(0, _angular_core.Optional()), \n __metadata$66('design:paramtypes', [Dir, _angular_core.ChangeDetectorRef])\n ], TooltipComponent);\n return TooltipComponent;\n}());\nvar MdTooltipModule = (function () {\n function MdTooltipModule() {\n }\n /** @deprecated */\n MdTooltipModule.forRoot = function () {\n return {\n ngModule: MdTooltipModule,\n providers: []\n };\n };\n MdTooltipModule = __decorate$66([\n _angular_core.NgModule({\n imports: [OverlayModule, CompatibilityModule],\n exports: [MdTooltip, TooltipComponent, CompatibilityModule],\n declarations: [MdTooltip, TooltipComponent],\n entryComponents: [TooltipComponent],\n }), \n __metadata$66('design:paramtypes', [])\n ], MdTooltipModule);\n return MdTooltipModule;\n}());\n\nvar __extends$21 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Exception thrown when menu trigger doesn't have a valid md-menu instance\n * @docs-private\n */\nvar MdMenuMissingError = (function (_super) {\n __extends$21(MdMenuMissingError, _super);\n function MdMenuMissingError() {\n _super.call(this, \"md-menu-trigger: must pass in an md-menu instance.\\n\\n Example:\\n <md-menu #menu=\\\"mdMenu\\\"></md-menu>\\n <button [mdMenuTriggerFor]=\\\"menu\\\"></button>\\n \");\n }\n return MdMenuMissingError;\n}(MdError));\n/**\n * Exception thrown when menu's x-position value isn't valid.\n * In other words, it doesn't match 'before' or 'after'.\n * @docs-private\n */\nvar MdMenuInvalidPositionX = (function (_super) {\n __extends$21(MdMenuInvalidPositionX, _super);\n function MdMenuInvalidPositionX() {\n _super.call(this, \"x-position value must be either 'before' or after'.\\n Example: <md-menu x-position=\\\"before\\\" #menu=\\\"mdMenu\\\"></md-menu>\\n \");\n }\n return MdMenuInvalidPositionX;\n}(MdError));\n/**\n * Exception thrown when menu's y-position value isn't valid.\n * In other words, it doesn't match 'above' or 'below'.\n * @docs-private\n */\nvar MdMenuInvalidPositionY = (function (_super) {\n __extends$21(MdMenuInvalidPositionY, _super);\n function MdMenuInvalidPositionY() {\n _super.call(this, \"y-position value must be either 'above' or below'.\\n Example: <md-menu y-position=\\\"above\\\" #menu=\\\"mdMenu\\\"></md-menu>\\n \");\n }\n return MdMenuInvalidPositionY;\n}(MdError));\n\nvar __decorate$69 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$69 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * This directive is intended to be used inside an md-menu tag.\n * It exists mostly to set the role attribute.\n */\nvar MdMenuItem = (function () {\n function MdMenuItem(_renderer, _elementRef) {\n this._renderer = _renderer;\n this._elementRef = _elementRef;\n }\n MdMenuItem.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._elementRef.nativeElement, 'focus');\n };\n Object.defineProperty(MdMenuItem.prototype, \"disabled\", {\n // this is necessary to support anchors\n /** Whether the menu item is disabled. */\n get: function () { return this._disabled; },\n set: function (value) {\n this._disabled = (value === false || value === undefined) ? null : true;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdMenuItem.prototype, \"isAriaDisabled\", {\n /** Sets the aria-disabled property on the menu item. */\n get: function () { return String(!!this.disabled); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdMenuItem.prototype, \"_tabindex\", {\n get: function () { return this.disabled ? '-1' : '0'; },\n enumerable: true,\n configurable: true\n });\n MdMenuItem.prototype._getHostElement = function () {\n return this._elementRef.nativeElement;\n };\n MdMenuItem.prototype._checkDisabled = function (event) {\n if (this.disabled) {\n event.preventDefault();\n event.stopPropagation();\n }\n };\n __decorate$69([\n _angular_core.HostBinding('attr.disabled'),\n _angular_core.Input(), \n __metadata$69('design:type', Boolean)\n ], MdMenuItem.prototype, \"disabled\", null);\n __decorate$69([\n _angular_core.HostBinding('attr.aria-disabled'), \n __metadata$69('design:type', String)\n ], MdMenuItem.prototype, \"isAriaDisabled\", null);\n MdMenuItem = __decorate$69([\n _angular_core.Component({selector: '[md-menu-item], [mat-menu-item]',\n host: {\n 'role': 'menuitem',\n '[class.mat-menu-item]': 'true',\n '(click)': '_checkDisabled($event)',\n '[attr.tabindex]': '_tabindex'\n },\n template: \"<ng-content></ng-content><div class=\\\"mat-menu-ripple\\\" *ngIf=\\\"!disabled\\\" md-ripple [mdRippleTrigger]=\\\"_getHostElement()\\\"></div>\",\n exportAs: 'mdMenuItem'\n }), \n __metadata$69('design:paramtypes', [_angular_core.Renderer, _angular_core.ElementRef])\n ], MdMenuItem);\n return MdMenuItem;\n}());\n\n/**\n * Below are all the animations for the md-menu component.\n * Animation duration and timing values are based on AngularJS Material.\n */\n/**\n * This animation controls the menu panel's entry and exit from the page.\n *\n * When the menu panel is added to the DOM, it scales in and fades in its border.\n *\n * When the menu panel is removed from the DOM, it simply fades out after a brief\n * delay to display the ripple.\n */\n// TODO(kara): switch to :enter and :leave once Mobile Safari is sorted out.\nvar transformMenu = _angular_core.trigger('transformMenu', [\n _angular_core.state('showing', _angular_core.style({\n opacity: 1,\n transform: \"scale(1)\"\n })),\n _angular_core.transition('void => *', [\n _angular_core.style({\n opacity: 0,\n transform: \"scale(0)\"\n }),\n _angular_core.animate(\"200ms cubic-bezier(0.25, 0.8, 0.25, 1)\")\n ]),\n _angular_core.transition('* => void', [\n _angular_core.animate('50ms 100ms linear', _angular_core.style({ opacity: 0 }))\n ])\n]);\n/**\n * This animation fades in the background color and content of the menu panel\n * after its containing element is scaled in.\n */\nvar fadeInItems = _angular_core.trigger('fadeInItems', [\n _angular_core.state('showing', _angular_core.style({ opacity: 1 })),\n _angular_core.transition('void => *', [\n _angular_core.style({ opacity: 0 }),\n _angular_core.animate(\"200ms 100ms cubic-bezier(0.55, 0, 0.55, 0.2)\")\n ])\n]);\n\n// TODO(kara): prevent-close functionality\nvar __decorate$68 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$68 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$15 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\nvar MdMenu = (function () {\n function MdMenu(posX, posY) {\n /** Config object to be passed into the menu's ngClass */\n this._classList = {};\n /** Position of the menu in the X axis. */\n this.positionX = 'after';\n /** Position of the menu in the Y axis. */\n this.positionY = 'below';\n this.overlapTrigger = true;\n /** Event emitted when the menu is closed. */\n this.close = new _angular_core.EventEmitter();\n if (posX) {\n this._setPositionX(posX);\n }\n if (posY) {\n this._setPositionY(posY);\n }\n this.setPositionClasses(this.positionX, this.positionY);\n }\n MdMenu.prototype.ngAfterContentInit = function () {\n var _this = this;\n this._keyManager = new FocusKeyManager(this.items).withWrap();\n this._tabSubscription = this._keyManager.tabOut.subscribe(function () {\n _this._emitCloseEvent();\n });\n };\n MdMenu.prototype.ngOnDestroy = function () {\n this._tabSubscription.unsubscribe();\n };\n Object.defineProperty(MdMenu.prototype, \"classList\", {\n /**\n * This method takes classes set on the host md-menu element and applies them on the\n * menu template that displays in the overlay container. Otherwise, it's difficult\n * to style the containing menu from outside the component.\n * @param classes list of class names\n */\n set: function (classes) {\n this._classList = classes.split(' ').reduce(function (obj, className) {\n obj[className] = true;\n return obj;\n }, {});\n this.setPositionClasses(this.positionX, this.positionY);\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Focus the first item in the menu. This method is used by the menu trigger\n * to focus the first item when the menu is opened by the ENTER key.\n */\n MdMenu.prototype.focusFirstItem = function () {\n this._keyManager.setFirstItemActive();\n };\n /**\n * This emits a close event to which the trigger is subscribed. When emitted, the\n * trigger will close the menu.\n */\n MdMenu.prototype._emitCloseEvent = function () {\n this.close.emit();\n };\n MdMenu.prototype._setPositionX = function (pos) {\n if (pos !== 'before' && pos !== 'after') {\n throw new MdMenuInvalidPositionX();\n }\n this.positionX = pos;\n };\n MdMenu.prototype._setPositionY = function (pos) {\n if (pos !== 'above' && pos !== 'below') {\n throw new MdMenuInvalidPositionY();\n }\n this.positionY = pos;\n };\n /**\n * It's necessary to set position-based classes to ensure the menu panel animation\n * folds out from the correct direction.\n */\n MdMenu.prototype.setPositionClasses = function (posX, posY) {\n this._classList['mat-menu-before'] = posX == 'before';\n this._classList['mat-menu-after'] = posX == 'after';\n this._classList['mat-menu-above'] = posY == 'above';\n this._classList['mat-menu-below'] = posY == 'below';\n };\n __decorate$68([\n _angular_core.ViewChild(_angular_core.TemplateRef), \n __metadata$68('design:type', _angular_core.TemplateRef)\n ], MdMenu.prototype, \"templateRef\", void 0);\n __decorate$68([\n _angular_core.ContentChildren(MdMenuItem), \n __metadata$68('design:type', _angular_core.QueryList)\n ], MdMenu.prototype, \"items\", void 0);\n __decorate$68([\n _angular_core.Input(), \n __metadata$68('design:type', Object)\n ], MdMenu.prototype, \"overlapTrigger\", void 0);\n __decorate$68([\n _angular_core.Input('class'), \n __metadata$68('design:type', String), \n __metadata$68('design:paramtypes', [String])\n ], MdMenu.prototype, \"classList\", null);\n __decorate$68([\n _angular_core.Output(), \n __metadata$68('design:type', Object)\n ], MdMenu.prototype, \"close\", void 0);\n MdMenu = __decorate$68([\n _angular_core.Component({selector: 'md-menu, mat-menu',\n host: { 'role': 'menu' },\n template: \"<template><div class=\\\"mat-menu-panel\\\" [ngClass]=\\\"_classList\\\" (keydown)=\\\"_keyManager.onKeydown($event)\\\" (click)=\\\"_emitCloseEvent()\\\" [@transformMenu]=\\\"'showing'\\\"><div class=\\\"mat-menu-content\\\" [@fadeInItems]=\\\"'showing'\\\"><ng-content></ng-content></div></div></template>\",\n styles: [\".mat-menu-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;max-height:calc(100vh + 48px)}.mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:left top}.mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:left bottom}.mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:right top}.mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-below{transform-origin:right top}[dir=rtl] .mat-menu-panel.mat-menu-after.mat-menu-above{transform-origin:right bottom}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-below{transform-origin:left top}[dir=rtl] .mat-menu-panel.mat-menu-before.mat-menu-above{transform-origin:left bottom}@media screen and (-ms-high-contrast:active){.mat-menu-panel{outline:solid 1px}}.mat-menu-content{padding-top:8px;padding-bottom:8px}.mat-menu-item{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:0;border:none;white-space:nowrap;overflow-x:hidden;text-overflow:ellipsis;display:block;line-height:48px;height:48px;padding:0 16px;font-size:16px;font-family:Roboto,\\\"Helvetica Neue\\\",sans-serif;text-align:start;text-decoration:none;position:relative}.mat-menu-item[disabled]{cursor:default}.mat-menu-item .mat-icon{margin-right:16px}[dir=rtl] .mat-menu-item .mat-icon{margin-left:16px}button.mat-menu-item{width:100%}.mat-menu-ripple{position:absolute;top:0;left:0;bottom:0;right:0}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n animations: [\n transformMenu,\n fadeInItems\n ],\n exportAs: 'mdMenu'\n }),\n __param$15(0, _angular_core.Attribute('x-position')),\n __param$15(1, _angular_core.Attribute('y-position')), \n __metadata$68('design:paramtypes', [String, String])\n ], MdMenu);\n return MdMenu;\n}());\n\nvar __decorate$70 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$70 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$16 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * This directive is intended to be used in conjunction with an md-menu tag. It is\n * responsible for toggling the display of the provided menu instance.\n * TODO(andrewseguin): Remove the kebab versions in favor of camelCased attribute selectors\n */\nvar MdMenuTrigger = (function () {\n function MdMenuTrigger(_overlay, _element, _viewContainerRef, _renderer, _dir) {\n this._overlay = _overlay;\n this._element = _element;\n this._viewContainerRef = _viewContainerRef;\n this._renderer = _renderer;\n this._dir = _dir;\n this._menuOpen = false;\n // tracking input type is necessary so it's possible to only auto-focus\n // the first item of the list when the menu is opened via the keyboard\n this._openedByMouse = false;\n /** Event emitted when the associated menu is opened. */\n this.onMenuOpen = new _angular_core.EventEmitter();\n /** Event emitted when the associated menu is closed. */\n this.onMenuClose = new _angular_core.EventEmitter();\n }\n Object.defineProperty(MdMenuTrigger.prototype, \"_deprecatedMdMenuTriggerFor\", {\n /** @deprecated */\n get: function () { return this.menu; },\n set: function (v) { this.menu = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdMenuTrigger.prototype, \"_deprecatedMatMenuTriggerFor\", {\n /** @deprecated */\n get: function () { return this.menu; },\n set: function (v) { this.menu = v; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdMenuTrigger.prototype, \"_matMenuTriggerFor\", {\n // Trigger input for compatibility mode\n get: function () { return this.menu; },\n set: function (v) { this.menu = v; },\n enumerable: true,\n configurable: true\n });\n MdMenuTrigger.prototype.ngAfterViewInit = function () {\n var _this = this;\n this._checkMenu();\n this.menu.close.subscribe(function () { return _this.closeMenu(); });\n };\n MdMenuTrigger.prototype.ngOnDestroy = function () { this.destroyMenu(); };\n Object.defineProperty(MdMenuTrigger.prototype, \"menuOpen\", {\n /** Whether the menu is open. */\n get: function () { return this._menuOpen; },\n enumerable: true,\n configurable: true\n });\n /** Toggles the menu between the open and closed states. */\n MdMenuTrigger.prototype.toggleMenu = function () {\n return this._menuOpen ? this.closeMenu() : this.openMenu();\n };\n /** Opens the menu. */\n MdMenuTrigger.prototype.openMenu = function () {\n if (!this._menuOpen) {\n this._createOverlay();\n this._overlayRef.attach(this._portal);\n this._subscribeToBackdrop();\n this._initMenu();\n }\n };\n /** Closes the menu. */\n MdMenuTrigger.prototype.closeMenu = function () {\n if (this._overlayRef) {\n this._overlayRef.detach();\n this._backdropSubscription.unsubscribe();\n this._resetMenu();\n }\n };\n /** Removes the menu from the DOM. */\n MdMenuTrigger.prototype.destroyMenu = function () {\n if (this._overlayRef) {\n this._overlayRef.dispose();\n this._overlayRef = null;\n this._cleanUpSubscriptions();\n }\n };\n /** Focuses the menu trigger. */\n MdMenuTrigger.prototype.focus = function () {\n this._renderer.invokeElementMethod(this._element.nativeElement, 'focus');\n };\n Object.defineProperty(MdMenuTrigger.prototype, \"dir\", {\n /** The text direction of the containing app. */\n get: function () {\n return this._dir && this._dir.value === 'rtl' ? 'rtl' : 'ltr';\n },\n enumerable: true,\n configurable: true\n });\n /**\n * This method ensures that the menu closes when the overlay backdrop is clicked.\n * We do not use first() here because doing so would not catch clicks from within\n * the menu, and it would fail to unsubscribe properly. Instead, we unsubscribe\n * explicitly when the menu is closed or destroyed.\n */\n MdMenuTrigger.prototype._subscribeToBackdrop = function () {\n var _this = this;\n this._backdropSubscription = this._overlayRef.backdropClick().subscribe(function () {\n _this.closeMenu();\n });\n };\n /**\n * This method sets the menu state to open and focuses the first item if\n * the menu was opened via the keyboard.\n */\n MdMenuTrigger.prototype._initMenu = function () {\n this._setIsMenuOpen(true);\n // Should only set focus if opened via the keyboard, so keyboard users can\n // can easily navigate menu items. According to spec, mouse users should not\n // see the focus style.\n if (!this._openedByMouse) {\n this.menu.focusFirstItem();\n }\n };\n \n /**\n * This method resets the menu when it's closed, most importantly restoring\n * focus to the menu trigger if the menu was opened via the keyboard.\n */\n MdMenuTrigger.prototype._resetMenu = function () {\n this._setIsMenuOpen(false);\n // Focus only needs to be reset to the host element if the menu was opened\n // by the keyboard and manually shifted to the first menu item.\n if (!this._openedByMouse) {\n this.focus();\n }\n this._openedByMouse = false;\n };\n // set state rather than toggle to support triggers sharing a menu\n MdMenuTrigger.prototype._setIsMenuOpen = function (isOpen) {\n this._menuOpen = isOpen;\n this._menuOpen ? this.onMenuOpen.emit() : this.onMenuClose.emit();\n };\n /**\n * This method checks that a valid instance of MdMenu has been passed into\n * mdMenuTriggerFor. If not, an exception is thrown.\n */\n MdMenuTrigger.prototype._checkMenu = function () {\n if (!this.menu) {\n throw new MdMenuMissingError();\n }\n };\n /**\n * This method creates the overlay from the provided menu's template and saves its\n * OverlayRef so that it can be attached to the DOM when openMenu is called.\n */\n MdMenuTrigger.prototype._createOverlay = function () {\n if (!this._overlayRef) {\n this._portal = new TemplatePortal(this.menu.templateRef, this._viewContainerRef);\n var config = this._getOverlayConfig();\n this._subscribeToPositions(config.positionStrategy);\n this._overlayRef = this._overlay.create(config);\n }\n };\n /**\n * This method builds the configuration object needed to create the overlay, the OverlayState.\n * @returns OverlayState\n */\n MdMenuTrigger.prototype._getOverlayConfig = function () {\n var overlayState = new OverlayState();\n overlayState.positionStrategy = this._getPosition()\n .withDirection(this.dir);\n overlayState.hasBackdrop = true;\n overlayState.backdropClass = 'cdk-overlay-transparent-backdrop';\n overlayState.direction = this.dir;\n return overlayState;\n };\n /**\n * Listens to changes in the position of the overlay and sets the correct classes\n * on the menu based on the new position. This ensures the animation origin is always\n * correct, even if a fallback position is used for the overlay.\n */\n MdMenuTrigger.prototype._subscribeToPositions = function (position) {\n var _this = this;\n this._positionSubscription = position.onPositionChange.subscribe(function (change) {\n var posX = change.connectionPair.originX === 'start' ? 'after' : 'before';\n var posY = change.connectionPair.originY === 'top' ? 'below' : 'above';\n if (!_this.menu.overlapTrigger) {\n posY = posY === 'below' ? 'above' : 'below';\n }\n _this.menu.setPositionClasses(posX, posY);\n });\n };\n /**\n * This method builds the position strategy for the overlay, so the menu is properly connected\n * to the trigger.\n * @returns ConnectedPositionStrategy\n */\n MdMenuTrigger.prototype._getPosition = function () {\n var _a = this.menu.positionX === 'before' ? ['end', 'start'] : ['start', 'end'], posX = _a[0], fallbackX = _a[1];\n var _b = this.menu.positionY === 'above' ? ['bottom', 'top'] : ['top', 'bottom'], overlayY = _b[0], fallbackOverlayY = _b[1];\n var originY = overlayY;\n var fallbackOriginY = fallbackOverlayY;\n if (!this.menu.overlapTrigger) {\n originY = overlayY === 'top' ? 'bottom' : 'top';\n fallbackOriginY = fallbackOverlayY === 'top' ? 'bottom' : 'top';\n }\n return this._overlay.position()\n .connectedTo(this._element, { originX: posX, originY: originY }, { overlayX: posX, overlayY: overlayY })\n .withFallbackPosition({ originX: fallbackX, originY: originY }, { overlayX: fallbackX, overlayY: overlayY })\n .withFallbackPosition({ originX: posX, originY: fallbackOriginY }, { overlayX: posX, overlayY: fallbackOverlayY })\n .withFallbackPosition({ originX: fallbackX, originY: fallbackOriginY }, { overlayX: fallbackX, overlayY: fallbackOverlayY });\n };\n MdMenuTrigger.prototype._cleanUpSubscriptions = function () {\n if (this._backdropSubscription) {\n this._backdropSubscription.unsubscribe();\n }\n if (this._positionSubscription) {\n this._positionSubscription.unsubscribe();\n }\n };\n MdMenuTrigger.prototype._handleMousedown = function (event) {\n if (!isFakeMousedownFromScreenReader(event)) {\n this._openedByMouse = true;\n }\n };\n __decorate$70([\n _angular_core.Input('md-menu-trigger-for'), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"_deprecatedMdMenuTriggerFor\", null);\n __decorate$70([\n _angular_core.Input('mat-menu-trigger-for'), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"_deprecatedMatMenuTriggerFor\", null);\n __decorate$70([\n _angular_core.Input('matMenuTriggerFor'), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"_matMenuTriggerFor\", null);\n __decorate$70([\n _angular_core.Input('mdMenuTriggerFor'), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"menu\", void 0);\n __decorate$70([\n _angular_core.Output(), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"onMenuOpen\", void 0);\n __decorate$70([\n _angular_core.Output(), \n __metadata$70('design:type', Object)\n ], MdMenuTrigger.prototype, \"onMenuClose\", void 0);\n MdMenuTrigger = __decorate$70([\n _angular_core.Directive({\n selector: \"[md-menu-trigger-for], [mat-menu-trigger-for], \\n [mdMenuTriggerFor], [matMenuTriggerFor]\",\n host: {\n 'aria-haspopup': 'true',\n '(mousedown)': '_handleMousedown($event)',\n '(click)': 'toggleMenu()',\n },\n exportAs: 'mdMenuTrigger'\n }),\n __param$16(4, _angular_core.Optional()), \n __metadata$70('design:paramtypes', [Overlay, _angular_core.ElementRef, _angular_core.ViewContainerRef, _angular_core.Renderer, Dir])\n ], MdMenuTrigger);\n return MdMenuTrigger;\n}());\n\nvar __decorate$67 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$67 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdMenuModule = (function () {\n function MdMenuModule() {\n }\n /** @deprecated */\n MdMenuModule.forRoot = function () {\n return {\n ngModule: MdMenuModule,\n providers: [],\n };\n };\n MdMenuModule = __decorate$67([\n _angular_core.NgModule({\n imports: [OverlayModule, _angular_common.CommonModule, MdRippleModule, CompatibilityModule],\n exports: [MdMenu, MdMenuItem, MdMenuTrigger, CompatibilityModule],\n declarations: [MdMenu, MdMenuItem, MdMenuTrigger],\n }), \n __metadata$67('design:paramtypes', [])\n ], MdMenuModule);\n return MdMenuModule;\n}());\n\n// TODO(jelbourn): resizing\n// TODO(jelbourn): afterOpen and beforeClose\n/**\n * Reference to a dialog opened via the MdDialog service.\n */\nvar MdDialogRef = (function () {\n function MdDialogRef(_overlayRef, config) {\n this._overlayRef = _overlayRef;\n this.config = config;\n /** Subject for notifying the user that the dialog has finished closing. */\n this._afterClosed = new rxjs_Subject.Subject();\n }\n /**\n * Close the dialog.\n * @param dialogResult Optional result to return to the dialog opener.\n */\n MdDialogRef.prototype.close = function (dialogResult) {\n this._overlayRef.dispose();\n this._afterClosed.next(dialogResult);\n this._afterClosed.complete();\n };\n /**\n * Gets an observable that is notified when the dialog is finished closing.\n */\n MdDialogRef.prototype.afterClosed = function () {\n return this._afterClosed.asObservable();\n };\n return MdDialogRef;\n}());\n\nvar MD_DIALOG_DATA = new _angular_core.OpaqueToken('MdDialogData');\n/** Custom injector type specifically for instantiating components with a dialog. */\nvar DialogInjector = (function () {\n function DialogInjector(_parentInjector, _dialogRef, _data) {\n this._parentInjector = _parentInjector;\n this._dialogRef = _dialogRef;\n this._data = _data;\n }\n DialogInjector.prototype.get = function (token, notFoundValue) {\n if (token === MdDialogRef) {\n return this._dialogRef;\n }\n if (token === MD_DIALOG_DATA && this._data) {\n return this._data;\n }\n return this._parentInjector.get(token, notFoundValue);\n };\n return DialogInjector;\n}());\n\n/**\n * Configuration for opening a modal dialog with the MdDialog service.\n */\nvar MdDialogConfig = (function () {\n function MdDialogConfig() {\n /** The ARIA role of the dialog element. */\n this.role = 'dialog';\n /** Whether the user can use escape or clicking outside to close a modal. */\n this.disableClose = false;\n /** Width of the dialog. */\n this.width = '';\n /** Height of the dialog. */\n this.height = '';\n }\n return MdDialogConfig;\n}());\n\nvar __extends$23 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * Exception thrown when a ComponentPortal is attached to a DomPortalHost without an origin.\n * @docs-private\n */\nvar MdDialogContentAlreadyAttachedError = (function (_super) {\n __extends$23(MdDialogContentAlreadyAttachedError, _super);\n function MdDialogContentAlreadyAttachedError() {\n _super.call(this, 'Attempting to attach dialog content after content is already attached');\n }\n return MdDialogContentAlreadyAttachedError;\n}(MdError));\n\nvar __extends$22 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar __decorate$73 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$73 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Internal component that wraps user-provided dialog content.\n * @docs-private\n */\nvar MdDialogContainer = (function (_super) {\n __extends$22(MdDialogContainer, _super);\n function MdDialogContainer(_ngZone, _renderer) {\n _super.call(this);\n this._ngZone = _ngZone;\n this._renderer = _renderer;\n /** Element that was focused before the dialog was opened. Save this to restore upon close. */\n this._elementFocusedBeforeDialogWasOpened = null;\n }\n /**\n * Attach a ComponentPortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n MdDialogContainer.prototype.attachComponentPortal = function (portal) {\n if (this._portalHost.hasAttached()) {\n throw new MdDialogContentAlreadyAttachedError();\n }\n var attachResult = this._portalHost.attachComponentPortal(portal);\n this._trapFocus();\n return attachResult;\n };\n /**\n * Attach a TemplatePortal as content to this dialog container.\n * @param portal Portal to be attached as the dialog content.\n */\n MdDialogContainer.prototype.attachTemplatePortal = function (portal) {\n if (this._portalHost.hasAttached()) {\n throw new MdDialogContentAlreadyAttachedError();\n }\n var attachedResult = this._portalHost.attachTemplatePortal(portal);\n this._trapFocus();\n return attachedResult;\n };\n /**\n * Moves the focus inside the focus trap.\n * @private\n */\n MdDialogContainer.prototype._trapFocus = function () {\n var _this = this;\n // If were to attempt to focus immediately, then the content of the dialog would not yet be\n // ready in instances where change detection has to run first. To deal with this, we simply\n // wait for the microtask queue to be empty.\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n _this._elementFocusedBeforeDialogWasOpened = document.activeElement;\n _this._focusTrap.focusFirstTabbableElement();\n });\n };\n MdDialogContainer.prototype.ngOnDestroy = function () {\n var _this = this;\n // When the dialog is destroyed, return focus to the element that originally had it before\n // the dialog was opened. Wait for the DOM to finish settling before changing the focus so\n // that it doesn't end up back on the <body>. Also note that we need the extra check, because\n // IE can set the `activeElement` to null in some cases.\n if (this._elementFocusedBeforeDialogWasOpened) {\n this._ngZone.onMicrotaskEmpty.first().subscribe(function () {\n _this._renderer.invokeElementMethod(_this._elementFocusedBeforeDialogWasOpened, 'focus');\n });\n }\n };\n __decorate$73([\n _angular_core.ViewChild(PortalHostDirective), \n __metadata$73('design:type', PortalHostDirective)\n ], MdDialogContainer.prototype, \"_portalHost\", void 0);\n __decorate$73([\n _angular_core.ViewChild(FocusTrap), \n __metadata$73('design:type', FocusTrap)\n ], MdDialogContainer.prototype, \"_focusTrap\", void 0);\n MdDialogContainer = __decorate$73([\n _angular_core.Component({selector: 'md-dialog-container, mat-dialog-container',\n template: \"<cdk-focus-trap><template cdkPortalHost></template></cdk-focus-trap>\",\n styles: [\".mat-dialog-container{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);display:block;padding:24px;border-radius:2px;box-sizing:border-box;overflow:auto;max-width:80vw;width:100%;height:100%}@media screen and (-ms-high-contrast:active){.mat-dialog-container{outline:solid 1px}}.mat-dialog-content{display:block;margin:0 -24px;padding:0 24px;max-height:65vh;overflow:auto}.mat-dialog-title{font-size:20px;font-weight:700;margin:0 0 20px;display:block}.mat-dialog-actions{padding:12px 0;display:flex}.mat-dialog-actions:last-child{margin-bottom:-24px}.mat-dialog-actions[align=end]{justify-content:flex-end}.mat-dialog-actions[align=center]{justify-content:center}\"],\n host: {\n '[class.mat-dialog-container]': 'true',\n '[attr.role]': 'dialogConfig?.role',\n },\n encapsulation: _angular_core.ViewEncapsulation.None,\n }), \n __metadata$73('design:paramtypes', [_angular_core.NgZone, _angular_core.Renderer])\n ], MdDialogContainer);\n return MdDialogContainer;\n}(BasePortalHost));\n\nvar __decorate$72 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$72 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$17 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n// TODO(jelbourn): animations\n/**\n * Service to open Material Design modal dialogs.\n */\nvar MdDialog = (function () {\n function MdDialog(_overlay, _injector, _parentDialog) {\n this._overlay = _overlay;\n this._injector = _injector;\n this._parentDialog = _parentDialog;\n this._openDialogsAtThisLevel = [];\n this._afterAllClosedAtThisLevel = new rxjs_Subject.Subject();\n this._afterOpenAtThisLevel = new rxjs_Subject.Subject();\n this._boundKeydown = this._handleKeydown.bind(this);\n /** Gets an observable that is notified when a dialog has been opened. */\n this.afterOpen = this._afterOpen.asObservable();\n /** Gets an observable that is notified when all open dialog have finished closing. */\n this.afterAllClosed = this._afterAllClosed.asObservable();\n }\n Object.defineProperty(MdDialog.prototype, \"_openDialogs\", {\n /** Keeps track of the currently-open dialogs. */\n get: function () {\n return this._parentDialog ? this._parentDialog._openDialogs : this._openDialogsAtThisLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdDialog.prototype, \"_afterOpen\", {\n /** Subject for notifying the user that all open dialogs have finished closing. */\n get: function () {\n return this._parentDialog ? this._parentDialog._afterOpen : this._afterOpenAtThisLevel;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdDialog.prototype, \"_afterAllClosed\", {\n /** Subject for notifying the user that a dialog has opened. */\n get: function () {\n return this._parentDialog ?\n this._parentDialog._afterAllClosed : this._afterAllClosedAtThisLevel;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Opens a modal dialog containing the given component.\n * @param componentOrTemplateRef Type of the component to load into the dialog,\n * or a TemplateRef to instantiate as the dialog content.\n * @param config Extra configuration options.\n * @returns Reference to the newly-opened dialog.\n */\n MdDialog.prototype.open = function (componentOrTemplateRef, config) {\n var _this = this;\n config = _applyConfigDefaults$1(config);\n var overlayRef = this._createOverlay(config);\n var dialogContainer = this._attachDialogContainer(overlayRef, config);\n var dialogRef = this._attachDialogContent(componentOrTemplateRef, dialogContainer, overlayRef, config);\n if (!this._openDialogs.length && !this._parentDialog) {\n document.addEventListener('keydown', this._boundKeydown);\n }\n this._openDialogs.push(dialogRef);\n dialogRef.afterClosed().subscribe(function () { return _this._removeOpenDialog(dialogRef); });\n this._afterOpen.next(dialogRef);\n return dialogRef;\n };\n /**\n * Closes all of the currently-open dialogs.\n */\n MdDialog.prototype.closeAll = function () {\n var i = this._openDialogs.length;\n while (i--) {\n // The `_openDialogs` property isn't updated after close until the rxjs subscription\n // runs on the next microtask, in addition to modifying the array as we're going\n // through it. We loop through all of them and call close without assuming that\n // they'll be removed from the list instantaneously.\n this._openDialogs[i].close();\n }\n };\n /**\n * Creates the overlay into which the dialog will be loaded.\n * @param dialogConfig The dialog configuration.\n * @returns A promise resolving to the OverlayRef for the created overlay.\n */\n MdDialog.prototype._createOverlay = function (dialogConfig) {\n var overlayState = this._getOverlayState(dialogConfig);\n return this._overlay.create(overlayState);\n };\n /**\n * Attaches an MdDialogContainer to a dialog's already-created overlay.\n * @param overlay Reference to the dialog's underlying overlay.\n * @param config The dialog configuration.\n * @returns A promise resolving to a ComponentRef for the attached container.\n */\n MdDialog.prototype._attachDialogContainer = function (overlay, config) {\n var viewContainer = config ? config.viewContainerRef : null;\n var containerPortal = new ComponentPortal(MdDialogContainer, viewContainer);\n var containerRef = overlay.attach(containerPortal);\n containerRef.instance.dialogConfig = config;\n return containerRef.instance;\n };\n /**\n * Attaches the user-provided component to the already-created MdDialogContainer.\n * @param componentOrTemplateRef The type of component being loaded into the dialog,\n * or a TemplateRef to instantiate as the content.\n * @param dialogContainer Reference to the wrapping MdDialogContainer.\n * @param overlayRef Reference to the overlay in which the dialog resides.\n * @param config The dialog configuration.\n * @returns A promise resolving to the MdDialogRef that should be returned to the user.\n */\n MdDialog.prototype._attachDialogContent = function (componentOrTemplateRef, dialogContainer, overlayRef, config) {\n // Create a reference to the dialog we're creating in order to give the user a handle\n // to modify and close it.\n var dialogRef = new MdDialogRef(overlayRef, config);\n if (!config.disableClose) {\n // When the dialog backdrop is clicked, we want to close it.\n overlayRef.backdropClick().first().subscribe(function () { return dialogRef.close(); });\n }\n // Set the dialogRef to the container so that it can use the ref to close the dialog.\n dialogContainer.dialogRef = dialogRef;\n // We create an injector specifically for the component we're instantiating so that it can\n // inject the MdDialogRef. This allows a component loaded inside of a dialog to close itself\n // and, optionally, to return a value.\n var userInjector = config && config.viewContainerRef && config.viewContainerRef.injector;\n var dialogInjector = new DialogInjector(userInjector || this._injector, dialogRef, config.data);\n if (componentOrTemplateRef instanceof _angular_core.TemplateRef) {\n dialogContainer.attachTemplatePortal(new TemplatePortal(componentOrTemplateRef, null));\n }\n else {\n var contentRef = dialogContainer.attachComponentPortal(new ComponentPortal(componentOrTemplateRef, null, dialogInjector));\n dialogRef.componentInstance = contentRef.instance;\n }\n return dialogRef;\n };\n /**\n * Creates an overlay state from a dialog config.\n * @param dialogConfig The dialog configuration.\n * @returns The overlay configuration.\n */\n MdDialog.prototype._getOverlayState = function (dialogConfig) {\n var state$$1 = new OverlayState();\n var strategy = this._overlay.position().global();\n var position = dialogConfig.position;\n state$$1.hasBackdrop = true;\n state$$1.positionStrategy = strategy;\n if (position && (position.left || position.right)) {\n position.left ? strategy.left(position.left) : strategy.right(position.right);\n }\n else {\n strategy.centerHorizontally();\n }\n if (position && (position.top || position.bottom)) {\n position.top ? strategy.top(position.top) : strategy.bottom(position.bottom);\n }\n else {\n strategy.centerVertically();\n }\n strategy.width(dialogConfig.width).height(dialogConfig.height);\n return state$$1;\n };\n /**\n * Removes a dialog from the array of open dialogs.\n * @param dialogRef Dialog to be removed.\n */\n MdDialog.prototype._removeOpenDialog = function (dialogRef) {\n var index = this._openDialogs.indexOf(dialogRef);\n if (index > -1) {\n this._openDialogs.splice(index, 1);\n // no open dialogs are left, call next on afterAllClosed Subject\n if (!this._openDialogs.length) {\n this._afterAllClosed.next();\n document.removeEventListener('keydown', this._boundKeydown);\n }\n }\n };\n /**\n * Handles global key presses while there are open dialogs. Closes the\n * top dialog when the user presses escape.\n */\n MdDialog.prototype._handleKeydown = function (event) {\n var topDialog = this._openDialogs[this._openDialogs.length - 1];\n if (event.keyCode === ESCAPE && topDialog && !topDialog.config.disableClose) {\n topDialog.close();\n }\n };\n MdDialog = __decorate$72([\n _angular_core.Injectable(),\n __param$17(2, _angular_core.Optional()),\n __param$17(2, _angular_core.SkipSelf()), \n __metadata$72('design:paramtypes', [Overlay, _angular_core.Injector, MdDialog])\n ], MdDialog);\n return MdDialog;\n}());\n/**\n * Applies default options to the dialog config.\n * @param dialogConfig Config to be modified.\n * @returns The new configuration object.\n */\nfunction _applyConfigDefaults$1(dialogConfig) {\n return extendObject(new MdDialogConfig(), dialogConfig);\n}\n\nvar __decorate$74 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$74 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Button that will close the current dialog.\n */\nvar MdDialogClose = (function () {\n function MdDialogClose(dialogRef) {\n this.dialogRef = dialogRef;\n /** Screenreader label for the button. */\n this.ariaLabel = 'Close dialog';\n }\n __decorate$74([\n _angular_core.Input('aria-label'), \n __metadata$74('design:type', String)\n ], MdDialogClose.prototype, \"ariaLabel\", void 0);\n MdDialogClose = __decorate$74([\n _angular_core.Directive({\n selector: 'button[md-dialog-close], button[mat-dialog-close]',\n host: {\n '(click)': 'dialogRef.close()',\n '[attr.aria-label]': 'ariaLabel',\n 'type': 'button',\n }\n }), \n __metadata$74('design:paramtypes', [MdDialogRef])\n ], MdDialogClose);\n return MdDialogClose;\n}());\n/**\n * Title of a dialog element. Stays fixed to the top of the dialog when scrolling.\n */\nvar MdDialogTitle = (function () {\n function MdDialogTitle() {\n }\n MdDialogTitle = __decorate$74([\n _angular_core.Directive({\n selector: '[md-dialog-title], [mat-dialog-title]',\n host: {\n '[class.mat-dialog-title]': 'true'\n }\n }), \n __metadata$74('design:paramtypes', [])\n ], MdDialogTitle);\n return MdDialogTitle;\n}());\n/**\n * Scrollable content container of a dialog.\n */\nvar MdDialogContent = (function () {\n function MdDialogContent() {\n }\n MdDialogContent = __decorate$74([\n _angular_core.Directive({\n selector: '[md-dialog-content], md-dialog-content, [mat-dialog-content], mat-dialog-content',\n host: {\n '[class.mat-dialog-content]': 'true'\n }\n }), \n __metadata$74('design:paramtypes', [])\n ], MdDialogContent);\n return MdDialogContent;\n}());\n/**\n * Container for the bottom action buttons in a dialog.\n * Stays fixed to the bottom when scrolling.\n */\nvar MdDialogActions = (function () {\n function MdDialogActions() {\n }\n MdDialogActions = __decorate$74([\n _angular_core.Directive({\n selector: '[md-dialog-actions], md-dialog-actions, [mat-dialog-actions], mat-dialog-actions',\n host: {\n '[class.mat-dialog-actions]': 'true'\n }\n }), \n __metadata$74('design:paramtypes', [])\n ], MdDialogActions);\n return MdDialogActions;\n}());\n\nvar __decorate$71 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$71 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdDialogModule = (function () {\n function MdDialogModule() {\n }\n /** @deprecated */\n MdDialogModule.forRoot = function () {\n return {\n ngModule: MdDialogModule,\n providers: [],\n };\n };\n MdDialogModule = __decorate$71([\n _angular_core.NgModule({\n imports: [\n OverlayModule,\n PortalModule,\n A11yModule,\n CompatibilityModule,\n ],\n exports: [\n MdDialogContainer,\n MdDialogClose,\n MdDialogTitle,\n MdDialogContent,\n MdDialogActions,\n CompatibilityModule,\n ],\n declarations: [\n MdDialogContainer,\n MdDialogClose,\n MdDialogTitle,\n MdDialogActions,\n MdDialogContent,\n ],\n providers: [\n MdDialog,\n ],\n entryComponents: [MdDialogContainer],\n }), \n __metadata$71('design:paramtypes', [])\n ], MdDialogModule);\n return MdDialogModule;\n}());\n\nvar __decorate$76 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$76 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\n/**\n * Autocomplete IDs need to be unique across components, so this counter exists outside of\n * the component definition.\n */\nvar _uniqueAutocompleteIdCounter = 0;\nvar MdAutocomplete = (function () {\n function MdAutocomplete() {\n /** Whether the autocomplete panel displays above or below its trigger. */\n this.positionY = 'below';\n /** Whether the autocomplete panel should be visible, depending on option length. */\n this.showPanel = false;\n /** Unique ID to be used by autocomplete trigger's \"aria-owns\" property. */\n this.id = \"md-autocomplete-\" + _uniqueAutocompleteIdCounter++;\n }\n /**\n * Sets the panel scrollTop. This allows us to manually scroll to display\n * options below the fold, as they are not actually being focused when active.\n */\n MdAutocomplete.prototype._setScrollTop = function (scrollTop) {\n if (this.panel) {\n this.panel.nativeElement.scrollTop = scrollTop;\n }\n };\n /** Panel should hide itself when the option list is empty. */\n MdAutocomplete.prototype._setVisibility = function () {\n var _this = this;\n Promise.resolve().then(function () { return _this.showPanel = !!_this.options.length; });\n };\n /** Sets a class on the panel based on its position (used to set y-offset). */\n MdAutocomplete.prototype._getClassList = function () {\n return {\n 'mat-autocomplete-panel-below': this.positionY === 'below',\n 'mat-autocomplete-panel-above': this.positionY === 'above',\n 'mat-autocomplete-visible': this.showPanel,\n 'mat-autocomplete-hidden': !this.showPanel\n };\n };\n __decorate$76([\n _angular_core.ViewChild(_angular_core.TemplateRef), \n __metadata$76('design:type', _angular_core.TemplateRef)\n ], MdAutocomplete.prototype, \"template\", void 0);\n __decorate$76([\n _angular_core.ViewChild('panel'), \n __metadata$76('design:type', _angular_core.ElementRef)\n ], MdAutocomplete.prototype, \"panel\", void 0);\n __decorate$76([\n _angular_core.ContentChildren(MdOption), \n __metadata$76('design:type', _angular_core.QueryList)\n ], MdAutocomplete.prototype, \"options\", void 0);\n __decorate$76([\n _angular_core.Input(), \n __metadata$76('design:type', Function)\n ], MdAutocomplete.prototype, \"displayWith\", void 0);\n MdAutocomplete = __decorate$76([\n _angular_core.Component({selector: 'md-autocomplete, mat-autocomplete',\n template: \"<template><div class=\\\"mat-autocomplete-panel\\\" role=\\\"listbox\\\" [id]=\\\"id\\\" [ngClass]=\\\"_getClassList()\\\" #panel><ng-content></ng-content></div></template>\",\n styles: [\".mat-autocomplete-panel{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12);min-width:112px;max-width:280px;overflow:auto;-webkit-overflow-scrolling:touch;visibility:hidden;max-height:256px;position:relative}.mat-autocomplete-panel.mat-autocomplete-panel-below{top:6px}.mat-autocomplete-panel.mat-autocomplete-panel-above{top:-24px}.mat-autocomplete-panel.mat-autocomplete-visible{visibility:visible}.mat-autocomplete-panel.mat-autocomplete-hidden{visibility:hidden}\"],\n encapsulation: _angular_core.ViewEncapsulation.None,\n exportAs: 'mdAutocomplete',\n host: {\n '[class.mat-autocomplete]': 'true'\n }\n }), \n __metadata$76('design:paramtypes', [])\n ], MdAutocomplete);\n return MdAutocomplete;\n}());\n\nvar __extends$24 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar ActiveDescendantKeyManager = (function (_super) {\n __extends$24(ActiveDescendantKeyManager, _super);\n function ActiveDescendantKeyManager(items) {\n _super.call(this, items);\n }\n /**\n * This method sets the active item to the item at the specified index.\n * It also adds active styles to the newly active item and removes active\n * styles from the previously active item.\n */\n ActiveDescendantKeyManager.prototype.setActiveItem = function (index) {\n if (this.activeItem) {\n this.activeItem.setInactiveStyles();\n }\n _super.prototype.setActiveItem.call(this, index);\n if (this.activeItem) {\n this.activeItem.setActiveStyles();\n }\n };\n return ActiveDescendantKeyManager;\n}(ListKeyManager));\n\nvar __decorate$77 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$77 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar __param$18 = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n};\n/**\n * The following style constants are necessary to save here in order\n * to properly calculate the scrollTop of the panel. Because we are not\n * actually focusing the active item, scroll must be handled manually.\n */\n/** The height of each autocomplete option. */\nvar AUTOCOMPLETE_OPTION_HEIGHT = 48;\n/** The total height of the autocomplete panel. */\nvar AUTOCOMPLETE_PANEL_HEIGHT = 256;\n/**\n * Provider that allows the autocomplete to register as a ControlValueAccessor.\n * @docs-private\n */\nvar MD_AUTOCOMPLETE_VALUE_ACCESSOR = {\n provide: _angular_forms.NG_VALUE_ACCESSOR,\n useExisting: _angular_core.forwardRef(function () { return MdAutocompleteTrigger; }),\n multi: true\n};\nvar MdAutocompleteTrigger = (function () {\n function MdAutocompleteTrigger(_element, _overlay, _viewContainerRef, _dir, _zone, _inputContainer) {\n this._element = _element;\n this._overlay = _overlay;\n this._viewContainerRef = _viewContainerRef;\n this._dir = _dir;\n this._zone = _zone;\n this._inputContainer = _inputContainer;\n this._panelOpen = false;\n /** Stream of blur events that should close the panel. */\n this._blurStream = new rxjs_Subject.Subject();\n /** View -> model callback called when value changes */\n this._onChange = function (value) { };\n /** View -> model callback called when autocomplete has been touched */\n this._onTouched = function () { };\n }\n Object.defineProperty(MdAutocompleteTrigger.prototype, \"_matAutocomplete\", {\n /** Property with mat- prefix for no-conflict mode. */\n get: function () {\n return this.autocomplete;\n },\n set: function (autocomplete) {\n this.autocomplete = autocomplete;\n },\n enumerable: true,\n configurable: true\n });\n MdAutocompleteTrigger.prototype.ngAfterContentInit = function () {\n this._keyManager = new ActiveDescendantKeyManager(this.autocomplete.options).withWrap();\n };\n MdAutocompleteTrigger.prototype.ngOnDestroy = function () {\n if (this._panelPositionSubscription) {\n this._panelPositionSubscription.unsubscribe();\n }\n this._destroyPanel();\n };\n Object.defineProperty(MdAutocompleteTrigger.prototype, \"panelOpen\", {\n /* Whether or not the autocomplete panel is open. */\n get: function () {\n return this._panelOpen;\n },\n enumerable: true,\n configurable: true\n });\n /** Opens the autocomplete suggestion panel. */\n MdAutocompleteTrigger.prototype.openPanel = function () {\n if (!this._overlayRef) {\n this._createOverlay();\n }\n if (!this._overlayRef.hasAttached()) {\n this._overlayRef.attach(this._portal);\n this._subscribeToClosingActions();\n }\n this._panelOpen = true;\n this._floatPlaceholder('always');\n };\n /** Closes the autocomplete suggestion panel. */\n MdAutocompleteTrigger.prototype.closePanel = function () {\n if (this._overlayRef && this._overlayRef.hasAttached()) {\n this._overlayRef.detach();\n }\n this._panelOpen = false;\n this._floatPlaceholder('auto');\n };\n Object.defineProperty(MdAutocompleteTrigger.prototype, \"panelClosingActions\", {\n /**\n * A stream of actions that should close the autocomplete panel, including\n * when an option is selected, on blur, and when TAB is pressed.\n */\n get: function () {\n return rxjs_Observable.Observable.merge.apply(rxjs_Observable.Observable, this.optionSelections.concat([this._blurStream.asObservable(), this._keyManager.tabOut]));\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdAutocompleteTrigger.prototype, \"optionSelections\", {\n /** Stream of autocomplete option selections. */\n get: function () {\n return this.autocomplete.options.map(function (option) { return option.onSelect; });\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(MdAutocompleteTrigger.prototype, \"activeOption\", {\n /** The currently active option, coerced to MdOption type. */\n get: function () {\n return this._keyManager.activeItem;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Sets the autocomplete's value. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param value New value to be written to the model.\n */\n MdAutocompleteTrigger.prototype.writeValue = function (value) {\n var _this = this;\n Promise.resolve(null).then(function () { return _this._setTriggerValue(value); });\n };\n /**\n * Saves a callback function to be invoked when the autocomplete's value\n * changes from user input. Part of the ControlValueAccessor interface\n * required to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the value changes.\n */\n MdAutocompleteTrigger.prototype.registerOnChange = function (fn) {\n this._onChange = fn;\n };\n /**\n * Saves a callback function to be invoked when the autocomplete is blurred\n * by the user. Part of the ControlValueAccessor interface required\n * to integrate with Angular's core forms API.\n *\n * @param fn Callback to be triggered when the component has been touched.\n */\n MdAutocompleteTrigger.prototype.registerOnTouched = function (fn) {\n this._onTouched = fn;\n };\n MdAutocompleteTrigger.prototype._handleKeydown = function (event) {\n if (this.activeOption && event.keyCode === ENTER) {\n this.activeOption._selectViaInteraction();\n }\n else {\n this._keyManager.onKeydown(event);\n if (event.keyCode === UP_ARROW || event.keyCode === DOWN_ARROW) {\n this.openPanel();\n this._scrollToOption();\n }\n }\n };\n MdAutocompleteTrigger.prototype._handleInput = function (value) {\n this._onChange(value);\n this.openPanel();\n };\n MdAutocompleteTrigger.prototype._handleBlur = function (newlyFocusedTag) {\n this._onTouched();\n // Only emit blur event if the new focus is *not* on an option.\n if (newlyFocusedTag !== 'MD-OPTION') {\n this._blurStream.next(null);\n }\n };\n /**\n * In \"auto\" mode, the placeholder will animate down as soon as focus is lost.\n * This causes the value to jump when selecting an option with the mouse.\n * This method manually floats the placeholder until the panel can be closed.\n */\n MdAutocompleteTrigger.prototype._floatPlaceholder = function (state$$1) {\n if (this._inputContainer) {\n this._inputContainer.floatPlaceholder = state$$1;\n }\n };\n /**\n * Given that we are not actually focusing active options, we must manually adjust scroll\n * to reveal options below the fold. First, we find the offset of the option from the top\n * of the panel. The new scrollTop will be that offset - the panel height + the option\n * height, so the active option will be just visible at the bottom of the panel.\n */\n MdAutocompleteTrigger.prototype._scrollToOption = function () {\n var optionOffset = this._keyManager.activeItemIndex * AUTOCOMPLETE_OPTION_HEIGHT;\n var newScrollTop = Math.max(0, optionOffset - AUTOCOMPLETE_PANEL_HEIGHT + AUTOCOMPLETE_OPTION_HEIGHT);\n this.autocomplete._setScrollTop(newScrollTop);\n };\n /**\n * This method listens to a stream of panel closing actions and resets the\n * stream every time the option list changes.\n */\n MdAutocompleteTrigger.prototype._subscribeToClosingActions = function () {\n var _this = this;\n // When the zone is stable initially, and when the option list changes...\n rxjs_Observable.Observable.merge(this._zone.onStable.first(), this.autocomplete.options.changes)\n .switchMap(function () {\n _this._resetPanel();\n return _this.panelClosingActions;\n })\n .first()\n .subscribe(function (event) { return _this._setValueAndClose(event); });\n };\n /** Destroys the autocomplete suggestion panel. */\n MdAutocompleteTrigger.prototype._destroyPanel = function () {\n if (this._overlayRef) {\n this.closePanel();\n this._overlayRef.dispose();\n this._overlayRef = null;\n }\n };\n MdAutocompleteTrigger.prototype._setTriggerValue = function (value) {\n this._element.nativeElement.value =\n this.autocomplete.displayWith ? this.autocomplete.displayWith(value) : value;\n };\n /**\n * This method closes the panel, and if a value is specified, also sets the associated\n * control to that value. It will also mark the control as dirty if this interaction\n * stemmed from the user.\n */\n MdAutocompleteTrigger.prototype._setValueAndClose = function (event) {\n if (event) {\n this._setTriggerValue(event.source.value);\n this._onChange(event.source.value);\n }\n this.closePanel();\n };\n MdAutocompleteTrigger.prototype._createOverlay = function () {\n this._portal = new TemplatePortal(this.autocomplete.template, this._viewContainerRef);\n this._overlayRef = this._overlay.create(this._getOverlayConfig());\n };\n MdAutocompleteTrigger.prototype._getOverlayConfig = function () {\n var overlayState = new OverlayState();\n overlayState.positionStrategy = this._getOverlayPosition();\n overlayState.width = this._getHostWidth();\n overlayState.direction = this._dir ? this._dir.value : 'ltr';\n return overlayState;\n };\n MdAutocompleteTrigger.prototype._getOverlayPosition = function () {\n this._positionStrategy = this._overlay.position().connectedTo(this._element, { originX: 'start', originY: 'bottom' }, { overlayX: 'start', overlayY: 'top' })\n .withFallbackPosition({ originX: 'start', originY: 'top' }, { overlayX: 'start', overlayY: 'bottom' });\n this._subscribeToPositionChanges(this._positionStrategy);\n return this._positionStrategy;\n };\n /**\n * This method subscribes to position changes in the autocomplete panel, so the panel's\n * y-offset can be adjusted to match the new position.\n */\n MdAutocompleteTrigger.prototype._subscribeToPositionChanges = function (strategy) {\n var _this = this;\n this._panelPositionSubscription = strategy.onPositionChange.subscribe(function (change) {\n _this.autocomplete.positionY = change.connectionPair.originY === 'top' ? 'above' : 'below';\n });\n };\n /** Returns the width of the input element, so the panel width can match it. */\n MdAutocompleteTrigger.prototype._getHostWidth = function () {\n return this._element.nativeElement.getBoundingClientRect().width;\n };\n /** Reset active item to null so arrow events will activate the correct options.*/\n MdAutocompleteTrigger.prototype._resetActiveItem = function () {\n this._keyManager.setActiveItem(null);\n };\n /**\n * Resets the active item and re-calculates alignment of the panel in case its size\n * has changed due to fewer or greater number of options.\n */\n MdAutocompleteTrigger.prototype._resetPanel = function () {\n this._resetActiveItem();\n this._positionStrategy.recalculateLastPosition();\n this.autocomplete._setVisibility();\n };\n __decorate$77([\n _angular_core.Input('mdAutocomplete'), \n __metadata$77('design:type', MdAutocomplete)\n ], MdAutocompleteTrigger.prototype, \"autocomplete\", void 0);\n __decorate$77([\n _angular_core.Input('matAutocomplete'), \n __metadata$77('design:type', MdAutocomplete)\n ], MdAutocompleteTrigger.prototype, \"_matAutocomplete\", null);\n MdAutocompleteTrigger = __decorate$77([\n _angular_core.Directive({\n selector: 'input[mdAutocomplete], input[matAutocomplete]',\n host: {\n 'role': 'combobox',\n 'autocomplete': 'off',\n 'aria-autocomplete': 'list',\n 'aria-multiline': 'false',\n '[attr.aria-activedescendant]': 'activeOption?.id',\n '[attr.aria-expanded]': 'panelOpen.toString()',\n '[attr.aria-owns]': 'autocomplete?.id',\n '(focus)': 'openPanel()',\n '(blur)': '_handleBlur($event.relatedTarget?.tagName)',\n '(input)': '_handleInput($event.target.value)',\n '(keydown)': '_handleKeydown($event)',\n },\n providers: [MD_AUTOCOMPLETE_VALUE_ACCESSOR]\n }),\n __param$18(3, _angular_core.Optional()),\n __param$18(5, _angular_core.Optional()),\n __param$18(5, _angular_core.Host()), \n __metadata$77('design:paramtypes', [_angular_core.ElementRef, Overlay, _angular_core.ViewContainerRef, Dir, _angular_core.NgZone, MdInputContainer])\n ], MdAutocompleteTrigger);\n return MdAutocompleteTrigger;\n}());\n\nvar __decorate$75 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$75 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MdAutocompleteModule = (function () {\n function MdAutocompleteModule() {\n }\n /** @deprecated */\n MdAutocompleteModule.forRoot = function () {\n return {\n ngModule: MdAutocompleteModule,\n providers: [OVERLAY_PROVIDERS]\n };\n };\n MdAutocompleteModule = __decorate$75([\n _angular_core.NgModule({\n imports: [MdOptionModule, OverlayModule, CompatibilityModule, _angular_common.CommonModule],\n exports: [MdAutocomplete, MdOptionModule, MdAutocompleteTrigger, CompatibilityModule],\n declarations: [MdAutocomplete, MdAutocompleteTrigger],\n }), \n __metadata$75('design:paramtypes', [])\n ], MdAutocompleteModule);\n return MdAutocompleteModule;\n}());\n\nvar __decorate$30 = (this && this.__decorate) || function (decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nvar __metadata$30 = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n};\nvar MATERIAL_MODULES = [\n MdAutocompleteModule,\n MdButtonModule,\n MdButtonToggleModule,\n MdCardModule,\n MdChipsModule,\n MdCheckboxModule,\n MdDialogModule,\n MdGridListModule,\n MdIconModule,\n MdInputModule,\n MdListModule,\n MdMenuModule,\n MdProgressBarModule,\n MdProgressSpinnerModule,\n MdRadioModule,\n MdRippleModule,\n MdSelectModule,\n MdSidenavModule,\n MdSliderModule,\n MdSlideToggleModule,\n MdSnackBarModule,\n MdTabsModule,\n MdToolbarModule,\n MdTooltipModule,\n OverlayModule,\n PortalModule,\n RtlModule,\n StyleModule,\n A11yModule,\n PlatformModule,\n ProjectionModule,\n CompatibilityModule,\n ObserveContentModule\n];\nvar MaterialRootModule = (function () {\n function MaterialRootModule() {\n }\n MaterialRootModule = __decorate$30([\n _angular_core.NgModule({\n imports: [\n MdAutocompleteModule.forRoot(),\n MdButtonModule.forRoot(),\n MdCardModule.forRoot(),\n MdChipsModule.forRoot(),\n MdCheckboxModule.forRoot(),\n MdGridListModule.forRoot(),\n MdInputModule.forRoot(),\n MdListModule.forRoot(),\n MdProgressBarModule.forRoot(),\n MdProgressSpinnerModule.forRoot(),\n MdRippleModule.forRoot(),\n MdSelectModule.forRoot(),\n MdSidenavModule.forRoot(),\n MdTabsModule.forRoot(),\n MdToolbarModule.forRoot(),\n PortalModule.forRoot(),\n ProjectionModule.forRoot(),\n RtlModule.forRoot(),\n ObserveContentModule.forRoot(),\n // These modules include providers.\n A11yModule.forRoot(),\n MdButtonToggleModule.forRoot(),\n MdDialogModule.forRoot(),\n MdIconModule.forRoot(),\n MdMenuModule.forRoot(),\n MdRadioModule.forRoot(),\n MdSliderModule.forRoot(),\n MdSlideToggleModule.forRoot(),\n MdSnackBarModule.forRoot(),\n MdTooltipModule.forRoot(),\n PlatformModule.forRoot(),\n OverlayModule.forRoot(),\n CompatibilityModule.forRoot(),\n ],\n exports: MATERIAL_MODULES,\n }), \n __metadata$30('design:paramtypes', [])\n ], MaterialRootModule);\n return MaterialRootModule;\n}());\nvar MaterialModule = (function () {\n function MaterialModule() {\n }\n /** @deprecated */\n MaterialModule.forRoot = function () {\n return { ngModule: MaterialRootModule };\n };\n MaterialModule = __decorate$30([\n _angular_core.NgModule({\n imports: MATERIAL_MODULES,\n exports: MATERIAL_MODULES,\n }), \n __metadata$30('design:paramtypes', [])\n ], MaterialModule);\n return MaterialModule;\n}());\n\nexports.MdCoreModule = MdCoreModule;\nexports.Dir = Dir;\nexports.RtlModule = RtlModule;\nexports.ObserveContentModule = ObserveContentModule;\nexports.ObserveContent = ObserveContent;\nexports.MdOptionModule = MdOptionModule;\nexports.MdOption = MdOption;\nexports.Portal = Portal;\nexports.BasePortalHost = BasePortalHost;\nexports.ComponentPortal = ComponentPortal;\nexports.TemplatePortal = TemplatePortal;\nexports.PortalHostDirective = PortalHostDirective;\nexports.TemplatePortalDirective = TemplatePortalDirective;\nexports.PortalModule = PortalModule;\nexports.DomPortalHost = DomPortalHost;\nexports.MdPlatform = Platform;\nexports.Overlay = Overlay;\nexports.OVERLAY_PROVIDERS = OVERLAY_PROVIDERS;\nexports.OverlayContainer = OverlayContainer;\nexports.FullscreenOverlayContainer = FullscreenOverlayContainer;\nexports.OverlayRef = OverlayRef;\nexports.OverlayState = OverlayState;\nexports.ConnectedOverlayDirective = ConnectedOverlayDirective;\nexports.OverlayOrigin = OverlayOrigin;\nexports.OverlayModule = OverlayModule;\nexports.ScrollDispatcher = ScrollDispatcher;\nexports.GestureConfig = GestureConfig;\nexports.MdRipple = MdRipple;\nexports.MdRippleModule = MdRippleModule;\nexports.LiveAnnouncer = LiveAnnouncer;\nexports.LIVE_ANNOUNCER_ELEMENT_TOKEN = LIVE_ANNOUNCER_ELEMENT_TOKEN;\nexports.LIVE_ANNOUNCER_PROVIDER = LIVE_ANNOUNCER_PROVIDER;\nexports.MdLiveAnnouncer = LiveAnnouncer;\nexports.FocusTrap = FocusTrap;\nexports.InteractivityChecker = InteractivityChecker;\nexports.isFakeMousedownFromScreenReader = isFakeMousedownFromScreenReader;\nexports.A11yModule = A11yModule;\nexports.UniqueSelectionDispatcher = UniqueSelectionDispatcher;\nexports.UNIQUE_SELECTION_DISPATCHER_PROVIDER = UNIQUE_SELECTION_DISPATCHER_PROVIDER;\nexports.MdUniqueSelectionDispatcher = UniqueSelectionDispatcher;\nexports.MdLineModule = MdLineModule;\nexports.MdLine = MdLine;\nexports.MdLineSetter = MdLineSetter;\nexports.MdError = MdError;\nexports.coerceBooleanProperty = coerceBooleanProperty;\nexports.coerceNumberProperty = coerceNumberProperty;\nexports.CompatibilityModule = CompatibilityModule;\nexports.NoConflictStyleCompatibilityMode = NoConflictStyleCompatibilityMode;\nexports.DomProjectionHost = DomProjectionHost;\nexports.DomProjection = DomProjection;\nexports.ProjectionModule = ProjectionModule;\nexports.PlatformModule = PlatformModule;\nexports.Platform = Platform;\nexports.getSupportedInputTypes = getSupportedInputTypes;\nexports.ConnectedPositionStrategy = ConnectedPositionStrategy;\nexports.ConnectionPositionPair = ConnectionPositionPair;\nexports.ScrollableViewProperties = ScrollableViewProperties;\nexports.ConnectedOverlayPositionChange = ConnectedOverlayPositionChange;\nexports.SelectionModel = SelectionModel;\nexports.SelectionChange = SelectionChange;\nexports.StyleModule = StyleModule;\nexports.TOUCH_BUFFER_MS = TOUCH_BUFFER_MS;\nexports.FocusOriginMonitor = FocusOriginMonitor;\nexports.CdkFocusClasses = CdkFocusClasses;\nexports.FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY = FOCUS_ORIGIN_MONITOR_PROVIDER_FACTORY;\nexports.FOCUS_ORIGIN_MONITOR_PROVIDER = FOCUS_ORIGIN_MONITOR_PROVIDER;\nexports.applyCssTransform = applyCssTransform;\nexports.UP_ARROW = UP_ARROW;\nexports.DOWN_ARROW = DOWN_ARROW;\nexports.RIGHT_ARROW = RIGHT_ARROW;\nexports.LEFT_ARROW = LEFT_ARROW;\nexports.PAGE_UP = PAGE_UP;\nexports.PAGE_DOWN = PAGE_DOWN;\nexports.HOME = HOME;\nexports.END = END;\nexports.ENTER = ENTER;\nexports.SPACE = SPACE;\nexports.TAB = TAB;\nexports.ESCAPE = ESCAPE;\nexports.BACKSPACE = BACKSPACE;\nexports.DELETE = DELETE;\nexports.MATERIAL_COMPATIBILITY_MODE = MATERIAL_COMPATIBILITY_MODE;\nexports.MAT_ELEMENTS_SELECTOR = MAT_ELEMENTS_SELECTOR;\nexports.MD_ELEMENTS_SELECTOR = MD_ELEMENTS_SELECTOR;\nexports.MatPrefixRejector = MatPrefixRejector;\nexports.MdPrefixRejector = MdPrefixRejector;\nexports.AnimationCurves = AnimationCurves;\nexports.AnimationDurations = AnimationDurations;\nexports.MdSelectionModule = MdSelectionModule;\nexports.MdPseudoCheckbox = MdPseudoCheckbox;\nexports.MaterialRootModule = MaterialRootModule;\nexports.MaterialModule = MaterialModule;\nexports.MdAutocompleteModule = MdAutocompleteModule;\nexports.MdAutocomplete = MdAutocomplete;\nexports.AUTOCOMPLETE_OPTION_HEIGHT = AUTOCOMPLETE_OPTION_HEIGHT;\nexports.AUTOCOMPLETE_PANEL_HEIGHT = AUTOCOMPLETE_PANEL_HEIGHT;\nexports.MD_AUTOCOMPLETE_VALUE_ACCESSOR = MD_AUTOCOMPLETE_VALUE_ACCESSOR;\nexports.MdAutocompleteTrigger = MdAutocompleteTrigger;\nexports.MdButtonCssMatStyler = MdButtonCssMatStyler;\nexports.MdRaisedButtonCssMatStyler = MdRaisedButtonCssMatStyler;\nexports.MdIconButtonCssMatStyler = MdIconButtonCssMatStyler;\nexports.MdFabCssMatStyler = MdFabCssMatStyler;\nexports.MdMiniFabCssMatStyler = MdMiniFabCssMatStyler;\nexports.MdButton = MdButton;\nexports.MdAnchor = MdAnchor;\nexports.MdButtonModule = MdButtonModule;\nexports.MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR = MD_BUTTON_TOGGLE_GROUP_VALUE_ACCESSOR;\nexports.MdButtonToggleChange = MdButtonToggleChange;\nexports.MdButtonToggleGroup = MdButtonToggleGroup;\nexports.MdButtonToggleGroupMultiple = MdButtonToggleGroupMultiple;\nexports.MdButtonToggle = MdButtonToggle;\nexports.MdButtonToggleModule = MdButtonToggleModule;\nexports.MdCardContent = MdCardContent;\nexports.MdCardTitle = MdCardTitle;\nexports.MdCardSubtitle = MdCardSubtitle;\nexports.MdCardActions = MdCardActions;\nexports.MdCardFooter = MdCardFooter;\nexports.MdCardSmImage = MdCardSmImage;\nexports.MdCardMdImage = MdCardMdImage;\nexports.MdCardLgImage = MdCardLgImage;\nexports.MdCardImage = MdCardImage;\nexports.MdCardXlImage = MdCardXlImage;\nexports.MdCardAvatar = MdCardAvatar;\nexports.MdCard = MdCard;\nexports.MdCardHeader = MdCardHeader;\nexports.MdCardTitleGroup = MdCardTitleGroup;\nexports.MdCardModule = MdCardModule;\nexports.MdChipList = MdChipList;\nexports.MdChipsModule = MdChipsModule;\nexports.MdChip = MdChip;\nexports.MD_CHECKBOX_CONTROL_VALUE_ACCESSOR = MD_CHECKBOX_CONTROL_VALUE_ACCESSOR;\nexports.MdCheckboxChange = MdCheckboxChange;\nexports.MdCheckbox = MdCheckbox;\nexports.MdCheckboxModule = MdCheckboxModule;\nexports.MdDialogModule = MdDialogModule;\nexports.MD_DIALOG_DATA = MD_DIALOG_DATA;\nexports.MdDialog = MdDialog;\nexports.MdDialogContainer = MdDialogContainer;\nexports.MdDialogClose = MdDialogClose;\nexports.MdDialogTitle = MdDialogTitle;\nexports.MdDialogContent = MdDialogContent;\nexports.MdDialogActions = MdDialogActions;\nexports.MdDialogConfig = MdDialogConfig;\nexports.MdDialogRef = MdDialogRef;\nexports.MdGridList = MdGridList;\nexports.MdGridListModule = MdGridListModule;\nexports.MdIconInvalidNameError = MdIconInvalidNameError;\nexports.MdIcon = MdIcon;\nexports.ICON_REGISTRY_PROVIDER_FACTORY = ICON_REGISTRY_PROVIDER_FACTORY;\nexports.ICON_REGISTRY_PROVIDER = ICON_REGISTRY_PROVIDER;\nexports.MdIconModule = MdIconModule;\nexports.MdIconRegistry = MdIconRegistry;\nexports.MdInputModule = MdInputModule;\nexports.MdTextareaAutosize = MdTextareaAutosize;\nexports.MdPlaceholder = MdPlaceholder;\nexports.MdHint = MdHint;\nexports.MdInputDirective = MdInputDirective;\nexports.MdInputContainer = MdInputContainer;\nexports.MdInputContainerPlaceholderConflictError = MdInputContainerPlaceholderConflictError;\nexports.MdInputContainerUnsupportedTypeError = MdInputContainerUnsupportedTypeError;\nexports.MdInputContainerDuplicatedHintError = MdInputContainerDuplicatedHintError;\nexports.MdInputContainerMissingMdInputError = MdInputContainerMissingMdInputError;\nexports.MdListDivider = MdListDivider;\nexports.MdList = MdList;\nexports.MdListCssMatStyler = MdListCssMatStyler;\nexports.MdNavListCssMatStyler = MdNavListCssMatStyler;\nexports.MdDividerCssMatStyler = MdDividerCssMatStyler;\nexports.MdListAvatarCssMatStyler = MdListAvatarCssMatStyler;\nexports.MdListIconCssMatStyler = MdListIconCssMatStyler;\nexports.MdListSubheaderCssMatStyler = MdListSubheaderCssMatStyler;\nexports.MdListItem = MdListItem;\nexports.MdListModule = MdListModule;\nexports.MdMenuTrigger = MdMenuTrigger;\nexports.fadeInItems = fadeInItems;\nexports.transformMenu = transformMenu;\nexports.MdMenu = MdMenu;\nexports.MdMenuItem = MdMenuItem;\nexports.MdMenuModule = MdMenuModule;\nexports.MdProgressBar = MdProgressBar;\nexports.MdProgressBarModule = MdProgressBarModule;\nexports.MdProgressCircle = MdProgressSpinner;\nexports.MdProgressCircleModule = MdProgressSpinnerModule;\nexports.MdProgressSpinnerCssMatStyler = MdProgressSpinnerCssMatStyler;\nexports.MdProgressCircleCssMatStyler = MdProgressCircleCssMatStyler;\nexports.MdProgressSpinner = MdProgressSpinner;\nexports.MdSpinner = MdSpinner;\nexports.MdProgressSpinnerModule = MdProgressSpinnerModule;\nexports.MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR = MD_RADIO_GROUP_CONTROL_VALUE_ACCESSOR;\nexports.MdRadioChange = MdRadioChange;\nexports.MdRadioGroup = MdRadioGroup;\nexports.MdRadioButton = MdRadioButton;\nexports.MdRadioModule = MdRadioModule;\nexports.MdSelectModule = MdSelectModule;\nexports.fadeInContent = fadeInContent;\nexports.transformPanel = transformPanel;\nexports.transformPlaceholder = transformPlaceholder;\nexports.SELECT_OPTION_HEIGHT = SELECT_OPTION_HEIGHT;\nexports.SELECT_PANEL_MAX_HEIGHT = SELECT_PANEL_MAX_HEIGHT;\nexports.SELECT_MAX_OPTIONS_DISPLAYED = SELECT_MAX_OPTIONS_DISPLAYED;\nexports.SELECT_TRIGGER_HEIGHT = SELECT_TRIGGER_HEIGHT;\nexports.SELECT_OPTION_HEIGHT_ADJUSTMENT = SELECT_OPTION_HEIGHT_ADJUSTMENT;\nexports.SELECT_PANEL_PADDING_X = SELECT_PANEL_PADDING_X;\nexports.SELECT_PANEL_PADDING_Y = SELECT_PANEL_PADDING_Y;\nexports.SELECT_PANEL_VIEWPORT_PADDING = SELECT_PANEL_VIEWPORT_PADDING;\nexports.MdSelectChange = MdSelectChange;\nexports.MdSelect = MdSelect;\nexports.MdDuplicatedSidenavError = MdDuplicatedSidenavError;\nexports.MdSidenavToggleResult = MdSidenavToggleResult;\nexports.MdSidenav = MdSidenav;\nexports.MdSidenavContainer = MdSidenavContainer;\nexports.MdSidenavModule = MdSidenavModule;\nexports.MD_SLIDER_VALUE_ACCESSOR = MD_SLIDER_VALUE_ACCESSOR;\nexports.MdSliderChange = MdSliderChange;\nexports.MdSlider = MdSlider;\nexports.SliderRenderer = SliderRenderer;\nexports.MdSliderModule = MdSliderModule;\nexports.MD_SLIDE_TOGGLE_VALUE_ACCESSOR = MD_SLIDE_TOGGLE_VALUE_ACCESSOR;\nexports.MdSlideToggleChange = MdSlideToggleChange;\nexports.MdSlideToggle = MdSlideToggle;\nexports.MdSlideToggleModule = MdSlideToggleModule;\nexports.MdSnackBarModule = MdSnackBarModule;\nexports.MdSnackBar = MdSnackBar;\nexports.SHOW_ANIMATION = SHOW_ANIMATION;\nexports.HIDE_ANIMATION = HIDE_ANIMATION;\nexports.MdSnackBarContainer = MdSnackBarContainer;\nexports.MdSnackBarConfig = MdSnackBarConfig;\nexports.MdSnackBarRef = MdSnackBarRef;\nexports.SimpleSnackBar = SimpleSnackBar;\nexports.MdInkBar = MdInkBar;\nexports.MdTabBody = MdTabBody;\nexports.MdTabHeader = MdTabHeader;\nexports.MdTabLabelWrapper = MdTabLabelWrapper;\nexports.MdTab = MdTab;\nexports.MdTabLabel = MdTabLabel;\nexports.MdTabChangeEvent = MdTabChangeEvent;\nexports.MdTabGroup = MdTabGroup;\nexports.MdTabsModule = MdTabsModule;\nexports.MdTabNavBar = MdTabNavBar;\nexports.MdTabLink = MdTabLink;\nexports.MdTabLinkRipple = MdTabLinkRipple;\nexports.MdToolbarRow = MdToolbarRow;\nexports.MdToolbar = MdToolbar;\nexports.MdToolbarModule = MdToolbarModule;\nexports.TOUCHEND_HIDE_DELAY = TOUCHEND_HIDE_DELAY;\nexports.SCROLL_THROTTLE_MS = SCROLL_THROTTLE_MS;\nexports.MdTooltip = MdTooltip;\nexports.TooltipComponent = TooltipComponent;\nexports.MdTooltipModule = MdTooltipModule;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/material/bundles/material.umd.js\n// module id = 287\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar fromEvent_1 = require('../../observable/fromEvent');\nObservable_1.Observable.fromEvent = fromEvent_1.fromEvent;\n//# sourceMappingURL=fromEvent.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/observable/fromEvent.js\n// module id = 288\n// module chunks = 0","\"use strict\";\nvar FromEventObservable_1 = require('./FromEventObservable');\nexports.fromEvent = FromEventObservable_1.FromEventObservable.create;\n//# sourceMappingURL=fromEvent.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/fromEvent.js\n// module id = 289\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\nvar tryCatch_1 = require('../util/tryCatch');\nvar isFunction_1 = require('../util/isFunction');\nvar errorObject_1 = require('../util/errorObject');\nvar Subscription_1 = require('../Subscription');\nfunction isNodeStyleEventEmmitter(sourceObj) {\n return !!sourceObj && typeof sourceObj.addListener === 'function' && typeof sourceObj.removeListener === 'function';\n}\nfunction isJQueryStyleEventEmitter(sourceObj) {\n return !!sourceObj && typeof sourceObj.on === 'function' && typeof sourceObj.off === 'function';\n}\nfunction isNodeList(sourceObj) {\n return !!sourceObj && sourceObj.toString() === '[object NodeList]';\n}\nfunction isHTMLCollection(sourceObj) {\n return !!sourceObj && sourceObj.toString() === '[object HTMLCollection]';\n}\nfunction isEventTarget(sourceObj) {\n return !!sourceObj && typeof sourceObj.addEventListener === 'function' && typeof sourceObj.removeEventListener === 'function';\n}\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar FromEventObservable = (function (_super) {\n __extends(FromEventObservable, _super);\n function FromEventObservable(sourceObj, eventName, selector, options) {\n _super.call(this);\n this.sourceObj = sourceObj;\n this.eventName = eventName;\n this.selector = selector;\n this.options = options;\n }\n /* tslint:enable:max-line-length */\n /**\n * Creates an Observable that emits events of a specific type coming from the\n * given event target.\n *\n * <span class=\"informal\">Creates an Observable from DOM events, or Node\n * EventEmitter events or others.</span>\n *\n * <img src=\"./img/fromEvent.png\" width=\"100%\">\n *\n * Creates an Observable by attaching an event listener to an \"event target\",\n * which may be an object with `addEventListener` and `removeEventListener`,\n * a Node.js EventEmitter, a jQuery style EventEmitter, a NodeList from the\n * DOM, or an HTMLCollection from the DOM. The event handler is attached when\n * the output Observable is subscribed, and removed when the Subscription is\n * unsubscribed.\n *\n * @example <caption>Emits clicks happening on the DOM document</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * clicks.subscribe(x => console.log(x));\n *\n * @see {@link from}\n * @see {@link fromEventPattern}\n *\n * @param {EventTargetLike} target The DOMElement, event target, Node.js\n * EventEmitter, NodeList or HTMLCollection to attach the event handler to.\n * @param {string} eventName The event name of interest, being emitted by the\n * `target`.\n * @parm {EventListenerOptions} [options] Options to pass through to addEventListener\n * @param {SelectorMethodSignature<T>} [selector] An optional function to\n * post-process results. It takes the arguments from the event handler and\n * should return a single value.\n * @return {Observable<T>}\n * @static true\n * @name fromEvent\n * @owner Observable\n */\n FromEventObservable.create = function (target, eventName, options, selector) {\n if (isFunction_1.isFunction(options)) {\n selector = options;\n options = undefined;\n }\n return new FromEventObservable(target, eventName, selector, options);\n };\n FromEventObservable.setupSubscription = function (sourceObj, eventName, handler, subscriber, options) {\n var unsubscribe;\n if (isNodeList(sourceObj) || isHTMLCollection(sourceObj)) {\n for (var i = 0, len = sourceObj.length; i < len; i++) {\n FromEventObservable.setupSubscription(sourceObj[i], eventName, handler, subscriber, options);\n }\n }\n else if (isEventTarget(sourceObj)) {\n var source_1 = sourceObj;\n sourceObj.addEventListener(eventName, handler, options);\n unsubscribe = function () { return source_1.removeEventListener(eventName, handler); };\n }\n else if (isJQueryStyleEventEmitter(sourceObj)) {\n var source_2 = sourceObj;\n sourceObj.on(eventName, handler);\n unsubscribe = function () { return source_2.off(eventName, handler); };\n }\n else if (isNodeStyleEventEmmitter(sourceObj)) {\n var source_3 = sourceObj;\n sourceObj.addListener(eventName, handler);\n unsubscribe = function () { return source_3.removeListener(eventName, handler); };\n }\n subscriber.add(new Subscription_1.Subscription(unsubscribe));\n };\n FromEventObservable.prototype._subscribe = function (subscriber) {\n var sourceObj = this.sourceObj;\n var eventName = this.eventName;\n var options = this.options;\n var selector = this.selector;\n var handler = selector ? function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i - 0] = arguments[_i];\n }\n var result = tryCatch_1.tryCatch(selector).apply(void 0, args);\n if (result === errorObject_1.errorObject) {\n subscriber.error(errorObject_1.errorObject.e);\n }\n else {\n subscriber.next(result);\n }\n } : function (e) { return subscriber.next(e); };\n FromEventObservable.setupSubscription(sourceObj, eventName, handler, subscriber, options);\n };\n return FromEventObservable;\n}(Observable_1.Observable));\nexports.FromEventObservable = FromEventObservable;\n//# sourceMappingURL=FromEventObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/FromEventObservable.js\n// module id = 290\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar auditTime_1 = require('../../operator/auditTime');\nObservable_1.Observable.prototype.auditTime = auditTime_1.auditTime;\n//# sourceMappingURL=auditTime.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/auditTime.js\n// module id = 291\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar async_1 = require('../scheduler/async');\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Ignores source values for `duration` milliseconds, then emits the most recent\n * value from the source Observable, then repeats this process.\n *\n * <span class=\"informal\">When it sees a source values, it ignores that plus\n * the next ones for `duration` milliseconds, and then it emits the most recent\n * value from the source.</span>\n *\n * <img src=\"./img/auditTime.png\" width=\"100%\">\n *\n * `auditTime` is similar to `throttleTime`, but emits the last value from the\n * silenced time window, instead of the first value. `auditTime` emits the most\n * recent value from the source Observable on the output Observable as soon as\n * its internal timer becomes disabled, and ignores source values while the\n * timer is enabled. Initially, the timer is disabled. As soon as the first\n * source value arrives, the timer is enabled. After `duration` milliseconds (or\n * the time unit determined internally by the optional `scheduler`) has passed,\n * the timer is disabled, then the most recent source value is emitted on the\n * output Observable, and this process repeats for the next source value.\n * Optionally takes a {@link Scheduler} for managing timers.\n *\n * @example <caption>Emit clicks at a rate of at most one click per second</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var result = clicks.auditTime(1000);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link audit}\n * @see {@link debounceTime}\n * @see {@link delay}\n * @see {@link sampleTime}\n * @see {@link throttleTime}\n *\n * @param {number} duration Time to wait before emitting the most recent source\n * value, measured in milliseconds or the time unit determined internally\n * by the optional `scheduler`.\n * @param {Scheduler} [scheduler=async] The {@link Scheduler} to use for\n * managing the timers that handle the rate-limiting behavior.\n * @return {Observable<T>} An Observable that performs rate-limiting of\n * emissions from the source Observable.\n * @method auditTime\n * @owner Observable\n */\nfunction auditTime(duration, scheduler) {\n if (scheduler === void 0) { scheduler = async_1.async; }\n return this.lift(new AuditTimeOperator(duration, scheduler));\n}\nexports.auditTime = auditTime;\nvar AuditTimeOperator = (function () {\n function AuditTimeOperator(duration, scheduler) {\n this.duration = duration;\n this.scheduler = scheduler;\n }\n AuditTimeOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new AuditTimeSubscriber(subscriber, this.duration, this.scheduler));\n };\n return AuditTimeOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar AuditTimeSubscriber = (function (_super) {\n __extends(AuditTimeSubscriber, _super);\n function AuditTimeSubscriber(destination, duration, scheduler) {\n _super.call(this, destination);\n this.duration = duration;\n this.scheduler = scheduler;\n this.hasValue = false;\n }\n AuditTimeSubscriber.prototype._next = function (value) {\n this.value = value;\n this.hasValue = true;\n if (!this.throttled) {\n this.add(this.throttled = this.scheduler.schedule(dispatchNext, this.duration, this));\n }\n };\n AuditTimeSubscriber.prototype.clearThrottle = function () {\n var _a = this, value = _a.value, hasValue = _a.hasValue, throttled = _a.throttled;\n if (throttled) {\n this.remove(throttled);\n this.throttled = null;\n throttled.unsubscribe();\n }\n if (hasValue) {\n this.value = null;\n this.hasValue = false;\n this.destination.next(value);\n }\n };\n return AuditTimeSubscriber;\n}(Subscriber_1.Subscriber));\nfunction dispatchNext(subscriber) {\n subscriber.clearThrottle();\n}\n//# sourceMappingURL=auditTime.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/auditTime.js\n// module id = 292\n// module chunks = 0","\"use strict\";\nvar AsyncAction_1 = require('./AsyncAction');\nvar AsyncScheduler_1 = require('./AsyncScheduler');\nexports.async = new AsyncScheduler_1.AsyncScheduler(AsyncAction_1.AsyncAction);\n//# sourceMappingURL=async.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/scheduler/async.js\n// module id = 293\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Action_1 = require('./Action');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar AsyncAction = (function (_super) {\n __extends(AsyncAction, _super);\n function AsyncAction(scheduler, work) {\n _super.call(this, scheduler, work);\n this.scheduler = scheduler;\n this.work = work;\n this.pending = false;\n }\n AsyncAction.prototype.schedule = function (state, delay) {\n if (delay === void 0) { delay = 0; }\n if (this.closed) {\n return this;\n }\n // Always replace the current state with the new state.\n this.state = state;\n // Set the pending flag indicating that this action has been scheduled, or\n // has recursively rescheduled itself.\n this.pending = true;\n var id = this.id;\n var scheduler = this.scheduler;\n //\n // Important implementation note:\n //\n // Actions only execute once by default, unless rescheduled from within the\n // scheduled callback. This allows us to implement single and repeat\n // actions via the same code path, without adding API surface area, as well\n // as mimic traditional recursion but across asynchronous boundaries.\n //\n // However, JS runtimes and timers distinguish between intervals achieved by\n // serial `setTimeout` calls vs. a single `setInterval` call. An interval of\n // serial `setTimeout` calls can be individually delayed, which delays\n // scheduling the next `setTimeout`, and so on. `setInterval` attempts to\n // guarantee the interval callback will be invoked more precisely to the\n // interval period, regardless of load.\n //\n // Therefore, we use `setInterval` to schedule single and repeat actions.\n // If the action reschedules itself with the same delay, the interval is not\n // canceled. If the action doesn't reschedule, or reschedules with a\n // different delay, the interval will be canceled after scheduled callback\n // execution.\n //\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, delay);\n }\n this.delay = delay;\n // If this action has already an async Id, don't request a new one.\n this.id = this.id || this.requestAsyncId(scheduler, this.id, delay);\n return this;\n };\n AsyncAction.prototype.requestAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) { delay = 0; }\n return root_1.root.setInterval(scheduler.flush.bind(scheduler, this), delay);\n };\n AsyncAction.prototype.recycleAsyncId = function (scheduler, id, delay) {\n if (delay === void 0) { delay = 0; }\n // If this action is rescheduled with the same delay time, don't clear the interval id.\n if (delay !== null && this.delay === delay) {\n return id;\n }\n // Otherwise, if the action's delay time is different from the current delay,\n // clear the interval id\n return root_1.root.clearInterval(id) && undefined || undefined;\n };\n /**\n * Immediately executes this action and the `work` it contains.\n * @return {any}\n */\n AsyncAction.prototype.execute = function (state, delay) {\n if (this.closed) {\n return new Error('executing a cancelled action');\n }\n this.pending = false;\n var error = this._execute(state, delay);\n if (error) {\n return error;\n }\n else if (this.pending === false && this.id != null) {\n // Dequeue if the action didn't reschedule itself. Don't call\n // unsubscribe(), because the action could reschedule later.\n // For example:\n // ```\n // scheduler.schedule(function doWork(counter) {\n // /* ... I'm a busy worker bee ... */\n // var originalAction = this;\n // /* wait 100ms before rescheduling the action */\n // setTimeout(function () {\n // originalAction.schedule(counter + 1);\n // }, 100);\n // }, 1000);\n // ```\n this.id = this.recycleAsyncId(this.scheduler, this.id, null);\n }\n };\n AsyncAction.prototype._execute = function (state, delay) {\n var errored = false;\n var errorValue = undefined;\n try {\n this.work(state);\n }\n catch (e) {\n errored = true;\n errorValue = !!e && e || new Error(e);\n }\n if (errored) {\n this.unsubscribe();\n return errorValue;\n }\n };\n AsyncAction.prototype._unsubscribe = function () {\n var id = this.id;\n var scheduler = this.scheduler;\n var actions = scheduler.actions;\n var index = actions.indexOf(this);\n this.work = null;\n this.delay = null;\n this.state = null;\n this.pending = false;\n this.scheduler = null;\n if (index !== -1) {\n actions.splice(index, 1);\n }\n if (id != null) {\n this.id = this.recycleAsyncId(scheduler, id, null);\n }\n };\n return AsyncAction;\n}(Action_1.Action));\nexports.AsyncAction = AsyncAction;\n//# sourceMappingURL=AsyncAction.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/scheduler/AsyncAction.js\n// module id = 294\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscription_1 = require('../Subscription');\n/**\n * A unit of work to be executed in a {@link Scheduler}. An action is typically\n * created from within a Scheduler and an RxJS user does not need to concern\n * themselves about creating and manipulating an Action.\n *\n * ```ts\n * class Action<T> extends Subscription {\n * new (scheduler: Scheduler, work: (state?: T) => void);\n * schedule(state?: T, delay: number = 0): Subscription;\n * }\n * ```\n *\n * @class Action<T>\n */\nvar Action = (function (_super) {\n __extends(Action, _super);\n function Action(scheduler, work) {\n _super.call(this);\n }\n /**\n * Schedules this action on its parent Scheduler for execution. May be passed\n * some context object, `state`. May happen at some point in the future,\n * according to the `delay` parameter, if specified.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler.\n * @return {void}\n */\n Action.prototype.schedule = function (state, delay) {\n if (delay === void 0) { delay = 0; }\n return this;\n };\n return Action;\n}(Subscription_1.Subscription));\nexports.Action = Action;\n//# sourceMappingURL=Action.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/scheduler/Action.js\n// module id = 295\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Scheduler_1 = require('../Scheduler');\nvar AsyncScheduler = (function (_super) {\n __extends(AsyncScheduler, _super);\n function AsyncScheduler() {\n _super.apply(this, arguments);\n this.actions = [];\n /**\n * A flag to indicate whether the Scheduler is currently executing a batch of\n * queued actions.\n * @type {boolean}\n */\n this.active = false;\n /**\n * An internal ID used to track the latest asynchronous task such as those\n * coming from `setTimeout`, `setInterval`, `requestAnimationFrame`, and\n * others.\n * @type {any}\n */\n this.scheduled = undefined;\n }\n AsyncScheduler.prototype.flush = function (action) {\n var actions = this.actions;\n if (this.active) {\n actions.push(action);\n return;\n }\n var error;\n this.active = true;\n do {\n if (error = action.execute(action.state, action.delay)) {\n break;\n }\n } while (action = actions.shift()); // exhaust the scheduler queue\n this.active = false;\n if (error) {\n while (action = actions.shift()) {\n action.unsubscribe();\n }\n throw error;\n }\n };\n return AsyncScheduler;\n}(Scheduler_1.Scheduler));\nexports.AsyncScheduler = AsyncScheduler;\n//# sourceMappingURL=AsyncScheduler.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/scheduler/AsyncScheduler.js\n// module id = 296\n// module chunks = 0","\"use strict\";\n/**\n * An execution context and a data structure to order tasks and schedule their\n * execution. Provides a notion of (potentially virtual) time, through the\n * `now()` getter method.\n *\n * Each unit of work in a Scheduler is called an {@link Action}.\n *\n * ```ts\n * class Scheduler {\n * now(): number;\n * schedule(work, delay?, state?): Subscription;\n * }\n * ```\n *\n * @class Scheduler\n */\nvar Scheduler = (function () {\n function Scheduler(SchedulerAction, now) {\n if (now === void 0) { now = Scheduler.now; }\n this.SchedulerAction = SchedulerAction;\n this.now = now;\n }\n /**\n * Schedules a function, `work`, for execution. May happen at some point in\n * the future, according to the `delay` parameter, if specified. May be passed\n * some context object, `state`, which will be passed to the `work` function.\n *\n * The given arguments will be processed an stored as an Action object in a\n * queue of actions.\n *\n * @param {function(state: ?T): ?Subscription} work A function representing a\n * task, or some unit of work to be executed by the Scheduler.\n * @param {number} [delay] Time to wait before executing the work, where the\n * time unit is implicit and defined by the Scheduler itself.\n * @param {T} [state] Some contextual data that the `work` function uses when\n * called by the Scheduler.\n * @return {Subscription} A subscription in order to be able to unsubscribe\n * the scheduled work.\n */\n Scheduler.prototype.schedule = function (work, delay, state) {\n if (delay === void 0) { delay = 0; }\n return new this.SchedulerAction(this, work).schedule(state, delay);\n };\n Scheduler.now = Date.now ? Date.now : function () { return +new Date(); };\n return Scheduler;\n}());\nexports.Scheduler = Scheduler;\n//# sourceMappingURL=Scheduler.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Scheduler.js\n// module id = 297\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar startWith_1 = require('../../operator/startWith');\nObservable_1.Observable.prototype.startWith = startWith_1.startWith;\n//# sourceMappingURL=startWith.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/startWith.js\n// module id = 298\n// module chunks = 0","\"use strict\";\nvar ArrayObservable_1 = require('../observable/ArrayObservable');\nvar ScalarObservable_1 = require('../observable/ScalarObservable');\nvar EmptyObservable_1 = require('../observable/EmptyObservable');\nvar concat_1 = require('./concat');\nvar isScheduler_1 = require('../util/isScheduler');\n/**\n * Returns an Observable that emits the items in a specified Iterable before it begins to emit items emitted by the\n * source Observable.\n *\n * <img src=\"./img/startWith.png\" width=\"100%\">\n *\n * @param {Values} an Iterable that contains the items you want the modified Observable to emit first.\n * @return {Observable} an Observable that emits the items in the specified Iterable and then emits the items\n * emitted by the source Observable.\n * @method startWith\n * @owner Observable\n */\nfunction startWith() {\n var array = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i - 0] = arguments[_i];\n }\n var scheduler = array[array.length - 1];\n if (isScheduler_1.isScheduler(scheduler)) {\n array.pop();\n }\n else {\n scheduler = null;\n }\n var len = array.length;\n if (len === 1) {\n return concat_1.concatStatic(new ScalarObservable_1.ScalarObservable(array[0], scheduler), this);\n }\n else if (len > 1) {\n return concat_1.concatStatic(new ArrayObservable_1.ArrayObservable(array, scheduler), this);\n }\n else {\n return concat_1.concatStatic(new EmptyObservable_1.EmptyObservable(scheduler), this);\n }\n}\nexports.startWith = startWith;\n//# sourceMappingURL=startWith.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/startWith.js\n// module id = 299\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\nvar ScalarObservable_1 = require('./ScalarObservable');\nvar EmptyObservable_1 = require('./EmptyObservable');\nvar isScheduler_1 = require('../util/isScheduler');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar ArrayObservable = (function (_super) {\n __extends(ArrayObservable, _super);\n function ArrayObservable(array, scheduler) {\n _super.call(this);\n this.array = array;\n this.scheduler = scheduler;\n if (!scheduler && array.length === 1) {\n this._isScalar = true;\n this.value = array[0];\n }\n }\n ArrayObservable.create = function (array, scheduler) {\n return new ArrayObservable(array, scheduler);\n };\n /**\n * Creates an Observable that emits some values you specify as arguments,\n * immediately one after the other, and then emits a complete notification.\n *\n * <span class=\"informal\">Emits the arguments you provide, then completes.\n * </span>\n *\n * <img src=\"./img/of.png\" width=\"100%\">\n *\n * This static operator is useful for creating a simple Observable that only\n * emits the arguments given, and the complete notification thereafter. It can\n * be used for composing with other Observables, such as with {@link concat}.\n * By default, it uses a `null` Scheduler, which means the `next`\n * notifications are sent synchronously, although with a different Scheduler\n * it is possible to determine when those notifications will be delivered.\n *\n * @example <caption>Emit 10, 20, 30, then 'a', 'b', 'c', then start ticking every second.</caption>\n * var numbers = Rx.Observable.of(10, 20, 30);\n * var letters = Rx.Observable.of('a', 'b', 'c');\n * var interval = Rx.Observable.interval(1000);\n * var result = numbers.concat(letters).concat(interval);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link create}\n * @see {@link empty}\n * @see {@link never}\n * @see {@link throw}\n *\n * @param {...T} values Arguments that represent `next` values to be emitted.\n * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n * the emissions of the `next` notifications.\n * @return {Observable<T>} An Observable that emits each given input value.\n * @static true\n * @name of\n * @owner Observable\n */\n ArrayObservable.of = function () {\n var array = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n array[_i - 0] = arguments[_i];\n }\n var scheduler = array[array.length - 1];\n if (isScheduler_1.isScheduler(scheduler)) {\n array.pop();\n }\n else {\n scheduler = null;\n }\n var len = array.length;\n if (len > 1) {\n return new ArrayObservable(array, scheduler);\n }\n else if (len === 1) {\n return new ScalarObservable_1.ScalarObservable(array[0], scheduler);\n }\n else {\n return new EmptyObservable_1.EmptyObservable(scheduler);\n }\n };\n ArrayObservable.dispatch = function (state) {\n var array = state.array, index = state.index, count = state.count, subscriber = state.subscriber;\n if (index >= count) {\n subscriber.complete();\n return;\n }\n subscriber.next(array[index]);\n if (subscriber.closed) {\n return;\n }\n state.index = index + 1;\n this.schedule(state);\n };\n ArrayObservable.prototype._subscribe = function (subscriber) {\n var index = 0;\n var array = this.array;\n var count = array.length;\n var scheduler = this.scheduler;\n if (scheduler) {\n return scheduler.schedule(ArrayObservable.dispatch, 0, {\n array: array, index: index, count: count, subscriber: subscriber\n });\n }\n else {\n for (var i = 0; i < count && !subscriber.closed; i++) {\n subscriber.next(array[i]);\n }\n subscriber.complete();\n }\n };\n return ArrayObservable;\n}(Observable_1.Observable));\nexports.ArrayObservable = ArrayObservable;\n//# sourceMappingURL=ArrayObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/ArrayObservable.js\n// module id = 300\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar ScalarObservable = (function (_super) {\n __extends(ScalarObservable, _super);\n function ScalarObservable(value, scheduler) {\n _super.call(this);\n this.value = value;\n this.scheduler = scheduler;\n this._isScalar = true;\n if (scheduler) {\n this._isScalar = false;\n }\n }\n ScalarObservable.create = function (value, scheduler) {\n return new ScalarObservable(value, scheduler);\n };\n ScalarObservable.dispatch = function (state) {\n var done = state.done, value = state.value, subscriber = state.subscriber;\n if (done) {\n subscriber.complete();\n return;\n }\n subscriber.next(value);\n if (subscriber.closed) {\n return;\n }\n state.done = true;\n this.schedule(state);\n };\n ScalarObservable.prototype._subscribe = function (subscriber) {\n var value = this.value;\n var scheduler = this.scheduler;\n if (scheduler) {\n return scheduler.schedule(ScalarObservable.dispatch, 0, {\n done: false, value: value, subscriber: subscriber\n });\n }\n else {\n subscriber.next(value);\n if (!subscriber.closed) {\n subscriber.complete();\n }\n }\n };\n return ScalarObservable;\n}(Observable_1.Observable));\nexports.ScalarObservable = ScalarObservable;\n//# sourceMappingURL=ScalarObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/ScalarObservable.js\n// module id = 301\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar EmptyObservable = (function (_super) {\n __extends(EmptyObservable, _super);\n function EmptyObservable(scheduler) {\n _super.call(this);\n this.scheduler = scheduler;\n }\n /**\n * Creates an Observable that emits no items to the Observer and immediately\n * emits a complete notification.\n *\n * <span class=\"informal\">Just emits 'complete', and nothing else.\n * </span>\n *\n * <img src=\"./img/empty.png\" width=\"100%\">\n *\n * This static operator is useful for creating a simple Observable that only\n * emits the complete notification. It can be used for composing with other\n * Observables, such as in a {@link mergeMap}.\n *\n * @example <caption>Emit the number 7, then complete.</caption>\n * var result = Rx.Observable.empty().startWith(7);\n * result.subscribe(x => console.log(x));\n *\n * @example <caption>Map and flatten only odd numbers to the sequence 'a', 'b', 'c'</caption>\n * var interval = Rx.Observable.interval(1000);\n * var result = interval.mergeMap(x =>\n * x % 2 === 1 ? Rx.Observable.of('a', 'b', 'c') : Rx.Observable.empty()\n * );\n * result.subscribe(x => console.log(x));\n *\n * @see {@link create}\n * @see {@link never}\n * @see {@link of}\n * @see {@link throw}\n *\n * @param {Scheduler} [scheduler] A {@link Scheduler} to use for scheduling\n * the emission of the complete notification.\n * @return {Observable} An \"empty\" Observable: emits only the complete\n * notification.\n * @static true\n * @name empty\n * @owner Observable\n */\n EmptyObservable.create = function (scheduler) {\n return new EmptyObservable(scheduler);\n };\n EmptyObservable.dispatch = function (arg) {\n var subscriber = arg.subscriber;\n subscriber.complete();\n };\n EmptyObservable.prototype._subscribe = function (subscriber) {\n var scheduler = this.scheduler;\n if (scheduler) {\n return scheduler.schedule(EmptyObservable.dispatch, 0, { subscriber: subscriber });\n }\n else {\n subscriber.complete();\n }\n };\n return EmptyObservable;\n}(Observable_1.Observable));\nexports.EmptyObservable = EmptyObservable;\n//# sourceMappingURL=EmptyObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/EmptyObservable.js\n// module id = 302\n// module chunks = 0","\"use strict\";\nfunction isScheduler(value) {\n return value && typeof value.schedule === 'function';\n}\nexports.isScheduler = isScheduler;\n//# sourceMappingURL=isScheduler.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/isScheduler.js\n// module id = 303\n// module chunks = 0","\"use strict\";\nvar isScheduler_1 = require('../util/isScheduler');\nvar ArrayObservable_1 = require('../observable/ArrayObservable');\nvar mergeAll_1 = require('./mergeAll');\n/**\n * Creates an output Observable which sequentially emits all values from every\n * given input Observable after the current Observable.\n *\n * <span class=\"informal\">Concatenates multiple Observables together by\n * sequentially emitting their values, one Observable after the other.</span>\n *\n * <img src=\"./img/concat.png\" width=\"100%\">\n *\n * Joins this Observable with multiple other Observables by subscribing to them\n * one at a time, starting with the source, and merging their results into the\n * output Observable. Will wait for each Observable to complete before moving\n * on to the next.\n *\n * @example <caption>Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10</caption>\n * var timer = Rx.Observable.interval(1000).take(4);\n * var sequence = Rx.Observable.range(1, 10);\n * var result = timer.concat(sequence);\n * result.subscribe(x => console.log(x));\n *\n * @example <caption>Concatenate 3 Observables</caption>\n * var timer1 = Rx.Observable.interval(1000).take(10);\n * var timer2 = Rx.Observable.interval(2000).take(6);\n * var timer3 = Rx.Observable.interval(500).take(10);\n * var result = timer1.concat(timer2, timer3);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link concatAll}\n * @see {@link concatMap}\n * @see {@link concatMapTo}\n *\n * @param {Observable} other An input Observable to concatenate after the source\n * Observable. More than one input Observables may be given as argument.\n * @param {Scheduler} [scheduler=null] An optional Scheduler to schedule each\n * Observable subscription on.\n * @return {Observable} All values of each passed Observable merged into a\n * single Observable, in order, in serial fashion.\n * @method concat\n * @owner Observable\n */\nfunction concat() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i - 0] = arguments[_i];\n }\n return concatStatic.apply(void 0, [this].concat(observables));\n}\nexports.concat = concat;\n/* tslint:enable:max-line-length */\n/**\n * Creates an output Observable which sequentially emits all values from every\n * given input Observable after the current Observable.\n *\n * <span class=\"informal\">Concatenates multiple Observables together by\n * sequentially emitting their values, one Observable after the other.</span>\n *\n * <img src=\"./img/concat.png\" width=\"100%\">\n *\n * Joins multiple Observables together by subscribing to them one at a time and\n * merging their results into the output Observable. Will wait for each\n * Observable to complete before moving on to the next.\n *\n * @example <caption>Concatenate a timer counting from 0 to 3 with a synchronous sequence from 1 to 10</caption>\n * var timer = Rx.Observable.interval(1000).take(4);\n * var sequence = Rx.Observable.range(1, 10);\n * var result = Rx.Observable.concat(timer, sequence);\n * result.subscribe(x => console.log(x));\n *\n * @example <caption>Concatenate 3 Observables</caption>\n * var timer1 = Rx.Observable.interval(1000).take(10);\n * var timer2 = Rx.Observable.interval(2000).take(6);\n * var timer3 = Rx.Observable.interval(500).take(10);\n * var result = Rx.Observable.concat(timer1, timer2, timer3);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link concatAll}\n * @see {@link concatMap}\n * @see {@link concatMapTo}\n *\n * @param {Observable} input1 An input Observable to concatenate with others.\n * @param {Observable} input2 An input Observable to concatenate with others.\n * More than one input Observables may be given as argument.\n * @param {Scheduler} [scheduler=null] An optional Scheduler to schedule each\n * Observable subscription on.\n * @return {Observable} All values of each passed Observable merged into a\n * single Observable, in order, in serial fashion.\n * @static true\n * @name concat\n * @owner Observable\n */\nfunction concatStatic() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i - 0] = arguments[_i];\n }\n var scheduler = null;\n var args = observables;\n if (isScheduler_1.isScheduler(args[observables.length - 1])) {\n scheduler = args.pop();\n }\n return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new mergeAll_1.MergeAllOperator(1));\n}\nexports.concatStatic = concatStatic;\n//# sourceMappingURL=concat.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/concat.js\n// module id = 304\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar OuterSubscriber_1 = require('../OuterSubscriber');\nvar subscribeToResult_1 = require('../util/subscribeToResult');\n/**\n * Converts a higher-order Observable into a first-order Observable which\n * concurrently delivers all values that are emitted on the inner Observables.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables.</span>\n *\n * <img src=\"./img/mergeAll.png\" width=\"100%\">\n *\n * `mergeAll` subscribes to an Observable that emits Observables, also known as\n * a higher-order Observable. Each time it observes one of these emitted inner\n * Observables, it subscribes to that and delivers all the values from the\n * inner Observable on the output Observable. The output Observable only\n * completes once all inner Observables have completed. Any error delivered by\n * a inner Observable will be immediately emitted on the output Observable.\n *\n * @example <caption>Spawn a new interval Observable for each click event, and blend their outputs as one Observable</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000));\n * var firstOrder = higherOrder.mergeAll();\n * firstOrder.subscribe(x => console.log(x));\n *\n * @example <caption>Count from 0 to 9 every second for each click, but only allow 2 concurrent timers</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var higherOrder = clicks.map((ev) => Rx.Observable.interval(1000).take(10));\n * var firstOrder = higherOrder.mergeAll(2);\n * firstOrder.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concatAll}\n * @see {@link exhaust}\n * @see {@link merge}\n * @see {@link mergeMap}\n * @see {@link mergeMapTo}\n * @see {@link mergeScan}\n * @see {@link switch}\n * @see {@link zipAll}\n *\n * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of inner\n * Observables being subscribed to concurrently.\n * @return {Observable} An Observable that emits values coming from all the\n * inner Observables emitted by the source Observable.\n * @method mergeAll\n * @owner Observable\n */\nfunction mergeAll(concurrent) {\n if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n return this.lift(new MergeAllOperator(concurrent));\n}\nexports.mergeAll = mergeAll;\nvar MergeAllOperator = (function () {\n function MergeAllOperator(concurrent) {\n this.concurrent = concurrent;\n }\n MergeAllOperator.prototype.call = function (observer, source) {\n return source._subscribe(new MergeAllSubscriber(observer, this.concurrent));\n };\n return MergeAllOperator;\n}());\nexports.MergeAllOperator = MergeAllOperator;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar MergeAllSubscriber = (function (_super) {\n __extends(MergeAllSubscriber, _super);\n function MergeAllSubscriber(destination, concurrent) {\n _super.call(this, destination);\n this.concurrent = concurrent;\n this.hasCompleted = false;\n this.buffer = [];\n this.active = 0;\n }\n MergeAllSubscriber.prototype._next = function (observable) {\n if (this.active < this.concurrent) {\n this.active++;\n this.add(subscribeToResult_1.subscribeToResult(this, observable));\n }\n else {\n this.buffer.push(observable);\n }\n };\n MergeAllSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (this.active === 0 && this.buffer.length === 0) {\n this.destination.complete();\n }\n };\n MergeAllSubscriber.prototype.notifyComplete = function (innerSub) {\n var buffer = this.buffer;\n this.remove(innerSub);\n this.active--;\n if (buffer.length > 0) {\n this._next(buffer.shift());\n }\n else if (this.active === 0 && this.hasCompleted) {\n this.destination.complete();\n }\n };\n return MergeAllSubscriber;\n}(OuterSubscriber_1.OuterSubscriber));\nexports.MergeAllSubscriber = MergeAllSubscriber;\n//# sourceMappingURL=mergeAll.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/mergeAll.js\n// module id = 305\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('./Subscriber');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar OuterSubscriber = (function (_super) {\n __extends(OuterSubscriber, _super);\n function OuterSubscriber() {\n _super.apply(this, arguments);\n }\n OuterSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.destination.next(innerValue);\n };\n OuterSubscriber.prototype.notifyError = function (error, innerSub) {\n this.destination.error(error);\n };\n OuterSubscriber.prototype.notifyComplete = function (innerSub) {\n this.destination.complete();\n };\n return OuterSubscriber;\n}(Subscriber_1.Subscriber));\nexports.OuterSubscriber = OuterSubscriber;\n//# sourceMappingURL=OuterSubscriber.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/OuterSubscriber.js\n// module id = 306\n// module chunks = 0","\"use strict\";\nvar root_1 = require('./root');\nvar isArray_1 = require('./isArray');\nvar isPromise_1 = require('./isPromise');\nvar Observable_1 = require('../Observable');\nvar iterator_1 = require('../symbol/iterator');\nvar InnerSubscriber_1 = require('../InnerSubscriber');\nvar observable_1 = require('../symbol/observable');\nfunction subscribeToResult(outerSubscriber, result, outerValue, outerIndex) {\n var destination = new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex);\n if (destination.closed) {\n return null;\n }\n if (result instanceof Observable_1.Observable) {\n if (result._isScalar) {\n destination.next(result.value);\n destination.complete();\n return null;\n }\n else {\n return result.subscribe(destination);\n }\n }\n if (isArray_1.isArray(result)) {\n for (var i = 0, len = result.length; i < len && !destination.closed; i++) {\n destination.next(result[i]);\n }\n if (!destination.closed) {\n destination.complete();\n }\n }\n else if (isPromise_1.isPromise(result)) {\n result.then(function (value) {\n if (!destination.closed) {\n destination.next(value);\n destination.complete();\n }\n }, function (err) { return destination.error(err); })\n .then(null, function (err) {\n // Escaping the Promise trap: globally throw unhandled errors\n root_1.root.setTimeout(function () { throw err; });\n });\n return destination;\n }\n else if (typeof result[iterator_1.$$iterator] === 'function') {\n var iterator = result[iterator_1.$$iterator]();\n do {\n var item = iterator.next();\n if (item.done) {\n destination.complete();\n break;\n }\n destination.next(item.value);\n if (destination.closed) {\n break;\n }\n } while (true);\n }\n else if (typeof result[observable_1.$$observable] === 'function') {\n var obs = result[observable_1.$$observable]();\n if (typeof obs.subscribe !== 'function') {\n destination.error(new Error('invalid observable'));\n }\n else {\n return obs.subscribe(new InnerSubscriber_1.InnerSubscriber(outerSubscriber, outerValue, outerIndex));\n }\n }\n else {\n destination.error(new TypeError('unknown type returned'));\n }\n return null;\n}\nexports.subscribeToResult = subscribeToResult;\n//# sourceMappingURL=subscribeToResult.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/subscribeToResult.js\n// module id = 307\n// module chunks = 0","\"use strict\";\nfunction isPromise(value) {\n return value && typeof value.subscribe !== 'function' && typeof value.then === 'function';\n}\nexports.isPromise = isPromise;\n//# sourceMappingURL=isPromise.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/isPromise.js\n// module id = 308\n// module chunks = 0","\"use strict\";\nvar root_1 = require('../util/root');\nvar Symbol = root_1.root.Symbol;\nif (typeof Symbol === 'function') {\n if (Symbol.iterator) {\n exports.$$iterator = Symbol.iterator;\n }\n else if (typeof Symbol.for === 'function') {\n exports.$$iterator = Symbol.for('iterator');\n }\n}\nelse {\n if (root_1.root.Set && typeof new root_1.root.Set()['@@iterator'] === 'function') {\n // Bug for mozilla version\n exports.$$iterator = '@@iterator';\n }\n else if (root_1.root.Map) {\n // es6-shim specific logic\n var keys = Object.getOwnPropertyNames(root_1.root.Map.prototype);\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n if (key !== 'entries' && key !== 'size' && root_1.root.Map.prototype[key] === root_1.root.Map.prototype['entries']) {\n exports.$$iterator = key;\n break;\n }\n }\n }\n else {\n exports.$$iterator = '@@iterator';\n }\n}\n//# sourceMappingURL=iterator.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/symbol/iterator.js\n// module id = 309\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('./Subscriber');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar InnerSubscriber = (function (_super) {\n __extends(InnerSubscriber, _super);\n function InnerSubscriber(parent, outerValue, outerIndex) {\n _super.call(this);\n this.parent = parent;\n this.outerValue = outerValue;\n this.outerIndex = outerIndex;\n this.index = 0;\n }\n InnerSubscriber.prototype._next = function (value) {\n this.parent.notifyNext(this.outerValue, value, this.outerIndex, this.index++, this);\n };\n InnerSubscriber.prototype._error = function (error) {\n this.parent.notifyError(error, this);\n this.unsubscribe();\n };\n InnerSubscriber.prototype._complete = function () {\n this.parent.notifyComplete(this);\n this.unsubscribe();\n };\n return InnerSubscriber;\n}(Subscriber_1.Subscriber));\nexports.InnerSubscriber = InnerSubscriber;\n//# sourceMappingURL=InnerSubscriber.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/InnerSubscriber.js\n// module id = 310\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar first_1 = require('../../operator/first');\nObservable_1.Observable.prototype.first = first_1.first;\n//# sourceMappingURL=first.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/first.js\n// module id = 311\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\nvar EmptyError_1 = require('../util/EmptyError');\n/**\n * Emits only the first value (or the first value that meets some condition)\n * emitted by the source Observable.\n *\n * <span class=\"informal\">Emits only the first value. Or emits only the first\n * value that passes some test.</span>\n *\n * <img src=\"./img/first.png\" width=\"100%\">\n *\n * If called with no arguments, `first` emits the first value of the source\n * Observable, then completes. If called with a `predicate` function, `first`\n * emits the first value of the source that matches the specified condition. It\n * may also take a `resultSelector` function to produce the output value from\n * the input value, and a `defaultValue` to emit in case the source completes\n * before it is able to emit a valid value. Throws an error if `defaultValue`\n * was not provided and a matching element is not found.\n *\n * @example <caption>Emit only the first click that happens on the DOM</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var result = clicks.first();\n * result.subscribe(x => console.log(x));\n *\n * @example <caption>Emits the first click that happens on a DIV</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var result = clicks.first(ev => ev.target.tagName === 'DIV');\n * result.subscribe(x => console.log(x));\n *\n * @see {@link filter}\n * @see {@link find}\n * @see {@link take}\n *\n * @throws {EmptyError} Delivers an EmptyError to the Observer's `error`\n * callback if the Observable completes before any `next` notification was sent.\n *\n * @param {function(value: T, index: number, source: Observable<T>): boolean} [predicate]\n * An optional function called with each item to test for condition matching.\n * @param {function(value: T, index: number): R} [resultSelector] A function to\n * produce the value on the output Observable based on the values\n * and the indices of the source Observable. The arguments passed to this\n * function are:\n * - `value`: the value that was emitted on the source.\n * - `index`: the \"index\" of the value from the source.\n * @param {R} [defaultValue] The default value emitted in case no valid value\n * was found on the source.\n * @return {Observable<T|R>} an Observable of the first item that matches the\n * condition.\n * @method first\n * @owner Observable\n */\nfunction first(predicate, resultSelector, defaultValue) {\n return this.lift(new FirstOperator(predicate, resultSelector, defaultValue, this));\n}\nexports.first = first;\nvar FirstOperator = (function () {\n function FirstOperator(predicate, resultSelector, defaultValue, source) {\n this.predicate = predicate;\n this.resultSelector = resultSelector;\n this.defaultValue = defaultValue;\n this.source = source;\n }\n FirstOperator.prototype.call = function (observer, source) {\n return source._subscribe(new FirstSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source));\n };\n return FirstOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar FirstSubscriber = (function (_super) {\n __extends(FirstSubscriber, _super);\n function FirstSubscriber(destination, predicate, resultSelector, defaultValue, source) {\n _super.call(this, destination);\n this.predicate = predicate;\n this.resultSelector = resultSelector;\n this.defaultValue = defaultValue;\n this.source = source;\n this.index = 0;\n this.hasCompleted = false;\n }\n FirstSubscriber.prototype._next = function (value) {\n var index = this.index++;\n if (this.predicate) {\n this._tryPredicate(value, index);\n }\n else {\n this._emit(value, index);\n }\n };\n FirstSubscriber.prototype._tryPredicate = function (value, index) {\n var result;\n try {\n result = this.predicate(value, index, this.source);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n this._emit(value, index);\n }\n };\n FirstSubscriber.prototype._emit = function (value, index) {\n if (this.resultSelector) {\n this._tryResultSelector(value, index);\n return;\n }\n this._emitFinal(value);\n };\n FirstSubscriber.prototype._tryResultSelector = function (value, index) {\n var result;\n try {\n result = this.resultSelector(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this._emitFinal(result);\n };\n FirstSubscriber.prototype._emitFinal = function (value) {\n var destination = this.destination;\n destination.next(value);\n destination.complete();\n this.hasCompleted = true;\n };\n FirstSubscriber.prototype._complete = function () {\n var destination = this.destination;\n if (!this.hasCompleted && typeof this.defaultValue !== 'undefined') {\n destination.next(this.defaultValue);\n destination.complete();\n }\n else if (!this.hasCompleted) {\n destination.error(new EmptyError_1.EmptyError);\n }\n };\n return FirstSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=first.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/first.js\n// module id = 312\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\n/**\n * An error thrown when an Observable or a sequence was queried but has no\n * elements.\n *\n * @see {@link first}\n * @see {@link last}\n * @see {@link single}\n *\n * @class EmptyError\n */\nvar EmptyError = (function (_super) {\n __extends(EmptyError, _super);\n function EmptyError() {\n var err = _super.call(this, 'no elements in sequence');\n this.name = err.name = 'EmptyError';\n this.stack = err.stack;\n this.message = err.message;\n }\n return EmptyError;\n}(Error));\nexports.EmptyError = EmptyError;\n//# sourceMappingURL=EmptyError.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/util/EmptyError.js\n// module id = 313\n// module chunks = 0","/**\n * @license Angular v2.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs/Observable'), require('@angular/platform-browser')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/core', 'rxjs/Observable', '@angular/platform-browser'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.http = global.ng.http || {}),global.ng.core,global.Rx,global.ng.platformBrowser));\n}(this, function (exports,_angular_core,rxjs_Observable,_angular_platformBrowser) { 'use strict';\n\n /**\n * A backend for http that uses the `XMLHttpRequest` browser API.\n *\n * Take care not to evaluate this in non-browser contexts.\n *\n * @experimental\n */\n var BrowserXhr = (function () {\n function BrowserXhr() {\n }\n BrowserXhr.prototype.build = function () { return (new XMLHttpRequest()); };\n BrowserXhr.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n BrowserXhr.ctorParameters = [];\n return BrowserXhr;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Supported http methods.\n * @experimental\n */\n exports.RequestMethod;\n (function (RequestMethod) {\n RequestMethod[RequestMethod[\"Get\"] = 0] = \"Get\";\n RequestMethod[RequestMethod[\"Post\"] = 1] = \"Post\";\n RequestMethod[RequestMethod[\"Put\"] = 2] = \"Put\";\n RequestMethod[RequestMethod[\"Delete\"] = 3] = \"Delete\";\n RequestMethod[RequestMethod[\"Options\"] = 4] = \"Options\";\n RequestMethod[RequestMethod[\"Head\"] = 5] = \"Head\";\n RequestMethod[RequestMethod[\"Patch\"] = 6] = \"Patch\";\n })(exports.RequestMethod || (exports.RequestMethod = {}));\n /**\n * All possible states in which a connection can be, based on\n * [States](http://www.w3.org/TR/XMLHttpRequest/#states) from the `XMLHttpRequest` spec, but with an\n * additional \"CANCELLED\" state.\n * @experimental\n */\n exports.ReadyState;\n (function (ReadyState) {\n ReadyState[ReadyState[\"Unsent\"] = 0] = \"Unsent\";\n ReadyState[ReadyState[\"Open\"] = 1] = \"Open\";\n ReadyState[ReadyState[\"HeadersReceived\"] = 2] = \"HeadersReceived\";\n ReadyState[ReadyState[\"Loading\"] = 3] = \"Loading\";\n ReadyState[ReadyState[\"Done\"] = 4] = \"Done\";\n ReadyState[ReadyState[\"Cancelled\"] = 5] = \"Cancelled\";\n })(exports.ReadyState || (exports.ReadyState = {}));\n /**\n * Acceptable response types to be associated with a {@link Response}, based on\n * [ResponseType](https://fetch.spec.whatwg.org/#responsetype) from the Fetch spec.\n * @experimental\n */\n exports.ResponseType;\n (function (ResponseType) {\n ResponseType[ResponseType[\"Basic\"] = 0] = \"Basic\";\n ResponseType[ResponseType[\"Cors\"] = 1] = \"Cors\";\n ResponseType[ResponseType[\"Default\"] = 2] = \"Default\";\n ResponseType[ResponseType[\"Error\"] = 3] = \"Error\";\n ResponseType[ResponseType[\"Opaque\"] = 4] = \"Opaque\";\n })(exports.ResponseType || (exports.ResponseType = {}));\n /**\n * Supported content type to be automatically associated with a {@link Request}.\n * @experimental\n */\n var ContentType;\n (function (ContentType) {\n ContentType[ContentType[\"NONE\"] = 0] = \"NONE\";\n ContentType[ContentType[\"JSON\"] = 1] = \"JSON\";\n ContentType[ContentType[\"FORM\"] = 2] = \"FORM\";\n ContentType[ContentType[\"FORM_DATA\"] = 3] = \"FORM_DATA\";\n ContentType[ContentType[\"TEXT\"] = 4] = \"TEXT\";\n ContentType[ContentType[\"BLOB\"] = 5] = \"BLOB\";\n ContentType[ContentType[\"ARRAY_BUFFER\"] = 6] = \"ARRAY_BUFFER\";\n })(ContentType || (ContentType = {}));\n /**\n * Define which buffer to use to store the response\n * @experimental\n */\n exports.ResponseContentType;\n (function (ResponseContentType) {\n ResponseContentType[ResponseContentType[\"Text\"] = 0] = \"Text\";\n ResponseContentType[ResponseContentType[\"Json\"] = 1] = \"Json\";\n ResponseContentType[ResponseContentType[\"ArrayBuffer\"] = 2] = \"ArrayBuffer\";\n ResponseContentType[ResponseContentType[\"Blob\"] = 3] = \"Blob\";\n })(exports.ResponseContentType || (exports.ResponseContentType = {}));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Polyfill for [Headers](https://developer.mozilla.org/en-US/docs/Web/API/Headers/Headers), as\n * specified in the [Fetch Spec](https://fetch.spec.whatwg.org/#headers-class).\n *\n * The only known difference between this `Headers` implementation and the spec is the\n * lack of an `entries` method.\n *\n * ### Example\n *\n * ```\n * import {Headers} from '@angular/http';\n *\n * var firstHeaders = new Headers();\n * firstHeaders.append('Content-Type', 'image/jpeg');\n * console.log(firstHeaders.get('Content-Type')) //'image/jpeg'\n *\n * // Create headers from Plain Old JavaScript Object\n * var secondHeaders = new Headers({\n * 'X-My-Custom-Header': 'Angular'\n * });\n * console.log(secondHeaders.get('X-My-Custom-Header')); //'Angular'\n *\n * var thirdHeaders = new Headers(secondHeaders);\n * console.log(thirdHeaders.get('X-My-Custom-Header')); //'Angular'\n * ```\n *\n * @experimental\n */\n var Headers = (function () {\n // TODO(vicb): any -> string|string[]\n function Headers(headers) {\n var _this = this;\n /** @internal header names are lower case */\n this._headers = new Map();\n /** @internal map lower case names to actual names */\n this._normalizedNames = new Map();\n if (!headers) {\n return;\n }\n if (headers instanceof Headers) {\n headers.forEach(function (values, name) {\n values.forEach(function (value) { return _this.append(name, value); });\n });\n return;\n }\n Object.keys(headers).forEach(function (name) {\n var values = Array.isArray(headers[name]) ? headers[name] : [headers[name]];\n _this.delete(name);\n values.forEach(function (value) { return _this.append(name, value); });\n });\n }\n /**\n * Returns a new Headers instance from the given DOMString of Response Headers\n */\n Headers.fromResponseHeaderString = function (headersString) {\n var headers = new Headers();\n headersString.split('\\n').forEach(function (line) {\n var index = line.indexOf(':');\n if (index > 0) {\n var name_1 = line.slice(0, index);\n var value = line.slice(index + 1).trim();\n headers.set(name_1, value);\n }\n });\n return headers;\n };\n /**\n * Appends a header to existing list of header values for a given header name.\n */\n Headers.prototype.append = function (name, value) {\n var values = this.getAll(name);\n if (values === null) {\n this.set(name, value);\n }\n else {\n values.push(value);\n }\n };\n /**\n * Deletes all header values for the given name.\n */\n Headers.prototype.delete = function (name) {\n var lcName = name.toLowerCase();\n this._normalizedNames.delete(lcName);\n this._headers.delete(lcName);\n };\n Headers.prototype.forEach = function (fn) {\n var _this = this;\n this._headers.forEach(function (values, lcName) { return fn(values, _this._normalizedNames.get(lcName), _this._headers); });\n };\n /**\n * Returns first header that matches given name.\n */\n Headers.prototype.get = function (name) {\n var values = this.getAll(name);\n if (values === null) {\n return null;\n }\n return values.length > 0 ? values[0] : null;\n };\n /**\n * Checks for existence of header by given name.\n */\n Headers.prototype.has = function (name) { return this._headers.has(name.toLowerCase()); };\n /**\n * Returns the names of the headers\n */\n Headers.prototype.keys = function () { return Array.from(this._normalizedNames.values()); };\n /**\n * Sets or overrides header value for given name.\n */\n Headers.prototype.set = function (name, value) {\n if (Array.isArray(value)) {\n if (value.length) {\n this._headers.set(name.toLowerCase(), [value.join(',')]);\n }\n }\n else {\n this._headers.set(name.toLowerCase(), [value]);\n }\n this.mayBeSetNormalizedName(name);\n };\n /**\n * Returns values of all headers.\n */\n Headers.prototype.values = function () { return Array.from(this._headers.values()); };\n /**\n * Returns string of all headers.\n */\n // TODO(vicb): returns {[name: string]: string[]}\n Headers.prototype.toJSON = function () {\n var _this = this;\n var serialized = {};\n this._headers.forEach(function (values, name) {\n var split = [];\n values.forEach(function (v) { return split.push.apply(split, v.split(',')); });\n serialized[_this._normalizedNames.get(name)] = split;\n });\n return serialized;\n };\n /**\n * Returns list of header values for a given name.\n */\n Headers.prototype.getAll = function (name) {\n return this.has(name) ? this._headers.get(name.toLowerCase()) : null;\n };\n /**\n * This method is not implemented.\n */\n Headers.prototype.entries = function () { throw new Error('\"entries\" method is not implemented on Headers class'); };\n Headers.prototype.mayBeSetNormalizedName = function (name) {\n var lcName = name.toLowerCase();\n if (!this._normalizedNames.has(lcName)) {\n this._normalizedNames.set(lcName, name);\n }\n };\n return Headers;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Creates a response options object to be optionally provided when instantiating a\n * {@link Response}.\n *\n * This class is based on the `ResponseInit` description in the [Fetch\n * Spec](https://fetch.spec.whatwg.org/#responseinit).\n *\n * All values are null by default. Typical defaults can be found in the\n * {@link BaseResponseOptions} class, which sub-classes `ResponseOptions`.\n *\n * This class may be used in tests to build {@link Response Responses} for\n * mock responses (see {@link MockBackend}).\n *\n * ### Example ([live demo](http://plnkr.co/edit/P9Jkk8e8cz6NVzbcxEsD?p=preview))\n *\n * ```typescript\n * import {ResponseOptions, Response} from '@angular/http';\n *\n * var options = new ResponseOptions({\n * body: '{\"name\":\"Jeff\"}'\n * });\n * var res = new Response(options);\n *\n * console.log('res.json():', res.json()); // Object {name: \"Jeff\"}\n * ```\n *\n * @experimental\n */\n var ResponseOptions = (function () {\n function ResponseOptions(_a) {\n var _b = _a === void 0 ? {} : _a, body = _b.body, status = _b.status, headers = _b.headers, statusText = _b.statusText, type = _b.type, url = _b.url;\n this.body = body != null ? body : null;\n this.status = status != null ? status : null;\n this.headers = headers != null ? headers : null;\n this.statusText = statusText != null ? statusText : null;\n this.type = type != null ? type : null;\n this.url = url != null ? url : null;\n }\n /**\n * Creates a copy of the `ResponseOptions` instance, using the optional input as values to\n * override\n * existing values. This method will not change the values of the instance on which it is being\n * called.\n *\n * This may be useful when sharing a base `ResponseOptions` object inside tests,\n * where certain properties may change from test to test.\n *\n * ### Example ([live demo](http://plnkr.co/edit/1lXquqFfgduTFBWjNoRE?p=preview))\n *\n * ```typescript\n * import {ResponseOptions, Response} from '@angular/http';\n *\n * var options = new ResponseOptions({\n * body: {name: 'Jeff'}\n * });\n * var res = new Response(options.merge({\n * url: 'https://google.com'\n * }));\n * console.log('options.url:', options.url); // null\n * console.log('res.json():', res.json()); // Object {name: \"Jeff\"}\n * console.log('res.url:', res.url); // https://google.com\n * ```\n */\n ResponseOptions.prototype.merge = function (options) {\n return new ResponseOptions({\n body: options && options.body != null ? options.body : this.body,\n status: options && options.status != null ? options.status : this.status,\n headers: options && options.headers != null ? options.headers : this.headers,\n statusText: options && options.statusText != null ? options.statusText : this.statusText,\n type: options && options.type != null ? options.type : this.type,\n url: options && options.url != null ? options.url : this.url,\n });\n };\n return ResponseOptions;\n }());\n /**\n * Subclass of {@link ResponseOptions}, with default values.\n *\n * Default values:\n * * status: 200\n * * headers: empty {@link Headers} object\n *\n * This class could be extended and bound to the {@link ResponseOptions} class\n * when configuring an {@link Injector}, in order to override the default options\n * used by {@link Http} to create {@link Response Responses}.\n *\n * ### Example ([live demo](http://plnkr.co/edit/qv8DLT?p=preview))\n *\n * ```typescript\n * import {provide} from '@angular/core';\n * import {bootstrap} from '@angular/platform-browser/browser';\n * import {HTTP_PROVIDERS, Headers, Http, BaseResponseOptions, ResponseOptions} from\n * '@angular/http';\n * import {App} from './myapp';\n *\n * class MyOptions extends BaseResponseOptions {\n * headers:Headers = new Headers({network: 'github'});\n * }\n *\n * bootstrap(App, [HTTP_PROVIDERS, {provide: ResponseOptions, useClass: MyOptions}]);\n * ```\n *\n * The options could also be extended when manually creating a {@link Response}\n * object.\n *\n * ### Example ([live demo](http://plnkr.co/edit/VngosOWiaExEtbstDoix?p=preview))\n *\n * ```\n * import {BaseResponseOptions, Response} from '@angular/http';\n *\n * var options = new BaseResponseOptions();\n * var res = new Response(options.merge({\n * body: 'Angular',\n * headers: new Headers({framework: 'angular'})\n * }));\n * console.log('res.headers.get(\"framework\"):', res.headers.get('framework')); // angular\n * console.log('res.text():', res.text()); // Angular;\n * ```\n *\n * @experimental\n */\n var BaseResponseOptions = (function (_super) {\n __extends$1(BaseResponseOptions, _super);\n function BaseResponseOptions() {\n _super.call(this, { status: 200, statusText: 'Ok', type: exports.ResponseType.Default, headers: new Headers() });\n }\n BaseResponseOptions.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n BaseResponseOptions.ctorParameters = [];\n return BaseResponseOptions;\n }(ResponseOptions));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * Abstract class from which real backends are derived.\n *\n * The primary purpose of a `ConnectionBackend` is to create new connections to fulfill a given\n * {@link Request}.\n *\n * @experimental\n */\n var ConnectionBackend = (function () {\n function ConnectionBackend() {\n }\n return ConnectionBackend;\n }());\n /**\n * Abstract class from which real connections are derived.\n *\n * @experimental\n */\n var Connection = (function () {\n function Connection() {\n }\n return Connection;\n }());\n /**\n * An XSRFStrategy configures XSRF protection (e.g. via headers) on an HTTP request.\n *\n * @experimental\n */\n var XSRFStrategy = (function () {\n function XSRFStrategy() {\n }\n return XSRFStrategy;\n }());\n\n function normalizeMethodName(method) {\n if (typeof method !== 'string')\n return method;\n switch (method.toUpperCase()) {\n case 'GET':\n return exports.RequestMethod.Get;\n case 'POST':\n return exports.RequestMethod.Post;\n case 'PUT':\n return exports.RequestMethod.Put;\n case 'DELETE':\n return exports.RequestMethod.Delete;\n case 'OPTIONS':\n return exports.RequestMethod.Options;\n case 'HEAD':\n return exports.RequestMethod.Head;\n case 'PATCH':\n return exports.RequestMethod.Patch;\n }\n throw new Error(\"Invalid request method. The method \\\"\" + method + \"\\\" is not supported.\");\n }\n var isSuccess = function (status) { return (status >= 200 && status < 300); };\n function getResponseURL(xhr) {\n if ('responseURL' in xhr) {\n return xhr.responseURL;\n }\n if (/^X-Request-URL:/m.test(xhr.getAllResponseHeaders())) {\n return xhr.getResponseHeader('X-Request-URL');\n }\n return;\n }\n function stringToArrayBuffer(input) {\n var view = new Uint16Array(input.length);\n for (var i = 0, strLen = input.length; i < strLen; i++) {\n view[i] = input.charCodeAt(i);\n }\n return view.buffer;\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n function paramParser(rawParams) {\n if (rawParams === void 0) { rawParams = ''; }\n var map = new Map();\n if (rawParams.length > 0) {\n var params = rawParams.split('&');\n params.forEach(function (param) {\n var eqIdx = param.indexOf('=');\n var _a = eqIdx == -1 ? [param, ''] : [param.slice(0, eqIdx), param.slice(eqIdx + 1)], key = _a[0], val = _a[1];\n var list = map.get(key) || [];\n list.push(val);\n map.set(key, list);\n });\n }\n return map;\n }\n /**\n * @experimental\n **/\n var QueryEncoder = (function () {\n function QueryEncoder() {\n }\n QueryEncoder.prototype.encodeKey = function (k) { return standardEncoding(k); };\n QueryEncoder.prototype.encodeValue = function (v) { return standardEncoding(v); };\n return QueryEncoder;\n }());\n function standardEncoding(v) {\n return encodeURIComponent(v)\n .replace(/%40/gi, '@')\n .replace(/%3A/gi, ':')\n .replace(/%24/gi, '$')\n .replace(/%2C/gi, ',')\n .replace(/%3B/gi, ';')\n .replace(/%2B/gi, '+')\n .replace(/%3D/gi, '=')\n .replace(/%3F/gi, '?')\n .replace(/%2F/gi, '/');\n }\n /**\n * Map-like representation of url search parameters, based on\n * [URLSearchParams](https://url.spec.whatwg.org/#urlsearchparams) in the url living standard,\n * with several extensions for merging URLSearchParams objects:\n * - setAll()\n * - appendAll()\n * - replaceAll()\n *\n * This class accepts an optional second parameter of ${@link QueryEncoder},\n * which is used to serialize parameters before making a request. By default,\n * `QueryEncoder` encodes keys and values of parameters using `encodeURIComponent`,\n * and then un-encodes certain characters that are allowed to be part of the query\n * according to IETF RFC 3986: https://tools.ietf.org/html/rfc3986.\n *\n * These are the characters that are not encoded: `! $ \\' ( ) * + , ; A 9 - . _ ~ ? /`\n *\n * If the set of allowed query characters is not acceptable for a particular backend,\n * `QueryEncoder` can be subclassed and provided as the 2nd argument to URLSearchParams.\n *\n * ```\n * import {URLSearchParams, QueryEncoder} from '@angular/http';\n * class MyQueryEncoder extends QueryEncoder {\n * encodeKey(k: string): string {\n * return myEncodingFunction(k);\n * }\n *\n * encodeValue(v: string): string {\n * return myEncodingFunction(v);\n * }\n * }\n *\n * let params = new URLSearchParams('', new MyQueryEncoder());\n * ```\n * @experimental\n */\n var URLSearchParams = (function () {\n function URLSearchParams(rawParams, queryEncoder) {\n if (rawParams === void 0) { rawParams = ''; }\n if (queryEncoder === void 0) { queryEncoder = new QueryEncoder(); }\n this.rawParams = rawParams;\n this.queryEncoder = queryEncoder;\n this.paramsMap = paramParser(rawParams);\n }\n URLSearchParams.prototype.clone = function () {\n var clone = new URLSearchParams('', this.queryEncoder);\n clone.appendAll(this);\n return clone;\n };\n URLSearchParams.prototype.has = function (param) { return this.paramsMap.has(param); };\n URLSearchParams.prototype.get = function (param) {\n var storedParam = this.paramsMap.get(param);\n return Array.isArray(storedParam) ? storedParam[0] : null;\n };\n URLSearchParams.prototype.getAll = function (param) { return this.paramsMap.get(param) || []; };\n URLSearchParams.prototype.set = function (param, val) {\n if (val === void 0 || val === null) {\n this.delete(param);\n return;\n }\n var list = this.paramsMap.get(param) || [];\n list.length = 0;\n list.push(val);\n this.paramsMap.set(param, list);\n };\n // A merge operation\n // For each name-values pair in `searchParams`, perform `set(name, values[0])`\n //\n // E.g: \"a=[1,2,3], c=[8]\" + \"a=[4,5,6], b=[7]\" = \"a=[4], c=[8], b=[7]\"\n //\n // TODO(@caitp): document this better\n URLSearchParams.prototype.setAll = function (searchParams) {\n var _this = this;\n searchParams.paramsMap.forEach(function (value, param) {\n var list = _this.paramsMap.get(param) || [];\n list.length = 0;\n list.push(value[0]);\n _this.paramsMap.set(param, list);\n });\n };\n URLSearchParams.prototype.append = function (param, val) {\n if (val === void 0 || val === null)\n return;\n var list = this.paramsMap.get(param) || [];\n list.push(val);\n this.paramsMap.set(param, list);\n };\n // A merge operation\n // For each name-values pair in `searchParams`, perform `append(name, value)`\n // for each value in `values`.\n //\n // E.g: \"a=[1,2], c=[8]\" + \"a=[3,4], b=[7]\" = \"a=[1,2,3,4], c=[8], b=[7]\"\n //\n // TODO(@caitp): document this better\n URLSearchParams.prototype.appendAll = function (searchParams) {\n var _this = this;\n searchParams.paramsMap.forEach(function (value, param) {\n var list = _this.paramsMap.get(param) || [];\n for (var i = 0; i < value.length; ++i) {\n list.push(value[i]);\n }\n _this.paramsMap.set(param, list);\n });\n };\n // A merge operation\n // For each name-values pair in `searchParams`, perform `delete(name)`,\n // followed by `set(name, values)`\n //\n // E.g: \"a=[1,2,3], c=[8]\" + \"a=[4,5,6], b=[7]\" = \"a=[4,5,6], c=[8], b=[7]\"\n //\n // TODO(@caitp): document this better\n URLSearchParams.prototype.replaceAll = function (searchParams) {\n var _this = this;\n searchParams.paramsMap.forEach(function (value, param) {\n var list = _this.paramsMap.get(param) || [];\n list.length = 0;\n for (var i = 0; i < value.length; ++i) {\n list.push(value[i]);\n }\n _this.paramsMap.set(param, list);\n });\n };\n URLSearchParams.prototype.toString = function () {\n var _this = this;\n var paramsList = [];\n this.paramsMap.forEach(function (values, k) {\n values.forEach(function (v) { return paramsList.push(_this.queryEncoder.encodeKey(k) + '=' + _this.queryEncoder.encodeValue(v)); });\n });\n return paramsList.join('&');\n };\n URLSearchParams.prototype.delete = function (param) { this.paramsMap.delete(param); };\n return URLSearchParams;\n }());\n\n /**\n * HTTP request body used by both {@link Request} and {@link Response}\n * https://fetch.spec.whatwg.org/#body\n */\n var Body = (function () {\n function Body() {\n }\n /**\n * Attempts to return body as parsed `JSON` object, or raises an exception.\n */\n Body.prototype.json = function () {\n if (typeof this._body === 'string') {\n return JSON.parse(this._body);\n }\n if (this._body instanceof ArrayBuffer) {\n return JSON.parse(this.text());\n }\n return this._body;\n };\n /**\n * Returns the body as a string, presuming `toString()` can be called on the response body.\n */\n Body.prototype.text = function () {\n if (this._body instanceof URLSearchParams) {\n return this._body.toString();\n }\n if (this._body instanceof ArrayBuffer) {\n return String.fromCharCode.apply(null, new Uint16Array(this._body));\n }\n if (this._body === null) {\n return '';\n }\n if (typeof this._body === 'object') {\n return JSON.stringify(this._body, null, 2);\n }\n return this._body.toString();\n };\n /**\n * Return the body as an ArrayBuffer\n */\n Body.prototype.arrayBuffer = function () {\n if (this._body instanceof ArrayBuffer) {\n return this._body;\n }\n return stringToArrayBuffer(this.text());\n };\n /**\n * Returns the request's body as a Blob, assuming that body exists.\n */\n Body.prototype.blob = function () {\n if (this._body instanceof Blob) {\n return this._body;\n }\n if (this._body instanceof ArrayBuffer) {\n return new Blob([this._body]);\n }\n throw new Error('The request body isn\\'t either a blob or an array buffer');\n };\n return Body;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$2 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Creates `Response` instances from provided values.\n *\n * Though this object isn't\n * usually instantiated by end-users, it is the primary object interacted with when it comes time to\n * add data to a view.\n *\n * ### Example\n *\n * ```\n * http.request('my-friends.txt').subscribe(response => this.friends = response.text());\n * ```\n *\n * The Response's interface is inspired by the Response constructor defined in the [Fetch\n * Spec](https://fetch.spec.whatwg.org/#response-class), but is considered a static value whose body\n * can be accessed many times. There are other differences in the implementation, but this is the\n * most significant.\n *\n * @experimental\n */\n var Response = (function (_super) {\n __extends$2(Response, _super);\n function Response(responseOptions) {\n _super.call(this);\n this._body = responseOptions.body;\n this.status = responseOptions.status;\n this.ok = (this.status >= 200 && this.status <= 299);\n this.statusText = responseOptions.statusText;\n this.headers = responseOptions.headers;\n this.type = responseOptions.type;\n this.url = responseOptions.url;\n }\n Response.prototype.toString = function () {\n return \"Response with status: \" + this.status + \" \" + this.statusText + \" for URL: \" + this.url;\n };\n return Response;\n }(Body));\n\n var _nextRequestId = 0;\n var JSONP_HOME = '__ng_jsonp__';\n var _jsonpConnections = null;\n function _getJsonpConnections() {\n var w = typeof window == 'object' ? window : {};\n if (_jsonpConnections === null) {\n _jsonpConnections = w[JSONP_HOME] = {};\n }\n return _jsonpConnections;\n }\n // Make sure not to evaluate this in a non-browser environment!\n var BrowserJsonp = (function () {\n function BrowserJsonp() {\n }\n // Construct a <script> element with the specified URL\n BrowserJsonp.prototype.build = function (url) {\n var node = document.createElement('script');\n node.src = url;\n return node;\n };\n BrowserJsonp.prototype.nextRequestID = function () { return \"__req\" + _nextRequestId++; };\n BrowserJsonp.prototype.requestCallback = function (id) { return JSONP_HOME + \".\" + id + \".finished\"; };\n BrowserJsonp.prototype.exposeConnection = function (id, connection) {\n var connections = _getJsonpConnections();\n connections[id] = connection;\n };\n BrowserJsonp.prototype.removeConnection = function (id) {\n var connections = _getJsonpConnections();\n connections[id] = null;\n };\n // Attach the <script> element to the DOM\n BrowserJsonp.prototype.send = function (node) { document.body.appendChild((node)); };\n // Remove <script> element from the DOM\n BrowserJsonp.prototype.cleanup = function (node) {\n if (node.parentNode) {\n node.parentNode.removeChild((node));\n }\n };\n BrowserJsonp.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n BrowserJsonp.ctorParameters = [];\n return BrowserJsonp;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n var JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';\n var JSONP_ERR_WRONG_METHOD = 'JSONP requests must use GET request method.';\n /**\n * Abstract base class for an in-flight JSONP request.\n *\n * @experimental\n */\n var JSONPConnection = (function () {\n function JSONPConnection() {\n }\n return JSONPConnection;\n }());\n var JSONPConnection_ = (function (_super) {\n __extends(JSONPConnection_, _super);\n function JSONPConnection_(req, _dom, baseResponseOptions) {\n var _this = this;\n _super.call(this);\n this._dom = _dom;\n this.baseResponseOptions = baseResponseOptions;\n this._finished = false;\n if (req.method !== exports.RequestMethod.Get) {\n throw new TypeError(JSONP_ERR_WRONG_METHOD);\n }\n this.request = req;\n this.response = new rxjs_Observable.Observable(function (responseObserver) {\n _this.readyState = exports.ReadyState.Loading;\n var id = _this._id = _dom.nextRequestID();\n _dom.exposeConnection(id, _this);\n // Workaround Dart\n // url = url.replace(/=JSONP_CALLBACK(&|$)/, `generated method`);\n var callback = _dom.requestCallback(_this._id);\n var url = req.url;\n if (url.indexOf('=JSONP_CALLBACK&') > -1) {\n url = url.replace('=JSONP_CALLBACK&', \"=\" + callback + \"&\");\n }\n else if (url.lastIndexOf('=JSONP_CALLBACK') === url.length - '=JSONP_CALLBACK'.length) {\n url = url.substring(0, url.length - '=JSONP_CALLBACK'.length) + (\"=\" + callback);\n }\n var script = _this._script = _dom.build(url);\n var onLoad = function (event) {\n if (_this.readyState === exports.ReadyState.Cancelled)\n return;\n _this.readyState = exports.ReadyState.Done;\n _dom.cleanup(script);\n if (!_this._finished) {\n var responseOptions_1 = new ResponseOptions({ body: JSONP_ERR_NO_CALLBACK, type: exports.ResponseType.Error, url: url });\n if (baseResponseOptions) {\n responseOptions_1 = baseResponseOptions.merge(responseOptions_1);\n }\n responseObserver.error(new Response(responseOptions_1));\n return;\n }\n var responseOptions = new ResponseOptions({ body: _this._responseData, url: url });\n if (_this.baseResponseOptions) {\n responseOptions = _this.baseResponseOptions.merge(responseOptions);\n }\n responseObserver.next(new Response(responseOptions));\n responseObserver.complete();\n };\n var onError = function (error) {\n if (_this.readyState === exports.ReadyState.Cancelled)\n return;\n _this.readyState = exports.ReadyState.Done;\n _dom.cleanup(script);\n var responseOptions = new ResponseOptions({ body: error.message, type: exports.ResponseType.Error });\n if (baseResponseOptions) {\n responseOptions = baseResponseOptions.merge(responseOptions);\n }\n responseObserver.error(new Response(responseOptions));\n };\n script.addEventListener('load', onLoad);\n script.addEventListener('error', onError);\n _dom.send(script);\n return function () {\n _this.readyState = exports.ReadyState.Cancelled;\n script.removeEventListener('load', onLoad);\n script.removeEventListener('error', onError);\n _this._dom.cleanup(script);\n };\n });\n }\n JSONPConnection_.prototype.finished = function (data) {\n // Don't leak connections\n this._finished = true;\n this._dom.removeConnection(this._id);\n if (this.readyState === exports.ReadyState.Cancelled)\n return;\n this._responseData = data;\n };\n return JSONPConnection_;\n }(JSONPConnection));\n /**\n * A {@link ConnectionBackend} that uses the JSONP strategy of making requests.\n *\n * @experimental\n */\n var JSONPBackend = (function (_super) {\n __extends(JSONPBackend, _super);\n function JSONPBackend() {\n _super.apply(this, arguments);\n }\n return JSONPBackend;\n }(ConnectionBackend));\n var JSONPBackend_ = (function (_super) {\n __extends(JSONPBackend_, _super);\n function JSONPBackend_(_browserJSONP, _baseResponseOptions) {\n _super.call(this);\n this._browserJSONP = _browserJSONP;\n this._baseResponseOptions = _baseResponseOptions;\n }\n JSONPBackend_.prototype.createConnection = function (request) {\n return new JSONPConnection_(request, this._browserJSONP, this._baseResponseOptions);\n };\n JSONPBackend_.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n JSONPBackend_.ctorParameters = [\n { type: BrowserJsonp, },\n { type: ResponseOptions, },\n ];\n return JSONPBackend_;\n }(JSONPBackend));\n\n var XSSI_PREFIX = /^\\)\\]\\}',?\\n/;\n /**\n * Creates connections using `XMLHttpRequest`. Given a fully-qualified\n * request, an `XHRConnection` will immediately create an `XMLHttpRequest` object and send the\n * request.\n *\n * This class would typically not be created or interacted with directly inside applications, though\n * the {@link MockConnection} may be interacted with in tests.\n *\n * @experimental\n */\n var XHRConnection = (function () {\n function XHRConnection(req, browserXHR, baseResponseOptions) {\n var _this = this;\n this.request = req;\n this.response = new rxjs_Observable.Observable(function (responseObserver) {\n var _xhr = browserXHR.build();\n _xhr.open(exports.RequestMethod[req.method].toUpperCase(), req.url);\n if (req.withCredentials != null) {\n _xhr.withCredentials = req.withCredentials;\n }\n // load event handler\n var onLoad = function () {\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = _xhr.status === 1223 ? 204 : _xhr.status;\n var body = null;\n // HTTP 204 means no content\n if (status !== 204) {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec\n // (supported by IE10)\n body = _xhr.response == null ? _xhr.responseText : _xhr.response;\n // Implicitly strip a potential XSSI prefix.\n if (typeof body === 'string') {\n body = body.replace(XSSI_PREFIX, '');\n }\n }\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = body ? 200 : 0;\n }\n var headers = Headers.fromResponseHeaderString(_xhr.getAllResponseHeaders());\n // IE 9 does not provide the way to get URL of response\n var url = getResponseURL(_xhr) || req.url;\n var statusText = _xhr.statusText || 'OK';\n var responseOptions = new ResponseOptions({ body: body, status: status, headers: headers, statusText: statusText, url: url });\n if (baseResponseOptions != null) {\n responseOptions = baseResponseOptions.merge(responseOptions);\n }\n var response = new Response(responseOptions);\n response.ok = isSuccess(status);\n if (response.ok) {\n responseObserver.next(response);\n // TODO(gdi2290): defer complete if array buffer until done\n responseObserver.complete();\n return;\n }\n responseObserver.error(response);\n };\n // error event handler\n var onError = function (err) {\n var responseOptions = new ResponseOptions({\n body: err,\n type: exports.ResponseType.Error,\n status: _xhr.status,\n statusText: _xhr.statusText,\n });\n if (baseResponseOptions != null) {\n responseOptions = baseResponseOptions.merge(responseOptions);\n }\n responseObserver.error(new Response(responseOptions));\n };\n _this.setDetectedContentType(req, _xhr);\n if (req.headers != null) {\n req.headers.forEach(function (values, name) { return _xhr.setRequestHeader(name, values.join(',')); });\n }\n // Select the correct buffer type to store the response\n if (req.responseType != null && _xhr.responseType != null) {\n switch (req.responseType) {\n case exports.ResponseContentType.ArrayBuffer:\n _xhr.responseType = 'arraybuffer';\n break;\n case exports.ResponseContentType.Json:\n _xhr.responseType = 'json';\n break;\n case exports.ResponseContentType.Text:\n _xhr.responseType = 'text';\n break;\n case exports.ResponseContentType.Blob:\n _xhr.responseType = 'blob';\n break;\n default:\n throw new Error('The selected responseType is not supported');\n }\n }\n _xhr.addEventListener('load', onLoad);\n _xhr.addEventListener('error', onError);\n _xhr.send(_this.request.getBody());\n return function () {\n _xhr.removeEventListener('load', onLoad);\n _xhr.removeEventListener('error', onError);\n _xhr.abort();\n };\n });\n }\n XHRConnection.prototype.setDetectedContentType = function (req /** TODO Request */, _xhr /** XMLHttpRequest */) {\n // Skip if a custom Content-Type header is provided\n if (req.headers != null && req.headers.get('Content-Type') != null) {\n return;\n }\n // Set the detected content type\n switch (req.contentType) {\n case ContentType.NONE:\n break;\n case ContentType.JSON:\n _xhr.setRequestHeader('content-type', 'application/json');\n break;\n case ContentType.FORM:\n _xhr.setRequestHeader('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n break;\n case ContentType.TEXT:\n _xhr.setRequestHeader('content-type', 'text/plain');\n break;\n case ContentType.BLOB:\n var blob = req.blob();\n if (blob.type) {\n _xhr.setRequestHeader('content-type', blob.type);\n }\n break;\n }\n };\n return XHRConnection;\n }());\n /**\n * `XSRFConfiguration` sets up Cross Site Request Forgery (XSRF) protection for the application\n * using a cookie. See {@link https://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)}\n * for more information on XSRF.\n *\n * Applications can configure custom cookie and header names by binding an instance of this class\n * with different `cookieName` and `headerName` values. See the main HTTP documentation for more\n * details.\n *\n * @experimental\n */\n var CookieXSRFStrategy = (function () {\n function CookieXSRFStrategy(_cookieName, _headerName) {\n if (_cookieName === void 0) { _cookieName = 'XSRF-TOKEN'; }\n if (_headerName === void 0) { _headerName = 'X-XSRF-TOKEN'; }\n this._cookieName = _cookieName;\n this._headerName = _headerName;\n }\n CookieXSRFStrategy.prototype.configureRequest = function (req) {\n var xsrfToken = _angular_platformBrowser.__platform_browser_private__.getDOM().getCookie(this._cookieName);\n if (xsrfToken) {\n req.headers.set(this._headerName, xsrfToken);\n }\n };\n return CookieXSRFStrategy;\n }());\n /**\n * Creates {@link XHRConnection} instances.\n *\n * This class would typically not be used by end users, but could be\n * overridden if a different backend implementation should be used,\n * such as in a node backend.\n *\n * ### Example\n *\n * ```\n * import {Http, MyNodeBackend, HTTP_PROVIDERS, BaseRequestOptions} from '@angular/http';\n * @Component({\n * viewProviders: [\n * HTTP_PROVIDERS,\n * {provide: Http, useFactory: (backend, options) => {\n * return new Http(backend, options);\n * }, deps: [MyNodeBackend, BaseRequestOptions]}]\n * })\n * class MyComponent {\n * constructor(http:Http) {\n * http.request('people.json').subscribe(res => this.people = res.json());\n * }\n * }\n * ```\n * @experimental\n */\n var XHRBackend = (function () {\n function XHRBackend(_browserXHR, _baseResponseOptions, _xsrfStrategy) {\n this._browserXHR = _browserXHR;\n this._baseResponseOptions = _baseResponseOptions;\n this._xsrfStrategy = _xsrfStrategy;\n }\n XHRBackend.prototype.createConnection = function (request) {\n this._xsrfStrategy.configureRequest(request);\n return new XHRConnection(request, this._browserXHR, this._baseResponseOptions);\n };\n XHRBackend.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n XHRBackend.ctorParameters = [\n { type: BrowserXhr, },\n { type: ResponseOptions, },\n { type: XSRFStrategy, },\n ];\n return XHRBackend;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$3 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * Creates a request options object to be optionally provided when instantiating a\n * {@link Request}.\n *\n * This class is based on the `RequestInit` description in the [Fetch\n * Spec](https://fetch.spec.whatwg.org/#requestinit).\n *\n * All values are null by default. Typical defaults can be found in the {@link BaseRequestOptions}\n * class, which sub-classes `RequestOptions`.\n *\n * ### Example ([live demo](http://plnkr.co/edit/7Wvi3lfLq41aQPKlxB4O?p=preview))\n *\n * ```typescript\n * import {RequestOptions, Request, RequestMethod} from '@angular/http';\n *\n * var options = new RequestOptions({\n * method: RequestMethod.Post,\n * url: 'https://google.com'\n * });\n * var req = new Request(options);\n * console.log('req.method:', RequestMethod[req.method]); // Post\n * console.log('options.url:', options.url); // https://google.com\n * ```\n *\n * @experimental\n */\n var RequestOptions = (function () {\n function RequestOptions(_a) {\n var _b = _a === void 0 ? {} : _a, method = _b.method, headers = _b.headers, body = _b.body, url = _b.url, search = _b.search, withCredentials = _b.withCredentials, responseType = _b.responseType;\n this.method = method != null ? normalizeMethodName(method) : null;\n this.headers = headers != null ? headers : null;\n this.body = body != null ? body : null;\n this.url = url != null ? url : null;\n this.search =\n search != null ? (typeof search === 'string' ? new URLSearchParams(search) : search) : null;\n this.withCredentials = withCredentials != null ? withCredentials : null;\n this.responseType = responseType != null ? responseType : null;\n }\n /**\n * Creates a copy of the `RequestOptions` instance, using the optional input as values to override\n * existing values. This method will not change the values of the instance on which it is being\n * called.\n *\n * Note that `headers` and `search` will override existing values completely if present in\n * the `options` object. If these values should be merged, it should be done prior to calling\n * `merge` on the `RequestOptions` instance.\n *\n * ### Example ([live demo](http://plnkr.co/edit/6w8XA8YTkDRcPYpdB9dk?p=preview))\n *\n * ```typescript\n * import {RequestOptions, Request, RequestMethod} from '@angular/http';\n *\n * var options = new RequestOptions({\n * method: RequestMethod.Post\n * });\n * var req = new Request(options.merge({\n * url: 'https://google.com'\n * }));\n * console.log('req.method:', RequestMethod[req.method]); // Post\n * console.log('options.url:', options.url); // null\n * console.log('req.url:', req.url); // https://google.com\n * ```\n */\n RequestOptions.prototype.merge = function (options) {\n return new RequestOptions({\n method: options && options.method != null ? options.method : this.method,\n headers: options && options.headers != null ? options.headers : this.headers,\n body: options && options.body != null ? options.body : this.body,\n url: options && options.url != null ? options.url : this.url,\n search: options && options.search != null ?\n (typeof options.search === 'string' ? new URLSearchParams(options.search) :\n options.search.clone()) :\n this.search,\n withCredentials: options && options.withCredentials != null ? options.withCredentials :\n this.withCredentials,\n responseType: options && options.responseType != null ? options.responseType :\n this.responseType\n });\n };\n return RequestOptions;\n }());\n /**\n * Subclass of {@link RequestOptions}, with default values.\n *\n * Default values:\n * * method: {@link RequestMethod RequestMethod.Get}\n * * headers: empty {@link Headers} object\n *\n * This class could be extended and bound to the {@link RequestOptions} class\n * when configuring an {@link Injector}, in order to override the default options\n * used by {@link Http} to create and send {@link Request Requests}.\n *\n * ### Example ([live demo](http://plnkr.co/edit/LEKVSx?p=preview))\n *\n * ```typescript\n * import {provide} from '@angular/core';\n * import {bootstrap} from '@angular/platform-browser/browser';\n * import {HTTP_PROVIDERS, Http, BaseRequestOptions, RequestOptions} from '@angular/http';\n * import {App} from './myapp';\n *\n * class MyOptions extends BaseRequestOptions {\n * search: string = 'coreTeam=true';\n * }\n *\n * bootstrap(App, [HTTP_PROVIDERS, {provide: RequestOptions, useClass: MyOptions}]);\n * ```\n *\n * The options could also be extended when manually creating a {@link Request}\n * object.\n *\n * ### Example ([live demo](http://plnkr.co/edit/oyBoEvNtDhOSfi9YxaVb?p=preview))\n *\n * ```\n * import {BaseRequestOptions, Request, RequestMethod} from '@angular/http';\n *\n * var options = new BaseRequestOptions();\n * var req = new Request(options.merge({\n * method: RequestMethod.Post,\n * url: 'https://google.com'\n * }));\n * console.log('req.method:', RequestMethod[req.method]); // Post\n * console.log('options.url:', options.url); // null\n * console.log('req.url:', req.url); // https://google.com\n * ```\n *\n * @experimental\n */\n var BaseRequestOptions = (function (_super) {\n __extends$3(BaseRequestOptions, _super);\n function BaseRequestOptions() {\n _super.call(this, { method: exports.RequestMethod.Get, headers: new Headers() });\n }\n BaseRequestOptions.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n BaseRequestOptions.ctorParameters = [];\n return BaseRequestOptions;\n }(RequestOptions));\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$5 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n // TODO(jeffbcross): properly implement body accessors\n /**\n * Creates `Request` instances from provided values.\n *\n * The Request's interface is inspired by the Request constructor defined in the [Fetch\n * Spec](https://fetch.spec.whatwg.org/#request-class),\n * but is considered a static value whose body can be accessed many times. There are other\n * differences in the implementation, but this is the most significant.\n *\n * `Request` instances are typically created by higher-level classes, like {@link Http} and\n * {@link Jsonp}, but it may occasionally be useful to explicitly create `Request` instances.\n * One such example is when creating services that wrap higher-level services, like {@link Http},\n * where it may be useful to generate a `Request` with arbitrary headers and search params.\n *\n * ```typescript\n * import {Injectable, Injector} from '@angular/core';\n * import {HTTP_PROVIDERS, Http, Request, RequestMethod} from '@angular/http';\n *\n * @Injectable()\n * class AutoAuthenticator {\n * constructor(public http:Http) {}\n * request(url:string) {\n * return this.http.request(new Request({\n * method: RequestMethod.Get,\n * url: url,\n * search: 'password=123'\n * }));\n * }\n * }\n *\n * var injector = Injector.resolveAndCreate([HTTP_PROVIDERS, AutoAuthenticator]);\n * var authenticator = injector.get(AutoAuthenticator);\n * authenticator.request('people.json').subscribe(res => {\n * //URL should have included '?password=123'\n * console.log('people', res.json());\n * });\n * ```\n *\n * @experimental\n */\n var Request = (function (_super) {\n __extends$5(Request, _super);\n function Request(requestOptions) {\n _super.call(this);\n // TODO: assert that url is present\n var url = requestOptions.url;\n this.url = requestOptions.url;\n if (requestOptions.search) {\n var search = requestOptions.search.toString();\n if (search.length > 0) {\n var prefix = '?';\n if (this.url.indexOf('?') != -1) {\n prefix = (this.url[this.url.length - 1] == '&') ? '' : '&';\n }\n // TODO: just delete search-query-looking string in url?\n this.url = url + prefix + search;\n }\n }\n this._body = requestOptions.body;\n this.method = normalizeMethodName(requestOptions.method);\n // TODO(jeffbcross): implement behavior\n // Defaults to 'omit', consistent with browser\n this.headers = new Headers(requestOptions.headers);\n this.contentType = this.detectContentType();\n this.withCredentials = requestOptions.withCredentials;\n this.responseType = requestOptions.responseType;\n }\n /**\n * Returns the content type enum based on header options.\n */\n Request.prototype.detectContentType = function () {\n switch (this.headers.get('content-type')) {\n case 'application/json':\n return ContentType.JSON;\n case 'application/x-www-form-urlencoded':\n return ContentType.FORM;\n case 'multipart/form-data':\n return ContentType.FORM_DATA;\n case 'text/plain':\n case 'text/html':\n return ContentType.TEXT;\n case 'application/octet-stream':\n return ContentType.BLOB;\n default:\n return this.detectContentTypeFromBody();\n }\n };\n /**\n * Returns the content type of request's body based on its type.\n */\n Request.prototype.detectContentTypeFromBody = function () {\n if (this._body == null) {\n return ContentType.NONE;\n }\n else if (this._body instanceof URLSearchParams) {\n return ContentType.FORM;\n }\n else if (this._body instanceof FormData) {\n return ContentType.FORM_DATA;\n }\n else if (this._body instanceof Blob$1) {\n return ContentType.BLOB;\n }\n else if (this._body instanceof ArrayBuffer$1) {\n return ContentType.ARRAY_BUFFER;\n }\n else if (this._body && typeof this._body == 'object') {\n return ContentType.JSON;\n }\n else {\n return ContentType.TEXT;\n }\n };\n /**\n * Returns the request's body according to its type. If body is undefined, return\n * null.\n */\n Request.prototype.getBody = function () {\n switch (this.contentType) {\n case ContentType.JSON:\n return this.text();\n case ContentType.FORM:\n return this.text();\n case ContentType.FORM_DATA:\n return this._body;\n case ContentType.TEXT:\n return this.text();\n case ContentType.BLOB:\n return this.blob();\n case ContentType.ARRAY_BUFFER:\n return this.arrayBuffer();\n default:\n return null;\n }\n };\n return Request;\n }(Body));\n var noop = function () { };\n var w = typeof window == 'object' ? window : noop;\n var FormData = w['FormData'] || noop;\n var Blob$1 = w['Blob'] || noop;\n var ArrayBuffer$1 = w['ArrayBuffer'] || noop;\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$4 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n function httpRequest(backend, request) {\n return backend.createConnection(request).response;\n }\n function mergeOptions(defaultOpts, providedOpts, method, url) {\n var newOptions = defaultOpts;\n if (providedOpts) {\n // Hack so Dart can used named parameters\n return newOptions.merge(new RequestOptions({\n method: providedOpts.method || method,\n url: providedOpts.url || url,\n search: providedOpts.search,\n headers: providedOpts.headers,\n body: providedOpts.body,\n withCredentials: providedOpts.withCredentials,\n responseType: providedOpts.responseType\n }));\n }\n return newOptions.merge(new RequestOptions({ method: method, url: url }));\n }\n /**\n * Performs http requests using `XMLHttpRequest` as the default backend.\n *\n * `Http` is available as an injectable class, with methods to perform http requests. Calling\n * `request` returns an `Observable` which will emit a single {@link Response} when a\n * response is received.\n *\n * ### Example\n *\n * ```typescript\n * import {Http, HTTP_PROVIDERS} from '@angular/http';\n * import 'rxjs/add/operator/map'\n * @Component({\n * selector: 'http-app',\n * viewProviders: [HTTP_PROVIDERS],\n * templateUrl: 'people.html'\n * })\n * class PeopleComponent {\n * constructor(http: Http) {\n * http.get('people.json')\n * // Call map on the response observable to get the parsed people object\n * .map(res => res.json())\n * // Subscribe to the observable to get the parsed people object and attach it to the\n * // component\n * .subscribe(people => this.people = people);\n * }\n * }\n * ```\n *\n *\n * ### Example\n *\n * ```\n * http.get('people.json').subscribe((res:Response) => this.people = res.json());\n * ```\n *\n * The default construct used to perform requests, `XMLHttpRequest`, is abstracted as a \"Backend\" (\n * {@link XHRBackend} in this case), which could be mocked with dependency injection by replacing\n * the {@link XHRBackend} provider, as in the following example:\n *\n * ### Example\n *\n * ```typescript\n * import {BaseRequestOptions, Http} from '@angular/http';\n * import {MockBackend} from '@angular/http/testing';\n * var injector = Injector.resolveAndCreate([\n * BaseRequestOptions,\n * MockBackend,\n * {provide: Http, useFactory:\n * function(backend, defaultOptions) {\n * return new Http(backend, defaultOptions);\n * },\n * deps: [MockBackend, BaseRequestOptions]}\n * ]);\n * var http = injector.get(Http);\n * http.get('request-from-mock-backend.json').subscribe((res:Response) => doSomething(res));\n * ```\n *\n * @experimental\n */\n var Http = (function () {\n function Http(_backend, _defaultOptions) {\n this._backend = _backend;\n this._defaultOptions = _defaultOptions;\n }\n /**\n * Performs any type of http request. First argument is required, and can either be a url or\n * a {@link Request} instance. If the first argument is a url, an optional {@link RequestOptions}\n * object can be provided as the 2nd argument. The options object will be merged with the values\n * of {@link BaseRequestOptions} before performing the request.\n */\n Http.prototype.request = function (url, options) {\n var responseObservable;\n if (typeof url === 'string') {\n responseObservable = httpRequest(this._backend, new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url)));\n }\n else if (url instanceof Request) {\n responseObservable = httpRequest(this._backend, url);\n }\n else {\n throw new Error('First argument must be a url string or Request instance.');\n }\n return responseObservable;\n };\n /**\n * Performs a request with `get` http method.\n */\n Http.prototype.get = function (url, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url)));\n };\n /**\n * Performs a request with `post` http method.\n */\n Http.prototype.post = function (url, body, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Post, url)));\n };\n /**\n * Performs a request with `put` http method.\n */\n Http.prototype.put = function (url, body, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Put, url)));\n };\n /**\n * Performs a request with `delete` http method.\n */\n Http.prototype.delete = function (url, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Delete, url)));\n };\n /**\n * Performs a request with `patch` http method.\n */\n Http.prototype.patch = function (url, body, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions.merge(new RequestOptions({ body: body })), options, exports.RequestMethod.Patch, url)));\n };\n /**\n * Performs a request with `head` http method.\n */\n Http.prototype.head = function (url, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Head, url)));\n };\n /**\n * Performs a request with `options` http method.\n */\n Http.prototype.options = function (url, options) {\n return this.request(new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Options, url)));\n };\n Http.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n Http.ctorParameters = [\n { type: ConnectionBackend, },\n { type: RequestOptions, },\n ];\n return Http;\n }());\n /**\n * @experimental\n */\n var Jsonp = (function (_super) {\n __extends$4(Jsonp, _super);\n function Jsonp(backend, defaultOptions) {\n _super.call(this, backend, defaultOptions);\n }\n /**\n * Performs any type of http request. First argument is required, and can either be a url or\n * a {@link Request} instance. If the first argument is a url, an optional {@link RequestOptions}\n * object can be provided as the 2nd argument. The options object will be merged with the values\n * of {@link BaseRequestOptions} before performing the request.\n *\n * @security Regular XHR is the safest alternative to JSONP for most applications, and is\n * supported by all current browsers. Because JSONP creates a `<script>` element with\n * contents retrieved from a remote source, attacker-controlled data introduced by an untrusted\n * source could expose your application to XSS risks. Data exposed by JSONP may also be\n * readable by malicious third-party websites. In addition, JSONP introduces potential risk for\n * future security issues (e.g. content sniffing). For more detail, see the\n * [Security Guide](http://g.co/ng/security).\n */\n Jsonp.prototype.request = function (url, options) {\n var responseObservable;\n if (typeof url === 'string') {\n url =\n new Request(mergeOptions(this._defaultOptions, options, exports.RequestMethod.Get, url));\n }\n if (url instanceof Request) {\n if (url.method !== exports.RequestMethod.Get) {\n throw new Error('JSONP requests must use GET request method.');\n }\n responseObservable = httpRequest(this._backend, url);\n }\n else {\n throw new Error('First argument must be a url string or Request instance.');\n }\n return responseObservable;\n };\n Jsonp.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n Jsonp.ctorParameters = [\n { type: ConnectionBackend, },\n { type: RequestOptions, },\n ];\n return Jsonp;\n }(Http));\n\n function _createDefaultCookieXSRFStrategy() {\n return new CookieXSRFStrategy();\n }\n function httpFactory(xhrBackend, requestOptions) {\n return new Http(xhrBackend, requestOptions);\n }\n function jsonpFactory(jsonpBackend, requestOptions) {\n return new Jsonp(jsonpBackend, requestOptions);\n }\n /**\n * The module that includes http's providers\n *\n * @experimental\n */\n var HttpModule = (function () {\n function HttpModule() {\n }\n HttpModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n providers: [\n // TODO(pascal): use factory type annotations once supported in DI\n // issue: https://github.com/angular/angular/issues/3183\n { provide: Http, useFactory: httpFactory, deps: [XHRBackend, RequestOptions] },\n BrowserXhr,\n { provide: RequestOptions, useClass: BaseRequestOptions },\n { provide: ResponseOptions, useClass: BaseResponseOptions },\n XHRBackend,\n { provide: XSRFStrategy, useFactory: _createDefaultCookieXSRFStrategy },\n ],\n },] },\n ];\n /** @nocollapse */\n HttpModule.ctorParameters = [];\n return HttpModule;\n }());\n /**\n * The module that includes jsonp's providers\n *\n * @experimental\n */\n var JsonpModule = (function () {\n function JsonpModule() {\n }\n JsonpModule.decorators = [\n { type: _angular_core.NgModule, args: [{\n providers: [\n // TODO(pascal): use factory type annotations once supported in DI\n // issue: https://github.com/angular/angular/issues/3183\n { provide: Jsonp, useFactory: jsonpFactory, deps: [JSONPBackend, RequestOptions] },\n BrowserJsonp,\n { provide: RequestOptions, useClass: BaseRequestOptions },\n { provide: ResponseOptions, useClass: BaseResponseOptions },\n { provide: JSONPBackend, useClass: JSONPBackend_ },\n ],\n },] },\n ];\n /** @nocollapse */\n JsonpModule.ctorParameters = [];\n return JsonpModule;\n }());\n\n exports.BrowserXhr = BrowserXhr;\n exports.JSONPBackend = JSONPBackend;\n exports.JSONPConnection = JSONPConnection;\n exports.CookieXSRFStrategy = CookieXSRFStrategy;\n exports.XHRBackend = XHRBackend;\n exports.XHRConnection = XHRConnection;\n exports.BaseRequestOptions = BaseRequestOptions;\n exports.RequestOptions = RequestOptions;\n exports.BaseResponseOptions = BaseResponseOptions;\n exports.ResponseOptions = ResponseOptions;\n exports.Headers = Headers;\n exports.Http = Http;\n exports.Jsonp = Jsonp;\n exports.HttpModule = HttpModule;\n exports.JsonpModule = JsonpModule;\n exports.Connection = Connection;\n exports.ConnectionBackend = ConnectionBackend;\n exports.XSRFStrategy = XSRFStrategy;\n exports.Request = Request;\n exports.Response = Response;\n exports.QueryEncoder = QueryEncoder;\n exports.URLSearchParams = URLSearchParams;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/http/bundles/http.umd.js\n// module id = 314\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar forkJoin_1 = require('../../observable/forkJoin');\nObservable_1.Observable.forkJoin = forkJoin_1.forkJoin;\n//# sourceMappingURL=forkJoin.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/observable/forkJoin.js\n// module id = 315\n// module chunks = 0","\"use strict\";\nvar ForkJoinObservable_1 = require('./ForkJoinObservable');\nexports.forkJoin = ForkJoinObservable_1.ForkJoinObservable.create;\n//# sourceMappingURL=forkJoin.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/forkJoin.js\n// module id = 316\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\nvar EmptyObservable_1 = require('./EmptyObservable');\nvar isArray_1 = require('../util/isArray');\nvar subscribeToResult_1 = require('../util/subscribeToResult');\nvar OuterSubscriber_1 = require('../OuterSubscriber');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar ForkJoinObservable = (function (_super) {\n __extends(ForkJoinObservable, _super);\n function ForkJoinObservable(sources, resultSelector) {\n _super.call(this);\n this.sources = sources;\n this.resultSelector = resultSelector;\n }\n /* tslint:enable:max-line-length */\n /**\n * @param sources\n * @return {any}\n * @static true\n * @name forkJoin\n * @owner Observable\n */\n ForkJoinObservable.create = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i - 0] = arguments[_i];\n }\n if (sources === null || arguments.length === 0) {\n return new EmptyObservable_1.EmptyObservable();\n }\n var resultSelector = null;\n if (typeof sources[sources.length - 1] === 'function') {\n resultSelector = sources.pop();\n }\n // if the first and only other argument besides the resultSelector is an array\n // assume it's been called with `forkJoin([obs1, obs2, obs3], resultSelector)`\n if (sources.length === 1 && isArray_1.isArray(sources[0])) {\n sources = sources[0];\n }\n if (sources.length === 0) {\n return new EmptyObservable_1.EmptyObservable();\n }\n return new ForkJoinObservable(sources, resultSelector);\n };\n ForkJoinObservable.prototype._subscribe = function (subscriber) {\n return new ForkJoinSubscriber(subscriber, this.sources, this.resultSelector);\n };\n return ForkJoinObservable;\n}(Observable_1.Observable));\nexports.ForkJoinObservable = ForkJoinObservable;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar ForkJoinSubscriber = (function (_super) {\n __extends(ForkJoinSubscriber, _super);\n function ForkJoinSubscriber(destination, sources, resultSelector) {\n _super.call(this, destination);\n this.sources = sources;\n this.resultSelector = resultSelector;\n this.completed = 0;\n this.haveValues = 0;\n var len = sources.length;\n this.total = len;\n this.values = new Array(len);\n for (var i = 0; i < len; i++) {\n var source = sources[i];\n var innerSubscription = subscribeToResult_1.subscribeToResult(this, source, null, i);\n if (innerSubscription) {\n innerSubscription.outerIndex = i;\n this.add(innerSubscription);\n }\n }\n }\n ForkJoinSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n this.values[outerIndex] = innerValue;\n if (!innerSub._hasValue) {\n innerSub._hasValue = true;\n this.haveValues++;\n }\n };\n ForkJoinSubscriber.prototype.notifyComplete = function (innerSub) {\n var destination = this.destination;\n var _a = this, haveValues = _a.haveValues, resultSelector = _a.resultSelector, values = _a.values;\n var len = values.length;\n if (!innerSub._hasValue) {\n destination.complete();\n return;\n }\n this.completed++;\n if (this.completed !== len) {\n return;\n }\n if (haveValues === len) {\n var value = resultSelector ? resultSelector.apply(this, values) : values;\n destination.next(value);\n }\n destination.complete();\n };\n return ForkJoinSubscriber;\n}(OuterSubscriber_1.OuterSubscriber));\n//# sourceMappingURL=ForkJoinObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/ForkJoinObservable.js\n// module id = 317\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar of_1 = require('../../observable/of');\nObservable_1.Observable.of = of_1.of;\n//# sourceMappingURL=of.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/observable/of.js\n// module id = 318\n// module chunks = 0","\"use strict\";\nvar ArrayObservable_1 = require('./ArrayObservable');\nexports.of = ArrayObservable_1.ArrayObservable.of;\n//# sourceMappingURL=of.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/of.js\n// module id = 319\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar map_1 = require('../../operator/map');\nObservable_1.Observable.prototype.map = map_1.map;\n//# sourceMappingURL=map.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/map.js\n// module id = 320\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Applies a given `project` function to each value emitted by the source\n * Observable, and emits the resulting values as an Observable.\n *\n * <span class=\"informal\">Like [Array.prototype.map()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map),\n * it passes each source value through a transformation function to get\n * corresponding output values.</span>\n *\n * <img src=\"./img/map.png\" width=\"100%\">\n *\n * Similar to the well known `Array.prototype.map` function, this operator\n * applies a projection to each value and emits that projection in the output\n * Observable.\n *\n * @example <caption>Map every every click to the clientX position of that click</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var positions = clicks.map(ev => ev.clientX);\n * positions.subscribe(x => console.log(x));\n *\n * @see {@link mapTo}\n * @see {@link pluck}\n *\n * @param {function(value: T, index: number): R} project The function to apply\n * to each `value` emitted by the source Observable. The `index` parameter is\n * the number `i` for the i-th emission that has happened since the\n * subscription, starting from the number `0`.\n * @param {any} [thisArg] An optional argument to define what `this` is in the\n * `project` function.\n * @return {Observable<R>} An Observable that emits the values from the source\n * Observable transformed by the given `project` function.\n * @method map\n * @owner Observable\n */\nfunction map(project, thisArg) {\n if (typeof project !== 'function') {\n throw new TypeError('argument is not a function. Are you looking for `mapTo()`?');\n }\n return this.lift(new MapOperator(project, thisArg));\n}\nexports.map = map;\nvar MapOperator = (function () {\n function MapOperator(project, thisArg) {\n this.project = project;\n this.thisArg = thisArg;\n }\n MapOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new MapSubscriber(subscriber, this.project, this.thisArg));\n };\n return MapOperator;\n}());\nexports.MapOperator = MapOperator;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar MapSubscriber = (function (_super) {\n __extends(MapSubscriber, _super);\n function MapSubscriber(destination, project, thisArg) {\n _super.call(this, destination);\n this.project = project;\n this.count = 0;\n this.thisArg = thisArg || this;\n }\n // NOTE: This looks unoptimized, but it's actually purposefully NOT\n // using try/catch optimizations.\n MapSubscriber.prototype._next = function (value) {\n var result;\n try {\n result = this.project.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return MapSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=map.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/map.js\n// module id = 321\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar filter_1 = require('../../operator/filter');\nObservable_1.Observable.prototype.filter = filter_1.filter;\n//# sourceMappingURL=filter.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/filter.js\n// module id = 322\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Filter items emitted by the source Observable by only emitting those that\n * satisfy a specified predicate.\n *\n * <span class=\"informal\">Like\n * [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter),\n * it only emits a value from the source if it passes a criterion function.</span>\n *\n * <img src=\"./img/filter.png\" width=\"100%\">\n *\n * Similar to the well-known `Array.prototype.filter` method, this operator\n * takes values from the source Observable, passes them through a `predicate`\n * function and only emits those values that yielded `true`.\n *\n * @example <caption>Emit only click events whose target was a DIV element</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var clicksOnDivs = clicks.filter(ev => ev.target.tagName === 'DIV');\n * clicksOnDivs.subscribe(x => console.log(x));\n *\n * @see {@link distinct}\n * @see {@link distinctKey}\n * @see {@link distinctUntilChanged}\n * @see {@link distinctUntilKeyChanged}\n * @see {@link ignoreElements}\n * @see {@link partition}\n * @see {@link skip}\n *\n * @param {function(value: T, index: number): boolean} predicate A function that\n * evaluates each value emitted by the source Observable. If it returns `true`,\n * the value is emitted, if `false` the value is not passed to the output\n * Observable. The `index` parameter is the number `i` for the i-th source\n * emission that has happened since the subscription, starting from the number\n * `0`.\n * @param {any} [thisArg] An optional argument to determine the value of `this`\n * in the `predicate` function.\n * @return {Observable} An Observable of values from the source that were\n * allowed by the `predicate` function.\n * @method filter\n * @owner Observable\n */\nfunction filter(predicate, thisArg) {\n return this.lift(new FilterOperator(predicate, thisArg));\n}\nexports.filter = filter;\nvar FilterOperator = (function () {\n function FilterOperator(predicate, thisArg) {\n this.predicate = predicate;\n this.thisArg = thisArg;\n }\n FilterOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new FilterSubscriber(subscriber, this.predicate, this.thisArg));\n };\n return FilterOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar FilterSubscriber = (function (_super) {\n __extends(FilterSubscriber, _super);\n function FilterSubscriber(destination, predicate, thisArg) {\n _super.call(this, destination);\n this.predicate = predicate;\n this.thisArg = thisArg;\n this.count = 0;\n this.predicate = predicate;\n }\n // the try catch block below is left specifically for\n // optimization and perf reasons. a tryCatcher is not necessary here.\n FilterSubscriber.prototype._next = function (value) {\n var result;\n try {\n result = this.predicate.call(this.thisArg, value, this.count++);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n this.destination.next(value);\n }\n };\n return FilterSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=filter.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/filter.js\n// module id = 323\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar do_1 = require('../../operator/do');\nObservable_1.Observable.prototype.do = do_1._do;\nObservable_1.Observable.prototype._do = do_1._do;\n//# sourceMappingURL=do.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/do.js\n// module id = 324\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Perform a side effect for every emission on the source Observable, but return\n * an Observable that is identical to the source.\n *\n * <span class=\"informal\">Intercepts each emission on the source and runs a\n * function, but returns an output which is identical to the source.</span>\n *\n * <img src=\"./img/do.png\" width=\"100%\">\n *\n * Returns a mirrored Observable of the source Observable, but modified so that\n * the provided Observer is called to perform a side effect for every value,\n * error, and completion emitted by the source. Any errors that are thrown in\n * the aforementioned Observer or handlers are safely sent down the error path\n * of the output Observable.\n *\n * This operator is useful for debugging your Observables for the correct values\n * or performing other side effects.\n *\n * Note: this is different to a `subscribe` on the Observable. If the Observable\n * returned by `do` is not subscribed, the side effects specified by the\n * Observer will never happen. `do` therefore simply spies on existing\n * execution, it does not trigger an execution to happen like `subscribe` does.\n *\n * @example <caption>Map every every click to the clientX position of that click, while also logging the click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var positions = clicks\n * .do(ev => console.log(ev))\n * .map(ev => ev.clientX);\n * positions.subscribe(x => console.log(x));\n *\n * @see {@link map}\n * @see {@link subscribe}\n *\n * @param {Observer|function} [nextOrObserver] A normal Observer object or a\n * callback for `next`.\n * @param {function} [error] Callback for errors in the source.\n * @param {function} [complete] Callback for the completion of the source.\n * @return {Observable} An Observable identical to the source, but runs the\n * specified Observer or callback(s) for each item.\n * @method do\n * @name do\n * @owner Observable\n */\nfunction _do(nextOrObserver, error, complete) {\n return this.lift(new DoOperator(nextOrObserver, error, complete));\n}\nexports._do = _do;\nvar DoOperator = (function () {\n function DoOperator(nextOrObserver, error, complete) {\n this.nextOrObserver = nextOrObserver;\n this.error = error;\n this.complete = complete;\n }\n DoOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new DoSubscriber(subscriber, this.nextOrObserver, this.error, this.complete));\n };\n return DoOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar DoSubscriber = (function (_super) {\n __extends(DoSubscriber, _super);\n function DoSubscriber(destination, nextOrObserver, error, complete) {\n _super.call(this, destination);\n var safeSubscriber = new Subscriber_1.Subscriber(nextOrObserver, error, complete);\n safeSubscriber.syncErrorThrowable = true;\n this.add(safeSubscriber);\n this.safeSubscriber = safeSubscriber;\n }\n DoSubscriber.prototype._next = function (value) {\n var safeSubscriber = this.safeSubscriber;\n safeSubscriber.next(value);\n if (safeSubscriber.syncErrorThrown) {\n this.destination.error(safeSubscriber.syncErrorValue);\n }\n else {\n this.destination.next(value);\n }\n };\n DoSubscriber.prototype._error = function (err) {\n var safeSubscriber = this.safeSubscriber;\n safeSubscriber.error(err);\n if (safeSubscriber.syncErrorThrown) {\n this.destination.error(safeSubscriber.syncErrorValue);\n }\n else {\n this.destination.error(err);\n }\n };\n DoSubscriber.prototype._complete = function () {\n var safeSubscriber = this.safeSubscriber;\n safeSubscriber.complete();\n if (safeSubscriber.syncErrorThrown) {\n this.destination.error(safeSubscriber.syncErrorValue);\n }\n else {\n this.destination.complete();\n }\n };\n return DoSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=do.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/do.js\n// module id = 325\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar share_1 = require('../../operator/share');\nObservable_1.Observable.prototype.share = share_1.share;\n//# sourceMappingURL=share.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/share.js\n// module id = 326\n// module chunks = 0","\"use strict\";\nvar multicast_1 = require('./multicast');\nvar Subject_1 = require('../Subject');\nfunction shareSubjectFactory() {\n return new Subject_1.Subject();\n}\n/**\n * Returns a new Observable that multicasts (shares) the original Observable. As long as there is at least one\n * Subscriber this Observable will be subscribed and emitting data. When all subscribers have unsubscribed it will\n * unsubscribe from the source Observable. Because the Observable is multicasting it makes the stream `hot`.\n * This is an alias for .publish().refCount().\n *\n * <img src=\"./img/share.png\" width=\"100%\">\n *\n * @return {Observable<T>} an Observable that upon connection causes the source Observable to emit items to its Observers\n * @method share\n * @owner Observable\n */\nfunction share() {\n return multicast_1.multicast.call(this, shareSubjectFactory).refCount();\n}\nexports.share = share;\n;\n//# sourceMappingURL=share.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/share.js\n// module id = 327\n// module chunks = 0","\"use strict\";\nvar MulticastObservable_1 = require('../observable/MulticastObservable');\nvar ConnectableObservable_1 = require('../observable/ConnectableObservable');\n/**\n * Returns an Observable that emits the results of invoking a specified selector on items\n * emitted by a ConnectableObservable that shares a single subscription to the underlying stream.\n *\n * <img src=\"./img/multicast.png\" width=\"100%\">\n *\n * @param {Function|Subject} Factory function to create an intermediate subject through\n * which the source sequence's elements will be multicast to the selector function\n * or Subject to push source elements into.\n * @param {Function} Optional selector function that can use the multicasted source stream\n * as many times as needed, without causing multiple subscriptions to the source stream.\n * Subscribers to the given source will receive all notifications of the source from the\n * time of the subscription forward.\n * @return {Observable} an Observable that emits the results of invoking the selector\n * on the items emitted by a `ConnectableObservable` that shares a single subscription to\n * the underlying stream.\n * @method multicast\n * @owner Observable\n */\nfunction multicast(subjectOrSubjectFactory, selector) {\n var subjectFactory;\n if (typeof subjectOrSubjectFactory === 'function') {\n subjectFactory = subjectOrSubjectFactory;\n }\n else {\n subjectFactory = function subjectFactory() {\n return subjectOrSubjectFactory;\n };\n }\n return !selector ?\n new ConnectableObservable_1.ConnectableObservable(this, subjectFactory) :\n new MulticastObservable_1.MulticastObservable(this, subjectFactory, selector);\n}\nexports.multicast = multicast;\n//# sourceMappingURL=multicast.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/multicast.js\n// module id = 328\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\nvar ConnectableObservable_1 = require('../observable/ConnectableObservable');\nvar MulticastObservable = (function (_super) {\n __extends(MulticastObservable, _super);\n function MulticastObservable(source, subjectFactory, selector) {\n _super.call(this);\n this.source = source;\n this.subjectFactory = subjectFactory;\n this.selector = selector;\n }\n MulticastObservable.prototype._subscribe = function (subscriber) {\n var _a = this, selector = _a.selector, source = _a.source;\n var connectable = new ConnectableObservable_1.ConnectableObservable(source, this.subjectFactory);\n var subscription = selector(connectable).subscribe(subscriber);\n subscription.add(connectable.connect());\n return subscription;\n };\n return MulticastObservable;\n}(Observable_1.Observable));\nexports.MulticastObservable = MulticastObservable;\n//# sourceMappingURL=MulticastObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/MulticastObservable.js\n// module id = 329\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subject_1 = require('../Subject');\nvar Observable_1 = require('../Observable');\nvar Subscriber_1 = require('../Subscriber');\nvar Subscription_1 = require('../Subscription');\n/**\n * @class ConnectableObservable<T>\n */\nvar ConnectableObservable = (function (_super) {\n __extends(ConnectableObservable, _super);\n function ConnectableObservable(source, subjectFactory) {\n _super.call(this);\n this.source = source;\n this.subjectFactory = subjectFactory;\n this._refCount = 0;\n }\n ConnectableObservable.prototype._subscribe = function (subscriber) {\n return this.getSubject().subscribe(subscriber);\n };\n ConnectableObservable.prototype.getSubject = function () {\n var subject = this._subject;\n if (!subject || subject.isStopped) {\n this._subject = this.subjectFactory();\n }\n return this._subject;\n };\n ConnectableObservable.prototype.connect = function () {\n var connection = this._connection;\n if (!connection) {\n connection = this._connection = new Subscription_1.Subscription();\n connection.add(this.source\n .subscribe(new ConnectableSubscriber(this.getSubject(), this)));\n if (connection.closed) {\n this._connection = null;\n connection = Subscription_1.Subscription.EMPTY;\n }\n else {\n this._connection = connection;\n }\n }\n return connection;\n };\n ConnectableObservable.prototype.refCount = function () {\n return this.lift(new RefCountOperator(this));\n };\n return ConnectableObservable;\n}(Observable_1.Observable));\nexports.ConnectableObservable = ConnectableObservable;\nvar ConnectableSubscriber = (function (_super) {\n __extends(ConnectableSubscriber, _super);\n function ConnectableSubscriber(destination, connectable) {\n _super.call(this, destination);\n this.connectable = connectable;\n }\n ConnectableSubscriber.prototype._error = function (err) {\n this._unsubscribe();\n _super.prototype._error.call(this, err);\n };\n ConnectableSubscriber.prototype._complete = function () {\n this._unsubscribe();\n _super.prototype._complete.call(this);\n };\n ConnectableSubscriber.prototype._unsubscribe = function () {\n var connectable = this.connectable;\n if (connectable) {\n this.connectable = null;\n var connection = connectable._connection;\n connectable._refCount = 0;\n connectable._subject = null;\n connectable._connection = null;\n if (connection) {\n connection.unsubscribe();\n }\n }\n };\n return ConnectableSubscriber;\n}(Subject_1.SubjectSubscriber));\nvar RefCountOperator = (function () {\n function RefCountOperator(connectable) {\n this.connectable = connectable;\n }\n RefCountOperator.prototype.call = function (subscriber, source) {\n var connectable = this.connectable;\n connectable._refCount++;\n var refCounter = new RefCountSubscriber(subscriber, connectable);\n var subscription = source._subscribe(refCounter);\n if (!refCounter.closed) {\n refCounter.connection = connectable.connect();\n }\n return subscription;\n };\n return RefCountOperator;\n}());\nvar RefCountSubscriber = (function (_super) {\n __extends(RefCountSubscriber, _super);\n function RefCountSubscriber(destination, connectable) {\n _super.call(this, destination);\n this.connectable = connectable;\n }\n RefCountSubscriber.prototype._unsubscribe = function () {\n var connectable = this.connectable;\n if (!connectable) {\n this.connection = null;\n return;\n }\n this.connectable = null;\n var refCount = connectable._refCount;\n if (refCount <= 0) {\n this.connection = null;\n return;\n }\n connectable._refCount = refCount - 1;\n if (refCount > 1) {\n this.connection = null;\n return;\n }\n ///\n // Compare the local RefCountSubscriber's connection Subscription to the\n // connection Subscription on the shared ConnectableObservable. In cases\n // where the ConnectableObservable source synchronously emits values, and\n // the RefCountSubscriber's dowstream Observers synchronously unsubscribe,\n // execution continues to here before the RefCountOperator has a chance to\n // supply the RefCountSubscriber with the shared connection Subscription.\n // For example:\n // ```\n // Observable.range(0, 10)\n // .publish()\n // .refCount()\n // .take(5)\n // .subscribe();\n // ```\n // In order to account for this case, RefCountSubscriber should only dispose\n // the ConnectableObservable's shared connection Subscription if the\n // connection Subscription exists, *and* either:\n // a. RefCountSubscriber doesn't have a reference to the shared connection\n // Subscription yet, or,\n // b. RefCountSubscriber's connection Subscription reference is identical\n // to the shared connection Subscription\n ///\n var connection = this.connection;\n var sharedConnection = connectable._connection;\n this.connection = null;\n if (sharedConnection && (!connection || sharedConnection === connection)) {\n sharedConnection.unsubscribe();\n }\n };\n return RefCountSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=ConnectableObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/ConnectableObservable.js\n// module id = 330\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar finally_1 = require('../../operator/finally');\nObservable_1.Observable.prototype.finally = finally_1._finally;\nObservable_1.Observable.prototype._finally = finally_1._finally;\n//# sourceMappingURL=finally.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/finally.js\n// module id = 331\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\nvar Subscription_1 = require('../Subscription');\n/**\n * Returns an Observable that mirrors the source Observable, but will call a specified function when\n * the source terminates on complete or error.\n * @param {function} callback function to be called when source terminates.\n * @return {Observable} an Observable that mirrors the source, but will call the specified function on termination.\n * @method finally\n * @owner Observable\n */\nfunction _finally(callback) {\n return this.lift(new FinallyOperator(callback));\n}\nexports._finally = _finally;\nvar FinallyOperator = (function () {\n function FinallyOperator(callback) {\n this.callback = callback;\n }\n FinallyOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new FinallySubscriber(subscriber, this.callback));\n };\n return FinallyOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar FinallySubscriber = (function (_super) {\n __extends(FinallySubscriber, _super);\n function FinallySubscriber(destination, callback) {\n _super.call(this, destination);\n this.add(new Subscription_1.Subscription(callback));\n }\n return FinallySubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=finally.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/finally.js\n// module id = 332\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar catch_1 = require('../../operator/catch');\nObservable_1.Observable.prototype.catch = catch_1._catch;\nObservable_1.Observable.prototype._catch = catch_1._catch;\n//# sourceMappingURL=catch.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/catch.js\n// module id = 333\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar OuterSubscriber_1 = require('../OuterSubscriber');\nvar subscribeToResult_1 = require('../util/subscribeToResult');\n/**\n * Catches errors on the observable to be handled by returning a new observable or throwing an error.\n * @param {function} selector a function that takes as arguments `err`, which is the error, and `caught`, which\n * is the source observable, in case you'd like to \"retry\" that observable by returning it again. Whatever observable\n * is returned by the `selector` will be used to continue the observable chain.\n * @return {Observable} an observable that originates from either the source or the observable returned by the\n * catch `selector` function.\n * @method catch\n * @owner Observable\n */\nfunction _catch(selector) {\n var operator = new CatchOperator(selector);\n var caught = this.lift(operator);\n return (operator.caught = caught);\n}\nexports._catch = _catch;\nvar CatchOperator = (function () {\n function CatchOperator(selector) {\n this.selector = selector;\n }\n CatchOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n };\n return CatchOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar CatchSubscriber = (function (_super) {\n __extends(CatchSubscriber, _super);\n function CatchSubscriber(destination, selector, caught) {\n _super.call(this, destination);\n this.selector = selector;\n this.caught = caught;\n }\n // NOTE: overriding `error` instead of `_error` because we don't want\n // to have this flag this subscriber as `isStopped`.\n CatchSubscriber.prototype.error = function (err) {\n if (!this.isStopped) {\n var result = void 0;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.unsubscribe();\n this.destination.remove(this);\n subscribeToResult_1.subscribeToResult(this, result);\n }\n };\n return CatchSubscriber;\n}(OuterSubscriber_1.OuterSubscriber));\n//# sourceMappingURL=catch.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/catch.js\n// module id = 334\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar merge_1 = require('../../observable/merge');\nObservable_1.Observable.merge = merge_1.merge;\n//# sourceMappingURL=merge.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/observable/merge.js\n// module id = 335\n// module chunks = 0","\"use strict\";\nvar merge_1 = require('../operator/merge');\nexports.merge = merge_1.mergeStatic;\n//# sourceMappingURL=merge.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/merge.js\n// module id = 336\n// module chunks = 0","\"use strict\";\nvar ArrayObservable_1 = require('../observable/ArrayObservable');\nvar mergeAll_1 = require('./mergeAll');\nvar isScheduler_1 = require('../util/isScheduler');\n/**\n * Creates an output Observable which concurrently emits all values from every\n * given input Observable.\n *\n * <span class=\"informal\">Flattens multiple Observables together by blending\n * their values into one Observable.</span>\n *\n * <img src=\"./img/merge.png\" width=\"100%\">\n *\n * `merge` subscribes to each given input Observable (either the source or an\n * Observable given as argument), and simply forwards (without doing any\n * transformation) all the values from all the input Observables to the output\n * Observable. The output Observable only completes once all input Observables\n * have completed. Any error delivered by an input Observable will be immediately\n * emitted on the output Observable.\n *\n * @example <caption>Merge together two Observables: 1s interval and clicks</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var timer = Rx.Observable.interval(1000);\n * var clicksOrTimer = clicks.merge(timer);\n * clicksOrTimer.subscribe(x => console.log(x));\n *\n * @example <caption>Merge together 3 Observables, but only 2 run concurrently</caption>\n * var timer1 = Rx.Observable.interval(1000).take(10);\n * var timer2 = Rx.Observable.interval(2000).take(6);\n * var timer3 = Rx.Observable.interval(500).take(10);\n * var concurrent = 2; // the argument\n * var merged = timer1.merge(timer2, timer3, concurrent);\n * merged.subscribe(x => console.log(x));\n *\n * @see {@link mergeAll}\n * @see {@link mergeMap}\n * @see {@link mergeMapTo}\n * @see {@link mergeScan}\n *\n * @param {Observable} other An input Observable to merge with the source\n * Observable. More than one input Observables may be given as argument.\n * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n * Observables being subscribed to concurrently.\n * @param {Scheduler} [scheduler=null] The Scheduler to use for managing\n * concurrency of input Observables.\n * @return {Observable} an Observable that emits items that are the result of\n * every input Observable.\n * @method merge\n * @owner Observable\n */\nfunction merge() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i - 0] = arguments[_i];\n }\n observables.unshift(this);\n return mergeStatic.apply(this, observables);\n}\nexports.merge = merge;\n/* tslint:enable:max-line-length */\n/**\n * Creates an output Observable which concurrently emits all values from every\n * given input Observable.\n *\n * <span class=\"informal\">Flattens multiple Observables together by blending\n * their values into one Observable.</span>\n *\n * <img src=\"./img/merge.png\" width=\"100%\">\n *\n * `merge` subscribes to each given input Observable (as arguments), and simply\n * forwards (without doing any transformation) all the values from all the input\n * Observables to the output Observable. The output Observable only completes\n * once all input Observables have completed. Any error delivered by an input\n * Observable will be immediately emitted on the output Observable.\n *\n * @example <caption>Merge together two Observables: 1s interval and clicks</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var timer = Rx.Observable.interval(1000);\n * var clicksOrTimer = Rx.Observable.merge(clicks, timer);\n * clicksOrTimer.subscribe(x => console.log(x));\n *\n * @example <caption>Merge together 3 Observables, but only 2 run concurrently</caption>\n * var timer1 = Rx.Observable.interval(1000).take(10);\n * var timer2 = Rx.Observable.interval(2000).take(6);\n * var timer3 = Rx.Observable.interval(500).take(10);\n * var concurrent = 2; // the argument\n * var merged = Rx.Observable.merge(timer1, timer2, timer3, concurrent);\n * merged.subscribe(x => console.log(x));\n *\n * @see {@link mergeAll}\n * @see {@link mergeMap}\n * @see {@link mergeMapTo}\n * @see {@link mergeScan}\n *\n * @param {Observable} input1 An input Observable to merge with others.\n * @param {Observable} input2 An input Observable to merge with others.\n * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n * Observables being subscribed to concurrently.\n * @param {Scheduler} [scheduler=null] The Scheduler to use for managing\n * concurrency of input Observables.\n * @return {Observable} an Observable that emits items that are the result of\n * every input Observable.\n * @static true\n * @name merge\n * @owner Observable\n */\nfunction mergeStatic() {\n var observables = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n observables[_i - 0] = arguments[_i];\n }\n var concurrent = Number.POSITIVE_INFINITY;\n var scheduler = null;\n var last = observables[observables.length - 1];\n if (isScheduler_1.isScheduler(last)) {\n scheduler = observables.pop();\n if (observables.length > 1 && typeof observables[observables.length - 1] === 'number') {\n concurrent = observables.pop();\n }\n }\n else if (typeof last === 'number') {\n concurrent = observables.pop();\n }\n if (observables.length === 1) {\n return observables[0];\n }\n return new ArrayObservable_1.ArrayObservable(observables, scheduler).lift(new mergeAll_1.MergeAllOperator(concurrent));\n}\nexports.mergeStatic = mergeStatic;\n//# sourceMappingURL=merge.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/merge.js\n// module id = 337\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('../../Observable');\nvar switchMap_1 = require('../../operator/switchMap');\nObservable_1.Observable.prototype.switchMap = switchMap_1.switchMap;\n//# sourceMappingURL=switchMap.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/add/operator/switchMap.js\n// module id = 338\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar OuterSubscriber_1 = require('../OuterSubscriber');\nvar subscribeToResult_1 = require('../util/subscribeToResult');\n/**\n * Projects each source value to an Observable which is merged in the output\n * Observable, emitting values only from the most recently projected Observable.\n *\n * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n * these inner Observables using {@link switch}.</span>\n *\n * <img src=\"./img/switchMap.png\" width=\"100%\">\n *\n * Returns an Observable that emits items based on applying a function that you\n * supply to each item emitted by the source Observable, where that function\n * returns an (so-called \"inner\") Observable. Each time it observes one of these\n * inner Observables, the output Observable begins emitting the items emitted by\n * that inner Observable. When a new inner Observable is emitted, `switchMap`\n * stops emitting items from the earlier-emitted inner Observable and begins\n * emitting items from the new one. It continues to behave like this for\n * subsequent inner Observables.\n *\n * @example <caption>Rerun an interval Observable on every click event</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var result = clicks.switchMap((ev) => Rx.Observable.interval(1000));\n * result.subscribe(x => console.log(x));\n *\n * @see {@link concatMap}\n * @see {@link exhaustMap}\n * @see {@link mergeMap}\n * @see {@link switch}\n * @see {@link switchMapTo}\n *\n * @param {function(value: T, ?index: number): Observable} project A function\n * that, when applied to an item emitted by the source Observable, returns an\n * Observable.\n * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n * A function to produce the value on the output Observable based on the values\n * and the indices of the source (outer) emission and the inner Observable\n * emission. The arguments passed to this function are:\n * - `outerValue`: the value that came from the source\n * - `innerValue`: the value that came from the projected Observable\n * - `outerIndex`: the \"index\" of the value that came from the source\n * - `innerIndex`: the \"index\" of the value from the projected Observable\n * @return {Observable} An Observable that emits the result of applying the\n * projection function (and the optional `resultSelector`) to each item emitted\n * by the source Observable and taking only the values from the most recently\n * projected inner Observable.\n * @method switchMap\n * @owner Observable\n */\nfunction switchMap(project, resultSelector) {\n return this.lift(new SwitchMapOperator(project, resultSelector));\n}\nexports.switchMap = switchMap;\nvar SwitchMapOperator = (function () {\n function SwitchMapOperator(project, resultSelector) {\n this.project = project;\n this.resultSelector = resultSelector;\n }\n SwitchMapOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new SwitchMapSubscriber(subscriber, this.project, this.resultSelector));\n };\n return SwitchMapOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar SwitchMapSubscriber = (function (_super) {\n __extends(SwitchMapSubscriber, _super);\n function SwitchMapSubscriber(destination, project, resultSelector) {\n _super.call(this, destination);\n this.project = project;\n this.resultSelector = resultSelector;\n this.index = 0;\n }\n SwitchMapSubscriber.prototype._next = function (value) {\n var result;\n var index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (error) {\n this.destination.error(error);\n return;\n }\n this._innerSub(result, value, index);\n };\n SwitchMapSubscriber.prototype._innerSub = function (result, value, index) {\n var innerSubscription = this.innerSubscription;\n if (innerSubscription) {\n innerSubscription.unsubscribe();\n }\n this.add(this.innerSubscription = subscribeToResult_1.subscribeToResult(this, result, value, index));\n };\n SwitchMapSubscriber.prototype._complete = function () {\n var innerSubscription = this.innerSubscription;\n if (!innerSubscription || innerSubscription.closed) {\n _super.prototype._complete.call(this);\n }\n };\n SwitchMapSubscriber.prototype._unsubscribe = function () {\n this.innerSubscription = null;\n };\n SwitchMapSubscriber.prototype.notifyComplete = function (innerSub) {\n this.remove(innerSub);\n this.innerSubscription = null;\n if (this.isStopped) {\n _super.prototype._complete.call(this);\n }\n };\n SwitchMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n if (this.resultSelector) {\n this._tryNotifyNext(outerValue, innerValue, outerIndex, innerIndex);\n }\n else {\n this.destination.next(innerValue);\n }\n };\n SwitchMapSubscriber.prototype._tryNotifyNext = function (outerValue, innerValue, outerIndex, innerIndex) {\n var result;\n try {\n result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n return SwitchMapSubscriber;\n}(OuterSubscriber_1.OuterSubscriber));\n//# sourceMappingURL=switchMap.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/switchMap.js\n// module id = 339\n// module chunks = 0","import { Component } from '@angular/core';\n\n//noinspection TypeScriptCheckImport\nimport { NguiDatetime } from '@ngui/datetime-picker';\nNguiDatetime.firstDayOfWeek = 0; //e.g. 1, or 6\n\n@Component({\n selector: 'my-app',\n template: `\n <a href=\"\" routerLink=\"/directive-test\">Directive</a>\n <a href=\"\" routerLink=\"/component-test\">Component</a>\n <router-outlet></router-outlet>`\n})\nexport class AppComponent {\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./app/app.component.ts","import { NguiDatetime } from './datetime';\nimport { NguiDatetimePickerComponent } from './datetime-picker.component';\nimport { NguiDatetimePickerDirective } from './datetime-picker.directive';\nimport { NguiDatetimePickerModule } from './datetime-picker.module';\n\nexport {\n NguiDatetime,\n NguiDatetimePickerComponent,\n NguiDatetimePickerDirective,\n NguiDatetimePickerModule\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./src/index.ts","declare var moment: any;\n\nimport {Injectable} from \"@angular/core\";\n\n/**\n * Static variables that you can override\n * 1. days. default 1,2,....31\n * 2. daysOfWeek, default Sunday, Monday, .....\n * 3. firstDayOfWeek, default 0 as in Sunday\n * 4. months, default January, February\n * 5. formatDate(d) default returns YYYY-MM-DD HH:MM\n * 6. parseDate(str) default returns date from YYYY-MM-DD HH:MM\n */\n@Injectable()\nexport class NguiDatetime {\n static locale: any = {\n date: 'date',\n time: 'time',\n\n year: 'year',\n month: 'month',\n day: 'day',\n hour: 'hour',\n minute: 'minute',\n currentTime: \"current time\"\n };\n\n static days: number[] =\n [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, 26, 27, 28, 29, 30, 31];\n\n static weekends: number[] = [0,6];\n\n static daysOfWeek: any[] =\n typeof moment === 'undefined' ? [\n {fullName: 'Sunday', shortName: 'Su'},\n {fullName: 'Monday', shortName: 'Mo'},\n {fullName: 'Tuesday', shortName: 'Tu'},\n {fullName: 'Wednesday', shortName: 'We'},\n {fullName: 'Thursday', shortName: 'Th'},\n {fullName: 'Friday', shortName: 'Fr'},\n {fullName: 'Saturday', shortName: 'Sa'}\n ] : moment.weekdays().map((el, index) => {\n return {\n fullName: el,\n shortName: moment.weekdaysShort()[index].substr(0, 2)\n }\n });\n\n static firstDayOfWeek: number =\n typeof moment === 'undefined' ? 0 : moment.localeData().firstDayOfWeek();\n\n static months: any[] = typeof moment === 'undefined' ? [\n {fullName: 'January', shortName: 'Jan'},\n {fullName: 'February', shortName: 'Feb'},\n {fullName: 'March', shortName: 'Mar'},\n {fullName: 'April', shortName: 'Apr'},\n {fullName: 'May', shortName: 'May'},\n {fullName: 'June', shortName: 'Jun'},\n {fullName: 'July', shortName: 'Jul'},\n {fullName: 'August', shortName: 'Aug'},\n {fullName: 'September', shortName: 'Sep'},\n {fullName: 'October', shortName: 'Oct'},\n {fullName: 'November', shortName: 'Nov'},\n {fullName: 'December', shortName: 'Dec'}\n ] : moment.months().map((el, index) => {\n return {\n fullName: el,\n shortName: moment['monthsShort']()[index]\n }\n });\n\n static formatDate(d: Date, format?: string, dateOnly?: boolean): string {\n let ret: string;\n if (d && !format) {\n // return d.toLocaleString('en-us', hash); // IE11 does not understand this\n let pad0 = number => (\"0\" + number).slice(-2);\n ret = d.getFullYear() + '-' + pad0(d.getMonth() + 1) + '-' + pad0(d.getDate());\n ret += dateOnly ? '' : ' ' + pad0(d.getHours()) + ':' + pad0(d.getMinutes());\n return ret;\n } else if (d && typeof moment !== 'undefined') {\n return moment(d).format(format);\n } else {\n return '';\n }\n }\n\n static parseDate(dateStr: string, parseFormat?: string, dateFormat?: string): Date {\n if (typeof moment === 'undefined') {\n dateStr = NguiDatetime.removeTimezone(dateStr);\n dateStr = dateStr + NguiDatetime.addDSTOffset(dateStr);\n return NguiDatetime.parseFromDefaultFormat(dateStr);\n } else if (dateFormat || parseFormat) {\n // try parse using each format because changing format programmatically calls this twice,\n // once with string in parse format and once in date format\n let formats = [];\n if (parseFormat) {\n formats.push(parseFormat);\n }\n if (dateFormat) {\n formats.push(dateFormat);\n }\n let m = moment(dateStr, formats);\n let date = m.toDate();\n if (!m.isValid()) { // if moment is invalid\n date = moment(dateStr, moment.ISO_8601).toDate(); // parse as ISO format\n }\n return date;\n } else if (dateStr.length > 4) { //at least requires an year\n let date = moment(dateStr, 'YYYY-MM-DD HH:mm').toDate();\n return date;\n } else {\n return new Date();\n }\n }\n\n static getWeekNumber(date) {\n if (!(date instanceof Date)) date = new Date();\n\n // ISO week date weeks start on Monday, so correct the day number\n var nDay = (date.getDay() + 6) % 7;\n\n // ISO 8601 states that week 1 is the week with the first Thursday of that year\n // Set the target date to the Thursday in the target week\n date.setDate(date.getDate() - nDay + 3);\n\n // Store the millisecond value of the target date\n var n1stThursday = date.valueOf();\n\n // Set the target to the first Thursday of the year\n // First, set the target to January 1st\n date.setMonth(0, 1);\n\n // Not a Thursday? Correct the date to the next Thursday\n if (date.getDay() !== 4) {\n date.setMonth(0, 1 + ((4 - date.getDay()) + 7) % 7);\n }\n\n // The week number is the number of weeks between the first Thursday of the year\n // and the Thursday in the target week (604800000 = 7 * 24 * 3600 * 1000)\n return 1 + Math.ceil((n1stThursday - date) / 604800000);\n } \n\n //remove timezone\n private static removeTimezone(dateStr): string {\n // if no time is given, add 00:00:00 at the end\n let matches = dateStr.match(/[0-9]{2}:/);\n dateStr += matches ? '' : ' 00:00:00';\n return dateStr.replace(/([0-9]{2}-[0-9]{2})-([0-9]{4})/, '$2-$1') //mm-dd-yyyy to yyyy-mm-dd\n .replace(/([\\/-][0-9]{2,4})\\ ([0-9]{2}\\:[0-9]{2}\\:)/, '$1T$2') //reformat for FF\n .replace(/EDT|EST|CDT|CST|MDT|PDT|PST|UT|GMT/g, '') //remove timezone\n .replace(/\\s*\\(\\)\\s*/, '') //remove timezone\n .replace(/[\\-\\+][0-9]{2}:?[0-9]{2}$/, '') //remove timezone\n .replace(/000Z$/, '00'); //remove timezone\n }\n\n private static addDSTOffset(dateStr): string {\n let date = NguiDatetime.parseFromDefaultFormat(dateStr);\n let jan = new Date(date.getFullYear(), 0, 1);\n let jul = new Date(date.getFullYear(), 6, 1);\n let stdTimezoneOffset = Math.max(jan.getTimezoneOffset(), jul.getTimezoneOffset());\n let isDST = date.getTimezoneOffset() < stdTimezoneOffset;\n let offset = isDST ? stdTimezoneOffset - 60 : stdTimezoneOffset;\n let diff = offset >= 0 ? '-' : '+';\n offset = Math.abs(offset);\n return diff +\n ('0' + (offset / 60)).slice(-2) + ':' +\n ('0' + (offset % 60)).slice(-2);\n };\n\n private static parseFromDefaultFormat(dateStr): Date {\n let tmp = dateStr.split(/[\\+\\-:\\ T]/); // split by dash, colon or space\n return new Date(\n parseInt(tmp[0], 10),\n parseInt(tmp[1], 10) - 1,\n parseInt(tmp[2], 10),\n parseInt(tmp[3] || '0', 10),\n parseInt(tmp[4] || '0', 10),\n parseInt(tmp[5] || '0', 10)\n );\n }\n\n getMonthData(year: number, month: number): any {\n year = month > 11 ? year + 1 :\n month < 0 ? year - 1 : year;\n month = (month + 12) % 12;\n\n let firstDayOfMonth = new Date(year, month, 1);\n let lastDayOfMonth = new Date(year, month + 1, 0);\n let lastDayOfPreviousMonth = new Date(year, month, 0);\n let daysInMonth = lastDayOfMonth.getDate();\n let daysInLastMonth = lastDayOfPreviousMonth.getDate();\n let dayOfWeek = firstDayOfMonth.getDay();\n\n // Ensure there are always leading days to give context\n let leadingDays = (dayOfWeek - NguiDatetime.firstDayOfWeek + 7) % 7 || 7;\n let trailingDays = NguiDatetime.days.slice(0, 6 * 7 - (leadingDays + daysInMonth));\n if (trailingDays.length > 7) {\n trailingDays = trailingDays.slice(0, trailingDays.length - 7);\n }\n\n let firstDay = new Date(firstDayOfMonth);\n firstDay.setDate(firstDayOfMonth.getDate() - (leadingDays % 7));\n let firstWeekNumber = NguiDatetime.getWeekNumber(firstDay);\n let numWeeks = Math.ceil((daysInMonth + leadingDays%7) / 7);\n let weekNumbers =Array(numWeeks).fill(0).map( \n (el,ndx) => { \n let weekNum = (ndx + firstWeekNumber + 52) % 52;\n return weekNum === 0 ? 52 : weekNum;\n }\n );\n\n let localizedDaysOfWeek =\n NguiDatetime.daysOfWeek\n .concat(NguiDatetime.daysOfWeek)\n .splice(NguiDatetime.firstDayOfWeek, 7);\n \n\n let monthData = {\n year: year,\n month: month,\n weekends: NguiDatetime.weekends,\n firstDayOfWeek: NguiDatetime.firstDayOfWeek,\n fullName: NguiDatetime.months[month].fullName,\n shortName: NguiDatetime.months[month].shortName,\n localizedDaysOfWeek: localizedDaysOfWeek,\n days: NguiDatetime.days.slice(0, daysInMonth),\n leadingDays: NguiDatetime.days.slice(-leadingDays - (31 - daysInLastMonth), daysInLastMonth),\n trailingDays: trailingDays,\n weekNumbers: weekNumbers\n };\n\n return monthData;\n }\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./src/datetime.ts","import {\n Input,\n Output,\n Component,\n ElementRef,\n ViewEncapsulation,\n ChangeDetectorRef,\n EventEmitter,\n ViewChild\n} from '@angular/core';\nimport { NguiDatetime } from './datetime';\n\ndeclare var moment: any;\n\n//@TODO\n// . display currently selected day\n\n/**\n * show a selected date in monthly calendar\n */\n@Component({\n providers: [NguiDatetime],\n selector: 'ngui-datetime-picker',\n template: `\n <div class=\"closing-layer\" (click)=\"close()\" *ngIf=\"showCloseLayer\" ></div>\n <div class=\"ngui-datetime-picker\">\n <div class=\"close-button\" *ngIf=\"showCloseButton\" (click)=\"close()\"></div>\n \n <!-- Month - Year -->\n <div class=\"month\" *ngIf=\"!timeOnly\">\n <b class=\"prev_next prev year\" (click)=\"updateMonthData(-12)\">«</b>\n <b class=\"prev_next prev month\" (click)=\"updateMonthData(-1)\">‹</b>\n <span title=\"{{monthData?.fullName}}\">\n {{monthData?.shortName}}\n </span>\n <span (click)=\"showYearSelector = true\">\n {{monthData.year}}\n </span>\n <b class=\"prev_next next year\" (click)=\"updateMonthData(+12)\">»</b>\n <b class=\"prev_next next month\" (click)=\"updateMonthData(+1)\">›</b>\n </div>\n\n <!-- Week number / Days -->\n <div class=\"week-numbers-and-days\"\n [ngClass]=\"{'show-week-numbers': !timeOnly && showWeekNumbers}\">\n <!-- Week -->\n <div class=\"week-numbers\" *ngIf=\"!timeOnly && showWeekNumbers\">\n <div class=\"week-number\" *ngFor=\"let weekNumber of monthData.weekNumbers\">\n {{weekNumber}}\n </div>\n </div>\n \n <!-- Date -->\n <div class=\"days\" *ngIf=\"!timeOnly\">\n\n <!-- Su Mo Tu We Th Fr Sa -->\n <div class=\"day-of-week\"\n *ngFor=\"let dayOfWeek of monthData.localizedDaysOfWeek; let ndx=index\"\n [class.weekend]=\"isWeekend(ndx + monthData.firstDayOfWeek)\"\n title=\"{{dayOfWeek.fullName}}\">\n {{dayOfWeek.shortName}}\n </div>\n\n <!-- Fill up blank days for this month -->\n <div *ngIf=\"monthData.leadingDays.length < 7\">\n <div class=\"day\"\n (click)=\"updateMonthData(-1)\"\n *ngFor=\"let dayNum of monthData.leadingDays\">\n {{dayNum}}\n </div>\n </div>\n\n <div class=\"day\"\n *ngFor=\"let dayNum of monthData.days\"\n (click)=\"selectDateTime(toDate(dayNum))\"\n title=\"{{monthData.year}}-{{monthData.month+1}}-{{dayNum}}\"\n [ngClass]=\"{\n selectable: !isDateDisabled(toDate(dayNum)),\n selected: toDate(dayNum).getTime() === toDateOnly(selectedDate).getTime(),\n today: toDate(dayNum).getTime() === today.getTime(),\n weekend: isWeekend(dayNum, monthData.month)\n }\">\n {{dayNum}}\n </div>\n\n <!-- Fill up blank days for this month -->\n <div *ngIf=\"monthData.trailingDays.length < 7\">\n <div class=\"day\"\n (click)=\"updateMonthData(+1)\"\n *ngFor=\"let dayNum of monthData.trailingDays\">\n {{dayNum}}\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"shortcuts\" *ngIf=\"showTodayShortcut\">\n <a href=\"#\" (click)=\"selectToday()\">Today</a>\n </div>\n\n <!-- Hour Minute -->\n <div class=\"time\" id=\"time\" *ngIf=\"!dateOnly\">\n <div class=\"select-current-time\" (click)=\"selectCurrentTime()\">{{locale.currentTime}}</div>\n <label class=\"timeLabel\">{{locale.time}}</label>\n <span class=\"timeValue\">\n {{convertHours(hour)}} : {{(\"0\"+minute).slice(-2)}} {{timeSuffix}}\n </span><br/>\n <div>\n <label class=\"hourLabel\">{{locale.hour}}:</label>\n <input #hours class=\"hourInput\"\n tabindex=\"90000\"\n (change)=\"selectDateTime()\"\n type=\"range\"\n min=\"{{minHour || 0}}\"\n max=\"{{maxHour || 23}}\"\n [(ngModel)]=\"hour\" />\n </div>\n <div>\n <label class=\"minutesLabel\">{{locale.minute}}:</label>\n <input #minutes class=\"minutesInput\"\n tabindex=\"90000\"\n step=\"{{minuteStep}}\"\n (change)=\"selectDateTime()\"\n type=\"range\" min=\"0\" max=\"59\" range=\"10\" [(ngModel)]=\"minute\"/>\n </div>\n </div>\n\n <!-- Year Selector -->\n <div class=\"year-selector\" *ngIf=\"showYearSelector\">\n <div class=\"locale\">\n <b>{{locale.year}}</b>\n </div>\n <span class=\"year\" \n *ngFor=\"let year of yearsSelectable\"\n (click)=\"selectYear(year)\">\n {{year}}\n </span>\n </div>\n </div>\n `,\n styles: [\n `\n@keyframes slideDown {\n 0% {\n transform: translateY(-10px);\n }\n 100% {\n transform: translateY(0px);\n }\n}\n\n@keyframes slideUp {\n 0% {\n transform: translateY(100%);\n }\n 100% {\n transform: translateY(0%);\n }\n}\n\n.ngui-datetime-picker-wrapper {\n position: relative;\n}\n\n.ngui-datetime-picker {\n color: #333;\n outline-width: 0;\n font: normal 14px sans-serif;\n border: 1px solid #ddd;\n display: inline-block;\n background: #fff;\n animation: slideDown 0.1s ease-in-out;\n animation-fill-mode: both;\n}\n.ngui-datetime-picker .days {\n width: 210px; /* 30 x 7 days */\n box-sizing: content-box;\n}\n.ngui-datetime-picker .close-button {\n position: absolute;\n width: 1em;\n height: 1em;\n right: 0;\n z-index: 1;\n padding: 0 5px;\n box-sizing: content-box;\n}\n.ngui-datetime-picker .close-button:before {\n content: 'X';\n cursor: pointer;\n color: #ff0000;\n}\n.ngui-datetime-picker > .month {\n text-align: center;\n line-height: 22px;\n padding: 10px;\n background: #fcfcfc;\n text-transform: uppercase;\n font-weight: bold;\n border-bottom: 1px solid #ddd;\n position: relative;\n}\n\n.ngui-datetime-picker > .month > .prev_next {\n color: #555;\n display: block;\n font: normal 24px sans-serif;\n outline: none;\n background: transparent;\n border: none;\n cursor: pointer;\n width: 25px;\n text-align: center;\n box-sizing: content-box;\n}\n.ngui-datetime-picker > .month > .prev_next:hover {\n background-color: #333;\n color: #fff;\n}\n.ngui-datetime-picker > .month > .prev_next.prev {\n float: left;\n}\n.ngui-datetime-picker > .month > .prev_next.next {\n float: right;\n}\n\n.ngui-datetime-picker .week-numbers-and-days {\n text-align: center;\n}\n.ngui-datetime-picker .week-numbers {\n line-height: 30px;\n display: inline-block;\n padding: 30px 0 0 0;\n color: #ddd;\n text-align: right;\n width: 21px;\n vertical-align: top;\n box-sizing: content-box;\n}\n\n.ngui-datetime-picker .days {\n display: inline-block;\n width: 210px; /* 30 x 7 */\n text-align: center;\n padding: 0 10px;\n box-sizing: content-box;\n}\n.ngui-datetime-picker .days .day-of-week,\n.ngui-datetime-picker .days .day {\n box-sizing: border-box;\n border: 1px solid transparent;\n width: 30px;\n line-height: 28px;\n float: left;\n}\n.ngui-datetime-picker .days .day-of-week {\n font-weight: bold;\n}\n.ngui-datetime-picker .days .day-of-week.weekend {\n color: #ccc;\n background-color: inherit;\n}\n.ngui-datetime-picker .days .day:not(.selectable) {\n color: #ccc;\n cursor: default;\n}\n.ngui-datetime-picker .days .weekend {\n color: #ccc;\n background-color: #eee;\n}\n.ngui-datetime-picker .days .day.selectable {\n cursor: pointer;\n}\n.ngui-datetime-picker .days .day.selected {\n background: gray;\n color: #fff;\n}\n.ngui-datetime-picker .days .day:not(.selected).selectable:hover {\n background: #eee;\n}\n.ngui-datetime-picker .days:after {\n content: '';\n display: block;\n clear: left;\n height: 0;\n}\n.ngui-datetime-picker .time {\n position: relative;\n padding: 10px;\n text-transform: Capitalize;\n}\n.ngui-datetime-picker .year-selector {\n position: absolute;\n top: 0;\n left: 0;\n background: #fff;\n height: 100%;\n overflow: auto; \n padding: 5px;\n z-index: 2;\n}\n.ngui-datetime-picker .year-selector .locale{\n text-align: center;\n}\n.ngui-datetime-picker .year-selector .year {\n display: inline-block;\n cursor: pointer;\n padding: 2px 5px;\n}\n.ngui-datetime-picker .year-selector .year:hover {\n background-color: #ddd;\n}\n.ngui-datetime-picker .select-current-time {\n position: absolute;\n top: 1em;\n right: 5px;\n z-index: 1;\n cursor: pointer;\n color: #0000ff;\n}\n.ngui-datetime-picker .hourLabel,\n.ngui-datetime-picker .minutesLabel {\n display: inline-block;\n width: 45px;\n vertical-align: top;\n box-sizing: content-box;\n}\n.closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0);\n}\n\n.ngui-datetime-picker .shortcuts {\n padding: 10px;\n text-align: center;\n}\n\n.ngui-datetime-picker .shortcuts a {\n font-family: Sans-serif;\n margin: 0 0.5em;\n text-decoration: none;\n}\n\n@media (max-width: 767px) {\n .ngui-datetime-picker {\n position: fixed;\n bottom: 0;\n left: 0;\n right: 0; \n width: auto !important;\n animation: slideUp 0.1s ease-in-out;\n }\n\n .ngui-datetime-picker > .days {\n display: block;\n margin: 0 auto;\n }\n\n .closing-layer {\n display: block;\n position: fixed;\n top: 0;\n left: 0;\n bottom: 0;\n right: 0;\n background: rgba(0,0,0,0.2);\n }\n}\n `\n ],\n encapsulation: ViewEncapsulation.None\n})\nexport class NguiDatetimePickerComponent {\n @Input('date-format') dateFormat: string;\n @Input('date-only') dateOnly: boolean;\n @Input('time-only') timeOnly: boolean;\n @Input('selected-date') selectedDate: Date;\n @Input('hour') hour: number;\n @Input('minute') minute: number;\n @Input('minuteStep') minuteStep: number = 1;\n @Input('default-value') defaultValue: Date;\n @Input('min-date') minDate: Date;\n @Input('max-date') maxDate: Date;\n @Input('min-hour') minHour: number;\n @Input('max-hour') maxHour: number;\n @Input('disabled-dates') disabledDates: Date[];\n @Input('show-close-button') showCloseButton: boolean;\n @Input('show-close-layer') showCloseLayer: boolean;\n @Input('show-week-numbers') showWeekNumbers: boolean = false;\n @Input('show-today-shortcut') showTodayShortcut: boolean = false;\n @Input('show-am-pm') showAmPm: boolean = false;\n\n @Output('selected$') selected$: EventEmitter<any> = new EventEmitter();\n @Output('closing$') closing$: EventEmitter<any> = new EventEmitter();\n\n @ViewChild('hours') hours: ElementRef;\n @ViewChild('minutes') minutes: ElementRef;\n\n public el: HTMLElement; // this component element\n public disabledDatesInTime: number[];\n public locale = NguiDatetime.locale;\n public showYearSelector = false;\n\n private _monthData: any;\n private timeSuffix: string;\n\n public constructor(\n elementRef: ElementRef,\n public nguiDatetime: NguiDatetime,\n public cdRef: ChangeDetectorRef\n ) {\n this.el = elementRef.nativeElement;\n }\n\n public get yearsSelectable(): number[] {\n let startYear = this.year - 100;\n let endYear = this.year + 50;\n let years: number[] = [];\n for (let year = startYear; year < endYear; year++) {\n years.push(year);\n }\n return years;\n }\n\n public get year(): number {\n return this.selectedDate.getFullYear();\n }\n\n public get month(): number {\n return this.selectedDate.getMonth();\n }\n\n public get day(): number {\n return this.selectedDate.getDate();\n }\n\n public get monthData(): any {\n return this._monthData;\n }\n\n public get today(): Date {\n let dt = new Date();\n dt.setHours(0);\n dt.setMinutes(0);\n dt.setSeconds(0);\n dt.setMilliseconds(0);\n return dt;\n }\n\n public set year(year) { }\n public set month(month) { }\n public set day(day) { }\n public set today(today) { }\n\n public ngOnInit() {\n if (!this.defaultValue || isNaN(this.defaultValue.getTime())) {\n this.defaultValue = new Date();\n }\n this.selectedDate = this.defaultValue;\n\n // set hour and minute using moment if available to avoid having Javascript change timezones\n if (typeof moment === 'undefined') {\n this.hour = this.selectedDate.getHours();\n this.minute = this.selectedDate.getMinutes();\n } else {\n let m = moment(this.selectedDate);\n this.hour = m.hours();\n this.minute = m.minute();\n }\n\n this._monthData = this.nguiDatetime.getMonthData(this.year, this.month);\n }\n\n public isWeekend(dayNum: number, month?: number): boolean {\n if (typeof month === 'undefined') {\n return NguiDatetime.weekends.indexOf(dayNum % 7) !== -1; //weekday index\n } else {\n let weekday = this.toDate(dayNum, month).getDay();\n return NguiDatetime.weekends.indexOf(weekday) !== -1;\n }\n }\n\n public selectYear(year) {\n this._monthData = this.nguiDatetime.getMonthData(year, this._monthData.month);\n this.showYearSelector = false;\n }\n\n public toDate(day: number, month?: number): Date {\n return new Date(this._monthData.year, month || this._monthData.month, day);\n }\n\n public toDateOnly(date: Date) {\n return new Date(date.getFullYear(), date.getMonth(), date.getDate(), 0, 0, 0, 0);\n }\n\n public selectCurrentTime() {\n this.hour = (new Date()).getHours();\n this.minute = (new Date()).getMinutes();\n this.selectDateTime();\n }\n\n /**\n * set the selected date and close it when closeOnSelect is true\n * @param date {Date}\n */\n public selectDateTime(date?: Date) {\n this.selectedDate = date || this.selectedDate;\n if (this.isDateDisabled(this.selectedDate)) {\n return false;\n }\n\n // editing hours and minutes via javascript date methods causes date to lose timezone info,\n // so edit using moment if available\n let hour = parseInt('' + this.hour || '0', 10);\n let minute = parseInt('' + this.minute || '0', 10);\n\n if (typeof moment !== 'undefined') {\n // here selected date has a time of 00:00 in local time,\n // so build moment by getting year/month/day separately\n // to avoid it saving as a day earlier\n let m = moment([this.selectedDate.getFullYear(), this.selectedDate.getMonth(), this.selectedDate.getDate()]);\n m.hours(hour);\n m.minutes(minute);\n this.selectedDate = m.toDate();\n } else {\n this.selectedDate.setHours(hour);\n this.selectedDate.setMinutes(minute);\n }\n //console.log('this.selectedDate', this.selectedDate)\n\n this.selectedDate.toString = () => {\n return NguiDatetime.formatDate(this.selectedDate, this.dateFormat, this.dateOnly);\n };\n this.selected$.emit(this.selectedDate);\n };\n\n /**\n * show prev/next month calendar\n */\n public updateMonthData(num: number) {\n this._monthData = this.nguiDatetime.getMonthData(this._monthData.year, this._monthData.month + num);\n }\n\n public isDateDisabled(date: Date) {\n let dateInTime = date.getTime();\n this.disabledDatesInTime =\n this.disabledDatesInTime || (this.disabledDates || []).map(d => d.getTime());\n\n if (this.minDate && (dateInTime < this.minDate.getTime())) {\n return true;\n } else if (this.maxDate && (dateInTime > this.maxDate.getTime())) {\n return true;\n } else if (this.disabledDatesInTime.indexOf(dateInTime) >= 0) {\n return true\n }\n\n return false;\n }\n\n public close() {\n this.closing$.emit(true);\n }\n\n public selectToday() {\n this.selectDateTime(new Date());\n }\n\n private convertHours(hours) {\n if (this.showAmPm) {\n this.timeSuffix = (hours >= 12) ? 'PM' : 'AM';\n hours = (hours == 0) ? 12 : (hours > 12) ? hours - 12 : hours;\n } else {\n this.timeSuffix = null;\n }\n return (\"0\" + hours).slice(-2);\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./src/datetime-picker.component.ts","import {\n ComponentFactoryResolver, ComponentRef, Directive, EventEmitter, Host,\n Input, OnChanges, OnInit, Optional, Output,\n SimpleChanges, SkipSelf, ViewContainerRef\n} from '@angular/core';\nimport {AbstractControl, ControlContainer, FormGroup, FormGroupDirective} from '@angular/forms';\nimport {NguiDatetimePickerComponent} from './datetime-picker.component';\nimport {NguiDatetime} from './datetime';\n\ndeclare var moment: any;\n\nfunction isInteger(value) {\n if (Number.isInteger) {\n return Number.isInteger(value);\n }\n return typeof value === \"number\" &&\n isFinite(value) &&\n Math.floor(value) === value;\n};\n\nfunction isNaN(value) {\n if (Number.isNaN) {\n return Number.isNaN(value);\n }\n return value !== value;\n};\n\n/**\n * If the given string is not a valid date, it defaults back to today\n */\n@Directive({\n selector : '[ngui-datetime-picker]',\n providers: [NguiDatetime]\n})\nexport class NguiDatetimePickerDirective implements OnInit, OnChanges {\n @Input('date-format') dateFormat: string;\n @Input('parse-format') parseFormat: string;\n @Input('date-only') dateOnly: boolean;\n @Input('time-only') timeOnly: boolean;\n @Input('close-on-select') closeOnSelect: boolean = true;\n @Input('default-value') defaultValue: Date | string;\n @Input('minute-step') minuteStep: number;\n @Input('min-date') minDate: Date | string;\n @Input('max-date') maxDate: Date | string;\n @Input('min-hour') minHour: Date | number;\n @Input('max-hour') maxHour: Date | number;\n @Input('disabled-dates') disabledDates: Date[];\n @Input('show-close-layer') showCloseLayer: boolean;\n @Input('show-today-shortcut') showTodayShortcut: boolean = false;\n @Input('show-week-numbers') showWeekNumbers: boolean;\n @Input() formControlName: string;\n @Input('is-draggable') isDraggable: boolean = true;\n\n @Input('ngModel') ngModel: any;\n @Output('ngModelChange') ngModelChange = new EventEmitter();\n @Output('valueChanged') valueChanged$ = new EventEmitter();\n @Output('popupClosed') popupClosed$ = new EventEmitter();\n\n private el: HTMLInputElement; /* input element */\n private nguiDatetimePickerEl: HTMLElement; /* dropdown element */\n private componentRef:ComponentRef<NguiDatetimePickerComponent>; /* dropdown component reference */\n private ctrl: AbstractControl;\n private sub: any;\n // private justShown: boolean;\n\n inputEl: HTMLInputElement;\n clickedDatetimePicker: boolean;\n userModifyingValue: boolean = false;\n\n constructor (\n private resolver:ComponentFactoryResolver,\n private viewContainerRef:ViewContainerRef,\n @Optional() @Host() @SkipSelf() private parent: ControlContainer\n ) {\n this.el = this.viewContainerRef.element.nativeElement;\n }\n\n /**\n * convert defaultValue, minDate, maxDate, minHour, and maxHour to proper types\n */\n normalizeInput() {\n if (this.defaultValue && typeof this.defaultValue === 'string') {\n let d = NguiDatetime.parseDate(<string>this.defaultValue);\n this.defaultValue = isNaN(d.getTime()) ? new Date() : d;\n }\n\n if (this.minDate && typeof this.minDate == 'string') {\n let d = NguiDatetime.parseDate(<string>this.minDate);\n this.minDate = isNaN(d.getTime()) ? new Date() : d;\n }\n\n if (this.maxDate && typeof this.maxDate == 'string') {\n let d = NguiDatetime.parseDate(<string>this.maxDate);\n this.maxDate = isNaN(d.getTime()) ? new Date() : d;\n }\n\n if (this.minHour) {\n if (this.minHour instanceof Date) {\n this.minHour = (<Date>this.minHour).getHours();\n } else {\n let hour = Number(this.minHour.toString());\n if (!isInteger(hour) || hour > 23 || hour < 0) {\n this.minHour = undefined;\n }\n }\n }\n\n if (this.maxHour) {\n if (this.maxHour instanceof Date) {\n this.maxHour = (<Date>this.maxHour).getHours();\n } else {\n let hour = Number(this.maxHour.toString());\n if (!isInteger(hour) || hour > 23 || hour < 0) {\n this.maxHour = undefined;\n }\n }\n }\n }\n\n ngOnInit ():void {\n if(this.parent && this.formControlName) {\n if (this.parent[\"form\"]) {\n this.ctrl = (<FormGroup>this.parent[\"form\"]).get(this.formControlName);\n } else if (this.parent[\"name\"]) {\n let formDir = this.parent.formDirective;\n if (formDir instanceof FormGroupDirective && formDir.form.get(this.parent[\"name\"])) {\n this.ctrl = formDir.form.get(this.parent[\"name\"]).get(this.formControlName);\n }\n }\n if (this.ctrl) {\n this.sub = this.ctrl.valueChanges.subscribe((date) => {\n this.setInputElDateValue(date);\n this.updateDatepicker();\n });\n }\n }\n\n this.normalizeInput();\n\n //wrap this element with a <div> tag, so that we can position dynamic element correctly\n let wrapper = document.createElement(\"div\");\n wrapper.className = 'ngui-datetime-picker-wrapper';\n this.el.parentElement.insertBefore(wrapper, this.el.nextSibling);\n wrapper.appendChild(this.el);\n\n if (this.ngModel && this.ngModel.getTime) { // if it is a Date object given, set dateValue and toString method\n this.ngModel.toString = () => NguiDatetime.formatDate(this.ngModel, this.dateFormat, this.dateOnly);\n }\n setTimeout( () => { // after [(ngModel)] is applied\n if (this.el.tagName === 'INPUT') {\n this.inputElValueChanged(this.el.value); //set this.el.dateValue and reformat this.el.value\n }\n if(this.ctrl) {\n this.ctrl.markAsPristine();\n }\n });\n }\n\n ngAfterViewInit() {\n // if this element is not an input tag, move dropdown after input tag\n // so that it displays correctly\n this.inputEl = this.el.tagName === \"INPUT\" ?\n <HTMLInputElement>this.el : <HTMLInputElement>this.el.querySelector(\"input\");\n\n if (this.inputEl) {\n this.inputEl.addEventListener('focus', this.showDatetimePicker);\n this.inputEl.addEventListener('blur', this.hideDatetimePicker);\n this.inputEl.addEventListener('keydown', this.handleKeyDown);\n }\n }\n\n handleKeyDown = (event) => {\n this.userModifyingValue = true;\n }\n\n\n ngOnChanges(changes: SimpleChanges) {\n let date;\n if(changes && changes['ngModel']) {\n date = changes['ngModel'].currentValue;\n\n if (date && typeof date !== 'string') {\n date.toString = () => NguiDatetime.formatDate(date, this.dateFormat, this.dateOnly);\n this.setInputElDateValue(date);\n this.updateDatepicker();\n } else if (date && typeof date === 'string') {\n /** if program assigns a string value, then format to date later */\n if (!this.userModifyingValue) {\n setTimeout( () => {\n let dt = this.getDate(date);\n dt.toString = () => NguiDatetime.formatDate(dt, this.dateFormat, this.dateOnly);\n this.ngModel = dt;\n this.inputEl.value = ''+dt;\n })\n }\n }\n } \n this.userModifyingValue = false;\n }\n\n updateDatepicker() {\n if(this.componentRef) {\n let component = this.componentRef.instance;\n component.defaultValue = <Date>this.el['dateValue'];\n }\n }\n\n setInputElDateValue(date) {\n if (typeof date === 'string' && date) {\n this.el['dateValue'] = this.getDate(date);\n } else if (typeof date === 'object') {\n this.el['dateValue'] = date\n } else if (typeof date === 'undefined') {\n this.el['dateValue'] = null;\n }\n\n if(this.ctrl) {\n this.ctrl.markAsDirty();\n }\n }\n\n ngOnDestroy ():void {\n if(this.sub) {\n this.sub.unsubscribe();\n }\n }\n\n /* input element string value is changed */\n inputElValueChanged = (date: string | Date): void => {\n this.setInputElDateValue(date);\n this.el.value = date.toString();\n if(this.ctrl) {\n this.ctrl.patchValue(this.el.value);\n }\n this.ngModel = this.el['dateValue'];\n if (this.ngModel) {\n this.ngModel.toString = () => { return this.el.value; };\n this.ngModelChange.emit(this.ngModel);\n }\n };\n\n //show datetimePicker element below the current element\n showDatetimePicker = (event?): void => {\n if (this.componentRef) { /* if already shown, do nothing */\n return;\n }\n\n let factory = this.resolver.resolveComponentFactory(NguiDatetimePickerComponent);\n\n this.componentRef = this.viewContainerRef.createComponent(factory);\n this.nguiDatetimePickerEl = this.componentRef.location.nativeElement;\n this.nguiDatetimePickerEl.setAttribute('tabindex', '32767');\n this.nguiDatetimePickerEl.setAttribute('draggable', String(this.isDraggable));\n this.nguiDatetimePickerEl.addEventListener('mousedown', (event) => {\n this.clickedDatetimePicker = true\n });\n this.nguiDatetimePickerEl.addEventListener('mouseup', (event) => {\n this.clickedDatetimePicker = false;\n });\n //This is for material design. MD has click event to make blur to happen\n this.nguiDatetimePickerEl.addEventListener('click', (event) => {\n event.stopPropagation();\n });\n this.nguiDatetimePickerEl.addEventListener('blur', (event) => {\n this.hideDatetimePicker();\n });\n this.nguiDatetimePickerEl.addEventListener('dragstart',this.drag_start,false);\n document.body.addEventListener('dragover',this.drag_over,false);\n document.body.addEventListener('drop',this.drop,false); \n\n let component = this.componentRef.instance;\n component.defaultValue = <Date>this.defaultValue || <Date>this.el['dateValue'];\n component.dateFormat = this.dateFormat;\n component.dateOnly = this.dateOnly;\n component.timeOnly = this.timeOnly;\n component.minuteStep = this.minuteStep;\n component.minDate = <Date>this.minDate;\n component.maxDate = <Date>this.maxDate;\n component.minHour = <number>this.minHour;\n component.maxHour = <number>this.maxHour;\n component.disabledDates = this.disabledDates;\n component.showCloseButton = this.closeOnSelect === false;\n component.showCloseLayer = this.showCloseLayer;\n component.showTodayShortcut = this.showTodayShortcut;\n component.showWeekNumbers = this.showWeekNumbers;\n\n this.styleDatetimePicker();\n\n component.selected$.subscribe(this.dateSelected);\n component.closing$.subscribe(() => {\n this.hideDatetimePicker();\n });\n \n //Hack not to fire tab keyup event\n // this.justShown = true;\n // setTimeout(() => this.justShown = false, 100);\n };\n\n dateSelected = (date) => {\n this.el.tagName === 'INPUT' && this.inputElValueChanged(date);\n this.valueChanged$.emit(date);\n if (this.closeOnSelect !== false) {\n this.hideDatetimePicker();\n } else {\n this.nguiDatetimePickerEl.focus();\n }\n };\n\n hideDatetimePicker = (event?): any => {\n if (this.clickedDatetimePicker) {\n return false;\n } else { /* invoked by function call */\n setTimeout(() => { //having exception without setTimeout\n if (this.componentRef) {\n this.componentRef.destroy();\n this.componentRef = undefined;\n }\n this.popupClosed$.emit(true);\n })\n }\n event && event.stopPropagation();\n };\n\n private elementIn (el:Node, containerEl:Node):boolean {\n while (el = el.parentNode) {\n if (el === containerEl) return true;\n }\n return false;\n }\n\n private styleDatetimePicker () {\n // setting position, width, and height of auto complete dropdown\n let thisElBCR = this.el.getBoundingClientRect();\n // this.nguiDatetimePickerEl.style.minWidth = thisElBCR.width + 'px';\n this.nguiDatetimePickerEl.style.position = 'absolute';\n this.nguiDatetimePickerEl.style.zIndex = '1000';\n this.nguiDatetimePickerEl.style.left = '0';\n this.nguiDatetimePickerEl.style.transition = 'height 0.3s ease-in';\n\n this.nguiDatetimePickerEl.style.visibility = 'hidden';\n\n setTimeout(() => {\n let thisElBcr = this.el.getBoundingClientRect();\n let nguiDatetimePickerElBcr = this.nguiDatetimePickerEl.getBoundingClientRect();\n\n if (thisElBcr.bottom + nguiDatetimePickerElBcr.height > window.innerHeight) {\n this.nguiDatetimePickerEl.style.bottom =\n (thisElBcr.bottom - window.innerHeight + 15) + 'px';\n }\n else {\n // otherwise, show below\n this.nguiDatetimePickerEl.style.top = thisElBcr.height + 'px';\n }\n this.nguiDatetimePickerEl.style.visibility = 'visible';\n });\n };\n\n private getDate = (arg: any): Date => {\n let date: Date = <Date>arg;\n if (typeof arg === 'string') {\n date = NguiDatetime.parseDate(arg, this.parseFormat, this.dateFormat);\n }\n return date;\n }\n\n private drag_start = (event) => {\n if (document.activeElement.tagName == 'INPUT') {\n event.preventDefault();\n return false; // block dragging\n }\n var style = window.getComputedStyle(event.target, null);\n event.dataTransfer.setData(\"text/plain\",\n (parseInt(style.getPropertyValue(\"left\"),10) - event.clientX)\n + ',' \n + (parseInt(style.getPropertyValue(\"top\"),10) - event.clientY)\n );\n }\n\n private drag_over(event) {\n event.preventDefault();\n return false;\n } \n\n private drop = (event) => {\n var offset = event.dataTransfer.getData(\"text/plain\").split(',');\n this.nguiDatetimePickerEl.style.left = (event.clientX + parseInt(offset[0],10)) + 'px';\n this.nguiDatetimePickerEl.style.top = (event.clientY + parseInt(offset[1],10)) + 'px';\n this.nguiDatetimePickerEl.style.bottom = '';\n event.preventDefault();\n return false;\n } \n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./src/datetime-picker.directive.ts","import { NgModule } from '@angular/core';\nimport { FormsModule } from \"@angular/forms\";\nimport { CommonModule } from '@angular/common';\n\nimport { NguiDatetime } from './datetime';\nimport { NguiDatetimePickerComponent } from './datetime-picker.component';\nimport { NguiDatetimePickerDirective } from './datetime-picker.directive';\n\n@NgModule({\n imports: [ CommonModule, FormsModule ],\n declarations: [NguiDatetimePickerComponent, NguiDatetimePickerDirective],\n exports: [NguiDatetimePickerComponent, NguiDatetimePickerDirective],\n entryComponents: [NguiDatetimePickerComponent],\n providers: [ NguiDatetime ]\n})\nexport class NguiDatetimePickerModule {}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./src/datetime-picker.module.ts","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory(require(\"@angular/core\"));\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([\"@angular/core\"], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"utils\"] = factory(require(\"@angular/core\"));\n\telse\n\t\troot[\"utils\"] = factory(root[\"@angular/core\"]);\n})(this, function(__WEBPACK_EXTERNAL_MODULE_7__) {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId])\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\texports: {},\n/******/ \t\t\tid: moduleId,\n/******/ \t\t\tloaded: false\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.loaded = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar scroll_to_1 = __webpack_require__(1);\n\texports.scrollTo = scroll_to_1.scrollTo;\n\tvar element_visible_1 = __webpack_require__(2);\n\texports.elementVisible = element_visible_1.elementVisible;\n\tvar computed_style_1 = __webpack_require__(3);\n\texports.computedStyle = computed_style_1.computedStyle;\n\tvar outer_width_1 = __webpack_require__(4);\n\texports.outerWidth = outer_width_1.outerWidth;\n\tvar outer_height_1 = __webpack_require__(5);\n\texports.outerHeight = outer_height_1.outerHeight;\n\tvar html_code_pipe_1 = __webpack_require__(6);\n\texports.HtmlCodePipe = html_code_pipe_1.HtmlCodePipe;\n\tvar javascript_code_pipe_1 = __webpack_require__(8);\n\texports.JavascriptCodePipe = javascript_code_pipe_1.JavascriptCodePipe;\n\tvar utils_module_1 = __webpack_require__(13);\n\texports.NguiUtilsModule = utils_module_1.NguiUtilsModule;\n\n\n/***/ },\n/* 1 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t/**\n\t * scroll to the selector within the parent selector by scrolling 10 times within 500ms\n\t * @param selector\n\t * @param parentSelector\n\t */\n\tfunction scrollTo(selector, parentSelector, horizontal, distance) {\n\t // argument validation\n\t var parentEl, targetEl;\n\t parentSelector = parentSelector || 'body';\n\t targetEl = document.querySelector(selector);\n\t if (!targetEl) {\n\t throw \"Invalid selector \" + selector;\n\t }\n\t parentEl = document.querySelector(parentSelector);\n\t if (!parentEl) {\n\t throw \"Invalid parent selector \" + parentSelector;\n\t }\n\t // detect the current environment\n\t var parentElStyle = window.getComputedStyle(parentEl);\n\t var scrollContainerEl = parentElStyle.overflow === 'auto' ? parentEl : document.body;\n\t var currentScrollTop = scrollContainerEl.scrollTop;\n\t var currentScrollLeft = scrollContainerEl.scrollLeft;\n\t // determine targetOffsetTop(or Left);\n\t var targetOffsetTop;\n\t var targetOffsetLeft;\n\t if (scrollContainerEl === document.body) {\n\t var bodyRect = document.body.getBoundingClientRect();\n\t var targetRect = targetEl.getBoundingClientRect();\n\t targetOffsetTop = targetRect.top - bodyRect.top;\n\t targetOffsetLeft = targetRect.left - bodyRect.left;\n\t }\n\t else {\n\t targetOffsetTop = targetEl.offsetTop;\n\t targetOffsetLeft = targetEl.offsetLeft;\n\t }\n\t if (distance) {\n\t currentScrollTop += distance;\n\t currentScrollLeft += distance;\n\t }\n\t // start scrolling\n\t var step = horizontal ?\n\t Math.ceil((targetOffsetLeft - currentScrollLeft) / 10) :\n\t Math.ceil((targetOffsetTop - currentScrollTop) / 10);\n\t var scrollProp = horizontal ? 'scrollLeft' : 'scrollTop';\n\t (function loop(i, prop) {\n\t setTimeout(function main() {\n\t scrollContainerEl[prop] += step;\n\t i > 1 && loop(i - 1, prop);\n\t }, 50);\n\t }(10, scrollProp));\n\t}\n\texports.scrollTo = scrollTo;\n\n\n/***/ },\n/* 2 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t/**\n\t * Returns an element is visible within outer element\n\t * @param innerEl\n\t * @param outerEl\n\t * @param adjustment\n\t * @returns {{top: boolean, bottom: boolean, left: boolean, right: boolean}}\n\t */\n\tfunction elementVisible(innerElement, outerElement, adjustment) {\n\t var innerEl;\n\t var outerEl;\n\t innerEl = (typeof innerElement === 'string') ?\n\t document.querySelector(innerElement) : innerElement;\n\t outerEl = (typeof outerElement === 'string') ?\n\t document.querySelector(outerElement) : outerElement;\n\t var innerRect = innerEl.getBoundingClientRect();\n\t var bottomAdjustment = (adjustment && adjustment.bottom || 0);\n\t if (outerEl === window) {\n\t return {\n\t top: innerRect.bottom - bottomAdjustment > window.innerHeight\n\t && innerRect.top < window.innerHeight,\n\t bottom: innerRect.bottom - bottomAdjustment > 0\n\t && innerRect.bottom < window.innerHeight,\n\t left: innerRect.right > window.innerWidth\n\t && innerRect.left < window.innerWidth,\n\t right: innerRect.right > 0\n\t && innerRect.right < window.innerWidth\n\t };\n\t }\n\t else {\n\t var outerRect = outerEl.getBoundingClientRect();\n\t var defaultView = (innerEl.ownerDocument || document).defaultView;\n\t var computedStyle = defaultView.getComputedStyle(outerEl, null);\n\t var outerRectBorderTopWidth = parseInt(computedStyle.getPropertyValue('border-top-width'), 10);\n\t var outerRectBorderLeftWidth = parseInt(computedStyle.getPropertyValue('border-left-width'), 10);\n\t /* top is visible or bottom is visible */\n\t var topVisible = (innerRect.top >= outerRect.top\n\t && innerRect.top < outerRect.bottom);\n\t var bottomVisible = (innerRect.bottom > (outerRect.top + outerRectBorderTopWidth)\n\t && innerRect.bottom < outerRect.bottom);\n\t var leftVisible = (innerRect.left >= outerRect.left\n\t && innerRect.left < outerRect.right);\n\t var rightVisible = (innerRect.right > (outerRect.left + outerRectBorderLeftWidth)\n\t && innerRect.right < outerRect.right);\n\t return {\n\t top: topVisible,\n\t bottom: bottomVisible,\n\t left: leftVisible,\n\t right: rightVisible\n\t };\n\t }\n\t}\n\texports.elementVisible = elementVisible;\n\n\n/***/ },\n/* 3 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t/**\n\t * returns coumputed style of given element\n\t * @param el\n\t * @param styleProp\n\t * @returns {any}\n\t */\n\tfunction computedStyle(element, styleProp) {\n\t var el;\n\t el = (typeof element === 'string') ? document.querySelector(element) : element;\n\t var value, defaultView = (el.ownerDocument || document).defaultView;\n\t // W3C standard way:\n\t if (defaultView && defaultView.getComputedStyle) {\n\t // sanitize property name to css notation\n\t // (hypen separated words eg. font-Size)\n\t styleProp = styleProp.replace(/([A-Z])/g, \"-$1\").toLowerCase();\n\t return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);\n\t }\n\t else if (el['currentStyle']) {\n\t // sanitize property name to camelCase\n\t styleProp = styleProp.replace(/\\-(\\w)/g, function (str, letter) {\n\t return letter.toUpperCase();\n\t });\n\t value = el['currentStyle'][styleProp];\n\t // convert other units to pixels on IE\n\t if (/^\\d+(em|pt|%|ex)?$/i.test(value)) {\n\t return (function (value) {\n\t var oldLeft = el.style.left, oldRsLeft = el['runtimeStyle'].left;\n\t el['runtimeStyle'].left = el['currentStyle'].left;\n\t el.style.left = value || 0;\n\t value = el.style['pixelLeft'] + \"px\";\n\t el.style.left = oldLeft;\n\t el['runtimeStyle'].left = oldRsLeft;\n\t return value;\n\t })(value);\n\t }\n\t return value;\n\t }\n\t}\n\texports.computedStyle = computedStyle;\n\n\n/***/ },\n/* 4 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction outerWidth(element) {\n\t var el;\n\t (typeof element === 'string') ? (el = document.querySelector(element)) : element;\n\t var style = getComputedStyle(el);\n\t return el.offsetWidth +\n\t parseInt(style.getPropertyValue('margin-left')) +\n\t parseInt(style.getPropertyValue('margin-right'));\n\t}\n\texports.outerWidth = outerWidth;\n\n\n/***/ },\n/* 5 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\tfunction outerHeight(element) {\n\t var el;\n\t (typeof element === 'string') ? (el = document.querySelector(element)) : element;\n\t var style = getComputedStyle(el);\n\t return el.offsetHeight +\n\t parseInt(style.getPropertyValue('margin-top')) +\n\t parseInt(style.getPropertyValue('margin-bottom'));\n\t}\n\texports.outerHeight = outerHeight;\n\n\n/***/ },\n/* 6 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(7);\n\tvar HtmlCodePipe = (function () {\n\t function HtmlCodePipe() {\n\t }\n\t HtmlCodePipe.prototype.transform = function (html, tagsIncludeExclude) {\n\t var ret;\n\t var tagsInclude = [];\n\t var tagsExclude = [];\n\t (tagsIncludeExclude || '').split(',').forEach(function (tag) {\n\t if (tag.match(/^-/)) {\n\t tag = tag.replace(/^-/, '');\n\t tagsExclude.push(tag);\n\t }\n\t else if (tag !== '') {\n\t tagsInclude.push(tag);\n\t }\n\t });\n\t ret = tagsInclude.length > 0 ? '' : html;\n\t if (tagsInclude.length > 0) {\n\t tagsInclude.forEach(function (tag) {\n\t var regEx = new RegExp(\"<\" + tag + \">([\\\\s\\\\S]*?)</\" + tag + \">\");\n\t var matches = html.match(regEx);\n\t var output = matches[0].replace(/<\\/?ngui-utils-[0-9]+>\\s*/g, ''); //remove <ngui-utils-xxx> and </ngui-utils-xxx>\n\t ret = ret + output;\n\t });\n\t }\n\t if (tagsExclude.length > 0) {\n\t tagsExclude.forEach(function (tag) {\n\t var regEx = new RegExp(\"<\" + tag + \">([\\\\s\\\\S]*?)</\" + tag + \">\");\n\t ret = ret.replace(regEx, '');\n\t });\n\t }\n\t return ret;\n\t };\n\t return HtmlCodePipe;\n\t}());\n\tHtmlCodePipe = __decorate([\n\t core_1.Pipe({ name: 'htmlCode' }),\n\t __metadata(\"design:paramtypes\", [])\n\t], HtmlCodePipe);\n\texports.HtmlCodePipe = HtmlCodePipe;\n\n\n/***/ },\n/* 7 */\n/***/ function(module, exports) {\n\n\tmodule.exports = __WEBPACK_EXTERNAL_MODULE_7__;\n\n/***/ },\n/* 8 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(7);\n\tvar js_beautify = __webpack_require__(9);\n\tvar JavascriptCodePipe = (function () {\n\t function JavascriptCodePipe() {\n\t }\n\t JavascriptCodePipe.prototype.transform = function (value) {\n\t value = value.toString();\n\t var ret = value;\n\t return js_beautify(value);\n\t };\n\t return JavascriptCodePipe;\n\t}());\n\tJavascriptCodePipe = __decorate([\n\t core_1.Pipe({ name: 'jsCode' }),\n\t __metadata(\"design:paramtypes\", [])\n\t], JavascriptCodePipe);\n\texports.JavascriptCodePipe = JavascriptCodePipe;\n\n\n/***/ },\n/* 9 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/**\n\tThe following batches are equivalent:\n\t\n\tvar beautify_js = require('js-beautify');\n\tvar beautify_js = require('js-beautify').js;\n\tvar beautify_js = require('js-beautify').js_beautify;\n\t\n\tvar beautify_css = require('js-beautify').css;\n\tvar beautify_css = require('js-beautify').css_beautify;\n\t\n\tvar beautify_html = require('js-beautify').html;\n\tvar beautify_html = require('js-beautify').html_beautify;\n\t\n\tAll methods returned accept two arguments, the source string and an options object.\n\t**/\n\t\n\tfunction get_beautify(js_beautify, css_beautify, html_beautify) {\n\t // the default is js\n\t var beautify = function(src, config) {\n\t return js_beautify.js_beautify(src, config);\n\t };\n\t\n\t // short aliases\n\t beautify.js = js_beautify.js_beautify;\n\t beautify.css = css_beautify.css_beautify;\n\t beautify.html = html_beautify.html_beautify;\n\t\n\t // legacy aliases\n\t beautify.js_beautify = js_beautify.js_beautify;\n\t beautify.css_beautify = css_beautify.css_beautify;\n\t beautify.html_beautify = html_beautify.html_beautify;\n\t\n\t return beautify;\n\t}\n\t\n\tif (true) {\n\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [\n\t __webpack_require__(10),\n\t __webpack_require__(11),\n\t __webpack_require__(12)\n\t ], __WEBPACK_AMD_DEFINE_RESULT__ = function(js_beautify, css_beautify, html_beautify) {\n\t return get_beautify(js_beautify, css_beautify, html_beautify);\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t} else {\n\t (function(mod) {\n\t var js_beautify = require('./lib/beautify');\n\t var css_beautify = require('./lib/beautify-css');\n\t var html_beautify = require('./lib/beautify-html');\n\t\n\t mod.exports = get_beautify(js_beautify, css_beautify, html_beautify);\n\t\n\t })(module);\n\t}\n\n/***/ },\n/* 10 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t/*\n\t\n\t The MIT License (MIT)\n\t\n\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\n\t Permission is hereby granted, free of charge, to any person\n\t obtaining a copy of this software and associated documentation files\n\t (the \"Software\"), to deal in the Software without restriction,\n\t including without limitation the rights to use, copy, modify, merge,\n\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t and to permit persons to whom the Software is furnished to do so,\n\t subject to the following conditions:\n\t\n\t The above copyright notice and this permission notice shall be\n\t included in all copies or substantial portions of the Software.\n\t\n\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t SOFTWARE.\n\t\n\t JS Beautifier\n\t---------------\n\t\n\t\n\t Written by Einar Lielmanis, <einar@jsbeautifier.org>\n\t http://jsbeautifier.org/\n\t\n\t Originally converted to javascript by Vital, <vital76@gmail.com>\n\t \"End braces on own line\" added by Chris J. Shull, <chrisjshull@gmail.com>\n\t Parsing improvements for brace-less statements by Liam Newman <bitwiseman@gmail.com>\n\t\n\t\n\t Usage:\n\t js_beautify(js_source_text);\n\t js_beautify(js_source_text, options);\n\t\n\t The options are:\n\t indent_size (default 4) - indentation size,\n\t indent_char (default space) - character to indent with,\n\t preserve_newlines (default true) - whether existing line breaks should be preserved,\n\t max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk,\n\t\n\t jslint_happy (default false) - if true, then jslint-stricter mode is enforced.\n\t\n\t jslint_happy !jslint_happy\n\t ---------------------------------\n\t function () function()\n\t\n\t switch () { switch() {\n\t case 1: case 1:\n\t break; break;\n\t } }\n\t\n\t space_after_anon_function (default false) - should the space before an anonymous function's parens be added, \"function()\" vs \"function ()\",\n\t NOTE: This option is overriden by jslint_happy (i.e. if jslint_happy is true, space_after_anon_function is true by design)\n\t\n\t brace_style (default \"collapse\") - \"collapse-preserve-inline\" | \"collapse\" | \"expand\" | \"end-expand\" | \"none\"\n\t put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.\n\t\n\t space_before_conditional (default true) - should the space before conditional statement be added, \"if(true)\" vs \"if (true)\",\n\t\n\t unescape_strings (default false) - should printable characters in strings encoded in \\xNN notation be unescaped, \"example\" vs \"\\x65\\x78\\x61\\x6d\\x70\\x6c\\x65\"\n\t\n\t wrap_line_length (default unlimited) - lines should wrap at next opportunity after this number of characters.\n\t NOTE: This is not a hard limit. Lines will continue until a point where a newline would\n\t be preserved if it were present.\n\t\n\t end_with_newline (default false) - end output with a newline\n\t\n\t\n\t e.g\n\t\n\t js_beautify(js_source_text, {\n\t 'indent_size': 1,\n\t 'indent_char': '\\t'\n\t });\n\t\n\t*/\n\t\n\t// Object.values polyfill found here:\n\t// http://tokenposts.blogspot.com.au/2012/04/javascript-objectkeys-browser.html\n\tif (!Object.values) {\n\t Object.values = function(o) {\n\t if (o !== Object(o)) {\n\t throw new TypeError('Object.values called on a non-object');\n\t }\n\t var k = [],\n\t p;\n\t for (p in o) {\n\t if (Object.prototype.hasOwnProperty.call(o, p)) {\n\t k.push(o[p]);\n\t }\n\t }\n\t return k;\n\t };\n\t}\n\t\n\t(function() {\n\t\n\t function js_beautify(js_source_text, options) {\n\t\n\t var acorn = {};\n\t (function(exports) {\n\t /* jshint curly: false */\n\t // This section of code is taken from acorn.\n\t //\n\t // Acorn was written by Marijn Haverbeke and released under an MIT\n\t // license. The Unicode regexps (for identifiers and whitespace) were\n\t // taken from [Esprima](http://esprima.org) by Ariya Hidayat.\n\t //\n\t // Git repositories for Acorn are available at\n\t //\n\t // http://marijnhaverbeke.nl/git/acorn\n\t // https://github.com/marijnh/acorn.git\n\t\n\t // ## Character categories\n\t\n\t // Big ugly regular expressions that match characters in the\n\t // whitespace, identifier, and identifier-start categories. These\n\t // are only applied when a character is found to actually have a\n\t // code point above 128.\n\t\n\t var nonASCIIwhitespace = /[\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]/; // jshint ignore:line\n\t var nonASCIIidentifierStartChars = \"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\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\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u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\\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-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\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\\u2160-\\u2188\\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-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\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\";\n\t var nonASCIIidentifierChars = \"\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\";\n\t var nonASCIIidentifierStart = new RegExp(\"[\" + nonASCIIidentifierStartChars + \"]\");\n\t var nonASCIIidentifier = new RegExp(\"[\" + nonASCIIidentifierStartChars + nonASCIIidentifierChars + \"]\");\n\t\n\t // Whether a single character denotes a newline.\n\t\n\t exports.newline = /[\\n\\r\\u2028\\u2029]/;\n\t\n\t // Matches a whole line break (where CRLF is considered a single\n\t // line break). Used to count lines.\n\t\n\t // in javascript, these two differ\n\t // in python they are the same, different methods are called on them\n\t exports.lineBreak = new RegExp('\\r\\n|' + exports.newline.source);\n\t exports.allLineBreaks = new RegExp(exports.lineBreak.source, 'g');\n\t\n\t\n\t // Test whether a given character code starts an identifier.\n\t\n\t exports.isIdentifierStart = function(code) {\n\t // permit $ (36) and @ (64). @ is used in ES7 decorators.\n\t if (code < 65) return code === 36 || code === 64;\n\t // 65 through 91 are uppercase letters.\n\t if (code < 91) return true;\n\t // permit _ (95).\n\t if (code < 97) return code === 95;\n\t // 97 through 123 are lowercase letters.\n\t if (code < 123) return true;\n\t return code >= 0xaa && nonASCIIidentifierStart.test(String.fromCharCode(code));\n\t };\n\t\n\t // Test whether a given character is part of an identifier.\n\t\n\t exports.isIdentifierChar = function(code) {\n\t if (code < 48) return code === 36;\n\t if (code < 58) return true;\n\t if (code < 65) return false;\n\t if (code < 91) return true;\n\t if (code < 97) return code === 95;\n\t if (code < 123) return true;\n\t return code >= 0xaa && nonASCIIidentifier.test(String.fromCharCode(code));\n\t };\n\t })(acorn);\n\t /* jshint curly: true */\n\t\n\t function in_array(what, arr) {\n\t for (var i = 0; i < arr.length; i += 1) {\n\t if (arr[i] === what) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t\n\t function trim(s) {\n\t return s.replace(/^\\s+|\\s+$/g, '');\n\t }\n\t\n\t function ltrim(s) {\n\t return s.replace(/^\\s+/g, '');\n\t }\n\t\n\t // function rtrim(s) {\n\t // return s.replace(/\\s+$/g, '');\n\t // }\n\t\n\t function sanitizeOperatorPosition(opPosition) {\n\t opPosition = opPosition || OPERATOR_POSITION.before_newline;\n\t\n\t var validPositionValues = Object.values(OPERATOR_POSITION);\n\t\n\t if (!in_array(opPosition, validPositionValues)) {\n\t throw new Error(\"Invalid Option Value: The option 'operator_position' must be one of the following values\\n\" +\n\t validPositionValues +\n\t \"\\nYou passed in: '\" + opPosition + \"'\");\n\t }\n\t\n\t return opPosition;\n\t }\n\t\n\t var OPERATOR_POSITION = {\n\t before_newline: 'before-newline',\n\t after_newline: 'after-newline',\n\t preserve_newline: 'preserve-newline',\n\t };\n\t\n\t var OPERATOR_POSITION_BEFORE_OR_PRESERVE = [OPERATOR_POSITION.before_newline, OPERATOR_POSITION.preserve_newline];\n\t\n\t var MODE = {\n\t BlockStatement: 'BlockStatement', // 'BLOCK'\n\t Statement: 'Statement', // 'STATEMENT'\n\t ObjectLiteral: 'ObjectLiteral', // 'OBJECT',\n\t ArrayLiteral: 'ArrayLiteral', //'[EXPRESSION]',\n\t ForInitializer: 'ForInitializer', //'(FOR-EXPRESSION)',\n\t Conditional: 'Conditional', //'(COND-EXPRESSION)',\n\t Expression: 'Expression' //'(EXPRESSION)'\n\t };\n\t\n\t function Beautifier(js_source_text, options) {\n\t \"use strict\";\n\t var output;\n\t var tokens = [],\n\t token_pos;\n\t var Tokenizer;\n\t var current_token;\n\t var last_type, last_last_text, indent_string;\n\t var flags, previous_flags, flag_store;\n\t var prefix;\n\t\n\t var handlers, opt;\n\t var baseIndentString = '';\n\t\n\t handlers = {\n\t 'TK_START_EXPR': handle_start_expr,\n\t 'TK_END_EXPR': handle_end_expr,\n\t 'TK_START_BLOCK': handle_start_block,\n\t 'TK_END_BLOCK': handle_end_block,\n\t 'TK_WORD': handle_word,\n\t 'TK_RESERVED': handle_word,\n\t 'TK_SEMICOLON': handle_semicolon,\n\t 'TK_STRING': handle_string,\n\t 'TK_EQUALS': handle_equals,\n\t 'TK_OPERATOR': handle_operator,\n\t 'TK_COMMA': handle_comma,\n\t 'TK_BLOCK_COMMENT': handle_block_comment,\n\t 'TK_COMMENT': handle_comment,\n\t 'TK_DOT': handle_dot,\n\t 'TK_UNKNOWN': handle_unknown,\n\t 'TK_EOF': handle_eof\n\t };\n\t\n\t function create_flags(flags_base, mode) {\n\t var next_indent_level = 0;\n\t if (flags_base) {\n\t next_indent_level = flags_base.indentation_level;\n\t if (!output.just_added_newline() &&\n\t flags_base.line_indent_level > next_indent_level) {\n\t next_indent_level = flags_base.line_indent_level;\n\t }\n\t }\n\t\n\t var next_flags = {\n\t mode: mode,\n\t parent: flags_base,\n\t last_text: flags_base ? flags_base.last_text : '', // last token text\n\t last_word: flags_base ? flags_base.last_word : '', // last 'TK_WORD' passed\n\t declaration_statement: false,\n\t declaration_assignment: false,\n\t multiline_frame: false,\n\t inline_frame: false,\n\t if_block: false,\n\t else_block: false,\n\t do_block: false,\n\t do_while: false,\n\t import_block: false,\n\t in_case_statement: false, // switch(..){ INSIDE HERE }\n\t in_case: false, // we're on the exact line with \"case 0:\"\n\t case_body: false, // the indented case-action block\n\t indentation_level: next_indent_level,\n\t line_indent_level: flags_base ? flags_base.line_indent_level : next_indent_level,\n\t start_line_index: output.get_line_number(),\n\t ternary_depth: 0\n\t };\n\t return next_flags;\n\t }\n\t\n\t // Some interpreters have unexpected results with foo = baz || bar;\n\t options = options ? options : {};\n\t opt = {};\n\t\n\t // compatibility\n\t if (options.braces_on_own_line !== undefined) { //graceful handling of deprecated option\n\t opt.brace_style = options.braces_on_own_line ? \"expand\" : \"collapse\";\n\t }\n\t opt.brace_style = options.brace_style ? options.brace_style : (opt.brace_style ? opt.brace_style : \"collapse\");\n\t\n\t // graceful handling of deprecated option\n\t if (opt.brace_style === \"expand-strict\") {\n\t opt.brace_style = \"expand\";\n\t }\n\t\n\t opt.indent_size = options.indent_size ? parseInt(options.indent_size, 10) : 4;\n\t opt.indent_char = options.indent_char ? options.indent_char : ' ';\n\t opt.eol = options.eol ? options.eol : 'auto';\n\t opt.preserve_newlines = (options.preserve_newlines === undefined) ? true : options.preserve_newlines;\n\t opt.break_chained_methods = (options.break_chained_methods === undefined) ? false : options.break_chained_methods;\n\t opt.max_preserve_newlines = (options.max_preserve_newlines === undefined) ? 0 : parseInt(options.max_preserve_newlines, 10);\n\t opt.space_in_paren = (options.space_in_paren === undefined) ? false : options.space_in_paren;\n\t opt.space_in_empty_paren = (options.space_in_empty_paren === undefined) ? false : options.space_in_empty_paren;\n\t opt.jslint_happy = (options.jslint_happy === undefined) ? false : options.jslint_happy;\n\t opt.space_after_anon_function = (options.space_after_anon_function === undefined) ? false : options.space_after_anon_function;\n\t opt.keep_array_indentation = (options.keep_array_indentation === undefined) ? false : options.keep_array_indentation;\n\t opt.space_before_conditional = (options.space_before_conditional === undefined) ? true : options.space_before_conditional;\n\t opt.unescape_strings = (options.unescape_strings === undefined) ? false : options.unescape_strings;\n\t opt.wrap_line_length = (options.wrap_line_length === undefined) ? 0 : parseInt(options.wrap_line_length, 10);\n\t opt.e4x = (options.e4x === undefined) ? false : options.e4x;\n\t opt.end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t opt.comma_first = (options.comma_first === undefined) ? false : options.comma_first;\n\t opt.operator_position = sanitizeOperatorPosition(options.operator_position);\n\t\n\t // For testing of beautify ignore:start directive\n\t opt.test_output_raw = (options.test_output_raw === undefined) ? false : options.test_output_raw;\n\t\n\t // force opt.space_after_anon_function to true if opt.jslint_happy\n\t if (opt.jslint_happy) {\n\t opt.space_after_anon_function = true;\n\t }\n\t\n\t if (options.indent_with_tabs) {\n\t opt.indent_char = '\\t';\n\t opt.indent_size = 1;\n\t }\n\t\n\t if (opt.eol === 'auto') {\n\t opt.eol = '\\n';\n\t if (js_source_text && acorn.lineBreak.test(js_source_text || '')) {\n\t opt.eol = js_source_text.match(acorn.lineBreak)[0];\n\t }\n\t }\n\t\n\t opt.eol = opt.eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\n\t //----------------------------------\n\t indent_string = '';\n\t while (opt.indent_size > 0) {\n\t indent_string += opt.indent_char;\n\t opt.indent_size -= 1;\n\t }\n\t\n\t var preindent_index = 0;\n\t if (js_source_text && js_source_text.length) {\n\t while ((js_source_text.charAt(preindent_index) === ' ' ||\n\t js_source_text.charAt(preindent_index) === '\\t')) {\n\t baseIndentString += js_source_text.charAt(preindent_index);\n\t preindent_index += 1;\n\t }\n\t js_source_text = js_source_text.substring(preindent_index);\n\t }\n\t\n\t last_type = 'TK_START_BLOCK'; // last token type\n\t last_last_text = ''; // pre-last token text\n\t output = new Output(indent_string, baseIndentString);\n\t\n\t // If testing the ignore directive, start with output disable set to true\n\t output.raw = opt.test_output_raw;\n\t\n\t\n\t // Stack of parsing/formatting states, including MODE.\n\t // We tokenize, parse, and output in an almost purely a forward-only stream of token input\n\t // and formatted output. This makes the beautifier less accurate than full parsers\n\t // but also far more tolerant of syntax errors.\n\t //\n\t // For example, the default mode is MODE.BlockStatement. If we see a '{' we push a new frame of type\n\t // MODE.BlockStatement on the the stack, even though it could be object literal. If we later\n\t // encounter a \":\", we'll switch to to MODE.ObjectLiteral. If we then see a \";\",\n\t // most full parsers would die, but the beautifier gracefully falls back to\n\t // MODE.BlockStatement and continues on.\n\t flag_store = [];\n\t set_mode(MODE.BlockStatement);\n\t\n\t this.beautify = function() {\n\t\n\t /*jshint onevar:true */\n\t var local_token, sweet_code;\n\t Tokenizer = new tokenizer(js_source_text, opt, indent_string);\n\t tokens = Tokenizer.tokenize();\n\t token_pos = 0;\n\t\n\t function get_local_token() {\n\t local_token = get_token();\n\t return local_token;\n\t }\n\t\n\t while (get_local_token()) {\n\t for (var i = 0; i < local_token.comments_before.length; i++) {\n\t // The cleanest handling of inline comments is to treat them as though they aren't there.\n\t // Just continue formatting and the behavior should be logical.\n\t // Also ignore unknown tokens. Again, this should result in better behavior.\n\t handle_token(local_token.comments_before[i]);\n\t }\n\t handle_token(local_token);\n\t\n\t last_last_text = flags.last_text;\n\t last_type = local_token.type;\n\t flags.last_text = local_token.text;\n\t\n\t token_pos += 1;\n\t }\n\t\n\t sweet_code = output.get_code();\n\t if (opt.end_with_newline) {\n\t sweet_code += '\\n';\n\t }\n\t\n\t if (opt.eol !== '\\n') {\n\t sweet_code = sweet_code.replace(/[\\n]/g, opt.eol);\n\t }\n\t\n\t return sweet_code;\n\t };\n\t\n\t function handle_token(local_token) {\n\t var newlines = local_token.newlines;\n\t var keep_whitespace = opt.keep_array_indentation && is_array(flags.mode);\n\t\n\t if (keep_whitespace) {\n\t for (var i = 0; i < newlines; i += 1) {\n\t print_newline(i > 0);\n\t }\n\t } else {\n\t if (opt.max_preserve_newlines && newlines > opt.max_preserve_newlines) {\n\t newlines = opt.max_preserve_newlines;\n\t }\n\t\n\t if (opt.preserve_newlines) {\n\t if (local_token.newlines > 1) {\n\t print_newline();\n\t for (var j = 1; j < newlines; j += 1) {\n\t print_newline(true);\n\t }\n\t }\n\t }\n\t }\n\t\n\t current_token = local_token;\n\t handlers[current_token.type]();\n\t }\n\t\n\t // we could use just string.split, but\n\t // IE doesn't like returning empty strings\n\t function split_linebreaks(s) {\n\t //return s.split(/\\x0d\\x0a|\\x0a/);\n\t\n\t s = s.replace(acorn.allLineBreaks, '\\n');\n\t var out = [],\n\t idx = s.indexOf(\"\\n\");\n\t while (idx !== -1) {\n\t out.push(s.substring(0, idx));\n\t s = s.substring(idx + 1);\n\t idx = s.indexOf(\"\\n\");\n\t }\n\t if (s.length) {\n\t out.push(s);\n\t }\n\t return out;\n\t }\n\t\n\t var newline_restricted_tokens = ['break', 'continue', 'return', 'throw'];\n\t\n\t function allow_wrap_or_preserved_newline(force_linewrap) {\n\t force_linewrap = (force_linewrap === undefined) ? false : force_linewrap;\n\t\n\t // Never wrap the first token on a line\n\t if (output.just_added_newline()) {\n\t return;\n\t }\n\t\n\t var shouldPreserveOrForce = (opt.preserve_newlines && current_token.wanted_newline) || force_linewrap;\n\t var operatorLogicApplies = in_array(flags.last_text, Tokenizer.positionable_operators) || in_array(current_token.text, Tokenizer.positionable_operators);\n\t\n\t if (operatorLogicApplies) {\n\t var shouldPrintOperatorNewline = (\n\t in_array(flags.last_text, Tokenizer.positionable_operators) &&\n\t in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)\n\t ) ||\n\t in_array(current_token.text, Tokenizer.positionable_operators);\n\t shouldPreserveOrForce = shouldPreserveOrForce && shouldPrintOperatorNewline;\n\t }\n\t\n\t if (shouldPreserveOrForce) {\n\t print_newline(false, true);\n\t } else if (opt.wrap_line_length) {\n\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, newline_restricted_tokens)) {\n\t // These tokens should never have a newline inserted\n\t // between them and the following expression.\n\t return;\n\t }\n\t var proposed_line_length = output.current_line.get_character_count() + current_token.text.length +\n\t (output.space_before_token ? 1 : 0);\n\t if (proposed_line_length >= opt.wrap_line_length) {\n\t print_newline(false, true);\n\t }\n\t }\n\t }\n\t\n\t function print_newline(force_newline, preserve_statement_flags) {\n\t if (!preserve_statement_flags) {\n\t if (flags.last_text !== ';' && flags.last_text !== ',' && flags.last_text !== '=' && last_type !== 'TK_OPERATOR') {\n\t while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n\t restore_mode();\n\t }\n\t }\n\t }\n\t\n\t if (output.add_new_line(force_newline)) {\n\t flags.multiline_frame = true;\n\t }\n\t }\n\t\n\t function print_token_line_indentation() {\n\t if (output.just_added_newline()) {\n\t if (opt.keep_array_indentation && is_array(flags.mode) && current_token.wanted_newline) {\n\t output.current_line.push(current_token.whitespace_before);\n\t output.space_before_token = false;\n\t } else if (output.set_indent(flags.indentation_level)) {\n\t flags.line_indent_level = flags.indentation_level;\n\t }\n\t }\n\t }\n\t\n\t function print_token(printable_token) {\n\t if (output.raw) {\n\t output.add_raw_token(current_token);\n\t return;\n\t }\n\t\n\t if (opt.comma_first && last_type === 'TK_COMMA' &&\n\t output.just_added_newline()) {\n\t if (output.previous_line.last() === ',') {\n\t var popped = output.previous_line.pop();\n\t // if the comma was already at the start of the line,\n\t // pull back onto that line and reprint the indentation\n\t if (output.previous_line.is_empty()) {\n\t output.previous_line.push(popped);\n\t output.trim(true);\n\t output.current_line.pop();\n\t output.trim();\n\t }\n\t\n\t // add the comma in front of the next token\n\t print_token_line_indentation();\n\t output.add_token(',');\n\t output.space_before_token = true;\n\t }\n\t }\n\t\n\t printable_token = printable_token || current_token.text;\n\t print_token_line_indentation();\n\t output.add_token(printable_token);\n\t }\n\t\n\t function indent() {\n\t flags.indentation_level += 1;\n\t }\n\t\n\t function deindent() {\n\t if (flags.indentation_level > 0 &&\n\t ((!flags.parent) || flags.indentation_level > flags.parent.indentation_level)) {\n\t flags.indentation_level -= 1;\n\t\n\t }\n\t }\n\t\n\t function set_mode(mode) {\n\t if (flags) {\n\t flag_store.push(flags);\n\t previous_flags = flags;\n\t } else {\n\t previous_flags = create_flags(null, mode);\n\t }\n\t\n\t flags = create_flags(previous_flags, mode);\n\t }\n\t\n\t function is_array(mode) {\n\t return mode === MODE.ArrayLiteral;\n\t }\n\t\n\t function is_expression(mode) {\n\t return in_array(mode, [MODE.Expression, MODE.ForInitializer, MODE.Conditional]);\n\t }\n\t\n\t function restore_mode() {\n\t if (flag_store.length > 0) {\n\t previous_flags = flags;\n\t flags = flag_store.pop();\n\t if (previous_flags.mode === MODE.Statement) {\n\t output.remove_redundant_indentation(previous_flags);\n\t }\n\t }\n\t }\n\t\n\t function start_of_object_property() {\n\t return flags.parent.mode === MODE.ObjectLiteral && flags.mode === MODE.Statement && (\n\t (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set'])));\n\t }\n\t\n\t function start_of_statement() {\n\t if (\n\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') ||\n\t (last_type === 'TK_RESERVED' && flags.last_text === 'do') ||\n\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw']) && !current_token.wanted_newline) ||\n\t (last_type === 'TK_RESERVED' && flags.last_text === 'else' && !(current_token.type === 'TK_RESERVED' && current_token.text === 'if')) ||\n\t (last_type === 'TK_END_EXPR' && (previous_flags.mode === MODE.ForInitializer || previous_flags.mode === MODE.Conditional)) ||\n\t (last_type === 'TK_WORD' && flags.mode === MODE.BlockStatement &&\n\t !flags.in_case &&\n\t !(current_token.text === '--' || current_token.text === '++') &&\n\t last_last_text !== 'function' &&\n\t current_token.type !== 'TK_WORD' && current_token.type !== 'TK_RESERVED') ||\n\t (flags.mode === MODE.ObjectLiteral && (\n\t (flags.last_text === ':' && flags.ternary_depth === 0) || (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set']))))\n\t ) {\n\t\n\t set_mode(MODE.Statement);\n\t indent();\n\t\n\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const']) && current_token.type === 'TK_WORD') {\n\t flags.declaration_statement = true;\n\t }\n\t\n\t // Issue #276:\n\t // If starting a new statement with [if, for, while, do], push to a new line.\n\t // if (a) if (b) if(c) d(); else e(); else f();\n\t if (!start_of_object_property()) {\n\t allow_wrap_or_preserved_newline(\n\t current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['do', 'for', 'if', 'while']));\n\t }\n\t\n\t return true;\n\t }\n\t return false;\n\t }\n\t\n\t function all_lines_start_with(lines, c) {\n\t for (var i = 0; i < lines.length; i++) {\n\t var line = trim(lines[i]);\n\t if (line.charAt(0) !== c) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t function each_line_matches_indent(lines, indent) {\n\t var i = 0,\n\t len = lines.length,\n\t line;\n\t for (; i < len; i++) {\n\t line = lines[i];\n\t // allow empty lines to pass through\n\t if (line && line.indexOf(indent) !== 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\t\n\t function is_special_word(word) {\n\t return in_array(word, ['case', 'return', 'do', 'if', 'throw', 'else']);\n\t }\n\t\n\t function get_token(offset) {\n\t var index = token_pos + (offset || 0);\n\t return (index < 0 || index >= tokens.length) ? null : tokens[index];\n\t }\n\t\n\t function handle_start_expr() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t }\n\t\n\t var next_mode = MODE.Expression;\n\t if (current_token.text === '[') {\n\t\n\t if (last_type === 'TK_WORD' || flags.last_text === ')') {\n\t // this is array index specifier, break immediately\n\t // a[x], fn()[x]\n\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, Tokenizer.line_starters)) {\n\t output.space_before_token = true;\n\t }\n\t set_mode(next_mode);\n\t print_token();\n\t indent();\n\t if (opt.space_in_paren) {\n\t output.space_before_token = true;\n\t }\n\t return;\n\t }\n\t\n\t next_mode = MODE.ArrayLiteral;\n\t if (is_array(flags.mode)) {\n\t if (flags.last_text === '[' ||\n\t (flags.last_text === ',' && (last_last_text === ']' || last_last_text === '}'))) {\n\t // ], [ goes to new line\n\t // }, [ goes to new line\n\t if (!opt.keep_array_indentation) {\n\t print_newline();\n\t }\n\t }\n\t }\n\t\n\t } else {\n\t if (last_type === 'TK_RESERVED' && flags.last_text === 'for') {\n\t next_mode = MODE.ForInitializer;\n\t } else if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['if', 'while'])) {\n\t next_mode = MODE.Conditional;\n\t } else {\n\t // next_mode = MODE.Expression;\n\t }\n\t }\n\t\n\t if (flags.last_text === ';' || last_type === 'TK_START_BLOCK') {\n\t print_newline();\n\t } else if (last_type === 'TK_END_EXPR' || last_type === 'TK_START_EXPR' || last_type === 'TK_END_BLOCK' || flags.last_text === '.') {\n\t // TODO: Consider whether forcing this is required. Review failing tests when removed.\n\t allow_wrap_or_preserved_newline(current_token.wanted_newline);\n\t // do nothing on (( and )( and ][ and ]( and .(\n\t } else if (!(last_type === 'TK_RESERVED' && current_token.text === '(') && last_type !== 'TK_WORD' && last_type !== 'TK_OPERATOR') {\n\t output.space_before_token = true;\n\t } else if ((last_type === 'TK_RESERVED' && (flags.last_word === 'function' || flags.last_word === 'typeof')) ||\n\t (flags.last_text === '*' &&\n\t (in_array(last_last_text, ['function', 'yield']) ||\n\t (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n\t // function() vs function ()\n\t // yield*() vs yield* ()\n\t // function*() vs function* ()\n\t if (opt.space_after_anon_function) {\n\t output.space_before_token = true;\n\t }\n\t } else if (last_type === 'TK_RESERVED' && (in_array(flags.last_text, Tokenizer.line_starters) || flags.last_text === 'catch')) {\n\t if (opt.space_before_conditional) {\n\t output.space_before_token = true;\n\t }\n\t }\n\t\n\t // Should be a space between await and an IIFE\n\t if (current_token.text === '(' && last_type === 'TK_RESERVED' && flags.last_word === 'await') {\n\t output.space_before_token = true;\n\t }\n\t\n\t // Support of this kind of newline preservation.\n\t // a = (b &&\n\t // (c || d));\n\t if (current_token.text === '(') {\n\t if (last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t if (!start_of_object_property()) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t }\n\t }\n\t\n\t // Support preserving wrapped arrow function expressions\n\t // a.b('c',\n\t // () => d.e\n\t // )\n\t if (current_token.text === '(' && last_type !== 'TK_WORD' && last_type !== 'TK_RESERVED') {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t\n\t set_mode(next_mode);\n\t print_token();\n\t if (opt.space_in_paren) {\n\t output.space_before_token = true;\n\t }\n\t\n\t // In all cases, if we newline while inside an expression it should be indented.\n\t indent();\n\t }\n\t\n\t function handle_end_expr() {\n\t // statements inside expressions are not valid syntax, but...\n\t // statements must all be closed when their container closes\n\t while (flags.mode === MODE.Statement) {\n\t restore_mode();\n\t }\n\t\n\t if (flags.multiline_frame) {\n\t allow_wrap_or_preserved_newline(current_token.text === ']' && is_array(flags.mode) && !opt.keep_array_indentation);\n\t }\n\t\n\t if (opt.space_in_paren) {\n\t if (last_type === 'TK_START_EXPR' && !opt.space_in_empty_paren) {\n\t // () [] no inner space in empty parens like these, ever, ref #320\n\t output.trim();\n\t output.space_before_token = false;\n\t } else {\n\t output.space_before_token = true;\n\t }\n\t }\n\t if (current_token.text === ']' && opt.keep_array_indentation) {\n\t print_token();\n\t restore_mode();\n\t } else {\n\t restore_mode();\n\t print_token();\n\t }\n\t output.remove_redundant_indentation(previous_flags);\n\t\n\t // do {} while () // no statement required after\n\t if (flags.do_while && previous_flags.mode === MODE.Conditional) {\n\t previous_flags.mode = MODE.Expression;\n\t flags.do_block = false;\n\t flags.do_while = false;\n\t\n\t }\n\t }\n\t\n\t function handle_start_block() {\n\t // Check if this is should be treated as a ObjectLiteral\n\t var next_token = get_token(1);\n\t var second_token = get_token(2);\n\t if (second_token && (\n\t (in_array(second_token.text, [':', ',']) && in_array(next_token.type, ['TK_STRING', 'TK_WORD', 'TK_RESERVED'])) ||\n\t (in_array(next_token.text, ['get', 'set']) && in_array(second_token.type, ['TK_WORD', 'TK_RESERVED']))\n\t )) {\n\t // We don't support TypeScript,but we didn't break it for a very long time.\n\t // We'll try to keep not breaking it.\n\t if (!in_array(last_last_text, ['class', 'interface'])) {\n\t set_mode(MODE.ObjectLiteral);\n\t } else {\n\t set_mode(MODE.BlockStatement);\n\t }\n\t } else if (last_type === 'TK_OPERATOR' && flags.last_text === '=>') {\n\t // arrow function: (param1, paramN) => { statements }\n\t set_mode(MODE.BlockStatement);\n\t } else if (in_array(last_type, ['TK_EQUALS', 'TK_START_EXPR', 'TK_COMMA', 'TK_OPERATOR']) ||\n\t (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['return', 'throw', 'import', 'default']))\n\t ) {\n\t // Detecting shorthand function syntax is difficult by scanning forward,\n\t // so check the surrounding context.\n\t // If the block is being returned, imported, export default, passed as arg,\n\t // assigned with = or assigned in a nested object, treat as an ObjectLiteral.\n\t set_mode(MODE.ObjectLiteral);\n\t } else {\n\t set_mode(MODE.BlockStatement);\n\t }\n\t\n\t var empty_braces = !next_token.comments_before.length && next_token.text === '}';\n\t var empty_anonymous_function = empty_braces && flags.last_word === 'function' &&\n\t last_type === 'TK_END_EXPR';\n\t\n\t\n\t if (opt.brace_style === \"expand\" ||\n\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t if (last_type !== 'TK_OPERATOR' &&\n\t (empty_anonymous_function ||\n\t last_type === 'TK_EQUALS' ||\n\t (last_type === 'TK_RESERVED' && is_special_word(flags.last_text) && flags.last_text !== 'else'))) {\n\t output.space_before_token = true;\n\t } else {\n\t print_newline(false, true);\n\t }\n\t } else { // collapse\n\t if (opt.brace_style === 'collapse-preserve-inline') {\n\t // search forward for a newline wanted inside this block\n\t var index = 0;\n\t var check_token = null;\n\t flags.inline_frame = true;\n\t do {\n\t index += 1;\n\t check_token = get_token(index);\n\t if (check_token.wanted_newline) {\n\t flags.inline_frame = false;\n\t break;\n\t }\n\t } while (check_token.type !== 'TK_EOF' &&\n\t !(check_token.type === 'TK_END_BLOCK' && check_token.opened === current_token));\n\t }\n\t\n\t if (is_array(previous_flags.mode) && (last_type === 'TK_START_EXPR' || last_type === 'TK_COMMA')) {\n\t // if we're preserving inline,\n\t // allow newline between comma and next brace.\n\t if (last_type === 'TK_COMMA' || opt.space_in_paren) {\n\t output.space_before_token = true;\n\t }\n\t\n\t if (opt.brace_style === 'collapse-preserve-inline' &&\n\t (last_type === 'TK_COMMA' || (last_type === 'TK_START_EXPR' && flags.inline_frame))) {\n\t allow_wrap_or_preserved_newline();\n\t previous_flags.multiline_frame = previous_flags.multiline_frame || flags.multiline_frame;\n\t flags.multiline_frame = false;\n\t }\n\t } else if (last_type !== 'TK_OPERATOR' && last_type !== 'TK_START_EXPR') {\n\t if (last_type === 'TK_START_BLOCK') {\n\t print_newline();\n\t } else {\n\t output.space_before_token = true;\n\t }\n\t }\n\t }\n\t print_token();\n\t indent();\n\t }\n\t\n\t function handle_end_block() {\n\t // statements must all be closed when their container closes\n\t while (flags.mode === MODE.Statement) {\n\t restore_mode();\n\t }\n\t var empty_braces = last_type === 'TK_START_BLOCK';\n\t\n\t if (opt.brace_style === \"expand\") {\n\t if (!empty_braces) {\n\t print_newline();\n\t }\n\t } else {\n\t // skip {}\n\t if (!empty_braces) {\n\t if (flags.inline_frame) {\n\t output.space_before_token = true;\n\t } else if (is_array(flags.mode) && opt.keep_array_indentation) {\n\t // we REALLY need a newline here, but newliner would skip that\n\t opt.keep_array_indentation = false;\n\t print_newline();\n\t opt.keep_array_indentation = true;\n\t\n\t } else {\n\t print_newline();\n\t }\n\t }\n\t }\n\t restore_mode();\n\t print_token();\n\t }\n\t\n\t function handle_word() {\n\t if (current_token.type === 'TK_RESERVED') {\n\t if (in_array(current_token.text, ['set', 'get']) && flags.mode !== MODE.ObjectLiteral) {\n\t current_token.type = 'TK_WORD';\n\t } else if (in_array(current_token.text, ['as', 'from']) && !flags.import_block) {\n\t current_token.type = 'TK_WORD';\n\t } else if (flags.mode === MODE.ObjectLiteral) {\n\t var next_token = get_token(1);\n\t if (next_token.text === ':') {\n\t current_token.type = 'TK_WORD';\n\t }\n\t }\n\t }\n\t\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t } else if (current_token.wanted_newline && !is_expression(flags.mode) &&\n\t (last_type !== 'TK_OPERATOR' || (flags.last_text === '--' || flags.last_text === '++')) &&\n\t last_type !== 'TK_EQUALS' &&\n\t (opt.preserve_newlines || !(last_type === 'TK_RESERVED' && in_array(flags.last_text, ['var', 'let', 'const', 'set', 'get'])))) {\n\t\n\t print_newline();\n\t }\n\t\n\t if (flags.do_block && !flags.do_while) {\n\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'while') {\n\t // do {} ## while ()\n\t output.space_before_token = true;\n\t print_token();\n\t output.space_before_token = true;\n\t flags.do_while = true;\n\t return;\n\t } else {\n\t // do {} should always have while as the next word.\n\t // if we don't see the expected while, recover\n\t print_newline();\n\t flags.do_block = false;\n\t }\n\t }\n\t\n\t // if may be followed by else, or not\n\t // Bare/inline ifs are tricky\n\t // Need to unwind the modes correctly: if (a) if (b) c(); else d(); else e();\n\t if (flags.if_block) {\n\t if (!flags.else_block && (current_token.type === 'TK_RESERVED' && current_token.text === 'else')) {\n\t flags.else_block = true;\n\t } else {\n\t while (flags.mode === MODE.Statement) {\n\t restore_mode();\n\t }\n\t flags.if_block = false;\n\t flags.else_block = false;\n\t }\n\t }\n\t\n\t if (current_token.type === 'TK_RESERVED' && (current_token.text === 'case' || (current_token.text === 'default' && flags.in_case_statement))) {\n\t print_newline();\n\t if (flags.case_body || opt.jslint_happy) {\n\t // switch cases following one another\n\t deindent();\n\t flags.case_body = false;\n\t }\n\t print_token();\n\t flags.in_case = true;\n\t flags.in_case_statement = true;\n\t return;\n\t }\n\t\n\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'function') {\n\t if (in_array(flags.last_text, ['}', ';']) || (output.just_added_newline() && !in_array(flags.last_text, ['[', '{', ':', '=', ',']))) {\n\t // make sure there is a nice clean space of at least one blank line\n\t // before a new function definition\n\t if (!output.just_added_blankline() && !current_token.comments_before.length) {\n\t print_newline();\n\t print_newline(true);\n\t }\n\t }\n\t if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD') {\n\t if (last_type === 'TK_RESERVED' && in_array(flags.last_text, ['get', 'set', 'new', 'return', 'export', 'async'])) {\n\t output.space_before_token = true;\n\t } else if (last_type === 'TK_RESERVED' && flags.last_text === 'default' && last_last_text === 'export') {\n\t output.space_before_token = true;\n\t } else {\n\t print_newline();\n\t }\n\t } else if (last_type === 'TK_OPERATOR' || flags.last_text === '=') {\n\t // foo = function\n\t output.space_before_token = true;\n\t } else if (!flags.multiline_frame && (is_expression(flags.mode) || is_array(flags.mode))) {\n\t // (function\n\t } else {\n\t print_newline();\n\t }\n\t }\n\t\n\t if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t if (!start_of_object_property()) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t }\n\t\n\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['function', 'get', 'set'])) {\n\t print_token();\n\t flags.last_word = current_token.text;\n\t return;\n\t }\n\t\n\t prefix = 'NONE';\n\t\n\t if (last_type === 'TK_END_BLOCK') {\n\t\n\t if (!(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally', 'from']))) {\n\t prefix = 'NEWLINE';\n\t } else {\n\t if (opt.brace_style === \"expand\" ||\n\t opt.brace_style === \"end-expand\" ||\n\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t prefix = 'NEWLINE';\n\t } else {\n\t prefix = 'SPACE';\n\t output.space_before_token = true;\n\t }\n\t }\n\t } else if (last_type === 'TK_SEMICOLON' && flags.mode === MODE.BlockStatement) {\n\t // TODO: Should this be for STATEMENT as well?\n\t prefix = 'NEWLINE';\n\t } else if (last_type === 'TK_SEMICOLON' && is_expression(flags.mode)) {\n\t prefix = 'SPACE';\n\t } else if (last_type === 'TK_STRING') {\n\t prefix = 'NEWLINE';\n\t } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' ||\n\t (flags.last_text === '*' &&\n\t (in_array(last_last_text, ['function', 'yield']) ||\n\t (flags.mode === MODE.ObjectLiteral && in_array(last_last_text, ['{', ',']))))) {\n\t prefix = 'SPACE';\n\t } else if (last_type === 'TK_START_BLOCK') {\n\t if (flags.inline_frame) {\n\t prefix = 'SPACE';\n\t } else {\n\t prefix = 'NEWLINE';\n\t }\n\t } else if (last_type === 'TK_END_EXPR') {\n\t output.space_before_token = true;\n\t prefix = 'NEWLINE';\n\t }\n\t\n\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n\t if (flags.inline_frame || flags.last_text === 'else' || flags.last_text === 'export') {\n\t prefix = 'SPACE';\n\t } else {\n\t prefix = 'NEWLINE';\n\t }\n\t\n\t }\n\t\n\t if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['else', 'catch', 'finally'])) {\n\t if (!(last_type === 'TK_END_BLOCK' && previous_flags.mode === MODE.BlockStatement) ||\n\t opt.brace_style === \"expand\" ||\n\t opt.brace_style === \"end-expand\" ||\n\t (opt.brace_style === \"none\" && current_token.wanted_newline)) {\n\t print_newline();\n\t } else {\n\t output.trim(true);\n\t var line = output.current_line;\n\t // If we trimmed and there's something other than a close block before us\n\t // put a newline back in. Handles '} // comment' scenario.\n\t if (line.last() !== '}') {\n\t print_newline();\n\t }\n\t output.space_before_token = true;\n\t }\n\t } else if (prefix === 'NEWLINE') {\n\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t // no newline between 'return nnn'\n\t output.space_before_token = true;\n\t } else if (last_type !== 'TK_END_EXPR') {\n\t if ((last_type !== 'TK_START_EXPR' || !(current_token.type === 'TK_RESERVED' && in_array(current_token.text, ['var', 'let', 'const']))) && flags.last_text !== ':') {\n\t // no need to force newline on 'var': for (var x = 0...)\n\t if (current_token.type === 'TK_RESERVED' && current_token.text === 'if' && flags.last_text === 'else') {\n\t // no newline for } else if {\n\t output.space_before_token = true;\n\t } else {\n\t print_newline();\n\t }\n\t }\n\t } else if (current_token.type === 'TK_RESERVED' && in_array(current_token.text, Tokenizer.line_starters) && flags.last_text !== ')') {\n\t print_newline();\n\t }\n\t } else if (flags.multiline_frame && is_array(flags.mode) && flags.last_text === ',' && last_last_text === '}') {\n\t print_newline(); // }, in lists get a newline treatment\n\t } else if (prefix === 'SPACE') {\n\t output.space_before_token = true;\n\t }\n\t print_token();\n\t flags.last_word = current_token.text;\n\t\n\t if (current_token.type === 'TK_RESERVED') {\n\t if (current_token.text === 'do') {\n\t flags.do_block = true;\n\t } else if (current_token.text === 'if') {\n\t flags.if_block = true;\n\t } else if (current_token.text === 'import') {\n\t flags.import_block = true;\n\t } else if (flags.import_block && current_token.type === 'TK_RESERVED' && current_token.text === 'from') {\n\t flags.import_block = false;\n\t }\n\t }\n\t }\n\t\n\t function handle_semicolon() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t // Semicolon can be the start (and end) of a statement\n\t output.space_before_token = false;\n\t }\n\t while (flags.mode === MODE.Statement && !flags.if_block && !flags.do_block) {\n\t restore_mode();\n\t }\n\t\n\t // hacky but effective for the moment\n\t if (flags.import_block) {\n\t flags.import_block = false;\n\t }\n\t print_token();\n\t }\n\t\n\t function handle_string() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t // One difference - strings want at least a space before\n\t output.space_before_token = true;\n\t } else if (last_type === 'TK_RESERVED' || last_type === 'TK_WORD' || flags.inline_frame) {\n\t output.space_before_token = true;\n\t } else if (last_type === 'TK_COMMA' || last_type === 'TK_START_EXPR' || last_type === 'TK_EQUALS' || last_type === 'TK_OPERATOR') {\n\t if (!start_of_object_property()) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t } else {\n\t print_newline();\n\t }\n\t print_token();\n\t }\n\t\n\t function handle_equals() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t }\n\t\n\t if (flags.declaration_statement) {\n\t // just got an '=' in a var-line, different formatting/line-breaking, etc will now be done\n\t flags.declaration_assignment = true;\n\t }\n\t output.space_before_token = true;\n\t print_token();\n\t output.space_before_token = true;\n\t }\n\t\n\t function handle_comma() {\n\t print_token();\n\t output.space_before_token = true;\n\t if (flags.declaration_statement) {\n\t if (is_expression(flags.parent.mode)) {\n\t // do not break on comma, for(var a = 1, b = 2)\n\t flags.declaration_assignment = false;\n\t }\n\t\n\t if (flags.declaration_assignment) {\n\t flags.declaration_assignment = false;\n\t print_newline(false, true);\n\t } else if (opt.comma_first) {\n\t // for comma-first, we want to allow a newline before the comma\n\t // to turn into a newline after the comma, which we will fixup later\n\t allow_wrap_or_preserved_newline();\n\t }\n\t } else if (flags.mode === MODE.ObjectLiteral ||\n\t (flags.mode === MODE.Statement && flags.parent.mode === MODE.ObjectLiteral)) {\n\t if (flags.mode === MODE.Statement) {\n\t restore_mode();\n\t }\n\t\n\t if (!flags.inline_frame) {\n\t print_newline();\n\t }\n\t } else if (opt.comma_first) {\n\t // EXPR or DO_BLOCK\n\t // for comma-first, we want to allow a newline before the comma\n\t // to turn into a newline after the comma, which we will fixup later\n\t allow_wrap_or_preserved_newline();\n\t }\n\t }\n\t\n\t function handle_operator() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t }\n\t\n\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t // \"return\" had a special handling in TK_WORD. Now we need to return the favor\n\t output.space_before_token = true;\n\t print_token();\n\t return;\n\t }\n\t\n\t // hack for actionscript's import .*;\n\t if (current_token.text === '*' && last_type === 'TK_DOT') {\n\t print_token();\n\t return;\n\t }\n\t\n\t if (current_token.text === '::') {\n\t // no spaces around exotic namespacing syntax operator\n\t print_token();\n\t return;\n\t }\n\t\n\t // Allow line wrapping between operators when operator_position is\n\t // set to before or preserve\n\t if (last_type === 'TK_OPERATOR' && in_array(opt.operator_position, OPERATOR_POSITION_BEFORE_OR_PRESERVE)) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t\n\t if (current_token.text === ':' && flags.in_case) {\n\t flags.case_body = true;\n\t indent();\n\t print_token();\n\t print_newline();\n\t flags.in_case = false;\n\t return;\n\t }\n\t\n\t var space_before = true;\n\t var space_after = true;\n\t var in_ternary = false;\n\t var isGeneratorAsterisk = current_token.text === '*' &&\n\t ((last_type === 'TK_RESERVED' && in_array(flags.last_text, ['function', 'yield'])) ||\n\t (flags.mode === MODE.ObjectLiteral && in_array(last_type, ['TK_START_BLOCK', 'TK_COMMA'])));\n\t var isUnary = in_array(current_token.text, ['-', '+']) && (\n\t in_array(last_type, ['TK_START_BLOCK', 'TK_START_EXPR', 'TK_EQUALS', 'TK_OPERATOR']) ||\n\t in_array(flags.last_text, Tokenizer.line_starters) ||\n\t flags.last_text === ','\n\t );\n\t\n\t if (current_token.text === ':') {\n\t if (flags.ternary_depth === 0) {\n\t // Colon is invalid javascript outside of ternary and object, but do our best to guess what was meant.\n\t space_before = false;\n\t } else {\n\t flags.ternary_depth -= 1;\n\t in_ternary = true;\n\t }\n\t } else if (current_token.text === '?') {\n\t flags.ternary_depth += 1;\n\t }\n\t\n\t // let's handle the operator_position option prior to any conflicting logic\n\t if (!isUnary && !isGeneratorAsterisk && opt.preserve_newlines && in_array(current_token.text, Tokenizer.positionable_operators)) {\n\t var isColon = current_token.text === ':';\n\t var isTernaryColon = (isColon && in_ternary);\n\t var isOtherColon = (isColon && !in_ternary);\n\t\n\t switch (opt.operator_position) {\n\t case OPERATOR_POSITION.before_newline:\n\t // if the current token is : and it's not a ternary statement then we set space_before to false\n\t output.space_before_token = !isOtherColon;\n\t\n\t print_token();\n\t\n\t if (!isColon || isTernaryColon) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t\n\t output.space_before_token = true;\n\t return;\n\t\n\t case OPERATOR_POSITION.after_newline:\n\t // if the current token is anything but colon, or (via deduction) it's a colon and in a ternary statement,\n\t // then print a newline.\n\t\n\t output.space_before_token = true;\n\t\n\t if (!isColon || isTernaryColon) {\n\t if (get_token(1).wanted_newline) {\n\t print_newline(false, true);\n\t } else {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t } else {\n\t output.space_before_token = false;\n\t }\n\t\n\t print_token();\n\t\n\t output.space_before_token = true;\n\t return;\n\t\n\t case OPERATOR_POSITION.preserve_newline:\n\t if (!isOtherColon) {\n\t allow_wrap_or_preserved_newline();\n\t }\n\t\n\t // if we just added a newline, or the current token is : and it's not a ternary statement,\n\t // then we set space_before to false\n\t space_before = !(output.just_added_newline() || isOtherColon);\n\t\n\t output.space_before_token = space_before;\n\t print_token();\n\t output.space_before_token = true;\n\t return;\n\t }\n\t }\n\t\n\t if (in_array(current_token.text, ['--', '++', '!', '~']) || isUnary) {\n\t // unary operators (and binary +/- pretending to be unary) special cases\n\t\n\t space_before = false;\n\t space_after = false;\n\t\n\t // http://www.ecma-international.org/ecma-262/5.1/#sec-7.9.1\n\t // if there is a newline between -- or ++ and anything else we should preserve it.\n\t if (current_token.wanted_newline && (current_token.text === '--' || current_token.text === '++')) {\n\t print_newline(false, true);\n\t }\n\t\n\t if (flags.last_text === ';' && is_expression(flags.mode)) {\n\t // for (;; ++i)\n\t // ^^^\n\t space_before = true;\n\t }\n\t\n\t if (last_type === 'TK_RESERVED') {\n\t space_before = true;\n\t } else if (last_type === 'TK_END_EXPR') {\n\t space_before = !(flags.last_text === ']' && (current_token.text === '--' || current_token.text === '++'));\n\t } else if (last_type === 'TK_OPERATOR') {\n\t // a++ + ++b;\n\t // a - -b\n\t space_before = in_array(current_token.text, ['--', '-', '++', '+']) && in_array(flags.last_text, ['--', '-', '++', '+']);\n\t // + and - are not unary when preceeded by -- or ++ operator\n\t // a-- + b\n\t // a * +b\n\t // a - -b\n\t if (in_array(current_token.text, ['+', '-']) && in_array(flags.last_text, ['--', '++'])) {\n\t space_after = true;\n\t }\n\t }\n\t\n\t\n\t if (((flags.mode === MODE.BlockStatement && !flags.inline_frame) || flags.mode === MODE.Statement) &&\n\t (flags.last_text === '{' || flags.last_text === ';')) {\n\t // { foo; --i }\n\t // foo(); --bar;\n\t print_newline();\n\t }\n\t } else if (isGeneratorAsterisk) {\n\t allow_wrap_or_preserved_newline();\n\t space_before = false;\n\t space_after = false;\n\t }\n\t output.space_before_token = output.space_before_token || space_before;\n\t print_token();\n\t output.space_before_token = space_after;\n\t }\n\t\n\t function handle_block_comment() {\n\t if (output.raw) {\n\t output.add_raw_token(current_token);\n\t if (current_token.directives && current_token.directives.preserve === 'end') {\n\t // If we're testing the raw output behavior, do not allow a directive to turn it off.\n\t output.raw = opt.test_output_raw;\n\t }\n\t return;\n\t }\n\t\n\t if (current_token.directives) {\n\t print_newline(false, true);\n\t print_token();\n\t if (current_token.directives.preserve === 'start') {\n\t output.raw = true;\n\t }\n\t print_newline(false, true);\n\t return;\n\t }\n\t\n\t // inline block\n\t if (!acorn.newline.test(current_token.text) && !current_token.wanted_newline) {\n\t output.space_before_token = true;\n\t print_token();\n\t output.space_before_token = true;\n\t return;\n\t }\n\t\n\t var lines = split_linebreaks(current_token.text);\n\t var j; // iterator for this case\n\t var javadoc = false;\n\t var starless = false;\n\t var lastIndent = current_token.whitespace_before;\n\t var lastIndentLength = lastIndent.length;\n\t\n\t // block comment starts with a new line\n\t print_newline(false, true);\n\t if (lines.length > 1) {\n\t javadoc = all_lines_start_with(lines.slice(1), '*');\n\t starless = each_line_matches_indent(lines.slice(1), lastIndent);\n\t }\n\t\n\t // first line always indented\n\t print_token(lines[0]);\n\t for (j = 1; j < lines.length; j++) {\n\t print_newline(false, true);\n\t if (javadoc) {\n\t // javadoc: reformat and re-indent\n\t print_token(' ' + ltrim(lines[j]));\n\t } else if (starless && lines[j].length > lastIndentLength) {\n\t // starless: re-indent non-empty content, avoiding trim\n\t print_token(lines[j].substring(lastIndentLength));\n\t } else {\n\t // normal comments output raw\n\t output.add_token(lines[j]);\n\t }\n\t }\n\t\n\t // for comments of more than one line, make sure there's a new line after\n\t print_newline(false, true);\n\t }\n\t\n\t function handle_comment() {\n\t if (current_token.wanted_newline) {\n\t print_newline(false, true);\n\t } else {\n\t output.trim(true);\n\t }\n\t\n\t output.space_before_token = true;\n\t print_token();\n\t print_newline(false, true);\n\t }\n\t\n\t function handle_dot() {\n\t if (start_of_statement()) {\n\t // The conditional starts the statement if appropriate.\n\t }\n\t\n\t if (last_type === 'TK_RESERVED' && is_special_word(flags.last_text)) {\n\t output.space_before_token = true;\n\t } else {\n\t // allow preserved newlines before dots in general\n\t // force newlines on dots after close paren when break_chained - for bar().baz()\n\t allow_wrap_or_preserved_newline(flags.last_text === ')' && opt.break_chained_methods);\n\t }\n\t\n\t print_token();\n\t }\n\t\n\t function handle_unknown() {\n\t print_token();\n\t\n\t if (current_token.text[current_token.text.length - 1] === '\\n') {\n\t print_newline();\n\t }\n\t }\n\t\n\t function handle_eof() {\n\t // Unwind any open statements\n\t while (flags.mode === MODE.Statement) {\n\t restore_mode();\n\t }\n\t }\n\t }\n\t\n\t\n\t function OutputLine(parent) {\n\t var _character_count = 0;\n\t // use indent_count as a marker for lines that have preserved indentation\n\t var _indent_count = -1;\n\t\n\t var _items = [];\n\t var _empty = true;\n\t\n\t this.set_indent = function(level) {\n\t _character_count = parent.baseIndentLength + level * parent.indent_length;\n\t _indent_count = level;\n\t };\n\t\n\t this.get_character_count = function() {\n\t return _character_count;\n\t };\n\t\n\t this.is_empty = function() {\n\t return _empty;\n\t };\n\t\n\t this.last = function() {\n\t if (!this._empty) {\n\t return _items[_items.length - 1];\n\t } else {\n\t return null;\n\t }\n\t };\n\t\n\t this.push = function(input) {\n\t _items.push(input);\n\t _character_count += input.length;\n\t _empty = false;\n\t };\n\t\n\t this.pop = function() {\n\t var item = null;\n\t if (!_empty) {\n\t item = _items.pop();\n\t _character_count -= item.length;\n\t _empty = _items.length === 0;\n\t }\n\t return item;\n\t };\n\t\n\t this.remove_indent = function() {\n\t if (_indent_count > 0) {\n\t _indent_count -= 1;\n\t _character_count -= parent.indent_length;\n\t }\n\t };\n\t\n\t this.trim = function() {\n\t while (this.last() === ' ') {\n\t _items.pop();\n\t _character_count -= 1;\n\t }\n\t _empty = _items.length === 0;\n\t };\n\t\n\t this.toString = function() {\n\t var result = '';\n\t if (!this._empty) {\n\t if (_indent_count >= 0) {\n\t result = parent.indent_cache[_indent_count];\n\t }\n\t result += _items.join('');\n\t }\n\t return result;\n\t };\n\t }\n\t\n\t function Output(indent_string, baseIndentString) {\n\t baseIndentString = baseIndentString || '';\n\t this.indent_cache = [baseIndentString];\n\t this.baseIndentLength = baseIndentString.length;\n\t this.indent_length = indent_string.length;\n\t this.raw = false;\n\t\n\t var lines = [];\n\t this.baseIndentString = baseIndentString;\n\t this.indent_string = indent_string;\n\t this.previous_line = null;\n\t this.current_line = null;\n\t this.space_before_token = false;\n\t\n\t this.add_outputline = function() {\n\t this.previous_line = this.current_line;\n\t this.current_line = new OutputLine(this);\n\t lines.push(this.current_line);\n\t };\n\t\n\t // initialize\n\t this.add_outputline();\n\t\n\t\n\t this.get_line_number = function() {\n\t return lines.length;\n\t };\n\t\n\t // Using object instead of string to allow for later expansion of info about each line\n\t this.add_new_line = function(force_newline) {\n\t if (this.get_line_number() === 1 && this.just_added_newline()) {\n\t return false; // no newline on start of file\n\t }\n\t\n\t if (force_newline || !this.just_added_newline()) {\n\t if (!this.raw) {\n\t this.add_outputline();\n\t }\n\t return true;\n\t }\n\t\n\t return false;\n\t };\n\t\n\t this.get_code = function() {\n\t var sweet_code = lines.join('\\n').replace(/[\\r\\n\\t ]+$/, '');\n\t return sweet_code;\n\t };\n\t\n\t this.set_indent = function(level) {\n\t // Never indent your first output indent at the start of the file\n\t if (lines.length > 1) {\n\t while (level >= this.indent_cache.length) {\n\t this.indent_cache.push(this.indent_cache[this.indent_cache.length - 1] + this.indent_string);\n\t }\n\t\n\t this.current_line.set_indent(level);\n\t return true;\n\t }\n\t this.current_line.set_indent(0);\n\t return false;\n\t };\n\t\n\t this.add_raw_token = function(token) {\n\t for (var x = 0; x < token.newlines; x++) {\n\t this.add_outputline();\n\t }\n\t this.current_line.push(token.whitespace_before);\n\t this.current_line.push(token.text);\n\t this.space_before_token = false;\n\t };\n\t\n\t this.add_token = function(printable_token) {\n\t this.add_space_before_token();\n\t this.current_line.push(printable_token);\n\t };\n\t\n\t this.add_space_before_token = function() {\n\t if (this.space_before_token && !this.just_added_newline()) {\n\t this.current_line.push(' ');\n\t }\n\t this.space_before_token = false;\n\t };\n\t\n\t this.remove_redundant_indentation = function(frame) {\n\t // This implementation is effective but has some issues:\n\t // - can cause line wrap to happen too soon due to indent removal\n\t // after wrap points are calculated\n\t // These issues are minor compared to ugly indentation.\n\t\n\t if (frame.multiline_frame ||\n\t frame.mode === MODE.ForInitializer ||\n\t frame.mode === MODE.Conditional) {\n\t return;\n\t }\n\t\n\t // remove one indent from each line inside this section\n\t var index = frame.start_line_index;\n\t\n\t var output_length = lines.length;\n\t while (index < output_length) {\n\t lines[index].remove_indent();\n\t index++;\n\t }\n\t };\n\t\n\t this.trim = function(eat_newlines) {\n\t eat_newlines = (eat_newlines === undefined) ? false : eat_newlines;\n\t\n\t this.current_line.trim(indent_string, baseIndentString);\n\t\n\t while (eat_newlines && lines.length > 1 &&\n\t this.current_line.is_empty()) {\n\t lines.pop();\n\t this.current_line = lines[lines.length - 1];\n\t this.current_line.trim();\n\t }\n\t\n\t this.previous_line = lines.length > 1 ? lines[lines.length - 2] : null;\n\t };\n\t\n\t this.just_added_newline = function() {\n\t return this.current_line.is_empty();\n\t };\n\t\n\t this.just_added_blankline = function() {\n\t if (this.just_added_newline()) {\n\t if (lines.length === 1) {\n\t return true; // start of the file and newline = blank\n\t }\n\t\n\t var line = lines[lines.length - 2];\n\t return line.is_empty();\n\t }\n\t return false;\n\t };\n\t }\n\t\n\t var InputScanner = function(input) {\n\t var _input = input;\n\t var _input_length = _input.length;\n\t var _position = 0;\n\t\n\t this.back = function() {\n\t _position -= 1;\n\t };\n\t\n\t this.hasNext = function() {\n\t return _position < _input_length;\n\t };\n\t\n\t this.next = function() {\n\t var val = null;\n\t if (this.hasNext()) {\n\t val = _input.charAt(_position);\n\t _position += 1;\n\t }\n\t return val;\n\t };\n\t\n\t this.peek = function(index) {\n\t var val = null;\n\t index = index || 0;\n\t index += _position;\n\t if (index >= 0 && index < _input_length) {\n\t val = _input.charAt(index);\n\t }\n\t return val;\n\t };\n\t\n\t this.peekCharCode = function(index) {\n\t var val = 0;\n\t index = index || 0;\n\t index += _position;\n\t if (index >= 0 && index < _input_length) {\n\t val = _input.charCodeAt(index);\n\t }\n\t return val;\n\t };\n\t\n\t this.test = function(pattern, index) {\n\t index = index || 0;\n\t pattern.lastIndex = _position + index;\n\t return pattern.test(_input);\n\t };\n\t\n\t this.testChar = function(pattern, index) {\n\t var val = this.peek(index);\n\t return val !== null && pattern.test(val);\n\t };\n\t\n\t this.match = function(pattern) {\n\t pattern.lastIndex = _position;\n\t var pattern_match = pattern.exec(_input);\n\t if (pattern_match && pattern_match.index === _position) {\n\t _position += pattern_match[0].length;\n\t } else {\n\t pattern_match = null;\n\t }\n\t return pattern_match;\n\t };\n\t };\n\t\n\t var Token = function(type, text, newlines, whitespace_before, parent) {\n\t this.type = type;\n\t this.text = text;\n\t this.comments_before = [];\n\t this.newlines = newlines || 0;\n\t this.wanted_newline = newlines > 0;\n\t this.whitespace_before = whitespace_before || '';\n\t this.parent = parent || null;\n\t this.opened = null;\n\t this.directives = null;\n\t };\n\t\n\t function tokenizer(input_string, opts) {\n\t\n\t var whitespace = \"\\n\\r\\t \".split('');\n\t var digit = /[0-9]/;\n\t var digit_bin = /[01]/;\n\t var digit_oct = /[01234567]/;\n\t var digit_hex = /[0123456789abcdefABCDEF]/;\n\t\n\t this.positionable_operators = '!= !== % & && * ** + - / : < << <= == === > >= >> >>> ? ^ | ||'.split(' ');\n\t var punct = this.positionable_operators.concat(\n\t // non-positionable operators - these do not follow operator position settings\n\t '! %= &= *= **= ++ += , -- -= /= :: <<= = => >>= >>>= ^= |= ~'.split(' '));\n\t\n\t // words which should always start on new line.\n\t this.line_starters = 'continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export'.split(',');\n\t var reserved_words = this.line_starters.concat(['do', 'in', 'else', 'get', 'set', 'new', 'catch', 'finally', 'typeof', 'yield', 'async', 'await', 'from', 'as']);\n\t\n\t // /* ... */ comment ends with nearest */ or end of file\n\t var block_comment_pattern = /([\\s\\S]*?)((?:\\*\\/)|$)/g;\n\t\n\t // comment ends just before nearest linefeed or end of file\n\t var comment_pattern = /([^\\n\\r\\u2028\\u2029]*)/g;\n\t\n\t var directives_block_pattern = /\\/\\* beautify( \\w+[:]\\w+)+ \\*\\//g;\n\t var directive_pattern = / (\\w+)[:](\\w+)/g;\n\t var directives_end_ignore_pattern = /([\\s\\S]*?)((?:\\/\\*\\sbeautify\\signore:end\\s\\*\\/)|$)/g;\n\t\n\t var template_pattern = /((<\\?php|<\\?=)[\\s\\S]*?\\?>)|(<%[\\s\\S]*?%>)/g;\n\t\n\t var n_newlines, whitespace_before_token, in_html_comment, tokens;\n\t var input;\n\t\n\t this.tokenize = function() {\n\t input = new InputScanner(input_string);\n\t in_html_comment = false;\n\t tokens = [];\n\t\n\t var next, last;\n\t var token_values;\n\t var open = null;\n\t var open_stack = [];\n\t var comments = [];\n\t\n\t while (!(last && last.type === 'TK_EOF')) {\n\t token_values = tokenize_next();\n\t next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n\t while (next.type === 'TK_COMMENT' || next.type === 'TK_BLOCK_COMMENT' || next.type === 'TK_UNKNOWN') {\n\t if (next.type === 'TK_BLOCK_COMMENT') {\n\t next.directives = token_values[2];\n\t }\n\t comments.push(next);\n\t token_values = tokenize_next();\n\t next = new Token(token_values[1], token_values[0], n_newlines, whitespace_before_token);\n\t }\n\t\n\t if (comments.length) {\n\t next.comments_before = comments;\n\t comments = [];\n\t }\n\t\n\t if (next.type === 'TK_START_BLOCK' || next.type === 'TK_START_EXPR') {\n\t next.parent = last;\n\t open_stack.push(open);\n\t open = next;\n\t } else if ((next.type === 'TK_END_BLOCK' || next.type === 'TK_END_EXPR') &&\n\t (open && (\n\t (next.text === ']' && open.text === '[') ||\n\t (next.text === ')' && open.text === '(') ||\n\t (next.text === '}' && open.text === '{')))) {\n\t next.parent = open.parent;\n\t next.opened = open;\n\t\n\t open = open_stack.pop();\n\t }\n\t\n\t tokens.push(next);\n\t last = next;\n\t }\n\t\n\t return tokens;\n\t };\n\t\n\t function get_directives(text) {\n\t if (!text.match(directives_block_pattern)) {\n\t return null;\n\t }\n\t\n\t var directives = {};\n\t directive_pattern.lastIndex = 0;\n\t var directive_match = directive_pattern.exec(text);\n\t\n\t while (directive_match) {\n\t directives[directive_match[1]] = directive_match[2];\n\t directive_match = directive_pattern.exec(text);\n\t }\n\t\n\t return directives;\n\t }\n\t\n\t function tokenize_next() {\n\t var resulting_string;\n\t var whitespace_on_this_line = [];\n\t\n\t n_newlines = 0;\n\t whitespace_before_token = '';\n\t\n\t var c = input.next();\n\t\n\t if (c === null) {\n\t return ['', 'TK_EOF'];\n\t }\n\t\n\t var last_token;\n\t if (tokens.length) {\n\t last_token = tokens[tokens.length - 1];\n\t } else {\n\t // For the sake of tokenizing we can pretend that there was on open brace to start\n\t last_token = new Token('TK_START_BLOCK', '{');\n\t }\n\t\n\t while (in_array(c, whitespace)) {\n\t\n\t if (acorn.newline.test(c)) {\n\t if (!(c === '\\n' && input.peek(-2) === '\\r')) {\n\t n_newlines += 1;\n\t whitespace_on_this_line = [];\n\t }\n\t } else {\n\t whitespace_on_this_line.push(c);\n\t }\n\t\n\t c = input.next();\n\t\n\t if (c === null) {\n\t return ['', 'TK_EOF'];\n\t }\n\t }\n\t\n\t if (whitespace_on_this_line.length) {\n\t whitespace_before_token = whitespace_on_this_line.join('');\n\t }\n\t\n\t if (digit.test(c) || (c === '.' && input.testChar(digit))) {\n\t var allow_decimal = true;\n\t var allow_e = true;\n\t var local_digit = digit;\n\t\n\t if (c === '0' && input.testChar(/[XxOoBb]/)) {\n\t // switch to hex/oct/bin number, no decimal or e, just hex/oct/bin digits\n\t allow_decimal = false;\n\t allow_e = false;\n\t if (input.testChar(/[Bb]/)) {\n\t local_digit = digit_bin;\n\t } else if (input.testChar(/[Oo]/)) {\n\t local_digit = digit_oct;\n\t } else {\n\t local_digit = digit_hex;\n\t }\n\t c += input.next();\n\t } else if (c === '.') {\n\t // Already have a decimal for this literal, don't allow another\n\t allow_decimal = false;\n\t } else {\n\t // we know this first loop will run. It keeps the logic simpler.\n\t c = '';\n\t input.back();\n\t }\n\t\n\t // Add the digits\n\t while (input.testChar(local_digit)) {\n\t c += input.next();\n\t\n\t if (allow_decimal && input.peek() === '.') {\n\t c += input.next();\n\t allow_decimal = false;\n\t } else if (allow_e && input.testChar(/[Ee]/)) {\n\t c += input.next();\n\t\n\t if (input.testChar(/[+-]/)) {\n\t c += input.next();\n\t }\n\t\n\t allow_e = false;\n\t allow_decimal = false;\n\t }\n\t }\n\t\n\t return [c, 'TK_WORD'];\n\t }\n\t\n\t if (acorn.isIdentifierStart(input.peekCharCode(-1))) {\n\t if (input.hasNext()) {\n\t while (acorn.isIdentifierChar(input.peekCharCode())) {\n\t c += input.next();\n\t if (!input.hasNext()) {\n\t break;\n\t }\n\t }\n\t }\n\t\n\t if (!(last_token.type === 'TK_DOT' ||\n\t (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['set', 'get']))) &&\n\t in_array(c, reserved_words)) {\n\t if (c === 'in') { // hack for 'in' operator\n\t return [c, 'TK_OPERATOR'];\n\t }\n\t return [c, 'TK_RESERVED'];\n\t }\n\t\n\t return [c, 'TK_WORD'];\n\t }\n\t\n\t if (c === '(' || c === '[') {\n\t return [c, 'TK_START_EXPR'];\n\t }\n\t\n\t if (c === ')' || c === ']') {\n\t return [c, 'TK_END_EXPR'];\n\t }\n\t\n\t if (c === '{') {\n\t return [c, 'TK_START_BLOCK'];\n\t }\n\t\n\t if (c === '}') {\n\t return [c, 'TK_END_BLOCK'];\n\t }\n\t\n\t if (c === ';') {\n\t return [c, 'TK_SEMICOLON'];\n\t }\n\t\n\t if (c === '/') {\n\t var comment = '';\n\t var comment_match;\n\t // peek for comment /* ... */\n\t if (input.peek() === '*') {\n\t input.next();\n\t comment_match = input.match(block_comment_pattern);\n\t comment = '/*' + comment_match[0];\n\t var directives = get_directives(comment);\n\t if (directives && directives.ignore === 'start') {\n\t comment_match = input.match(directives_end_ignore_pattern);\n\t comment += comment_match[0];\n\t }\n\t comment = comment.replace(acorn.allLineBreaks, '\\n');\n\t return [comment, 'TK_BLOCK_COMMENT', directives];\n\t }\n\t // peek for comment // ...\n\t if (input.peek() === '/') {\n\t input.next();\n\t comment_match = input.match(comment_pattern);\n\t comment = '//' + comment_match[0];\n\t return [comment, 'TK_COMMENT'];\n\t }\n\t\n\t }\n\t\n\t var startXmlRegExp = /<()([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n\t\n\t if (c === '`' || c === \"'\" || c === '\"' || // string\n\t (\n\t (c === '/') || // regexp\n\t (opts.e4x && c === \"<\" && input.test(startXmlRegExp, -1)) // xml\n\t ) && ( // regex and xml can only appear in specific locations during parsing\n\t (last_token.type === 'TK_RESERVED' && in_array(last_token.text, ['return', 'case', 'throw', 'else', 'do', 'typeof', 'yield'])) ||\n\t (last_token.type === 'TK_END_EXPR' && last_token.text === ')' &&\n\t last_token.parent && last_token.parent.type === 'TK_RESERVED' && in_array(last_token.parent.text, ['if', 'while', 'for'])) ||\n\t (in_array(last_token.type, ['TK_COMMENT', 'TK_START_EXPR', 'TK_START_BLOCK',\n\t 'TK_END_BLOCK', 'TK_OPERATOR', 'TK_EQUALS', 'TK_EOF', 'TK_SEMICOLON', 'TK_COMMA'\n\t ]))\n\t )) {\n\t\n\t var sep = c,\n\t esc = false,\n\t has_char_escapes = false;\n\t\n\t resulting_string = c;\n\t\n\t if (sep === '/') {\n\t //\n\t // handle regexp\n\t //\n\t var in_char_class = false;\n\t while (input.hasNext() &&\n\t ((esc || in_char_class || input.peek() !== sep) &&\n\t !input.testChar(acorn.newline))) {\n\t resulting_string += input.peek();\n\t if (!esc) {\n\t esc = input.peek() === '\\\\';\n\t if (input.peek() === '[') {\n\t in_char_class = true;\n\t } else if (input.peek() === ']') {\n\t in_char_class = false;\n\t }\n\t } else {\n\t esc = false;\n\t }\n\t input.next();\n\t }\n\t } else if (opts.e4x && sep === '<') {\n\t //\n\t // handle e4x xml literals\n\t //\n\t\n\t var xmlRegExp = /[\\s\\S]*?<(\\/?)([-a-zA-Z:0-9_.]+|{[\\s\\S]+?}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+{[\\s\\S]+?}|\\s+[-a-zA-Z:0-9_.]+|\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{[\\s\\S]+?}))*\\s*(\\/?)\\s*>/g;\n\t input.back();\n\t var xmlStr = '';\n\t var match = input.match(startXmlRegExp);\n\t if (match) {\n\t // Trim root tag to attempt to\n\t var rootTag = match[2].replace(/^{\\s+/, '{').replace(/\\s+}$/, '}');\n\t var isCurlyRoot = rootTag.indexOf('{') === 0;\n\t var depth = 0;\n\t while (match) {\n\t var isEndTag = !!match[1];\n\t var tagName = match[2];\n\t var isSingletonTag = (!!match[match.length - 1]) || (tagName.slice(0, 8) === \"![CDATA[\");\n\t if (!isSingletonTag &&\n\t (tagName === rootTag || (isCurlyRoot && tagName.replace(/^{\\s+/, '{').replace(/\\s+}$/, '}')))) {\n\t if (isEndTag) {\n\t --depth;\n\t } else {\n\t ++depth;\n\t }\n\t }\n\t xmlStr += match[0];\n\t if (depth <= 0) {\n\t break;\n\t }\n\t match = input.match(xmlRegExp);\n\t }\n\t // if we didn't close correctly, keep unformatted.\n\t if (!match) {\n\t xmlStr += input.match(/[\\s\\S]*/g)[0];\n\t }\n\t xmlStr = xmlStr.replace(acorn.allLineBreaks, '\\n');\n\t return [xmlStr, \"TK_STRING\"];\n\t }\n\t } else {\n\t //\n\t // handle string\n\t //\n\t var parse_string = function(delimiter, allow_unescaped_newlines, start_sub) {\n\t // Template strings can travers lines without escape characters.\n\t // Other strings cannot\n\t var current_char;\n\t while (input.hasNext()) {\n\t current_char = input.peek();\n\t if (!(esc || (current_char !== delimiter &&\n\t (allow_unescaped_newlines || !acorn.newline.test(current_char))))) {\n\t break;\n\t }\n\t\n\t // Handle \\r\\n linebreaks after escapes or in template strings\n\t if ((esc || allow_unescaped_newlines) && acorn.newline.test(current_char)) {\n\t if (current_char === '\\r' && input.peek(1) === '\\n') {\n\t input.next();\n\t current_char = input.peek();\n\t }\n\t resulting_string += '\\n';\n\t } else {\n\t resulting_string += current_char;\n\t }\n\t\n\t if (esc) {\n\t if (current_char === 'x' || current_char === 'u') {\n\t has_char_escapes = true;\n\t }\n\t esc = false;\n\t } else {\n\t esc = current_char === '\\\\';\n\t }\n\t\n\t input.next();\n\t\n\t if (start_sub && resulting_string.indexOf(start_sub, resulting_string.length - start_sub.length) !== -1) {\n\t if (delimiter === '`') {\n\t parse_string('}', allow_unescaped_newlines, '`');\n\t } else {\n\t parse_string('`', allow_unescaped_newlines, '${');\n\t }\n\t }\n\t }\n\t };\n\t\n\t if (sep === '`') {\n\t parse_string('`', true, '${');\n\t } else {\n\t parse_string(sep);\n\t }\n\t }\n\t\n\t if (has_char_escapes && opts.unescape_strings) {\n\t resulting_string = unescape_string(resulting_string);\n\t }\n\t\n\t if (input.peek() === sep) {\n\t resulting_string += sep;\n\t input.next();\n\t\n\t if (sep === '/') {\n\t // regexps may have modifiers /regexp/MOD , so fetch those, too\n\t // Only [gim] are valid, but if the user puts in garbage, do what we can to take it.\n\t while (input.hasNext() && acorn.isIdentifierStart(input.peekCharCode())) {\n\t resulting_string += input.next();\n\t }\n\t }\n\t }\n\t return [resulting_string, 'TK_STRING'];\n\t }\n\t\n\t if (c === '#') {\n\t\n\t if (tokens.length === 0 && input.peek() === '!') {\n\t // shebang\n\t resulting_string = c;\n\t while (input.hasNext() && c !== '\\n') {\n\t c = input.next();\n\t resulting_string += c;\n\t }\n\t return [trim(resulting_string) + '\\n', 'TK_UNKNOWN'];\n\t }\n\t\n\t\n\t\n\t // Spidermonkey-specific sharp variables for circular references\n\t // https://developer.mozilla.org/En/Sharp_variables_in_JavaScript\n\t // http://mxr.mozilla.org/mozilla-central/source/js/src/jsscan.cpp around line 1935\n\t var sharp = '#';\n\t if (input.hasNext() && input.testChar(digit)) {\n\t do {\n\t c = input.next();\n\t sharp += c;\n\t } while (input.hasNext() && c !== '#' && c !== '=');\n\t if (c === '#') {\n\t //\n\t } else if (input.peek() === '[' && input.peek(1) === ']') {\n\t sharp += '[]';\n\t input.next();\n\t input.next();\n\t } else if (input.peek() === '{' && input.peek(1) === '}') {\n\t sharp += '{}';\n\t input.next();\n\t input.next();\n\t }\n\t return [sharp, 'TK_WORD'];\n\t }\n\t }\n\t\n\t if (c === '<' && (input.peek() === '?' || input.peek() === '%')) {\n\t input.back();\n\t var template_match = input.match(template_pattern);\n\t if (template_match) {\n\t c = template_match[0];\n\t c = c.replace(acorn.allLineBreaks, '\\n');\n\t return [c, 'TK_STRING'];\n\t }\n\t }\n\t\n\t if (c === '<' && input.match(/\\!--/g)) {\n\t c = '<!--';\n\t while (input.hasNext() && !input.testChar(acorn.newline)) {\n\t c += input.next();\n\t }\n\t in_html_comment = true;\n\t return [c, 'TK_COMMENT'];\n\t }\n\t\n\t if (c === '-' && in_html_comment && input.match(/->/g)) {\n\t in_html_comment = false;\n\t return ['-->', 'TK_COMMENT'];\n\t }\n\t\n\t if (c === '.') {\n\t return [c, 'TK_DOT'];\n\t }\n\t\n\t if (in_array(c, punct)) {\n\t while (input.hasNext() && in_array(c + input.peek(), punct)) {\n\t c += input.next();\n\t if (!input.hasNext()) {\n\t break;\n\t }\n\t }\n\t\n\t if (c === ',') {\n\t return [c, 'TK_COMMA'];\n\t } else if (c === '=') {\n\t return [c, 'TK_EQUALS'];\n\t } else {\n\t return [c, 'TK_OPERATOR'];\n\t }\n\t }\n\t\n\t return [c, 'TK_UNKNOWN'];\n\t }\n\t\n\t\n\t function unescape_string(s) {\n\t // You think that a regex would work for this\n\t // return s.replace(/\\\\x([0-9a-f]{2})/gi, function(match, val) {\n\t // return String.fromCharCode(parseInt(val, 16));\n\t // })\n\t // However, dealing with '\\xff', '\\\\xff', '\\\\\\xff' makes this more fun.\n\t var out = '',\n\t escaped = 0;\n\t\n\t var input_scan = new InputScanner(s);\n\t var matched = null;\n\t\n\t while (input_scan.hasNext()) {\n\t // Keep any whitespace, non-slash characters\n\t // also keep slash pairs.\n\t matched = input_scan.match(/([\\s]|[^\\\\]|\\\\\\\\)+/g);\n\t\n\t if (matched) {\n\t out += matched[0];\n\t }\n\t\n\t if (input_scan.peek() === '\\\\') {\n\t input_scan.next();\n\t if (input_scan.peek() === 'x') {\n\t matched = input_scan.match(/x([0-9A-Fa-f]{2})/g);\n\t } else if (input_scan.peek() === 'u') {\n\t matched = input_scan.match(/u([0-9A-Fa-f]{4})/g);\n\t } else {\n\t out += '\\\\';\n\t if (input_scan.hasNext()) {\n\t out += input_scan.next();\n\t }\n\t continue;\n\t }\n\t\n\t // If there's some error decoding, return the original string\n\t if (!matched) {\n\t return s;\n\t }\n\t\n\t escaped = parseInt(matched[1], 16);\n\t\n\t if (escaped > 0x7e && escaped <= 0xff && matched[0].indexOf('x') === 0) {\n\t // we bail out on \\x7f..\\xff,\n\t // leaving whole string escaped,\n\t // as it's probably completely binary\n\t return s;\n\t } else if (escaped >= 0x00 && escaped < 0x20) {\n\t // leave 0x00...0x1f escaped\n\t out += '\\\\' + matched[0];\n\t continue;\n\t } else if (escaped === 0x22 || escaped === 0x27 || escaped === 0x5c) {\n\t // single-quote, apostrophe, backslash - escape these\n\t out += '\\\\' + String.fromCharCode(escaped);\n\t } else {\n\t out += String.fromCharCode(escaped);\n\t }\n\t }\n\t }\n\t\n\t return out;\n\t }\n\t }\n\t\n\t var beautifier = new Beautifier(js_source_text, options);\n\t return beautifier.beautify();\n\t\n\t }\n\t\n\t if (true) {\n\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t return { js_beautify: js_beautify };\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if (typeof exports !== \"undefined\") {\n\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t // and you will be able to `var js_beautify = require(\"beautify\").js_beautify`.\n\t exports.js_beautify = js_beautify;\n\t } else if (typeof window !== \"undefined\") {\n\t // If we're running a web page and don't have either of the above, add our one global\n\t window.js_beautify = js_beautify;\n\t } else if (typeof global !== \"undefined\") {\n\t // If we don't even have window, try global.\n\t global.js_beautify = js_beautify;\n\t }\n\t\n\t}());\n\n/***/ },\n/* 11 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t/*\n\t\n\t The MIT License (MIT)\n\t\n\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\n\t Permission is hereby granted, free of charge, to any person\n\t obtaining a copy of this software and associated documentation files\n\t (the \"Software\"), to deal in the Software without restriction,\n\t including without limitation the rights to use, copy, modify, merge,\n\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t and to permit persons to whom the Software is furnished to do so,\n\t subject to the following conditions:\n\t\n\t The above copyright notice and this permission notice shall be\n\t included in all copies or substantial portions of the Software.\n\t\n\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t SOFTWARE.\n\t\n\t\n\t CSS Beautifier\n\t---------------\n\t\n\t Written by Harutyun Amirjanyan, (amirjanyan@gmail.com)\n\t\n\t Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>\n\t http://jsbeautifier.org/\n\t\n\t Usage:\n\t css_beautify(source_text);\n\t css_beautify(source_text, options);\n\t\n\t The options are (default in brackets):\n\t indent_size (4) — indentation size,\n\t indent_char (space) — character to indent with,\n\t selector_separator_newline (true) - separate selectors with newline or\n\t not (e.g. \"a,\\nbr\" or \"a, br\")\n\t end_with_newline (false) - end with a newline\n\t newline_between_rules (true) - add a new line after every css rule\n\t space_around_selector_separator (false) - ensure space around selector separators:\n\t '>', '+', '~' (e.g. \"a>b\" -> \"a > b\")\n\t e.g\n\t\n\t css_beautify(css_source_text, {\n\t 'indent_size': 1,\n\t 'indent_char': '\\t',\n\t 'selector_separator': ' ',\n\t 'end_with_newline': false,\n\t 'newline_between_rules': true,\n\t 'space_around_selector_separator': true\n\t });\n\t*/\n\t\n\t// http://www.w3.org/TR/CSS21/syndata.html#tokenization\n\t// http://www.w3.org/TR/css3-syntax/\n\t\n\t(function() {\n\t function css_beautify(source_text, options) {\n\t options = options || {};\n\t source_text = source_text || '';\n\t // HACK: newline parsing inconsistent. This brute force normalizes the input.\n\t source_text = source_text.replace(/\\r\\n|[\\r\\u2028\\u2029]/g, '\\n');\n\t\n\t var indentSize = options.indent_size || 4;\n\t var indentCharacter = options.indent_char || ' ';\n\t var selectorSeparatorNewline = (options.selector_separator_newline === undefined) ? true : options.selector_separator_newline;\n\t var end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t var newline_between_rules = (options.newline_between_rules === undefined) ? true : options.newline_between_rules;\n\t var space_around_combinator = (options.space_around_combinator === undefined) ? false : options.space_around_combinator;\n\t space_around_combinator = space_around_combinator || ((options.space_around_selector_separator === undefined) ? false : options.space_around_selector_separator);\n\t var eol = options.eol ? options.eol : '\\n';\n\t\n\t // compatibility\n\t if (typeof indentSize === \"string\") {\n\t indentSize = parseInt(indentSize, 10);\n\t }\n\t\n\t if (options.indent_with_tabs) {\n\t indentCharacter = '\\t';\n\t indentSize = 1;\n\t }\n\t\n\t eol = eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\n\t\n\t // tokenizer\n\t var whiteRe = /^\\s+$/;\n\t\n\t var pos = -1,\n\t ch;\n\t var parenLevel = 0;\n\t\n\t function next() {\n\t ch = source_text.charAt(++pos);\n\t return ch || '';\n\t }\n\t\n\t function peek(skipWhitespace) {\n\t var result = '';\n\t var prev_pos = pos;\n\t if (skipWhitespace) {\n\t eatWhitespace();\n\t }\n\t result = source_text.charAt(pos + 1) || '';\n\t pos = prev_pos - 1;\n\t next();\n\t return result;\n\t }\n\t\n\t function eatString(endChars) {\n\t var start = pos;\n\t while (next()) {\n\t if (ch === \"\\\\\") {\n\t next();\n\t } else if (endChars.indexOf(ch) !== -1) {\n\t break;\n\t } else if (ch === \"\\n\") {\n\t break;\n\t }\n\t }\n\t return source_text.substring(start, pos + 1);\n\t }\n\t\n\t function peekString(endChar) {\n\t var prev_pos = pos;\n\t var str = eatString(endChar);\n\t pos = prev_pos - 1;\n\t next();\n\t return str;\n\t }\n\t\n\t function eatWhitespace() {\n\t var result = '';\n\t while (whiteRe.test(peek())) {\n\t next();\n\t result += ch;\n\t }\n\t return result;\n\t }\n\t\n\t function skipWhitespace() {\n\t var result = '';\n\t if (ch && whiteRe.test(ch)) {\n\t result = ch;\n\t }\n\t while (whiteRe.test(next())) {\n\t result += ch;\n\t }\n\t return result;\n\t }\n\t\n\t function eatComment(singleLine) {\n\t var start = pos;\n\t singleLine = peek() === \"/\";\n\t next();\n\t while (next()) {\n\t if (!singleLine && ch === \"*\" && peek() === \"/\") {\n\t next();\n\t break;\n\t } else if (singleLine && ch === \"\\n\") {\n\t return source_text.substring(start, pos);\n\t }\n\t }\n\t\n\t return source_text.substring(start, pos) + ch;\n\t }\n\t\n\t\n\t function lookBack(str) {\n\t return source_text.substring(pos - str.length, pos).toLowerCase() ===\n\t str;\n\t }\n\t\n\t // Nested pseudo-class if we are insideRule\n\t // and the next special character found opens\n\t // a new block\n\t function foundNestedPseudoClass() {\n\t var openParen = 0;\n\t for (var i = pos + 1; i < source_text.length; i++) {\n\t var ch = source_text.charAt(i);\n\t if (ch === \"{\") {\n\t return true;\n\t } else if (ch === '(') {\n\t // pseudoclasses can contain ()\n\t openParen += 1;\n\t } else if (ch === ')') {\n\t if (openParen === 0) {\n\t return false;\n\t }\n\t openParen -= 1;\n\t } else if (ch === \";\" || ch === \"}\") {\n\t return false;\n\t }\n\t }\n\t return false;\n\t }\n\t\n\t // printer\n\t var basebaseIndentString = source_text.match(/^[\\t ]*/)[0];\n\t var singleIndent = new Array(indentSize + 1).join(indentCharacter);\n\t var indentLevel = 0;\n\t var nestedLevel = 0;\n\t\n\t function indent() {\n\t indentLevel++;\n\t basebaseIndentString += singleIndent;\n\t }\n\t\n\t function outdent() {\n\t indentLevel--;\n\t basebaseIndentString = basebaseIndentString.slice(0, -indentSize);\n\t }\n\t\n\t var print = {};\n\t print[\"{\"] = function(ch) {\n\t print.singleSpace();\n\t output.push(ch);\n\t print.newLine();\n\t };\n\t print[\"}\"] = function(ch) {\n\t print.newLine();\n\t output.push(ch);\n\t print.newLine();\n\t };\n\t\n\t print._lastCharWhitespace = function() {\n\t return whiteRe.test(output[output.length - 1]);\n\t };\n\t\n\t print.newLine = function(keepWhitespace) {\n\t if (output.length) {\n\t if (!keepWhitespace && output[output.length - 1] !== '\\n') {\n\t print.trim();\n\t }\n\t\n\t output.push('\\n');\n\t\n\t if (basebaseIndentString) {\n\t output.push(basebaseIndentString);\n\t }\n\t }\n\t };\n\t print.singleSpace = function() {\n\t if (output.length && !print._lastCharWhitespace()) {\n\t output.push(' ');\n\t }\n\t };\n\t\n\t print.preserveSingleSpace = function() {\n\t if (isAfterSpace) {\n\t print.singleSpace();\n\t }\n\t };\n\t\n\t print.trim = function() {\n\t while (print._lastCharWhitespace()) {\n\t output.pop();\n\t }\n\t };\n\t\n\t\n\t var output = [];\n\t /*_____________________--------------------_____________________*/\n\t\n\t var insideRule = false;\n\t var insidePropertyValue = false;\n\t var enteringConditionalGroup = false;\n\t var top_ch = '';\n\t var last_top_ch = '';\n\t\n\t while (true) {\n\t var whitespace = skipWhitespace();\n\t var isAfterSpace = whitespace !== '';\n\t var isAfterNewline = whitespace.indexOf('\\n') !== -1;\n\t last_top_ch = top_ch;\n\t top_ch = ch;\n\t\n\t if (!ch) {\n\t break;\n\t } else if (ch === '/' && peek() === '*') { /* css comment */\n\t var header = indentLevel === 0;\n\t\n\t if (isAfterNewline || header) {\n\t print.newLine();\n\t }\n\t\n\t output.push(eatComment());\n\t print.newLine();\n\t if (header) {\n\t print.newLine(true);\n\t }\n\t } else if (ch === '/' && peek() === '/') { // single line comment\n\t if (!isAfterNewline && last_top_ch !== '{') {\n\t print.trim();\n\t }\n\t print.singleSpace();\n\t output.push(eatComment());\n\t print.newLine();\n\t } else if (ch === '@') {\n\t print.preserveSingleSpace();\n\t\n\t // deal with less propery mixins @{...}\n\t if (peek() === '{') {\n\t output.push(eatString('}'));\n\t } else {\n\t output.push(ch);\n\t\n\t // strip trailing space, if present, for hash property checks\n\t var variableOrRule = peekString(\": ,;{}()[]/='\\\"\");\n\t\n\t if (variableOrRule.match(/[ :]$/)) {\n\t // we have a variable or pseudo-class, add it and insert one space before continuing\n\t next();\n\t variableOrRule = eatString(\": \").replace(/\\s$/, '');\n\t output.push(variableOrRule);\n\t print.singleSpace();\n\t }\n\t\n\t variableOrRule = variableOrRule.replace(/\\s$/, '');\n\t\n\t // might be a nesting at-rule\n\t if (variableOrRule in css_beautify.NESTED_AT_RULE) {\n\t nestedLevel += 1;\n\t if (variableOrRule in css_beautify.CONDITIONAL_GROUP_RULE) {\n\t enteringConditionalGroup = true;\n\t }\n\t }\n\t }\n\t } else if (ch === '#' && peek() === '{') {\n\t print.preserveSingleSpace();\n\t output.push(eatString('}'));\n\t } else if (ch === '{') {\n\t if (peek(true) === '}') {\n\t eatWhitespace();\n\t next();\n\t print.singleSpace();\n\t output.push(\"{}\");\n\t print.newLine();\n\t if (newline_between_rules && indentLevel === 0) {\n\t print.newLine(true);\n\t }\n\t } else {\n\t indent();\n\t print[\"{\"](ch);\n\t // when entering conditional groups, only rulesets are allowed\n\t if (enteringConditionalGroup) {\n\t enteringConditionalGroup = false;\n\t insideRule = (indentLevel > nestedLevel);\n\t } else {\n\t // otherwise, declarations are also allowed\n\t insideRule = (indentLevel >= nestedLevel);\n\t }\n\t }\n\t } else if (ch === '}') {\n\t outdent();\n\t print[\"}\"](ch);\n\t insideRule = false;\n\t insidePropertyValue = false;\n\t if (nestedLevel) {\n\t nestedLevel--;\n\t }\n\t if (newline_between_rules && indentLevel === 0) {\n\t print.newLine(true);\n\t }\n\t } else if (ch === \":\") {\n\t eatWhitespace();\n\t if ((insideRule || enteringConditionalGroup) &&\n\t !(lookBack(\"&\") || foundNestedPseudoClass()) &&\n\t !lookBack(\"(\")) {\n\t // 'property: value' delimiter\n\t // which could be in a conditional group query\n\t insidePropertyValue = true;\n\t output.push(':');\n\t print.singleSpace();\n\t } else {\n\t // sass/less parent reference don't use a space\n\t // sass nested pseudo-class don't use a space\n\t\n\t // preserve space before pseudoclasses/pseudoelements, as it means \"in any child\"\n\t if (lookBack(\" \") && output[output.length - 1] !== \" \") {\n\t output.push(\" \");\n\t }\n\t if (peek() === \":\") {\n\t // pseudo-element\n\t next();\n\t output.push(\"::\");\n\t } else {\n\t // pseudo-class\n\t output.push(':');\n\t }\n\t }\n\t } else if (ch === '\"' || ch === '\\'') {\n\t print.preserveSingleSpace();\n\t output.push(eatString(ch));\n\t } else if (ch === ';') {\n\t insidePropertyValue = false;\n\t output.push(ch);\n\t print.newLine();\n\t } else if (ch === '(') { // may be a url\n\t if (lookBack(\"url\")) {\n\t output.push(ch);\n\t eatWhitespace();\n\t if (next()) {\n\t if (ch !== ')' && ch !== '\"' && ch !== '\\'') {\n\t output.push(eatString(')'));\n\t } else {\n\t pos--;\n\t }\n\t }\n\t } else {\n\t parenLevel++;\n\t print.preserveSingleSpace();\n\t output.push(ch);\n\t eatWhitespace();\n\t }\n\t } else if (ch === ')') {\n\t output.push(ch);\n\t parenLevel--;\n\t } else if (ch === ',') {\n\t output.push(ch);\n\t eatWhitespace();\n\t if (selectorSeparatorNewline && !insidePropertyValue && parenLevel < 1) {\n\t print.newLine();\n\t } else {\n\t print.singleSpace();\n\t }\n\t } else if ((ch === '>' || ch === '+' || ch === '~') &&\n\t !insidePropertyValue && parenLevel < 1) {\n\t //handle combinator spacing\n\t if (space_around_combinator) {\n\t print.singleSpace();\n\t output.push(ch);\n\t print.singleSpace();\n\t } else {\n\t output.push(ch);\n\t eatWhitespace();\n\t // squash extra whitespace\n\t if (ch && whiteRe.test(ch)) {\n\t ch = '';\n\t }\n\t }\n\t } else if (ch === ']') {\n\t output.push(ch);\n\t } else if (ch === '[') {\n\t print.preserveSingleSpace();\n\t output.push(ch);\n\t } else if (ch === '=') { // no whitespace before or after\n\t eatWhitespace();\n\t ch = '=';\n\t output.push(ch);\n\t } else {\n\t print.preserveSingleSpace();\n\t output.push(ch);\n\t }\n\t }\n\t\n\t\n\t var sweetCode = '';\n\t if (basebaseIndentString) {\n\t sweetCode += basebaseIndentString;\n\t }\n\t\n\t sweetCode += output.join('').replace(/[\\r\\n\\t ]+$/, '');\n\t\n\t // establish end_with_newline\n\t if (end_with_newline) {\n\t sweetCode += '\\n';\n\t }\n\t\n\t if (eol !== '\\n') {\n\t sweetCode = sweetCode.replace(/[\\n]/g, eol);\n\t }\n\t\n\t return sweetCode;\n\t }\n\t\n\t // https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule\n\t css_beautify.NESTED_AT_RULE = {\n\t \"@page\": true,\n\t \"@font-face\": true,\n\t \"@keyframes\": true,\n\t // also in CONDITIONAL_GROUP_RULE below\n\t \"@media\": true,\n\t \"@supports\": true,\n\t \"@document\": true\n\t };\n\t css_beautify.CONDITIONAL_GROUP_RULE = {\n\t \"@media\": true,\n\t \"@supports\": true,\n\t \"@document\": true\n\t };\n\t\n\t /*global define */\n\t if (true) {\n\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [], __WEBPACK_AMD_DEFINE_RESULT__ = function() {\n\t return {\n\t css_beautify: css_beautify\n\t };\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if (typeof exports !== \"undefined\") {\n\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t // and you will be able to `var html_beautify = require(\"beautify\").html_beautify`.\n\t exports.css_beautify = css_beautify;\n\t } else if (typeof window !== \"undefined\") {\n\t // If we're running a web page and don't have either of the above, add our one global\n\t window.css_beautify = css_beautify;\n\t } else if (typeof global !== \"undefined\") {\n\t // If we don't even have window, try global.\n\t global.css_beautify = css_beautify;\n\t }\n\t\n\t}());\n\n/***/ },\n/* 12 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*jshint curly:true, eqeqeq:true, laxbreak:true, noempty:false */\n\t/*\n\t\n\t The MIT License (MIT)\n\t\n\t Copyright (c) 2007-2013 Einar Lielmanis and contributors.\n\t\n\t Permission is hereby granted, free of charge, to any person\n\t obtaining a copy of this software and associated documentation files\n\t (the \"Software\"), to deal in the Software without restriction,\n\t including without limitation the rights to use, copy, modify, merge,\n\t publish, distribute, sublicense, and/or sell copies of the Software,\n\t and to permit persons to whom the Software is furnished to do so,\n\t subject to the following conditions:\n\t\n\t The above copyright notice and this permission notice shall be\n\t included in all copies or substantial portions of the Software.\n\t\n\t THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\t EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\t MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\t NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n\t BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n\t ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n\t CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n\t SOFTWARE.\n\t\n\t\n\t Style HTML\n\t---------------\n\t\n\t Written by Nochum Sossonko, (nsossonko@hotmail.com)\n\t\n\t Based on code initially developed by: Einar Lielmanis, <einar@jsbeautifier.org>\n\t http://jsbeautifier.org/\n\t\n\t Usage:\n\t style_html(html_source);\n\t\n\t style_html(html_source, options);\n\t\n\t The options are:\n\t indent_inner_html (default false) — indent <head> and <body> sections,\n\t indent_size (default 4) — indentation size,\n\t indent_char (default space) — character to indent with,\n\t wrap_line_length (default 250) - maximum amount of characters per line (0 = disable)\n\t brace_style (default \"collapse\") - \"collapse\" | \"expand\" | \"end-expand\" | \"none\"\n\t put braces on the same line as control statements (default), or put braces on own line (Allman / ANSI style), or just put end braces on own line, or attempt to keep them where they are.\n\t unformatted (defaults to inline tags) - list of tags, that shouldn't be reformatted\n\t indent_scripts (default normal) - \"keep\"|\"separate\"|\"normal\"\n\t preserve_newlines (default true) - whether existing line breaks before elements should be preserved\n\t Only works before elements, not inside tags or for text.\n\t max_preserve_newlines (default unlimited) - maximum number of line breaks to be preserved in one chunk\n\t indent_handlebars (default false) - format and indent {{#foo}} and {{/foo}}\n\t end_with_newline (false) - end with a newline\n\t extra_liners (default [head,body,/html]) -List of tags that should have an extra newline before them.\n\t\n\t e.g.\n\t\n\t style_html(html_source, {\n\t 'indent_inner_html': false,\n\t 'indent_size': 2,\n\t 'indent_char': ' ',\n\t 'wrap_line_length': 78,\n\t 'brace_style': 'expand',\n\t 'preserve_newlines': true,\n\t 'max_preserve_newlines': 5,\n\t 'indent_handlebars': false,\n\t 'extra_liners': ['/html']\n\t });\n\t*/\n\t\n\t(function() {\n\t\n\t // function trim(s) {\n\t // return s.replace(/^\\s+|\\s+$/g, '');\n\t // }\n\t\n\t function ltrim(s) {\n\t return s.replace(/^\\s+/g, '');\n\t }\n\t\n\t function rtrim(s) {\n\t return s.replace(/\\s+$/g, '');\n\t }\n\t\n\t function style_html(html_source, options, js_beautify, css_beautify) {\n\t //Wrapper function to invoke all the necessary constructors and deal with the output.\n\t\n\t var multi_parser,\n\t indent_inner_html,\n\t indent_body_inner_html,\n\t indent_head_inner_html,\n\t indent_size,\n\t indent_character,\n\t wrap_line_length,\n\t brace_style,\n\t unformatted,\n\t preserve_newlines,\n\t max_preserve_newlines,\n\t indent_handlebars,\n\t wrap_attributes,\n\t wrap_attributes_indent_size,\n\t end_with_newline,\n\t extra_liners,\n\t eol;\n\t\n\t options = options || {};\n\t\n\t // backwards compatibility to 1.3.4\n\t if ((options.wrap_line_length === undefined || parseInt(options.wrap_line_length, 10) === 0) &&\n\t (options.max_char !== undefined && parseInt(options.max_char, 10) !== 0)) {\n\t options.wrap_line_length = options.max_char;\n\t }\n\t\n\t indent_inner_html = (options.indent_inner_html === undefined) ? false : options.indent_inner_html;\n\t indent_body_inner_html = (options.indent_body_inner_html === undefined) ? true : options.indent_body_inner_html;\n\t indent_head_inner_html = (options.indent_head_inner_html === undefined) ? true : options.indent_head_inner_html;\n\t indent_size = (options.indent_size === undefined) ? 4 : parseInt(options.indent_size, 10);\n\t indent_character = (options.indent_char === undefined) ? ' ' : options.indent_char;\n\t brace_style = (options.brace_style === undefined) ? 'collapse' : options.brace_style;\n\t wrap_line_length = parseInt(options.wrap_line_length, 10) === 0 ? 32786 : parseInt(options.wrap_line_length || 250, 10);\n\t unformatted = options.unformatted || [\n\t // https://www.w3.org/TR/html5/dom.html#phrasing-content\n\t 'a', 'abbr', 'area', 'audio', 'b', 'bdi', 'bdo', 'br', 'button', 'canvas', 'cite',\n\t 'code', 'data', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img',\n\t 'input', 'ins', 'kbd', 'keygen', 'label', 'map', 'mark', 'math', 'meter', 'noscript',\n\t 'object', 'output', 'progress', 'q', 'ruby', 's', 'samp', /* 'script', */ 'select', 'small',\n\t 'span', 'strong', 'sub', 'sup', 'svg', 'template', 'textarea', 'time', 'u', 'var',\n\t 'video', 'wbr', 'text',\n\t // prexisting - not sure of full effect of removing, leaving in\n\t 'acronym', 'address', 'big', 'dt', 'ins', 'small', 'strike', 'tt',\n\t 'pre',\n\t ];\n\t preserve_newlines = (options.preserve_newlines === undefined) ? true : options.preserve_newlines;\n\t max_preserve_newlines = preserve_newlines ?\n\t (isNaN(parseInt(options.max_preserve_newlines, 10)) ? 32786 : parseInt(options.max_preserve_newlines, 10)) :\n\t 0;\n\t indent_handlebars = (options.indent_handlebars === undefined) ? false : options.indent_handlebars;\n\t wrap_attributes = (options.wrap_attributes === undefined) ? 'auto' : options.wrap_attributes;\n\t wrap_attributes_indent_size = (isNaN(parseInt(options.wrap_attributes_indent_size, 10))) ? indent_size : parseInt(options.wrap_attributes_indent_size, 10);\n\t end_with_newline = (options.end_with_newline === undefined) ? false : options.end_with_newline;\n\t extra_liners = (typeof options.extra_liners === 'object') && options.extra_liners ?\n\t options.extra_liners.concat() : (typeof options.extra_liners === 'string') ?\n\t options.extra_liners.split(',') : 'head,body,/html'.split(',');\n\t eol = options.eol ? options.eol : '\\n';\n\t\n\t if (options.indent_with_tabs) {\n\t indent_character = '\\t';\n\t indent_size = 1;\n\t }\n\t\n\t eol = eol.replace(/\\\\r/, '\\r').replace(/\\\\n/, '\\n');\n\t\n\t function Parser() {\n\t\n\t this.pos = 0; //Parser position\n\t this.token = '';\n\t this.current_mode = 'CONTENT'; //reflects the current Parser mode: TAG/CONTENT\n\t this.tags = { //An object to hold tags, their position, and their parent-tags, initiated with default values\n\t parent: 'parent1',\n\t parentcount: 1,\n\t parent1: ''\n\t };\n\t this.tag_type = '';\n\t this.token_text = this.last_token = this.last_text = this.token_type = '';\n\t this.newlines = 0;\n\t this.indent_content = indent_inner_html;\n\t this.indent_body_inner_html = indent_body_inner_html;\n\t this.indent_head_inner_html = indent_head_inner_html;\n\t\n\t this.Utils = { //Uilities made available to the various functions\n\t whitespace: \"\\n\\r\\t \".split(''),\n\t\n\t single_token: [\n\t // HTLM void elements - aka self-closing tags - aka singletons\n\t // https://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements\n\t 'area', 'base', 'br', 'col', 'embed', 'hr', 'img', 'input', 'keygen',\n\t 'link', 'menuitem', 'meta', 'param', 'source', 'track', 'wbr',\n\t // NOTE: Optional tags - are not understood.\n\t // https://www.w3.org/TR/html5/syntax.html#optional-tags\n\t // The rules for optional tags are too complex for a simple list\n\t // Also, the content of these tags should still be indented in many cases.\n\t // 'li' is a good exmple.\n\t\n\t // Doctype and xml elements\n\t '!doctype', '?xml',\n\t // ?php tag\n\t '?php',\n\t // other tags that were in this list, keeping just in case\n\t 'basefont', 'isindex'\n\t ],\n\t extra_liners: extra_liners, //for tags that need a line of whitespace before them\n\t in_array: function(what, arr) {\n\t for (var i = 0; i < arr.length; i++) {\n\t if (what === arr[i]) {\n\t return true;\n\t }\n\t }\n\t return false;\n\t }\n\t };\n\t\n\t // Return true if the given text is composed entirely of whitespace.\n\t this.is_whitespace = function(text) {\n\t for (var n = 0; n < text.length; n++) {\n\t if (!this.Utils.in_array(text.charAt(n), this.Utils.whitespace)) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t };\n\t\n\t this.traverse_whitespace = function() {\n\t var input_char = '';\n\t\n\t input_char = this.input.charAt(this.pos);\n\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t this.newlines = 0;\n\t while (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t if (preserve_newlines && input_char === '\\n' && this.newlines <= max_preserve_newlines) {\n\t this.newlines += 1;\n\t }\n\t\n\t this.pos++;\n\t input_char = this.input.charAt(this.pos);\n\t }\n\t return true;\n\t }\n\t return false;\n\t };\n\t\n\t // Append a space to the given content (string array) or, if we are\n\t // at the wrap_line_length, append a newline/indentation.\n\t // return true if a newline was added, false if a space was added\n\t this.space_or_wrap = function(content) {\n\t if (this.line_char_count >= this.wrap_line_length) { //insert a line when the wrap_line_length is reached\n\t this.print_newline(false, content);\n\t this.print_indentation(content);\n\t return true;\n\t } else {\n\t this.line_char_count++;\n\t content.push(' ');\n\t return false;\n\t }\n\t };\n\t\n\t this.get_content = function() { //function to capture regular content between tags\n\t var input_char = '',\n\t content = [];\n\t\n\t while (this.input.charAt(this.pos) !== '<') {\n\t if (this.pos >= this.input.length) {\n\t return content.length ? content.join('') : ['', 'TK_EOF'];\n\t }\n\t\n\t if (this.traverse_whitespace()) {\n\t this.space_or_wrap(content);\n\t continue;\n\t }\n\t\n\t if (indent_handlebars) {\n\t // Handlebars parsing is complicated.\n\t // {{#foo}} and {{/foo}} are formatted tags.\n\t // {{something}} should get treated as content, except:\n\t // {{else}} specifically behaves like {{#if}} and {{/if}}\n\t var peek3 = this.input.substr(this.pos, 3);\n\t if (peek3 === '{{#' || peek3 === '{{/') {\n\t // These are tags and not content.\n\t break;\n\t } else if (peek3 === '{{!') {\n\t return [this.get_tag(), 'TK_TAG_HANDLEBARS_COMMENT'];\n\t } else if (this.input.substr(this.pos, 2) === '{{') {\n\t if (this.get_tag(true) === '{{else}}') {\n\t break;\n\t }\n\t }\n\t }\n\t\n\t input_char = this.input.charAt(this.pos);\n\t this.pos++;\n\t this.line_char_count++;\n\t content.push(input_char); //letter at-a-time (or string) inserted to an array\n\t }\n\t return content.length ? content.join('') : '';\n\t };\n\t\n\t this.get_contents_to = function(name) { //get the full content of a script or style to pass to js_beautify\n\t if (this.pos === this.input.length) {\n\t return ['', 'TK_EOF'];\n\t }\n\t var content = '';\n\t var reg_match = new RegExp('</' + name + '\\\\s*>', 'igm');\n\t reg_match.lastIndex = this.pos;\n\t var reg_array = reg_match.exec(this.input);\n\t var end_script = reg_array ? reg_array.index : this.input.length; //absolute end of script\n\t if (this.pos < end_script) { //get everything in between the script tags\n\t content = this.input.substring(this.pos, end_script);\n\t this.pos = end_script;\n\t }\n\t return content;\n\t };\n\t\n\t this.record_tag = function(tag) { //function to record a tag and its parent in this.tags Object\n\t if (this.tags[tag + 'count']) { //check for the existence of this tag type\n\t this.tags[tag + 'count']++;\n\t this.tags[tag + this.tags[tag + 'count']] = this.indent_level; //and record the present indent level\n\t } else { //otherwise initialize this tag type\n\t this.tags[tag + 'count'] = 1;\n\t this.tags[tag + this.tags[tag + 'count']] = this.indent_level; //and record the present indent level\n\t }\n\t this.tags[tag + this.tags[tag + 'count'] + 'parent'] = this.tags.parent; //set the parent (i.e. in the case of a div this.tags.div1parent)\n\t this.tags.parent = tag + this.tags[tag + 'count']; //and make this the current parent (i.e. in the case of a div 'div1')\n\t };\n\t\n\t this.retrieve_tag = function(tag) { //function to retrieve the opening tag to the corresponding closer\n\t if (this.tags[tag + 'count']) { //if the openener is not in the Object we ignore it\n\t var temp_parent = this.tags.parent; //check to see if it's a closable tag.\n\t while (temp_parent) { //till we reach '' (the initial value);\n\t if (tag + this.tags[tag + 'count'] === temp_parent) { //if this is it use it\n\t break;\n\t }\n\t temp_parent = this.tags[temp_parent + 'parent']; //otherwise keep on climbing up the DOM Tree\n\t }\n\t if (temp_parent) { //if we caught something\n\t this.indent_level = this.tags[tag + this.tags[tag + 'count']]; //set the indent_level accordingly\n\t this.tags.parent = this.tags[temp_parent + 'parent']; //and set the current parent\n\t }\n\t delete this.tags[tag + this.tags[tag + 'count'] + 'parent']; //delete the closed tags parent reference...\n\t delete this.tags[tag + this.tags[tag + 'count']]; //...and the tag itself\n\t if (this.tags[tag + 'count'] === 1) {\n\t delete this.tags[tag + 'count'];\n\t } else {\n\t this.tags[tag + 'count']--;\n\t }\n\t }\n\t };\n\t\n\t this.indent_to_tag = function(tag) {\n\t // Match the indentation level to the last use of this tag, but don't remove it.\n\t if (!this.tags[tag + 'count']) {\n\t return;\n\t }\n\t var temp_parent = this.tags.parent;\n\t while (temp_parent) {\n\t if (tag + this.tags[tag + 'count'] === temp_parent) {\n\t break;\n\t }\n\t temp_parent = this.tags[temp_parent + 'parent'];\n\t }\n\t if (temp_parent) {\n\t this.indent_level = this.tags[tag + this.tags[tag + 'count']];\n\t }\n\t };\n\t\n\t this.get_tag = function(peek) { //function to get a full tag and parse its type\n\t var input_char = '',\n\t content = [],\n\t comment = '',\n\t space = false,\n\t first_attr = true,\n\t tag_start, tag_end,\n\t tag_start_char,\n\t orig_pos = this.pos,\n\t orig_line_char_count = this.line_char_count;\n\t\n\t peek = peek !== undefined ? peek : false;\n\t\n\t do {\n\t if (this.pos >= this.input.length) {\n\t if (peek) {\n\t this.pos = orig_pos;\n\t this.line_char_count = orig_line_char_count;\n\t }\n\t return content.length ? content.join('') : ['', 'TK_EOF'];\n\t }\n\t\n\t input_char = this.input.charAt(this.pos);\n\t this.pos++;\n\t\n\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) { //don't want to insert unnecessary space\n\t space = true;\n\t continue;\n\t }\n\t\n\t if (input_char === \"'\" || input_char === '\"') {\n\t input_char += this.get_unformatted(input_char);\n\t space = true;\n\t\n\t }\n\t\n\t if (input_char === '=') { //no space before =\n\t space = false;\n\t }\n\t\n\t if (content.length && content[content.length - 1] !== '=' && input_char !== '>' && space) {\n\t //no space after = or before >\n\t var wrapped = this.space_or_wrap(content);\n\t var indentAttrs = wrapped && input_char !== '/' && wrap_attributes !== 'force';\n\t space = false;\n\t if (!first_attr && wrap_attributes === 'force' && input_char !== '/') {\n\t this.print_newline(false, content);\n\t this.print_indentation(content);\n\t indentAttrs = true;\n\t }\n\t if (indentAttrs) {\n\t //indent attributes an auto or forced line-wrap\n\t for (var count = 0; count < wrap_attributes_indent_size; count++) {\n\t content.push(indent_character);\n\t }\n\t }\n\t for (var i = 0; i < content.length; i++) {\n\t if (content[i] === ' ') {\n\t first_attr = false;\n\t break;\n\t }\n\t }\n\t }\n\t\n\t if (indent_handlebars && tag_start_char === '<') {\n\t // When inside an angle-bracket tag, put spaces around\n\t // handlebars not inside of strings.\n\t if ((input_char + this.input.charAt(this.pos)) === '{{') {\n\t input_char += this.get_unformatted('}}');\n\t if (content.length && content[content.length - 1] !== ' ' && content[content.length - 1] !== '<') {\n\t input_char = ' ' + input_char;\n\t }\n\t space = true;\n\t }\n\t }\n\t\n\t if (input_char === '<' && !tag_start_char) {\n\t tag_start = this.pos - 1;\n\t tag_start_char = '<';\n\t }\n\t\n\t if (indent_handlebars && !tag_start_char) {\n\t if (content.length >= 2 && content[content.length - 1] === '{' && content[content.length - 2] === '{') {\n\t if (input_char === '#' || input_char === '/' || input_char === '!') {\n\t tag_start = this.pos - 3;\n\t } else {\n\t tag_start = this.pos - 2;\n\t }\n\t tag_start_char = '{';\n\t }\n\t }\n\t\n\t this.line_char_count++;\n\t content.push(input_char); //inserts character at-a-time (or string)\n\t\n\t if (content[1] && (content[1] === '!' || content[1] === '?' || content[1] === '%')) { //if we're in a comment, do something special\n\t // We treat all comments as literals, even more than preformatted tags\n\t // we just look for the appropriate close tag\n\t content = [this.get_comment(tag_start)];\n\t break;\n\t }\n\t\n\t if (indent_handlebars && content[1] && content[1] === '{' && content[2] && content[2] === '!') { //if we're in a comment, do something special\n\t // We treat all comments as literals, even more than preformatted tags\n\t // we just look for the appropriate close tag\n\t content = [this.get_comment(tag_start)];\n\t break;\n\t }\n\t\n\t if (indent_handlebars && tag_start_char === '{' && content.length > 2 && content[content.length - 2] === '}' && content[content.length - 1] === '}') {\n\t break;\n\t }\n\t } while (input_char !== '>');\n\t\n\t var tag_complete = content.join('');\n\t var tag_index;\n\t var tag_offset;\n\t\n\t if (tag_complete.indexOf(' ') !== -1) { //if there's whitespace, thats where the tag name ends\n\t tag_index = tag_complete.indexOf(' ');\n\t } else if (tag_complete.charAt(0) === '{') {\n\t tag_index = tag_complete.indexOf('}');\n\t } else { //otherwise go with the tag ending\n\t tag_index = tag_complete.indexOf('>');\n\t }\n\t if (tag_complete.charAt(0) === '<' || !indent_handlebars) {\n\t tag_offset = 1;\n\t } else {\n\t tag_offset = tag_complete.charAt(2) === '#' ? 3 : 2;\n\t }\n\t var tag_check = tag_complete.substring(tag_offset, tag_index).toLowerCase();\n\t if (tag_complete.charAt(tag_complete.length - 2) === '/' ||\n\t this.Utils.in_array(tag_check, this.Utils.single_token)) { //if this tag name is a single tag type (either in the list or has a closing /)\n\t if (!peek) {\n\t this.tag_type = 'SINGLE';\n\t }\n\t } else if (indent_handlebars && tag_complete.charAt(0) === '{' && tag_check === 'else') {\n\t if (!peek) {\n\t this.indent_to_tag('if');\n\t this.tag_type = 'HANDLEBARS_ELSE';\n\t this.indent_content = true;\n\t this.traverse_whitespace();\n\t }\n\t } else if (this.is_unformatted(tag_check, unformatted)) { // do not reformat the \"unformatted\" tags\n\t comment = this.get_unformatted('</' + tag_check + '>', tag_complete); //...delegate to get_unformatted function\n\t content.push(comment);\n\t tag_end = this.pos - 1;\n\t this.tag_type = 'SINGLE';\n\t } else if (tag_check === 'script' &&\n\t (tag_complete.search('type') === -1 ||\n\t (tag_complete.search('type') > -1 &&\n\t tag_complete.search(/\\b(text|application|dojo)\\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\\+)?json|method|aspect)/) > -1))) {\n\t if (!peek) {\n\t this.record_tag(tag_check);\n\t this.tag_type = 'SCRIPT';\n\t }\n\t } else if (tag_check === 'style' &&\n\t (tag_complete.search('type') === -1 ||\n\t (tag_complete.search('type') > -1 && tag_complete.search('text/css') > -1))) {\n\t if (!peek) {\n\t this.record_tag(tag_check);\n\t this.tag_type = 'STYLE';\n\t }\n\t } else if (tag_check.charAt(0) === '!') { //peek for <! comment\n\t // for comments content is already correct.\n\t if (!peek) {\n\t this.tag_type = 'SINGLE';\n\t this.traverse_whitespace();\n\t }\n\t } else if (!peek) {\n\t if (tag_check.charAt(0) === '/') { //this tag is a double tag so check for tag-ending\n\t this.retrieve_tag(tag_check.substring(1)); //remove it and all ancestors\n\t this.tag_type = 'END';\n\t } else { //otherwise it's a start-tag\n\t this.record_tag(tag_check); //push it on the tag stack\n\t if (tag_check.toLowerCase() !== 'html') {\n\t this.indent_content = true;\n\t }\n\t this.tag_type = 'START';\n\t }\n\t\n\t // Allow preserving of newlines after a start or end tag\n\t if (this.traverse_whitespace()) {\n\t this.space_or_wrap(content);\n\t }\n\t\n\t if (this.Utils.in_array(tag_check, this.Utils.extra_liners)) { //check if this double needs an extra line\n\t this.print_newline(false, this.output);\n\t if (this.output.length && this.output[this.output.length - 2] !== '\\n') {\n\t this.print_newline(true, this.output);\n\t }\n\t }\n\t }\n\t\n\t if (peek) {\n\t this.pos = orig_pos;\n\t this.line_char_count = orig_line_char_count;\n\t }\n\t\n\t return content.join(''); //returns fully formatted tag\n\t };\n\t\n\t this.get_comment = function(start_pos) { //function to return comment content in its entirety\n\t // this is will have very poor perf, but will work for now.\n\t var comment = '',\n\t delimiter = '>',\n\t matched = false;\n\t\n\t this.pos = start_pos;\n\t var input_char = this.input.charAt(this.pos);\n\t this.pos++;\n\t\n\t while (this.pos <= this.input.length) {\n\t comment += input_char;\n\t\n\t // only need to check for the delimiter if the last chars match\n\t if (comment.charAt(comment.length - 1) === delimiter.charAt(delimiter.length - 1) &&\n\t comment.indexOf(delimiter) !== -1) {\n\t break;\n\t }\n\t\n\t // only need to search for custom delimiter for the first few characters\n\t if (!matched && comment.length < 10) {\n\t if (comment.indexOf('<![if') === 0) { //peek for <![if conditional comment\n\t delimiter = '<![endif]>';\n\t matched = true;\n\t } else if (comment.indexOf('<![cdata[') === 0) { //if it's a <[cdata[ comment...\n\t delimiter = ']]>';\n\t matched = true;\n\t } else if (comment.indexOf('<![') === 0) { // some other ![ comment? ...\n\t delimiter = ']>';\n\t matched = true;\n\t } else if (comment.indexOf('<!--') === 0) { // <!-- comment ...\n\t delimiter = '-->';\n\t matched = true;\n\t } else if (comment.indexOf('{{!') === 0) { // {{! handlebars comment\n\t delimiter = '}}';\n\t matched = true;\n\t } else if (comment.indexOf('<?') === 0) { // {{! handlebars comment\n\t delimiter = '?>';\n\t matched = true;\n\t } else if (comment.indexOf('<%') === 0) { // {{! handlebars comment\n\t delimiter = '%>';\n\t matched = true;\n\t }\n\t }\n\t\n\t input_char = this.input.charAt(this.pos);\n\t this.pos++;\n\t }\n\t\n\t return comment;\n\t };\n\t\n\t function tokenMatcher(delimiter) {\n\t var token = '';\n\t\n\t var add = function(str) {\n\t var newToken = token + str.toLowerCase();\n\t token = newToken.length <= delimiter.length ? newToken : newToken.substr(newToken.length - delimiter.length, delimiter.length);\n\t };\n\t\n\t var doesNotMatch = function() {\n\t return token.indexOf(delimiter) === -1;\n\t };\n\t\n\t return {\n\t add: add,\n\t doesNotMatch: doesNotMatch\n\t };\n\t }\n\t\n\t this.get_unformatted = function(delimiter, orig_tag) { //function to return unformatted content in its entirety\n\t if (orig_tag && orig_tag.toLowerCase().indexOf(delimiter) !== -1) {\n\t return '';\n\t }\n\t var input_char = '';\n\t var content = '';\n\t var space = true;\n\t\n\t var delimiterMatcher = tokenMatcher(delimiter);\n\t\n\t do {\n\t\n\t if (this.pos >= this.input.length) {\n\t return content;\n\t }\n\t\n\t input_char = this.input.charAt(this.pos);\n\t this.pos++;\n\t\n\t if (this.Utils.in_array(input_char, this.Utils.whitespace)) {\n\t if (!space) {\n\t this.line_char_count--;\n\t continue;\n\t }\n\t if (input_char === '\\n' || input_char === '\\r') {\n\t content += '\\n';\n\t /* Don't change tab indention for unformatted blocks. If using code for html editing, this will greatly affect <pre> tags if they are specified in the 'unformatted array'\n\t for (var i=0; i<this.indent_level; i++) {\n\t content += this.indent_string;\n\t }\n\t space = false; //...and make sure other indentation is erased\n\t */\n\t this.line_char_count = 0;\n\t continue;\n\t }\n\t }\n\t content += input_char;\n\t delimiterMatcher.add(input_char);\n\t this.line_char_count++;\n\t space = true;\n\t\n\t if (indent_handlebars && input_char === '{' && content.length && content.charAt(content.length - 2) === '{') {\n\t // Handlebars expressions in strings should also be unformatted.\n\t content += this.get_unformatted('}}');\n\t // Don't consider when stopping for delimiters.\n\t }\n\t } while (delimiterMatcher.doesNotMatch());\n\t\n\t return content;\n\t };\n\t\n\t this.get_token = function() { //initial handler for token-retrieval\n\t var token;\n\t\n\t if (this.last_token === 'TK_TAG_SCRIPT' || this.last_token === 'TK_TAG_STYLE') { //check if we need to format javascript\n\t var type = this.last_token.substr(7);\n\t token = this.get_contents_to(type);\n\t if (typeof token !== 'string') {\n\t return token;\n\t }\n\t return [token, 'TK_' + type];\n\t }\n\t if (this.current_mode === 'CONTENT') {\n\t token = this.get_content();\n\t if (typeof token !== 'string') {\n\t return token;\n\t } else {\n\t return [token, 'TK_CONTENT'];\n\t }\n\t }\n\t\n\t if (this.current_mode === 'TAG') {\n\t token = this.get_tag();\n\t if (typeof token !== 'string') {\n\t return token;\n\t } else {\n\t var tag_name_type = 'TK_TAG_' + this.tag_type;\n\t return [token, tag_name_type];\n\t }\n\t }\n\t };\n\t\n\t this.get_full_indent = function(level) {\n\t level = this.indent_level + level || 0;\n\t if (level < 1) {\n\t return '';\n\t }\n\t\n\t return Array(level + 1).join(this.indent_string);\n\t };\n\t\n\t this.is_unformatted = function(tag_check, unformatted) {\n\t //is this an HTML5 block-level link?\n\t if (!this.Utils.in_array(tag_check, unformatted)) {\n\t return false;\n\t }\n\t\n\t if (tag_check.toLowerCase() !== 'a' || !this.Utils.in_array('a', unformatted)) {\n\t return true;\n\t }\n\t\n\t //at this point we have an tag; is its first child something we want to remain\n\t //unformatted?\n\t var next_tag = this.get_tag(true /* peek. */ );\n\t\n\t // test next_tag to see if it is just html tag (no external content)\n\t var tag = (next_tag || \"\").match(/^\\s*<\\s*\\/?([a-z]*)\\s*[^>]*>\\s*$/);\n\t\n\t // if next_tag comes back but is not an isolated tag, then\n\t // let's treat the 'a' tag as having content\n\t // and respect the unformatted option\n\t if (!tag || this.Utils.in_array(tag, unformatted)) {\n\t return true;\n\t } else {\n\t return false;\n\t }\n\t };\n\t\n\t this.printer = function(js_source, indent_character, indent_size, wrap_line_length, brace_style) { //handles input/output and some other printing functions\n\t\n\t this.input = js_source || ''; //gets the input for the Parser\n\t\n\t // HACK: newline parsing inconsistent. This brute force normalizes the input.\n\t this.input = this.input.replace(/\\r\\n|[\\r\\u2028\\u2029]/g, '\\n');\n\t\n\t this.output = [];\n\t this.indent_character = indent_character;\n\t this.indent_string = '';\n\t this.indent_size = indent_size;\n\t this.brace_style = brace_style;\n\t this.indent_level = 0;\n\t this.wrap_line_length = wrap_line_length;\n\t this.line_char_count = 0; //count to see if wrap_line_length was exceeded\n\t\n\t for (var i = 0; i < this.indent_size; i++) {\n\t this.indent_string += this.indent_character;\n\t }\n\t\n\t this.print_newline = function(force, arr) {\n\t this.line_char_count = 0;\n\t if (!arr || !arr.length) {\n\t return;\n\t }\n\t if (force || (arr[arr.length - 1] !== '\\n')) { //we might want the extra line\n\t if ((arr[arr.length - 1] !== '\\n')) {\n\t arr[arr.length - 1] = rtrim(arr[arr.length - 1]);\n\t }\n\t arr.push('\\n');\n\t }\n\t };\n\t\n\t this.print_indentation = function(arr) {\n\t for (var i = 0; i < this.indent_level; i++) {\n\t arr.push(this.indent_string);\n\t this.line_char_count += this.indent_string.length;\n\t }\n\t };\n\t\n\t this.print_token = function(text) {\n\t // Avoid printing initial whitespace.\n\t if (this.is_whitespace(text) && !this.output.length) {\n\t return;\n\t }\n\t if (text || text !== '') {\n\t if (this.output.length && this.output[this.output.length - 1] === '\\n') {\n\t this.print_indentation(this.output);\n\t text = ltrim(text);\n\t }\n\t }\n\t this.print_token_raw(text);\n\t };\n\t\n\t this.print_token_raw = function(text) {\n\t // If we are going to print newlines, truncate trailing\n\t // whitespace, as the newlines will represent the space.\n\t if (this.newlines > 0) {\n\t text = rtrim(text);\n\t }\n\t\n\t if (text && text !== '') {\n\t if (text.length > 1 && text.charAt(text.length - 1) === '\\n') {\n\t // unformatted tags can grab newlines as their last character\n\t this.output.push(text.slice(0, -1));\n\t this.print_newline(false, this.output);\n\t } else {\n\t this.output.push(text);\n\t }\n\t }\n\t\n\t for (var n = 0; n < this.newlines; n++) {\n\t this.print_newline(n > 0, this.output);\n\t }\n\t this.newlines = 0;\n\t };\n\t\n\t this.indent = function() {\n\t this.indent_level++;\n\t };\n\t\n\t this.unindent = function() {\n\t if (this.indent_level > 0) {\n\t this.indent_level--;\n\t }\n\t };\n\t };\n\t return this;\n\t }\n\t\n\t /*_____________________--------------------_____________________*/\n\t\n\t multi_parser = new Parser(); //wrapping functions Parser\n\t multi_parser.printer(html_source, indent_character, indent_size, wrap_line_length, brace_style); //initialize starting values\n\t\n\t while (true) {\n\t var t = multi_parser.get_token();\n\t multi_parser.token_text = t[0];\n\t multi_parser.token_type = t[1];\n\t\n\t if (multi_parser.token_type === 'TK_EOF') {\n\t break;\n\t }\n\t\n\t switch (multi_parser.token_type) {\n\t case 'TK_TAG_START':\n\t multi_parser.print_newline(false, multi_parser.output);\n\t multi_parser.print_token(multi_parser.token_text);\n\t if (multi_parser.indent_content) {\n\t if ((multi_parser.indent_body_inner_html || !multi_parser.token_text.match(/<body(?:.*)>/)) &&\n\t (multi_parser.indent_head_inner_html || !multi_parser.token_text.match(/<head(?:.*)>/))) {\n\t\n\t multi_parser.indent();\n\t }\n\t\n\t multi_parser.indent_content = false;\n\t }\n\t multi_parser.current_mode = 'CONTENT';\n\t break;\n\t case 'TK_TAG_STYLE':\n\t case 'TK_TAG_SCRIPT':\n\t multi_parser.print_newline(false, multi_parser.output);\n\t multi_parser.print_token(multi_parser.token_text);\n\t multi_parser.current_mode = 'CONTENT';\n\t break;\n\t case 'TK_TAG_END':\n\t //Print new line only if the tag has no content and has child\n\t if (multi_parser.last_token === 'TK_CONTENT' && multi_parser.last_text === '') {\n\t var tag_name = (multi_parser.token_text.match(/\\w+/) || [])[0];\n\t var tag_extracted_from_last_output = null;\n\t if (multi_parser.output.length) {\n\t tag_extracted_from_last_output = multi_parser.output[multi_parser.output.length - 1].match(/(?:<|{{#)\\s*(\\w+)/);\n\t }\n\t if (tag_extracted_from_last_output === null ||\n\t (tag_extracted_from_last_output[1] !== tag_name && !multi_parser.Utils.in_array(tag_extracted_from_last_output[1], unformatted))) {\n\t multi_parser.print_newline(false, multi_parser.output);\n\t }\n\t }\n\t multi_parser.print_token(multi_parser.token_text);\n\t multi_parser.current_mode = 'CONTENT';\n\t break;\n\t case 'TK_TAG_SINGLE':\n\t // Don't add a newline before elements that should remain unformatted.\n\t var tag_check = multi_parser.token_text.match(/^\\s*<([a-z-]+)/i);\n\t if (!tag_check || !multi_parser.Utils.in_array(tag_check[1], unformatted)) {\n\t multi_parser.print_newline(false, multi_parser.output);\n\t }\n\t multi_parser.print_token(multi_parser.token_text);\n\t multi_parser.current_mode = 'CONTENT';\n\t break;\n\t case 'TK_TAG_HANDLEBARS_ELSE':\n\t // Don't add a newline if opening {{#if}} tag is on the current line\n\t var foundIfOnCurrentLine = false;\n\t for (var lastCheckedOutput = multi_parser.output.length - 1; lastCheckedOutput >= 0; lastCheckedOutput--) {\n\t if (multi_parser.output[lastCheckedOutput] === '\\n') {\n\t break;\n\t } else {\n\t if (multi_parser.output[lastCheckedOutput].match(/{{#if/)) {\n\t foundIfOnCurrentLine = true;\n\t break;\n\t }\n\t }\n\t }\n\t if (!foundIfOnCurrentLine) {\n\t multi_parser.print_newline(false, multi_parser.output);\n\t }\n\t multi_parser.print_token(multi_parser.token_text);\n\t if (multi_parser.indent_content) {\n\t multi_parser.indent();\n\t multi_parser.indent_content = false;\n\t }\n\t multi_parser.current_mode = 'CONTENT';\n\t break;\n\t case 'TK_TAG_HANDLEBARS_COMMENT':\n\t multi_parser.print_token(multi_parser.token_text);\n\t multi_parser.current_mode = 'TAG';\n\t break;\n\t case 'TK_CONTENT':\n\t multi_parser.print_token(multi_parser.token_text);\n\t multi_parser.current_mode = 'TAG';\n\t break;\n\t case 'TK_STYLE':\n\t case 'TK_SCRIPT':\n\t if (multi_parser.token_text !== '') {\n\t multi_parser.print_newline(false, multi_parser.output);\n\t var text = multi_parser.token_text,\n\t _beautifier,\n\t script_indent_level = 1;\n\t if (multi_parser.token_type === 'TK_SCRIPT') {\n\t _beautifier = typeof js_beautify === 'function' && js_beautify;\n\t } else if (multi_parser.token_type === 'TK_STYLE') {\n\t _beautifier = typeof css_beautify === 'function' && css_beautify;\n\t }\n\t\n\t if (options.indent_scripts === \"keep\") {\n\t script_indent_level = 0;\n\t } else if (options.indent_scripts === \"separate\") {\n\t script_indent_level = -multi_parser.indent_level;\n\t }\n\t\n\t var indentation = multi_parser.get_full_indent(script_indent_level);\n\t if (_beautifier) {\n\t\n\t // call the Beautifier if avaliable\n\t var Child_options = function() {\n\t this.eol = '\\n';\n\t };\n\t Child_options.prototype = options;\n\t var child_options = new Child_options();\n\t text = _beautifier(text.replace(/^\\s*/, indentation), child_options);\n\t } else {\n\t // simply indent the string otherwise\n\t var white = text.match(/^\\s*/)[0];\n\t var _level = white.match(/[^\\n\\r]*$/)[0].split(multi_parser.indent_string).length - 1;\n\t var reindent = multi_parser.get_full_indent(script_indent_level - _level);\n\t text = text.replace(/^\\s*/, indentation)\n\t .replace(/\\r\\n|\\r|\\n/g, '\\n' + reindent)\n\t .replace(/\\s+$/, '');\n\t }\n\t if (text) {\n\t multi_parser.print_token_raw(text);\n\t multi_parser.print_newline(true, multi_parser.output);\n\t }\n\t }\n\t multi_parser.current_mode = 'TAG';\n\t break;\n\t default:\n\t // We should not be getting here but we don't want to drop input on the floor\n\t // Just output the text and move on\n\t if (multi_parser.token_text !== '') {\n\t multi_parser.print_token(multi_parser.token_text);\n\t }\n\t break;\n\t }\n\t multi_parser.last_token = multi_parser.token_type;\n\t multi_parser.last_text = multi_parser.token_text;\n\t }\n\t var sweet_code = multi_parser.output.join('').replace(/[\\r\\n\\t ]+$/, '');\n\t\n\t // establish end_with_newline\n\t if (end_with_newline) {\n\t sweet_code += '\\n';\n\t }\n\t\n\t if (eol !== '\\n') {\n\t sweet_code = sweet_code.replace(/[\\n]/g, eol);\n\t }\n\t\n\t return sweet_code;\n\t }\n\t\n\t if (true) {\n\t // Add support for AMD ( https://github.com/amdjs/amdjs-api/wiki/AMD#defineamd-property- )\n\t !(__WEBPACK_AMD_DEFINE_ARRAY__ = [__webpack_require__, __webpack_require__(10), __webpack_require__(11)], __WEBPACK_AMD_DEFINE_RESULT__ = function(requireamd) {\n\t var js_beautify = __webpack_require__(10);\n\t var css_beautify = __webpack_require__(11);\n\t\n\t return {\n\t html_beautify: function(html_source, options) {\n\t return style_html(html_source, options, js_beautify.js_beautify, css_beautify.css_beautify);\n\t }\n\t };\n\t }.apply(exports, __WEBPACK_AMD_DEFINE_ARRAY__), __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__));\n\t } else if (typeof exports !== \"undefined\") {\n\t // Add support for CommonJS. Just put this file somewhere on your require.paths\n\t // and you will be able to `var html_beautify = require(\"beautify\").html_beautify`.\n\t var js_beautify = require('./beautify.js');\n\t var css_beautify = require('./beautify-css.js');\n\t\n\t exports.html_beautify = function(html_source, options) {\n\t return style_html(html_source, options, js_beautify.js_beautify, css_beautify.css_beautify);\n\t };\n\t } else if (typeof window !== \"undefined\") {\n\t // If we're running a web page and don't have either of the above, add our one global\n\t window.html_beautify = function(html_source, options) {\n\t return style_html(html_source, options, window.js_beautify, window.css_beautify);\n\t };\n\t } else if (typeof global !== \"undefined\") {\n\t // If we don't even have window, try global.\n\t global.html_beautify = function(html_source, options) {\n\t return style_html(html_source, options, global.js_beautify, global.css_beautify);\n\t };\n\t }\n\t\n\t}());\n\n/***/ },\n/* 13 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(7);\n\tvar html_code_pipe_1 = __webpack_require__(6);\n\tvar javascript_code_pipe_1 = __webpack_require__(8);\n\tvar utils_directive_1 = __webpack_require__(14);\n\tvar NguiUtilsModule = (function () {\n\t function NguiUtilsModule() {\n\t }\n\t return NguiUtilsModule;\n\t}());\n\tNguiUtilsModule = __decorate([\n\t core_1.NgModule({\n\t declarations: [\n\t html_code_pipe_1.HtmlCodePipe,\n\t javascript_code_pipe_1.JavascriptCodePipe,\n\t utils_directive_1.NguiUtilsDirective\n\t ],\n\t exports: [\n\t html_code_pipe_1.HtmlCodePipe,\n\t javascript_code_pipe_1.JavascriptCodePipe,\n\t utils_directive_1.NguiUtilsDirective\n\t ]\n\t }),\n\t __metadata(\"design:paramtypes\", [])\n\t], NguiUtilsModule);\n\texports.NguiUtilsModule = NguiUtilsModule;\n\n\n/***/ },\n/* 14 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\tvar __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {\n\t var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n\t if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n\t else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n\t return c > 3 && r && Object.defineProperty(target, key, r), r;\n\t};\n\tvar __metadata = (this && this.__metadata) || function (k, v) {\n\t if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(k, v);\n\t};\n\tvar core_1 = __webpack_require__(7);\n\tvar NguiUtilsDirective = (function () {\n\t function NguiUtilsDirective() {\n\t }\n\t return NguiUtilsDirective;\n\t}()); // dummy directive to allow non-standard tags\n\tNguiUtilsDirective = __decorate([\n\t core_1.Directive({\n\t selector: 'ngui-utils-1, ngui-utils-2, ngui-utils-3, ngui-utils-4, ngui-utils-5,' +\n\t 'ngui-utils-6, ngui-utils-7, ngui-utils-8, ngui-utils-9, ngui-utils-10,' +\n\t 'ngui-utils-11, ngui-utils-12, ngui-utils-13, ngui-utils-14, ngui-utils-15,' +\n\t 'ngui-utils-16, ngui-utils-17, ngui-utils-18, ngui-utils-19, ngui-utils-20'\n\t }),\n\t __metadata(\"design:paramtypes\", [])\n\t], NguiUtilsDirective);\n\texports.NguiUtilsDirective = NguiUtilsDirective;\n\n\n/***/ }\n/******/ ])\n});\n;\n//# sourceMappingURL=utils.umd.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@ngui/utils/dist/utils.umd.js\n// module id = 346\n// module chunks = 0","import { Routes, RouterModule } from '@angular/router';\nimport { ModuleWithProviders } from '@angular/core';\n\nimport { DirectiveTestComponent } from './directive-test.component';\nimport { ComponentTestComponent } from './component-test.component';\n\nexport const routes: Routes = [\n { path: 'directive-test', component: DirectiveTestComponent },\n { path: 'component-test', component: ComponentTestComponent },\n { path: '', redirectTo: '/directive-test', pathMatch: 'full' },\n];\n\nexport const APP_ROUTER_PROVIDERS: ModuleWithProviders = RouterModule.forRoot(routes);\nexport const APP_ROUTER_COMPONENTS = [\n DirectiveTestComponent,\n ComponentTestComponent\n];\n\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./app/app.route.ts","/**\n * @license Angular v3.2.2\n * (c) 2010-2016 Google, Inc. https://angular.io/\n * License: MIT\n */(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/common'), require('@angular/core'), require('rxjs/BehaviorSubject'), require('rxjs/Subject'), require('rxjs/observable/from'), require('rxjs/observable/of'), require('rxjs/operator/concatMap'), require('rxjs/operator/every'), require('rxjs/operator/first'), require('rxjs/operator/map'), require('rxjs/operator/mergeMap'), require('rxjs/operator/reduce'), require('rxjs/Observable'), require('rxjs/operator/catch'), require('rxjs/operator/concatAll'), require('rxjs/util/EmptyError'), require('rxjs/observable/fromPromise'), require('rxjs/operator/last'), require('rxjs/operator/mergeAll'), require('@angular/platform-browser'), require('rxjs/operator/filter')) :\n typeof define === 'function' && define.amd ? define(['exports', '@angular/common', '@angular/core', 'rxjs/BehaviorSubject', 'rxjs/Subject', 'rxjs/observable/from', 'rxjs/observable/of', 'rxjs/operator/concatMap', 'rxjs/operator/every', 'rxjs/operator/first', 'rxjs/operator/map', 'rxjs/operator/mergeMap', 'rxjs/operator/reduce', 'rxjs/Observable', 'rxjs/operator/catch', 'rxjs/operator/concatAll', 'rxjs/util/EmptyError', 'rxjs/observable/fromPromise', 'rxjs/operator/last', 'rxjs/operator/mergeAll', '@angular/platform-browser', 'rxjs/operator/filter'], factory) :\n (factory((global.ng = global.ng || {}, global.ng.router = global.ng.router || {}),global.ng.common,global.ng.core,global.Rx,global.Rx,global.Rx.Observable,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.Rx,global.Rx.Observable,global.Rx.Observable.prototype,global.Rx.Observable.prototype,global.ng.platformBrowser,global.Rx.Observable.prototype));\n}(this, function (exports,_angular_common,_angular_core,rxjs_BehaviorSubject,rxjs_Subject,rxjs_observable_from,rxjs_observable_of,rxjs_operator_concatMap,rxjs_operator_every,rxjs_operator_first,rxjs_operator_map,rxjs_operator_mergeMap,rxjs_operator_reduce,rxjs_Observable,rxjs_operator_catch,rxjs_operator_concatAll,rxjs_util_EmptyError,rxjs_observable_fromPromise,l,rxjs_operator_mergeAll,_angular_platformBrowser,rxjs_operator_filter) { 'use strict';\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @whatItDoes Name of the primary outlet.\n *\n * @stable\n */\n var PRIMARY_OUTLET = 'primary';\n var NavigationCancelingError = (function (_super) {\n __extends(NavigationCancelingError, _super);\n function NavigationCancelingError(message) {\n _super.call(this, message);\n this.message = message;\n this.stack = (new Error(message)).stack;\n }\n NavigationCancelingError.prototype.toString = function () { return this.message; };\n return NavigationCancelingError;\n }(Error));\n function defaultUrlMatcher(segments, segmentGroup, route) {\n var path = route.path;\n var parts = path.split('/');\n var posParams = {};\n var consumed = [];\n var currentIndex = 0;\n for (var i = 0; i < parts.length; ++i) {\n if (currentIndex >= segments.length)\n return null;\n var current = segments[currentIndex];\n var p = parts[i];\n var isPosParam = p.startsWith(':');\n if (!isPosParam && p !== current.path)\n return null;\n if (isPosParam) {\n posParams[p.substring(1)] = current;\n }\n consumed.push(current);\n currentIndex++;\n }\n if (route.pathMatch === 'full' &&\n (segmentGroup.hasChildren() || currentIndex < segments.length)) {\n return null;\n }\n else {\n return { consumed: consumed, posParams: posParams };\n }\n }\n\n function shallowEqualArrays(a, b) {\n if (a.length !== b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (!shallowEqual(a[i], b[i]))\n return false;\n }\n return true;\n }\n function shallowEqual(a, b) {\n var k1 = Object.keys(a);\n var k2 = Object.keys(b);\n if (k1.length != k2.length) {\n return false;\n }\n var key;\n for (var i = 0; i < k1.length; i++) {\n key = k1[i];\n if (a[key] !== b[key]) {\n return false;\n }\n }\n return true;\n }\n function flatten(a) {\n var target = [];\n for (var i = 0; i < a.length; ++i) {\n for (var j = 0; j < a[i].length; ++j) {\n target.push(a[i][j]);\n }\n }\n return target;\n }\n function last(a) {\n return a.length > 0 ? a[a.length - 1] : null;\n }\n function merge(m1, m2) {\n var m = {};\n for (var attr in m1) {\n if (m1.hasOwnProperty(attr)) {\n m[attr] = m1[attr];\n }\n }\n for (var attr in m2) {\n if (m2.hasOwnProperty(attr)) {\n m[attr] = m2[attr];\n }\n }\n return m;\n }\n function forEach(map, callback) {\n for (var prop in map) {\n if (map.hasOwnProperty(prop)) {\n callback(map[prop], prop);\n }\n }\n }\n function waitForMap(obj, fn) {\n var waitFor = [];\n var res = {};\n forEach(obj, function (a, k) {\n if (k === PRIMARY_OUTLET) {\n waitFor.push(rxjs_operator_map.map.call(fn(k, a), function (_) {\n res[k] = _;\n return _;\n }));\n }\n });\n forEach(obj, function (a, k) {\n if (k !== PRIMARY_OUTLET) {\n waitFor.push(rxjs_operator_map.map.call(fn(k, a), function (_) {\n res[k] = _;\n return _;\n }));\n }\n });\n if (waitFor.length > 0) {\n var concatted$ = rxjs_operator_concatAll.concatAll.call(rxjs_observable_of.of.apply(void 0, waitFor));\n var last$ = l.last.call(concatted$);\n return rxjs_operator_map.map.call(last$, function () { return res; });\n }\n else {\n return rxjs_observable_of.of(res);\n }\n }\n function andObservables(observables) {\n var merged$ = rxjs_operator_mergeAll.mergeAll.call(observables);\n return rxjs_operator_every.every.call(merged$, function (result) { return result === true; });\n }\n function wrapIntoObservable(value) {\n if (value instanceof rxjs_Observable.Observable) {\n return value;\n }\n else if (value instanceof Promise) {\n return rxjs_observable_fromPromise.fromPromise(value);\n }\n else {\n return rxjs_observable_of.of(value);\n }\n }\n\n /**\n * @experimental\n */\n var ROUTES = new _angular_core.OpaqueToken('ROUTES');\n var LoadedRouterConfig = (function () {\n function LoadedRouterConfig(routes, injector, factoryResolver, injectorFactory) {\n this.routes = routes;\n this.injector = injector;\n this.factoryResolver = factoryResolver;\n this.injectorFactory = injectorFactory;\n }\n return LoadedRouterConfig;\n }());\n var RouterConfigLoader = (function () {\n function RouterConfigLoader(loader, compiler) {\n this.loader = loader;\n this.compiler = compiler;\n }\n RouterConfigLoader.prototype.load = function (parentInjector, loadChildren) {\n return rxjs_operator_map.map.call(this.loadModuleFactory(loadChildren), function (r) {\n var ref = r.create(parentInjector);\n var injectorFactory = function (parent) { return r.create(parent).injector; };\n return new LoadedRouterConfig(flatten(ref.injector.get(ROUTES)), ref.injector, ref.componentFactoryResolver, injectorFactory);\n });\n };\n RouterConfigLoader.prototype.loadModuleFactory = function (loadChildren) {\n var _this = this;\n if (typeof loadChildren === 'string') {\n return rxjs_observable_fromPromise.fromPromise(this.loader.load(loadChildren));\n }\n else {\n var offlineMode_1 = this.compiler instanceof _angular_core.Compiler;\n return rxjs_operator_mergeMap.mergeMap.call(wrapIntoObservable(loadChildren()), function (t) { return offlineMode_1 ? rxjs_observable_of.of(t) : rxjs_observable_fromPromise.fromPromise(_this.compiler.compileModuleAsync(t)); });\n }\n };\n return RouterConfigLoader;\n }());\n\n function createEmptyUrlTree() {\n return new UrlTree(new UrlSegmentGroup([], {}), {}, null);\n }\n function containsTree(container, containee, exact) {\n if (exact) {\n return equalQueryParams(container.queryParams, containee.queryParams) &&\n equalSegmentGroups(container.root, containee.root);\n }\n else {\n return containsQueryParams(container.queryParams, containee.queryParams) &&\n containsSegmentGroup(container.root, containee.root);\n }\n }\n function equalQueryParams(container, containee) {\n return shallowEqual(container, containee);\n }\n function equalSegmentGroups(container, containee) {\n if (!equalPath(container.segments, containee.segments))\n return false;\n if (container.numberOfChildren !== containee.numberOfChildren)\n return false;\n for (var c in containee.children) {\n if (!container.children[c])\n return false;\n if (!equalSegmentGroups(container.children[c], containee.children[c]))\n return false;\n }\n return true;\n }\n function containsQueryParams(container, containee) {\n return Object.keys(containee) <= Object.keys(container) &&\n Object.keys(containee).every(function (key) { return containee[key] === container[key]; });\n }\n function containsSegmentGroup(container, containee) {\n return containsSegmentGroupHelper(container, containee, containee.segments);\n }\n function containsSegmentGroupHelper(container, containee, containeePaths) {\n if (container.segments.length > containeePaths.length) {\n var current = container.segments.slice(0, containeePaths.length);\n if (!equalPath(current, containeePaths))\n return false;\n if (containee.hasChildren())\n return false;\n return true;\n }\n else if (container.segments.length === containeePaths.length) {\n if (!equalPath(container.segments, containeePaths))\n return false;\n for (var c in containee.children) {\n if (!container.children[c])\n return false;\n if (!containsSegmentGroup(container.children[c], containee.children[c]))\n return false;\n }\n return true;\n }\n else {\n var current = containeePaths.slice(0, container.segments.length);\n var next = containeePaths.slice(container.segments.length);\n if (!equalPath(container.segments, current))\n return false;\n if (!container.children[PRIMARY_OUTLET])\n return false;\n return containsSegmentGroupHelper(container.children[PRIMARY_OUTLET], containee, next);\n }\n }\n /**\n * @whatItDoes Represents the parsed URL.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const tree: UrlTree =\n * router.parseUrl('/team/33/(user/victor//support:help)?debug=true#fragment');\n * const f = tree.fragment; // return 'fragment'\n * const q = tree.queryParams; // returns {debug: 'true'}\n * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n * const s: UrlSegment[] = g.segments; // returns 2 segments 'team' and '33'\n * g.children[PRIMARY_OUTLET].segments; // returns 2 segments 'user' and 'victor'\n * g.children['support'].segments; // return 1 segment 'help'\n * }\n * }\n * ```\n *\n * @description\n *\n * Since a router state is a tree, and the URL is nothing but a serialized state, the URL is a\n * serialized tree.\n * UrlTree is a data structure that provides a lot of affordances in dealing with URLs\n *\n * @stable\n */\n var UrlTree = (function () {\n /**\n * @internal\n */\n function UrlTree(\n /**\n * The root segment group of the URL tree.\n */\n root, \n /**\n * The query params of the URL.\n */\n queryParams, \n /**\n * The fragment of the URL.\n */\n fragment) {\n this.root = root;\n this.queryParams = queryParams;\n this.fragment = fragment;\n }\n /**\n * @docsNotRequired\n */\n UrlTree.prototype.toString = function () { return new DefaultUrlSerializer().serialize(this); };\n return UrlTree;\n }());\n /**\n * @whatItDoes Represents the parsed URL segment.\n *\n * See {@link UrlTree} for more information.\n *\n * @stable\n */\n var UrlSegmentGroup = (function () {\n function UrlSegmentGroup(\n /**\n * The URL segments of this group. See {@link UrlSegment} for more information.\n */\n segments, \n /**\n * The list of children of this group.\n */\n children) {\n var _this = this;\n this.segments = segments;\n this.children = children;\n /**\n * The parent node in the url tree.\n */\n this.parent = null;\n forEach(children, function (v, k) { return v.parent = _this; });\n }\n /**\n * Return true if the segment has child segments\n */\n UrlSegmentGroup.prototype.hasChildren = function () { return this.numberOfChildren > 0; };\n Object.defineProperty(UrlSegmentGroup.prototype, \"numberOfChildren\", {\n /**\n * Returns the number of child sements.\n */\n get: function () { return Object.keys(this.children).length; },\n enumerable: true,\n configurable: true\n });\n /**\n * @docsNotRequired\n */\n UrlSegmentGroup.prototype.toString = function () { return serializePaths(this); };\n return UrlSegmentGroup;\n }());\n /**\n * @whatItDoes Represents a single URL segment.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const tree: UrlTree = router.parseUrl('/team;id=33');\n * const g: UrlSegmentGroup = tree.root.children[PRIMARY_OUTLET];\n * const s: UrlSegment[] = g.segments;\n * s[0].path; // returns 'team'\n * s[0].parameters; // returns {id: 33}\n * }\n * }\n * ```\n *\n * @description\n *\n * A UrlSegment is a part of a URL between the two slashes. It contains a path and\n * the matrix parameters associated with the segment.\n *\n * @stable\n */\n var UrlSegment = (function () {\n function UrlSegment(\n /**\n * The path part of a URL segment.\n */\n path, \n /**\n * The matrix parameters associated with a segment.\n */\n parameters) {\n this.path = path;\n this.parameters = parameters;\n }\n /**\n * @docsNotRequired\n */\n UrlSegment.prototype.toString = function () { return serializePath(this); };\n return UrlSegment;\n }());\n function equalSegments(a, b) {\n if (a.length !== b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i].path !== b[i].path)\n return false;\n if (!shallowEqual(a[i].parameters, b[i].parameters))\n return false;\n }\n return true;\n }\n function equalPath(a, b) {\n if (a.length !== b.length)\n return false;\n for (var i = 0; i < a.length; ++i) {\n if (a[i].path !== b[i].path)\n return false;\n }\n return true;\n }\n function mapChildrenIntoArray(segment, fn) {\n var res = [];\n forEach(segment.children, function (child, childOutlet) {\n if (childOutlet === PRIMARY_OUTLET) {\n res = res.concat(fn(child, childOutlet));\n }\n });\n forEach(segment.children, function (child, childOutlet) {\n if (childOutlet !== PRIMARY_OUTLET) {\n res = res.concat(fn(child, childOutlet));\n }\n });\n return res;\n }\n /**\n * @whatItDoes Serializes and deserializes a URL string into a URL tree.\n *\n * @description The url serialization strategy is customizable. You can\n * make all URLs case insensitive by providing a custom UrlSerializer.\n *\n * See {@link DefaultUrlSerializer} for an example of a URL serializer.\n *\n * @stable\n */\n var UrlSerializer = (function () {\n function UrlSerializer() {\n }\n return UrlSerializer;\n }());\n /**\n * @whatItDoes A default implementation of the {@link UrlSerializer}.\n *\n * @description\n *\n * Example URLs:\n *\n * ```\n * /inbox/33(popup:compose)\n * /inbox/33;open=true/messages/44\n * ```\n *\n * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the\n * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to\n * specify route specific parameters.\n *\n * @stable\n */\n var DefaultUrlSerializer = (function () {\n function DefaultUrlSerializer() {\n }\n /**\n * Parse a url into a {@link UrlTree}.\n */\n DefaultUrlSerializer.prototype.parse = function (url) {\n var p = new UrlParser(url);\n return new UrlTree(p.parseRootSegment(), p.parseQueryParams(), p.parseFragment());\n };\n /**\n * Converts a {@link UrlTree} into a url.\n */\n DefaultUrlSerializer.prototype.serialize = function (tree) {\n var segment = \"/\" + serializeSegment(tree.root, true);\n var query = serializeQueryParams(tree.queryParams);\n var fragment = tree.fragment !== null && tree.fragment !== undefined ? \"#\" + encodeURI(tree.fragment) : '';\n return \"\" + segment + query + fragment;\n };\n return DefaultUrlSerializer;\n }());\n function serializePaths(segment) {\n return segment.segments.map(function (p) { return serializePath(p); }).join('/');\n }\n function serializeSegment(segment, root) {\n if (segment.hasChildren() && root) {\n var primary = segment.children[PRIMARY_OUTLET] ?\n serializeSegment(segment.children[PRIMARY_OUTLET], false) :\n '';\n var children_1 = [];\n forEach(segment.children, function (v, k) {\n if (k !== PRIMARY_OUTLET) {\n children_1.push(k + \":\" + serializeSegment(v, false));\n }\n });\n if (children_1.length > 0) {\n return primary + \"(\" + children_1.join('//') + \")\";\n }\n else {\n return \"\" + primary;\n }\n }\n else if (segment.hasChildren() && !root) {\n var children = mapChildrenIntoArray(segment, function (v, k) {\n if (k === PRIMARY_OUTLET) {\n return [serializeSegment(segment.children[PRIMARY_OUTLET], false)];\n }\n else {\n return [(k + \":\" + serializeSegment(v, false))];\n }\n });\n return serializePaths(segment) + \"/(\" + children.join('//') + \")\";\n }\n else {\n return serializePaths(segment);\n }\n }\n function encode(s) {\n return encodeURIComponent(s);\n }\n function decode(s) {\n return decodeURIComponent(s);\n }\n function serializePath(path) {\n return \"\" + encode(path.path) + serializeParams(path.parameters);\n }\n function serializeParams(params) {\n return pairs(params).map(function (p) { return (\";\" + encode(p.first) + \"=\" + encode(p.second)); }).join('');\n }\n function serializeQueryParams(params) {\n var strs = pairs(params).map(function (p) { return (encode(p.first) + \"=\" + encode(p.second)); });\n return strs.length > 0 ? \"?\" + strs.join(\"&\") : '';\n }\n var Pair = (function () {\n function Pair(first, second) {\n this.first = first;\n this.second = second;\n }\n return Pair;\n }());\n function pairs(obj) {\n var res = [];\n for (var prop in obj) {\n if (obj.hasOwnProperty(prop)) {\n res.push(new Pair(prop, obj[prop]));\n }\n }\n return res;\n }\n var SEGMENT_RE = /^[^\\/\\(\\)\\?;=&#]+/;\n function matchSegments(str) {\n SEGMENT_RE.lastIndex = 0;\n var match = str.match(SEGMENT_RE);\n return match ? match[0] : '';\n }\n var QUERY_PARAM_RE = /^[^=\\?&#]+/;\n function matchQueryParams(str) {\n QUERY_PARAM_RE.lastIndex = 0;\n var match = str.match(SEGMENT_RE);\n return match ? match[0] : '';\n }\n var QUERY_PARAM_VALUE_RE = /^[^\\?&#]+/;\n function matchUrlQueryParamValue(str) {\n QUERY_PARAM_VALUE_RE.lastIndex = 0;\n var match = str.match(QUERY_PARAM_VALUE_RE);\n return match ? match[0] : '';\n }\n var UrlParser = (function () {\n function UrlParser(url) {\n this.url = url;\n this.remaining = url;\n }\n UrlParser.prototype.peekStartsWith = function (str) { return this.remaining.startsWith(str); };\n UrlParser.prototype.capture = function (str) {\n if (!this.remaining.startsWith(str)) {\n throw new Error(\"Expected \\\"\" + str + \"\\\".\");\n }\n this.remaining = this.remaining.substring(str.length);\n };\n UrlParser.prototype.parseRootSegment = function () {\n if (this.remaining.startsWith('/')) {\n this.capture('/');\n }\n if (this.remaining === '' || this.remaining.startsWith('?') || this.remaining.startsWith('#')) {\n return new UrlSegmentGroup([], {});\n }\n else {\n return new UrlSegmentGroup([], this.parseChildren());\n }\n };\n UrlParser.prototype.parseChildren = function () {\n if (this.remaining.length == 0) {\n return {};\n }\n if (this.peekStartsWith('/')) {\n this.capture('/');\n }\n var paths = [];\n if (!this.peekStartsWith('(')) {\n paths.push(this.parseSegments());\n }\n while (this.peekStartsWith('/') && !this.peekStartsWith('//') && !this.peekStartsWith('/(')) {\n this.capture('/');\n paths.push(this.parseSegments());\n }\n var children = {};\n if (this.peekStartsWith('/(')) {\n this.capture('/');\n children = this.parseParens(true);\n }\n var res = {};\n if (this.peekStartsWith('(')) {\n res = this.parseParens(false);\n }\n if (paths.length > 0 || Object.keys(children).length > 0) {\n res[PRIMARY_OUTLET] = new UrlSegmentGroup(paths, children);\n }\n return res;\n };\n UrlParser.prototype.parseSegments = function () {\n var path = matchSegments(this.remaining);\n if (path === '' && this.peekStartsWith(';')) {\n throw new Error(\"Empty path url segment cannot have parameters: '\" + this.remaining + \"'.\");\n }\n this.capture(path);\n var matrixParams = {};\n if (this.peekStartsWith(';')) {\n matrixParams = this.parseMatrixParams();\n }\n return new UrlSegment(decode(path), matrixParams);\n };\n UrlParser.prototype.parseQueryParams = function () {\n var params = {};\n if (this.peekStartsWith('?')) {\n this.capture('?');\n this.parseQueryParam(params);\n while (this.remaining.length > 0 && this.peekStartsWith('&')) {\n this.capture('&');\n this.parseQueryParam(params);\n }\n }\n return params;\n };\n UrlParser.prototype.parseFragment = function () {\n if (this.peekStartsWith('#')) {\n return decodeURI(this.remaining.substring(1));\n }\n else {\n return null;\n }\n };\n UrlParser.prototype.parseMatrixParams = function () {\n var params = {};\n while (this.remaining.length > 0 && this.peekStartsWith(';')) {\n this.capture(';');\n this.parseParam(params);\n }\n return params;\n };\n UrlParser.prototype.parseParam = function (params) {\n var key = matchSegments(this.remaining);\n if (!key) {\n return;\n }\n this.capture(key);\n var value = '';\n if (this.peekStartsWith('=')) {\n this.capture('=');\n var valueMatch = matchSegments(this.remaining);\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n params[decode(key)] = decode(value);\n };\n UrlParser.prototype.parseQueryParam = function (params) {\n var key = matchQueryParams(this.remaining);\n if (!key) {\n return;\n }\n this.capture(key);\n var value = '';\n if (this.peekStartsWith('=')) {\n this.capture('=');\n var valueMatch = matchUrlQueryParamValue(this.remaining);\n if (valueMatch) {\n value = valueMatch;\n this.capture(value);\n }\n }\n params[decode(key)] = decode(value);\n };\n UrlParser.prototype.parseParens = function (allowPrimary) {\n var segments = {};\n this.capture('(');\n while (!this.peekStartsWith(')') && this.remaining.length > 0) {\n var path = matchSegments(this.remaining);\n var next = this.remaining[path.length];\n // if is is not one of these characters, then the segment was unescaped\n // or the group was not closed\n if (next !== '/' && next !== ')' && next !== ';') {\n throw new Error(\"Cannot parse url '\" + this.url + \"'\");\n }\n var outletName = void 0;\n if (path.indexOf(':') > -1) {\n outletName = path.substr(0, path.indexOf(':'));\n this.capture(outletName);\n this.capture(':');\n }\n else if (allowPrimary) {\n outletName = PRIMARY_OUTLET;\n }\n var children = this.parseChildren();\n segments[outletName] = Object.keys(children).length === 1 ? children[PRIMARY_OUTLET] :\n new UrlSegmentGroup([], children);\n if (this.peekStartsWith('//')) {\n this.capture('//');\n }\n }\n this.capture(')');\n return segments;\n };\n return UrlParser;\n }());\n\n var NoMatch = (function () {\n function NoMatch(segmentGroup) {\n if (segmentGroup === void 0) { segmentGroup = null; }\n this.segmentGroup = segmentGroup;\n }\n return NoMatch;\n }());\n var AbsoluteRedirect = (function () {\n function AbsoluteRedirect(urlTree) {\n this.urlTree = urlTree;\n }\n return AbsoluteRedirect;\n }());\n function noMatch(segmentGroup) {\n return new rxjs_Observable.Observable(function (obs) { return obs.error(new NoMatch(segmentGroup)); });\n }\n function absoluteRedirect(newTree) {\n return new rxjs_Observable.Observable(function (obs) { return obs.error(new AbsoluteRedirect(newTree)); });\n }\n function namedOutletsRedirect(redirectTo) {\n return new rxjs_Observable.Observable(function (obs) { return obs.error(new Error(\"Only absolute redirects can have named outlets. redirectTo: '\" + redirectTo + \"'\")); });\n }\n function canLoadFails(route) {\n return new rxjs_Observable.Observable(function (obs) { return obs.error(new NavigationCancelingError(\"Cannot load children because the guard of the route \\\"path: '\" + route.path + \"'\\\" returned false\")); });\n }\n function applyRedirects(injector, configLoader, urlSerializer, urlTree, config) {\n return new ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config).apply();\n }\n var ApplyRedirects = (function () {\n function ApplyRedirects(injector, configLoader, urlSerializer, urlTree, config) {\n this.injector = injector;\n this.configLoader = configLoader;\n this.urlSerializer = urlSerializer;\n this.urlTree = urlTree;\n this.config = config;\n this.allowRedirects = true;\n }\n ApplyRedirects.prototype.apply = function () {\n var _this = this;\n var expanded$ = this.expandSegmentGroup(this.injector, this.config, this.urlTree.root, PRIMARY_OUTLET);\n var urlTrees$ = rxjs_operator_map.map.call(expanded$, function (rootSegmentGroup) { return _this.createUrlTree(rootSegmentGroup, _this.urlTree.queryParams, _this.urlTree.fragment); });\n return rxjs_operator_catch._catch.call(urlTrees$, function (e) {\n if (e instanceof AbsoluteRedirect) {\n // after an absolute redirect we do not apply any more redirects!\n _this.allowRedirects = false;\n // we need to run matching, so we can fetch all lazy-loaded modules\n return _this.match(e.urlTree);\n }\n else if (e instanceof NoMatch) {\n throw _this.noMatchError(e);\n }\n else {\n throw e;\n }\n });\n };\n ApplyRedirects.prototype.match = function (tree) {\n var _this = this;\n var expanded$ = this.expandSegmentGroup(this.injector, this.config, tree.root, PRIMARY_OUTLET);\n var mapped$ = rxjs_operator_map.map.call(expanded$, function (rootSegmentGroup) {\n return _this.createUrlTree(rootSegmentGroup, tree.queryParams, tree.fragment);\n });\n return rxjs_operator_catch._catch.call(mapped$, function (e) {\n if (e instanceof NoMatch) {\n throw _this.noMatchError(e);\n }\n else {\n throw e;\n }\n });\n };\n ApplyRedirects.prototype.noMatchError = function (e) {\n return new Error(\"Cannot match any routes. URL Segment: '\" + e.segmentGroup + \"'\");\n };\n ApplyRedirects.prototype.createUrlTree = function (rootCandidate, queryParams, fragment) {\n var root = rootCandidate.segments.length > 0 ?\n new UrlSegmentGroup([], (_a = {}, _a[PRIMARY_OUTLET] = rootCandidate, _a)) :\n rootCandidate;\n return new UrlTree(root, queryParams, fragment);\n var _a;\n };\n ApplyRedirects.prototype.expandSegmentGroup = function (injector, routes, segmentGroup, outlet) {\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return rxjs_operator_map.map.call(this.expandChildren(injector, routes, segmentGroup), function (children) { return new UrlSegmentGroup([], children); });\n }\n else {\n return this.expandSegment(injector, segmentGroup, routes, segmentGroup.segments, outlet, true);\n }\n };\n ApplyRedirects.prototype.expandChildren = function (injector, routes, segmentGroup) {\n var _this = this;\n return waitForMap(segmentGroup.children, function (childOutlet, child) { return _this.expandSegmentGroup(injector, routes, child, childOutlet); });\n };\n ApplyRedirects.prototype.expandSegment = function (injector, segmentGroup, routes, segments, outlet, allowRedirects) {\n var _this = this;\n var routes$ = rxjs_observable_of.of.apply(void 0, routes);\n var processedRoutes$ = rxjs_operator_map.map.call(routes$, function (r) {\n var expanded$ = _this.expandSegmentAgainstRoute(injector, segmentGroup, routes, r, segments, outlet, allowRedirects);\n return rxjs_operator_catch._catch.call(expanded$, function (e) {\n if (e instanceof NoMatch)\n return rxjs_observable_of.of(null);\n else\n throw e;\n });\n });\n var concattedProcessedRoutes$ = rxjs_operator_concatAll.concatAll.call(processedRoutes$);\n var first$ = rxjs_operator_first.first.call(concattedProcessedRoutes$, function (s) { return !!s; });\n return rxjs_operator_catch._catch.call(first$, function (e, _) {\n if (e instanceof rxjs_util_EmptyError.EmptyError) {\n if (_this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n return rxjs_observable_of.of(new UrlSegmentGroup([], {}));\n }\n else {\n throw new NoMatch(segmentGroup);\n }\n }\n else {\n throw e;\n }\n });\n };\n ApplyRedirects.prototype.noLeftoversInUrl = function (segmentGroup, segments, outlet) {\n return segments.length === 0 && !segmentGroup.children[outlet];\n };\n ApplyRedirects.prototype.expandSegmentAgainstRoute = function (injector, segmentGroup, routes, route, paths, outlet, allowRedirects) {\n if (getOutlet$1(route) !== outlet)\n return noMatch(segmentGroup);\n if (route.redirectTo !== undefined && !(allowRedirects && this.allowRedirects))\n return noMatch(segmentGroup);\n if (route.redirectTo === undefined) {\n return this.matchSegmentAgainstRoute(injector, segmentGroup, route, paths);\n }\n else {\n return this.expandSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, paths, outlet);\n }\n };\n ApplyRedirects.prototype.expandSegmentAgainstRouteUsingRedirect = function (injector, segmentGroup, routes, route, segments, outlet) {\n if (route.path === '**') {\n return this.expandWildCardWithParamsAgainstRouteUsingRedirect(injector, routes, route, outlet);\n }\n else {\n return this.expandRegularSegmentAgainstRouteUsingRedirect(injector, segmentGroup, routes, route, segments, outlet);\n }\n };\n ApplyRedirects.prototype.expandWildCardWithParamsAgainstRouteUsingRedirect = function (injector, routes, route, outlet) {\n var _this = this;\n var newTree = this.applyRedirectCommands([], route.redirectTo, {});\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n else {\n return rxjs_operator_mergeMap.mergeMap.call(this.lineralizeSegments(route, newTree), function (newSegments) {\n var group = new UrlSegmentGroup(newSegments, {});\n return _this.expandSegment(injector, group, routes, newSegments, outlet, false);\n });\n }\n };\n ApplyRedirects.prototype.expandRegularSegmentAgainstRouteUsingRedirect = function (injector, segmentGroup, routes, route, segments, outlet) {\n var _this = this;\n var _a = match(segmentGroup, route, segments), matched = _a.matched, consumedSegments = _a.consumedSegments, lastChild = _a.lastChild, positionalParamSegments = _a.positionalParamSegments;\n if (!matched)\n return noMatch(segmentGroup);\n var newTree = this.applyRedirectCommands(consumedSegments, route.redirectTo, positionalParamSegments);\n if (route.redirectTo.startsWith('/')) {\n return absoluteRedirect(newTree);\n }\n else {\n return rxjs_operator_mergeMap.mergeMap.call(this.lineralizeSegments(route, newTree), function (newSegments) {\n return _this.expandSegment(injector, segmentGroup, routes, newSegments.concat(segments.slice(lastChild)), outlet, false);\n });\n }\n };\n ApplyRedirects.prototype.matchSegmentAgainstRoute = function (injector, rawSegmentGroup, route, segments) {\n var _this = this;\n if (route.path === '**') {\n if (route.loadChildren) {\n return rxjs_operator_map.map.call(this.configLoader.load(injector, route.loadChildren), function (r) {\n route._loadedConfig = r;\n return rxjs_observable_of.of(new UrlSegmentGroup(segments, {}));\n });\n }\n else {\n return rxjs_observable_of.of(new UrlSegmentGroup(segments, {}));\n }\n }\n else {\n var _a = match(rawSegmentGroup, route, segments), matched = _a.matched, consumedSegments_1 = _a.consumedSegments, lastChild = _a.lastChild;\n if (!matched)\n return noMatch(rawSegmentGroup);\n var rawSlicedSegments_1 = segments.slice(lastChild);\n var childConfig$ = this.getChildConfig(injector, route);\n return rxjs_operator_mergeMap.mergeMap.call(childConfig$, function (routerConfig) {\n var childInjector = routerConfig.injector;\n var childConfig = routerConfig.routes;\n var _a = split(rawSegmentGroup, consumedSegments_1, rawSlicedSegments_1, childConfig), segmentGroup = _a.segmentGroup, slicedSegments = _a.slicedSegments;\n if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n var expanded$ = _this.expandChildren(childInjector, childConfig, segmentGroup);\n return rxjs_operator_map.map.call(expanded$, function (children) { return new UrlSegmentGroup(consumedSegments_1, children); });\n }\n else if (childConfig.length === 0 && slicedSegments.length === 0) {\n return rxjs_observable_of.of(new UrlSegmentGroup(consumedSegments_1, {}));\n }\n else {\n var expanded$ = _this.expandSegment(childInjector, segmentGroup, childConfig, slicedSegments, PRIMARY_OUTLET, true);\n return rxjs_operator_map.map.call(expanded$, function (cs) { return new UrlSegmentGroup(consumedSegments_1.concat(cs.segments), cs.children); });\n }\n });\n }\n };\n ApplyRedirects.prototype.getChildConfig = function (injector, route) {\n var _this = this;\n if (route.children) {\n return rxjs_observable_of.of(new LoadedRouterConfig(route.children, injector, null, null));\n }\n else if (route.loadChildren) {\n return rxjs_operator_mergeMap.mergeMap.call(runGuards(injector, route), function (shouldLoad) {\n if (shouldLoad) {\n if (route._loadedConfig) {\n return rxjs_observable_of.of(route._loadedConfig);\n }\n else {\n return rxjs_operator_map.map.call(_this.configLoader.load(injector, route.loadChildren), function (r) {\n route._loadedConfig = r;\n return r;\n });\n }\n }\n else {\n return canLoadFails(route);\n }\n });\n }\n else {\n return rxjs_observable_of.of(new LoadedRouterConfig([], injector, null, null));\n }\n };\n ApplyRedirects.prototype.lineralizeSegments = function (route, urlTree) {\n var res = [];\n var c = urlTree.root;\n while (true) {\n res = res.concat(c.segments);\n if (c.numberOfChildren === 0) {\n return rxjs_observable_of.of(res);\n }\n else if (c.numberOfChildren > 1 || !c.children[PRIMARY_OUTLET]) {\n return namedOutletsRedirect(route.redirectTo);\n }\n else {\n c = c.children[PRIMARY_OUTLET];\n }\n }\n };\n ApplyRedirects.prototype.applyRedirectCommands = function (segments, redirectTo, posParams) {\n var t = this.urlSerializer.parse(redirectTo);\n return this.applyRedirectCreatreUrlTree(redirectTo, this.urlSerializer.parse(redirectTo), segments, posParams);\n };\n ApplyRedirects.prototype.applyRedirectCreatreUrlTree = function (redirectTo, urlTree, segments, posParams) {\n var newRoot = this.createSegmentGroup(redirectTo, urlTree.root, segments, posParams);\n return new UrlTree(newRoot, this.createQueryParams(urlTree.queryParams, this.urlTree.queryParams), urlTree.fragment);\n };\n ApplyRedirects.prototype.createQueryParams = function (redirectToParams, actualParams) {\n var res = {};\n forEach(redirectToParams, function (v, k) {\n if (v.startsWith(':')) {\n res[k] = actualParams[v.substring(1)];\n }\n else {\n res[k] = v;\n }\n });\n return res;\n };\n ApplyRedirects.prototype.createSegmentGroup = function (redirectTo, group, segments, posParams) {\n var _this = this;\n var updatedSegments = this.createSegments(redirectTo, group.segments, segments, posParams);\n var children = {};\n forEach(group.children, function (child, name) {\n children[name] = _this.createSegmentGroup(redirectTo, child, segments, posParams);\n });\n return new UrlSegmentGroup(updatedSegments, children);\n };\n ApplyRedirects.prototype.createSegments = function (redirectTo, redirectToSegments, actualSegments, posParams) {\n var _this = this;\n return redirectToSegments.map(function (s) { return s.path.startsWith(':') ? _this.findPosParam(redirectTo, s, posParams) :\n _this.findOrReturn(s, actualSegments); });\n };\n ApplyRedirects.prototype.findPosParam = function (redirectTo, redirectToUrlSegment, posParams) {\n var pos = posParams[redirectToUrlSegment.path.substring(1)];\n if (!pos)\n throw new Error(\"Cannot redirect to '\" + redirectTo + \"'. Cannot find '\" + redirectToUrlSegment.path + \"'.\");\n return pos;\n };\n ApplyRedirects.prototype.findOrReturn = function (redirectToUrlSegment, actualSegments) {\n var idx = 0;\n for (var _i = 0, actualSegments_1 = actualSegments; _i < actualSegments_1.length; _i++) {\n var s = actualSegments_1[_i];\n if (s.path === redirectToUrlSegment.path) {\n actualSegments.splice(idx);\n return s;\n }\n idx++;\n }\n return redirectToUrlSegment;\n };\n return ApplyRedirects;\n }());\n function runGuards(injector, route) {\n var canLoad = route.canLoad;\n if (!canLoad || canLoad.length === 0)\n return rxjs_observable_of.of(true);\n var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(canLoad), function (c) {\n var guard = injector.get(c);\n if (guard.canLoad) {\n return wrapIntoObservable(guard.canLoad(route));\n }\n else {\n return wrapIntoObservable(guard(route));\n }\n });\n return andObservables(obs);\n }\n function match(segmentGroup, route, segments) {\n var noMatch = { matched: false, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n if (route.path === '') {\n if ((route.pathMatch === 'full') && (segmentGroup.hasChildren() || segments.length > 0)) {\n return { matched: false, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n }\n else {\n return { matched: true, consumedSegments: [], lastChild: 0, positionalParamSegments: {} };\n }\n }\n var matcher = route.matcher || defaultUrlMatcher;\n var res = matcher(segments, segmentGroup, route);\n if (!res)\n return noMatch;\n return {\n matched: true,\n consumedSegments: res.consumed,\n lastChild: res.consumed.length,\n positionalParamSegments: res.posParams\n };\n }\n function split(segmentGroup, consumedSegments, slicedSegments, config) {\n if (slicedSegments.length > 0 &&\n containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n var s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptySegments(config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n return { segmentGroup: mergeTrivialChildren(s), slicedSegments: [] };\n }\n else if (slicedSegments.length === 0 &&\n containsEmptyPathRedirects(segmentGroup, slicedSegments, config)) {\n var s = new UrlSegmentGroup(segmentGroup.segments, addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n return { segmentGroup: mergeTrivialChildren(s), slicedSegments: slicedSegments };\n }\n else {\n return { segmentGroup: segmentGroup, slicedSegments: slicedSegments };\n }\n }\n function mergeTrivialChildren(s) {\n if (s.numberOfChildren === 1 && s.children[PRIMARY_OUTLET]) {\n var c = s.children[PRIMARY_OUTLET];\n return new UrlSegmentGroup(s.segments.concat(c.segments), c.children);\n }\n else {\n return s;\n }\n }\n function addEmptySegmentsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n var res = {};\n for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n var r = routes_1[_i];\n if (emptyPathRedirect(segmentGroup, slicedSegments, r) && !children[getOutlet$1(r)]) {\n res[getOutlet$1(r)] = new UrlSegmentGroup([], {});\n }\n }\n return merge(children, res);\n }\n function createChildrenForEmptySegments(routes, primarySegmentGroup) {\n var res = {};\n res[PRIMARY_OUTLET] = primarySegmentGroup;\n for (var _i = 0, routes_2 = routes; _i < routes_2.length; _i++) {\n var r = routes_2[_i];\n if (r.path === '' && getOutlet$1(r) !== PRIMARY_OUTLET) {\n res[getOutlet$1(r)] = new UrlSegmentGroup([], {});\n }\n }\n return res;\n }\n function containsEmptyPathRedirectsWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n return routes\n .filter(function (r) { return emptyPathRedirect(segmentGroup, slicedSegments, r) &&\n getOutlet$1(r) !== PRIMARY_OUTLET; })\n .length > 0;\n }\n function containsEmptyPathRedirects(segmentGroup, slicedSegments, routes) {\n return routes.filter(function (r) { return emptyPathRedirect(segmentGroup, slicedSegments, r); }).length > 0;\n }\n function emptyPathRedirect(segmentGroup, slicedSegments, r) {\n if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full')\n return false;\n return r.path === '' && r.redirectTo !== undefined;\n }\n function getOutlet$1(route) {\n return route.outlet ? route.outlet : PRIMARY_OUTLET;\n }\n\n function validateConfig(config) {\n // forEach doesn't iterate undefined values\n for (var i = 0; i < config.length; i++) {\n validateNode(config[i]);\n }\n }\n function validateNode(route) {\n if (!route) {\n throw new Error(\"\\n Invalid route configuration: Encountered undefined route.\\n The reason might be an extra comma.\\n \\n Example: \\n const routes: Routes = [\\n { path: '', redirectTo: '/dashboard', pathMatch: 'full' },\\n { path: 'dashboard', component: DashboardComponent },, << two commas\\n { path: 'detail/:id', component: HeroDetailComponent }\\n ];\\n \");\n }\n if (Array.isArray(route)) {\n throw new Error(\"Invalid route configuration: Array cannot be specified\");\n }\n if (route.component === undefined && (route.outlet && route.outlet !== PRIMARY_OUTLET)) {\n throw new Error(\"Invalid route configuration of route '\" + route.path + \"': a componentless route cannot have a named outlet set\");\n }\n if (!!route.redirectTo && !!route.children) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and children cannot be used together\");\n }\n if (!!route.redirectTo && !!route.loadChildren) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and loadChildren cannot be used together\");\n }\n if (!!route.children && !!route.loadChildren) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': children and loadChildren cannot be used together\");\n }\n if (!!route.redirectTo && !!route.component) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': redirectTo and component cannot be used together\");\n }\n if (!!route.path && !!route.matcher) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': path and matcher cannot be used together\");\n }\n if (route.redirectTo === undefined && !route.component && !route.children &&\n !route.loadChildren) {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': one of the following must be provided (component or redirectTo or children or loadChildren)\");\n }\n if (route.path === undefined) {\n throw new Error(\"Invalid route configuration: routes must have path specified\");\n }\n if (route.path.startsWith('/')) {\n throw new Error(\"Invalid route configuration of route '\" + route.path + \"': path cannot start with a slash\");\n }\n if (route.path === '' && route.redirectTo !== undefined && route.pathMatch === undefined) {\n var exp = \"The default value of 'pathMatch' is 'prefix', but often the intent is to use 'full'.\";\n throw new Error(\"Invalid route configuration of route '{path: \\\"\" + route.path + \"\\\", redirectTo: \\\"\" + route.redirectTo + \"\\\"}': please provide 'pathMatch'. \" + exp);\n }\n if (route.pathMatch !== undefined && route.pathMatch !== 'full' && route.pathMatch !== 'prefix') {\n throw new Error(\"Invalid configuration of route '\" + route.path + \"': pathMatch can only be set to 'prefix' or 'full'\");\n }\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var Tree = (function () {\n function Tree(root) {\n this._root = root;\n }\n Object.defineProperty(Tree.prototype, \"root\", {\n get: function () { return this._root.value; },\n enumerable: true,\n configurable: true\n });\n /**\n * @internal\n */\n Tree.prototype.parent = function (t) {\n var p = this.pathFromRoot(t);\n return p.length > 1 ? p[p.length - 2] : null;\n };\n /**\n * @internal\n */\n Tree.prototype.children = function (t) {\n var n = findNode(t, this._root);\n return n ? n.children.map(function (t) { return t.value; }) : [];\n };\n /**\n * @internal\n */\n Tree.prototype.firstChild = function (t) {\n var n = findNode(t, this._root);\n return n && n.children.length > 0 ? n.children[0].value : null;\n };\n /**\n * @internal\n */\n Tree.prototype.siblings = function (t) {\n var p = findPath(t, this._root, []);\n if (p.length < 2)\n return [];\n var c = p[p.length - 2].children.map(function (c) { return c.value; });\n return c.filter(function (cc) { return cc !== t; });\n };\n /**\n * @internal\n */\n Tree.prototype.pathFromRoot = function (t) { return findPath(t, this._root, []).map(function (s) { return s.value; }); };\n return Tree;\n }());\n function findNode(expected, c) {\n if (expected === c.value)\n return c;\n for (var _i = 0, _a = c.children; _i < _a.length; _i++) {\n var cc = _a[_i];\n var r = findNode(expected, cc);\n if (r)\n return r;\n }\n return null;\n }\n function findPath(expected, c, collected) {\n collected.push(c);\n if (expected === c.value)\n return collected;\n for (var _i = 0, _a = c.children; _i < _a.length; _i++) {\n var cc = _a[_i];\n var cloned = collected.slice(0);\n var r = findPath(expected, cc, cloned);\n if (r.length > 0)\n return r;\n }\n return [];\n }\n var TreeNode = (function () {\n function TreeNode(value, children) {\n this.value = value;\n this.children = children;\n }\n TreeNode.prototype.toString = function () { return \"TreeNode(\" + this.value + \")\"; };\n return TreeNode;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n var __extends$1 = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n /**\n * @whatItDoes Represents the state of the router.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const state: RouterState = router.routerState;\n * const root: ActivatedRoute = state.root;\n * const child = root.firstChild;\n * const id: Observable<string> = child.params.map(p => p.id);\n * //...\n * }\n * }\n * ```\n *\n * @description\n * RouterState is a tree of activated routes. Every node in this tree knows about the \"consumed\" URL\n * segments,\n * the extracted parameters, and the resolved data.\n *\n * See {@link ActivatedRoute} for more information.\n *\n * @stable\n */\n var RouterState = (function (_super) {\n __extends$1(RouterState, _super);\n /**\n * @internal\n */\n function RouterState(root, \n /**\n * The current snapshot of the router state.\n */\n snapshot) {\n _super.call(this, root);\n this.snapshot = snapshot;\n setRouterStateSnapshot(this, root);\n }\n RouterState.prototype.toString = function () { return this.snapshot.toString(); };\n return RouterState;\n }(Tree));\n function createEmptyState(urlTree, rootComponent) {\n var snapshot = createEmptyStateSnapshot(urlTree, rootComponent);\n var emptyUrl = new rxjs_BehaviorSubject.BehaviorSubject([new UrlSegment('', {})]);\n var emptyParams = new rxjs_BehaviorSubject.BehaviorSubject({});\n var emptyData = new rxjs_BehaviorSubject.BehaviorSubject({});\n var emptyQueryParams = new rxjs_BehaviorSubject.BehaviorSubject({});\n var fragment = new rxjs_BehaviorSubject.BehaviorSubject('');\n var activated = new ActivatedRoute(emptyUrl, emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, snapshot.root);\n activated.snapshot = snapshot.root;\n return new RouterState(new TreeNode(activated, []), snapshot);\n }\n function createEmptyStateSnapshot(urlTree, rootComponent) {\n var emptyParams = {};\n var emptyData = {};\n var emptyQueryParams = {};\n var fragment = '';\n var activated = new ActivatedRouteSnapshot([], emptyParams, emptyQueryParams, fragment, emptyData, PRIMARY_OUTLET, rootComponent, null, urlTree.root, -1, {});\n return new RouterStateSnapshot('', new TreeNode(activated, []));\n }\n /**\n * @whatItDoes Contains the information about a route associated with a component loaded in an\n * outlet.\n * ActivatedRoute can also be used to traverse the router state tree.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'./my-component.html'})\n * class MyComponent {\n * constructor(route: ActivatedRoute) {\n * const id: Observable<string> = route.params.map(p => p.id);\n * const url: Observable<string> = route.url.map(s => s.join(''));\n * const user = route.data.map(d => d.user); //includes `data` and `resolve`\n * }\n * }\n * ```\n *\n * @stable\n */\n var ActivatedRoute = (function () {\n /**\n * @internal\n */\n function ActivatedRoute(\n /**\n * The URL segments matched by this route. The observable will emit a new value when\n * the array of segments changes.\n */\n url, \n /**\n * The matrix parameters scoped to this route. The observable will emit a new value when\n * the set of the parameters changes.\n */\n params, \n /**\n * The query parameters shared by all the routes. The observable will emit a new value when\n * the set of the parameters changes.\n */\n queryParams, \n /**\n * The URL fragment shared by all the routes. The observable will emit a new value when\n * the URL fragment changes.\n */\n fragment, \n /**\n * The static and resolved data of this route. The observable will emit a new value when\n * any of the resolvers returns a new object.\n */\n data, \n /**\n * The outlet name of the route. It's a constant.\n */\n outlet, \n /**\n * The component of the route. It's a constant.\n */\n component, // TODO: vsavkin: remove |string\n futureSnapshot) {\n this.url = url;\n this.params = params;\n this.queryParams = queryParams;\n this.fragment = fragment;\n this.data = data;\n this.outlet = outlet;\n this.component = component;\n this._futureSnapshot = futureSnapshot;\n }\n Object.defineProperty(ActivatedRoute.prototype, \"routeConfig\", {\n /**\n * The configuration used to match this route.\n */\n get: function () { return this._futureSnapshot.routeConfig; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRoute.prototype, \"root\", {\n /**\n * The root of the router state.\n */\n get: function () { return this._routerState.root; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRoute.prototype, \"parent\", {\n /**\n * The parent of this route in the router state tree.\n */\n get: function () { return this._routerState.parent(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRoute.prototype, \"firstChild\", {\n /**\n * The first child of this route in the router state tree.\n */\n get: function () { return this._routerState.firstChild(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRoute.prototype, \"children\", {\n /**\n * The children of this route in the router state tree.\n */\n get: function () { return this._routerState.children(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRoute.prototype, \"pathFromRoot\", {\n /**\n * The path from the root of the router state tree to this route.\n */\n get: function () { return this._routerState.pathFromRoot(this); },\n enumerable: true,\n configurable: true\n });\n /**\n * @docsNotRequired\n */\n ActivatedRoute.prototype.toString = function () {\n return this.snapshot ? this.snapshot.toString() : \"Future(\" + this._futureSnapshot + \")\";\n };\n return ActivatedRoute;\n }());\n /**\n * @internal\n */\n function inheritedParamsDataResolve(route) {\n var pathToRoot = route.pathFromRoot;\n var inhertingStartingFrom = pathToRoot.length - 1;\n while (inhertingStartingFrom >= 1) {\n var current = pathToRoot[inhertingStartingFrom];\n var parent_1 = pathToRoot[inhertingStartingFrom - 1];\n // current route is an empty path => inherits its parent's params and data\n if (current.routeConfig && current.routeConfig.path === '') {\n inhertingStartingFrom--;\n }\n else if (!parent_1.component) {\n inhertingStartingFrom--;\n }\n else {\n break;\n }\n }\n return pathToRoot.slice(inhertingStartingFrom).reduce(function (res, curr) {\n var params = merge(res.params, curr.params);\n var data = merge(res.data, curr.data);\n var resolve = merge(res.resolve, curr._resolvedData);\n return { params: params, data: data, resolve: resolve };\n }, { params: {}, data: {}, resolve: {} });\n }\n /**\n * @whatItDoes Contains the information about a route associated with a component loaded in an\n * outlet\n * at a particular moment in time. ActivatedRouteSnapshot can also be used to traverse the router\n * state tree.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'./my-component.html'})\n * class MyComponent {\n * constructor(route: ActivatedRoute) {\n * const id: string = route.snapshot.params.id;\n * const url: string = route.snapshot.url.join('');\n * const user = route.snapshot.data.user;\n * }\n * }\n * ```\n *\n * @stable\n */\n var ActivatedRouteSnapshot = (function () {\n /**\n * @internal\n */\n function ActivatedRouteSnapshot(\n /**\n * The URL segments matched by this route.\n */\n url, \n /**\n * The matrix parameters scoped to this route.\n */\n params, \n /**\n * The query parameters shared by all the routes.\n */\n queryParams, \n /**\n * The URL fragment shared by all the routes.\n */\n fragment, \n /**\n * The static and resolved data of this route.\n */\n data, \n /**\n * The outlet name of the route.\n */\n outlet, \n /**\n * The component of the route.\n */\n component, routeConfig, urlSegment, lastPathIndex, resolve) {\n this.url = url;\n this.params = params;\n this.queryParams = queryParams;\n this.fragment = fragment;\n this.data = data;\n this.outlet = outlet;\n this.component = component;\n this._routeConfig = routeConfig;\n this._urlSegment = urlSegment;\n this._lastPathIndex = lastPathIndex;\n this._resolve = resolve;\n }\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"routeConfig\", {\n /**\n * The configuration used to match this route.\n */\n get: function () { return this._routeConfig; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"root\", {\n /**\n * The root of the router state.\n */\n get: function () { return this._routerState.root; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"parent\", {\n /**\n * The parent of this route in the router state tree.\n */\n get: function () { return this._routerState.parent(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"firstChild\", {\n /**\n * The first child of this route in the router state tree.\n */\n get: function () { return this._routerState.firstChild(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"children\", {\n /**\n * The children of this route in the router state tree.\n */\n get: function () { return this._routerState.children(this); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(ActivatedRouteSnapshot.prototype, \"pathFromRoot\", {\n /**\n * The path from the root of the router state tree to this route.\n */\n get: function () { return this._routerState.pathFromRoot(this); },\n enumerable: true,\n configurable: true\n });\n /**\n * @docsNotRequired\n */\n ActivatedRouteSnapshot.prototype.toString = function () {\n var url = this.url.map(function (s) { return s.toString(); }).join('/');\n var matched = this._routeConfig ? this._routeConfig.path : '';\n return \"Route(url:'\" + url + \"', path:'\" + matched + \"')\";\n };\n return ActivatedRouteSnapshot;\n }());\n /**\n * @whatItDoes Represents the state of the router at a moment in time.\n *\n * @howToUse\n *\n * ```\n * @Component({templateUrl:'template.html'})\n * class MyComponent {\n * constructor(router: Router) {\n * const state: RouterState = router.routerState;\n * const snapshot: RouterStateSnapshot = state.snapshot;\n * const root: ActivatedRouteSnapshot = snapshot.root;\n * const child = root.firstChild;\n * const id: Observable<string> = child.params.map(p => p.id);\n * //...\n * }\n * }\n * ```\n *\n * @description\n * RouterStateSnapshot is a tree of activated route snapshots. Every node in this tree knows about\n * the \"consumed\" URL segments, the extracted parameters, and the resolved data.\n *\n * @stable\n */\n var RouterStateSnapshot = (function (_super) {\n __extends$1(RouterStateSnapshot, _super);\n /**\n * @internal\n */\n function RouterStateSnapshot(\n /** The url from which this snapshot was created */\n url, root) {\n _super.call(this, root);\n this.url = url;\n setRouterStateSnapshot(this, root);\n }\n RouterStateSnapshot.prototype.toString = function () { return serializeNode(this._root); };\n return RouterStateSnapshot;\n }(Tree));\n function setRouterStateSnapshot(state, node) {\n node.value._routerState = state;\n node.children.forEach(function (c) { return setRouterStateSnapshot(state, c); });\n }\n function serializeNode(node) {\n var c = node.children.length > 0 ? \" { \" + node.children.map(serializeNode).join(\", \") + \" } \" : '';\n return \"\" + node.value + c;\n }\n /**\n * The expectation is that the activate route is created with the right set of parameters.\n * So we push new values into the observables only when they are not the initial values.\n * And we detect that by checking if the snapshot field is set.\n */\n function advanceActivatedRoute(route) {\n if (route.snapshot) {\n if (!shallowEqual(route.snapshot.queryParams, route._futureSnapshot.queryParams)) {\n route.queryParams.next(route._futureSnapshot.queryParams);\n }\n if (route.snapshot.fragment !== route._futureSnapshot.fragment) {\n route.fragment.next(route._futureSnapshot.fragment);\n }\n if (!shallowEqual(route.snapshot.params, route._futureSnapshot.params)) {\n route.params.next(route._futureSnapshot.params);\n }\n if (!shallowEqualArrays(route.snapshot.url, route._futureSnapshot.url)) {\n route.url.next(route._futureSnapshot.url);\n }\n if (!equalParamsAndUrlSegments(route.snapshot, route._futureSnapshot)) {\n route.data.next(route._futureSnapshot.data);\n }\n route.snapshot = route._futureSnapshot;\n }\n else {\n route.snapshot = route._futureSnapshot;\n // this is for resolved data\n route.data.next(route._futureSnapshot.data);\n }\n }\n function equalParamsAndUrlSegments(a, b) {\n return shallowEqual(a.params, b.params) && equalSegments(a.url, b.url);\n }\n\n function createRouterState(curr, prevState) {\n var root = createNode(curr._root, prevState ? prevState._root : undefined);\n return new RouterState(root, curr);\n }\n function createNode(curr, prevState) {\n if (prevState && equalRouteSnapshots(prevState.value.snapshot, curr.value)) {\n var value = prevState.value;\n value._futureSnapshot = curr.value;\n var children = createOrReuseChildren(curr, prevState);\n return new TreeNode(value, children);\n }\n else {\n var value = createActivatedRoute(curr.value);\n var children = curr.children.map(function (c) { return createNode(c); });\n return new TreeNode(value, children);\n }\n }\n function createOrReuseChildren(curr, prevState) {\n return curr.children.map(function (child) {\n for (var _i = 0, _a = prevState.children; _i < _a.length; _i++) {\n var p = _a[_i];\n if (equalRouteSnapshots(p.value.snapshot, child.value)) {\n return createNode(child, p);\n }\n }\n return createNode(child);\n });\n }\n function createActivatedRoute(c) {\n return new ActivatedRoute(new rxjs_BehaviorSubject.BehaviorSubject(c.url), new rxjs_BehaviorSubject.BehaviorSubject(c.params), new rxjs_BehaviorSubject.BehaviorSubject(c.queryParams), new rxjs_BehaviorSubject.BehaviorSubject(c.fragment), new rxjs_BehaviorSubject.BehaviorSubject(c.data), c.outlet, c.component, c);\n }\n function equalRouteSnapshots(a, b) {\n return a._routeConfig === b._routeConfig;\n }\n\n function createUrlTree(route, urlTree, commands, queryParams, fragment) {\n if (commands.length === 0) {\n return tree(urlTree.root, urlTree.root, urlTree, queryParams, fragment);\n }\n var normalizedCommands = normalizeCommands(commands);\n validateCommands(normalizedCommands);\n if (navigateToRoot(normalizedCommands)) {\n return tree(urlTree.root, new UrlSegmentGroup([], {}), urlTree, queryParams, fragment);\n }\n var startingPosition = findStartingPosition(normalizedCommands, urlTree, route);\n var segmentGroup = startingPosition.processChildren ?\n updateSegmentGroupChildren(startingPosition.segmentGroup, startingPosition.index, normalizedCommands.commands) :\n updateSegmentGroup(startingPosition.segmentGroup, startingPosition.index, normalizedCommands.commands);\n return tree(startingPosition.segmentGroup, segmentGroup, urlTree, queryParams, fragment);\n }\n function validateCommands(n) {\n if (n.isAbsolute && n.commands.length > 0 && isMatrixParams(n.commands[0])) {\n throw new Error('Root segment cannot have matrix parameters');\n }\n var c = n.commands.filter(function (c) { return typeof c === 'object' && c.outlets !== undefined; });\n if (c.length > 0 && c[0] !== n.commands[n.commands.length - 1]) {\n throw new Error('{outlets:{}} has to be the last command');\n }\n }\n function isMatrixParams(command) {\n return typeof command === 'object' && command.outlets === undefined &&\n command.segmentPath === undefined;\n }\n function tree(oldSegmentGroup, newSegmentGroup, urlTree, queryParams, fragment) {\n if (urlTree.root === oldSegmentGroup) {\n return new UrlTree(newSegmentGroup, stringify(queryParams), fragment);\n }\n else {\n return new UrlTree(replaceSegment(urlTree.root, oldSegmentGroup, newSegmentGroup), stringify(queryParams), fragment);\n }\n }\n function replaceSegment(current, oldSegment, newSegment) {\n var children = {};\n forEach(current.children, function (c, outletName) {\n if (c === oldSegment) {\n children[outletName] = newSegment;\n }\n else {\n children[outletName] = replaceSegment(c, oldSegment, newSegment);\n }\n });\n return new UrlSegmentGroup(current.segments, children);\n }\n function navigateToRoot(normalizedChange) {\n return normalizedChange.isAbsolute && normalizedChange.commands.length === 1 &&\n normalizedChange.commands[0] == '/';\n }\n var NormalizedNavigationCommands = (function () {\n function NormalizedNavigationCommands(isAbsolute, numberOfDoubleDots, commands) {\n this.isAbsolute = isAbsolute;\n this.numberOfDoubleDots = numberOfDoubleDots;\n this.commands = commands;\n }\n return NormalizedNavigationCommands;\n }());\n function normalizeCommands(commands) {\n if ((typeof commands[0] === 'string') && commands.length === 1 && commands[0] == '/') {\n return new NormalizedNavigationCommands(true, 0, commands);\n }\n var numberOfDoubleDots = 0;\n var isAbsolute = false;\n var res = [];\n var _loop_1 = function(i) {\n var c = commands[i];\n if (typeof c === 'object' && c.outlets !== undefined) {\n var r_1 = {};\n forEach(c.outlets, function (commands, name) {\n if (typeof commands === 'string') {\n r_1[name] = commands.split('/');\n }\n else {\n r_1[name] = commands;\n }\n });\n res.push({ outlets: r_1 });\n return \"continue\";\n }\n if (typeof c === 'object' && c.segmentPath !== undefined) {\n res.push(c.segmentPath);\n return \"continue\";\n }\n if (!(typeof c === 'string')) {\n res.push(c);\n return \"continue\";\n }\n if (i === 0) {\n var parts = c.split('/');\n for (var j = 0; j < parts.length; ++j) {\n var cc = parts[j];\n if (j == 0 && cc == '.') {\n }\n else if (j == 0 && cc == '') {\n isAbsolute = true;\n }\n else if (cc == '..') {\n numberOfDoubleDots++;\n }\n else if (cc != '') {\n res.push(cc);\n }\n }\n }\n else {\n res.push(c);\n }\n };\n for (var i = 0; i < commands.length; ++i) {\n _loop_1(i);\n }\n return new NormalizedNavigationCommands(isAbsolute, numberOfDoubleDots, res);\n }\n var Position = (function () {\n function Position(segmentGroup, processChildren, index) {\n this.segmentGroup = segmentGroup;\n this.processChildren = processChildren;\n this.index = index;\n }\n return Position;\n }());\n function findStartingPosition(normalizedChange, urlTree, route) {\n if (normalizedChange.isAbsolute) {\n return new Position(urlTree.root, true, 0);\n }\n else if (route.snapshot._lastPathIndex === -1) {\n return new Position(route.snapshot._urlSegment, true, 0);\n }\n else {\n var modifier = isMatrixParams(normalizedChange.commands[0]) ? 0 : 1;\n var index = route.snapshot._lastPathIndex + modifier;\n return createPositionApplyingDoubleDots(route.snapshot._urlSegment, index, normalizedChange.numberOfDoubleDots);\n }\n }\n function createPositionApplyingDoubleDots(group, index, numberOfDoubleDots) {\n var g = group;\n var ci = index;\n var dd = numberOfDoubleDots;\n while (dd > ci) {\n dd -= ci;\n g = g.parent;\n if (!g) {\n throw new Error('Invalid number of \\'../\\'');\n }\n ci = g.segments.length;\n }\n return new Position(g, false, ci - dd);\n }\n function getPath(command) {\n if (typeof command === 'object' && command.outlets)\n return command.outlets[PRIMARY_OUTLET];\n return \"\" + command;\n }\n function getOutlets(commands) {\n if (!(typeof commands[0] === 'object'))\n return (_a = {}, _a[PRIMARY_OUTLET] = commands, _a);\n if (commands[0].outlets === undefined)\n return (_b = {}, _b[PRIMARY_OUTLET] = commands, _b);\n return commands[0].outlets;\n var _a, _b;\n }\n function updateSegmentGroup(segmentGroup, startIndex, commands) {\n if (!segmentGroup) {\n segmentGroup = new UrlSegmentGroup([], {});\n }\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return updateSegmentGroupChildren(segmentGroup, startIndex, commands);\n }\n var m = prefixedWith(segmentGroup, startIndex, commands);\n var slicedCommands = commands.slice(m.commandIndex);\n if (m.match && m.pathIndex < segmentGroup.segments.length) {\n var g = new UrlSegmentGroup(segmentGroup.segments.slice(0, m.pathIndex), {});\n g.children[PRIMARY_OUTLET] =\n new UrlSegmentGroup(segmentGroup.segments.slice(m.pathIndex), segmentGroup.children);\n return updateSegmentGroupChildren(g, 0, slicedCommands);\n }\n else if (m.match && slicedCommands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n }\n else if (m.match && !segmentGroup.hasChildren()) {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n }\n else if (m.match) {\n return updateSegmentGroupChildren(segmentGroup, 0, slicedCommands);\n }\n else {\n return createNewSegmentGroup(segmentGroup, startIndex, commands);\n }\n }\n function updateSegmentGroupChildren(segmentGroup, startIndex, commands) {\n if (commands.length === 0) {\n return new UrlSegmentGroup(segmentGroup.segments, {});\n }\n else {\n var outlets_1 = getOutlets(commands);\n var children_1 = {};\n forEach(outlets_1, function (commands, outlet) {\n if (commands !== null) {\n children_1[outlet] = updateSegmentGroup(segmentGroup.children[outlet], startIndex, commands);\n }\n });\n forEach(segmentGroup.children, function (child, childOutlet) {\n if (outlets_1[childOutlet] === undefined) {\n children_1[childOutlet] = child;\n }\n });\n return new UrlSegmentGroup(segmentGroup.segments, children_1);\n }\n }\n function prefixedWith(segmentGroup, startIndex, commands) {\n var currentCommandIndex = 0;\n var currentPathIndex = startIndex;\n var noMatch = { match: false, pathIndex: 0, commandIndex: 0 };\n while (currentPathIndex < segmentGroup.segments.length) {\n if (currentCommandIndex >= commands.length)\n return noMatch;\n var path = segmentGroup.segments[currentPathIndex];\n var curr = getPath(commands[currentCommandIndex]);\n var next = currentCommandIndex < commands.length - 1 ? commands[currentCommandIndex + 1] : null;\n if (currentPathIndex > 0 && curr === undefined)\n break;\n if (curr && next && (typeof next === 'object') && next.outlets === undefined) {\n if (!compare(curr, next, path))\n return noMatch;\n currentCommandIndex += 2;\n }\n else {\n if (!compare(curr, {}, path))\n return noMatch;\n currentCommandIndex++;\n }\n currentPathIndex++;\n }\n return { match: true, pathIndex: currentPathIndex, commandIndex: currentCommandIndex };\n }\n function createNewSegmentGroup(segmentGroup, startIndex, commands) {\n var paths = segmentGroup.segments.slice(0, startIndex);\n var i = 0;\n while (i < commands.length) {\n if (typeof commands[i] === 'object' && commands[i].outlets !== undefined) {\n var children = createNewSegmentChldren(commands[i].outlets);\n return new UrlSegmentGroup(paths, children);\n }\n // if we start with an object literal, we need to reuse the path part from the segment\n if (i === 0 && isMatrixParams(commands[0])) {\n var p = segmentGroup.segments[startIndex];\n paths.push(new UrlSegment(p.path, commands[0]));\n i++;\n continue;\n }\n var curr = getPath(commands[i]);\n var next = (i < commands.length - 1) ? commands[i + 1] : null;\n if (curr && next && isMatrixParams(next)) {\n paths.push(new UrlSegment(curr, stringify(next)));\n i += 2;\n }\n else {\n paths.push(new UrlSegment(curr, {}));\n i++;\n }\n }\n return new UrlSegmentGroup(paths, {});\n }\n function createNewSegmentChldren(outlets) {\n var children = {};\n forEach(outlets, function (commands, outlet) {\n if (commands !== null) {\n children[outlet] = createNewSegmentGroup(new UrlSegmentGroup([], {}), 0, commands);\n }\n });\n return children;\n }\n function stringify(params) {\n var res = {};\n forEach(params, function (v, k) { return res[k] = \"\" + v; });\n return res;\n }\n function compare(path, params, segment) {\n return path == segment.path && shallowEqual(params, segment.parameters);\n }\n\n var NoMatch$1 = (function () {\n function NoMatch() {\n }\n return NoMatch;\n }());\n function recognize(rootComponentType, config, urlTree, url) {\n return new Recognizer(rootComponentType, config, urlTree, url).recognize();\n }\n var Recognizer = (function () {\n function Recognizer(rootComponentType, config, urlTree, url) {\n this.rootComponentType = rootComponentType;\n this.config = config;\n this.urlTree = urlTree;\n this.url = url;\n }\n Recognizer.prototype.recognize = function () {\n try {\n var rootSegmentGroup = split$1(this.urlTree.root, [], [], this.config).segmentGroup;\n var children = this.processSegmentGroup(this.config, rootSegmentGroup, PRIMARY_OUTLET);\n var root = new ActivatedRouteSnapshot([], Object.freeze({}), Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, {}, PRIMARY_OUTLET, this.rootComponentType, null, this.urlTree.root, -1, {});\n var rootNode = new TreeNode(root, children);\n var routeState = new RouterStateSnapshot(this.url, rootNode);\n this.inheriteParamsAndData(routeState._root);\n return rxjs_observable_of.of(routeState);\n }\n catch (e) {\n return new rxjs_Observable.Observable(function (obs) { return obs.error(e); });\n }\n };\n Recognizer.prototype.inheriteParamsAndData = function (routeNode) {\n var _this = this;\n var route = routeNode.value;\n var i = inheritedParamsDataResolve(route);\n route.params = Object.freeze(i.params);\n route.data = Object.freeze(i.data);\n routeNode.children.forEach(function (n) { return _this.inheriteParamsAndData(n); });\n };\n Recognizer.prototype.processSegmentGroup = function (config, segmentGroup, outlet) {\n if (segmentGroup.segments.length === 0 && segmentGroup.hasChildren()) {\n return this.processChildren(config, segmentGroup);\n }\n else {\n return this.processSegment(config, segmentGroup, 0, segmentGroup.segments, outlet);\n }\n };\n Recognizer.prototype.processChildren = function (config, segmentGroup) {\n var _this = this;\n var children = mapChildrenIntoArray(segmentGroup, function (child, childOutlet) { return _this.processSegmentGroup(config, child, childOutlet); });\n checkOutletNameUniqueness(children);\n sortActivatedRouteSnapshots(children);\n return children;\n };\n Recognizer.prototype.processSegment = function (config, segmentGroup, pathIndex, segments, outlet) {\n for (var _i = 0, config_1 = config; _i < config_1.length; _i++) {\n var r = config_1[_i];\n try {\n return this.processSegmentAgainstRoute(r, segmentGroup, pathIndex, segments, outlet);\n }\n catch (e) {\n if (!(e instanceof NoMatch$1))\n throw e;\n }\n }\n if (this.noLeftoversInUrl(segmentGroup, segments, outlet)) {\n return [];\n }\n else {\n throw new NoMatch$1();\n }\n };\n Recognizer.prototype.noLeftoversInUrl = function (segmentGroup, segments, outlet) {\n return segments.length === 0 && !segmentGroup.children[outlet];\n };\n Recognizer.prototype.processSegmentAgainstRoute = function (route, rawSegment, pathIndex, segments, outlet) {\n if (route.redirectTo)\n throw new NoMatch$1();\n if ((route.outlet ? route.outlet : PRIMARY_OUTLET) !== outlet)\n throw new NoMatch$1();\n if (route.path === '**') {\n var params = segments.length > 0 ? last(segments).parameters : {};\n var snapshot_1 = new ActivatedRouteSnapshot(segments, params, Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, getData(route), outlet, route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + segments.length, getResolve(route));\n return [new TreeNode(snapshot_1, [])];\n }\n var _a = match$1(rawSegment, route, segments), consumedSegments = _a.consumedSegments, parameters = _a.parameters, lastChild = _a.lastChild;\n var rawSlicedSegments = segments.slice(lastChild);\n var childConfig = getChildConfig(route);\n var _b = split$1(rawSegment, consumedSegments, rawSlicedSegments, childConfig), segmentGroup = _b.segmentGroup, slicedSegments = _b.slicedSegments;\n var snapshot = new ActivatedRouteSnapshot(consumedSegments, parameters, Object.freeze(this.urlTree.queryParams), this.urlTree.fragment, getData(route), outlet, route.component, route, getSourceSegmentGroup(rawSegment), getPathIndexShift(rawSegment) + consumedSegments.length, getResolve(route));\n if (slicedSegments.length === 0 && segmentGroup.hasChildren()) {\n var children = this.processChildren(childConfig, segmentGroup);\n return [new TreeNode(snapshot, children)];\n }\n else if (childConfig.length === 0 && slicedSegments.length === 0) {\n return [new TreeNode(snapshot, [])];\n }\n else {\n var children = this.processSegment(childConfig, segmentGroup, pathIndex + lastChild, slicedSegments, PRIMARY_OUTLET);\n return [new TreeNode(snapshot, children)];\n }\n };\n return Recognizer;\n }());\n function sortActivatedRouteSnapshots(nodes) {\n nodes.sort(function (a, b) {\n if (a.value.outlet === PRIMARY_OUTLET)\n return -1;\n if (b.value.outlet === PRIMARY_OUTLET)\n return 1;\n return a.value.outlet.localeCompare(b.value.outlet);\n });\n }\n function getChildConfig(route) {\n if (route.children) {\n return route.children;\n }\n else if (route.loadChildren) {\n return route._loadedConfig.routes;\n }\n else {\n return [];\n }\n }\n function match$1(segmentGroup, route, segments) {\n if (route.path === '') {\n if (route.pathMatch === 'full' && (segmentGroup.hasChildren() || segments.length > 0)) {\n throw new NoMatch$1();\n }\n else {\n return { consumedSegments: [], lastChild: 0, parameters: {} };\n }\n }\n var matcher = route.matcher || defaultUrlMatcher;\n var res = matcher(segments, segmentGroup, route);\n if (!res)\n throw new NoMatch$1();\n var posParams = {};\n forEach(res.posParams, function (v, k) { posParams[k] = v.path; });\n var parameters = merge(posParams, res.consumed[res.consumed.length - 1].parameters);\n return { consumedSegments: res.consumed, lastChild: res.consumed.length, parameters: parameters };\n }\n function checkOutletNameUniqueness(nodes) {\n var names = {};\n nodes.forEach(function (n) {\n var routeWithSameOutletName = names[n.value.outlet];\n if (routeWithSameOutletName) {\n var p = routeWithSameOutletName.url.map(function (s) { return s.toString(); }).join('/');\n var c = n.value.url.map(function (s) { return s.toString(); }).join('/');\n throw new Error(\"Two segments cannot have the same outlet name: '\" + p + \"' and '\" + c + \"'.\");\n }\n names[n.value.outlet] = n.value;\n });\n }\n function getSourceSegmentGroup(segmentGroup) {\n var s = segmentGroup;\n while (s._sourceSegment) {\n s = s._sourceSegment;\n }\n return s;\n }\n function getPathIndexShift(segmentGroup) {\n var s = segmentGroup;\n var res = (s._segmentIndexShift ? s._segmentIndexShift : 0);\n while (s._sourceSegment) {\n s = s._sourceSegment;\n res += (s._segmentIndexShift ? s._segmentIndexShift : 0);\n }\n return res - 1;\n }\n function split$1(segmentGroup, consumedSegments, slicedSegments, config) {\n if (slicedSegments.length > 0 &&\n containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, config)) {\n var s = new UrlSegmentGroup(consumedSegments, createChildrenForEmptyPaths(segmentGroup, consumedSegments, config, new UrlSegmentGroup(slicedSegments, segmentGroup.children)));\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return { segmentGroup: s, slicedSegments: [] };\n }\n else if (slicedSegments.length === 0 &&\n containsEmptyPathMatches(segmentGroup, slicedSegments, config)) {\n var s = new UrlSegmentGroup(segmentGroup.segments, addEmptyPathsToChildrenIfNeeded(segmentGroup, slicedSegments, config, segmentGroup.children));\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return { segmentGroup: s, slicedSegments: slicedSegments };\n }\n else {\n var s = new UrlSegmentGroup(segmentGroup.segments, segmentGroup.children);\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n return { segmentGroup: s, slicedSegments: slicedSegments };\n }\n }\n function addEmptyPathsToChildrenIfNeeded(segmentGroup, slicedSegments, routes, children) {\n var res = {};\n for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n var r = routes_1[_i];\n if (emptyPathMatch(segmentGroup, slicedSegments, r) && !children[getOutlet$2(r)]) {\n var s = new UrlSegmentGroup([], {});\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = segmentGroup.segments.length;\n res[getOutlet$2(r)] = s;\n }\n }\n return merge(children, res);\n }\n function createChildrenForEmptyPaths(segmentGroup, consumedSegments, routes, primarySegment) {\n var res = {};\n res[PRIMARY_OUTLET] = primarySegment;\n primarySegment._sourceSegment = segmentGroup;\n primarySegment._segmentIndexShift = consumedSegments.length;\n for (var _i = 0, routes_2 = routes; _i < routes_2.length; _i++) {\n var r = routes_2[_i];\n if (r.path === '' && getOutlet$2(r) !== PRIMARY_OUTLET) {\n var s = new UrlSegmentGroup([], {});\n s._sourceSegment = segmentGroup;\n s._segmentIndexShift = consumedSegments.length;\n res[getOutlet$2(r)] = s;\n }\n }\n return res;\n }\n function containsEmptyPathMatchesWithNamedOutlets(segmentGroup, slicedSegments, routes) {\n return routes\n .filter(function (r) { return emptyPathMatch(segmentGroup, slicedSegments, r) &&\n getOutlet$2(r) !== PRIMARY_OUTLET; })\n .length > 0;\n }\n function containsEmptyPathMatches(segmentGroup, slicedSegments, routes) {\n return routes.filter(function (r) { return emptyPathMatch(segmentGroup, slicedSegments, r); }).length > 0;\n }\n function emptyPathMatch(segmentGroup, slicedSegments, r) {\n if ((segmentGroup.hasChildren() || slicedSegments.length > 0) && r.pathMatch === 'full')\n return false;\n return r.path === '' && r.redirectTo === undefined;\n }\n function getOutlet$2(route) {\n return route.outlet ? route.outlet : PRIMARY_OUTLET;\n }\n function getData(route) {\n return route.data ? route.data : {};\n }\n function getResolve(route) {\n return route.resolve ? route.resolve : {};\n }\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @whatItDoes Contains all the router outlets created in a component.\n *\n * @stable\n */\n var RouterOutletMap = (function () {\n function RouterOutletMap() {\n /** @internal */\n this._outlets = {};\n }\n /**\n * Adds an outlet to this map.\n */\n RouterOutletMap.prototype.registerOutlet = function (name, outlet) { this._outlets[name] = outlet; };\n /**\n * Removes an outlet from this map.\n */\n RouterOutletMap.prototype.removeOutlet = function (name) { this._outlets[name] = undefined; };\n return RouterOutletMap;\n }());\n\n /**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n /**\n * @whatItDoes Provides a way to migrate Angular 1 applications to Angular 2.\n *\n * @experimental\n */\n var UrlHandlingStrategy = (function () {\n function UrlHandlingStrategy() {\n }\n return UrlHandlingStrategy;\n }());\n /**\n * @experimental\n */\n var DefaultUrlHandlingStrategy = (function () {\n function DefaultUrlHandlingStrategy() {\n }\n DefaultUrlHandlingStrategy.prototype.shouldProcessUrl = function (url) { return true; };\n DefaultUrlHandlingStrategy.prototype.extract = function (url) { return url; };\n DefaultUrlHandlingStrategy.prototype.merge = function (newUrlPart, wholeUrl) { return newUrlPart; };\n return DefaultUrlHandlingStrategy;\n }());\n\n /**\n * @whatItDoes Represents an event triggered when a navigation starts.\n *\n * @stable\n */\n var NavigationStart = (function () {\n // TODO: vsavkin: make internal\n function NavigationStart(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url) {\n this.id = id;\n this.url = url;\n }\n /** @docsNotRequired */\n NavigationStart.prototype.toString = function () { return \"NavigationStart(id: \" + this.id + \", url: '\" + this.url + \"')\"; };\n return NavigationStart;\n }());\n /**\n * @whatItDoes Represents an event triggered when a navigation ends successfully.\n *\n * @stable\n */\n var NavigationEnd = (function () {\n // TODO: vsavkin: make internal\n function NavigationEnd(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url, \n /** @docsNotRequired */\n urlAfterRedirects) {\n this.id = id;\n this.url = url;\n this.urlAfterRedirects = urlAfterRedirects;\n }\n /** @docsNotRequired */\n NavigationEnd.prototype.toString = function () {\n return \"NavigationEnd(id: \" + this.id + \", url: '\" + this.url + \"', urlAfterRedirects: '\" + this.urlAfterRedirects + \"')\";\n };\n return NavigationEnd;\n }());\n /**\n * @whatItDoes Represents an event triggered when a navigation is canceled.\n *\n * @stable\n */\n var NavigationCancel = (function () {\n // TODO: vsavkin: make internal\n function NavigationCancel(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url, \n /** @docsNotRequired */\n reason) {\n this.id = id;\n this.url = url;\n this.reason = reason;\n }\n /** @docsNotRequired */\n NavigationCancel.prototype.toString = function () { return \"NavigationCancel(id: \" + this.id + \", url: '\" + this.url + \"')\"; };\n return NavigationCancel;\n }());\n /**\n * @whatItDoes Represents an event triggered when a navigation fails due to an unexpected error.\n *\n * @stable\n */\n var NavigationError = (function () {\n // TODO: vsavkin: make internal\n function NavigationError(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url, \n /** @docsNotRequired */\n error) {\n this.id = id;\n this.url = url;\n this.error = error;\n }\n /** @docsNotRequired */\n NavigationError.prototype.toString = function () {\n return \"NavigationError(id: \" + this.id + \", url: '\" + this.url + \"', error: \" + this.error + \")\";\n };\n return NavigationError;\n }());\n /**\n * @whatItDoes Represents an event triggered when routes are recognized.\n *\n * @stable\n */\n var RoutesRecognized = (function () {\n // TODO: vsavkin: make internal\n function RoutesRecognized(\n /** @docsNotRequired */\n id, \n /** @docsNotRequired */\n url, \n /** @docsNotRequired */\n urlAfterRedirects, \n /** @docsNotRequired */\n state) {\n this.id = id;\n this.url = url;\n this.urlAfterRedirects = urlAfterRedirects;\n this.state = state;\n }\n /** @docsNotRequired */\n RoutesRecognized.prototype.toString = function () {\n return \"RoutesRecognized(id: \" + this.id + \", url: '\" + this.url + \"', urlAfterRedirects: '\" + this.urlAfterRedirects + \"', state: \" + this.state + \")\";\n };\n return RoutesRecognized;\n }());\n function defaultErrorHandler(error) {\n throw error;\n }\n /**\n * @whatItDoes Provides the navigation and url manipulation capabilities.\n *\n * See {@link Routes} for more details and examples.\n *\n * @ngModule RouterModule\n *\n * @stable\n */\n var Router = (function () {\n /**\n * Creates the router service.\n */\n // TODO: vsavkin make internal after the final is out.\n function Router(rootComponentType, urlSerializer, outletMap, location, injector, loader, compiler, config) {\n this.rootComponentType = rootComponentType;\n this.urlSerializer = urlSerializer;\n this.outletMap = outletMap;\n this.location = location;\n this.injector = injector;\n this.config = config;\n this.navigations = new rxjs_BehaviorSubject.BehaviorSubject(null);\n this.routerEvents = new rxjs_Subject.Subject();\n this.navigationId = 0;\n /**\n * Error handler that is invoked when a navigation errors.\n *\n * See {@link ErrorHandler} for more information.\n */\n this.errorHandler = defaultErrorHandler;\n /**\n * Indicates if at least one navigation happened.\n */\n this.navigated = false;\n /**\n * Extracts and merges URLs. Used for Angular 1 to Angular 2 migrations.\n */\n this.urlHandlingStrategy = new DefaultUrlHandlingStrategy();\n this.resetConfig(config);\n this.currentUrlTree = createEmptyUrlTree();\n this.rawUrlTree = this.currentUrlTree;\n this.configLoader = new RouterConfigLoader(loader, compiler);\n this.currentRouterState = createEmptyState(this.currentUrlTree, this.rootComponentType);\n this.processNavigations();\n }\n /**\n * @internal\n * TODO: this should be removed once the constructor of the router made internal\n */\n Router.prototype.resetRootComponentType = function (rootComponentType) {\n this.rootComponentType = rootComponentType;\n // TODO: vsavkin router 4.0 should make the root component set to null\n // this will simplify the lifecycle of the router.\n this.currentRouterState.root.component = this.rootComponentType;\n };\n /**\n * Sets up the location change listener and performs the initial navigation.\n */\n Router.prototype.initialNavigation = function () {\n this.setUpLocationChangeListener();\n this.navigateByUrl(this.location.path(true), { replaceUrl: true });\n };\n /**\n * Sets up the location change listener.\n */\n Router.prototype.setUpLocationChangeListener = function () {\n var _this = this;\n // Zone.current.wrap is needed because of the issue with RxJS scheduler,\n // which does not work properly with zone.js in IE and Safari\n this.locationSubscription = this.location.subscribe(Zone.current.wrap(function (change) {\n var rawUrlTree = _this.urlSerializer.parse(change['url']);\n setTimeout(function () {\n _this.scheduleNavigation(rawUrlTree, { skipLocationChange: change['pop'], replaceUrl: true });\n }, 0);\n }));\n };\n Object.defineProperty(Router.prototype, \"routerState\", {\n /**\n * Returns the current route state.\n */\n get: function () { return this.currentRouterState; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Router.prototype, \"url\", {\n /**\n * Returns the current url.\n */\n get: function () { return this.serializeUrl(this.currentUrlTree); },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(Router.prototype, \"events\", {\n /**\n * Returns an observable of route events\n */\n get: function () { return this.routerEvents; },\n enumerable: true,\n configurable: true\n });\n /**\n * Resets the configuration used for navigation and generating links.\n *\n * ### Usage\n *\n * ```\n * router.resetConfig([\n * { path: 'team/:id', component: TeamCmp, children: [\n * { path: 'simple', component: SimpleCmp },\n * { path: 'user/:name', component: UserCmp }\n * ] }\n * ]);\n * ```\n */\n Router.prototype.resetConfig = function (config) {\n validateConfig(config);\n this.config = config;\n };\n /**\n * @docsNotRequired\n */\n Router.prototype.ngOnDestroy = function () { this.dispose(); };\n /**\n * Disposes of the router.\n */\n Router.prototype.dispose = function () { this.locationSubscription.unsubscribe(); };\n /**\n * Applies an array of commands to the current url tree and creates a new url tree.\n *\n * When given an activate route, applies the given commands starting from the route.\n * When not given a route, applies the given command starting from the root.\n *\n * ### Usage\n *\n * ```\n * // create /team/33/user/11\n * router.createUrlTree(['/team', 33, 'user', 11]);\n *\n * // create /team/33;expand=true/user/11\n * router.createUrlTree(['/team', 33, {expand: true}, 'user', 11]);\n *\n * // you can collapse static segments like this (this works only with the first passed-in value):\n * router.createUrlTree(['/team/33/user', userId]);\n *\n * // If the first segment can contain slashes, and you do not want the router to split it, you\n * // can do the following:\n *\n * router.createUrlTree([{segmentPath: '/one/two'}]);\n *\n * // create /team/33/(user/11//right:chat)\n * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: 'chat'}}]);\n *\n * // remove the right secondary node\n * router.createUrlTree(['/team', 33, {outlets: {primary: 'user/11', right: null}}]);\n *\n * // assuming the current url is `/team/33/user/11` and the route points to `user/11`\n *\n * // navigate to /team/33/user/11/details\n * router.createUrlTree(['details'], {relativeTo: route});\n *\n * // navigate to /team/33/user/22\n * router.createUrlTree(['../22'], {relativeTo: route});\n *\n * // navigate to /team/44/user/22\n * router.createUrlTree(['../../team/44/user/22'], {relativeTo: route});\n * ```\n */\n Router.prototype.createUrlTree = function (commands, _a) {\n var _b = _a === void 0 ? {} : _a, relativeTo = _b.relativeTo, queryParams = _b.queryParams, fragment = _b.fragment, preserveQueryParams = _b.preserveQueryParams, preserveFragment = _b.preserveFragment;\n var a = relativeTo ? relativeTo : this.routerState.root;\n var q = preserveQueryParams ? this.currentUrlTree.queryParams : queryParams;\n var f = preserveFragment ? this.currentUrlTree.fragment : fragment;\n return createUrlTree(a, this.currentUrlTree, commands, q, f);\n };\n /**\n * Navigate based on the provided url. This navigation is always absolute.\n *\n * Returns a promise that:\n * - is resolved with 'true' when navigation succeeds\n * - is resolved with 'false' when navigation fails\n * - is rejected when an error happens\n *\n * ### Usage\n *\n * ```\n * router.navigateByUrl(\"/team/33/user/11\");\n *\n * // Navigate without updating the URL\n * router.navigateByUrl(\"/team/33/user/11\", { skipLocationChange: true });\n * ```\n *\n * In opposite to `navigate`, `navigateByUrl` takes a whole URL\n * and does not apply any delta to the current one.\n */\n Router.prototype.navigateByUrl = function (url, extras) {\n if (extras === void 0) { extras = { skipLocationChange: false }; }\n if (url instanceof UrlTree) {\n return this.scheduleNavigation(this.urlHandlingStrategy.merge(url, this.rawUrlTree), extras);\n }\n else {\n var urlTree = this.urlSerializer.parse(url);\n return this.scheduleNavigation(this.urlHandlingStrategy.merge(urlTree, this.rawUrlTree), extras);\n }\n };\n /**\n * Navigate based on the provided array of commands and a starting point.\n * If no starting route is provided, the navigation is absolute.\n *\n * Returns a promise that:\n * - is resolved with 'true' when navigation succeeds\n * - is resolved with 'false' when navigation fails\n * - is rejected when an error happens\n *\n * ### Usage\n *\n * ```\n * router.navigate(['team', 33, 'user', 11], {relativeTo: route});\n *\n * // Navigate without updating the URL\n * router.navigate(['team', 33, 'user', 11], {relativeTo: route, skipLocationChange: true });\n * ```\n *\n * In opposite to `navigateByUrl`, `navigate` always takes a delta\n * that is applied to the current URL.\n */\n Router.prototype.navigate = function (commands, extras) {\n if (extras === void 0) { extras = { skipLocationChange: false }; }\n if (typeof extras.queryParams === 'object' && extras.queryParams !== null) {\n extras.queryParams = this.removeEmptyProps(extras.queryParams);\n }\n return this.navigateByUrl(this.createUrlTree(commands, extras), extras);\n };\n /**\n * Serializes a {@link UrlTree} into a string.\n */\n Router.prototype.serializeUrl = function (url) { return this.urlSerializer.serialize(url); };\n /**\n * Parses a string into a {@link UrlTree}.\n */\n Router.prototype.parseUrl = function (url) { return this.urlSerializer.parse(url); };\n /**\n * Returns if the url is activated or not.\n */\n Router.prototype.isActive = function (url, exact) {\n if (url instanceof UrlTree) {\n return containsTree(this.currentUrlTree, url, exact);\n }\n else {\n var urlTree = this.urlSerializer.parse(url);\n return containsTree(this.currentUrlTree, urlTree, exact);\n }\n };\n Router.prototype.removeEmptyProps = function (params) {\n return Object.keys(params).reduce(function (result, key) {\n var value = params[key];\n if (value !== null && value !== undefined) {\n result[key] = value;\n }\n return result;\n }, {});\n };\n Router.prototype.processNavigations = function () {\n var _this = this;\n rxjs_operator_concatMap.concatMap\n .call(this.navigations, function (nav) {\n if (nav) {\n _this.executeScheduledNavigation(nav);\n // a failed navigation should not stop the router from processing\n // further navigations => the catch\n return nav.promise.catch(function () { });\n }\n else {\n return rxjs_observable_of.of(null);\n }\n })\n .subscribe(function () { });\n };\n Router.prototype.scheduleNavigation = function (rawUrl, extras) {\n var prevRawUrl = this.navigations.value ? this.navigations.value.rawUrl : null;\n if (prevRawUrl && prevRawUrl.toString() === rawUrl.toString()) {\n return this.navigations.value.promise;\n }\n var resolve = null;\n var reject = null;\n var promise = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var id = ++this.navigationId;\n this.navigations.next({ id: id, rawUrl: rawUrl, prevRawUrl: prevRawUrl, extras: extras, resolve: resolve, reject: reject, promise: promise });\n // Make sure that the error is propagated even though `processNavigations` catch\n // handler does not rethrow\n return promise.catch(function (e) { return Promise.reject(e); });\n };\n Router.prototype.executeScheduledNavigation = function (_a) {\n var _this = this;\n var id = _a.id, rawUrl = _a.rawUrl, prevRawUrl = _a.prevRawUrl, extras = _a.extras, resolve = _a.resolve, reject = _a.reject;\n var url = this.urlHandlingStrategy.extract(rawUrl);\n var prevUrl = prevRawUrl ? this.urlHandlingStrategy.extract(prevRawUrl) : null;\n var urlTransition = !prevUrl || url.toString() !== prevUrl.toString();\n if (urlTransition && this.urlHandlingStrategy.shouldProcessUrl(rawUrl)) {\n this.routerEvents.next(new NavigationStart(id, this.serializeUrl(url)));\n Promise.resolve()\n .then(function (_) { return _this.runNavigate(url, rawUrl, extras.skipLocationChange, extras.replaceUrl, id, null); })\n .then(resolve, reject);\n }\n else if (urlTransition && prevRawUrl && this.urlHandlingStrategy.shouldProcessUrl(prevRawUrl)) {\n this.routerEvents.next(new NavigationStart(id, this.serializeUrl(url)));\n Promise.resolve()\n .then(function (_) { return _this.runNavigate(url, rawUrl, false, false, id, createEmptyState(url, _this.rootComponentType).snapshot); })\n .then(resolve, reject);\n }\n else {\n this.rawUrlTree = rawUrl;\n resolve(null);\n }\n };\n Router.prototype.runNavigate = function (url, rawUrl, shouldPreventPushState, shouldReplaceUrl, id, precreatedState) {\n var _this = this;\n if (id !== this.navigationId) {\n this.location.go(this.urlSerializer.serialize(this.currentUrlTree));\n this.routerEvents.next(new NavigationCancel(id, this.serializeUrl(url), \"Navigation ID \" + id + \" is not equal to the current navigation id \" + this.navigationId));\n return Promise.resolve(false);\n }\n return new Promise(function (resolvePromise, rejectPromise) {\n // create an observable of the url and route state snapshot\n // this operation do not result in any side effects\n var urlAndSnapshot$;\n if (!precreatedState) {\n var redirectsApplied$ = applyRedirects(_this.injector, _this.configLoader, _this.urlSerializer, url, _this.config);\n urlAndSnapshot$ = rxjs_operator_mergeMap.mergeMap.call(redirectsApplied$, function (appliedUrl) {\n return rxjs_operator_map.map.call(recognize(_this.rootComponentType, _this.config, appliedUrl, _this.serializeUrl(appliedUrl)), function (snapshot) {\n _this.routerEvents.next(new RoutesRecognized(id, _this.serializeUrl(url), _this.serializeUrl(appliedUrl), snapshot));\n return { appliedUrl: appliedUrl, snapshot: snapshot };\n });\n });\n }\n else {\n urlAndSnapshot$ = rxjs_observable_of.of({ appliedUrl: url, snapshot: precreatedState });\n }\n // run preactivation: guards and data resolvers\n var preActivation;\n var preactivationTraverse$ = rxjs_operator_map.map.call(urlAndSnapshot$, function (_a) {\n var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot;\n preActivation =\n new PreActivation(snapshot, _this.currentRouterState.snapshot, _this.injector);\n preActivation.traverse(_this.outletMap);\n return { appliedUrl: appliedUrl, snapshot: snapshot };\n });\n var preactivationCheckGuards = rxjs_operator_mergeMap.mergeMap.call(preactivationTraverse$, function (_a) {\n var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot;\n if (_this.navigationId !== id)\n return rxjs_observable_of.of(false);\n return rxjs_operator_map.map.call(preActivation.checkGuards(), function (shouldActivate) {\n return { appliedUrl: appliedUrl, snapshot: snapshot, shouldActivate: shouldActivate };\n });\n });\n var preactivationResolveData$ = rxjs_operator_mergeMap.mergeMap.call(preactivationCheckGuards, function (p) {\n if (_this.navigationId !== id)\n return rxjs_observable_of.of(false);\n if (p.shouldActivate) {\n return rxjs_operator_map.map.call(preActivation.resolveData(), function () { return p; });\n }\n else {\n return rxjs_observable_of.of(p);\n }\n });\n // create router state\n // this operation has side effects => route state is being affected\n var routerState$ = rxjs_operator_map.map.call(preactivationResolveData$, function (_a) {\n var appliedUrl = _a.appliedUrl, snapshot = _a.snapshot, shouldActivate = _a.shouldActivate;\n if (shouldActivate) {\n var state = createRouterState(snapshot, _this.currentRouterState);\n return { appliedUrl: appliedUrl, state: state, shouldActivate: shouldActivate };\n }\n else {\n return { appliedUrl: appliedUrl, state: null, shouldActivate: shouldActivate };\n }\n });\n // applied the new router state\n // this operation has side effects\n var navigationIsSuccessful;\n var storedState = _this.currentRouterState;\n var storedUrl = _this.currentUrlTree;\n routerState$\n .forEach(function (_a) {\n var appliedUrl = _a.appliedUrl, state = _a.state, shouldActivate = _a.shouldActivate;\n if (!shouldActivate || id !== _this.navigationId) {\n navigationIsSuccessful = false;\n return;\n }\n _this.currentUrlTree = appliedUrl;\n _this.rawUrlTree = _this.urlHandlingStrategy.merge(_this.currentUrlTree, rawUrl);\n _this.currentRouterState = state;\n if (!shouldPreventPushState) {\n var path = _this.urlSerializer.serialize(_this.rawUrlTree);\n if (_this.location.isCurrentPathEqualTo(path) || shouldReplaceUrl) {\n _this.location.replaceState(path);\n }\n else {\n _this.location.go(path);\n }\n }\n new ActivateRoutes(state, storedState).activate(_this.outletMap);\n navigationIsSuccessful = true;\n })\n .then(function () {\n _this.navigated = true;\n if (navigationIsSuccessful) {\n _this.routerEvents.next(new NavigationEnd(id, _this.serializeUrl(url), _this.serializeUrl(_this.currentUrlTree)));\n resolvePromise(true);\n }\n else {\n _this.resetUrlToCurrentUrlTree();\n _this.routerEvents.next(new NavigationCancel(id, _this.serializeUrl(url), ''));\n resolvePromise(false);\n }\n }, function (e) {\n if (e instanceof NavigationCancelingError) {\n _this.resetUrlToCurrentUrlTree();\n _this.navigated = true;\n _this.routerEvents.next(new NavigationCancel(id, _this.serializeUrl(url), e.message));\n resolvePromise(false);\n }\n else {\n _this.routerEvents.next(new NavigationError(id, _this.serializeUrl(url), e));\n try {\n resolvePromise(_this.errorHandler(e));\n }\n catch (ee) {\n rejectPromise(ee);\n }\n }\n _this.currentRouterState = storedState;\n _this.currentUrlTree = storedUrl;\n _this.rawUrlTree = _this.urlHandlingStrategy.merge(_this.currentUrlTree, rawUrl);\n _this.location.replaceState(_this.serializeUrl(_this.rawUrlTree));\n });\n });\n };\n Router.prototype.resetUrlToCurrentUrlTree = function () {\n var path = this.urlSerializer.serialize(this.rawUrlTree);\n this.location.replaceState(path);\n };\n return Router;\n }());\n var CanActivate = (function () {\n function CanActivate(path) {\n this.path = path;\n }\n Object.defineProperty(CanActivate.prototype, \"route\", {\n get: function () { return this.path[this.path.length - 1]; },\n enumerable: true,\n configurable: true\n });\n return CanActivate;\n }());\n var CanDeactivate = (function () {\n function CanDeactivate(component, route) {\n this.component = component;\n this.route = route;\n }\n return CanDeactivate;\n }());\n var PreActivation = (function () {\n function PreActivation(future, curr, injector) {\n this.future = future;\n this.curr = curr;\n this.injector = injector;\n this.checks = [];\n }\n PreActivation.prototype.traverse = function (parentOutletMap) {\n var futureRoot = this.future._root;\n var currRoot = this.curr ? this.curr._root : null;\n this.traverseChildRoutes(futureRoot, currRoot, parentOutletMap, [futureRoot.value]);\n };\n PreActivation.prototype.checkGuards = function () {\n var _this = this;\n if (this.checks.length === 0)\n return rxjs_observable_of.of(true);\n var checks$ = rxjs_observable_from.from(this.checks);\n var runningChecks$ = rxjs_operator_mergeMap.mergeMap.call(checks$, function (s) {\n if (s instanceof CanActivate) {\n return andObservables(rxjs_observable_from.from([_this.runCanActivateChild(s.path), _this.runCanActivate(s.route)]));\n }\n else if (s instanceof CanDeactivate) {\n // workaround https://github.com/Microsoft/TypeScript/issues/7271\n var s2 = s;\n return _this.runCanDeactivate(s2.component, s2.route);\n }\n else {\n throw new Error('Cannot be reached');\n }\n });\n return rxjs_operator_every.every.call(runningChecks$, function (result) { return result === true; });\n };\n PreActivation.prototype.resolveData = function () {\n var _this = this;\n if (this.checks.length === 0)\n return rxjs_observable_of.of(null);\n var checks$ = rxjs_observable_from.from(this.checks);\n var runningChecks$ = rxjs_operator_concatMap.concatMap.call(checks$, function (s) {\n if (s instanceof CanActivate) {\n return _this.runResolve(s.route);\n }\n else {\n return rxjs_observable_of.of(null);\n }\n });\n return rxjs_operator_reduce.reduce.call(runningChecks$, function (_, __) { return _; });\n };\n PreActivation.prototype.traverseChildRoutes = function (futureNode, currNode, outletMap, futurePath) {\n var _this = this;\n var prevChildren = nodeChildrenAsMap(currNode);\n futureNode.children.forEach(function (c) {\n _this.traverseRoutes(c, prevChildren[c.value.outlet], outletMap, futurePath.concat([c.value]));\n delete prevChildren[c.value.outlet];\n });\n forEach(prevChildren, function (v, k) { return _this.deactiveRouteAndItsChildren(v, outletMap._outlets[k]); });\n };\n PreActivation.prototype.traverseRoutes = function (futureNode, currNode, parentOutletMap, futurePath) {\n var future = futureNode.value;\n var curr = currNode ? currNode.value : null;\n var outlet = parentOutletMap ? parentOutletMap._outlets[futureNode.value.outlet] : null;\n // reusing the node\n if (curr && future._routeConfig === curr._routeConfig) {\n if (!equalParamsAndUrlSegments(future, curr)) {\n this.checks.push(new CanDeactivate(outlet.component, curr), new CanActivate(futurePath));\n }\n else {\n // we need to set the data\n future.data = curr.data;\n future._resolvedData = curr._resolvedData;\n }\n // If we have a component, we need to go through an outlet.\n if (future.component) {\n this.traverseChildRoutes(futureNode, currNode, outlet ? outlet.outletMap : null, futurePath);\n }\n else {\n this.traverseChildRoutes(futureNode, currNode, parentOutletMap, futurePath);\n }\n }\n else {\n if (curr) {\n this.deactiveRouteAndItsChildren(currNode, outlet);\n }\n this.checks.push(new CanActivate(futurePath));\n // If we have a component, we need to go through an outlet.\n if (future.component) {\n this.traverseChildRoutes(futureNode, null, outlet ? outlet.outletMap : null, futurePath);\n }\n else {\n this.traverseChildRoutes(futureNode, null, parentOutletMap, futurePath);\n }\n }\n };\n PreActivation.prototype.deactiveRouteAndItsChildren = function (route, outlet) {\n var _this = this;\n var prevChildren = nodeChildrenAsMap(route);\n var r = route.value;\n forEach(prevChildren, function (v, k) {\n if (!r.component) {\n _this.deactiveRouteAndItsChildren(v, outlet);\n }\n else if (!!outlet) {\n _this.deactiveRouteAndItsChildren(v, outlet.outletMap._outlets[k]);\n }\n else {\n _this.deactiveRouteAndItsChildren(v, null);\n }\n });\n if (!r.component) {\n this.checks.push(new CanDeactivate(null, r));\n }\n else if (outlet && outlet.isActivated) {\n this.checks.push(new CanDeactivate(outlet.component, r));\n }\n else {\n this.checks.push(new CanDeactivate(null, r));\n }\n };\n PreActivation.prototype.runCanActivate = function (future) {\n var _this = this;\n var canActivate = future._routeConfig ? future._routeConfig.canActivate : null;\n if (!canActivate || canActivate.length === 0)\n return rxjs_observable_of.of(true);\n var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(canActivate), function (c) {\n var guard = _this.getToken(c, future);\n var observable;\n if (guard.canActivate) {\n observable = wrapIntoObservable(guard.canActivate(future, _this.future));\n }\n else {\n observable = wrapIntoObservable(guard(future, _this.future));\n }\n return rxjs_operator_first.first.call(observable);\n });\n return andObservables(obs);\n };\n PreActivation.prototype.runCanActivateChild = function (path) {\n var _this = this;\n var future = path[path.length - 1];\n var canActivateChildGuards = path.slice(0, path.length - 1)\n .reverse()\n .map(function (p) { return _this.extractCanActivateChild(p); })\n .filter(function (_) { return _ !== null; });\n return andObservables(rxjs_operator_map.map.call(rxjs_observable_from.from(canActivateChildGuards), function (d) {\n var obs = rxjs_operator_map.map.call(rxjs_observable_from.from(d.guards), function (c) {\n var guard = _this.getToken(c, c.node);\n var observable;\n if (guard.canActivateChild) {\n observable = wrapIntoObservable(guard.canActivateChild(future, _this.future));\n }\n else {\n observable = wrapIntoObservable(guard(future, _this.future));\n }\n return rxjs_operator_first.first.call(observable);\n });\n return andObservables(obs);\n }));\n };\n PreActivation.prototype.extractCanActivateChild = function (p) {\n var canActivateChild = p._routeConfig ? p._routeConfig.canActivateChild : null;\n if (!canActivateChild || canActivateChild.length === 0)\n return null;\n return { node: p, guards: canActivateChild };\n };\n PreActivation.prototype.runCanDeactivate = function (component, curr) {\n var _this = this;\n var canDeactivate = curr && curr._routeConfig ? curr._routeConfig.canDeactivate : null;\n if (!canDeactivate || canDeactivate.length === 0)\n return rxjs_observable_of.of(true);\n var canDeactivate$ = rxjs_operator_mergeMap.mergeMap.call(rxjs_observable_from.from(canDeactivate), function (c) {\n var guard = _this.getToken(c, curr);\n var observable;\n if (guard.canDeactivate) {\n observable = wrapIntoObservable(guard.canDeactivate(component, curr, _this.curr));\n }\n else {\n observable = wrapIntoObservable(guard(component, curr, _this.curr));\n }\n return rxjs_operator_first.first.call(observable);\n });\n return rxjs_operator_every.every.call(canDeactivate$, function (result) { return result === true; });\n };\n PreActivation.prototype.runResolve = function (future) {\n var resolve = future._resolve;\n return rxjs_operator_map.map.call(this.resolveNode(resolve, future), function (resolvedData) {\n future._resolvedData = resolvedData;\n future.data = merge(future.data, inheritedParamsDataResolve(future).resolve);\n return null;\n });\n };\n PreActivation.prototype.resolveNode = function (resolve, future) {\n var _this = this;\n return waitForMap(resolve, function (k, v) {\n var resolver = _this.getToken(v, future);\n return resolver.resolve ? wrapIntoObservable(resolver.resolve(future, _this.future)) :\n wrapIntoObservable(resolver(future, _this.future));\n });\n };\n PreActivation.prototype.getToken = function (token, snapshot) {\n var config = closestLoadedConfig(snapshot);\n var injector = config ? config.injector : this.injector;\n return injector.get(token);\n };\n return PreActivation;\n }());\n var ActivateRoutes = (function () {\n function ActivateRoutes(futureState, currState) {\n this.futureState = futureState;\n this.currState = currState;\n }\n ActivateRoutes.prototype.activate = function (parentOutletMap) {\n var futureRoot = this.futureState._root;\n var currRoot = this.currState ? this.currState._root : null;\n this.deactivateChildRoutes(futureRoot, currRoot, parentOutletMap);\n advanceActivatedRoute(this.futureState.root);\n this.activateChildRoutes(futureRoot, currRoot, parentOutletMap);\n };\n ActivateRoutes.prototype.deactivateChildRoutes = function (futureNode, currNode, outletMap) {\n var _this = this;\n var prevChildren = nodeChildrenAsMap(currNode);\n futureNode.children.forEach(function (c) {\n _this.deactivateRoutes(c, prevChildren[c.value.outlet], outletMap);\n delete prevChildren[c.value.outlet];\n });\n forEach(prevChildren, function (v, k) { return _this.deactiveRouteAndItsChildren(v, outletMap); });\n };\n ActivateRoutes.prototype.activateChildRoutes = function (futureNode, currNode, outletMap) {\n var _this = this;\n var prevChildren = nodeChildrenAsMap(currNode);\n futureNode.children.forEach(function (c) { _this.activateRoutes(c, prevChildren[c.value.outlet], outletMap); });\n };\n ActivateRoutes.prototype.deactivateRoutes = function (futureNode, currNode, parentOutletMap) {\n var future = futureNode.value;\n var curr = currNode ? currNode.value : null;\n // reusing the node\n if (future === curr) {\n // If we have a normal route, we need to go through an outlet.\n if (future.component) {\n var outlet = getOutlet(parentOutletMap, future);\n this.deactivateChildRoutes(futureNode, currNode, outlet.outletMap);\n }\n else {\n this.deactivateChildRoutes(futureNode, currNode, parentOutletMap);\n }\n }\n else {\n if (curr) {\n this.deactiveRouteAndItsChildren(currNode, parentOutletMap);\n }\n }\n };\n ActivateRoutes.prototype.activateRoutes = function (futureNode, currNode, parentOutletMap) {\n var future = futureNode.value;\n var curr = currNode ? currNode.value : null;\n // reusing the node\n if (future === curr) {\n // advance the route to push the parameters\n advanceActivatedRoute(future);\n // If we have a normal route, we need to go through an outlet.\n if (future.component) {\n var outlet = getOutlet(parentOutletMap, future);\n this.activateChildRoutes(futureNode, currNode, outlet.outletMap);\n }\n else {\n this.activateChildRoutes(futureNode, currNode, parentOutletMap);\n }\n }\n else {\n // if we have a normal route, we need to advance the route\n // and place the component into the outlet. After that recurse.\n if (future.component) {\n advanceActivatedRoute(future);\n var outlet = getOutlet(parentOutletMap, futureNode.value);\n var outletMap = new RouterOutletMap();\n this.placeComponentIntoOutlet(outletMap, future, outlet);\n this.activateChildRoutes(futureNode, null, outletMap);\n }\n else {\n advanceActivatedRoute(future);\n this.activateChildRoutes(futureNode, null, parentOutletMap);\n }\n }\n };\n ActivateRoutes.prototype.placeComponentIntoOutlet = function (outletMap, future, outlet) {\n var resolved = [{ provide: ActivatedRoute, useValue: future }, {\n provide: RouterOutletMap,\n useValue: outletMap\n }];\n var config = parentLoadedConfig(future.snapshot);\n var resolver = null;\n var injector = null;\n if (config) {\n injector = config.injectorFactory(outlet.locationInjector);\n resolver = config.factoryResolver;\n resolved.push({ provide: _angular_core.ComponentFactoryResolver, useValue: resolver });\n }\n else {\n injector = outlet.locationInjector;\n resolver = outlet.locationFactoryResolver;\n }\n outlet.activate(future, resolver, injector, _angular_core.ReflectiveInjector.resolve(resolved), outletMap);\n };\n ActivateRoutes.prototype.deactiveRouteAndItsChildren = function (route, parentOutletMap) {\n var _this = this;\n var prevChildren = nodeChildrenAsMap(route);\n var outlet = null;\n // getOutlet throws when cannot find the right outlet,\n // which can happen if an outlet was in an NgIf and was removed\n try {\n outlet = getOutlet(parentOutletMap, route.value);\n }\n catch (e) {\n return;\n }\n var childOutletMap = outlet.outletMap;\n forEach(prevChildren, function (v, k) {\n if (route.value.component) {\n _this.deactiveRouteAndItsChildren(v, childOutletMap);\n }\n else {\n _this.deactiveRouteAndItsChildren(v, parentOutletMap);\n }\n });\n if (outlet && outlet.isActivated) {\n outlet.deactivate();\n }\n };\n return ActivateRoutes;\n }());\n function parentLoadedConfig(snapshot) {\n var s = snapshot.parent;\n while (s) {\n var c = s._routeConfig;\n if (c && c._loadedConfig)\n return c._loadedConfig;\n if (c && c.component)\n return null;\n s = s.parent;\n }\n return null;\n }\n function closestLoadedConfig(snapshot) {\n if (!snapshot)\n return null;\n var s = snapshot.parent;\n while (s) {\n var c = s._routeConfig;\n if (c && c._loadedConfig)\n return c._loadedConfig;\n s = s.parent;\n }\n return null;\n }\n function nodeChildrenAsMap(node) {\n return node ? node.children.reduce(function (m, c) {\n m[c.value.outlet] = c;\n return m;\n }, {}) : {};\n }\n function getOutlet(outletMap, route) {\n var outlet = outletMap._outlets[route.outlet];\n if (!outlet) {\n var componentName = route.component.name;\n if (route.outlet === PRIMARY_OUTLET) {\n throw new Error(\"Cannot find primary outlet to load '\" + componentName + \"'\");\n }\n else {\n throw new Error(\"Cannot find the outlet \" + route.outlet + \" to load '\" + componentName + \"'\");\n }\n }\n return outlet;\n }\n\n /**\n * @whatItDoes Lets you link to specific parts of your app.\n *\n * @howToUse\n *\n * Consider the following route configuration:\n\n * ```\n * [{ path: 'user/:name', component: UserCmp }]\n * ```\n *\n * When linking to this `user/:name` route, you can write:\n *\n * ```\n * <a routerLink='/user/bob'>link to user component</a>\n * ```\n *\n * @description\n *\n * The RouterLink directives let you link to specific parts of your app.\n *\n * Whe the link is static, you can use the directive as follows:\n *\n * ```\n * <a routerLink=\"/user/bob\">link to user component</a>\n * ```\n *\n * If you use dynamic values to generate the link, you can pass an array of path\n * segments, followed by the params for each segment.\n *\n * For instance `['/team', teamId, 'user', userName, {details: true}]`\n * means that we want to generate a link to `/team/11/user/bob;details=true`.\n *\n * Multiple static segments can be merged into one (e.g., `['/team/11/user', userName, {details:\n true}]`).\n *\n * The first segment name can be prepended with `/`, `./`, or `../`:\n * * If the first segment begins with `/`, the router will look up the route from the root of the\n app.\n * * If the first segment begins with `./`, or doesn't begin with a slash, the router will\n * instead look in the children of the current activated route.\n * * And if the first segment begins with `../`, the router will go up one level.\n *\n * You can set query params and fragment as follows:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" [queryParams]=\"{debug: true}\" fragment=\"education\">link to user\n component</a>\n * ```\n * RouterLink will use these to generate this link: `/user/bob#education?debug=true`.\n *\n * You can also tell the directive to preserve the current query params and fragment:\n *\n * ```\n * <a [routerLink]=\"['/user/bob']\" preserveQueryParams preserveFragment>link to user\n component</a>\n * ```\n *\n * The router link directive always treats the provided input as a delta to the current url.\n *\n * For instance, if the current url is `/user/(box//aux:team)`.\n *\n * Then the following link `<a [routerLink]=\"['/user/jim']\">Jim</a>` will generate the link\n * `/user/(jim//aux:team)`.\n *\n * @selector ':not(a)[routerLink]'\n * @ngModule RouterModule\n *\n * See {@link Router.createUrlTree} for more information.\n *\n * @stable\n */\n var RouterLink = (function () {\n function RouterLink(router, route, locationStrategy) {\n this.router = router;\n this.route = route;\n this.locationStrategy = locationStrategy;\n this.commands = [];\n }\n Object.defineProperty(RouterLink.prototype, \"routerLink\", {\n set: function (data) {\n if (Array.isArray(data)) {\n this.commands = data;\n }\n else {\n this.commands = [data];\n }\n },\n enumerable: true,\n configurable: true\n });\n RouterLink.prototype.onClick = function () {\n this.router.navigateByUrl(this.urlTree);\n return true;\n };\n Object.defineProperty(RouterLink.prototype, \"urlTree\", {\n get: function () {\n return this.router.createUrlTree(this.commands, {\n relativeTo: this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n preserveQueryParams: toBool(this.preserveQueryParams),\n preserveFragment: toBool(this.preserveFragment)\n });\n },\n enumerable: true,\n configurable: true\n });\n RouterLink.decorators = [\n { type: _angular_core.Directive, args: [{ selector: ':not(a)[routerLink]' },] },\n ];\n /** @nocollapse */\n RouterLink.ctorParameters = [\n { type: Router, },\n { type: ActivatedRoute, },\n { type: _angular_common.LocationStrategy, },\n ];\n RouterLink.propDecorators = {\n 'queryParams': [{ type: _angular_core.Input },],\n 'fragment': [{ type: _angular_core.Input },],\n 'preserveQueryParams': [{ type: _angular_core.Input },],\n 'preserveFragment': [{ type: _angular_core.Input },],\n 'routerLink': [{ type: _angular_core.Input },],\n 'onClick': [{ type: _angular_core.HostListener, args: ['click', [],] },],\n };\n return RouterLink;\n }());\n /**\n * @whatItDoes Lets you link to specific parts of your app.\n *\n * See {@link RouterLink} for more information.\n *\n * @selector 'a[routerLink]'\n * @ngModule RouterModule\n *\n * @stable\n */\n var RouterLinkWithHref = (function () {\n function RouterLinkWithHref(router, route, locationStrategy) {\n var _this = this;\n this.router = router;\n this.route = route;\n this.locationStrategy = locationStrategy;\n this.commands = [];\n this.subscription = router.events.subscribe(function (s) {\n if (s instanceof NavigationEnd) {\n _this.updateTargetUrlAndHref();\n }\n });\n }\n Object.defineProperty(RouterLinkWithHref.prototype, \"routerLink\", {\n set: function (data) {\n if (Array.isArray(data)) {\n this.commands = data;\n }\n else {\n this.commands = [data];\n }\n },\n enumerable: true,\n configurable: true\n });\n RouterLinkWithHref.prototype.ngOnChanges = function (changes) { this.updateTargetUrlAndHref(); };\n RouterLinkWithHref.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n RouterLinkWithHref.prototype.onClick = function (button, ctrlKey, metaKey) {\n if (button !== 0 || ctrlKey || metaKey) {\n return true;\n }\n if (typeof this.target === 'string' && this.target != '_self') {\n return true;\n }\n this.router.navigateByUrl(this.urlTree);\n return false;\n };\n RouterLinkWithHref.prototype.updateTargetUrlAndHref = function () {\n this.href = this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree));\n };\n Object.defineProperty(RouterLinkWithHref.prototype, \"urlTree\", {\n get: function () {\n return this.router.createUrlTree(this.commands, {\n relativeTo: this.route,\n queryParams: this.queryParams,\n fragment: this.fragment,\n preserveQueryParams: toBool(this.preserveQueryParams),\n preserveFragment: toBool(this.preserveFragment)\n });\n },\n enumerable: true,\n configurable: true\n });\n RouterLinkWithHref.decorators = [\n { type: _angular_core.Directive, args: [{ selector: 'a[routerLink]' },] },\n ];\n /** @nocollapse */\n RouterLinkWithHref.ctorParameters = [\n { type: Router, },\n { type: ActivatedRoute, },\n { type: _angular_common.LocationStrategy, },\n ];\n RouterLinkWithHref.propDecorators = {\n 'target': [{ type: _angular_core.Input },],\n 'queryParams': [{ type: _angular_core.Input },],\n 'fragment': [{ type: _angular_core.Input },],\n 'routerLinkOptions': [{ type: _angular_core.Input },],\n 'preserveQueryParams': [{ type: _angular_core.Input },],\n 'preserveFragment': [{ type: _angular_core.Input },],\n 'href': [{ type: _angular_core.HostBinding },],\n 'routerLink': [{ type: _angular_core.Input },],\n 'onClick': [{ type: _angular_core.HostListener, args: ['click', ['$event.button', '$event.ctrlKey', '$event.metaKey'],] },],\n };\n return RouterLinkWithHref;\n }());\n function toBool(s) {\n if (s === '')\n return true;\n return !!s;\n }\n\n /**\n * @whatItDoes Lets you add a CSS class to an element when the link's route becomes active.\n *\n * @howToUse\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n * ```\n *\n * @description\n *\n * The RouterLinkActive directive lets you add a CSS class to an element when the link's route\n * becomes active.\n *\n * Consider the following example:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\">Bob</a>\n * ```\n *\n * When the url is either '/user' or '/user/bob', the active-link class will\n * be added to the `a` tag. If the url changes, the class will be removed.\n *\n * You can set more than one class, as follows:\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"class1 class2\">Bob</a>\n * <a routerLink=\"/user/bob\" [routerLinkActive]=\"['class1', 'class2']\">Bob</a>\n * ```\n *\n * You can configure RouterLinkActive by passing `exact: true`. This will add the classes\n * only when the url matches the link exactly.\n *\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact:\n * true}\">Bob</a>\n * ```\n *\n * You can assign the RouterLinkActive instance to a template variable and directly check\n * the `isActive` status.\n * ```\n * <a routerLink=\"/user/bob\" routerLinkActive #rla=\"routerLinkActive\">\n * Bob {{ rla.isActive ? '(already open)' : ''}}\n * </a>\n * ```\n *\n * Finally, you can apply the RouterLinkActive directive to an ancestor of a RouterLink.\n *\n * ```\n * <div routerLinkActive=\"active-link\" [routerLinkActiveOptions]=\"{exact: true}\">\n * <a routerLink=\"/user/jim\">Jim</a>\n * <a routerLink=\"/user/bob\">Bob</a>\n * </div>\n * ```\n *\n * This will set the active-link class on the div tag if the url is either '/user/jim' or\n * '/user/bob'.\n *\n * @selector ':not(a)[routerLink]'\n * @ngModule RouterModule\n *\n * @stable\n */\n var RouterLinkActive = (function () {\n function RouterLinkActive(router, element, renderer) {\n var _this = this;\n this.router = router;\n this.element = element;\n this.renderer = renderer;\n this.classes = [];\n this.routerLinkActiveOptions = { exact: false };\n this.subscription = router.events.subscribe(function (s) {\n if (s instanceof NavigationEnd) {\n _this.update();\n }\n });\n }\n Object.defineProperty(RouterLinkActive.prototype, \"isActive\", {\n get: function () { return this.hasActiveLink(); },\n enumerable: true,\n configurable: true\n });\n RouterLinkActive.prototype.ngAfterContentInit = function () {\n var _this = this;\n this.links.changes.subscribe(function (s) { return _this.update(); });\n this.linksWithHrefs.changes.subscribe(function (s) { return _this.update(); });\n this.update();\n };\n Object.defineProperty(RouterLinkActive.prototype, \"routerLinkActive\", {\n set: function (data) {\n if (Array.isArray(data)) {\n this.classes = data;\n }\n else {\n this.classes = data.split(' ');\n }\n },\n enumerable: true,\n configurable: true\n });\n RouterLinkActive.prototype.ngOnChanges = function (changes) { this.update(); };\n RouterLinkActive.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n RouterLinkActive.prototype.update = function () {\n var _this = this;\n if (!this.links || !this.linksWithHrefs || !this.router.navigated)\n return;\n var isActive = this.hasActiveLink();\n this.classes.forEach(function (c) {\n if (c) {\n _this.renderer.setElementClass(_this.element.nativeElement, c, isActive);\n }\n });\n };\n RouterLinkActive.prototype.isLinkActive = function (router) {\n var _this = this;\n return function (link) {\n return router.isActive(link.urlTree, _this.routerLinkActiveOptions.exact);\n };\n };\n RouterLinkActive.prototype.hasActiveLink = function () {\n return this.links.some(this.isLinkActive(this.router)) ||\n this.linksWithHrefs.some(this.isLinkActive(this.router));\n };\n RouterLinkActive.decorators = [\n { type: _angular_core.Directive, args: [{\n selector: '[routerLinkActive]',\n exportAs: 'routerLinkActive',\n },] },\n ];\n /** @nocollapse */\n RouterLinkActive.ctorParameters = [\n { type: Router, },\n { type: _angular_core.ElementRef, },\n { type: _angular_core.Renderer, },\n ];\n RouterLinkActive.propDecorators = {\n 'links': [{ type: _angular_core.ContentChildren, args: [RouterLink, { descendants: true },] },],\n 'linksWithHrefs': [{ type: _angular_core.ContentChildren, args: [RouterLinkWithHref, { descendants: true },] },],\n 'routerLinkActiveOptions': [{ type: _angular_core.Input },],\n 'routerLinkActive': [{ type: _angular_core.Input },],\n };\n return RouterLinkActive;\n }());\n\n /**\n * @whatItDoes Acts as a placeholder that Angular dynamically fills based on the current router\n * state.\n *\n * @howToUse\n *\n * ```\n * <router-outlet></router-outlet>\n * <router-outlet name='left'></router-outlet>\n * <router-outlet name='right'></router-outlet>\n * ```\n *\n * A router outlet will emit an activate event any time a new component is being instantiated,\n * and a deactivate event when it is being destroyed.\n *\n * ```\n * <router-outlet\n * (activate)='onActivate($event)'\n * (deactivate)='onDeactivate($event)'></router-outlet>\n * ```\n * @selector 'a[routerLink]'\n * @ngModule RouterModule\n *\n * @stable\n */\n var RouterOutlet = (function () {\n function RouterOutlet(parentOutletMap, location, resolver, name) {\n this.parentOutletMap = parentOutletMap;\n this.location = location;\n this.resolver = resolver;\n this.name = name;\n this.activateEvents = new _angular_core.EventEmitter();\n this.deactivateEvents = new _angular_core.EventEmitter();\n parentOutletMap.registerOutlet(name ? name : PRIMARY_OUTLET, this);\n }\n RouterOutlet.prototype.ngOnDestroy = function () { this.parentOutletMap.removeOutlet(this.name ? this.name : PRIMARY_OUTLET); };\n Object.defineProperty(RouterOutlet.prototype, \"locationInjector\", {\n get: function () { return this.location.injector; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet.prototype, \"locationFactoryResolver\", {\n get: function () { return this.resolver; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet.prototype, \"isActivated\", {\n get: function () { return !!this.activated; },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet.prototype, \"component\", {\n get: function () {\n if (!this.activated)\n throw new Error('Outlet is not activated');\n return this.activated.instance;\n },\n enumerable: true,\n configurable: true\n });\n Object.defineProperty(RouterOutlet.prototype, \"activatedRoute\", {\n get: function () {\n if (!this.activated)\n throw new Error('Outlet is not activated');\n return this._activatedRoute;\n },\n enumerable: true,\n configurable: true\n });\n RouterOutlet.prototype.deactivate = function () {\n if (this.activated) {\n var c = this.component;\n this.activated.destroy();\n this.activated = null;\n this.deactivateEvents.emit(c);\n }\n };\n RouterOutlet.prototype.activate = function (activatedRoute, resolver, injector, providers, outletMap) {\n if (this.isActivated) {\n throw new Error('Cannot activate an already activated outlet');\n }\n this.outletMap = outletMap;\n this._activatedRoute = activatedRoute;\n var snapshot = activatedRoute._futureSnapshot;\n var component = snapshot._routeConfig.component;\n var factory = resolver.resolveComponentFactory(component);\n var inj = _angular_core.ReflectiveInjector.fromResolvedProviders(providers, injector);\n this.activated = this.location.createComponent(factory, this.location.length, inj, []);\n this.activated.changeDetectorRef.detectChanges();\n this.activateEvents.emit(this.activated.instance);\n };\n RouterOutlet.decorators = [\n { type: _angular_core.Directive, args: [{ selector: 'router-outlet' },] },\n ];\n /** @nocollapse */\n RouterOutlet.ctorParameters = [\n { type: RouterOutletMap, },\n { type: _angular_core.ViewContainerRef, },\n { type: _angular_core.ComponentFactoryResolver, },\n { type: undefined, decorators: [{ type: _angular_core.Attribute, args: ['name',] },] },\n ];\n RouterOutlet.propDecorators = {\n 'activateEvents': [{ type: _angular_core.Output, args: ['activate',] },],\n 'deactivateEvents': [{ type: _angular_core.Output, args: ['deactivate',] },],\n };\n return RouterOutlet;\n }());\n\n var getDOM = _angular_platformBrowser.__platform_browser_private__.getDOM;\n\n /**\n * @whatItDoes Provides a preloading strategy.\n *\n * @experimental\n */\n var PreloadingStrategy = (function () {\n function PreloadingStrategy() {\n }\n return PreloadingStrategy;\n }());\n /**\n * @whatItDoes Provides a preloading strategy that preloads all modules as quicky as possible.\n *\n * @howToUse\n *\n * ```\n * RouteModule.forRoot(ROUTES, {preloadingStrategy: PreloadAllModules})\n * ```\n *\n * @experimental\n */\n var PreloadAllModules = (function () {\n function PreloadAllModules() {\n }\n PreloadAllModules.prototype.preload = function (route, fn) {\n return rxjs_operator_catch._catch.call(fn(), function () { return rxjs_observable_of.of(null); });\n };\n return PreloadAllModules;\n }());\n /**\n * @whatItDoes Provides a preloading strategy that does not preload any modules.\n *\n * @description\n *\n * This strategy is enabled by default.\n *\n * @experimental\n */\n var NoPreloading = (function () {\n function NoPreloading() {\n }\n NoPreloading.prototype.preload = function (route, fn) { return rxjs_observable_of.of(null); };\n return NoPreloading;\n }());\n /**\n * The preloader optimistically loads all router configurations to\n * make navigations into lazily-loaded sections of the application faster.\n *\n * The preloader runs in the background. When the router bootstraps, the preloader\n * starts listening to all navigation events. After every such event, the preloader\n * will check if any configurations can be loaded lazily.\n *\n * If a route is protected by `canLoad` guards, the preloaded will not load it.\n *\n * @stable\n */\n var RouterPreloader = (function () {\n function RouterPreloader(router, moduleLoader, compiler, injector, preloadingStrategy) {\n this.router = router;\n this.injector = injector;\n this.preloadingStrategy = preloadingStrategy;\n this.loader = new RouterConfigLoader(moduleLoader, compiler);\n }\n ;\n RouterPreloader.prototype.setUpPreloading = function () {\n var _this = this;\n var navigations = rxjs_operator_filter.filter.call(this.router.events, function (e) { return e instanceof NavigationEnd; });\n this.subscription = rxjs_operator_concatMap.concatMap.call(navigations, function () { return _this.preload(); }).subscribe(function (v) { });\n };\n RouterPreloader.prototype.preload = function () { return this.processRoutes(this.injector, this.router.config); };\n RouterPreloader.prototype.ngOnDestroy = function () { this.subscription.unsubscribe(); };\n RouterPreloader.prototype.processRoutes = function (injector, routes) {\n var res = [];\n for (var _i = 0, routes_1 = routes; _i < routes_1.length; _i++) {\n var c = routes_1[_i];\n // we already have the config loaded, just recurce\n if (c.loadChildren && !c.canLoad && c._loadedConfig) {\n var childConfig = c._loadedConfig;\n res.push(this.processRoutes(childConfig.injector, childConfig.routes));\n }\n else if (c.loadChildren && !c.canLoad) {\n res.push(this.preloadConfig(injector, c));\n }\n else if (c.children) {\n res.push(this.processRoutes(injector, c.children));\n }\n }\n return rxjs_operator_mergeAll.mergeAll.call(rxjs_observable_from.from(res));\n };\n RouterPreloader.prototype.preloadConfig = function (injector, route) {\n var _this = this;\n return this.preloadingStrategy.preload(route, function () {\n var loaded = _this.loader.load(injector, route.loadChildren);\n return rxjs_operator_mergeMap.mergeMap.call(loaded, function (config) {\n var c = route;\n c._loadedConfig = config;\n return _this.processRoutes(config.injector, config.routes);\n });\n });\n };\n RouterPreloader.decorators = [\n { type: _angular_core.Injectable },\n ];\n /** @nocollapse */\n RouterPreloader.ctorParameters = [\n { type: Router, },\n { type: _angular_core.NgModuleFactoryLoader, },\n { type: _angular_core.Compiler, },\n { type: _angular_core.Injector, },\n { type: PreloadingStrategy, },\n ];\n return RouterPreloader;\n }());\n\n /**\n * @whatItDoes Contains a list of directives\n * @stable\n */\n var ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive];\n /**\n * @whatItDoes Is used in DI to configure the router.\n * @stable\n */\n var ROUTER_CONFIGURATION = new _angular_core.OpaqueToken('ROUTER_CONFIGURATION');\n /**\n * @docsNotRequired\n */\n var ROUTER_FORROOT_GUARD = new _angular_core.OpaqueToken('ROUTER_FORROOT_GUARD');\n var ROUTER_PROVIDERS = [\n _angular_common.Location, { provide: UrlSerializer, useClass: DefaultUrlSerializer }, {\n provide: Router,\n useFactory: setupRouter,\n deps: [\n _angular_core.ApplicationRef, UrlSerializer, RouterOutletMap, _angular_common.Location, _angular_core.Injector, _angular_core.NgModuleFactoryLoader,\n _angular_core.Compiler, ROUTES, ROUTER_CONFIGURATION, [UrlHandlingStrategy, new _angular_core.Optional()]\n ]\n },\n RouterOutletMap, { provide: ActivatedRoute, useFactory: rootRoute, deps: [Router] },\n { provide: _angular_core.NgModuleFactoryLoader, useClass: _angular_core.SystemJsNgModuleLoader }, RouterPreloader, NoPreloading,\n PreloadAllModules, { provide: ROUTER_CONFIGURATION, useValue: { enableTracing: false } }\n ];\n /**\n * @whatItDoes Adds router directives and providers.\n *\n * @howToUse\n *\n * RouterModule can be imported multiple times: once per lazily-loaded bundle.\n * Since the router deals with a global shared resource--location, we cannot have\n * more than one router service active.\n *\n * That is why there are two ways to create the module: `RouterModule.forRoot` and\n * `RouterModule.forChild`.\n *\n * * `forRoot` creates a module that contains all the directives, the given routes, and the router\n * service itself.\n * * `forChild` creates a module that contains all the directives and the given routes, but does not\n * include\n * the router service.\n *\n * When registered at the root, the module should be used as follows\n *\n * ```\n * @NgModule({\n * imports: [RouterModule.forRoot(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * For submodules and lazy loaded submodules the module should be used as follows:\n *\n * ```\n * @NgModule({\n * imports: [RouterModule.forChild(ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @description\n *\n * Managing state transitions is one of the hardest parts of building applications. This is\n * especially true on the web, where you also need to ensure that the state is reflected in the URL.\n * In addition, we often want to split applications into multiple bundles and load them on demand.\n * Doing this transparently is not trivial.\n *\n * The Angular 2 router solves these problems. Using the router, you can declaratively specify\n * application states, manage state transitions while taking care of the URL, and load bundles on\n * demand.\n *\n * [Read this developer guide](https://angular.io/docs/ts/latest/guide/router.html) to get an\n * overview of how the router should be used.\n *\n * @stable\n */\n var RouterModule = (function () {\n function RouterModule(guard) {\n }\n /**\n * Creates a module with all the router providers and directives. It also optionally sets up an\n * application listener to perform an initial navigation.\n *\n * Options:\n * * `enableTracing` makes the router log all its internal events to the console.\n * * `useHash` enables the location strategy that uses the URL fragment instead of the history\n * API.\n * * `initialNavigation` disables the initial navigation.\n * * `errorHandler` provides a custom error handler.\n */\n RouterModule.forRoot = function (routes, config) {\n return {\n ngModule: RouterModule,\n providers: [\n ROUTER_PROVIDERS, provideRoutes(routes), {\n provide: ROUTER_FORROOT_GUARD,\n useFactory: provideForRootGuard,\n deps: [[Router, new _angular_core.Optional(), new _angular_core.SkipSelf()]]\n },\n { provide: ROUTER_CONFIGURATION, useValue: config ? config : {} }, {\n provide: _angular_common.LocationStrategy,\n useFactory: provideLocationStrategy,\n deps: [\n _angular_common.PlatformLocation, [new _angular_core.Inject(_angular_common.APP_BASE_HREF), new _angular_core.Optional()], ROUTER_CONFIGURATION\n ]\n },\n {\n provide: PreloadingStrategy,\n useExisting: config && config.preloadingStrategy ? config.preloadingStrategy :\n NoPreloading\n },\n provideRouterInitializer()\n ]\n };\n };\n /**\n * Creates a module with all the router directives and a provider registering routes.\n */\n RouterModule.forChild = function (routes) {\n return { ngModule: RouterModule, providers: [provideRoutes(routes)] };\n };\n RouterModule.decorators = [\n { type: _angular_core.NgModule, args: [{ declarations: ROUTER_DIRECTIVES, exports: ROUTER_DIRECTIVES },] },\n ];\n /** @nocollapse */\n RouterModule.ctorParameters = [\n { type: undefined, decorators: [{ type: _angular_core.Optional }, { type: _angular_core.Inject, args: [ROUTER_FORROOT_GUARD,] },] },\n ];\n return RouterModule;\n }());\n function provideLocationStrategy(platformLocationStrategy, baseHref, options) {\n if (options === void 0) { options = {}; }\n return options.useHash ? new _angular_common.HashLocationStrategy(platformLocationStrategy, baseHref) :\n new _angular_common.PathLocationStrategy(platformLocationStrategy, baseHref);\n }\n function provideForRootGuard(router) {\n if (router) {\n throw new Error(\"RouterModule.forRoot() called twice. Lazy loaded modules should use RouterModule.forChild() instead.\");\n }\n return 'guarded';\n }\n /**\n * @whatItDoes Registers routes.\n *\n * @howToUse\n *\n * ```\n * @NgModule({\n * imports: [RouterModule.forChild(ROUTES)],\n * providers: [provideRoutes(EXTRA_ROUTES)]\n * })\n * class MyNgModule {}\n * ```\n *\n * @stable\n */\n function provideRoutes(routes) {\n return [\n { provide: _angular_core.ANALYZE_FOR_ENTRY_COMPONENTS, multi: true, useValue: routes },\n { provide: ROUTES, multi: true, useValue: routes }\n ];\n }\n function setupRouter(ref, urlSerializer, outletMap, location, injector, loader, compiler, config, opts, urlHandlingStrategy) {\n if (opts === void 0) { opts = {}; }\n var router = new Router(null, urlSerializer, outletMap, location, injector, loader, compiler, flatten(config));\n if (urlHandlingStrategy) {\n router.urlHandlingStrategy = urlHandlingStrategy;\n }\n if (opts.errorHandler) {\n router.errorHandler = opts.errorHandler;\n }\n if (opts.enableTracing) {\n var dom_1 = getDOM();\n router.events.subscribe(function (e) {\n dom_1.logGroup(\"Router Event: \" + e.constructor.name);\n dom_1.log(e.toString());\n dom_1.log(e);\n dom_1.logGroupEnd();\n });\n }\n return router;\n }\n function rootRoute(router) {\n return router.routerState.root;\n }\n function initialRouterNavigation(router, ref, preloader, opts) {\n return function (bootstrappedComponentRef) {\n if (bootstrappedComponentRef !== ref.components[0]) {\n return;\n }\n router.resetRootComponentType(ref.componentTypes[0]);\n preloader.setUpPreloading();\n if (opts.initialNavigation === false) {\n router.setUpLocationChangeListener();\n }\n else {\n router.initialNavigation();\n }\n };\n }\n /**\n * A token for the router initializer that will be called after the app is bootstrapped.\n *\n * @experimental\n */\n var ROUTER_INITIALIZER = new _angular_core.OpaqueToken('Router Initializer');\n function provideRouterInitializer() {\n return [\n {\n provide: ROUTER_INITIALIZER,\n useFactory: initialRouterNavigation,\n deps: [Router, _angular_core.ApplicationRef, RouterPreloader, ROUTER_CONFIGURATION]\n },\n { provide: _angular_core.APP_BOOTSTRAP_LISTENER, multi: true, useExisting: ROUTER_INITIALIZER }\n ];\n }\n\n var __router_private__ = {\n ROUTER_PROVIDERS: ROUTER_PROVIDERS,\n ROUTES: ROUTES,\n flatten: flatten\n };\n\n exports.RouterLink = RouterLink;\n exports.RouterLinkWithHref = RouterLinkWithHref;\n exports.RouterLinkActive = RouterLinkActive;\n exports.RouterOutlet = RouterOutlet;\n exports.NavigationCancel = NavigationCancel;\n exports.NavigationEnd = NavigationEnd;\n exports.NavigationError = NavigationError;\n exports.NavigationStart = NavigationStart;\n exports.Router = Router;\n exports.RoutesRecognized = RoutesRecognized;\n exports.ROUTER_CONFIGURATION = ROUTER_CONFIGURATION;\n exports.ROUTER_INITIALIZER = ROUTER_INITIALIZER;\n exports.RouterModule = RouterModule;\n exports.provideRoutes = provideRoutes;\n exports.RouterOutletMap = RouterOutletMap;\n exports.NoPreloading = NoPreloading;\n exports.PreloadAllModules = PreloadAllModules;\n exports.PreloadingStrategy = PreloadingStrategy;\n exports.RouterPreloader = RouterPreloader;\n exports.ActivatedRoute = ActivatedRoute;\n exports.ActivatedRouteSnapshot = ActivatedRouteSnapshot;\n exports.RouterState = RouterState;\n exports.RouterStateSnapshot = RouterStateSnapshot;\n exports.PRIMARY_OUTLET = PRIMARY_OUTLET;\n exports.UrlHandlingStrategy = UrlHandlingStrategy;\n exports.DefaultUrlSerializer = DefaultUrlSerializer;\n exports.UrlSegment = UrlSegment;\n exports.UrlSegmentGroup = UrlSegmentGroup;\n exports.UrlSerializer = UrlSerializer;\n exports.UrlTree = UrlTree;\n exports.__router_private__ = __router_private__;\n\n}));\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/@angular/router/bundles/router.umd.js\n// module id = 348\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subject_1 = require('./Subject');\nvar ObjectUnsubscribedError_1 = require('./util/ObjectUnsubscribedError');\n/**\n * @class BehaviorSubject<T>\n */\nvar BehaviorSubject = (function (_super) {\n __extends(BehaviorSubject, _super);\n function BehaviorSubject(_value) {\n _super.call(this);\n this._value = _value;\n }\n Object.defineProperty(BehaviorSubject.prototype, \"value\", {\n get: function () {\n return this.getValue();\n },\n enumerable: true,\n configurable: true\n });\n BehaviorSubject.prototype._subscribe = function (subscriber) {\n var subscription = _super.prototype._subscribe.call(this, subscriber);\n if (subscription && !subscription.closed) {\n subscriber.next(this._value);\n }\n return subscription;\n };\n BehaviorSubject.prototype.getValue = function () {\n if (this.hasError) {\n throw this.thrownError;\n }\n else if (this.closed) {\n throw new ObjectUnsubscribedError_1.ObjectUnsubscribedError();\n }\n else {\n return this._value;\n }\n };\n BehaviorSubject.prototype.next = function (value) {\n _super.prototype.next.call(this, this._value = value);\n };\n return BehaviorSubject;\n}(Subject_1.Subject));\nexports.BehaviorSubject = BehaviorSubject;\n//# sourceMappingURL=BehaviorSubject.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/BehaviorSubject.js\n// module id = 349\n// module chunks = 0","\"use strict\";\nvar FromObservable_1 = require('./FromObservable');\nexports.from = FromObservable_1.FromObservable.create;\n//# sourceMappingURL=from.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/from.js\n// module id = 350\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar isArray_1 = require('../util/isArray');\nvar isPromise_1 = require('../util/isPromise');\nvar PromiseObservable_1 = require('./PromiseObservable');\nvar IteratorObservable_1 = require('./IteratorObservable');\nvar ArrayObservable_1 = require('./ArrayObservable');\nvar ArrayLikeObservable_1 = require('./ArrayLikeObservable');\nvar iterator_1 = require('../symbol/iterator');\nvar Observable_1 = require('../Observable');\nvar observeOn_1 = require('../operator/observeOn');\nvar observable_1 = require('../symbol/observable');\nvar isArrayLike = (function (x) { return x && typeof x.length === 'number'; });\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar FromObservable = (function (_super) {\n __extends(FromObservable, _super);\n function FromObservable(ish, scheduler) {\n _super.call(this, null);\n this.ish = ish;\n this.scheduler = scheduler;\n }\n /**\n * Creates an Observable from an Array, an array-like object, a Promise, an\n * iterable object, or an Observable-like object.\n *\n * <span class=\"informal\">Converts almost anything to an Observable.</span>\n *\n * <img src=\"./img/from.png\" width=\"100%\">\n *\n * Convert various other objects and data types into Observables. `from`\n * converts a Promise or an array-like or an\n * [iterable](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#iterable)\n * object into an Observable that emits the items in that promise or array or\n * iterable. A String, in this context, is treated as an array of characters.\n * Observable-like objects (contains a function named with the ES2015 Symbol\n * for Observable) can also be converted through this operator.\n *\n * @example <caption>Converts an array to an Observable</caption>\n * var array = [10, 20, 30];\n * var result = Rx.Observable.from(array);\n * result.subscribe(x => console.log(x));\n *\n * @example <caption>Convert an infinite iterable (from a generator) to an Observable</caption>\n * function* generateDoubles(seed) {\n * var i = seed;\n * while (true) {\n * yield i;\n * i = 2 * i; // double it\n * }\n * }\n *\n * var iterator = generateDoubles(3);\n * var result = Rx.Observable.from(iterator).take(10);\n * result.subscribe(x => console.log(x));\n *\n * @see {@link create}\n * @see {@link fromEvent}\n * @see {@link fromEventPattern}\n * @see {@link fromPromise}\n *\n * @param {ObservableInput<T>} ish A subscribable object, a Promise, an\n * Observable-like, an Array, an iterable or an array-like object to be\n * converted.\n * @param {Scheduler} [scheduler] The scheduler on which to schedule the\n * emissions of values.\n * @return {Observable<T>} The Observable whose values are originally from the\n * input object that was converted.\n * @static true\n * @name from\n * @owner Observable\n */\n FromObservable.create = function (ish, scheduler) {\n if (ish != null) {\n if (typeof ish[observable_1.$$observable] === 'function') {\n if (ish instanceof Observable_1.Observable && !scheduler) {\n return ish;\n }\n return new FromObservable(ish, scheduler);\n }\n else if (isArray_1.isArray(ish)) {\n return new ArrayObservable_1.ArrayObservable(ish, scheduler);\n }\n else if (isPromise_1.isPromise(ish)) {\n return new PromiseObservable_1.PromiseObservable(ish, scheduler);\n }\n else if (typeof ish[iterator_1.$$iterator] === 'function' || typeof ish === 'string') {\n return new IteratorObservable_1.IteratorObservable(ish, scheduler);\n }\n else if (isArrayLike(ish)) {\n return new ArrayLikeObservable_1.ArrayLikeObservable(ish, scheduler);\n }\n }\n throw new TypeError((ish !== null && typeof ish || ish) + ' is not observable');\n };\n FromObservable.prototype._subscribe = function (subscriber) {\n var ish = this.ish;\n var scheduler = this.scheduler;\n if (scheduler == null) {\n return ish[observable_1.$$observable]().subscribe(subscriber);\n }\n else {\n return ish[observable_1.$$observable]().subscribe(new observeOn_1.ObserveOnSubscriber(subscriber, scheduler, 0));\n }\n };\n return FromObservable;\n}(Observable_1.Observable));\nexports.FromObservable = FromObservable;\n//# sourceMappingURL=FromObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/FromObservable.js\n// module id = 351\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar root_1 = require('../util/root');\nvar Observable_1 = require('../Observable');\nvar iterator_1 = require('../symbol/iterator');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar IteratorObservable = (function (_super) {\n __extends(IteratorObservable, _super);\n function IteratorObservable(iterator, scheduler) {\n _super.call(this);\n this.scheduler = scheduler;\n if (iterator == null) {\n throw new Error('iterator cannot be null.');\n }\n this.iterator = getIterator(iterator);\n }\n IteratorObservable.create = function (iterator, scheduler) {\n return new IteratorObservable(iterator, scheduler);\n };\n IteratorObservable.dispatch = function (state) {\n var index = state.index, hasError = state.hasError, iterator = state.iterator, subscriber = state.subscriber;\n if (hasError) {\n subscriber.error(state.error);\n return;\n }\n var result = iterator.next();\n if (result.done) {\n subscriber.complete();\n return;\n }\n subscriber.next(result.value);\n state.index = index + 1;\n if (subscriber.closed) {\n return;\n }\n this.schedule(state);\n };\n IteratorObservable.prototype._subscribe = function (subscriber) {\n var index = 0;\n var _a = this, iterator = _a.iterator, scheduler = _a.scheduler;\n if (scheduler) {\n return scheduler.schedule(IteratorObservable.dispatch, 0, {\n index: index, iterator: iterator, subscriber: subscriber\n });\n }\n else {\n do {\n var result = iterator.next();\n if (result.done) {\n subscriber.complete();\n break;\n }\n else {\n subscriber.next(result.value);\n }\n if (subscriber.closed) {\n break;\n }\n } while (true);\n }\n };\n return IteratorObservable;\n}(Observable_1.Observable));\nexports.IteratorObservable = IteratorObservable;\nvar StringIterator = (function () {\n function StringIterator(str, idx, len) {\n if (idx === void 0) { idx = 0; }\n if (len === void 0) { len = str.length; }\n this.str = str;\n this.idx = idx;\n this.len = len;\n }\n StringIterator.prototype[iterator_1.$$iterator] = function () { return (this); };\n StringIterator.prototype.next = function () {\n return this.idx < this.len ? {\n done: false,\n value: this.str.charAt(this.idx++)\n } : {\n done: true,\n value: undefined\n };\n };\n return StringIterator;\n}());\nvar ArrayIterator = (function () {\n function ArrayIterator(arr, idx, len) {\n if (idx === void 0) { idx = 0; }\n if (len === void 0) { len = toLength(arr); }\n this.arr = arr;\n this.idx = idx;\n this.len = len;\n }\n ArrayIterator.prototype[iterator_1.$$iterator] = function () { return this; };\n ArrayIterator.prototype.next = function () {\n return this.idx < this.len ? {\n done: false,\n value: this.arr[this.idx++]\n } : {\n done: true,\n value: undefined\n };\n };\n return ArrayIterator;\n}());\nfunction getIterator(obj) {\n var i = obj[iterator_1.$$iterator];\n if (!i && typeof obj === 'string') {\n return new StringIterator(obj);\n }\n if (!i && obj.length !== undefined) {\n return new ArrayIterator(obj);\n }\n if (!i) {\n throw new TypeError('object is not iterable');\n }\n return obj[iterator_1.$$iterator]();\n}\nvar maxSafeInteger = Math.pow(2, 53) - 1;\nfunction toLength(o) {\n var len = +o.length;\n if (isNaN(len)) {\n return 0;\n }\n if (len === 0 || !numberIsFinite(len)) {\n return len;\n }\n len = sign(len) * Math.floor(Math.abs(len));\n if (len <= 0) {\n return 0;\n }\n if (len > maxSafeInteger) {\n return maxSafeInteger;\n }\n return len;\n}\nfunction numberIsFinite(value) {\n return typeof value === 'number' && root_1.root.isFinite(value);\n}\nfunction sign(value) {\n var valueAsNumber = +value;\n if (valueAsNumber === 0) {\n return valueAsNumber;\n }\n if (isNaN(valueAsNumber)) {\n return valueAsNumber;\n }\n return valueAsNumber < 0 ? -1 : 1;\n}\n//# sourceMappingURL=IteratorObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/IteratorObservable.js\n// module id = 352\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Observable_1 = require('../Observable');\nvar ScalarObservable_1 = require('./ScalarObservable');\nvar EmptyObservable_1 = require('./EmptyObservable');\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @extends {Ignored}\n * @hide true\n */\nvar ArrayLikeObservable = (function (_super) {\n __extends(ArrayLikeObservable, _super);\n function ArrayLikeObservable(arrayLike, scheduler) {\n _super.call(this);\n this.arrayLike = arrayLike;\n this.scheduler = scheduler;\n if (!scheduler && arrayLike.length === 1) {\n this._isScalar = true;\n this.value = arrayLike[0];\n }\n }\n ArrayLikeObservable.create = function (arrayLike, scheduler) {\n var length = arrayLike.length;\n if (length === 0) {\n return new EmptyObservable_1.EmptyObservable();\n }\n else if (length === 1) {\n return new ScalarObservable_1.ScalarObservable(arrayLike[0], scheduler);\n }\n else {\n return new ArrayLikeObservable(arrayLike, scheduler);\n }\n };\n ArrayLikeObservable.dispatch = function (state) {\n var arrayLike = state.arrayLike, index = state.index, length = state.length, subscriber = state.subscriber;\n if (subscriber.closed) {\n return;\n }\n if (index >= length) {\n subscriber.complete();\n return;\n }\n subscriber.next(arrayLike[index]);\n state.index = index + 1;\n this.schedule(state);\n };\n ArrayLikeObservable.prototype._subscribe = function (subscriber) {\n var index = 0;\n var _a = this, arrayLike = _a.arrayLike, scheduler = _a.scheduler;\n var length = arrayLike.length;\n if (scheduler) {\n return scheduler.schedule(ArrayLikeObservable.dispatch, 0, {\n arrayLike: arrayLike, index: index, length: length, subscriber: subscriber\n });\n }\n else {\n for (var i = 0; i < length && !subscriber.closed; i++) {\n subscriber.next(arrayLike[i]);\n }\n subscriber.complete();\n }\n };\n return ArrayLikeObservable;\n}(Observable_1.Observable));\nexports.ArrayLikeObservable = ArrayLikeObservable;\n//# sourceMappingURL=ArrayLikeObservable.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/observable/ArrayLikeObservable.js\n// module id = 353\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\nvar Notification_1 = require('../Notification');\n/**\n * @see {@link Notification}\n *\n * @param scheduler\n * @param delay\n * @return {Observable<R>|WebSocketSubject<T>|Observable<T>}\n * @method observeOn\n * @owner Observable\n */\nfunction observeOn(scheduler, delay) {\n if (delay === void 0) { delay = 0; }\n return this.lift(new ObserveOnOperator(scheduler, delay));\n}\nexports.observeOn = observeOn;\nvar ObserveOnOperator = (function () {\n function ObserveOnOperator(scheduler, delay) {\n if (delay === void 0) { delay = 0; }\n this.scheduler = scheduler;\n this.delay = delay;\n }\n ObserveOnOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new ObserveOnSubscriber(subscriber, this.scheduler, this.delay));\n };\n return ObserveOnOperator;\n}());\nexports.ObserveOnOperator = ObserveOnOperator;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar ObserveOnSubscriber = (function (_super) {\n __extends(ObserveOnSubscriber, _super);\n function ObserveOnSubscriber(destination, scheduler, delay) {\n if (delay === void 0) { delay = 0; }\n _super.call(this, destination);\n this.scheduler = scheduler;\n this.delay = delay;\n }\n ObserveOnSubscriber.dispatch = function (arg) {\n var notification = arg.notification, destination = arg.destination;\n notification.observe(destination);\n };\n ObserveOnSubscriber.prototype.scheduleMessage = function (notification) {\n this.add(this.scheduler.schedule(ObserveOnSubscriber.dispatch, this.delay, new ObserveOnMessage(notification, this.destination)));\n };\n ObserveOnSubscriber.prototype._next = function (value) {\n this.scheduleMessage(Notification_1.Notification.createNext(value));\n };\n ObserveOnSubscriber.prototype._error = function (err) {\n this.scheduleMessage(Notification_1.Notification.createError(err));\n };\n ObserveOnSubscriber.prototype._complete = function () {\n this.scheduleMessage(Notification_1.Notification.createComplete());\n };\n return ObserveOnSubscriber;\n}(Subscriber_1.Subscriber));\nexports.ObserveOnSubscriber = ObserveOnSubscriber;\nvar ObserveOnMessage = (function () {\n function ObserveOnMessage(notification, destination) {\n this.notification = notification;\n this.destination = destination;\n }\n return ObserveOnMessage;\n}());\nexports.ObserveOnMessage = ObserveOnMessage;\n//# sourceMappingURL=observeOn.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/observeOn.js\n// module id = 354\n// module chunks = 0","\"use strict\";\nvar Observable_1 = require('./Observable');\n/**\n * Represents a push-based event or value that an {@link Observable} can emit.\n * This class is particularly useful for operators that manage notifications,\n * like {@link materialize}, {@link dematerialize}, {@link observeOn}, and\n * others. Besides wrapping the actual delivered value, it also annotates it\n * with metadata of, for instance, what type of push message it is (`next`,\n * `error`, or `complete`).\n *\n * @see {@link materialize}\n * @see {@link dematerialize}\n * @see {@link observeOn}\n *\n * @class Notification<T>\n */\nvar Notification = (function () {\n function Notification(kind, value, exception) {\n this.kind = kind;\n this.value = value;\n this.exception = exception;\n this.hasValue = kind === 'N';\n }\n /**\n * Delivers to the given `observer` the value wrapped by this Notification.\n * @param {Observer} observer\n * @return\n */\n Notification.prototype.observe = function (observer) {\n switch (this.kind) {\n case 'N':\n return observer.next && observer.next(this.value);\n case 'E':\n return observer.error && observer.error(this.exception);\n case 'C':\n return observer.complete && observer.complete();\n }\n };\n /**\n * Given some {@link Observer} callbacks, deliver the value represented by the\n * current Notification to the correctly corresponding callback.\n * @param {function(value: T): void} next An Observer `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n Notification.prototype.do = function (next, error, complete) {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return next && next(this.value);\n case 'E':\n return error && error(this.exception);\n case 'C':\n return complete && complete();\n }\n };\n /**\n * Takes an Observer or its individual callback functions, and calls `observe`\n * or `do` methods accordingly.\n * @param {Observer|function(value: T): void} nextOrObserver An Observer or\n * the `next` callback.\n * @param {function(err: any): void} [error] An Observer `error` callback.\n * @param {function(): void} [complete] An Observer `complete` callback.\n * @return {any}\n */\n Notification.prototype.accept = function (nextOrObserver, error, complete) {\n if (nextOrObserver && typeof nextOrObserver.next === 'function') {\n return this.observe(nextOrObserver);\n }\n else {\n return this.do(nextOrObserver, error, complete);\n }\n };\n /**\n * Returns a simple Observable that just delivers the notification represented\n * by this Notification instance.\n * @return {any}\n */\n Notification.prototype.toObservable = function () {\n var kind = this.kind;\n switch (kind) {\n case 'N':\n return Observable_1.Observable.of(this.value);\n case 'E':\n return Observable_1.Observable.throw(this.exception);\n case 'C':\n return Observable_1.Observable.empty();\n }\n throw new Error('unexpected notification kind value');\n };\n /**\n * A shortcut to create a Notification instance of the type `next` from a\n * given value.\n * @param {T} value The `next` value.\n * @return {Notification<T>} The \"next\" Notification representing the\n * argument.\n */\n Notification.createNext = function (value) {\n if (typeof value !== 'undefined') {\n return new Notification('N', value);\n }\n return this.undefinedValueNotification;\n };\n /**\n * A shortcut to create a Notification instance of the type `error` from a\n * given error.\n * @param {any} [err] The `error` exception.\n * @return {Notification<T>} The \"error\" Notification representing the\n * argument.\n */\n Notification.createError = function (err) {\n return new Notification('E', undefined, err);\n };\n /**\n * A shortcut to create a Notification instance of the type `complete`.\n * @return {Notification<any>} The valueless \"complete\" Notification.\n */\n Notification.createComplete = function () {\n return this.completeNotification;\n };\n Notification.completeNotification = new Notification('C');\n Notification.undefinedValueNotification = new Notification('N', undefined);\n return Notification;\n}());\nexports.Notification = Notification;\n//# sourceMappingURL=Notification.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/Notification.js\n// module id = 355\n// module chunks = 0","\"use strict\";\nvar mergeMap_1 = require('./mergeMap');\n/**\n * Projects each source value to an Observable which is merged in the output\n * Observable, in a serialized fashion waiting for each one to complete before\n * merging the next.\n *\n * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n * these inner Observables using {@link concatAll}.</span>\n *\n * <img src=\"./img/concatMap.png\" width=\"100%\">\n *\n * Returns an Observable that emits items based on applying a function that you\n * supply to each item emitted by the source Observable, where that function\n * returns an (so-called \"inner\") Observable. Each new inner Observable is\n * concatenated with the previous inner Observable.\n *\n * __Warning:__ if source values arrive endlessly and faster than their\n * corresponding inner Observables can complete, it will result in memory issues\n * as inner Observables amass in an unbounded buffer waiting for their turn to\n * be subscribed to.\n *\n * Note: `concatMap` is equivalent to `mergeMap` with concurrency parameter set\n * to `1`.\n *\n * @example <caption>For each click event, tick every second from 0 to 3, with no concurrency</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var result = clicks.concatMap(ev => Rx.Observable.interval(1000).take(4));\n * result.subscribe(x => console.log(x));\n *\n * @see {@link concat}\n * @see {@link concatAll}\n * @see {@link concatMapTo}\n * @see {@link exhaustMap}\n * @see {@link mergeMap}\n * @see {@link switchMap}\n *\n * @param {function(value: T, ?index: number): Observable} project A function\n * that, when applied to an item emitted by the source Observable, returns an\n * Observable.\n * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n * A function to produce the value on the output Observable based on the values\n * and the indices of the source (outer) emission and the inner Observable\n * emission. The arguments passed to this function are:\n * - `outerValue`: the value that came from the source\n * - `innerValue`: the value that came from the projected Observable\n * - `outerIndex`: the \"index\" of the value that came from the source\n * - `innerIndex`: the \"index\" of the value from the projected Observable\n * @return {Observable} an observable of values merged from the projected\n * Observables as they were subscribed to, one at a time. Optionally, these\n * values may have been projected from a passed `projectResult` argument.\n * @return {Observable} An Observable that emits the result of applying the\n * projection function (and the optional `resultSelector`) to each item emitted\n * by the source Observable and taking values from each projected inner\n * Observable sequentially.\n * @method concatMap\n * @owner Observable\n */\nfunction concatMap(project, resultSelector) {\n return this.lift(new mergeMap_1.MergeMapOperator(project, resultSelector, 1));\n}\nexports.concatMap = concatMap;\n//# sourceMappingURL=concatMap.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/concatMap.js\n// module id = 356\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar subscribeToResult_1 = require('../util/subscribeToResult');\nvar OuterSubscriber_1 = require('../OuterSubscriber');\n/**\n * Projects each source value to an Observable which is merged in the output\n * Observable.\n *\n * <span class=\"informal\">Maps each value to an Observable, then flattens all of\n * these inner Observables using {@link mergeAll}.</span>\n *\n * <img src=\"./img/mergeMap.png\" width=\"100%\">\n *\n * Returns an Observable that emits items based on applying a function that you\n * supply to each item emitted by the source Observable, where that function\n * returns an Observable, and then merging those resulting Observables and\n * emitting the results of this merger.\n *\n * @example <caption>Map and flatten each letter to an Observable ticking every 1 second</caption>\n * var letters = Rx.Observable.of('a', 'b', 'c');\n * var result = letters.mergeMap(x =>\n * Rx.Observable.interval(1000).map(i => x+i)\n * );\n * result.subscribe(x => console.log(x));\n *\n * @see {@link concatMap}\n * @see {@link exhaustMap}\n * @see {@link merge}\n * @see {@link mergeAll}\n * @see {@link mergeMapTo}\n * @see {@link mergeScan}\n * @see {@link switchMap}\n *\n * @param {function(value: T, ?index: number): Observable} project A function\n * that, when applied to an item emitted by the source Observable, returns an\n * Observable.\n * @param {function(outerValue: T, innerValue: I, outerIndex: number, innerIndex: number): any} [resultSelector]\n * A function to produce the value on the output Observable based on the values\n * and the indices of the source (outer) emission and the inner Observable\n * emission. The arguments passed to this function are:\n * - `outerValue`: the value that came from the source\n * - `innerValue`: the value that came from the projected Observable\n * - `outerIndex`: the \"index\" of the value that came from the source\n * - `innerIndex`: the \"index\" of the value from the projected Observable\n * @param {number} [concurrent=Number.POSITIVE_INFINITY] Maximum number of input\n * Observables being subscribed to concurrently.\n * @return {Observable} An Observable that emits the result of applying the\n * projection function (and the optional `resultSelector`) to each item emitted\n * by the source Observable and merging the results of the Observables obtained\n * from this transformation.\n * @method mergeMap\n * @owner Observable\n */\nfunction mergeMap(project, resultSelector, concurrent) {\n if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n if (typeof resultSelector === 'number') {\n concurrent = resultSelector;\n resultSelector = null;\n }\n return this.lift(new MergeMapOperator(project, resultSelector, concurrent));\n}\nexports.mergeMap = mergeMap;\nvar MergeMapOperator = (function () {\n function MergeMapOperator(project, resultSelector, concurrent) {\n if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n this.project = project;\n this.resultSelector = resultSelector;\n this.concurrent = concurrent;\n }\n MergeMapOperator.prototype.call = function (observer, source) {\n return source._subscribe(new MergeMapSubscriber(observer, this.project, this.resultSelector, this.concurrent));\n };\n return MergeMapOperator;\n}());\nexports.MergeMapOperator = MergeMapOperator;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar MergeMapSubscriber = (function (_super) {\n __extends(MergeMapSubscriber, _super);\n function MergeMapSubscriber(destination, project, resultSelector, concurrent) {\n if (concurrent === void 0) { concurrent = Number.POSITIVE_INFINITY; }\n _super.call(this, destination);\n this.project = project;\n this.resultSelector = resultSelector;\n this.concurrent = concurrent;\n this.hasCompleted = false;\n this.buffer = [];\n this.active = 0;\n this.index = 0;\n }\n MergeMapSubscriber.prototype._next = function (value) {\n if (this.active < this.concurrent) {\n this._tryNext(value);\n }\n else {\n this.buffer.push(value);\n }\n };\n MergeMapSubscriber.prototype._tryNext = function (value) {\n var result;\n var index = this.index++;\n try {\n result = this.project(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.active++;\n this._innerSub(result, value, index);\n };\n MergeMapSubscriber.prototype._innerSub = function (ish, value, index) {\n this.add(subscribeToResult_1.subscribeToResult(this, ish, value, index));\n };\n MergeMapSubscriber.prototype._complete = function () {\n this.hasCompleted = true;\n if (this.active === 0 && this.buffer.length === 0) {\n this.destination.complete();\n }\n };\n MergeMapSubscriber.prototype.notifyNext = function (outerValue, innerValue, outerIndex, innerIndex, innerSub) {\n if (this.resultSelector) {\n this._notifyResultSelector(outerValue, innerValue, outerIndex, innerIndex);\n }\n else {\n this.destination.next(innerValue);\n }\n };\n MergeMapSubscriber.prototype._notifyResultSelector = function (outerValue, innerValue, outerIndex, innerIndex) {\n var result;\n try {\n result = this.resultSelector(outerValue, innerValue, outerIndex, innerIndex);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.destination.next(result);\n };\n MergeMapSubscriber.prototype.notifyComplete = function (innerSub) {\n var buffer = this.buffer;\n this.remove(innerSub);\n this.active--;\n if (buffer.length > 0) {\n this._next(buffer.shift());\n }\n else if (this.active === 0 && this.hasCompleted) {\n this.destination.complete();\n }\n };\n return MergeMapSubscriber;\n}(OuterSubscriber_1.OuterSubscriber));\nexports.MergeMapSubscriber = MergeMapSubscriber;\n//# sourceMappingURL=mergeMap.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/mergeMap.js\n// module id = 357\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Returns an Observable that emits whether or not every item of the source satisfies the condition specified.\n * @param {function} predicate a function for determining if an item meets a specified condition.\n * @param {any} [thisArg] optional object to use for `this` in the callback\n * @return {Observable} an Observable of booleans that determines if all items of the source Observable meet the condition specified.\n * @method every\n * @owner Observable\n */\nfunction every(predicate, thisArg) {\n return this.lift(new EveryOperator(predicate, thisArg, this));\n}\nexports.every = every;\nvar EveryOperator = (function () {\n function EveryOperator(predicate, thisArg, source) {\n this.predicate = predicate;\n this.thisArg = thisArg;\n this.source = source;\n }\n EveryOperator.prototype.call = function (observer, source) {\n return source._subscribe(new EverySubscriber(observer, this.predicate, this.thisArg, this.source));\n };\n return EveryOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar EverySubscriber = (function (_super) {\n __extends(EverySubscriber, _super);\n function EverySubscriber(destination, predicate, thisArg, source) {\n _super.call(this, destination);\n this.predicate = predicate;\n this.thisArg = thisArg;\n this.source = source;\n this.index = 0;\n this.thisArg = thisArg || this;\n }\n EverySubscriber.prototype.notifyComplete = function (everyValueMatch) {\n this.destination.next(everyValueMatch);\n this.destination.complete();\n };\n EverySubscriber.prototype._next = function (value) {\n var result = false;\n try {\n result = this.predicate.call(this.thisArg, value, this.index++, this.source);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (!result) {\n this.notifyComplete(false);\n }\n };\n EverySubscriber.prototype._complete = function () {\n this.notifyComplete(true);\n };\n return EverySubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=every.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/every.js\n// module id = 358\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\n/**\n * Applies an accumulator function over the source Observable, and returns the\n * accumulated result when the source completes, given an optional seed value.\n *\n * <span class=\"informal\">Combines together all values emitted on the source,\n * using an accumulator function that knows how to join a new source value into\n * the accumulation from the past.</span>\n *\n * <img src=\"./img/reduce.png\" width=\"100%\">\n *\n * Like\n * [Array.prototype.reduce()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce),\n * `reduce` applies an `accumulator` function against an accumulation and each\n * value of the source Observable (from the past) to reduce it to a single\n * value, emitted on the output Observable. Note that `reduce` will only emit\n * one value, only when the source Observable completes. It is equivalent to\n * applying operator {@link scan} followed by operator {@link last}.\n *\n * Returns an Observable that applies a specified `accumulator` function to each\n * item emitted by the source Observable. If a `seed` value is specified, then\n * that value will be used as the initial value for the accumulator. If no seed\n * value is specified, the first item of the source is used as the seed.\n *\n * @example <caption>Count the number of click events that happened in 5 seconds</caption>\n * var clicksInFiveSeconds = Rx.Observable.fromEvent(document, 'click')\n * .takeUntil(Rx.Observable.interval(5000));\n * var ones = clicksInFiveSeconds.mapTo(1);\n * var seed = 0;\n * var count = ones.reduce((acc, one) => acc + one, seed);\n * count.subscribe(x => console.log(x));\n *\n * @see {@link count}\n * @see {@link expand}\n * @see {@link mergeScan}\n * @see {@link scan}\n *\n * @param {function(acc: R, value: T): R} accumulator The accumulator function\n * called on each source value.\n * @param {R} [seed] The initial accumulation value.\n * @return {Observable<R>} An observable of the accumulated values.\n * @return {Observable<R>} An Observable that emits a single value that is the\n * result of accumulating the values emitted by the source Observable.\n * @method reduce\n * @owner Observable\n */\nfunction reduce(accumulator, seed) {\n return this.lift(new ReduceOperator(accumulator, seed));\n}\nexports.reduce = reduce;\nvar ReduceOperator = (function () {\n function ReduceOperator(accumulator, seed) {\n this.accumulator = accumulator;\n this.seed = seed;\n }\n ReduceOperator.prototype.call = function (subscriber, source) {\n return source._subscribe(new ReduceSubscriber(subscriber, this.accumulator, this.seed));\n };\n return ReduceOperator;\n}());\nexports.ReduceOperator = ReduceOperator;\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar ReduceSubscriber = (function (_super) {\n __extends(ReduceSubscriber, _super);\n function ReduceSubscriber(destination, accumulator, seed) {\n _super.call(this, destination);\n this.accumulator = accumulator;\n this.hasValue = false;\n this.acc = seed;\n this.accumulator = accumulator;\n this.hasSeed = typeof seed !== 'undefined';\n }\n ReduceSubscriber.prototype._next = function (value) {\n if (this.hasValue || (this.hasValue = this.hasSeed)) {\n this._tryReduce(value);\n }\n else {\n this.acc = value;\n this.hasValue = true;\n }\n };\n ReduceSubscriber.prototype._tryReduce = function (value) {\n var result;\n try {\n result = this.accumulator(this.acc, value);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.acc = result;\n };\n ReduceSubscriber.prototype._complete = function () {\n if (this.hasValue || this.hasSeed) {\n this.destination.next(this.acc);\n }\n this.destination.complete();\n };\n return ReduceSubscriber;\n}(Subscriber_1.Subscriber));\nexports.ReduceSubscriber = ReduceSubscriber;\n//# sourceMappingURL=reduce.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/reduce.js\n// module id = 359\n// module chunks = 0","\"use strict\";\nvar mergeAll_1 = require('./mergeAll');\n/**\n * Converts a higher-order Observable into a first-order Observable by\n * concatenating the inner Observables in order.\n *\n * <span class=\"informal\">Flattens an Observable-of-Observables by putting one\n * inner Observable after the other.</span>\n *\n * <img src=\"./img/concatAll.png\" width=\"100%\">\n *\n * Joins every Observable emitted by the source (a higher-order Observable), in\n * a serial fashion. It subscribes to each inner Observable only after the\n * previous inner Observable has completed, and merges all of their values into\n * the returned observable.\n *\n * __Warning:__ If the source Observable emits Observables quickly and\n * endlessly, and the inner Observables it emits generally complete slower than\n * the source emits, you can run into memory issues as the incoming Observables\n * collect in an unbounded buffer.\n *\n * Note: `concatAll` is equivalent to `mergeAll` with concurrency parameter set\n * to `1`.\n *\n * @example <caption>For each click event, tick every second from 0 to 3, with no concurrency</caption>\n * var clicks = Rx.Observable.fromEvent(document, 'click');\n * var higherOrder = clicks.map(ev => Rx.Observable.interval(1000).take(4));\n * var firstOrder = higherOrder.concatAll();\n * firstOrder.subscribe(x => console.log(x));\n *\n * @see {@link combineAll}\n * @see {@link concat}\n * @see {@link concatMap}\n * @see {@link concatMapTo}\n * @see {@link exhaust}\n * @see {@link mergeAll}\n * @see {@link switch}\n * @see {@link zipAll}\n *\n * @return {Observable} An Observable emitting values from all the inner\n * Observables concatenated.\n * @method concatAll\n * @owner Observable\n */\nfunction concatAll() {\n return this.lift(new mergeAll_1.MergeAllOperator(1));\n}\nexports.concatAll = concatAll;\n//# sourceMappingURL=concatAll.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/concatAll.js\n// module id = 360\n// module chunks = 0","\"use strict\";\nvar __extends = (this && this.__extends) || function (d, b) {\n for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p];\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n};\nvar Subscriber_1 = require('../Subscriber');\nvar EmptyError_1 = require('../util/EmptyError');\n/**\n * Returns an Observable that emits only the last item emitted by the source Observable.\n * It optionally takes a predicate function as a parameter, in which case, rather than emitting\n * the last item from the source Observable, the resulting Observable will emit the last item\n * from the source Observable that satisfies the predicate.\n *\n * <img src=\"./img/last.png\" width=\"100%\">\n *\n * @throws {EmptyError} Delivers an EmptyError to the Observer's `error`\n * callback if the Observable completes before any `next` notification was sent.\n * @param {function} predicate - the condition any source emitted item has to satisfy.\n * @return {Observable} an Observable that emits only the last item satisfying the given condition\n * from the source, or an NoSuchElementException if no such items are emitted.\n * @throws - Throws if no items that match the predicate are emitted by the source Observable.\n * @method last\n * @owner Observable\n */\nfunction last(predicate, resultSelector, defaultValue) {\n return this.lift(new LastOperator(predicate, resultSelector, defaultValue, this));\n}\nexports.last = last;\nvar LastOperator = (function () {\n function LastOperator(predicate, resultSelector, defaultValue, source) {\n this.predicate = predicate;\n this.resultSelector = resultSelector;\n this.defaultValue = defaultValue;\n this.source = source;\n }\n LastOperator.prototype.call = function (observer, source) {\n return source._subscribe(new LastSubscriber(observer, this.predicate, this.resultSelector, this.defaultValue, this.source));\n };\n return LastOperator;\n}());\n/**\n * We need this JSDoc comment for affecting ESDoc.\n * @ignore\n * @extends {Ignored}\n */\nvar LastSubscriber = (function (_super) {\n __extends(LastSubscriber, _super);\n function LastSubscriber(destination, predicate, resultSelector, defaultValue, source) {\n _super.call(this, destination);\n this.predicate = predicate;\n this.resultSelector = resultSelector;\n this.defaultValue = defaultValue;\n this.source = source;\n this.hasValue = false;\n this.index = 0;\n if (typeof defaultValue !== 'undefined') {\n this.lastValue = defaultValue;\n this.hasValue = true;\n }\n }\n LastSubscriber.prototype._next = function (value) {\n var index = this.index++;\n if (this.predicate) {\n this._tryPredicate(value, index);\n }\n else {\n if (this.resultSelector) {\n this._tryResultSelector(value, index);\n return;\n }\n this.lastValue = value;\n this.hasValue = true;\n }\n };\n LastSubscriber.prototype._tryPredicate = function (value, index) {\n var result;\n try {\n result = this.predicate(value, index, this.source);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n if (result) {\n if (this.resultSelector) {\n this._tryResultSelector(value, index);\n return;\n }\n this.lastValue = value;\n this.hasValue = true;\n }\n };\n LastSubscriber.prototype._tryResultSelector = function (value, index) {\n var result;\n try {\n result = this.resultSelector(value, index);\n }\n catch (err) {\n this.destination.error(err);\n return;\n }\n this.lastValue = result;\n this.hasValue = true;\n };\n LastSubscriber.prototype._complete = function () {\n var destination = this.destination;\n if (this.hasValue) {\n destination.next(this.lastValue);\n destination.complete();\n }\n else {\n destination.error(new EmptyError_1.EmptyError);\n }\n };\n return LastSubscriber;\n}(Subscriber_1.Subscriber));\n//# sourceMappingURL=last.js.map\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/rxjs/operator/last.js\n// module id = 361\n// module chunks = 0","import { Component, ViewEncapsulation } from '@angular/core';\nimport { Validators, FormGroup, FormArray, FormBuilder } from '@angular/forms';\n\n//noinspection TypeScriptCheckImport\nimport { NguiDatetime } from '@ngui/datetime-picker';\n\ndeclare var moment: any;\nmoment['locale']('en-ca'); //e.g. fr-ca\n\nvar templateStr = `\n <div id=\"my-div\">\n <h1>Ng2 DateTime Picker Test</h1>\n \n <fieldset id=\"test2\"><legend><h2>min date, max date, disabled dates</h2></legend>\n <ngui-utils-2>\n <input\n [(ngModel)]=\"date2\" \n ngui-datetime-picker\n [disabled-dates]=\"date2DisabledDates\"\n [min-date]=\"date2MinDate\"\n [max-date]=\"date2MaxDate\"\n [show-close-layer]=\"true\"\n [show-week-numbers]=\"true\"\n [is-draggable]=\"false\"\n date-only=\"true\"/>\n date2: {{date2}}\n <button id=\"set-date\" (click)=\"date2 = date2New\">Set 2017-12-31</button>\n </ngui-utils-2>\n <pre>{{templateStr | htmlCode:'ngui-utils-2'}}</pre>\n </fieldset>\n \n <fieldset id=\"test3\"><legend><h2>time only</h2></legend>\n <ngui-utils-4>\n <input [(ngModel)]=\"date3\"\n ngui-datetime-picker \n date-format=\"DD-MM-YYYY hh:mm\"\n time-only=\"true\"\n minute-step=\"5\"\n (popupClosed)=\"onDatetimePickerClosed()\"\n [close-on-select]=\"false\" />\n </ngui-utils-4>\n <button (click)=\"date3='Thu Jan 31 2015 00:00:00 GMT-0500 (EST)'\">Change</button>\n <pre>{{templateStr | htmlCode:'ngui-utils-4'}}</pre>\n </fieldset>\n \n <fieldset id=\"test4\"><legend><h2>with timezone</h2></legend>\n <ngui-utils-6>\n <input \n [(ngModel)]=\"date4\" \n ngui-datetime-picker\n [date-format]=\"date4TimezoneFormat\" />\n dateWithTimezone: {{dateWithTimezone}}\n <br/>\n </ngui-utils-6>\n <pre>{{templateStr | htmlCode:'ngui-utils-6'}}</pre>\n </fieldset>\n \n <fieldset id=\"test5\"><legend><h2>Reactive form</h2></legend>\n <ngui-utils-3>\n <form [formGroup]=\"myForm\">\n <input \n required\n formControlName=\"date\" \n ngui-datetime-picker\n [close-on-select]=\"false\"/>\n </form>\n myForm.controls.date.value: {{myForm.controls.date.value}}\n <br/>myForm.value: {{myForm.value | json}}\n <br/>myForm.dirty: {{myForm.dirty}}\n <br/>myForm.controls.date.dirty: {{myForm.controls.date.dirty}}\n <br/>\n <a href=\"javascript:void()\" \n (click)=\"myForm.controls.date.patchValue('2015-06-30')\">\n 2015-06-30\n </a>\n <a href=\"javascript:void()\"\n (click)=\"myForm.controls.date.patchValue('2015-07-19')\">\n 2015-07-19\n </a>\n <a href=\"javascript:void()\"\n (click)=\"myForm.controls.date.patchValue('2015-12-31')\">\n 2015-12-31\n </a>\n </ngui-utils-3>\n <pre>{{templateStr | htmlCode:'ngui-utils-3'}}</pre>\n </fieldset>\n\n <fieldset id=\"test6\">\n <legend><h2>Material Design</h2></legend>\n <ngui-utils-4>\n <md-input-container>\n <input mdInput \n [(ngModel)]=\"mdDate\"\n name=\"mdDate\"\n ngui-datetime-picker\n date-only=\"true\" \n [close-on-select]=\"false\" />\n </md-input-container>\n </ngui-utils-4>\n </fieldset>\n\n </div>\n`;\n\n@Component({\n selector: 'my-app',\n template: templateStr,\n encapsulation: ViewEncapsulation.None,\n styles: [`\n ngui-utils-1 .ngui-datetime-picker-wrapper { display: inline-block }\n div { font-family: Courier; font-size: 13px}\n input { min-width: 200px; font-size: 15px; }\n input.ng-dirty { background: #ddd; }\n fieldset {display: inline-block; vertical-align: top; margin: 10px; padding: 20px }\n `]\n})\nexport class DirectiveTestComponent {\n templateStr: string = templateStr;\n\n myForm: FormGroup; // our form model\n\n date2 = new Date(2017, 0, 28);\n date2DisabledDates = [new Date(2017, 0, 10), new Date(2017, 0, 20)];\n date2MinDate = new Date(2017, 0, 1);\n date2MaxDate = new Date(2017, 11, 31);\n date2New = new Date(2017,11,31);\n\n date3 = new Date(\"Thu Jan 01 2015 00:00:00 GMT-0500 (EST)\");\n\n date4TimezoneFormat = 'DD/MM/YYYY HH:mm Z';\n date4: string = NguiDatetime.formatDate(\n NguiDatetime.parseDate('2017-01-15T14:22:00-06:00', this.date4TimezoneFormat), this.date4TimezoneFormat\n );\n\n mdDate: Date = new Date(2017, 0, 28);\n\n constructor(private fb: FormBuilder) { }\n\n ngOnInit() {\n this.myForm = this.fb.group({\n date: ['2016-02-15', [Validators.required]],\n });\n\n //moment.tz.setDefault('US/Central'); // Set the default timezone that moment will use\n }\n\n onDatetimePickerClosed() {\n\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./app/directive-test.component.ts","import { Component, ViewEncapsulation } from '@angular/core';\nimport { Validators, FormGroup, FormArray, FormBuilder } from '@angular/forms';\n\ndeclare var moment: any;\nmoment['locale']('en-ca'); //e.g. fr-ca\n\n//noinspection TypeScriptCheckImport\nimport { NguiDatetime } from '@ngui/datetime-picker';\n\nvar templateStr = `\n <fieldset><legend><h2>Attributes and Events</h2></legend>\n <ngui-utils-1>\n <ngui-datetime-picker\n *ngIf=\"show !== false\"\n date-format=\"DD-MM-YYYY hh:mm\"\n [date-only]=\"false\"\n [time-only]=\"false\"\n [minuteStep]=\"5\"\n [default-value]=\"defaultValue\"\n [min-date]=\"minDate\"\n [max-date]=\"maxDate\"\n [min-hour]=\"9\"\n [max-hour]=\"17\"\n [show-am-pm]=\"true\"\n [show-close-button]=\"true\"\n [disabled-dates]=\"disabledDates\"\n (closing$)=\"show = false\"\n (selected$)=\"selectedDate = $event\">\n </ngui-datetime-picker>\n <br/> selected DateTime : {{ selectedDate || defaultValue }}\n </ngui-utils-1>\n <pre>{{templateStr | htmlCode:'ngui-utils-1'}}</pre>\n </fieldset>\n`;\n\n@Component({\n selector: 'my-app',\n template: templateStr,\n encapsulation: ViewEncapsulation.None,\n styles: [`\n fieldset {display: inline-block; vertical-align: top; margin: 10px; padding: 20px }\n `]\n})\nexport class ComponentTestComponent {\n templateStr: string = templateStr;\n selectedDate: Date;\n\n defaultValue = new Date(2017, 0, 31, 21, 45);\n minDate = new Date(2017, 0, 1);\n maxDate = new Date(2017, 11, 31);\n disabledDates = [new Date(2016, 11, 26), new Date(2016, 11, 27)];\n\n}\n\n\n\n// WEBPACK FOOTER //\n// ./~/angular2-template-loader!./~/strip-loader/lib?strip[]=debug,strip[]=console.log!./app/component-test.component.ts"],"sourceRoot":""}